]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove unused variable.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a7931fcf
AS
12013-11-18 Andreas Schwab <schwab@suse.de>
2
3 * locale/programs/locale.c (show_info) [case byte]: Check for
4 '\377' instead of '\177'.
5 * locale/C-monetary.c (not_available): Always use "\377".
6 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8 detect unavailable sign_posn locale elements.
9 * locale/localeconv.c (__localeconv): For grouping and
10 mon_grouping handle "\177" and "\377" like no grouping.
11 (INT_ELEM): New macro. Use it to set all numeric members.
12 * locale/programs/ld-monetary.c (monetary_read)
13 <tok_mon_grouping>: Normalize single -1 to the empty string.
14 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
15 Likewise.
16
728dab0e
OB
172013-11-07 Ondřej Bílka <neleai@seznam.cz>
18
19 [BZ #16055]
20 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21 when we match (nil).
22 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23
66294491
JM
242013-11-16 Joseph Myers <joseph@codesourcery.com>
25
ce665817
JM
26 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
27 (NO_TEST_INLINE): Update value.
28 (ERRNO_UNCHANGED): Likewise.
29 (ERRNO_EDOM): Likewise.
30 (ERRNO_ERANGE): Likewise.
31 (IGNORE_RESULT): Likewise.
32 (check_float_internal): Check signs of NaN results if
33 TEST_NAN_SIGN used.
34 (check_complex): Pass TEST_NAN_SIGN flag through to second
35 check_float_internal call.
36 (copysign_test_data): Add tests with quiet NaNs as second
37 argument. Use TEST_NAN_SIGN.
38 (fabs_test_data): Add test of negative quiet NaN argument. Use
39 TEST_NAN_SIGN.
40 (signbit_test_data): Add tests of quiet NaN argument.
41 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
42
ee1466a9
JM
43 * math/gen-libm-test.pl (show_exceptions): Take extra argument
44 $ignore_result.
45 (parse_args): Handle function results specified as IGNORE.
46 * math/libm-test.inc (IGNORE_RESULT): New macro.
47 (check_float_internal): Do not check numerical result if flag
48 IGNORE_RESULT set.
49 (check_complex): Pass through IGNORE_RESULT to second
50 check_float_internal call.
51 (check_int): Do not check numerical result if flag IGNORE_RESULT
52 set.
53 (check_long): Likewise.
54 (check_bool): Likewise.
55 (check_longlong): Likewise.
56 (lrint_test_data): Add tests of infinite and NaN arguments.
57 (lrint_tonearest_test_data): Likewise.
58 (lrint_towardzero_test_data): Likewise.
59 (lrint_downward_test_data): Likewise.
60 (lrint_upward_test_data): Likewise.
61 (llrint_test_data): Likewise.
62 (llrint_tonearest_test_data): Likewise.
63 (llrint_towardzero_test_data): Likewise.
64 (llrint_downward_test_data): Likewise.
65 (llrint_upward_test_data): Likewise.
66 (lround_test_data): Likewise.
67 (llround_test_data): Likewise.
68
14407b7e
JM
69 * math/libm-test.inc (NO_TEST_INLINE): New macro.
70 (ERRNO_UNCHANGED): Update value.
71 (ERRNO_EDOM): Likewise.
72 (ERRNO_ERANGE): Likewise.
73 (NO_TEST_INLINE_FLOAT): New macro.
74 (NO_TEST_INLINE_DOUBLE): Likewise.
75 (enable_test): New function.
76 (RUN_TEST_f_f): Check enable_test before running test.
77 (RUN_TEST_2_f): Likewise.
78 (RUN_TEST_fff_f): Likewise.
79 (RUN_TEST_c_f): Likewise.
80 (RUN_TEST_f_f1): Likewise.
81 (RUN_TEST_fF_f1): Likewise.
82 (RUN_TEST_fI_f1): Likewise.
83 (RUN_TEST_ffI_f1): Likewise.
84 (RUN_TEST_c_c): Likewise.
85 (RUN_TEST_cc_c): Likewise.
86 (RUN_TEST_f_i): Likewise.
87 (RUN_TEST_f_i_tg): Likewise.
88 (RUN_TEST_ff_i_tg): Likewise.
89 (RUN_TEST_f_b): Likewise.
90 (RUN_TEST_f_b_tg): Likewise.
91 (RUN_TEST_f_l): Likewise.
92 (RUN_TEST_f_L): Likewise.
93 (RUN_TEST_fFF_11): Likewise.
94 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
95 conditionals.
96 (cosh_test_data): Likewise.
97 (exp_test_data): Likewise.
98 (expm1_test_data): Likewise.
99 (hypot_test_data): Likewise.
100 (pow_test_data): Likewise.
101 (sinh_test_data): Likewise.
102 (tanh_test_data): Likewise.
103 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
104 flags argument.
105
ca07f197
JM
106 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
107 tests with quiet NaN input and output.
108 (acosh_test_data): Likewise.
109 (asin_test_data): Likewise.
110 (asinh_test_data): Likewise.
111 (atan_test_data): Likewise.
112 (atanh_test_data): Likewise.
113 (atan2_test_data): Likewise.
114 (cbrt_test_data): Likewise.
115 (cos_test_data): Likewise.
116 (cosh_test_data): Likewise.
117 (erf_test_data): Likewise.
118 (erfc_test_data): Likewise.
119 (exp_test_data): Likewise.
120 (exp10_test_data): Likewise.
121 (exp2_test_data): Likewise.
122 (expm1_test_data): Likewise.
123 (hypot_test_data): Likewise.
124 (j0_test_data): Likewise.
125 (j1_test_data): Likewise.
126 (jn_test_data): Likewise.
127 (lgamma_test_data): Likewise.
128 (log_test_data): Likewise.
129 (log10_test_data): Likewise.
130 (log1p_test_data): Likewise.
131 (log2_test_data): Likewise.
132 (pow_test_data): Likewise.
133 (scalb_test_data): Likewise.
134 (sin_test_data): Likewise.
135 (sincos_test_data): Likewise.
136 (sinh_test_data): Likewise.
137 (tan_test_data): Likewise.
138 (tanh_test_data): Likewise.
139 (tgamma_test_data): Likewise.
140 (y0_test_data): Likewise.
141 (y1_test_data): Likewise.
142 (yn_test_data): Likewise.
143
66294491
JM
144 [BZ #16167]
145 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
146 argument being NaN and avoid computations with second argument in
147 that case.
148 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
149 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
150 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
151
1820b143
CL
1522013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
153
154 * locale/iso-639.def: Add Chitwani Tharu (the).
155
714bd261
AS
1562013-11-14 Andreas Schwab <schwab@suse.de>
157
158 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
159 word instead of empty string.
160
7ab44563
AZ
1612013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
162
163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
164 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
166 (__fe_nomask_env): Likewise.
167
e8470ea2
SE
1682013-11-13 Steve Ellcey <sellcey@mips.com>
169
170 * benchtests/bench-timing.h: Include time.h.
171
17c1d9f0
L
1722013-11-13 H.J. Lu <hongjiu.lu@intel.com>
173
174 [BZ #15997]
175 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
176 to 3.4.0 for x32.
177 * sysdeps/unix/sysv/linux/configure: Regenerated.
178
9310c284
JM
1792013-11-13 Joseph Myers <joseph@codesourcery.com>
180
181 [BZ #16151]
182 * stdlib/strtod_l.c (round_and_return): Do not consider
183 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
184 exponent one less than half the least subnormal exponent.
185 * stdlib/test-strtod-round-data: Add more tests.
186 * stdlib/tst-strtod-round.c (tests): Regenerated.
187
7a2ad8cf
AZ
1882013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
189
190 [BZ #14143]
191 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
192 (__fe_mask_env): Likewise.
193 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
194 libm_hidden_proto and add function prototype.
195 (__fe_mask_env): Add function prototype.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
197 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
199 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
201 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
202
50727aa7
MS
2032013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
204
205 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
206 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
207
a615be46
MS
2082013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
209
210 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
211 of htab_find_slot().
212
7ddace62
DM
2132013-11-11 David S. Miller <davem@davemloft.net>
214
215 [BZ #16150]
216 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
217 symbol in the non-vis3 case in static builds.
218 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
219 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
220 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
221 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
222
9182aa67
JK
2232013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
224
225 [BZ #387]
226 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
227 it is empty.
228
450a2e2d
AZ
2292013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
230
231 * benchtests/Makefile: Add bench-strtod.
232 * benchtests/bench-strtod.c: New file: strtod benchtest
233
8ec3f656
AS
2342013-11-11 Andreas Schwab <schwab@suse.de>
235
236 [BZ #16153]
237 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
238 terminating NUL in key length.
239
76a9b998
AZ
2402013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
241
242 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
243 Add artificial ODP entry for vDSO symbol for PPC64.
244 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
245 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
246
e4368156
OB
2472013-11-07 Ondřej Bílka <neleai@seznam.cz>
248
249 [BZ #15374]
250 * nss/getent.c (services_keys): Recognize services starting with digit.
251
8d6bb57c
DM
2522013-11-06 David S. Miller <davem@davemloft.net>
253
254 [BZ #15985]
255 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
256 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
257
e256c421
WN
2582013-11-06 Will Newton <will.newton@linaro.org>
259
260 * manual/memory.texi (Malloc Examples): Remove register
261 keyword from examples.
262
f6e12daa 2632013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 264
f6e12daa 265 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 266
9d880655
AS
2672013-11-04 Joseph Myers <joseph@codesourcery.com>
268
269 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
270 depending on [__GCC_IEC_559 > 0].
271 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
272 depending on [__GCC_IEC_559_COMPLEX > 0].
273
ae129d3c
CL
2742013-11-03 Chris Leonard <cjl@sugarlabs.org>
275
276 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
277 to iso-639.def.
278
4a15c2a4 2792013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
280
281 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
282
8b35e35d
OB
2832013-11-01 Ondřej Bílka <neleai@seznam.cz>
284
285 [BZ #16112]
286 * malloc/malloc (malloc_info): Do not handle first bin as
287 special case.
288
1d70fd6c
CL
2892013-11-01 Chris Leonard <cjl@sugarlabs.org>
290
291 * locale/iso-639.def: Add Central Nahuatl (nhn).
292
8c5c2600
BH
2932013-11-01 Bruno Haible <bruno@clisp.org>
294
295 [BZ #7003]
296 * manual/math.texi (BSD Random): Specify range upper bound as
297 in POSIX.
298
da5579c2
CL
2992013-10-31 Chris Leonard <cjl@sugarlabs.org>
300
301 * locale/iso-639.def: Add Meadow Mari (mhr).
302
5d30d853
OB
3032013-10-31 Ondřej Bílka <neleai@seznam.cz>
304
305 [BZ #14752], [BZ #15763]
306 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
307 Validate name.
308 * rt/tst_shm.c: Add test for escaping directory.
309
a4966c61
AS
3102013-10-31 Andreas Schwab <schwab@suse.de>
311
8a43e768 312 [BZ #15917]
a4966c61
AS
313 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
314 followed by 'x' as part of digit sequence.
315 * stdio-common/tst-sscanf.c (double_tests2): New tests.
316
28d708c4
MAP
3172013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
318
319 [BZ #16037]
320 * configure.ac: allow GNU Make 4.0 and greater.
321 * configure: Regenerated.
322
a56ee40b
WN
3232013-10-30 Will Newton <will.newton@linaro.org>
324
325 [BZ #16038]
326 * malloc/hooks.c (memalign_check): Limit alignment to the
327 maximum representable power of two.
328 * malloc/malloc.c (__libc_memalign): Likewise.
329 * malloc/tst-memalign.c (do_test): Add test for very
330 large alignment values.
331 * malloc/tst-posix_memalign.c (do_test): Likewise.
332
c6e4925d
OB
3332013-10-30 Ondřej Bílka <neleai@seznam.cz>
334
335 [BZ #11087]
336 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
337 (munmap_chunk): Likewise.
338 (mremap_chunk): Likewise.
339
3402013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 341
8a43e768 342 [BZ #15799]
bbea82f7
OB
343 * stdlib/div.c (div): Remove obsolete code.
344 * stdlib/ldiv.c (ldiv): Likewise.
345 * stdlib/lldiv.c (lldiv): Likewise.
346
977f4b31
SP
3472013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
348
349 [BZ #16071]
350 * nss/nss_files/files-XXX.c (get_contents_ret): New
351 enumerator.
352 (get_contents): New function.
353 (internal_getent): Use it. Expand size of LINEBUFLEN.
354
cb8a6dbd
MF
3552013-10-30 Mike Frysinger <vapier@gentoo.org>
356
357 * configure.in: Moved to ...
358 * configure.ac: ... here. Change reference to configure.in
359 to configure.ac.
360 * sysdeps/arm/preconfigure.ac: ... here.
361 configure.in to configure.ac.
362 * sysdeps/gnu/configure.in: Moved to ...
363 * sysdeps/gnu/configure.ac: ... here.
364 * sysdeps/i386/configure.in: Moved to ...
365 * sysdeps/i386/configure.ac: ... here.
366 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
367 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
368 * sysdeps/mach/configure.in: Moved to ...
369 * sysdeps/mach/configure.ac: ... here.
370 * sysdeps/mach/hurd/configure.in: Moved to ...
371 * sysdeps/mach/hurd/configure.ac: ... here.
372 * sysdeps/powerpc/configure.in: Moved to ...
373 * sysdeps/powerpc/configure.ac: ... here.
374 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
375 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
376 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
377 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
378 * sysdeps/s390/s390-32/configure.in: Moved to ...
379 * sysdeps/s390/s390-32/configure.ac: ... here.
380 * sysdeps/s390/s390-64/configure.in: Moved to ...
381 * sysdeps/s390/s390-64/configure.ac: ... here.
382 * sysdeps/sh/configure.in: Moved to ...
383 * sysdeps/sh/configure.ac: ... here.
384 * sysdeps/sparc/configure.in: Moved to ...
385 * sysdeps/sparc/configure.ac: ... here.
386 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
387 * sysdeps/unix/sysv/linux/configure.ac: ... here.
388 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
389 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
390 * sysdeps/x86_64/configure.in: Moved to ...
391 * sysdeps/x86_64/configure.ac: ... here.
392 * sysdeps/x86_64/preconfigure.in: Moved to ...
393 * sysdeps/x86_64/preconfigure.ac: ... here.
394 * aclocal.m4: Change reference to configure.in to configure.ac.
395 * config.h.in: Likewise.
396 * manual/install.texi: Likewise.
397 * manual/maint.texi: Likewise.
398 * Makefile: Likewise.
399 * malloc/Makefile: Likewise.
400 * nscd/Makefile: Likewise.
401 * Makeconfig: Change reference to configure.in and
402 preconfigure.in to configure.ac and preconfigure.ac
403 respectively.
404 * INSTALL: Regenerated.
405 * configure: Likewise.
406 * sysdeps/gnu/configure: Likewise.
407 * sysdeps/i386/configure: Likewise.
408 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
409 * sysdeps/mach/configure: Likewise.
410 * sysdeps/mach/hurd/configure: Likewise.
411 * sysdeps/powerpc/configure: Likewise.
412 * sysdeps/powerpc/powerpc32/configure: Likewise.
413 * sysdeps/powerpc/powerpc64/configure: Likewise.
414 * sysdeps/s390/s390-32/configure: Likewise.
415 * sysdeps/s390/s390-64/configure: Likewise.
416 * sysdeps/sh/configure: Likewise.
417 * sysdeps/sparc/configure: Likewise.
418 * sysdeps/unix/sysv/linux/configure: Likewise.
419 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
420 * sysdeps/x86_64/configure: Likewise.
421 * sysdeps/x86_64/preconfigure: Likewise.
422
36a4953a
AS
4232013-10-29 Andreas Schwab <schwab@suse.de>
424
425 * stdio-common/Makefile (tst-swscanf-ENV): Define.
426
c79a1204
SP
4272013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
428
dfa1b402
SP
429 * benchtests/pow-inputs: Add new inputs.
430
54f73d9c
SP
431 * benchtests/exp-inputs: Add new inputs.
432
c79a1204
SP
433 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
434 conditional check for return value.
435 (__cos32): Likewise.
436
67beb545 4372013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
438
439 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
440 to provide a boost for large inputs with word alignment.
441 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
442 implementation based on optimized PPC64 strcpy.
443 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
444 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
445 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
446 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
447
151659f6
OB
4482013-10-25 Ondřej Bílka <neleai@seznam.cz>
449
482a077e 450 [BZ #2801]
151659f6
OB
451 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
452
10b0f26b
OB
4532013-10-25 Ondřej Bílka <neleai@seznam.cz>
454
455 [BZ #14876]
456 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
457 * time/tst-strptime.c (day_tests): Add testcase.
458
ca42d35e
OB
4592013-10-25 Ondřej Bílka <neleai@seznam.cz>
460
482a077e 461 [BZ #14029]
ca42d35e
OB
462 * manual/pattern.texi: Acknowledge that fnmatch can fail.
463
52e6d801
FB
4642013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
465
466 [BZ #16074]
467 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
468 MAP_FAILED on error.
469
7cbcdb36
SP
4702013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
471
472 [BZ #16072]
473 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
474 heap for large requests.
475
894f3f10
AM
4762013-10-25 Aurelien Jarno <aurelien@aurel32.net>
477
478 [BZ #9954]
479 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
480 result if the result has no associated interface.
481 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
482 interface for all 127.X.Y.Z addresses.
483
b85545a6
CL
4842013-10-24 Chris Leonard <cjl@sugarlabs.org>
485
486 * locale/iso-639.def: Add Ligurian (lij)
487
d1f23d46
OB
4882013-10-21 Ondřej Bílka <neleai@seznam.cz>
489
490 [BZ #15825]
491 * sunrpc/rpc_main.c: Document rpcgen -5.
492
4db5b08f
MS
4932013-10-19 Michael Stahl <mstahl@redhat.com>
494
495 * elf/rtld.c (do_preload): Print the reason why preloading failed.
496
a471e96a
OB
4972013-10-19 Ondřej Bílka <neleai@seznam.cz>
498
d1f23d46 499 [BZ #10278]
a471e96a
OB
500 * posix/glob.c: Match only directories when trailing slash is present.
501 * posix/tst-gnuglob.c (my_opendir): Do not open files.
502 (main): Add testcase.
503
45c30c61
OB
5042013-10-19 Ondřej Bílka <neleai@seznam.cz>
505
506 [BZ #15670]
507 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
508
484c12fb
CD
5092013-10-18 Carlos O'Donell <carlos@redhat.com>
510
3d7dc513
CD
511 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
512 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
513 AUTH_DES and cindex for FIPS 140-2.
514 (DES Encryption): Add cindex FIPS 46-3.
515
484c12fb
CD
516 * locale/locarchive.h (struct locarhandle): Add fname.
517 * locale/programs/localedef.c (main): Pass ARGV[remaining]
518 if an optional argument was specified to --list-archive,
519 otherwise NULL.
520 * locale/programs/locarchive.c (show_archive_content): Take new
521 argument fname and pass it via ah.fname to open_archive.
522 * locale/programs/localedef.h: Update decl.
523 (open_archive): If AH->fname is non-null, open that file
524 rather than the default file name, and don't ignore ENOENT.
525 (create_archive): Set AH.fname to NULL.
526 (delete_locales_from_archive): Likewise.
527 (add_locales_to_archive): Likewise.
528 * locale/programs/locfile.c (write_all_categories): Likewise.
529
3c8325fb
JM
5302013-10-18 Joseph Myers <joseph@codesourcery.com>
531 Aldy Hernandez <aldyh@redhat.com>
532
533 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
534 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
535 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
536 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
537 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
538 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
539 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
540 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
541 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
542 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
543 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
544 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
545 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
546 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
547 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
548 Likewise.
549 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
550 Likewise.
551 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
552 Likewise.
553 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
554 Likewise.
555 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
556 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
557 Likewise.
558 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
559 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
560 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
561 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
562 Likewise.
563 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
564 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
565 * sysdeps/powerpc/preconfigure: Likewise.
566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
567 Likewise.
568 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
569 Replace contents of file by #include of <fenv_libc.h>.
570 * sysdeps/powerpc/soft-fp/sfp-machine.h
571 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
572 and <sys/prctl.h>.
573 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
574 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
575 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
576 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
577 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
578 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
580 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
581 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
582 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
583 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
584 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
586 Allow copysignl PLT reference to be missing.
587
5abe0682
RS
5882013-10-18 Richard Sandiford <richard@codesourcery.com>
589 Joseph Myers <joseph@codesourcery.com
590
591 [BZ #15948]
592 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
593 single character.
594 (add_to_tablewc): Assert sequence of wide characters is nonempty.
595
c7738d08
SP
5962013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
597
598 * elf/tst-tls-dlinfo.c: Don't include tls.h.
599 * elf/tst-tls1.c: Likewise.
600 * elf/tst-tls10.h: Likewise.
601 * elf/tst-tls14.c: Likewise.
602 * elf/tst-tls2.c: Likewise.
603 * elf/tst-tls3.c: Likewise.
604 * elf/tst-tls4.c: Likewise.
605 * elf/tst-tls5.c: Likewise.
606 * elf/tst-tls6.c: Likewise.
607 * elf/tst-tls7.c: Likewise.
608 * elf/tst-tls8.c: Likewise.
609 * elf/tst-tls9.c: Likewise.
610 * elf/tst-tlsmod1.c: Likewise.
611 * elf/tst-tlsmod13.c: Likewise.
612 * elf/tst-tlsmod13a.c: Likewise.
613 * elf/tst-tlsmod14a.c: Likewise.
614 * elf/tst-tlsmod16a.c: Likewise.
615 * elf/tst-tlsmod16b.c: Likewise.
616 * elf/tst-tlsmod2.c: Likewise.
617 * elf/tst-tlsmod3.c: Likewise.
618 * elf/tst-tlsmod4.c: Likewise.
619 * elf/tst-tlsmod5.c: Likewise.
620 * elf/tst-tlsmod6.c: Likewise.
621
0bfcf2c7
OB
6222013-10-18 Ondřej Bílka <neleai@seznam.cz>
623
624 [BZ #12486]
625 * malloc/malloc.c: remove checks for statistics.
626
264aad1e
OB
6272013-10-17 Ondřej Bílka <neleai@seznam.cz>
628
629 [BZ #15277]
630 * inet/inet_net.c (inet_network): Detect additional invalid strings.
631 * inet/tst-network.c: Add testcase.
632
b957ced8
AS
6332013-10-17 Andreas Schwab <schwab@suse.de>
634
635 [BZ #15218]
636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
637 to determine canonical name.
638
c5d5d574
OB
6392013-10-17 Ondřej Bílka <neleai@seznam.cz>
640
641 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
642 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
643 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
644 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
645 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
646 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
647 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
648 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
649 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
650 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
651 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
652 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
653 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
654 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
655 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
656 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
658 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
659 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
660 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
661 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
662 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
663 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
664 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
665 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
666 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
667 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
668 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
669 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
670 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
671 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
672 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
673 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
674 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
675 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
676 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
677 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
678 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
679 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
680 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
681 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
682 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
683 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
684 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
685 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
686 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
687 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
688 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
689 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
690 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
691 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
692 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
693 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
694 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
695 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
696 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
697 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
698 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
699
e5c2c2d0
JM
7002013-10-17 Joseph Myers <joseph@codesourcery.com>
701
702 [BZ #16041]
703 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
704 make result into a quiet NaN.
705
51ca9e29
JM
7062013-10-16 Joseph Myers <joseph@codesourcery.com>
707
708 * soft-fp/adddf3.c: Fix horizontal whitespace.
709 * soft-fp/addsf3.c: Likewise.
710 * soft-fp/addtf3.c: Likewise.
711 * soft-fp/divdf3.c: Likewise.
712 * soft-fp/divsf3.c: Likewise.
713 * soft-fp/divtf3.c: Likewise.
714 * soft-fp/double.h: Likewise.
715 * soft-fp/eqdf2.c: Likewise.
716 * soft-fp/eqsf2.c: Likewise.
717 * soft-fp/eqtf2.c: Likewise.
718 * soft-fp/extenddftf2.c: Likewise.
719 * soft-fp/extended.h: Likewise.
720 * soft-fp/extendsfdf2.c: Likewise.
721 * soft-fp/extendsftf2.c: Likewise.
722 * soft-fp/extendxftf2.c: Likewise.
723 * soft-fp/fixdfdi.c: Likewise.
724 * soft-fp/fixdfsi.c: Likewise.
725 * soft-fp/fixdfti.c: Likewise.
726 * soft-fp/fixsfdi.c: Likewise.
727 * soft-fp/fixsfsi.c: Likewise.
728 * soft-fp/fixsfti.c: Likewise.
729 * soft-fp/fixtfdi.c: Likewise.
730 * soft-fp/fixtfsi.c: Likewise.
731 * soft-fp/fixtfti.c: Likewise.
732 * soft-fp/fixunsdfdi.c: Likewise.
733 * soft-fp/fixunsdfsi.c: Likewise.
734 * soft-fp/fixunsdfti.c: Likewise.
735 * soft-fp/fixunssfdi.c: Likewise.
736 * soft-fp/fixunssfsi.c: Likewise.
737 * soft-fp/fixunssfti.c: Likewise.
738 * soft-fp/fixunstfdi.c: Likewise.
739 * soft-fp/fixunstfsi.c: Likewise.
740 * soft-fp/fixunstfti.c: Likewise.
741 * soft-fp/floatdidf.c: Likewise.
742 * soft-fp/floatdisf.c: Likewise.
743 * soft-fp/floatditf.c: Likewise.
744 * soft-fp/floatsidf.c: Likewise.
745 * soft-fp/floatsisf.c: Likewise.
746 * soft-fp/floatsitf.c: Likewise.
747 * soft-fp/floattidf.c: Likewise.
748 * soft-fp/floattisf.c: Likewise.
749 * soft-fp/floattitf.c: Likewise.
750 * soft-fp/floatundidf.c: Likewise.
751 * soft-fp/floatundisf.c: Likewise.
752 * soft-fp/floatunditf.c: Likewise.
753 * soft-fp/floatunsidf.c: Likewise.
754 * soft-fp/floatunsisf.c: Likewise.
755 * soft-fp/floatunsitf.c: Likewise.
756 * soft-fp/floatuntidf.c: Likewise.
757 * soft-fp/floatuntisf.c: Likewise.
758 * soft-fp/floatuntitf.c: Likewise.
759 * soft-fp/fmadf4.c: Likewise.
760 * soft-fp/fmasf4.c: Likewise.
761 * soft-fp/fmatf4.c: Likewise.
762 * soft-fp/gedf2.c: Likewise.
763 * soft-fp/gesf2.c: Likewise.
764 * soft-fp/getf2.c: Likewise.
765 * soft-fp/ledf2.c: Likewise.
766 * soft-fp/lesf2.c: Likewise.
767 * soft-fp/letf2.c: Likewise.
768 * soft-fp/muldf3.c: Likewise.
769 * soft-fp/mulsf3.c: Likewise.
770 * soft-fp/multf3.c: Likewise.
771 * soft-fp/negdf2.c: Likewise.
772 * soft-fp/negsf2.c: Likewise.
773 * soft-fp/negtf2.c: Likewise.
774 * soft-fp/op-1.h: Likewise.
775 * soft-fp/op-2.h: Likewise.
776 * soft-fp/op-4.h: Likewise.
777 * soft-fp/op-8.h: Likewise.
778 * soft-fp/op-common.h: Likewise.
779 * soft-fp/quad.h: Likewise.
780 * soft-fp/single.h: Likewise.
781 * soft-fp/soft-fp.h: Likewise.
782 * soft-fp/sqrtdf2.c: Likewise.
783 * soft-fp/sqrtsf2.c: Likewise.
784 * soft-fp/sqrttf2.c: Likewise.
785 * soft-fp/subdf3.c: Likewise.
786 * soft-fp/subsf3.c: Likewise.
787 * soft-fp/subtf3.c: Likewise.
788 * soft-fp/truncdfsf2.c: Likewise.
789 * soft-fp/trunctfdf2.c: Likewise.
790 * soft-fp/trunctfsf2.c: Likewise.
791 * soft-fp/trunctfxf2.c: Likewise.
792 * soft-fp/unorddf2.c: Likewise.
793 * soft-fp/unordsf2.c: Likewise.
794 * soft-fp/unordtf2.c: Likewise.
795
9ebb0332
JM
7962013-10-15 Joseph Myers <joseph@codesourcery.com>
797
798 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
799 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
800
4b1a6d8b
OB
8012013-10-15 Ondřej Bílka <neleai@seznam.cz>
802
803 * elf/dl-libc.c: Clear initfini list after freeing.
804
1e145589
JM
8052013-10-14 Joseph Myers <joseph@codesourcery.com>
806
807 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
808 * soft-fp/addsf3.c: Likewise.
809 * soft-fp/addtf3.c: Likewise.
810 * soft-fp/divdf3.c: Likewise.
811 * soft-fp/divsf3.c: Likewise.
812 * soft-fp/divtf3.c: Likewise.
813 * soft-fp/double.h: Likewise.
814 * soft-fp/eqdf2.c: Likewise.
815 * soft-fp/eqsf2.c: Likewise.
816 * soft-fp/eqtf2.c: Likewise.
817 * soft-fp/extenddftf2.c: Likewise.
818 * soft-fp/extended.h: Likewise.
819 * soft-fp/extendsfdf2.c: Likewise.
820 * soft-fp/extendsftf2.c: Likewise.
821 * soft-fp/extendxftf2.c: Likewise.
822 * soft-fp/fixdfdi.c: Likewise.
823 * soft-fp/fixdfsi.c: Likewise.
824 * soft-fp/fixdfti.c: Likewise.
825 * soft-fp/fixsfdi.c: Likewise.
826 * soft-fp/fixsfsi.c: Likewise.
827 * soft-fp/fixsfti.c: Likewise.
828 * soft-fp/fixtfdi.c: Likewise.
829 * soft-fp/fixtfsi.c: Likewise.
830 * soft-fp/fixtfti.c: Likewise.
831 * soft-fp/fixunsdfdi.c: Likewise.
832 * soft-fp/fixunsdfsi.c: Likewise.
833 * soft-fp/fixunsdfti.c: Likewise.
834 * soft-fp/fixunssfdi.c: Likewise.
835 * soft-fp/fixunssfsi.c: Likewise.
836 * soft-fp/fixunssfti.c: Likewise.
837 * soft-fp/fixunstfdi.c: Likewise.
838 * soft-fp/fixunstfsi.c: Likewise.
839 * soft-fp/fixunstfti.c: Likewise.
840 * soft-fp/floatdidf.c: Likewise.
841 * soft-fp/floatdisf.c: Likewise.
842 * soft-fp/floatditf.c: Likewise.
843 * soft-fp/floatsidf.c: Likewise.
844 * soft-fp/floatsisf.c: Likewise.
845 * soft-fp/floatsitf.c: Likewise.
846 * soft-fp/floattidf.c: Likewise.
847 * soft-fp/floattisf.c: Likewise.
848 * soft-fp/floattitf.c: Likewise.
849 * soft-fp/floatundidf.c: Likewise.
850 * soft-fp/floatundisf.c: Likewise.
851 * soft-fp/floatunsidf.c: Likewise.
852 * soft-fp/floatunsisf.c: Likewise.
853 * soft-fp/floatuntidf.c: Likewise.
854 * soft-fp/floatuntisf.c: Likewise.
855 * soft-fp/floatuntitf.c: Likewise.
856 * soft-fp/fmadf4.c: Likewise.
857 * soft-fp/fmasf4.c: Likewise.
858 * soft-fp/fmatf4.c: Likewise.
859 * soft-fp/gedf2.c: Likewise.
860 * soft-fp/gesf2.c: Likewise.
861 * soft-fp/getf2.c: Likewise.
862 * soft-fp/ledf2.c: Likewise.
863 * soft-fp/lesf2.c: Likewise.
864 * soft-fp/letf2.c: Likewise.
865 * soft-fp/muldf3.c: Likewise.
866 * soft-fp/mulsf3.c: Likewise.
867 * soft-fp/multf3.c: Likewise.
868 * soft-fp/negdf2.c: Likewise.
869 * soft-fp/negsf2.c: Likewise.
870 * soft-fp/negtf2.c: Likewise.
871 * soft-fp/op-1.h: Likewise.
872 * soft-fp/op-2.h: Likewise.
873 * soft-fp/op-4.h: Likewise.
874 * soft-fp/op-8.h: Likewise.
875 * soft-fp/op-common.h: Likewise.
876 * soft-fp/quad.h: Likewise.
877 * soft-fp/single.h: Likewise.
878 * soft-fp/soft-fp.h: Likewise.
879 * soft-fp/sqrtdf2.c: Likewise.
880 * soft-fp/sqrtsf2.c: Likewise.
881 * soft-fp/sqrttf2.c: Likewise.
882 * soft-fp/subdf3.c: Likewise.
883 * soft-fp/subsf3.c: Likewise.
884 * soft-fp/subtf3.c: Likewise.
885 * soft-fp/truncdfsf2.c: Likewise.
886 * soft-fp/trunctfdf2.c: Likewise.
887 * soft-fp/trunctfsf2.c: Likewise.
888 * soft-fp/trunctfxf2.c: Likewise.
889 * soft-fp/unorddf2.c: Likewise.
890 * soft-fp/unordsf2.c: Likewise.
891 * soft-fp/unordtf2.c: Likewise.
892
17c48a60
OB
8932013-10-14 Ondřej Bílka <neleai@seznam.cz>
894
895 [BZ #15672]
896 * misc/error.c (error_tail): Fix possible buffer overflow.
897
cabba934
OB
8982013-10-14 Aurelien Jarno <aurelien@aurel32.net>
899
900 [BZ #13028]
901 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
902 address.
903
94bf958a
PM
9042013-10-14 P. J. McDermott <pj@pehjota.net>
905
906 [BZ #832]
907 * elf/ldd.bash.in (try_trace): New function. Delete previous code
908 testing pipefail option.
909
71b4dea7
JM
9102013-10-12 Joseph Myers <joseph@codesourcery.com>
911
912 * soft-fp/double.h: Indent preprocessor directives inside #if.
913 * soft-fp/extended.h: Likewise.
914 * soft-fp/op-2.h: Likewise.
915 * soft-fp/op-4.h: Likewise.
916 * soft-fp/op-common.h: Likewise.
917 * soft-fp/quad.h: Likewise.
918 * soft-fp/single.h: Likewise.
919 * soft-fp/soft-fp.h: Likewise.
920
55602758
YC
9212013-10-12 Yuri Chornoivan <yurchor@ukr.net>
922
923 * iconv/iconv_prog.c: Fix typos.
924 * stdio-common/psiginfo-data.h: Likewise.
925
9cd83302
RT
9262013-10-12 Reuben Thomas <rrt@sc3d.org>
927
928 [BZ #15764]
929 * locale/setlocale.c: Fix typo.
930
99fd9f47
JM
9312013-10-12 Joseph Myers <joseph@codesourcery.com>
932
b7ea74f0
JM
933 [BZ #16036]
934 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
935 signaling NaN arguments.
936 * soft-fp/unordsf2.c (__unordsf2): Likewise.
937 * soft-fp/unordtf2.c (__unordtf2): Likewise.
938
8a509447
JM
939 [BZ #14910]
940 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
941 unordered operands.
942 * soft-fp/gesf2.c (__gesf2): Likewise.
943 * soft-fp/getf2.c (__getf2): Likewise.
944 * soft-fp/ledf2.c (__ledf2): Likewise.
945 * soft-fp/lesf2.c (__lesf2): Likewise.
946 * soft-fp/letf2.c (__letf2): Likewise.
947
98998e9f
JM
948 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
949 * soft-fp/eqsf2.c (__eqsf2): Likewise.
950 * soft-fp/eqtf2.c (__eqtf2): Likewise.
951 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
952 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
953 * soft-fp/fixdfti.c (__fixdfti): Likewise.
954 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
955 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
956 * soft-fp/fixsfti.c (__fixsfti): Likewise.
957 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
958 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
959 * soft-fp/fixtfti.c (__fixtfti): Likewise.
960 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
961 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
962 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
963 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
964 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
965 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
966 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
967 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
968 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
969 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
970 * soft-fp/floatdisf.c (__floatdisf): Likewise.
971 * soft-fp/floatsisf.c (__floatsisf): Likewise.
972 * soft-fp/floattidf.c (__floattidf): Likewise.
973 * soft-fp/floattisf.c (__floattisf): Likewise.
974 * soft-fp/floattitf.c (__floattitf): Likewise.
975 * soft-fp/floatundidf.c (__floatundidf): Likewise.
976 * soft-fp/floatundisf.c (__floatundisf): Likewise.
977 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
978 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
979 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
980 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
981 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
982 * soft-fp/gesf2.c (__gesf2): Likewise.
983 * soft-fp/getf2.c (__getf2): Likewise.
984 * soft-fp/ledf2.c (__ledf2): Likewise.
985 * soft-fp/lesf2.c (__lesf2): Likewise.
986 * soft-fp/letf2.c (__letf2): Likewise.
987
8edc4a11
JM
988 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
989 Undefine and redefine.
990 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
991 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
992 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
993 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
994 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
995 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
996 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
997 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
998 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
999 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1000 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1001 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1002 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1003 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1004 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1005
8399acaf
JM
1006 [BZ #16032]
1007 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1008 without decrementing exponent if mantissa >= that for the
1009 denominator, not >.
1010 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1011 denominator, not >. Decrement exponent in < case instead of
1012 incrementing in >= case.
1013 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1014 without decrementing exponent if mantissa >= that for the
1015 denominator, not >.
1016
99fd9f47
JM
1017 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1018 computing saturated result for unsigned overflow.
1019
10e1cf6b
SP
10202013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1021 Jeff Law <law@redhat.com>
1022
1023 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1024 (atan2Mp): Add systemtap probe marker.
1025 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1026 (__ieee754_log): Add systemtap probe marker.
1027 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1028 (atanMp): Add systemtap probe marker.
1029 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1030 (tanMp): Add systemtap probe marker.
1031 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1032 (__slowexp): Add systemtap probe marker.
1033 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1034 (__slowpow): Add systemtap probe marker.
1035 * manual/probes.texi: Document probes.
1036
3d110c7c
EB
10372013-10-11 Eric Biggers <ebiggers3@gmail.com>
1038
1039 [BZ #15362]
1040 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1041 written.
1042 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1043 written.
1044 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1045 written to buffer but not flushed.
1046 * libio/iofwrite_u.c: Likewise.
1047 * libio/iopadn.c: Return bytes returned even if EOF was
1048 encountered.
1049 * libio/iowpadn.c: Likewise.
1050 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1051 if _IO_padn does not write the whole buffer.
1052 [!COMPILE_WPRINTF] (PAD): Likewise.
1053
75b4202a
DM
10542013-10-10 David S. Miller <davem@davemloft.net>
1055
1056 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1057 directory block.
1058
6c6352e6
JM
10592013-10-10 Joseph Myers <joseph@codesourcery.com>
1060
33b853c3
JM
1061 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1062 instead of FSF address.
1063 * soft-fp/fixdfti.c: Likewise.
1064 * soft-fp/fixsfti.c: Likewise.
1065 * soft-fp/fixtfti.c: Likewise.
1066 * soft-fp/fixunsdfti.c: Likewise.
1067 * soft-fp/fixunssfti.c: Likewise.
1068 * soft-fp/fixunstfti.c: Likewise.
1069 * soft-fp/floattidf.c: Likewise.
1070 * soft-fp/floattisf.c: Likewise.
1071 * soft-fp/floattitf.c: Likewise.
1072 * soft-fp/floatuntidf.c: Likewise.
1073 * soft-fp/floatuntisf.c: Likewise.
1074 * soft-fp/floatuntitf.c: Likewise.
1075 * soft-fp/trunctfxf2.c: Likewise.
1076
6c6352e6
JM
1077 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1078 * soft-fp/fixdfti.c: Likewise.
1079 * soft-fp/fixsfti.c: Likewise.
1080 * soft-fp/fixtfti.c: Likewise.
1081 * soft-fp/fixunsdfti.c: Likewise.
1082 * soft-fp/fixunssfti.c: Likewise.
1083 * soft-fp/fixunstfti.c: Likewise.
1084 * soft-fp/floattidf.c: Likewise.
1085 * soft-fp/floattisf.c: Likewise.
1086 * soft-fp/floattitf.c: Likewise.
1087 * soft-fp/floatuntidf.c: Likewise.
1088 * soft-fp/floatuntisf.c: Likewise.
1089 * soft-fp/floatuntitf.c: Likewise.
1090 * soft-fp/trunctfxf2.c: Likewise.
1091
3bf78b71
DM
10922013-10-10 David S. Miller <davem@davemloft.net>
1093
1094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1095
6f10289e
JM
10962013-10-10 Joseph Myers <joseph@codsourcery.com>
1097
bd878fc0
JM
1098 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1099 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1100 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1101 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1102 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1103 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1104 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1105
6f10289e
JM
1106 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1107 for NaNs before doing comparisons on argument.
1108 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1109 Likewise.
1110
321e2684
WN
11112013-10-10 Will Newton <will.newton@linaro.org>
1112
1113 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1114 passed to _int_memalign does not overflow.
1115
40fefba1
TR
11162013-10-10 Torvald Riegel <triegel@redhat.com>
1117
1118 * scripts/bench.pl: Add include-sources directive.
1119 * benchtests/README: Update documentation.
1120
2ae21ed2
JM
11212013-10-10 Joseph Myers <joseph@codesourcery.com>
1122
dcc2dd3f
JM
1123 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1124 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1125 instead of FP_INIT_ROUNDMODE.
1126 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1127 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1128
2ae21ed2
JM
1129 [BZ #16034]
1130 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1131 copy class of input value.
1132 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1133 not handle exceptions.
1134 * soft-fp/negsf2.c (__negsf2): Likewise.
1135 * soft-fp/negtf2.c (__negtf2): Likewise.
1136 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1137
cb8f9562
JM
11382013-10-09 Joseph Myers <joseph@codesourcery.com>
1139
1140 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1141 semicolon. From Linux kernel.
1142
5b60c59d
AB
11432013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1144
1145 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1146
b86835ca
YC
11472013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1148
1149 [BZ #156]
1150 * manual/socket.texi: Added statement about buffer
1151 for gethostbyname2_r.
1152
e7044ea7
OB
11532013-10-08 Ondřej Bílka <neleai@seznam.cz>
1154
1155 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1156 Use .p2align directive instead, throughout.
1157 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1158 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1159 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1160 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1161 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1162 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1163 * sysdeps/x86_64/strchr.S: Likewise.
1164 * sysdeps/x86_64/strrchr.S: Likewise.
1165
09544cbc
SP
11662013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1167
88576635
SP
1168 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1169
e7b2d1dd
SP
1170 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1171
09544cbc
SP
1172 * sysdeps/generic/math_private.h (__mpsin1): Remove
1173 declaration.
1174 (__mpcos1): Likewise.
1175 (__mpsin): New argument __range_reduce.
1176 (__mpcos): Likewise.
1177 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1178 (slow): Use __mpsin and __mpcos.
1179 (slow1): Likewise.
1180 (slow2): Likewise.
1181 (sloww): Likewise.
1182 (sloww1): Likewise.
1183 (sloww2): Likewise.
1184 (bsloww): Likewise.
1185 (bsloww1): Likewise.
1186 (bsloww2): Likewise.
1187 (cslow2): Likewise.
1188 (csloww): Likewise.
1189 (csloww1): Likewise.
1190 (csloww2): Likewise.
1191 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1192 range_reduce. Merge in __mpsin1.
1193 (__mpcos): Likewise.
1194 (__mpsin1): Remove.
1195 (__mpcos1): Likewise.
1196
7602d070
JM
11972013-10-07 Joseph Myers <joseph@codesourcery.com>
1198
1199 * locale/loadlocale.c (_nl_intern_locale_data): Use
1200 LOCFILE_ALIGNED_P.
1201 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1202 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1203 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1204 obstack data is appropriately aligned.
1205 (obstack_int32_grow_fast): Likewise.
1206 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1207 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1208 (add_locale_uint32_array): Likewise.
1209
a357259b
SP
12102013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1211
1212 * benchtests/Makefile: Remove ARGLIST and RET variables.
1213 ($(objpfx)bench-%.c): Pass only function name to the script.
1214 * benchtests/README: Update documentation.
1215 * benchtests/acos-inputs: Add new directives.
1216 * benchtests/acosh-inputs: Likewise.
1217 * benchtests/asin-inputs: Likewise.
1218 * benchtests/asinh-inputs: Likewise.
1219 * benchtests/atan-inputs: Likewise.
1220 * benchtests/atanh-inputs: Likewise.
1221 * benchtests/cos-inputs: Likewise.
1222 * benchtests/cosh-inputs: Likewise.
1223 * benchtests/exp-inputs: Likewise.
1224 * benchtests/log-inputs: Likewise.
1225 * benchtests/pow-inputs: Likewise.
1226 * benchtests/rint-inputs: Likewise.
1227 * benchtests/sin-inputs: Likewise.
1228 * benchtests/sinh-inputs: Likewise.
1229 * benchtests/tan-inputs: Likewise.
1230 * benchtests/tanh-inputs: Likewise.
1231 * scripts/bench.pl: Add support for new directives.
1232
9ec1b13d
AM
12332013-10-07 Alan Modra <amodra@gmail.com>
1234
1235 * README: Fix careless merge.
1236
8b7d57cd
AM
12372013-10-05 Alan Modra <amodra@gmail.com>
1238
1239 * NEWS: Mention powerpc64le support and bugs fixed.
1240 * README: Both big-endian and little-endian powerpc64 supported.
1241
7b7bab13
ST
12422013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1243
1244 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1245 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1246 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1247 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1248
d39baad1
RA
12492013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1250
1251 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1252 match prototype.
1253
cd78f7e7
JM
12542013-10-04 Joseph Myers <joseph@codesourcery.com>
1255
29d73d86
JM
1256 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1257 Move -mhard-float appending from
1258 ports/sysdeps/powerpc/powerpc32/Makefile.
1259 [$(with-fp) = yes] (ASFLAGS): Likewise.
1260 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1261 * sysdeps/powerpc/nofpu: Move directory from
1262 ports/sysdeps/powerpc/nofpu.
1263 * sysdeps/powerpc/soft-fp: Move directory from
1264 ports/sysdeps/powerpc/soft-fp.
1265 * sysdeps/powerpc/powerpc32/405: Move directory from
1266 ports/sysdeps/powerpc/powerpc32/405.
1267 * sysdeps/powerpc/powerpc32/440: Move directory from
1268 ports/sysdeps/powerpc/powerpc32/440.
1269 * sysdeps/powerpc/powerpc32/464: Move directory from
1270 ports/sysdeps/powerpc/powerpc32/464.
1271 * sysdeps/powerpc/powerpc32/476: Move directory from
1272 ports/sysdeps/powerpc/powerpc32/476.
1273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1274 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1276 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1278 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1280 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1282 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1283 * README: Update for powerpc-*-linux-gnu software floating point
1284 support in libc.
1285
e246b347
JM
1286 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1287 case to powerpc/powerpc32*.
1288 * sysdeps/unix/sysv/linux/configure: Regenerated.
1289
89c2003e
JM
1290 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1291 (_FPU_MASK_OM): Define as 0x04.
1292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1294 0x00c10080.
1295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1296 0x0000003c.
1297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1298
cd78f7e7
JM
1299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1300 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1301 getcontext_e500.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1303 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1304 setcontext_e500.
1305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1306 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1307 and setcontext_e500.
1308
c755294d
CL
13092013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1310
1311 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1312
e16d221c
SP
13132013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1314
1315 * manual/threads.texi (Default Thread Attributes): Fix typo.
1316
215c7d43
WN
13172013-10-04 Will Newton <will.newton@linaro.org>
1318
1319 * malloc/Makefile: Add tst-memalign.
1320 * malloc/tst-memalign.c: New file.
1321
27d0461b
WN
1322 * malloc/tst-posix_memalign.c: Add comments.
1323 (do_test): Add comments and call free on all potentially
1324 allocated pointers. Add space after cast.
1325
1bc92709
WN
1326 * malloc/tst-pvalloc.c: Add comments.
1327 (do_test): Add comments and call free on all potentially
1328 allocated pointers. Remove duplicate check for NULL pointer.
1329 Add space after cast.
1330
66a9be9d
WN
1331 * malloc/tst-valloc.c: Add comments.
1332 (do_test): Add comments and call free on all potentially
1333 allocated pointers. Remove duplicate check for NULL pointer.
1334 Add space after cast.
1335
4cb81307
AM
13362013-10-04 Alan Modra <amodra@gmail.com>
1337
1338 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1339 Use stdint types in rather than __attribute__((mode())).
1340 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1341
f8e3e9f3
AM
13422013-10-04 Alan Modra <amodra@gmail.com>
1343
1344 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1345 Correct handling of unaligned relocs for little-endian.
1346 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1347
8f9ebb08
AM
13482013-10-04 Alan Modra <amodra@gmail.com>
1349
1350 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1351 * configure: Regenerate.
1352 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1353 * shlib-versions: Likewise.
1354
0edf96c2
AM
13552013-10-04 Alan Modra <amodra@gmail.com>
1356
1357 * string/tester.c (test_memrchr): Increment reported test cycle.
1358
e0f7a380
AM
13592013-10-04 Alan Modra <amodra@gmail.com>
1360
1361 * string/test-memcpy.c (do_one_test): When reporting errors, print
1362 string address and don't overrun end of string.
1363
466b0393
AM
13642013-10-04 Alan Modra <amodra@gmail.com>
1365
1366 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1367 insrdi. Make better use of reg selection to speed exit slightly.
1368 Schedule entry path a little better. Remove useless "are we done"
1369 checks on entry to main loop. Handle wrapping around zero address.
1370 Correct main loop count. Handle single left-over word from main
1371 loop inline rather than by using loop_small. Remove extra word
1372 case in loop_small caused by wrong loop count. Add little-endian
1373 support.
1374 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1375 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1376 cache hint.
1377 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1378 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1379 support. Avoid rlwimi.
1380 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1381
3be87c77
AM
13822013-10-04 Alan Modra <amodra@gmail.com>
1383
1384 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1385 insrdi. Formatting.
3be87c77
AM
1386 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1387 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1388 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1389 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1390 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1391 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1392
759cfef3
AM
13932013-10-04 Alan Modra <amodra@gmail.com>
1394
1395 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1396 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1397 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1398 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1399 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1400 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1401 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1402 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1403 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1404 use of regs. Use power7 mtocrf. Tidy function tails.
1405
fe6e95d7
AM
14062013-10-04 Alan Modra <amodra@gmail.com>
1407
1408 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1409 Formatting. Consistently use rXXX register defines or rN defines.
1410 Use early exit labels that avoid restoring unused non-volatile regs.
1411 Make cr field use more consistent with rWORDn compares. Rename
1412 regs used as shift registers for unaligned loop, using rN defines
1413 for short lifetime/multiple use regs.
1414 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1415 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1416 addi 1,1,64 to pop stack frame. Simplify return value code.
1417 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1418
664318c3
AM
14192013-10-04 Alan Modra <amodra@gmail.com>
1420
1421 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1422 support. Correct typos, formatting. Optimize tail. Use insrdi
1423 rather than rlwimi.
1424 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1425 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1426 little-endian support. Correct typos.
1427 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1428 rather than rlwimi.
1429 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1430 in loop and entry code to keep "and." results.
1431 (strchr): Add little-endian support. Comment. Move cntlzd
1432 earlier in tail.
1433 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1434
43b84013
AM
14352013-10-04 Alan Modra <amodra@gmail.com>
1436
1437 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1438 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1439 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1440 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1441
8a7413f9
AM
14422013-10-04 Alan Modra <amodra@gmail.com>
1443
1444 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1445 (rTMP): Define as r11.
1446 (strcmp): Add little-endian support. Optimise tail.
1447 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1448 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1449 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1450 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1451 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1452 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1453 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1454
33ee81de
AM
14552013-10-04 Alan Modra <amodra@gmail.com>
1456
1457 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1458 little-endian support. Remove unnecessary "are we done" tests.
1459 Handle "s" wrapping around zero and extremely large "size".
1460 Correct main loop count. Handle single left-over word from main
1461 loop inline rather than by using small_loop. Correct comments.
1462 Delete "zero" tail, use "end_max" instead.
1463 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1464
db9b4570
AM
14652013-10-04 Alan Modra <amodra@gmail.com>
1466
1467 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1468 support. Don't branch over align.
1469 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1470 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1471 support. Rearrange tmp reg use to suit. Comment.
1472 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1473
f7c399cf
AM
14742013-10-04 Alan Modra <amodra@gmail.com>
1475
1476 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1477
0b2c2ace
AM
14782013-10-04 Alan Modra <amodra@gmail.com>
1479
1480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1481 conditional form of branch and link when obtaining pc.
1482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1483
02f04a6c
AM
14842013-10-04 Alan Modra <amodra@gmail.com>
1485
1486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1487 HIWORD/LOWORD.
1488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1490
9b874b2f
AM
14912013-10-04 Alan Modra <amodra@gmail.com>
1492
1493 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1494 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1495 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1496 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1497 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1498 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1499 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1500 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1501 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1502 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1503
be1e5d31
AB
15042013-10-04 Anton Blanchard <anton@au1.ibm.com>
1505 Alistair Popple <alistair@ozlabs.au.ibm.com>
1506 Alan Modra <amodra@gmail.com>
1507
1508 [BZ #15723]
1509 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1510 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1511 _dl_hwcap access for little-endian.
1512 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1513 destroy vmx regs when saving unaligned.
1514 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1515 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1516 destroy vmx regs when saving unaligned.
1517
fef13a78
AM
15182013-10-04 Alan Modra <amodra@gmail.com>
1519
1520 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1521 Don't use a union to pack hi/low value.
1522
76a66d51
AB
15232013-10-04 Anton Blanchard <anton@au1.ibm.com>
1524
1525 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1526 for little-endian.
1527 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1528 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1529 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1530 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1531 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1532
6a31fe7f
AM
15332013-10-04 Alan Modra <amodra@gmail.com>
1534
1535 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1536 constants to usual value for .cst8 section, and remove redundant
1537 high address load.
1538 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1539 constant for 0x1p52. Load little-endian words of double from
1540 correct stack offsets.
1541
7b88401f
AM
15422013-10-04 Alan Modra <amodra@gmail.com>
1543
1544 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1545 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1546 words of double from correct stack offsets.
1547 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1548 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1549 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1550 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1551 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1552 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1553 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1554 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1555 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1556 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1557 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1558 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1559 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1560 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1561 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1562 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1563 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1564
9c008155
AM
15652013-10-04 Alan Modra <amodra@gmail.com>
1566
1567 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1568 64-bit int/double union.
1569 (_FPU_SETCW): Likewise.
1570 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1571 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1572
da13146d
AM
15732013-10-04 Alan Modra <amodra@gmail.com>
1574
1575 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1576 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1577
603e8410
AM
15782013-10-04 Alan Modra <amodra@gmail.com>
1579
1580 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1581 use vector int constants.
1582 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1583
4a28b3ca
AB
15842013-10-04 Anton Blanchard <anton@au1.ibm.com>
1585
1586 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1587 array with long long.
1588 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1589 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1590 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1591 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1592 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1593 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1594 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1595 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1596 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1597 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1598 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1599 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1600 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1601
2ca85d2b
AB
16022013-10-04 Anton Blanchard <anton@au1.ibm.com>
1603
1604 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1605 (__signbit): Likewise. Correct for little-endian.
1606 (__signbitl): Call __signbit.
1607 (lrint): Correct for little-endian.
1608 (lrintf): Call lrint.
1609
62a728ae
AM
16102013-10-04 Alan Modra <amodra@gmail.com>
1611
1612 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1613 union 32-bit int array member with 64-bit int array.
1614 (t515, tm256): Double rather than long double.
1615 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1616
32c301df
AM
16172013-10-04 Alan Modra <amodra@gmail.com>
1618
1619 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1620 Delete.
1621 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1622 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1623 version of math_ldbl.h.
1624
650ef4bd
AM
16252013-10-04 Alan Modra <amodra@gmail.com>
1626
1627 [BZ #15734], [BZ #15735]
1628 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1629 all uses of ieee875 long double macros and unions. Simplify test
1630 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1631 ldbl_extract_mantissa value for ix,iy exponents. Properly
1632 normalize after ldbl_extract_mantissa, and don't add hidden bit
1633 already handled. Don't treat low word of ieee854 mantissa like
1634 low word of IBM long double and mask off bit when testing for
1635 zero.
1636 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1637 all uses of ieee875 long double macros and unions. Simplify tests
1638 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1639 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1640 two1022, instead use their values. Recognise that tests for large
1641 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1642 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1643 Rewrite all uses of ieee875 long double macros and unions. Simplify
1644 test for 0.0L and nan. Correct negation.
1645 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1646 ieee875 long double macros and unions. Correct output for large
1647 magnitude x. Correct absolute value calculation.
1648 (__erfcl): Likewise.
1649 * math/libm-test.inc: Add tests for errors discovered in IBM long
1650 double versions of fmodl, remainderl, erfl and erfcl.
1651
765714ca
AM
16522013-10-04 Alan Modra <amodra@gmail.com>
1653
1654 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1655 all uses of ieee854 long double macros and unions. Simplify tests
1656 for long doubles that are fully specified by the high double.
1657 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1658 Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1660 Remove dead code too.
1661 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1662 (__ieee754_ynl): Likewise.
1663 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1664 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1665 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1666 Remove dead code too.
1667 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1668 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1669 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1671 Simplify.
1672 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1673 Simplify.
1674 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1675 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1676 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1677 Comment on variable precision.
1678 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1679 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1680 Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1682 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1683 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1684 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1685 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1686
4ebd120c
AM
16872013-10-04 Alan Modra <amodra@gmail.com>
1688
1689 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1690 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1691 all uses of ieee854 long double macros and unions.
1692 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1696 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1698 Likewise.
1699 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1701 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1703 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1704 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1705 Simplify sign and nan test too.
1706 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1709 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1710 Likewise.
1711 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1713 Likewise.
1714 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1716 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1717 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1718 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1720
1b6adf88
AM
17212013-10-04 Alan Modra <amodra@gmail.com>
1722
1723 * stdio-common/printf_size.c (__printf_size): Don't use
1724 union ieee854_long_double in fpnum union.
1725 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1726 signbit macro to retrieve sign from long double.
1727 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1728 retrieve sign from long double.
1729 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1730 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1731 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1732 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1733 * math/test-misc.c (main): Don't use union ieee854_long_double.
1734
4cf69995
AM
17352013-10-04 Alan Modra <amodra@gmail.com>
1736
1737 [BZ #15680]
1738 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1739 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1740 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1741 calculation. Remove unnecessary test for denormal exponent.
1742 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1743 Correct handling of denormals. Avoid undefined shift behaviour.
1744 Correct normalisation of low mantissa when low double is denormal.
1745 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1746 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1747 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1748 Correct normalisation of low mantissa. Test for overflow of high
1749 mantissa and normalise.
1750 (ldbl_nearbyint): Use more readable constant for two52.
1751 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1752 (__mpn_construct_long_double): Fix test for overflow of high
1753 mantissa and correct normalisation. Avoid undefined shift.
1754
9605ca6c
AM
17552013-10-04 Alan Modra <amodra@gmail.com>
1756
1757 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1758 (union ibm_extended_long_double): Define as an array of ieee754_double.
1759 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1760 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1761 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1762 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1763 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1765 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1766 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1770
975569d0
JM
17712013-10-03 Joseph Myers <joseph@codesourcery.com>
1772
d3d23756
JM
1773 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1774 page size instead of calling getpagesize.
1775
975569d0
JM
1776 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1777 (LOCFILE_ALIGN_MASK): Likewise.
1778 (LOCFILE_ALIGN_UP): Likewise.
1779 (LOCFILE_ALIGNED_P): Likewise.
1780 * locale/programs/ld-collate.c (collate_output): Use the new
1781 macros instead of __alignof__ (int32_t).
1782 * locale/weight.h (findidx): Likewise.
1783
b1fe1f2b
OB
17842013-10-03 Ondřej Bílka <neleai@seznam.cz>
1785
1786 [BZ #431]
1787 * manual/string.texi: Fix strncat and wcsncat.
1788
5f855e35
BM
17892013-10-03 Brooks Moses <bmoses@google.com>
1790
1791 [BZ #15915]
1792 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1793 * Makerules: ...here, and adjust associated comments.
1794
3cef6009
WN
17952013-10-02 Will Newton <will.newton@linaro.org>
1796
1797 * malloc/Makefile: Add tst-pvalloc.
1798 * malloc/tst-pvalloc.c: New file.
1799
7815420b
WN
18002013-10-02 Will Newton <will.newton@linaro.org>
1801
1802 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1803 improve test coverage.
1804
4868b204
WN
18052013-10-02 Will Newton <will.newton@linaro.org>
1806
1807 * malloc/Makefile: Add tst-posix_memalign.
1808 * malloc/tst-posix_memalign.c: New file.
1809
29c793b3
EB
18102013-10-01 Eric Blake <eblake@redhat.com>
1811
1812 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1813 Use __THROWNL rather than __THROW on static functions.
1814
fd967522
PM
18152013-09-30 Petr Machata <pmachata@redhat.com>
1816
1817 * elf/elf.h (R_AARCH64_ABS16): New macro.
1818 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1819 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1820 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1821 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1822 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1823 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1824 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1825 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1826 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1827 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1828 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1829 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1830 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1831 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1832 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1833 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1834 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1835 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1836 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1837 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1838 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1839 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1840 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1841 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1842 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1843 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1844 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1845 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1846 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1847 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1848 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1849 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1850 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1851 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1852 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1853 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1854 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1855 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1856 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1857 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1858 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1859 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1860 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1861 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1862 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1863 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1864 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1865 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1866 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1867 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1868 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1869 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1870 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1871 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1872 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1873 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1874 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1875 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1876 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1877 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1878 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1879 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1880 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1881 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1882 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1883 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1884 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1885 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1886 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1887 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1888 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1889 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1890 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1891 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1892 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1893 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1894 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1895 (R_AARCH64_TLSDESC_LDR): Likewise.
1896 (R_AARCH64_TLSDESC_ADD): Likewise.
1897 (R_AARCH64_TLSDESC_CALL): Likewise.
1898
b2179107
AS
18992013-09-30 Andreas Schwab <schwab@suse.de>
1900
1901 [BZ #15048]
1902 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1903 the nss database lookup.
1904 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1906
47f28d0a
MF
19072013-09-28 Mike Frysinger <vapier@gentoo.org>
1908
1909 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1910
19112013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1912
1913 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1914 ${Bash-specific parameter/pattern/string} parameter expansion.
1915 * sysdeps/unix/make-syscalls.sh: Likewise.
1916
f4518a17
KK
19172013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1918
1919 * sysdeps/sh/stackguard-macros.h: New file.
1920
dc1a95c7
OB
19212013-09-26 Ondřej Bílka <neleai@seznam.cz>
1922
1923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1924 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1925 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1926 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1927 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1928 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1929
5ebbff8f
AZ
19302013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1931
1932 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1933 Fix thread ID register.
1934
4fd2cf9f
JM
19352013-09-25 Joseph Myers <joseph@codesourcery.com>
1936
1937 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1938 [POSIX || UNIX98]: Require rather than permitting all symbols from
1939 <time.h>.
1940 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1941 element of struct sched_param.
1942 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1943 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1944 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1945 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1946 constant.
1947
12c22bc4
OL
19482013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1949
1950 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1951 argument calculation.
1952
a03d8ea7
JM
19532013-09-24 Joseph Myers <joseph@codesourcery.com>
1954
1955 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1956 Expect macro.
1957 [POSIX] (pthread_attr_t): Do not require type.
1958 [POSIX] (pthread_cond_t): Likewise.
1959 [POSIX] (pthread_condattr_t): Likewise.
1960 [POSIX] (pthread_key_t): Likewise.
1961 [POSIX] (pthread_mutex_t): Likewise.
1962 [POSIX] (pthread_mutexattr_t): Likewise.
1963 [POSIX] (pthread_once_t): Likewise.
1964 [POSIX] (pthread_t): Likewise.
1965 [POSIX-based standards] (pthread_atfork): Expect function.
1966
6055173a
JM
19672013-09-24 Joseph Myers <joseph@codesourcery.com>
1968 Richard Sandiford <richard@codesourcery.com>
1969
1970 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1971 (swap_endianness_p): New extern variable.
1972 (set_big_endian): New inline function.
1973 (maybe_swap_uint32): Likewise.
1974 (maybe_swap_uint32_array): Likewise.
1975 (maybe_swap_uint32_obstack): Likewise.
1976 * locale/programs/locfile.c: Include <stdbool.h>.
1977 (swap_endianness_p): New variable.
1978 (add_locale_uint32): Call maybe_swap_uint32.
1979 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1980 (write_locale_data): Call maybe_swap_uint32_array.
1981 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1982 maybe_swap_uint32.
1983 (obstack_int32_grow_fast): Likewise.
1984 (output_weightwc): Call maybe_swap_uint32_obstack.
1985 (collate_output): Likewise.
1986 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1987 (OPT_LITTLE_ENDIAN): Likewise.
1988 (options): Add --little-endian and --big-endian options.
1989 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1990 * locale/programs/locarchive.c: Include "locfile.h".
1991 (GET): New macro.
1992 (SET): Likewise.
1993 (INC): Likewise.
1994 (create_archive): Use the new macros to access fields of
1995 structures directly mapped from or written to locale archives.
1996 (oldlocrecentcmp): Likewise.
1997 (enlarge_archive): Likewise.
1998 (insert_name): Likewise.
1999 (add_alias): Likewise.
2000 (add_locale): Likewise.
2001 (delete_locales_from_archive): Likewise.
2002 (show_archive_content): Likewise.
2003 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2004 locale data.
2005
39bf0bb4
RM
20062013-09-24 Roland McGrath <roland@hack.frob.com>
2007
2008 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2009 http://www.gnu.org/doc/freemanuals.texi.
2010 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2011
f02eed10
WN
20122013-09-24 Will Newton <will.newton@linaro.org>
2013
2014 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2015 macro.
2016
a3a6c312
JM
20172013-09-23 Joseph Myers <joseph@codesourcery.com>
2018
2019 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2020 unsigned char.
2021
107375ac
MR
20222013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2023
2024 * manual/threads.texi (POSIX Threads): Fix a typo.
2025
141f3a77
SP
20262013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2027
303e567a
SP
2028 [BZ #14547]
2029 * string/tst-strcoll-overflow.c: New test case.
2030 * string/Makefile (xtests): Add tst-strcoll-overflow.
2031 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2032 cache if string sizes may cause integer overflow.
2033
141f3a77
SP
2034 [BZ #14547]
2035 * string/strcoll_l.c (coll_seq): New members rule, idx,
2036 save_idx and back_us.
2037 (get_next_seq_nocache): New function.
2038 (do_compare_nocache): New function.
2039 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2040 when malloc fails.
2041
c61b4d41
CD
20422013-09-23 Carlos O'Donell <carlos@redhat.com>
2043
0b1f8e35
CD
2044 [BZ #15754]
2045 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2046 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2047 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2048
c61b4d41
CD
2049 [BZ #15754]
2050 * elf/Makefile (tests): Add tst-ptrguard1.
2051 (tests-static): Add tst-ptrguard1-static.
2052 (tst-ptrguard1-ARGS): Define.
2053 (tst-ptrguard1-static-ARGS): Define.
2054 * elf/tst-ptrguard1.c: New file.
2055 * elf/tst-ptrguard1-static.c: New file.
2056 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2057 * sysdeps/i386/stackguard-macros.h: Likewise.
2058 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2059 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2060 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2061 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2062 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2063 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2064
20652013-09-23 Hector Marco <hecmargi@upv.es>
2066 Ismael Ripoll <iripoll@disca.upv.es>
2067 Carlos O'Donell <carlos@redhat.com>
2068
2069 [BZ #15754]
2070 * sysdeps/generic/stackguard-macros.h: Define
2071 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2072 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2073 Define __pointer_chk_guard_local.
2074 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2075 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2076
f5f4e7b4
VV
20772013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2078
2079 [BZ #15859]
2080 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2081
5bb43a43
AS
20822013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2083
2084 * include/string.h (__ffs): Declare as hidden.
2085 * string/ffs.c (__ffs): Define as hidden.
2086 * sysdeps/i386/ffs.c (__ffs): Likewise.
2087 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2088 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2089 * sysdeps/s390/ffs.c (__ffs): Likewise.
2090 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2091
3ea5be54
AO
20922013-09-20 Alexandre Oliva <aoliva@redhat.com>
2093
ffb89e53
AO
2094 * NEWS: Mention malloc probes.
2095
322dea08
AO
2096 * malloc/arena.c (new_heap): New memory_heap_new probe.
2097 (grow_heap): New memory_heap_more probe.
2098 (shrink_heap): New memory_heap_less probe.
2099 (heap_trim): New memory_heap_free probe.
2100 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2101 (systrim): New memory_sbrk_less probe.
2102 * manual/probes.texi: Document them.
2103
655673f3
AO
2104 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2105 * manual/probes.texi: Document it.
2106
35fed6f1
AO
2107 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2108 (__libc_realloc): Add memory_realloc_retry probe.
2109 (__libc_memalign): Add memory_memalign_retry probe.
2110 (__libc_valloc): Add memory_valloc_retry probe.
2111 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2112 (__libc_calloc): Add memory_calloc_retry probe.
2113 * manual/probes.texi: Document them.
2114
6999d38c
AO
2115 * malloc/arena.c (get_free_list): Add probe
2116 memory_arena_reuse_free_list.
2117 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2118 and memory_arena_reuse.
2119 (arena_get2) [!PER_THREAD]: Likewise.
2120 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2121 memory_arena_reuse_realloc.
2122 * manual/probes.texi: Document them.
2123
0653427f
AO
2124 * malloc/malloc.c (__libc_free): Add
2125 memory_mallopt_free_dyn_thresholds probe.
2126 (__libc_mallopt): Add multiple memory_mallopt probes.
2127 * manual/probes.texi: Document them.
2128
3ea5be54
AO
2129 * malloc/malloc.c: Include stap-probe.h.
2130 (__libc_mallopt): Add memory_mallopt probe.
2131 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2132 * manual/probes.texi: New.
2133 * manual/Makefile (chapters): Add probes.
2134 * manual/threads.texi: Set next node.
2135
e35696c3 21362013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2137
e35696c3
CL
2138 [BZ #15963, #13985]
2139 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2140 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2141 Add `Chinese' to `nan' entry name.
2142
4aafb73c
SP
21432013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2144
2145 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2146 (POLYNOMIAL): Likewise.
2147 (TAYLOR_SINCOS): Likewise.
2148 (TAYLOR_SLOW): Likewise.
2149 (__sin): Use TAYLOR_SINCOS.
2150 (__cos): Likewise.
2151 (slow): Use TAYLOR_SLOW.
2152 (sloww): Likewise.
2153 (bsloww): Likewise.
2154 (csloww): Likewise.
2155
d84f25c7
LD
21562013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2157
2158 * stdlib/strtod_l.c: Fix buffer overrun.
2159
5eea0404
SP
21602013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2161
7849ff93
SP
2162 * benchtests/Makefile (bench): Add sincos.
2163 * benchtests/bench-sincos.c: New file.
2164
cfa3c886
SP
2165 * math/libm-test.inc (cos_test_data): New test inputs.
2166 (sin_test_data): Likewise.
2167
b348e1e3
SP
2168 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2169 macro.
2170 (__sin): Use it.
2171 (__cos): Likewise.
2172 (slow1): Likewise.
2173 (slow2): Likewise.
2174 (sloww1): Likewise.
2175 (sloww2): Likewise.
2176 (bsloww1): Likewise.
2177 (bsloww2): Likewise.
2178 (cslow2): Likewise.
2179 (csloww1): Likewise.
2180 (csloww2): Likewise.
2181
6cce25f8
SP
2182 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2183 function.
2184 (__sin): Use it.
2185 (__cos): Likewise.
2186
5eea0404
SP
2187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2188 gotos.
2189 (__cos): Likewise.
2190
9c21573c
MR
21912013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2192
2193 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2194 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2195 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2196 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2197 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2198 * elf/cache.c (print_entry): Handle the new cache flags.
2199
24d22e65
JM
22002013-09-18 Joseph Myers <joseph@codesourcery.com>
2201 Aldy Hernandez <aldyh@redhat.com>
2202
2203 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2204 Change condition to [_SOFT_FLOAT].
2205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2209 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2210 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2211 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2212 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2213 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2214 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2217 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2220 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2221 declaration.
2222
d13ef066
JM
22232013-09-18 Joseph Myers <joseph@codesourcery.com>
2224
2e071de0
JM
2225 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2226 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2227 (__longjmp): Use LOAD_GP to load saved GPRs.
2228 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2229 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2230 (__sigsetjmp): Use SAVE_GP to save GPRs.
2231
d13ef066
JM
2232 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2233 Do not append -msoft-float.
2234 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2235
97a0650b
SP
22362013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2237
2238 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2239
11ca09e9
JM
22402013-09-17 Joseph Myers <joseph@codesourcery.com>
2241
2242 [BZ #15966]
2243 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2244 (_FPU_GETCW): Use initial "__" on variable and field names but not
2245 on macro parameter name.
2246 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2247 parentheses around reference to macro parameter.
2248
08ffcf34
RS
22492013-09-13 Richard Sandiford <richard@codesourcery.com>
2250
2251 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2252 prototype.
2253 (ctype_startup): Use uint32_t in cast and sizeof for
2254 ctype->charnames.
2255
ae7080d3
JL
22562013-09-11 Jia Liu <proljc@gmail.com>
2257
2258 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2259 __daddr_t_defined.
2260 [__FreeBSD__]: Likewise.
2261
5905e7b3
OB
22622013-09-11 Ondřej Bílka <neleai@seznam.cz>
2263
2264 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2265 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2266 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2267 (strchr): Remove __strchr_sse42 ifunc selection.
2268 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2269 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2270
b987c776
WN
22712013-09-11 Will Newton <will.newton@linaro.org>
2272
2273 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2274 parameter to RES. Remove hardcoded 1000 value.
2275 * benchtests/bench-skeleton.c (main): Pass RES parameter
2276 to TIMING_INIT and multiply result by 1000.
2277
ddf985af
AZ
22782013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2279
2280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2281
ffdd3181
AS
22822013-09-11 Andreas Schwab <schwab@suse.de>
2283
2284 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2285 if not defined.
2286 (O_TMPFILE) [__USE_GNU]: Define.
2287 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2288 Define.
2289
b73ed247
WN
22902013-09-11 Will Newton <will.newton@linaro.org>
2291
2292 [BZ #15857]
2293 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2294 does not overflow.
2295
55e17aad
WN
22962013-09-11 Will Newton <will.newton@linaro.org>
2297
2298 [BZ #15856]
2299 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2300 does not overflow.
2301
1159a193
WN
23022013-09-11 Will Newton <will.newton@linaro.org>
2303
2304 [BZ #15855]
2305 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2306 does not overflow.
2307
5905e7b3 23082013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2309
2310 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2311 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2312 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2313 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2314 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2315
cdfc721b
AM
23162013-09-10 Allan McRae <allan@archlinux.org>
2317
aa04af00
AM
2318 [BZ #15748]
2319 * manual/arith.texi (Parsing of Floats): Clarify
2320 cross-reference.
2321
cdfc721b
AM
2322 [BZ #15849]
2323 * manual/install.texi (Running make install): Mention
2324 --enable-pt-chown.
2325 * INSTALL: Regenerated.
2326
95e7cf29
MR
23272013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2328
2329 * csu/init-first.c (_init): Remove the !SHARED condition around
2330 FPU control word initialization.
2331 * elf/dl-support.c (_dl_fpu_control): New variable.
2332 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2333 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2334 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2335 * math/test-fpucw-static.c: New file.
2336 * math/test-fpucw-ieee.c: New file.
2337 * math/test-fpucw-ieee-static.c: New file.
2338 * math/Makefile (tests): Add `test-fpucw-ieee' and
2339 `$(tests-static)'.
2340 (tests-static): New variable.
2341 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2342 dependency to...
2343 [($(build-shared),yes)]
2344 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2345 ... this.
2346 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2347 New dependency.
2348
83e43bf0
AM
23492013-09-09 Allan McRae <allan@archlinux.org>
2350
a9f5ce09
AM
2351 [BZ #15939]
2352 * manual/string.texi (Collation Functions): Fix typo in
2353 strcoll example.
2354 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2355
34829bc2
AM
2356 [BZ #15893]
2357 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2358
3932737d
AM
2359 [BZ #15892]
2360 * libio/memstream.c (open_memstream): Fix memory leak.
2361 * libio/wmemstream.c (open_wmemstream): Likewise.
2362
83e43bf0
AM
2363 [BZ #15895]
2364 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2365
0c66b8e9
WN
23662013-09-09 Will Newton <will.newton@linaro.org>
2367
2368 * malloc/Makefile: Add tst-realloc to tests.
2369 * malloc/tst-realloc.c: New file.
2370
f6b00fd1
AM
23712013-09-09 Allan McRae <allan@archlinux.org>
2372
2373 [BZ #15844]
2374 * COPYING: Update from GNU website to fix FSF address.
2375 * COPYING.LIB: Likewise.
2376
eec55e16
DM
23772013-09-06 David S. Miller <davem@davemloft.net>
2378
2379 * po/zh_TW.po: Update Chinese (traditional) translation from
2380 translation project.
2381
1ecbb381
RS
23822013-09-06 Richard Sandiford <richard@codesourcery.com>
2383 Joseph Myers <joseph@codesourcery.com>
2384
2385 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2386 "localeinfo.h".
2387 (obstack_chunk_alloc): New macro.
2388 (obstack_chunk_free): Likewise.
2389 (record_offset): New function.
2390 (init_locale_data): Likewise.
2391 (align_locale_data): Likewise.
2392 (add_locale_empty): Likewise.
2393 (add_locale_raw_data): Likewise.
2394 (add_locale_raw_obstack): Likewise.
2395 (add_locale_string): Likewise.
2396 (add_locale_wstring): Likewise.
2397 (add_locale_uint32): Likewise.
2398 (add_locale_uint32_array): Likewise.
2399 (add_locale_char): Likewise.
2400 (start_locale_structure): Likewise.
2401 (end_locale_structure): Likewise.
2402 (start_locale_prelude): Likewise.
2403 (end_locale_prelude): Likewise.
2404 (write_locale_data): Take locale_file structure rather than an
2405 iovec.
2406 * locale/programs/locfile.h: Include "obstack.h".
2407 (struct locale_file): Change to store locale file contents instead
2408 of header.
2409 (init_locale_data): New prototype.
2410 (align_locale_data): Likewise.
2411 (add_locale_empty): Likewise.
2412 (add_locale_raw_data): Likewise.
2413 (add_locale_raw_obstack): Likewise.
2414 (add_locale_string): Likewise.
2415 (add_locale_wstring): Likewise.
2416 (add_locale_uint32): Likewise.
2417 (add_locale_uint32_array): Likewise.
2418 (add_locale_char): Likewise.
2419 (start_locale_structure): Likewise.
2420 (end_locale_structure): Likewise.
2421 (start_locale_prelude): Likewise.
2422 (end_locale_prelude): Likewise.
2423 (write_locale_data): Update prototype.
2424 * locale/programs/3level.h (struct TABLE): Remove result field.
2425 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2426 Use new locale_file interface.
2427 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2428 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2429 * locale/programs/ld-address.c (address_output): Use new
2430 locale_file interface.
2431 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2432 NO_ADD_LOCALE.
2433 (collate_finish): Don't call collseq_table_finalize.
2434 (collate_output): Use new locale_file interface.
2435 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2436 in file.
2437 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2438 (TABLE): Move defines earlier in file.
2439 (ELEMENT): Likewise.
2440 (DEFAULT): Likewise.
2441 (wctrans_table_add): Move macro and inline function earlier in
2442 file.
2443 (struct wctype_table): Move type earlier in file.
2444 (add_locale_wctype_table): New static prototype.
2445 (struct locale_ctype_t): Use logical types instead of struct iovec
2446 pointers for members.
2447 (ctype_output): Use new locale_file interface.
2448 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2449 new locale_file interface.
2450 (allocate_arrays): Update for use of new locale_file interface.
2451 * locale/programs/ld-identification.c (identification_output): Use
2452 new locale_file interface.
2453 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2454 * locale/programs/ld-messages.c (messages_output): Likewise.
2455 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2456 * locale/programs/ld-name.c (name_output): Likewise.
2457 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2458 * locale/programs/ld-paper.c (paper_output): Likewise.
2459 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2460 * locale/programs/ld-time.c (time_output): Likewise.
2461
e029e2e5
AZ
24622013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2463
2464 * benchtests/Makefile: Add memrchr benchmark.
2465 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2466 benchmark as memrchr.
2467 * benchtests/bench-memrchr-ifunc.c: New file.
2468 * benchtests/bench-memrchr.c: New file.
2469
bbf6e8e4
WN
24702013-09-06 Will Newton <will.newton@linaro.org>
2471
2472 * benchtests/Makefile (string-bench): Add memcpy.
2473
6c82a2f8
CD
24742013-09-05 Carlos O'Donell <carlos@redhat.com>
2475 Cong Wang <amwang@redhat.com>
2476
2477 * sysdeps/unix/sysv/linux/bits/in.h
2478 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2479 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2480 before __USE_KERNEL_IPV6_DEFS uses.
2481 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2482 IPPROTO_BEETPH.
2483 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2484 sockaddr_in6, or ipv6_mreq.
2485
5430fc65
AZ
24862013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2487
2488 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2489 memory access for final bytes in some large inputs.
2490 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2491
4660856c
AZ
24922013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2493
2494 * string/test-memrchr.c: New file.
2495 * string/test-memrchr-ifunc.c: New file.
2496 * string/Makefile: Add new memrchr testcase.
2497
bb8ea713
MF
24982013-09-05 Mike Frysinger <vapier@gentoo.org>
2499
2500 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2501 fanotify_init returns EPERM.
2502
b92a20b5
JM
25032013-09-04 Joseph Myers <joseph@codesourcery.com>
2504
2505 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2506 errors.
2507 (top level): Treat second token from macro or constant entries for
2508 allowed headers as allowed.
2509 * include/complex.h: Condition internal declarations on
2510 [!_ISOMAC].
2511 * include/fenv.h: Condition include of <stdbool.h> and internal
2512 declarations on [!_ISOMAC].
7447ccd9
CL
2513
25142013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2515
3e181dda 2516 [BZ #15923]
7447ccd9
CL
2517 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2518
3f2e46a4
JM
25192013-09-04 Joseph Myers <joseph@codesourcery.com>
2520
2521 * configure.in (--enable-versioning): Remove configure option.
2522 (libc_cv_asm_symver_directive): Remove configure test.
2523 (libc_cv_ld_version_script_option): Likewise.
2524 (VERSIONING): Remove variable and AC_SUBST.
2525 (DO_VERSIONING): Remove AC_DEFINE.
2526 * configure: Regenerated.
2527 * config.h.in (DO_VERSIONING): Remove macro.
2528 * Makerules [$(versioning) = yes]: Change conditionals to
2529 [$(build-shared) = yes].
2530 * config.make.in (versioning): Remove variable.
2531 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2532 [$(build-shared) = yes].
2533 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2534 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2535 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2536 [$(build-shared) = yes].
2537 * extra-lib.mk [$(versioning) = yes]: Likewise.
2538 * hurd/Makefile [$(versioning) = yes]: Likewise.
2539 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2540 [SHARED].
2541 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2542 [SHARED].
2543 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2544 [SHARED && !NO_HIDDEN].
2545 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2546 [SHARED].
2547 [SHARED && DO_VERSIONING]: Likewise..
2548 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2549 [$(build-shared) = yes].
2550 * manual/install.texi (--disable-versioning): Remove
2551 documentation.
2552 * INSTALL: Regenerated.
2553 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2554 to [SHARED].
2555 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2556 [$(build-shared) = yes].
2557 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2558 * sysdeps/i386/i686/multiarch/strstr-c.c
2559 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2560 [SHARED && !NO_HIDDEN].
2561 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2562 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2563 * sysdeps/powerpc/powerpc32/dl-machine.c
2564 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2565 * sysdeps/powerpc/powerpc32/sysdep.h
2566 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2567 to [SHARED && PIC && !NO_HIDDEN].
2568 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2569 conditional to [SHARED].
2570
44558701
WN
25712013-09-04 Will Newton <will.newton@linaro.org>
2572
2573 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2574 * benchtests/bench-string.h: Include bench-timing.h instead
2575 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2576 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2577 call to HP_TIMING_DIFF_INIT.
2578 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2579 instead of hp-timing.h macros.
2580 * benchtests/bench-memchr.c: Likewise.
2581 * benchtests/bench-memcmp.c: Likewise.
2582 * benchtests/bench-memcpy.c: Likewise.
2583 * benchtests/bench-memmem.c: Likewise.
2584 * benchtests/bench-memmove.c: Likewise.
2585 * benchtests/bench-memset.c: Likewise.
2586 * benchtests/bench-rawmemchr.c: Likewise.
2587 * benchtests/bench-strcasecmp.c: Likewise.
2588 * benchtests/bench-strcasestr.c: Likewise.
2589 * benchtests/bench-strcat.c: Likewise.
2590 * benchtests/bench-strchr.c: Likewise.
2591 * benchtests/bench-strcmp.c: Likewise.
2592 * benchtests/bench-strcpy.c: Likewise.
2593 * benchtests/bench-strcpy_chk.c: Likewise.
2594 * benchtests/bench-strlen.c: Likewise.
2595 * benchtests/bench-strncasecmp.c: Likewise.
2596 * benchtests/bench-strncat.c: Likewise.
2597 * benchtests/bench-strncmp.c: Likewise.
2598 * benchtests/bench-strncpy.c: Likewise.
2599 * benchtests/bench-strnlen.c: Likewise.
2600 * benchtests/bench-strpbrk.c: Likewise.
2601 * benchtests/bench-strrchr.c: Likewise.
2602 * benchtests/bench-strspn.c: Likewise.
2603 * benchtests/bench-strstr.c: Likewise.
2604
cae16d66
WN
26052013-09-04 Will Newton <will.newton@linaro.org>
2606
2607 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2608
ffa3cd7f
JM
26092013-09-03 Joseph Myers <joseph@codesourcery.com>
2610
2611 [BZ #15427]
2612 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2613 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2614 * math/libm-test.inc (lgamma_test_data): Add more tests.
2615 * sysdeps/i386/fpu/libm-test-ulps: Update.
2616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2617
8f02859f
OB
26182013-09-03 Ondřej Bílka <neleai@seznam.cz>
2619
2620 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2621 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2622 Add ifunc.
2623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2624 Add strcmp-sse2-unaligned
2625 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2626
18d43716
MF
26272013-09-02 Mike Frysinger <vapier@gentoo.org>
2628
2629 * Versions.def (libc): Add GLIBC_2.19.
2630
ac444012
MF
26312013-09-02 Mike Frysinger <vapier@gentoo.org>
2632
2633 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2634 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2635
b7835e32
JM
26362013-09-02 Joseph Myers <joseph@codesourcery.com>
2637
2638 [BZ #14155]
2639 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2640 intermediate calculations in recurrence.
2641 (__ieee754_ynf): Likewise.
2642 * math/libm-test.inc (jn_test_data): Do not allow spurious
2643 underflow exception. Add more tests.
2644 (yn_test_data): Add more tests.
2645 * sysdeps/i386/fpu/libm-test-ulps: Update.
2646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2647
8220f4f0
OB
26482013-09-02 Ondřej Bílka <neleai@seznam.cz>
2649
2650 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2651
f24a6d08
OB
26522013-08-30 Ondřej Bílka <neleai@seznam.cz>
2653
2654 * csu/init-first.c: Fix then/than typos.
2655 * locale/programs/ld-collate.c: Likewise.
2656 * locale/programs/linereader.h: Likewise.
2657 * manual/charset.texi: Likewise.
2658 * manual/filesys.texi: Likewise.
2659 * manual/stdio.texi: Likewise.
2660 * manual/string.texi: Likewise.
2661 * stdlib/fmtmsg.c: Likewise.
2662 * sysdeps/i386/stpncpy.S: Likewise.
2663 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2664 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2665 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2666 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2667
382466e0
OB
26682013-08-30 Ondřej Bílka <neleai@seznam.cz>
2669
2670 * elf/dl-open.c: Fix typos.
2671 * iconvdata/gbbig5.c: Likewise.
2672 * iconvdata/iso-2022-jp.c: Likewise.
2673 * iconv/gconv_int.h: Likewise.
2674 * iconv/loop.c: Likewise.
2675 * nis/rpcsvc/nis.h: Likewise.
2676 * resolv/ns_name.c: Likewise.
2677 * stdio-common/vfscanf.c: Likewise.
2678 * streams/stropts.h: Likewise.
2679 * sunrpc/rpc_thread.c: Likewise.
2680 * sysdeps/i386/strpbrk.S: Likewise.
2681 * sysdeps/ieee754/k_standard.c: Likewise.
2682 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2683 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2684 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2685 * sysdeps/mach/hurd/profil.c: Likewise.
2686 * sysdeps/s390/dl-procinfo.h: Likewise.
2687 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2688 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2689 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2690 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2691 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2692
0186c6e9
OB
26932013-08-30 Ondřej Bílka <neleai@seznam.cz>
2694
2695 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2697
d4e16af1
OB
26982013-08-29 Ondřej Bílka <neleai@seznam.cz>
2699
2700 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2701 aix specific files.
2702 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2703 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2704 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2705 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2706 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2707 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2708 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2710
88335980
TS
27112013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2712 Roland McGrath <roland@hack.frob.com>
2713
2714 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2715 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2716
ed479b02
ST
27172013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2718
2719 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2720 __executable_start symbol instead of _start.
2721
f1cc4c86
TS
27222013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2723
d821f07c
TS
2724 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2725 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2726 Move macros to...
2727 * sysdeps/gnu/ldsodefs.h: ... this new file.
2728
c54290cf
TS
2729 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2730 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2731 instead of ELFOSABI_LINUX.
2732
0007fc9b 2733 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2734 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2735 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2736 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2737 Likewise.
2738 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2739 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2740 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2741 Likewise.
2742 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2743 (ibm_extended_long_double): Add ieee_nan member.
2744 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2745 (do_test): New function.
2746
f1cc4c86
TS
2747 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2748 TEST_TRUNC.
2749 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2750 functions, renamed from truncdfsf_test, trunctfsf_test,
2751 trunctfdf_test.
2752 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2753 functions.
2754 (do_test): Run all these.
2755
6f65e668
OB
27562013-08-29 Ondřej Bílka <neleai@seznam.cz>
2757
2758 * argp/argp-help.c: Fix typos.
2759 * argp/argp-parse.c: Likewise.
2760 * debug/backtracesyms.c: Likewise.
2761 * elf/elf.h: Likewise.
2762 * malloc/malloc.c: Likewise.
2763 * nis/nis_print.c: Likewise.
2764 * resolv/res_comp.c: Likewise.
2765 * stdlib/stdlib.h: Likewise.
2766 * sunrpc/clnt_tcp.c: Likewise.
2767 * sunrpc/clnt_udp.c: Likewise.
2768 * sunrpc/clnt_unix.c: Likewise.
2769 * sysdeps/unix/bsd/ptsname.c: Likewise.
2770 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2771 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2773 Likewise.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2775 Likewise.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2777 Likewise.
6f65e668
OB
2778 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2779
3a309239
SP
27802013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2781
2782 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2784
3b813b29
MF
27852013-08-27 Mike Frysinger <vapier@gentoo.org>
2786
2787 [BZ #15897]
2788 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2789 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2790 ($(objpfx)bug-dl-leaf): New rule.
2791 ($(objpfx)bug-dl-leaf.so): Likewise.
2792 ($(objpfx)bug-dl-leaf.out): Likewise.
2793 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2794 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2795 * dlfcn/bug-dl-leaf.c: New test.
2796 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2797 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2798 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2799 (dlclose): Likewise.
2800 (dlmopen): Likewise.
2801
8cc3269f
RM
28022013-08-27 Roland McGrath <roland@hack.frob.com>
2803
7f9d0034
RM
2804 * include/netdb.h [!_ISOMAC]:
2805 Don't include <tls.h>.
2806 (h_errno, __libc_h_errno): Move declaration and macros out of
2807 [_LIBC_REENTRANT].
2808
fb431262
RM
2809 * include/resolv.h [_RESOLV_H_]:
2810 Don't include <tls.h>.
2811 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2812 * resolv/res_libc.c: Don't include <tls.h>.
2813 (_res): Use __attribute__ ((nocommon)) in place of
2814 __attribute__ ((section (".bss"))).
2815
bd81123a
RM
2816 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2817 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2818
c4e42566
RM
2819 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2820
f890a59b
RM
2821 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2822 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2823
2824 * resolv/res_mkquery.c: Include <sys/time.h>.
2825
5d1f0a09
RM
2826 * inet/ifreq.c: Moved to ...
2827 * sysdeps/unix/ifreq.c: ... here.
2828 * inet/ifreq.c: New file, true stub version.
2829
6fcf28b3
RM
2830 * socket/sa_len.c: New file.
2831 * socket/Makefile (aux): Add it.
2832 * sysdeps/unix/sysv/linux/Makefile
2833 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2834 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2835 and #include <socket/sa_len.c>.
2836 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2837 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2838
e041fb8b
RM
2839 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2840 * bits/socket.h: ... here.
2841
8cc3269f
RM
2842 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2843 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2844 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2845
5d228a43
AS
28462013-08-27 Andreas Schwab <schwab@suse.de>
2847
45b8accc
AS
2848 [BZ #15736]
2849 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2850 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2851 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2852 * string/test-strcasecmp.c (test_main): Run tests in several
2853 locales.
2854 * string/test-strncasecmp.c (test_main): Likewise.
2855
5d228a43
AS
2856 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2857 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2858 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2859 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2860 (__strncasecmp_ssse3) [PIC]: Likewise.
2861
59d112a4
RM
28622013-08-26 Roland McGrath <roland@hack.frob.com>
2863
53234cc3
RM
2864 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2865
59d112a4
RM
2866 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2867 instead of explicitly declaring xdecrypt.
2868 * nis/nss_nis/nis-publickey.c: Likewise.
2869
595aba70
SP
28702013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2871
2872 [BZ #15890]
2873 * nscd/aicache.c: Include res_hconf.h.
2874 (addhstaiX): Initialize res_hconf.
2875
ffabd393
AS
28762013-08-26 Andreas Schwab <schwab@suse.de>
2877
2878 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2879 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2880
e0a69f5c
SP
28812013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2882
2883 * nscd/aicache.c (addhstaiX): Fix indentation.
2884
8c12f01d
MF
28852013-08-25 Mike Frysinger <vapier@gentoo.org>
2886
2887 * configure.ac: Quote $build_pt_chown test.
2888 * configure: Regenerated.
2889
8fe89494
JM
28902013-08-23 Joseph Myers <joseph@codesourcery.com>
2891
2892 [BZ #15532]
2893 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2894 * math/s_cexpf.c (__cexpf): Likewise.
2895 * math/s_cexpl.c (__cexpl): Likewise.
2896 * math/libm-test.inc (cexp_test_data): Correct expected return
2897 value for NaN + i0. Add another test.
2898
75b181d6
DM
28992013-08-22 David S. Miller <davem@davemloft.net>
2900
2901 * po/ca.po: Update Catalan translation from translation project.
936241e4 2902 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2903
acd06bb1
JM
29042013-08-21 Joseph Myers <joseph@codesourcery.com>
2905
2906 [BZ #15797]
2907 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2908 is infinite, not alongside NaN test.
2909 * math/s_fdimf.c (__fdimf): Likewise.
2910 * math/s_fdiml.c (__fdiml): Likewise.
2911 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2912 errno is unchanged.
2913
c0c3f78a
OB
29142013-08-21 Ondřej Bílka <neleai@seznam.cz>
2915
2916 * argp/argp-help.c: Fix typos.
2917 * crypt/speeds.c: Likewise.
2918 * csu/check_fds.c: Likewise.
2919 * elf/dl-load.c: Likewise.
2920 * elf/dl-open.c: Likewise.
2921 * elf/reldep3.c: Likewise.
2922 * elf/reldep.c: Likewise.
2923 * elf/sprof.c: Likewise.
2924 * iconv/iconv_charmap.c: Likewise.
2925 * iconv/skeleton.c: Likewise.
2926 * iconv/strtab.c: Likewise.
2927 * io/lockf64.c: Likewise.
2928 * libio/libioP.h: Likewise.
2929 * resolv/gai_notify.c: Likewise.
2930 * resolv/ns_name.c: Likewise.
2931 * resolv/ns_samedomain.c: Likewise.
2932 * resolv/res_send.c: Likewise.
2933 * stdlib/random.c: Likewise.
2934 * sunrpc/rpc/xdr.h: Likewise.
2935 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2936 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2937 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2938 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2939 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2940 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2942 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2943 * sysdeps/mach/hurd/check_fds.c: Likewise.
2944 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2945 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2946 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2947 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2948 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2949 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2950 * sysdeps/pthread/aio_notify.c: Likewise.
2951 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2952 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2953 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2954 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2955 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2956
46ed1038
LD
29572013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2958
2959 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2960 version if bit_Slow_SSE4_2 is set.
2961 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2962 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2963
d400dcac
AZ
29642013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2965
2966 [BZ #15867]
2967 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2968 trampoline stack frame information.
2969 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2970 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2971 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2972 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2973 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2974 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2975 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2976 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2977 sa_flags value.
2978 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2979 interrupting a syscall and set with option SA_SIGINFO.
2980
42c8fdd8
JM
29812013-08-20 Joseph Myers <joseph@codesourcery.com>
2982
c980f2f4
JM
2983 [BZ #15531]
2984 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2985 argument is infinite.
2986 * math/s_cprojf.c (__cprojf): Likewise.
2987 * math/s_cprojl.c (__cprojl): Likewise.
2988 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2989 * math/libm-test.inc (cproj_test_data): Add more tests.
2990
0716c4fc
JM
2991 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2992
42c8fdd8
JM
2993 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2994 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2995 size. Use __ffs to determine corresponding shift.
2996
b31469d0
JM
29972013-08-20 Joseph Myers <joseph@codesourcery.com>
2998 Roland McGrath <roland@hack.frob.com>
2999
3000 * Makefile (INSTALL): Remove trailing blank lines from output of
3001 makeinfo.
3002
4e39af6e
AK
30032013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3004
3005 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3006 Align 32 bit compat elf_greg to 8 bytes.
3007
f315524e
AA
30082013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3009
3010 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3011
1326ba1a
SP
30122013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3013
3014 * string/strcoll_l.c (coll_seq): New structure.
3015 (get_next_seq_cached): New function.
3016 (get_next_seq): New function.
3017 (do_compare): New function.
3018 (STRCOLL): Use GNU style definition. Simplify implementation
3019 by using get_next_seq, get_next_seq_cached and do_compare.
3020
91ce4085
FW
30212013-08-16 Florian Weimer <fweimer@redhat.com>
3022
3023 [BZ #14699]
3024 CVE-2013-4237
3025 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3026 member.
3027 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3028 member.
3029 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3030 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3031 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3032 conditional.
3033 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3034 GETDENTS_64BIT_ALIGNED.
3035 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3036 * manual/filesys.texi (Reading/Closing Directory): Document
3037 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3038 strongly.
3039 * manual/conf.texi (Limits for Files): Add portability note to
3040 NAME_MAX, PATH_MAX.
3041 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3042
ca0a6bc4
AS
30432013-08-13 Andreas Schwab <schwab@suse.de>
3044
3045 [BZ #15749]
3046 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3047 of fabs.
3048 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3049 LDBL_MAX_EXP >= 16384]: Add tests for it.
3050
6c1fd795
DM
30512013-08-12 David S. Miller <davem@davemloft.net>
3052
3053 * version.h (RELEASE): Set to "development".
3054 (VERSION): Set to "2.18.90".
3055 * NEWS: Add 2.19 section.
3056
31ad488d
DM
30572013-08-03 David S. Miller <davem@davemloft.net>
3058
3059 * po/ko.po: Update Korean translation from translation project.
3060
db24e684
DM
30612013-08-01 David S. Miller <davem@davemloft.net>
3062
3063 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3064 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3065 Bilka.
3066
f723285b
DM
30672013-07-30 David S. Miller <davem@davemloft.net>
3068
3069 * po/fr.po: Update French translation from translation project.
3070
3cbc52db
DM
30712013-07-28 David S. Miller <davem@davemloft.net>
3072
30bbc0cc
DM
3073 * po/cs.po: Update Czech translation from translation project.
3074
3cbc52db
DM
3075 * po/sv.po: Update Swedish translation from translation project.
3076
d492e6d0
DM
30772013-07-27 David S. Miller <davem@davemloft.net>
3078
f1a7f492
DM
3079 * po/eo.po: Update Esperanto translation from translation project.
3080
90e62a4a
DM
3081 * po/vi.po: Update Vietnamese translation from translation project.
3082
d492e6d0
DM
3083 * po/de.po: Update German translation from translation project.
3084
d4baa62d
DM
30852013-07-26 David S. Miller <davem@davemloft.net>
3086
641aa7b4
DM
3087 * po/bg.po: Update Bulgarian translation from translation project.
3088
d4baa62d
DM
3089 * po/nl.po: Update Dutch translation from translation project.
3090 * po/pl.po: Update Polish translation from translation project.
3091 * po/ru.po: Update Russian translation from translation project.
3092
61a9dcb9
DM
30932013-07-24 David S. Miller <davem@davemloft.net>
3094
3095 * po/libc.pot: Update.
3096
7b1f8b58
AZ
30972013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3098
3099 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3100 variable page size.
3101 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3102 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3103 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3104
a8fc7a03
AK
31052013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3106
3107 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3108
e4608715
CD
31092013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3110 Andreas Schwab <schwab@suse.de>
3111 Roland McGrath <roland@hack.frob.com>
3112 Joseph Myers <joseph@codesourcery.com>
3113 Carlos O'Donell <carlos@redhat.com>
3114
3115 [BZ #15755]
3116 * config.h.in: Define HAVE_PT_CHOWN.
3117 * config.make.in (build-pt-chown): New variable.
3118 * configure.in (--enable-pt_chown): New configure option.
3119 * configure: Regenerate.
3120 * login/Makefile: Include Makeconfig. Build pt_chown only if
3121 build-pt-chown is enabled.
3122 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3123 pt_chown to fix pty ownership.
3124 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3125 CLOSE_ALL_FDS.
3126 * manual/install.texi (Configuring and compiling): Mention
3127 --enable-pt_chown. Add @findex for grantpt.
3128 * INSTALL: Regenerate.
3129
da2d62df
DM
31302013-07-20 David S. Miller <davem@davemloft.net>
3131
3132 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3133 difference between 32-bit and 64-bit.
3134
d7e06450
CD
31352013-07-15 Carlos O'Donell <carlos@redhat.com>
3136
3137 [BZ #15711]
3138 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3139 Avoid system header dependency with -ffreestanding.
3140 ($(objpfx)bits/syscall%d): Likewise.
3141
f959cfd7
DM
31422013-07-13 David S. Miller <davem@davemloft.net>
3143
3144 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3145 underflows from atanl/atan2l due to bug 15319.
3146 (casinh_test_data): Likewise.
3147
c61f8513
DM
31482013-07-07 David S. Miller <davem@davemloft.net>
3149
3150 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3151
72c90ed0
JA
31522013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3153
3154 * sysdeps/i386/fpu/libm-test-ulps: Update.
3155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3156
52dfbe13
SP
31572013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3158
3159 * configure.in (--enable-lock-elision): Fix message text.
3160 * INSTALL: Regenerate.
3161 * configure: Regenerate.
3162
3f169543
AZ
31632013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3164
3165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3166
521c6785
AJ
31672013-07-03 Andreas Jaeger <aj@suse.de>
3168
3169 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3170 define.
3171 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3172 (ptrace_peeksiginfo_args): Add.
3173 (__ptrace_peeksiginfo_flags): Add.
3174 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3175 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3176 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3177
d2cc15cb
AM
31782013-07-03 Allan McRae <allan@archlinux.org>
3179
3180 * sysdeps/i386/fpu/libm-test-ulps: Update.
3181
3aaeeca7
DM
31822013-07-02 David S. Miller <davem@davemloft.net>
3183
3184 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3185
5314ed1a
MT
31862013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3187
3188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3189
67338156
JM
31902013-07-02 Joseph Myers <joseph@codesourcery.com>
3191
3192 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3194
1717da59
AK
31952013-07-02 Andi Kleen <ak@linux.intel.com>
3196
3197 * config.h.in (ENABLE_LOCK_ELISION): Add.
3198 * configure.in (--enable-lock-elision): Add option.
3199 * manual/install.texi: Document --enable lock elision.
3200 * configure: Regenerate
3201 * INSTALL: Regenerate.
3202
1c81621c
L
32032013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3204
3205 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3206 SSE4.2 strcasecmp for libc.a.
3207 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3208
77f01ab5
JM
32092013-07-02 Joseph Myers <joseph@codesourcery.com>
3210
3211 [BZ #13304]
3212 * soft-fp/op-common.h (_FP_FMA): New macro.
3213 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3214 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3215 (_FP_MUL_MEAT_1_imm): ... here.
3216 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3217 (_FP_MUL_MEAT_1_wide): ... here.
3218 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3219 (_FP_MUL_MEAT_1_hard): ... here.
3220 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3221 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3222 (_FP_MUL_MEAT_2_wide): ... here.
3223 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3224 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3225 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3226 (_FP_MUL_MEAT_2_gmp): ... here.
3227 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3228 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3229 (_FP_MUL_MEAT_4_wide): ... here.
3230 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3231 (_FP_MUL_MEAT_4_gmp): ... here.
3232 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3233 (_FP_WFRACBITS_DW_S): Likewise.
3234 (_FP_WFRACXBITS_DW_S): Likewise.
3235 (_FP_HIGHBIT_DW_S): Likewise.
3236 (FP_FMA_S): Likewise.
3237 (_FP_FRAC_HIGH_DW_S): Likewise.
3238 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3239 (_FP_WFRACBITS_DW_D): Likewise.
3240 (_FP_WFRACXBITS_DW_D): Likewise.
3241 (_FP_HIGHBIT_DW_D): Likewise.
3242 (FP_FMA_D): Likewise.
3243 (_FP_FRAC_HIGH_DW_D): Likewise.
3244 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3245 (_FP_WFRACBITS_DW_E): Likewise.
3246 (_FP_WFRACXBITS_DW_E): Likewise.
3247 (_FP_HIGHBIT_DW_E): Likewise.
3248 (FP_FMA_E): Likewise.
3249 (_FP_FRAC_HIGH_DW_E): Likewise.
3250 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3251 (_FP_WFRACBITS_DW_Q): Likewise.
3252 (_FP_WFRACXBITS_DW_Q): Likewise.
3253 (_FP_HIGHBIT_DW_Q): Likewise.
3254 (FP_FMA_Q): Likewise.
3255 (_FP_FRAC_HIGH_DW_Q): Likewise.
3256 * soft-fp/fmasf4.c: New file.
3257 * soft-fp/fmadf4.c: Likewise.
3258 * soft-fp/fmatf4.c: Likewise.
3259
6308fd9a
LD
32602013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3261
3262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3263 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3264 Silvermont.
3265 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3266 macro.
3267 (index_Slow_SSE4_2): Likewise.
3268 (index_Prefer_PMINUB_for_stringop): Likewise.
3269 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3270 bit_Slow_SSE4_2 is set.
3271 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3272 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3273
89cd9569
RA
32742013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3275
3276 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3277 rtld_global._dl_hwcap2.
3278 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3279 POWER8.
3280 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3281 POWER8 feature descriptions defined in _dl_hwcap2.
3282 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3283 string handling for POWER8 feature bits.
3284 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3285 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3286 _dl_powerpc_cap_flags.
3287 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3288 * sysdeps/powerpc/rtld-global-offsets.sym
3289 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3290 _dl_hwcap2 in the rtld_global_ro structure.
3291
1ae8bfe0
RA
32922013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3293
3294 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3295 hardware capabilities in support of AT_HWCAP2.
3296 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3297 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3298 GLRO(dl_hwcap2).
3299 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3300 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3301 explicitly the unknown a_type display mechanism is used.
3302 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3303 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3304 struct member.
3305 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3306 to macro prototype for AT_HWCAP2 support.
3307 * sysdeps/i386/dl-procinfo.h: Likewise.
3308 * sysdeps/s390/dl-procinfo.h: Likewise.
3309 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3310 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3311 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3312 return -1 for unknown a_type display fallback.
3313 * sysdeps/sparc/dl-procinfo.h: Likewise.
3314 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3315 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3316
8fbec010
JM
33172013-06-28 Joseph Myers <joseph@codesourcery.com>
3318
3319 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3320 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3321
0432680e
PY
33222013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3323
3324 [BZ #12492]
3325 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3326 mprotect making __stack_prot writable.
3327
ce61a2ad
NF
33282013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3329 Joseph Myers <joseph@codesourcery.com>
3330
3331 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3332 as being properly aligned.
3333
f91f1c0f
MR
33342013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3335
3d0f5d0c
MR
3336 * dlfcn/modstatic5.c: New file.
3337 * dlfcn/tststatic5.c: New file.
3338 * dlfcn/Makefile (tests): Add tststatic5.
3339 (tests-static): Likewise.
3340 (modules-names): Add modstatic5.
3341 (tststatic5-ENV): New variable.
3342 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3343
f91f1c0f
MR
3344 [BZ #15022]
3345 * elf/dl-support.c (_dl_main_map): New variable.
3346 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3347 (_dl_nns, _dl_load_adds): Set to 1.
3348 (_dl_initial_searchlist): Refer to _dl_main_map.
3349 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3350 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3351 call to _dl_get_origin.
3352 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3353 around call_map.
3354 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3355 * dlfcn/modstatic3.c: New file.
3356 * dlfcn/tststatic3.c: New file.
3357 * dlfcn/tststatic4.c: New file.
3358 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3359 (tests-static): Likewise.
3360 (modules-names): Add modstatic3.
3361 (tststatic3-ENV, tststatic4-ENV): New variables.
3362 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3363 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3364
cbe7d24b
JM
33652013-06-26 Joseph Myers <joseph@codesourcery.com>
3366
3367 * configure.in (CC): Require GCC version 4.4 or later.
3368 * configure: Regenerated.
3369 * manual/install.texi (Tools for Compilation): Update GCC version
3370 requirement.
3371 * INSTALL: Regenerated.
3372
11b8a0e1
LD
33732013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3374
3375 [BZ #15674]
bb5bb87c
L
3376 * string/test-memcmp.c (check2): New.
3377 (main): Call check2.
3378
11b8a0e1
LD
3379 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3380
b0037103
MR
33812013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3382
3383 [BZ #15022]
3384 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3385 over to...
3386 (dl_open_worker) [!SHARED]: ... here.
3387
c18c701d
RA
33882013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3389
3390 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3391
1d17fa5f
RH
33922013-06-25 Richard Henderson <rth@redhat.com>
3393
3394 * locale/programs/locarchive.c: Include <libc-internal.h>
3395
8fcb833a
JM
33962013-06-25 Joseph Myers <joseph@codesourcery.com>
3397
3398 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3399 trailing whitespace removed.
3400
17db6e8d
MF
34012013-06-24 Mike Frysinger <vapier@gentoo.org>
3402
3403 [BZ #10283]
17db6e8d
MF
3404 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3405 * locale/programs/locarchive.c: Include libc-mmap.h.
3406 (prepare_address_space): Take two new outputs (the mmap base and len).
3407 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3408 values.
3409 (create_archive): Declare new mmap base and len values for
3410 prepare_address_space, and store the result in ah.
3411 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3412 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3413 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3414 Declare new mmap base and len values for
3415 prepare_address_space, and store the result in new_ah.
3416 (open_archive): Declare new mmap base and len values for
3417 prepare_address_space, and store the result in ah.
3418 (close_archive): If ah->mmap_base is not NULL, use that and
3419 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3420 * sysdeps/generic/libc-mmap.h: New file.
3421
d605071e
MF
34222013-06-24 Mike Frysinger <vapier@gentoo.org>
3423
3424 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3425 (ALIGN_UP): Likewise.
3426 (PTR_ALIGN_DOWN): Likewise.
3427 (PTR_ALIGN_UP): Likewise.
3428
2f063a6e
RA
34292013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3430
3431 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3432 entry mapped to PPC_PLATFORM_POWER8.
3433 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3434 POWER8.
3435 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3436 (_dl_string_platform): Add case for exporting platform position for
3437 POWER8.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3439 search path to sysdeps/powerpc/powerpc32/power8 directory.
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3441 search path to sysdeps/powerpc/powerpc64/power8 directory.
3442 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3443 power7 directories.
3444 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3445 power7 directories.
3446
a31ee4b3
SP
34472013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3448
a74ca98f
SP
3449 * INSTALL: Regenerate.
3450
a31ee4b3
SP
3451 * nscd/connections.c (nscd_init): Fix comment.
3452
695c378f
JM
34532013-06-22 Joseph Myers <joseph@codesourcery.com>
3454
d8412221
JM
3455 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3456
695c378f
JM
3457 [BZ #15667]
3458 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3459 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3460
d1d54715
MR
34612013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3462
3463 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3464 DL_DST_REQ_STATIC.
3465 (DL_DST_REQ_STATIC): Remove macro.
3466
8fdda7af
JM
34672013-06-21 Joseph Myers <joseph@codesourcery.com>
3468
3469 [BZ #7006]
3470 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3471 with a shift of 0 bits.
3472
f3bc5e5a
MR
34732013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3474
3475 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3476 $(tststatic-ENV).
3477
be09e8c9
KK
34782013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3479
3480 [BZ #15655]
3481 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3482
85c2e611
AZ
34832013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3484
3485 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3486 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3487 accepts -fno-tree-loop-distribute-patterns.
3488 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3489 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3490 recursive call.
3491 * string/memset.c (memset): Likewise.
3492 * string/test-memmove.c (simple_memmove): Disable loop transformation
3493 to library calls.
3494 * string/test-memset.c (simple_memset): Likewise.
3495 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3496 * benchtests/bench-memset.c (simple_memset): Likewise.
3497 * configure: Regenerated.
3498
c91e0825
JM
34992013-06-20 Joseph Myers <joseph@codesourcery.com>
3500
b8c792af
JM
3501 * math/test-misc.c (main): Ignore fesetround failure when failures
3502 of subsequent rounding tests would be ignored.
3503
c91e0825
JM
3504 [BZ #15654]
3505 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3506 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3507 * math/fegetenv.c (__fegetenv): Return 0.
3508 * math/fegetexcept.c (fegetexcept): Return 0.
3509 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3510 FE_TONEAREST.
3511 * math/feholdexcpt.c (feholdexcept): Return 0.
3512 * math/fesetenv.c (__fesetenv): Return 0.
3513 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3514 argument FE_TONEAREST.
3515 * math/feupdateenv.c (__feupdateenv): Return 0.
3516 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3517
bfcacbde
RM
35182013-06-18 Roland McGrath <roland@hack.frob.com>
3519
3520 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3521 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3522 ($(objpfx)rtld-%.os rules): Use them.
3523
e55a9b25
AZ
35242013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525
3526 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3527 fields.
3528
346d65b3
RM
35292013-06-17 Roland McGrath <roland@hack.frob.com>
3530
12086fb4
RM
3531 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3532 length of target pattern, then descending length of dependency pattern.
3533 * configure.in (AWK): Require gawk 3.1.2 or newer.
3534 * manual/install.texi (Tools for Compilation): Say that we do.
3535 * configure: Regenerated.
3536
346d65b3
RM
3537 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3538 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3539 * scripts/sysd-rules.awk: ... this new script.
3540 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3541 than a glob-style pattern.
3542
1a846317
JM
35432013-06-17 Joseph Myers <joseph@codesourcery.com>
3544
3545 * math/test-misc.c (main): Do not treat incorrectly rounded
3546 conversions as failure unless ROUNDING_TESTS passes.
3547
8fc75e6f
JM
35482013-06-15 Joseph Myers <joseph@codesourcery.com>
3549
3711a167
JM
3550 [BZ #15631]
3551 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3552 restore exception state around main square root computation, then
3553 check for inexactness explicitly.
3554
8fc75e6f
JM
3555 * math/libm-test.inc (fma_test_data): Add another test.
3556
61dd6208
SP
35572013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3558
adf23d2c
SP
3559 * manual/threads.texi (Non-POSIX Extensions): New document
3560 node. Document pthread_getattr_default_np and
3561 pthread_setattr_default_np.
3562
61dd6208
SP
3563 * Versions.def (libpthread): Add GLIBC_2.18.
3564 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3566 Likewise.
3567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3568 Likewise.
3569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3570 Likewise.
3571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3572 Likewise.
3573 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3574 Likewise.
3575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3576 Likewise.
3577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3578 Likewise.
3579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3580 Likewise.
3581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3582 Likewise.
3583
d086fc7b
LD
35842013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3585
3586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3587 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3588
747ef469
SP
35892013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3590 H.J. Lu <hjl.tools@gmail.com>
3591
3592 [BZ #15627]
3593 * sysdeps/x86_64/rtld-memset.c: Remove file.
3594 * sysdeps/x86_64/rtld-memset.S: New file.
3595
1b2feed2
JM
35962013-06-14 Joseph Myers <joseph@codesourcery.com>
3597
3598 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3599 (test_in_one_mode): Take arguments for whether the rounding mode
3600 is supported for each floating-point type.
3601 (do_test): Pass new arguments to test_in_one_mode using
3602 ROUNDING_TESTS.
3603
a58ad3f8
RM
36042013-06-13 Roland McGrath <roland@hack.frob.com>
3605
3606 * posix/tst-waitid.c (do_test): Distinguish different instances of
3607 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3608 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3609 before entering the kernel for waitpid.
3610
c204ab28
SP
36112013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3612
3613 * NEWS: Fix note on clock function precision. Text by Roland
3614 McGrath.
3615
f4a29fba
RM
36162013-06-13 Roland McGrath <roland@hack.frob.com>
3617
3618 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3619 it into place only when and if the sanity check passes.
3620
1f24b9ad
JM
36212013-06-13 Joseph Myers <joseph@codesourcery.com>
3622
3623 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3624 output for whether conversion result is exact. Take argument
3625 indicating whether type is IBM long double.
3626 (round_for_all): Change need_exact field to ibm_ld.
3627 * stdlib/tst-strtod-round.c (struct exactness): New type.
3628 (struct test): Change bool ld_ok field to struct exactness exact.
3629 (TEST): Update all definitions for change to field.
3630 (tests): Regenerate array contents.
3631 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3632 field value. Check for IBM long double here.
3633 (do_test): Update calls to test_in_one_mode.
3634
58206c68
SP
36352013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3636
3637 [BZ #12515]
3638 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3639 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3640
2d6f4c5b 36412013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3642
3643 [BZ #15605]
3644 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3645 generated by the compiler on loop optimizations.
3646 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3647 general definitions.
3648
94f2c076
JM
36492013-06-12 Joseph Myers <joseph@codesourcery.com>
3650
3651 * math/bug-nextafter.c: Include <math-tests.h>.
3652 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3653 the relevant type.
3654 * math/bug-nexttoward.c: Include <math-tests.h>.
3655 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3656 the relevant type.
3657 * math/test-misc.c: Include <math-tests.h>.
3658 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3659 the relevant type.
3660
e0e50a0a
AJ
36612013-06-12 Andreas Jaeger <aj@suse.de>
3662
3663 * po/ia.po: Update Interlingua translation from translation
3664 project.
3665
25061094
SP
36662013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3667
3668 * include/fenv.h: Include stdbool.h.
3669 (struct rm_ctx): New structure.
3670 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3671 Define macro.
3672 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3673 (SET_RESTORE_ROUNDF): Likewise.
3674 (SET_RESTORE_ROUNDL): Likewise.
3675 (SET_RESTORE_ROUND_NOEX): Likewise.
3676 (SET_RESTORE_ROUND_NOEXF): Likewise.
3677 (SET_RESTORE_ROUND_NOEXL): Likewise.
3678 (SET_RESTORE_ROUND_53BIT): Likewise.
3679 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3680 (libc_feresetround_noexf_ctx): Likewise.
3681 (libc_feresetround_noexl_ctx): Likewise.
3682 (libc_feholdsetround_53bit_ctx): Likewise.
3683 (libc_feresetround_53bit_ctx): Likewise.
3684 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3685 (libc_feholdexcept_setround_sse_ctx): New function.
3686 (libc_fesetenv_sse_ctx): Likewise.
3687 (libc_feupdateenv_sse_ctx): Likewise.
3688 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3689 (libc_feholdexcept_setround_387_ctx): Likewise.
3690 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3691 (libc_feholdsetround_387_prec_ctx): Likewise.
3692 (libc_feholdsetround_387_ctx): Likewise.
3693 (libc_feholdsetround_387_53bit_ctx): Likewise.
3694 (libc_feholdsetround_sse_ctx): Likewise.
3695 (libc_feresetround_sse_ctx): Likewise.
3696 (libc_feresetround_387_ctx): Likewise.
3697 (libc_feupdateenv_387_ctx): Likewise.
3698 (libc_feholdexcept_setroundf_ctx): Define macro.
3699 (libc_fesetenvf_ctx): Likewise.
3700 (libc_feupdateenvf_ctx): Likewise.
3701 (libc_feholdsetroundf_ctx): Likewise.
3702 (libc_feresetroundf_ctx): Likewise.
3703 (libc_feholdexcept_setround_ctx): Likewise.
3704 (libc_fesetenv_ctx): Likewise.
3705 (libc_feupdateenv_ctx): Likewise.
3706 (libc_feholdsetround_ctx): Likewise.
3707 (libc_feresetround_ctx): Likewise.
3708 (libc_feholdexcept_setroundl_ctx): Likewise.
3709 (libc_feupdateenvl_ctx): Likewise.
3710 (libc_feholdsetroundl_ctx): Likewise.
3711 (libc_feresetroundl_ctx): Likewise.
3712 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3713 (libc_feresetround_53bit_ctx): Likewise.
3714
59b30555
SP
37152013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3716
3717 * locale/iso-639.def: Convert to UTF-8.
3718
f1d73d30
JM
37192013-06-11 Joseph Myers <joseph@codesourcery.com>
3720
3721 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3722 (EXCEPTION_TESTS_double): Likewise.
3723 (EXCEPTION_TESTS_long_double): Likewise.
3724 (EXCEPTION_TESTS): Likewise.
3725 * math/libm-test.inc (test_exceptions): Only test exceptions if
3726 EXCEPTION_TESTS (FLOAT).
3727
94aca5e7
SP
37282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3729
3730 * benchtests/Makefile (string-bench): Add strcpy_chk and
3731 stpcpy_chk.
3732 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3733 * benchtests/bench-stpcpy_chk.c: New file.
3734 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3735 * benchtests/bench-strcpy_chk.c: New file.
3736 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3737 code.
3738 (do_test): Likewise.
3739
fac0c5f2
RA
37402013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3741
3742 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3743 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3744 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3745 with tabs where appropriate.
3746 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3747 dl-procinfo.h.
3748 [PPC_PLATFORM_PPC440]: Likewise.
3749 [PPC_PLATFORM_PPC464]: Likewise.
3750 [PPC_PLATFORM_PPC476]: Likewise.
3751 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3752 ppc464, and ppc476 platform strings merging from ports/
3753 dl-procinfo.h.
3754
f22bc486
AS
37552013-06-11 Andreas Schwab <schwab@suse.de>
3756
3757 [BZ #14991]
3758 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3759 (from_ucs4_idx): Regenerate.
3760 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3761 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3762 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3763 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3764 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3765 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3766 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3767 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3768 from FROM_LOOP and TO_LOOP specific macros.
3769 (BODY): Handle combining characters.
3770 * iconvdata/BIG5HKSCS.irreversible: Update.
3771 * iconvdata/BIG5HKSCS.precomposed: New file.
3772 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3773 characters.
3774 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3775
c1f75dc3
SP
37762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3777
4eacded2
SP
3778 * include/sys/time.h: Fix indentation and add copyright header.
3779
fec799f8
SP
3780 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3781 (do_test): Likewise.
3782 * string/test-memchr.c (do_one_test): Likewise.
3783 (do_test): Likewise.
3784 * string/test-memcmp.c (do_one_test): Likewise.
3785 (do_test): Likewise.
3786 * string/test-memcpy.c (do_one_test): Likewise.
3787 (do_test): Likewise.
3788 * string/test-memmem.c (do_one_test): Likewise.
3789 (do_test): Likewise.
3790 (do_random_tests): Likewise.
3791 * string/test-memmove.c (do_one_test): Likewise.
3792 (do_test): Likewise.
3793 * string/test-memset.c (do_one_test): Likewise.
3794 (do_test): Likewise.
3795 * string/test-rawmemchr.c (do_one_test): Likewise.
3796 (do_test): Likewise.
3797 * string/test-strcasecmp.c (do_one_test): Likewise.
3798 (do_test): Likewise.
3799 * string/test-strcasestr.c (do_one_test): Likewise.
3800 (do_test): Likewise.
3801 * string/test-strcat.c (do_one_test): Likewise.
3802 (do_test): Likewise.
3803 * string/test-strchr.c (do_one_test): Likewise.
3804 (do_test): Likewise.
3805 * string/test-strcmp.c (do_one_test): Likewise.
3806 (do_test): Likewise.
3807 * string/test-strcpy.c (do_one_test): Likewise.
3808 (do_test): Likewise.
3809 * string/test-string.h: Likewise.
3810 (test_init): Likewise.
3811 * string/test-strlen.c (do_one_test): Likewise.
3812 (do_test): Likewise.
3813 * string/test-strncasecmp.c (do_one_test): Likewise.
3814 (do_test): Likewise.
3815 * string/test-strncat.c (do_one_test): Likewise.
3816 (do_test): Likewise.
3817 * string/test-strncmp.c (do_one_test): Likewise.
3818 (do_test_limit): Likewise.
3819 (do_test): Likewise.
3820 * string/test-strncpy.c (do_one_test): Likewise.
3821 (do_test): Likewise.
3822 * string/test-strnlen.c (do_one_test): Likewise.
3823 (do_test): Likewise.
3824 * string/test-strpbrk.c (do_one_test): Likewise.
3825 (do_test): Likewise.
3826 * string/test-strrchr.c (do_one_test): Likewise.
3827 (do_test): Likewise.
3828 * string/test-strspn.c (do_one_test): Likewise.
3829 (do_test): Likewise.
3830 * string/test-strstr.c (do_one_test): Likewise.
3831 (do_test): Likewise.
3832
97020474
SP
3833 * benchtests/Makefile (string-bench): Add string benchmarks.
3834 * benchtests/bench-bcopy-ifunc.c: New file.
3835 * benchtests/bench-bcopy.c: New file.
3836 * benchtests/bench-bzero-ifunc.c: New file.
3837 * benchtests/bench-bzero.c: New file.
3838 * benchtests/bench-memccpy-ifunc.c: New file.
3839 * benchtests/bench-memccpy.c: New file.
3840 * benchtests/bench-memchr-ifunc.c: New file.
3841 * benchtests/bench-memchr.c: New file.
3842 * benchtests/bench-memcmp-ifunc.c: New file.
3843 * benchtests/bench-memcmp.c: New file.
3844 * benchtests/bench-memmem-ifunc.c: New file.
3845 * benchtests/bench-memmem.c: New file.
3846 * benchtests/bench-memmove-ifunc.c: New file.
3847 * benchtests/bench-memmove.c: New file.
3848 * benchtests/bench-mempcpy-ifunc.c: New file.
3849 * benchtests/bench-mempcpy.c: New file.
3850 * benchtests/bench-memset-ifunc.c: New file.
3851 * benchtests/bench-memset.c: New file.
3852 * benchtests/bench-rawmemchr-ifunc.c: New file.
3853 * benchtests/bench-rawmemchr.c: New file.
3854 * benchtests/bench-stpcpy-ifunc.c: New file.
3855 * benchtests/bench-stpcpy.c: New file.
3856 * benchtests/bench-stpncpy-ifunc.c: New file.
3857 * benchtests/bench-stpncpy.c: New file.
3858 * benchtests/bench-strcasecmp-ifunc.c: New file.
3859 * benchtests/bench-strcasecmp.c: New file.
3860 * benchtests/bench-strcasestr-ifunc.c: New file.
3861 * benchtests/bench-strcasestr.c: New file.
3862 * benchtests/bench-strcat-ifunc.c: New file.
3863 * benchtests/bench-strcat.c: New file.
3864 * benchtests/bench-strchr-ifunc.c: New file.
3865 * benchtests/bench-strchr.c: New file.
3866 * benchtests/bench-strchrnul-ifunc.c: New file.
3867 * benchtests/bench-strchrnul.c: New file.
3868 * benchtests/bench-strcmp-ifunc.c: New file.
3869 * benchtests/bench-strcmp.c: New file.
3870 * benchtests/bench-strcpy-ifunc.c: New file.
3871 * benchtests/bench-strcpy.c: New file.
3872 * benchtests/bench-strcspn-ifunc.c: New file.
3873 * benchtests/bench-strcspn.c: New file.
3874 * benchtests/bench-strlen-ifunc.c: New file.
3875 * benchtests/bench-strlen.c: New file.
3876 * benchtests/bench-strncasecmp-ifunc.c: New file.
3877 * benchtests/bench-strncasecmp.c: New file.
3878 * benchtests/bench-strncat-ifunc.c: New file.
3879 * benchtests/bench-strncat.c: New file.
3880 * benchtests/bench-strncmp-ifunc.c: New file.
3881 * benchtests/bench-strncmp.c: New file.
3882 * benchtests/bench-strncpy-ifunc.c: New file.
3883 * benchtests/bench-strncpy.c: New file.
3884 * benchtests/bench-strnlen-ifunc.c: New file.
3885 * benchtests/bench-strnlen.c: New file.
3886 * benchtests/bench-strpbrk-ifunc.c: New file.
3887 * benchtests/bench-strpbrk.c: New file.
3888 * benchtests/bench-strrchr-ifunc.c: New file.
3889 * benchtests/bench-strrchr.c: New file.
3890 * benchtests/bench-strspn-ifunc.c: New file.
3891 * benchtests/bench-strspn.c: New file.
3892 * benchtests/bench-strstr-ifunc.c: New file.
3893 * benchtests/bench-strstr.c: New file.
3894
c1f75dc3
SP
3895 * benchtests/Makefile: Disable parallel execution of targets.
3896 (string-bench): Add memcpy.
3897 (benchset): New variable to store a list of benchmark sets.
3898 (bench-func): Renamed from bench.
3899 (bench-set): New target.
3900 (bench): Depend on bench-func and bench-set.
3901 * benchtests/README: Add section on benchmark sets.
3902 * benchtests/bench-memcpy-ifunc.c: New file.
3903 * benchtests/bench-memcpy.c: New file.
3904 * benchtests/bench-string.h: New file.
3905
50fd745b
AS
39062013-06-11 Andreas Schwab <schwab@suse.de>
3907
3908 [BZ #15577]
3909 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3910 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3911 values in the triple.
3912 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3913 terminator in the group key.
3914
3ee7e9fe
AJ
39152013-06-11 Andreas Jaeger <aj@suse.de>
3916
3917 * po/zh_TW.po: Update Chinese (traditional) translation from
3918 translation project.
3919
89fb6835
SP
39202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3921
3922 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3923 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3924 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3925 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3926 (clock_getcpuclockid): Likewise.
3927 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3928 Add weak_alias and libc_hidden_def.
3929 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3930 * rt/clock_gettime.c (clock_gettime): Rename to
3931 __clock_gettime. Add weak_alias and libc_hidden_def.
3932 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3933 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3934 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3935 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3936 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3937 Likewise.
3938 * rt/clock_settime.c (clock_settime): Rename to
3939 __clock_settime. Add weak_alias and libc_hidden_def.
3940 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3941
0efa6f8b
JM
39422013-06-10 Joseph Myers <joseph@codesourcery.com>
3943
b8c61b4b
JM
3944 * mach/err_boot.sub: Remove trailing whitespace.
3945 * mach/err_ipc.sub: Likewise.
3946 * mach/err_mach.sub: Likewise.
3947
0efa6f8b
JM
3948 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3949 (ROUNDING_TESTS_double): Likewise.
3950 (ROUNDING_TESTS_long_double): Likewise.
3951 (ROUNDING_TESTS): Likewise.
3952 * math/libm-test.inc: Include <math-tests.h>.
3953 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3954 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3955 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3956 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3957
50b818bf
SP
39582013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3959
3960 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3961 of assigning.
3962
60d2f8f3
JM
39632013-06-08 Joseph Myers <joseph@codesourcery.com>
3964
4902d2c3
JM
3965 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3966 otherwise empty TRANS lines.
3967 * sysdeps/gnu/errlist.c: Regenerated.
3968
60d2f8f3
JM
3969 * catgets/gencat.c (error_print): Use (void) in function
3970 definition.
3971 * crypt/crypt_util.c (__init_des): Likewise.
3972 * crypt/speeds.c (Stop): Likewise.
3973 (main): Likewise.
3974 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3975 * inet/ruserpass.c (token): Likewise.
3976 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3977 * intl/localealias.c (extend_alias_table): Likewise.
3978 * intl/plural-exp.c (init_germanic_plural): Likewise.
3979 * libio/fcloseall.c (__fcloseall): Likewise.
3980 * libio/genops.c (_IO_flush_all): Likewise.
3981 (_IO_flush_all_linebuffered): Likewise.
3982 (_IO_cleanup): Likewise.
3983 (_IO_iter_begin): Likewise.
3984 (_IO_iter_end): Likewise.
3985 (_IO_list_lock): Likewise.
3986 (_IO_list_unlock): Likewise.
3987 (_IO_list_resetlock): Likewise.
3988 * libio/getchar.c (getchar): Likewise.
3989 * libio/getchar_u.c (getchar_unlocked): Likewise.
3990 * libio/getwchar.c (getwchar): Likewise.
3991 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3992 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3993 * login/getpt.c (__getpt): Likewise.
3994 * login/tst-utmp.c (main): Likewise.
3995 * malloc/hooks.c (__malloc_check_init): Likewise.
3996 * malloc/malloc.c (__malloc_stats): Likewise.
3997 * malloc/mtrace.c (tr_break): Likewise.
3998 (mtrace): Likewise.
3999 (muntrace): Likewise.
4000 * misc/fstab.c (endfsent): Likewise.
4001 * misc/getclktck.c (__getclktck): Likewise.
4002 * misc/getdtsz.c (__getdtablesize): Likewise.
4003 * misc/gethostid.c (gethostid): Likewise.
4004 * misc/getpagesize.c (__getpagesize): Likewise.
4005 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4006 (__get_nprocs): Likewise.
4007 (__get_phys_pages): Likewise.
4008 (__get_avphys_pages): Likewise.
4009 * misc/getttyent.c (getttyent): Likewise.
4010 (setttyent): Likewise.
4011 (endttyent): Likewise.
4012 * misc/getusershell.c (getusershell): Likewise.
4013 (endusershell): Likewise.
4014 (setusershell): Likewise.
4015 (initshells): Likewise.
4016 * misc/hsearch.c (__hdestroy): Likewise.
4017 * misc/sync.c (sync): Likewise.
4018 * misc/syslog.c (closelog_internal): Likewise.
4019 (closelog): Likewise.
4020 * misc/ttyslot.c (ttyslot): Likewise.
4021 * misc/vhangup.c (vhangup): Likewise.
4022 * posix/fork.c (__fork): Likewise.
4023 * posix/getegid.c (__getegid): Likewise.
4024 * posix/geteuid.c (__geteuid): Likewise.
4025 * posix/getgid.c (__getgid): Likewise.
4026 * posix/getpid.c (__getpid): Likewise.
4027 * posix/getppid.c (__getppid): Likewise.
4028 * posix/getuid.c (__getuid): Likewise.
4029 * posix/pause.c (pause): Likewise.
4030 * posix/setpgrp.c (setpgrp): Likewise.
4031 * posix/setsid.c (__setsid): Likewise.
4032 * posix/test-vfork.c (noop): Likewise.
4033 * resolv/gethnamaddr.c (_endhtent): Likewise.
4034 (_gethtent): Likewise.
4035 (ht_endhostent): Likewise.
4036 (gethostent): Likewise.
4037 (dns_service): Likewise.
4038 * stdlib/drand48.c (drand48): Likewise.
4039 * stdlib/lrand48.c (lrand48): Likewise.
4040 * stdlib/mrand48.c (mrand48): Likewise.
4041 * stdlib/rand.c (rand): Likewise.
4042 * stdlib/random.c (__random): Likewise.
4043 * stdlib/setenv.c (clearenv): Likewise.
4044 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4045 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4046 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4047 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4048 (__get_nprocs): Likewise.
4049 (__get_phys_pages): Likewise.
4050 (__get_avphys_pages): Likewise.
4051 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4052 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4053 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4054 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4055 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4056 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4057 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4058 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4059 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4060 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4061 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4062 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4063 * sysdeps/posix/clock.c (clock): Likewise.
4064 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4065 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4066 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4067 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4068 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4069 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4070 (__get_nprocs_conf): Likewise.
4071 (__get_phys_pages): Likewise.
4072 (__get_avphys_pages): Likewise.
4073 * time/clock.c (clock): Likewise.
4074 * time/tzset.c (__tzname_max): Likewise.
4075
2e09a79a
JM
40762013-06-07 Joseph Myers <joseph@codesourcery.com>
4077
4078 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4079 (__bswap_32): Do not use "register".
4080 * crypt/crypt.c (_ufc_doit_r): Likewise.
4081 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4082 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4083 * gmon/gmon.c (__monstartup): Likewise.
4084 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4085 * hurd/hurdmalloc.c (more_memory): Likewise.
4086 (malloc): Likewise.
4087 (free): Likewise.
4088 (realloc): Likewise.
4089 (malloc_fork_prepare): Likewise.
4090 (malloc_fork_parent): Likewise.
4091 (malloc_fork_child): Likewise.
4092 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4093 (_svcauth_des): Likewise.
4094 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4095 * inet/inet_net.c (inet_network): Likewise.
4096 * inet/inet_netof.c (inet_netof): Likewise.
4097 * inet/rcmd.c (__validuser2_sa): Likewise.
4098 * io/fts.c (fts_open): Likewise.
4099 (fts_load): Likewise.
4100 (fts_close): Likewise.
4101 (fts_read): Likewise.
4102 (fts_children): Likewise.
4103 (fts_build): Likewise.
4104 (fts_stat): Likewise.
4105 (fts_sort): Likewise.
4106 (fts_alloc): Likewise.
4107 (fts_lfree): Likewise.
4108 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4109 (_IO_file_xsgetn): Likewise.
4110 (_IO_file_xsgetn_mmap): Likewise.
4111 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4112 (_IO_cookie_write): Likewise.
4113 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4114 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4115 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4116 * malloc/obstack.c (_obstack_begin): Likewise.
4117 (_obstack_begin_1): Likewise.
4118 (_obstack_newchunk): Likewise.
4119 (_obstack_allocated_p): Likewise.
4120 (obstack_free): Likewise.
4121 (_obstack_memory_used): Likewise.
4122 * misc/getttyent.c (getttynam): Likewise.
4123 (getttyent): Likewise.
4124 (skip): Likewise.
4125 (value): Likewise.
4126 * misc/getusershell.c (initshells): Likewise.
4127 * misc/syslog.c (__vsyslog_chk): Likewise.
4128 * misc/ttyslot.c (ttyslot): Likewise.
4129 * nis/nis_hash.c (__nis_hash): Likewise.
4130 * posix/fnmatch_loop.c (FCT): Likewise.
4131 * posix/getconf.c (print_all): Likewise.
4132 (main): Likewise.
4133 * posix/getopt.c (exchange): Likewise.
4134 * posix/glob.c (globfree): Likewise.
4135 (prefix_array): Likewise.
4136 (__glob_pattern_type): Likewise.
4137 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4138 (NS_GET32): Likewise.
4139 (NS_PUT16): Likewise.
4140 (NS_PUT32): Likewise.
4141 * resolv/gethnamaddr.c (getanswer): Likewise.
4142 (gethostbyname2): Likewise.
4143 (gethostbyaddr): Likewise.
4144 (_gethtent): Likewise.
4145 (_gethtbyname2): Likewise.
4146 (_gethtbyaddr): Likewise.
4147 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4148 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4149 * resolv/res_init.c (__res_vinit): Likewise.
4150 (net_mask): Likewise.
4151 * resolv/res_mkquery.c (outchar): Likewise.
4152 (PRINT): Likewise.
4153 * stdio-common/printf_fp.c (outchar): Likewise.
4154 (PRINT): Likewise.
4155 * stdio-common/printf_fphex.c (outchar): Likewise.
4156 (PRINT): Likewise.
4157 * stdio-common/printf_size.c (outchar): Likewise.
4158 (PRINT): Likewise.
4159 * stdio-common/test_rdwr.c (main): Likewise.
4160 * stdio-common/tfformat.c (matches): Likewise.
4161 * stdio-common/vfprintf.c (outchar): Likewise.
4162 (printf_unknown): Likewise.
4163 (buffered_vfprintf): Likewise.
4164 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4165 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4166 (ReadFile): Likewise.
4167 * stdlib/qsort.c (SWAP): Likewise.
4168 (_quicksort): Likewise.
4169 * stdlib/setenv.c (__add_to_environ): Likewise.
4170 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4171 * stdlib/strtol_l.c (__strtol_l): Likewise.
4172 * stdlib/tst-strtod.c (main): Likewise.
4173 * stdlib/tst-strtol.c (main): Likewise.
4174 * stdlib/tst-strtoll.c (main): Likewise.
4175 * string/bits/string2.h (__strcmp_cc): Likewise.
4176 (__strcmp_cg): Likewise.
4177 (__strcspn_c1): Likewise.
4178 (__strcspn_c2): Likewise.
4179 (__strcspn_c3): Likewise.
4180 (__strspn_c1): Likewise.
4181 (__strspn_c2): Likewise.
4182 (__strspn_c3): Likewise.
4183 (__strsep_1c): Likewise.
4184 (__strsep_2c): Likewise.
4185 (__strsep_3c): Likewise.
4186 * string/memccpy.c (__memccpy): Likewise.
4187 * string/stpcpy.c (__stpcpy): Likewise.
4188 * string/strcmp.c (strcmp): Likewise.
4189 * string/strrchr.c (strrchr): Likewise.
4190 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4191 Likewise.
4192 * sysdeps/mach/hurd/getcwd.c
4193 (_hurd_canonicalize_directory_name_internal): Likewise.
4194 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4195 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4196 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4197 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4198 Likewise, in both definitions.
4199 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4200 definitions.
4201 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4202 64] (__bswap_64): Likewise.
4203 * time/test_time.c (main): Likewise.
4204 * time/tzfile.c (__tzfile_read): Likewise.
4205 (__tzfile_compute): Likewise.
4206 * time/tzset.c (__tzset_parse_tz): Likewise.
4207 (tzset_internal): Likewise.
4208 (compute_change): Likewise.
4209 * wcsmbs/wcscat.c (__wcscat): Likewise.
4210 * wcsmbs/wcschr.c (wcschr): Likewise.
4211 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4212 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4213 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4214 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4215 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4216 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4217 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4218 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4219 * wcsmbs/wmemset.c (wmemset): Likewise.
4220
9e54314b
JM
42212013-06-06 Joseph Myers <joseph@codesourcery.com>
4222
4223 * scripts/config.guess: Update to version 2013-05-16.
4224 * scripts/config.sub: Update to version 2013-04-24.
4225 * scripts/install-sh: Update to version 2011-11-20.07.
4226 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4227 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4228
350635a5
OB
42292013-06-06 Ondřej Bílka <neleai@seznam.cz>
4230
4231 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4232 * elf/sln.c: Likewise.
4233 * hurd/hurd/ioctl.h: Likewise.
4234 * hurd/hurdmalloc.c: Likewise.
4235 * hurd/xattr.c: Likewise.
4236 * include/shlib-compat.h: Likewise.
4237 * inet/ruserpass.c: Likewise.
4238 * libio/iofgets_u.c: Likewise.
4239 * libio/iofgetws_u.c: Likewise.
4240 * locale/programs/ld-identification.c: Likewise.
4241 * locale/programs/ld-time.c: Likewise.
4242 * mach/msg-destroy.c: Likewise.
4243 * nss/nss_files/files-netgrp.c: Likewise.
4244 * resolv/res_data.c: Likewise.
4245 * soft-fp/op-1.h: Likewise.
4246 * soft-fp/op-2.h: Likewise.
4247 * soft-fp/op-4.h: Likewise.
4248 * soft-fp/op-common.h: Likewise.
4249 * stdio-common/printf_fphex.c: Likewise.
4250 * stdlib/strtod_l.c: Likewise.
4251 * sunrpc/rpc/clnt.h: Likewise.
4252 * sysdeps/generic/framestate.c: Likewise.
4253 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4254 * sysdeps/i386/bsd-setjmp.S: Likewise.
4255 * sysdeps/i386/__longjmp.S: Likewise.
4256 * sysdeps/i386/setjmp.S: Likewise.
4257 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4258 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4259 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4275 * sysdeps/ieee754/support.c: Likewise.
4276 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4277 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4278 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4279 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4280 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4281 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4282 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4283 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4284 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4285 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4286 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4287 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4288 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4289 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4290 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4291 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4292 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4294
44a988af
OB
42952013-06-05 Ondřej Bílka <neleai@seznam.cz>
4296
25506f09 4297 * posix/transbug.c: Remove executable mode.
44a988af 4298
9c84384c
JM
42992013-06-05 Joseph Myers <joseph@codesourcery.com>
4300
4301 * crypt/speeds.c: Remove trailing whitespace.
4302 * dlfcn/default.c: Likewise.
4303 * elf/ifuncdep2.c: Likewise.
4304 * elf/ifuncmain1.c: Likewise.
4305 * elf/ifuncmain1vis.c: Likewise.
4306 * elf/testobj.h: Likewise.
4307 * elf/tst-stackguard1.c: Likewise.
4308 * gmon/sys/gmon.h: Likewise.
4309 * hurd/hurdmsg.c: Likewise.
4310 * hurd/new-fd.c: Likewise.
4311 * hurd/ports-get.c: Likewise.
4312 * iconvdata/ibm1008_420.c: Likewise.
4313 * inet/tst-getni1.c: Likewise.
4314 * inet/tst-getni2.c: Likewise.
4315 * libio/ioungetc.c: Likewise.
4316 * libio/wfiledoalloc.c: Likewise.
4317 * manual/libm-err-tab.pl: Likewise.
4318 * math/w_dremf.c: Likewise.
4319 * misc/ftruncate.c: Likewise.
4320 * posix/bug-glob2.c: Likewise.
4321 * posix/tst-pcre.c: Likewise.
4322 * posix/wait4.c: Likewise.
4323 * resolv/README: Likewise.
4324 * resolv/res_debug.h: Likewise.
4325 * resolv/tst-inet_ntop.c: Likewise.
4326 * setjmp/bug269-setjmp.c: Likewise.
4327 * soft-fp/extended.h: Likewise.
4328 * soft-fp/op-1.h: Likewise.
4329 * soft-fp/op-2.h: Likewise.
4330 * soft-fp/op-4.h: Likewise.
4331 * soft-fp/op-8.h: Likewise.
4332 * soft-fp/testit.c: Likewise.
4333 * stdio-common/bug16.c: Likewise.
4334 * stdlib/random.c: Likewise.
4335 * sunrpc/rpcsvc/rquota.x: Likewise.
4336 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4337 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4338 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4339 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4340 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4341 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4342 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4343 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4344 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4345 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4346 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4347 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4348 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4350 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4351 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4352 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4354 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4355 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4356 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4357 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4358 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4359 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4363 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4365 * sysdeps/ieee754/s_lib_version.c: Likewise.
4366 * sysdeps/mach/hurd/check_fds.c: Likewise.
4367 * sysdeps/mach/hurd/getsockname.c: Likewise.
4368 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4369 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4370 * sysdeps/powerpc/bits/link.h: Likewise.
4371 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4372 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4373 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4374 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4375 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4376 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4377 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4378 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4379 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4380 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4381 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4382 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4383 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4384 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4385 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4386 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4387 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4388 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4389 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4390 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4391 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4392 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4393 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4394 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4395 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4396 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4397 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4398 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4399 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4400 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4401 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4402 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4403 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4404 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4405 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4406 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4407 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4408 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4409 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4410 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4411 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4412 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4413 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4414 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4415 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4416 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4417 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4418 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4419 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4420 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4422 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4423 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4424 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4425 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4426 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4427 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4428 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4429 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4430 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4431 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4432 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4433 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4434 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4435 * sysdeps/powerpc/sysdep.h: Likewise.
4436 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4437 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4438 * sysdeps/sh/dl-trampoline.S: Likewise.
4439 * sysdeps/sh/memset.S: Likewise.
4440 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4441 * sysdeps/sh/strlen.S: Likewise.
4442 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4443 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4444 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4445 * sysdeps/sparc/sparc32/rem.S: Likewise.
4446 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4447 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4448 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4449 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4450 * sysdeps/sparc/sparc32/urem.S: Likewise.
4451 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4452 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4453 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4454 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4455 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4456 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4457 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4458 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4459 * sysdeps/unix/bsd/times.c: Likewise.
4460 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4461 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4465 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4466 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4467 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4468 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4469 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4470 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4471 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4472 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4473 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4474 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4475 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4476 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4477 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4478 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4479 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4480 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4481 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4482 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4483 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4484 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4485 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4486 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4487 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4488 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4489 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4490 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4491 * sysdeps/x86_64/strcspn.S: Likewise.
4492
869378a5
RA
44932013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4494
4495 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4496 generated file. Regenerate properly from gen-translit.pl.
4497 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4498 locale/C-translit.h.
4499
840e2943
AS
45002013-06-05 Andreas Schwab <schwab@suse.de>
4501
4502 [BZ #15100]
4503 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4504 week as 6 instead of -1.
4505 * time/tst-strptime.c (day_tests): Add test case.
4506
4c60cb0c
SP
45072013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4508
4509 * sysdeps/generic/math_private.h
4510 (libc_feholdexcept_setround_53bit): Replace with
4511 libc_feholdsetround_53bit.
4512 (libc_feupdateenv_53bit): Replace with
4513 libc_feresetround_53bit.
4514 (SET_RESTORE_ROUND_53BIT): Adjust.
4515
d180203e
SP
45162013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4517
96df079a
SP
4518 * string/test-strchrnul.c: Add copyright header.
4519
d180203e
SP
4520 * posix/tst-getaddrinfo4.c: Increase test timeout.
4521
8b0ccb2d
CD
45222013-06-03 Carlos O'Donell <carlos@redhat.com>
4523
4524 [BZ #15536]
4525 * math/libm-test.inc (MAX_EXP): Remove
4526 (MIN_EXP): Define.
4527 (ulp): Use MIN_EXP - MANT_DIG.
4528 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4529
3b3c4d40
CD
45302013-05-31 Carlos O'Donell <carlos@redhat.com>
4531
4532 * po/be.po: Revert last change.
4533 * po/zh_CN.po: Likewise.
4534 * po/header.pot: Likewise.
4535
fab7ce3f
JM
45362013-05-31 Joseph Myers <joseph@codesourcery.com>
4537
4538 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4539 link-libc-deps to empty as target-specific variable.
4540 * Makerules (link-libc-args): New variable.
4541 (libc-for-link): Likewise.
4542 (link-libc-deps): Likewise.
4543 (lib%.so): Depend on $(link-libc-deps). Link with
4544 $(link-libc-args).
4545 (build-module): Link with $(link-libc-args).
4546 (build-module-asneeded): Likewise.
4547 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4548 list of objects.
4549 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4550 target-specific variable.
4551 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4552 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4553 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4554 libc.
4555 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4556 libc and ld.so.
4557 ($(objpfx)libpcprofile.so): Likewise.
4558 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4559 libc_nonshared.a.
4560 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4561 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4562 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4563 $(link-libc-deps).
4564 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4565 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4566 * login/Makefile ($(objpfx)libutil.so): Likewise.
4567 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4568 * math/Makefile ($(objpfx)libm.so): Likewise.
4569 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4570 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4571 variable instead of depending directly on libc.
4572 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4573 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4574 $(link-libc-deps).
4575 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4576 libc.
4577 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4578 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4579 ($(objpfx)libanl.so): Likewise.
4580 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4581 ld.so.
4582 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4583 $(link-libc-deps).
4584 * sysdeps/i386/fpu/Makefile: Remove file.
4585 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4586 ($(objpfx)libm.so): Remove dependency on ld.so.
4587
eca5920c
PF
45882013-05-30 Patsy Franklin <pfrankli@redhat.com>
4589
4590 [BZ # 15553]
4591 * nis/yp_xdr.c (XDRMAXNAME): Define.
4592 (XDRMAXRECORD): Define.
4593 (xdr_domainname): Use XDRMAXNAME.
4594 (xdr_mapname): Likewise.
4595 (xdr_peername): Likewise.
4596 (xdr_keydat): Use XDRMAXRECORD.
4597 (xdr_valdat): Likewise.
4598
45992013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4600
4601 [BZ #14256]
4602 * manual/errno.texi (ESTALE): Update to account for more than
4603 just NFS file systems.
4604 * sysdeps/gnu/errlist.c: Regenerated.
4605
b9375348
SP
46062013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4607
4608 [BZ #15465]
4609 * elf/Makefile (tests): Add tst-null-argv.
4610 (modules-names): Add tst-null-argv-lib.
4611 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4612 (tst-null-argv-ENV): Set environment for tst-null-argv.
4613 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4614 (RTLD_PROGNAME): New macro.
4615 * elf/tst-null-argv.c: New test case.
4616 * elf/tst-null-argv-lib.c: Library for test case.
4617 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4618 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4619 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4620 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4621 * elf/dl-init.c (call_init): Likewise.
4622 (_dl_init): Likewise.
4623 * elf/dl-load.c (print_search_path): Likewise.
4624 (_dl_map_object): Likewise.
4625 * elf/dl-lookup.c (do_lookup_x): Likewise.
4626 (add_dependency): Likewise.
4627 (_dl_lookup_symbol_x): Likewise.
4628 (_dl_debug_bindings): Likewise.
4629 * elf/dl-open.c (_dl_show_scope): Likewise.
4630 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4631 * elf/dl-version.c (match_symbol): Likewise.
4632 (_dl_check_map_versions): Likewise.
4633 * elf/rtld.c (dl_main): Likewise.
4634 (print_unresolved): Use RTLD_PROGNAME.
4635 (print_missing_version): Likewise.
4636 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4637 (elf_machine_rela): Likewise.
4638 * sysdeps/powerpc/powerpc32/dl-machine.c
4639 (__process_machine_rela): Likewise.
4640 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4641 Likewise.
4642 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4643 Likewise.
4644 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4645 Likewise.
4646 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4647 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4648 Likewise.
4649 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4650 Likewise.
4651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4652
8a9f20c8
CD
46532013-05-28 Carlos O'Donell <carlos@redhat.com>
4654
4655 * po/be.po: Add descriptive title.
4656 * po/zh_CN.po: Likewise.
4657 * po/header.pot: Likewise.
4658
0e60d68e
MF
46592013-05-28 Mike Frysinger <vapier@gentoo.org>
4660
4661 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4662 error message.
4663 (enlarge_archive): Likewise.
4664
56b672e9
BN
46652013-05-28 Ben North <ben@redfrontdoor.org>
4666
4667 * manual/arith.texi (frexp): It is the magnitude of the return
4668 value which lies in [0.5, 1), not the return value itself.
4669
5e056687
AZ
46702013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4671
4672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4673
2b66ef5d
TS
46742013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4675
528c2405
TS
4676 * stdio-common/bug26.c (main): Correct fscanf template.
4677
07b4c13d
TS
4678 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4679 declare _dl_skip_args.
4680
ec9dd97c
TS
4681 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4682 Don't declare.
4683
2b66ef5d
TS
4684 * manual/platform.texi: Add missing @end deftypefun.
4685
4f8dfe27
JM
46862013-05-24 Joseph Myers <joseph@codesourcery.com>
4687
0323d086
JM
4688 [BZ #15529]
4689 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4690 bit of mantissa of 2^16382.
4691 * math/libm-test.inc (hypot_test_data): Add more tests.
4692
dd4259b9
JM
4693 * math/libm-test.inc: Add drem and pow10 to list of tested
4694 functions.
4695 (pow10_test): New function.
4696 (drem_test): Likewise.
4697 (drem_test_tonearest): Likewise.
4698 (drem_test_towardzero): Likewise.
4699 (drem_test_downward): Likewise.
4700 (drem_test_upward): Likewise.
4701 (main): Call the new functions.
4702
4f8dfe27
JM
4703 * math/libm-test.inc (finite_test_data): Remove.
4704 (finite_test): Run tests from isfinite_test_data.
4705 (gamma_test_data): Remove.
4706 (gamma_test): Run tests from lgamma_test_data.
4707 * sysdeps/i386/fpu/libm-test-ulps: Update.
4708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4709
d116b7c4
AZ
47102013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4711
4712 * manual/platform.texi: Add PowerPC PPR function set documentation.
4713 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4714 implementation.
4715
e96e3767
CD
47162013-05-24 Carlos O'Donell <carlos@redhat.com>
4717
4718 * math/libm-test.inc (MAX_EXP): Define.
4719 (ULPDIFF): Define.
4720 (ulp): New function.
4721 (check_float_internal): Use ULPDIFF.
4722 (cpow_test): Disable failing test.
4723 (check_ulp): Test ulp() implemetnation.
4724 (main): Call check_ulp before starting tests.
4725
b679a606
JM
47262013-05-24 Joseph Myers <joseph@codesourcery.com>
4727
e8bdba36
JM
4728 * math/gen-libm-test.pl (generate_testfile): Do not handle
4729 START_DATA and END_DATA.
4730 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4731 END_DATA.
4732 (acos_tonearest_test_data): Likewise.
4733 (acos_towardzero_test_data): Likewise.
4734 (acos_downward_test_data): Likewise.
4735 (acos_upward_test_data): Likewise.
4736 (acosh_test_data): Likewise.
4737 (asin_test_data): Likewise.
4738 (asin_tonearest_test_data): Likewise.
4739 (asin_towardzero_test_data): Likewise.
4740 (asin_downward_test_data): Likewise.
4741 (asin_upward_test_data): Likewise.
4742 (asinh_test_data): Likewise.
4743 (atan_test_data): Likewise.
4744 (atanh_test_data): Likewise.
4745 (atan2_test_data): Likewise.
4746 (cabs_test_data): Likewise.
4747 (cacos_test_data): Likewise.
4748 (cacosh_test_data): Likewise.
4749 (carg_test_data): Likewise.
4750 (casin_test_data): Likewise.
4751 (casinh_test_data): Likewise.
4752 (catan_test_data): Likewise.
4753 (catanh_test_data): Likewise.
4754 (cbrt_test_data): Likewise.
4755 (ccos_test_data): Likewise.
4756 (ccosh_test_data): Likewise.
4757 (ceil_test_data): Likewise.
4758 (cexp_test_data): Likewise.
4759 (cimag_test_data): Likewise.
4760 (clog_test_data): Likewise.
4761 (clog10_test_data): Likewise.
4762 (conj_test_data): Likewise.
4763 (copysign_test_data): Likewise.
4764 (cos_test_data): Likewise.
4765 (cos_tonearest_test_data): Likewise.
4766 (cos_towardzero_test_data): Likewise.
4767 (cos_downward_test_data): Likewise.
4768 (cos_upward_test_data): Likewise.
4769 (cosh_test_data): Likewise.
4770 (cosh_tonearest_test_data): Likewise.
4771 (cosh_towardzero_test_data): Likewise.
4772 (cosh_downward_test_data): Likewise.
4773 (cosh_upward_test_data): Likewise.
4774 (cpow_test_data): Likewise.
4775 (cproj_test_data): Likewise.
4776 (creal_test_data): Likewise.
4777 (csin_test_data): Likewise.
4778 (csinh_test_data): Likewise.
4779 (csqrt_test_data): Likewise.
4780 (ctan_test_data): Likewise.
4781 (ctan_tonearest_test_data): Likewise.
4782 (ctan_towardzero_test_data): Likewise.
4783 (ctan_downward_test_data): Likewise.
4784 (ctan_upward_test_data): Likewise.
4785 (ctanh_test_data): Likewise.
4786 (ctanh_tonearest_test_data): Likewise.
4787 (ctanh_towardzero_test_data): Likewise.
4788 (ctanh_downward_test_data): Likewise.
4789 (ctanh_upward_test_data): Likewise.
4790 (erf_test_data): Likewise.
4791 (erfc_test_data): Likewise.
4792 (exp_test_data): Likewise.
4793 (exp_tonearest_test_data): Likewise.
4794 (exp_towardzero_test_data): Likewise.
4795 (exp_downward_test_data): Likewise.
4796 (exp_upward_test_data): Likewise.
4797 (exp10_test_data): Likewise.
4798 (exp2_test_data): Likewise.
4799 (expm1_test_data): Likewise.
4800 (fabs_test_data): Likewise.
4801 (fdim_test_data): Likewise.
4802 (finite_test_data): Likewise.
4803 (floor_test_data): Likewise.
4804 (fma_test_data): Likewise.
4805 (fma_towardzero_test_data): Likewise.
4806 (fma_downward_test_data): Likewise.
4807 (fma_upward_test_data): Likewise.
4808 (fmax_test_data): Likewise.
4809 (fmin_test_data): Likewise.
4810 (fmod_test_data): Likewise.
4811 (fpclassify_test_data): Likewise.
4812 (frexp_test_data): Likewise.
4813 (gamma_test_data): Likewise.
4814 (hypot_test_data): Likewise.
4815 (ilogb_test_data): Likewise.
4816 (isfinite_test_data): Likewise.
4817 (isgreater_test_data): Likewise.
4818 (isgreaterequal_test_data): Likewise.
4819 (isinf_test_data): Likewise.
4820 (isless_test_data): Likewise.
4821 (islessequal_test_data): Likewise.
4822 (islessgreater_test_data): Likewise.
4823 (isnan_test_data): Likewise.
4824 (isnormal_test_data): Likewise.
4825 (issignaling_test_data): Likewise.
4826 (isunordered_test_data): Likewise.
4827 (j0_test_data): Likewise.
4828 (j1_test_data): Likewise.
4829 (jn_test_data): Likewise.
4830 (ldexp_test_data): Likewise.
4831 (lgamma_test_data): Likewise.
4832 (lrint_test_data): Likewise.
4833 (lrint_tonearest_test_data): Likewise.
4834 (lrint_towardzero_test_data): Likewise.
4835 (lrint_downward_test_data): Likewise.
4836 (lrint_upward_test_data): Likewise.
4837 (llrint_test_data): Likewise.
4838 (llrint_tonearest_test_data): Likewise.
4839 (llrint_towardzero_test_data): Likewise.
4840 (llrint_downward_test_data): Likewise.
4841 (llrint_upward_test_data): Likewise.
4842 (log_test_data): Likewise.
4843 (log10_test_data): Likewise.
4844 (log1p_test_data): Likewise.
4845 (log2_test_data): Likewise.
4846 (logb_test_data): Likewise.
4847 (logb_downward_test_data): Likewise.
4848 (lround_test_data): Likewise.
4849 (llround_test_data): Likewise.
4850 (modf_test_data): Likewise.
4851 (nearbyint_test_data): Likewise.
4852 (nextafter_test_data): Likewise.
4853 (nexttoward_test_data): Likewise.
4854 (pow_test_data): Likewise.
4855 (pow_tonearest_test_data): Likewise.
4856 (pow_towardzero_test_data): Likewise.
4857 (pow_downward_test_data): Likewise.
4858 (pow_upward_test_data): Likewise.
4859 (remainder_test_data): Likewise.
4860 (remainder_tonearest_test_data): Likewise.
4861 (remainder_towardzero_test_data): Likewise.
4862 (remainder_downward_test_data): Likewise.
4863 (remainder_upward_test_data): Likewise.
4864 (remquo_test_data): Likewise.
4865 (rint_test_data): Likewise.
4866 (rint_tonearest_test_data): Likewise.
4867 (rint_towardzero_test_data): Likewise.
4868 (rint_downward_test_data): Likewise.
4869 (rint_upward_test_data): Likewise.
4870 (round_test_data): Likewise.
4871 (scalb_test_data): Likewise.
4872 (scalbn_test_data): Likewise.
4873 (scalbln_test_data): Likewise.
4874 (signbit_test_data): Likewise.
4875 (sin_test_data): Likewise.
4876 (sin_tonearest_test_data): Likewise.
4877 (sin_towardzero_test_data): Likewise.
4878 (sin_downward_test_data): Likewise.
4879 (sin_upward_test_data): Likewise.
4880 (sincos_test_data): Likewise.
4881 (sinh_test_data): Likewise.
4882 (sinh_tonearest_test_data): Likewise.
4883 (sinh_towardzero_test_data): Likewise.
4884 (sinh_downward_test_data): Likewise.
4885 (sinh_upward_test_data): Likewise.
4886 (sqrt_test_data): Likewise.
4887 (tan_test_data): Likewise.
4888 (tan_tonearest_test_data): Likewise.
4889 (tan_towardzero_test_data): Likewise.
4890 (tan_downward_test_data): Likewise.
4891 (tan_upward_test_data): Likewise.
4892 (tanh_test_data): Likewise.
4893 (tgamma_test_data): Likewise.
4894 (trunc_test_data): Likewise.
4895 (y0_test_data): Likewise.
4896 (y1_test_data): Likewise.
4897 (yn_test_data): Likewise.
4898 (significand_test_data): Likewise.
4899
b679a606
JM
4900 * math/gen-libm-test.pl (@functions): Remove variable.
4901 (generate_testfile): Don't handle START and END lines.
4902 * math/libm-test.inc (START): New macro.
4903 (END): Likewise.
4904 (END_COMPLEX): Likewise.
4905 (acos_test): Use END macro without arguments.
4906 (acos_test_tonearest): Likewise.
4907 (acos_test_towardzero): Likewise.
4908 (acos_test_downward): Likewise.
4909 (acos_test_upward): Likewise.
4910 (acosh_test): Likewise.
4911 (asin_test): Likewise.
4912 (asin_test_tonearest): Likewise.
4913 (asin_test_towardzero): Likewise.
4914 (asin_test_downward): Likewise.
4915 (asin_test_upward): Likewise.
4916 (asinh_test): Likewise.
4917 (atan_test): Likewise.
4918 (atanh_test): Likewise.
4919 (atan2_test): Likewise.
4920 (cabs_test): Likewise.
4921 (cacos_test): Use END_COMPLEX macro without arguments.
4922 (cacosh_test): Likewise.
4923 (carg_test): Use END macro without arguments.
4924 (casin_test): Use END_COMPLEX macro without arguments.
4925 (casinh_test): Likewise.
4926 (catan_test): Likewise.
4927 (catanh_test): Likewise.
4928 (cbrt_test): Use END macro without arguments.
4929 (ccos_test): Use END_COMPLEX macro without arguments.
4930 (ccosh_test): Likewise.
4931 (ceil_test): Use END macro without arguments.
4932 (cexp_test): Use END_COMPLEX macro without arguments.
4933 (cimag_test): Use END macro without arguments.
4934 (clog_test): Use END_COMPLEX macro without arguments.
4935 (clog10_test): Likewise.
4936 (conj_test): Likewise.
4937 (copysign_test): Use END macro without arguments.
4938 (cos_test): Likewise.
4939 (cos_test_tonearest): Likewise.
4940 (cos_test_towardzero): Likewise.
4941 (cos_test_downward): Likewise.
4942 (cos_test_upward): Likewise.
4943 (cosh_test): Likewise.
4944 (cosh_test_tonearest): Likewise.
4945 (cosh_test_towardzero): Likewise.
4946 (cosh_test_downward): Likewise.
4947 (cosh_test_upward): Likewise.
4948 (cpow_test): Use END_COMPLEX macro without arguments.
4949 (cproj_test): Likewise.
4950 (creal_test): Use END macro without arguments.
4951 (csin_test): Use END_COMPLEX macro without arguments.
4952 (csinh_test): Likewise.
4953 (csqrt_test): Likewise.
4954 (ctan_test): Likewise.
4955 (ctan_test_tonearest): Likewise.
4956 (ctan_test_towardzero): Likewise.
4957 (ctan_test_downward): Likewise.
4958 (ctan_test_upward): Likewise.
4959 (ctanh_test): Likewise.
4960 (ctanh_test_tonearest): Likewise.
4961 (ctanh_test_towardzero): Likewise.
4962 (ctanh_test_downward): Likewise.
4963 (ctanh_test_upward): Likewise.
4964 (erf_test): Use END macro without arguments.
4965 (erfc_test): Likewise.
4966 (exp_test): Likewise.
4967 (exp_test_tonearest): Likewise.
4968 (exp_test_towardzero): Likewise.
4969 (exp_test_downward): Likewise.
4970 (exp_test_upward): Likewise.
4971 (exp10_test): Likewise.
4972 (exp2_test): Likewise.
4973 (expm1_test): Likewise.
4974 (fabs_test): Likewise.
4975 (fdim_test): Likewise.
4976 (finite_test): Likewise.
4977 (floor_test): Likewise.
4978 (fma_test): Likewise.
4979 (fma_test_towardzero): Likewise.
4980 (fma_test_downward): Likewise.
4981 (fma_test_upward): Likewise.
4982 (fmax_test): Likewise.
4983 (fmin_test): Likewise.
4984 (fmod_test): Likewise.
4985 (fpclassify_test): Likewise.
4986 (frexp_test): Likewise.
4987 (gamma_test): Likewise.
4988 (hypot_test): Likewise.
4989 (ilogb_test): Likewise.
4990 (isfinite_test): Likewise.
4991 (isgreater_test): Likewise.
4992 (isgreaterequal_test): Likewise.
4993 (isinf_test): Likewise.
4994 (isless_test): Likewise.
4995 (islessequal_test): Likewise.
4996 (islessgreater_test): Likewise.
4997 (isnan_test): Likewise.
4998 (isnormal_test): Likewise.
4999 (issignaling_test): Likewise.
5000 (isunordered_test): Likewise.
5001 (j0_test): Likewise.
5002 (j1_test): Likewise.
5003 (jn_test): Likewise.
5004 (ldexp_test): Likewise.
5005 (lgamma_test): Likewise.
5006 (lrint_test): Likewise.
5007 (lrint_test_tonearest): Likewise.
5008 (lrint_test_towardzero): Likewise.
5009 (lrint_test_downward): Likewise.
5010 (lrint_test_upward): Likewise.
5011 (llrint_test): Likewise.
5012 (llrint_test_tonearest): Likewise.
5013 (llrint_test_towardzero): Likewise.
5014 (llrint_test_downward): Likewise.
5015 (llrint_test_upward): Likewise.
5016 (log_test): Likewise.
5017 (log10_test): Likewise.
5018 (log1p_test): Likewise.
5019 (log2_test): Likewise.
5020 (logb_test): Likewise.
5021 (logb_test_downward): Likewise.
5022 (lround_test): Likewise.
5023 (llround_test): Likewise.
5024 (modf_test): Likewise.
5025 (nearbyint_test): Likewise.
5026 (nextafter_test): Likewise.
5027 (nexttoward_test): Likewise.
5028 (pow_test): Likewise.
5029 (pow_test_tonearest): Likewise.
5030 (pow_test_towardzero): Likewise.
5031 (pow_test_downward): Likewise.
5032 (pow_test_upward): Likewise.
5033 (remainder_test): Likewise.
5034 (remainder_test_tonearest): Likewise.
5035 (remainder_test_towardzero): Likewise.
5036 (remainder_test_downward): Likewise.
5037 (remainder_test_upward): Likewise.
5038 (remquo_test): Likewise.
5039 (rint_test): Likewise.
5040 (rint_test_tonearest): Likewise.
5041 (rint_test_towardzero): Likewise.
5042 (rint_test_downward): Likewise.
5043 (rint_test_upward): Likewise.
5044 (round_test): Likewise.
5045 (scalb_test): Likewise.
5046 (scalbn_test): Likewise.
5047 (scalbln_test): Likewise.
5048 (signbit_test): Likewise.
5049 (sin_test): Likewise.
5050 (sin_test_tonearest): Likewise.
5051 (sin_test_towardzero): Likewise.
5052 (sin_test_downward): Likewise.
5053 (sin_test_upward): Likewise.
5054 (sincos_test): Likewise.
5055 (sinh_test): Likewise.
5056 (sinh_test_tonearest): Likewise.
5057 (sinh_test_towardzero): Likewise.
5058 (sinh_test_downward): Likewise.
5059 (sinh_test_upward): Likewise.
5060 (sqrt_test): Likewise.
5061 (tan_test): Likewise.
5062 (tan_test_tonearest): Likewise.
5063 (tan_test_towardzero): Likewise.
5064 (tan_test_downward): Likewise.
5065 (tan_test_upward): Likewise.
5066 (tanh_test): Likewise.
5067 (tgamma_test): Likewise.
5068 (trunc_test): Likewise.
5069 (y0_test): Likewise.
5070 (y1_test): Likewise.
5071 (yn_test): Likewise.
5072 (significand_test): Likewise.
5073
bae143d2
OB
50742013-05-24 Ondřej Bílka <neleai@seznam.cz>
5075
5076 [BZ #15381]
5077 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5078
9323d39b
EM
50792013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5080
d4ea44a0 5081 [BZ #14894]
9323d39b
EM
5082 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5083 __ppc_mdoio and __ppc_mdoom.
5084 * manual/platform.texi: Document new functions __ppc_yield,
5085 __ppc_mdoio and __ppc_mdoom.
5086
13e23af7
CD
50872013-05-22 Carlos O'Donell <carlos@redhat.com>
5088
5089 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5090 (main): Mention "tls" pseudo-hwcap is legacy.
5091 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5092
351fe550
JM
50932013-05-22 Joseph Myers <joseph@codesourcery.com>
5094
5095 * math/gen-libm-test.pl (parse_args): Output only string of
5096 arguments as text for test name, not full call or descriptions of
5097 tests for extra outputs.
5098 (generate_testfile): Do not pass function name to parse_args.
5099 Generate this_func variable from START.
5100 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5101 field to arg_str.
5102 (struct test_ff_f_data): Likewise.
5103 (test_ff_f_data_nexttoward): Likewise.
5104 (struct test_fi_f_data): Likewise.
5105 (struct test_fl_f_data): Likewise.
5106 (struct test_if_f_data): Likewise.
5107 (struct test_fff_f_data): Likewise.
5108 (struct test_c_f_data): Likewise.
5109 (struct test_f_f1_data): Likewise. Remove field extra_name.
5110 (struct test_fF_f1_data): Likewise.
5111 (struct test_ffI_f1_data): Likewise.
5112 (struct test_c_c_data): Rename test_name field to arg_str.
5113 (struct test_cc_c_data): Likewise.
5114 (struct test_f_i_data): Likewise.
5115 (struct test_ff_i_data): Likewise.
5116 (struct test_f_l_data): Likewise.
5117 (struct test_f_L_data): Likewise.
5118 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5119 and extra2_name.
5120 (COMMON_TEST_SETUP): New macro.
5121 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5122 (COMMON_TEST_CLEANUP): Likewise.
5123 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5124 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5125 macros.
5126 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5127 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5128 macros.
5129 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5130 (RUN_TEST_fff_f): Take argument string. Call new setup and
5131 cleanup macros.
5132 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5133 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5134 macros.
5135 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5136 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5137 macros.
5138 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5139 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5140 cleanup macros.
5141 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5142 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5143 cleanup macros.
5144 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5145 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5146 cleanup macros.
5147 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5148 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5149 macros.
5150 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5151 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5152 macros.
5153 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5154 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5155 macros.
5156 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5157 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5158 cleanup macros.
5159 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5160 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5161 cleanup macros.
5162 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5163 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5164 macros.
5165 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5166 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5167 cleanup macros.
5168 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5169 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5170 macros.
5171 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5172 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5173 macros.
5174 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5175 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5176 cleanup macros.
5177 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5178
85118d4d
EBM
51792013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5180
5181 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5182 to _sifields.sigfault.
5183 (si_addr_lsb): Define new macro.
5184 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5185 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5186 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5187
7a44c18f
CD
51882013-05-03 Carlos O'Donell <carlos at redhat.com>
5189
5190 [BZ #15441]
5191 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5192 returns -1.
5193 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5194 null return -1.
5195 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5196 loading the domain.
5197
b50a7181
JM
51982013-05-22 Joseph Myers <joseph@codesourcery.com>
5199
5200 * math/gen-libm-test.pl (parse_args): Do not include expected
5201 result in test name.
5202 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5203 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5204 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5205 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5206 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5208
051063c8
SP
52092013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5210
3ce9e010
SP
5211 * benchtests/Makefile: Sort function entries.
5212
051063c8
SP
5213 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5214 tanh, asinh, acosh, atanh.
5215 * benchtests/acos-inputs: New file.
5216 * benchtests/acosh-inputs: New file.
5217 * benchtests/asin-inputs: New file.
5218 * benchtests/asinh-inputs: New file.
5219 * benchtests/atanh-inputs: New file.
5220 * benchtests/cosh-inputs: New file.
5221 * benchtests/log-inputs: New file.
5222 * benchtests/sinh-inputs: New file.
5223 * benchtests/tanh-inputs: New file.
5224
47c22455
DL
52252013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5226
5227 [BZ #15339]
5228 * posix/tst-getaddrinfo4.c: New test.
5229 * posix/Makefile (tests): Add it.
5230
3d04f5db
SP
52312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5232
5233 [BZ #15339]
5234 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5235 when no services were used.
5236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5237 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5238
d5dd6189
AS
52392013-05-21 Andreas Schwab <schwab@suse.de>
5240
5241 [BZ #15014]
5242 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5243 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5244 successful.
5245 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5246 redundant variable declarations and reallocation of buffer when
5247 parsing as IPv6 address. Always set NSS status when called from
5248 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5249 buffer too small. Correct computation of needed size.
5250 * nss/Makefile (tests): Add test-digits-dots.
5251 * nss/test-digits-dots.c: New test.
5252
fef94eab
SP
52532013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5254
5255 * benchtests/Makefile: Remove instructions for adding
5256 benchmark tests.
5257 * benchtests/README: New file to explain how to execute and
5258 enhance the benchmark tests.
5259
e39adf43
AS
52602013-05-21 Andreas Schwab <schwab@suse.de>
5261
5262 [BZ #15493]
5263 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5264 * setjmp/tst-sigsetjmp.c: New test.
5265
b2b671b6
OB
52662013-05-20 Ondřej Bílka <neleai@seznam.cz>
5267
5268 * sysdeps/x86_64/memset.S (memset): New implementation.
5269 (__bzero): Likewise.
5270 (__memset_tail): New function.
5271
2d48b41c
OB
52722013-05-20 Ondřej Bílka <neleai@seznam.cz>
5273
5274 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5275 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5276 __memcpy_sse2_unaligned ifunc selection.
5277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5278 Add memcpy-sse2-unaligned.S.
5279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5280 Add: __memcpy_sse2_unaligned.
5281
f16cc3eb
JM
52822013-05-19 Joseph Myers <joseph@codesourcery.com>
5283
3e694268
JM
5284 [BZ #15490]
5285 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5286 math_force_eval before restoring floating-point envrionment.
5287 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5288 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5289 Likewise.
5290 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5291 <math_private.h>.
5292 (__nearbyintl): Use math_force_eval before restoring
5293 floating-point environment.
5294 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5295
db62a907
JM
5296 * math/gen-libm-test.pl (special_functions): Remove.
5297 (parse_args): Don't handle TEST_extra. Handle functions with no
5298 return value.
5299 * math/libm-test.inc (struct test_sincos_data): Replace with
5300 struct test_fFF_11_data.
5301 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5302 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5303 (sincos_test_data): Change element type to struct
5304 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5305 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5306 RUN_TEST_LOOP_sincos.
5307 * math/README.libm-test: Don't mention special handling of
5308 individual functions.
5309 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5311 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5312 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5313 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5315
f16cc3eb
JM
5316 * math/gen-libm-test.pl (get_variable): Remove function.
5317 (parse_args): Don't show pointer parameters to call in test
5318 names. Use "extra output N" in test names for extra outputs
5319 rather than naming variables.
5320
3779b5b6
JM
53212013-05-18 Joseph Myers <joseph@codesourcery.com>
5322
2ee094ff
JM
5323 [BZ #15488]
5324 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5325 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5326 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5327 double tests.
5328 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5329 disable.
5330 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5331 check_long_double.
5332
3779b5b6
JM
5333 * math/gen-libm-test.pl (@tests): Remove variable.
5334 ($count): Likewise.
5335 (new_test): Remove function.
5336 (show_exceptions): New function.
5337 (special_functions): Use show_exceptions instead of new_test.
5338 (parse_args): Likewise.
5339 (generate_testfile): Pass only function name in generated call to
5340 print_max_error or print_complex_max_error.
5341 (get_ulps): Do not handle complex tests specially.
5342 (output_test): Rename to ...
5343 (get_all_ulps_for_test): ... this. Return a string rather than
5344 printing to a file. Require ulps to be present.
5345 (output_ulps): Generate arrays rather than #defines.
5346 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5347 (struct ulp_data): New type.
5348 (BUILD_COMPLEX_ULP): Remove macro.
5349 (compare_ulp_data): New function.
5350 (find_ulps): Likewise.
5351 (find_test_ulps): Likewise.
5352 (find_function_ulps): Likewise.
5353 (find_complex_function_ulps): Likewise.
5354 (print_max_error): Determine allowed ulps using
5355 find_function_ulps.
5356 (print_complex_max_error): Determine allowed ulps using
5357 find_complex_function_ulps.
5358 (check_float_internal): Determine max ulps using find_test_ulps.
5359 (check_float): Do not take max_ulp parameter. Update call to
5360 check_float_internal.
5361 (check_complex): Likewise.
5362 (check_int): Do not take max_ulp parameter.
5363 (check_long): Likewise.
5364 (check_bool): Likewise.
5365 (check_longlong): Likewise.
5366 (struct test_f_f_data): Remove max_ulp field.
5367 (struct test_ff_f_data): Likewise.
5368 (struct test_ff_f_data_nexttoward): Likewise.
5369 (struct test_fi_f_data): Likewise.
5370 (struct test_fl_f_data): Likewise.
5371 (struct test_if_f_data): Likewise.
5372 (struct test_fff_f_data): Likewise.
5373 (struct test_c_f_data): Likewise.
5374 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5375 (struct test_fF_f1_data): Likewise.
5376 (struct test_ffI_f1_data): Likewise.
5377 (struct test_c_c_data): Remove max_ulp field.
5378 (struct test_cc_c_data): Likewise.
5379 (struct test_f_i_data): Likewise.
5380 (struct test_ff_i_data): Likewise.
5381 (struct test_f_l_data): Likewise.
5382 (struct test_f_L_data): Likewise.
5383 (struct test_sincos_data): Likewise.
5384 (RUN_TEST_f_f): Do not handle ulps.
5385 (RUN_TEST_LOOP_f_f): Likewise.
5386 (RUN_TEST_2_f): Likewise.
5387 (RUN_TEST_LOOP_2_f): Likewise.
5388 (RUN_TEST_fff_f): Likewise.
5389 (RUN_TEST_LOOP_fff_f): Likewise.
5390 (RUN_TEST_c_f): Likewise.
5391 (RUN_TEST_LOOP_c_f): Likewise.
5392 (RUN_TEST_f_f1): Likewise.
5393 (RUN_TEST_LOOP_f_f1): Likewise.
5394 (RUN_TEST_fF_f1): Likewise.
5395 (RUN_TEST_LOOP_fF_f1): Likewise.
5396 (RUN_TEST_fI_f1): Likewise.
5397 (RUN_TEST_LOOP_fI_f1): Likewise.
5398 (RUN_TEST_ffI_f1): Likewise.
5399 (RUN_TEST_LOOP_ffI_f1): Likewise.
5400 (RUN_TEST_c_c): Likewise.
5401 (RUN_TEST_LOOP_c_c): Likewise.
5402 (RUN_TEST_cc_c): Likewise.
5403 (RUN_TEST_LOOP_cc_c): Likewise.
5404 (RUN_TEST_f_i): Likewise.
5405 (RUN_TEST_LOOP_f_i): Likewise.
5406 (RUN_TEST_f_i_tg): Likewise.
5407 (RUN_TEST_LOOP_f_i_tg): Likewise.
5408 (RUN_TEST_ff_i_tg): Likewise.
5409 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5410 (RUN_TEST_f_b): Likewise.
5411 (RUN_TEST_LOOP_f_b): Likewise.
5412 (RUN_TEST_f_b_tg): Likewise.
5413 (RUN_TEST_LOOP_f_b_tg): Likewise.
5414 (RUN_TEST_f_l): Likewise.
5415 (RUN_TEST_LOOP_f_l): Likewise.
5416 (RUN_TEST_f_L): Likewise.
5417 (RUN_TEST_LOOP_f_L): Likewise.
5418 (RUN_TEST_sincos): Likewise.
5419 (RUN_TEST_LOOP_sincos): Likewise.
5420
8269107f
JM
54212013-05-17 Joseph Myers <joseph@codesourcery.com>
5422
bb38759d
JM
5423 [BZ #15480]
5424 [BZ #15485]
5425 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5426 main case of finite arguments, set rounding mode to FE_TONEAREST
5427 and discard exceptions.
5428 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5429 exceptions.
5430 (remainder_tonearest_test_data): New variable.
5431 (remainder_test_tonearest): New function.
5432 (remainder_towardzero_test_data): New variable.
5433 (remainder_test_towardzero): New function.
5434 (remainder_downward_test_data): New variable.
5435 (remainder_test_downward): New function.
5436 (remainder_upward_test_data): New variable.
5437 (remainder_test_upward): New function.
5438 (main): Call the new test functions.
5439
a00bdcf0
JM
5440 * math/libm-test.inc (struct test_f_f1_data): Remove field
5441 extra_init.
5442 (struct test_fF_f1_data): Likewise.
5443 (struct test_ffI_f1_data): Likewise.
5444 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5445 based on value of EXTRA_EXPECTED.
5446 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5447 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5448 EXTRA_VAR based on value of EXTRA_EXPECTED.
5449 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5450 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5451 EXTRA_VAR based on value of EXTRA_EXPECTED.
5452 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5453 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5454 EXTRA_VAR based on value of EXTRA_EXPECTED.
5455 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5456 * math/gen-libm-test.pl (parse_args): Don't output initializers
5457 for extra output values.
5458
de407f79
JM
5459 * math/libm-test.inc (check_int): Expect result to be exactly
5460 equal to expected value and do not handle ulps.
5461 (check_long): Likewise.
5462 (check_longlong): Likewise.
5463
8269107f
JM
5464 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5465 exceptions.
5466 (cimag_test_data): Likewise.
5467 (conj_test_data): Likewise.
5468 (copysign_test_data): Likewise.
5469 (cproj_test_data): Likewise.
5470 (creal_test_data): Likewise.
5471 (fabs_test_data): Likewise.
5472 (fdim_test_data): Likewise.
5473 (finite_test_data): Likewise.
5474 (floor_test_data): Likewise.
5475 (fmax_test_data): Likewise.
5476 (fmin_test_data): Likewise.
5477 (fmod_test_data): Likewise.
5478 (fpclassify_test_data): Likewise.
5479 (frexp_test_data): Likewise.
5480 (ilogb_test_data): Likewise.
5481 (isfinite_test_data): Likewise.
5482 (isgreater_test_data): Likewise.
5483 (isgreaterequal_test_data): Likewise.
5484 (isinf_test_data): Likewise.
5485 (isless_test_data): Likewise.
5486 (islessequal_test_data): Likewise.
5487 (islessgreater_test_data): Likewise.
5488 (isnan_test_data): Likewise.
5489 (isnormal_test_data): Likewise.
5490 (issignaling_test_data): Likewise.
5491 (isunordered_test_data): Likewise.
5492 (ldexp_test_data): Likewise.
5493 (lrint_test_data): Likewise.
5494 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5495 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5496 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5497 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5498 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5499 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5500 test input.
5501 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5502 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5503 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5504 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5505 that test input.
5506 (lrint_downward_test_data): Test for "inexact" exceptions.
5507 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5508 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5509 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5510 test input.
5511 (lrint_upward_test_data): Test for "inexact" exceptions.
5512 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5513 test input.
5514 (llrint_test_data): Test for "inexact" exceptions.
5515 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5516 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5517 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5518 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5519 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5520 (llrint_downward_test_data): Test for "inexact" exceptions.
5521 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5522 (llrint_upward_test_data): Test for "inexact" exceptions.
5523 (logb_test_data): Likewise.
5524 (logb_downward_test_data): Likewise.
5525 (nextafter_test_data): Likewise.
5526 (nexttoward_test_data): Likewise.
5527 (remainder_test_data): Likewise.
5528 (remquo_test_data): Likewise.
5529 (scalbn_test_data): Likewise.
5530 (scalbln_test_data): Likewise.
5531 (signbit_test_data): Likewise.
5532 (sqrt_test_data): Likewise.
5533 (significand_test_data): Likewise.
5534
48a18de1
SP
55352013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5536
5537 [BZ #15424]
5538 * benchtests/bench-modf.c (struct args): Mark arg0 as
5539 volatile.
5540 * scripts/bench.pl: Mark members of struct args as volatile.
5541
13d3b41a
AZ
55422013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5543
68191c1d 5544 [BZ # 15497]
13d3b41a
AZ
5545 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5546 negative infinity on POWER6 or lower.
5547 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5548
2848b105
MR
55492013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5550
5551 [BZ #15442]
5552 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5553 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5554 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5555 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5556 (_FP_SETQNAN): New macro.
5557 (_FP_SETQNAN_SEMIRAW): Likewise.
5558 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5559 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5560 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5561 (FP_EXTEND): Use _FP_FRAC_SNANP.
5562 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5563 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5564 into account.
5565 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5566 New macro.
5567 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5568 Likewise.
5569
323e5cb7
JM
55702013-05-16 Joseph Myers <joseph@codesourcery.com>
5571
c58b274f
JM
5572 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5573 with DIVIDE_BY_ZERO_EXCEPTION.
5574 (gamma_test_data): Likewise.
5575 (lgamma_test_data): Likewise.
5576 (log_test_data): Likewise.
5577 (log10_test_data): Likewise.
5578 (log2_test_data): Likewise.
5579 (tgamma_test_data): Likewise.
5580
0ab34904
JM
5581 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5582 (acos_test_tonearest): Likewise.
5583 (acos_test_towardzero): Likewise.
5584 (acos_test_downward): Likewise.
5585 (acos_test_upward): Likewise.
5586 (acosh_test): Likewise.
5587 (asin_test): Likewise.
5588 (asin_test_tonearest): Likewise.
5589 (asin_test_towardzero): Likewise.
5590 (asin_test_downward): Likewise.
5591 (asin_test_upward): Likewise.
5592 (asinh_test): Likewise.
5593 (atan_test): Likewise.
5594 (atanh_test): Likewise.
5595 (atan2_test): Likewise.
5596 (cabs_test): Likewise.
5597 (cacos_test): Likewise.
5598 (cacosh_test): Likewise.
5599 (casin_test): Likewise.
5600 (casinh_test): Likewise.
5601 (catan_test): Likewise.
5602 (catanh_test): Likewise.
5603 (cbrt_test): Likewise.
5604 (ccos_test): Likewise.
5605 (ccosh_test): Likewise.
5606 (cexp_test): Likewise.
5607 (clog_test): Likewise.
5608 (clog10_test): Likewise.
5609 (cos_test): Likewise.
5610 (cos_test_tonearest): Likewise.
5611 (cos_test_towardzero): Likewise.
5612 (cos_test_downward): Likewise.
5613 (cos_test_upward): Likewise.
5614 (cosh_test): Likewise.
5615 (cosh_test_tonearest): Likewise.
5616 (cosh_test_towardzero): Likewise.
5617 (cosh_test_downward): Likewise.
5618 (cosh_test_upward): Likewise.
5619 (cpow_test): Likewise.
5620 (csin_test): Likewise.
5621 (csinh_test): Likewise.
5622 (csqrt_test): Likewise.
5623 (ctan_test): Likewise.
5624 (ctan_test_tonearest): Likewise.
5625 (ctan_test_towardzero): Likewise.
5626 (ctan_test_downward): Likewise.
5627 (ctan_test_upward): Likewise.
5628 (ctanh_test): Likewise.
5629 (ctanh_test_tonearest): Likewise.
5630 (ctanh_test_towardzero): Likewise.
5631 (ctanh_test_downward): Likewise.
5632 (ctanh_test_upward): Likewise.
5633 (erf_test): Likewise.
5634 (erfc_test): Likewise.
5635 (exp_test): Likewise.
5636 (exp_test_tonearest): Likewise.
5637 (exp_test_towardzero): Likewise.
5638 (exp_test_downward): Likewise.
5639 (exp_test_upward): Likewise.
5640 (exp10_test): Likewise.
5641 (exp2_test): Likewise.
5642 (expm1_test): Likewise.
5643 (fmod_test): Likewise.
5644 (gamma_test): Likewise.
5645 (hypot_test): Likewise.
5646 (j0_test): Likewise.
5647 (j1_test): Likewise.
5648 (jn_test): Likewise.
5649 (lgamma_test): Likewise.
5650 (log_test): Likewise.
5651 (log10_test): Likewise.
5652 (log1p_test): Likewise.
5653 (log2_test): Likewise.
5654 (logb_test_downward): Likewise.
5655 (pow_test): Likewise.
5656 (pow_test_tonearest): Likewise.
5657 (pow_test_towardzero): Likewise.
5658 (pow_test_downward): Likewise.
5659 (pow_test_upward): Likewise.
5660 (remainder_test): Likewise.
5661 (remquo_test): Likewise.
5662 (sin_test): Likewise.
5663 (sin_test_tonearest): Likewise.
5664 (sin_test_towardzero): Likewise.
5665 (sin_test_downward): Likewise.
5666 (sin_test_upward): Likewise.
5667 (sincos_test): Likewise.
5668 (sinh_test): Likewise.
5669 (sinh_test_tonearest): Likewise.
5670 (sinh_test_towardzero): Likewise.
5671 (sinh_test_downward): Likewise.
5672 (sinh_test_upward): Likewise.
5673 (sqrt_test): Likewise.
5674 (tan_test): Likewise.
5675 (tan_test_tonearest): Likewise.
5676 (tan_test_towardzero): Likewise.
5677 (tan_test_downward): Likewise.
5678 (tan_test_upward): Likewise.
5679 (tanh_test): Likewise.
5680 (tgamma_test): Likewise.
5681 (y0_test): Likewise.
5682 (y1_test): Likewise.
5683 (yn_test): Likewise.
5684
323e5cb7
JM
5685 * math/gen-libm-test.pl (adjust_arg): Remove function.
5686 (special_function): Remove argument $in_func. Only handle
5687 generating output for tables of tests, not inside functions.
5688 (parse_args): Likewise.
5689 (generate_testfile): Remove variable $in_func. Update call to
5690 parse_args.
5691 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5692 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5693 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5694 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5695 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5696 (MAX_VALUE_INIT): Rename macro to max_value.
5697 (MIN_VALUE_INIT): Rename macro to min_value.
5698 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5699 (plus_zero): Remove variable.
5700 (minus_zero): Likewise.
5701 (plus_infty): Likewise.
5702 (minus_infty): Likewise.
5703 (qnan_value): Likewise.
5704 (max_value): Likewise.
5705 (min_value): Likewise.
5706 (min_subnorm_value): Likewise.
5707
e054f494
RA
57082013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5709
5710 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5711 uint64_t or uint32_t usage.
5712 * crypt/sha256-block.c: Likewise.
5713 * crypt/sha256-crypt.c: Likewise.
5714 * crypt/sha256.c: Likewise.
5715 * crypt/sha512-block.c: Likewise.
5716 * crypt/sha512-crypt.c: Likewise.
5717 * crypt/sha512.c: Likewise.
5718 * debug/backtrace-tst.c: Likewise.
5719 * debug/pcprofiledump.c: Likewise.
5720 * elf/cache.c: Likewise.
5721 * elf/dl-cache.c: Likewise.
5722 * elf/dl-misc.c: Likewise.
5723 * elf/dl-profile.c: Likewise.
5724 * elf/dl-support.c: Likewise.
5725 * elf/ldconfig.c: Likewise.
5726 * elf/sprof.c: Likewise.
5727 * iconv/dummy-repertoire.c: Likewise.
5728 * iconv/iconv_charmap.c: Likewise.
5729 * iconv/skeleton.c: Likewise.
5730 * iconvdata/8bit-generic.c: Likewise.
5731 * iconvdata/cp737.h: Likewise.
5732 * iconvdata/cp775.h: Likewise.
5733 * iconvdata/ibm1008.h: Likewise.
5734 * iconvdata/ibm1025.h: Likewise.
5735 * iconvdata/ibm1046.h: Likewise.
5736 * iconvdata/ibm1097.h: Likewise.
5737 * iconvdata/ibm1112.h: Likewise.
5738 * iconvdata/ibm1122.h: Likewise.
5739 * iconvdata/ibm1123.h: Likewise.
5740 * iconvdata/ibm1124.h: Likewise.
5741 * iconvdata/ibm1129.h: Likewise.
5742 * iconvdata/ibm1130.h: Likewise.
5743 * iconvdata/ibm1132.h: Likewise.
5744 * iconvdata/ibm1133.h: Likewise.
5745 * iconvdata/ibm1137.h: Likewise.
5746 * iconvdata/ibm1140.h: Likewise.
5747 * iconvdata/ibm1141.h: Likewise.
5748 * iconvdata/ibm1142.h: Likewise.
5749 * iconvdata/ibm1143.h: Likewise.
5750 * iconvdata/ibm1144.h: Likewise.
5751 * iconvdata/ibm1145.h: Likewise.
5752 * iconvdata/ibm1146.h: Likewise.
5753 * iconvdata/ibm1147.h: Likewise.
5754 * iconvdata/ibm1148.h: Likewise.
5755 * iconvdata/ibm1149.h: Likewise.
5756 * iconvdata/ibm1153.h: Likewise.
5757 * iconvdata/ibm1154.h: Likewise.
5758 * iconvdata/ibm1155.h: Likewise.
5759 * iconvdata/ibm1156.h: Likewise.
5760 * iconvdata/ibm1157.h: Likewise.
5761 * iconvdata/ibm1158.h: Likewise.
5762 * iconvdata/ibm1160.h: Likewise.
5763 * iconvdata/ibm1161.h: Likewise.
5764 * iconvdata/ibm1162.h: Likewise.
5765 * iconvdata/ibm1163.h: Likewise.
5766 * iconvdata/ibm1164.h: Likewise.
5767 * iconvdata/ibm1166.h: Likewise.
5768 * iconvdata/ibm1167.h: Likewise.
5769 * iconvdata/ibm12712.h: Likewise.
5770 * iconvdata/ibm1390.h: Likewise.
5771 * iconvdata/ibm1399.h: Likewise.
5772 * iconvdata/ibm16804.h: Likewise.
5773 * iconvdata/ibm4517.h: Likewise.
5774 * iconvdata/ibm4899.h: Likewise.
5775 * iconvdata/ibm4909.h: Likewise.
5776 * iconvdata/ibm4971.h: Likewise.
5777 * iconvdata/ibm5347.h: Likewise.
5778 * iconvdata/ibm803.h: Likewise.
5779 * iconvdata/ibm856.h: Likewise.
5780 * iconvdata/ibm901.h: Likewise.
5781 * iconvdata/ibm902.h: Likewise.
5782 * iconvdata/ibm9030.h: Likewise.
5783 * iconvdata/ibm9066.h: Likewise.
5784 * iconvdata/ibm921.h: Likewise.
5785 * iconvdata/ibm922.h: Likewise.
5786 * iconvdata/ibm9448.h: Likewise.
5787 * iconvdata/isiri-3342.h: Likewise.
5788 * iconvdata/jis0201.h: Likewise.
5789 * include/link.h: Likewise.
5790 * include/netdb.h: Likewise.
5791 * inet/check_native.c: Likewise.
5792 * inet/check_pf.c: Likewise.
5793 * inet/getipv4sourcefilter.c: Likewise.
5794 * inet/getnameinfo.c: Likewise.
5795 * inet/getsourcefilter.c: Likewise.
5796 * inet/htonl.c: Likewise.
5797 * inet/setipv4sourcefilter.c: Likewise.
5798 * inet/setsourcefilter.c: Likewise.
5799 * inet/test-inet6_opt.c: Likewise.
5800 * inet/tst-network.c: Likewise.
5801 * locale/C-collate.c: Likewise.
5802 * locale/C-ctype.c: Likewise.
5803 * locale/C-time.c: Likewise.
5804 * locale/C-translit.h: Likewise.
5805 * locale/loadarchive.c: Likewise.
5806 * locale/programs/3level.h: Likewise.
5807 * locale/programs/charmap.c: Likewise.
5808 * locale/programs/charmap.h: Likewise.
5809 * locale/programs/ld-address.c: Likewise.
5810 * locale/programs/ld-collate.c: Likewise.
5811 * locale/programs/ld-ctype.c: Likewise.
5812 * locale/programs/ld-identification.c: Likewise.
5813 * locale/programs/ld-measurement.c: Likewise.
5814 * locale/programs/ld-messages.c: Likewise.
5815 * locale/programs/ld-monetary.c: Likewise.
5816 * locale/programs/ld-name.c: Likewise.
5817 * locale/programs/ld-numeric.c: Likewise.
5818 * locale/programs/ld-paper.c: Likewise.
5819 * locale/programs/ld-telephone.c: Likewise.
5820 * locale/programs/ld-time.c: Likewise.
5821 * locale/programs/linereader.c: Likewise.
5822 * locale/programs/locale.c: Likewise.
5823 * locale/programs/locarchive.c: Likewise.
5824 * locale/programs/locfile.h: Likewise.
5825 * locale/programs/repertoire.c: Likewise.
5826 * locale/programs/simple-hash.c: Likewise.
5827 * locale/programs/simple-hash.h: Likewise.
5828 * malloc/memusage.c: Likewise.
5829 * malloc/memusagestat.c: Likewise.
5830 * nis/nis_defaults.c: Likewise.
5831 * nis/nis_hash.c: Likewise.
5832 * nis/nis_print.c: Likewise.
5833 * nis/nis_xdr.c: Likewise.
5834 * nscd/connections.c: Likewise.
5835 * nscd/hstcache.c: Likewise.
5836 * nscd/nscd_gethst_r.c: Likewise.
5837 * nscd/nscd_getserv_r.c: Likewise.
5838 * nscd/nscd_helper.c: Likewise.
5839 * nscd/servicescache.c: Likewise.
5840 * nss/makedb.c: Likewise.
5841 * nss/nss_db/db-XXX.c: Likewise.
5842 * nss/nss_db/db-initgroups.c: Likewise.
5843 * nss/nss_db/db-netgrp.c: Likewise.
5844 * nss/nss_files/files-network.c: Likewise.
5845 * nss/nss_files/files-parse.c: Likewise.
5846 * posix/bug-regex5.c: Likewise.
5847 * posix/fnmatch_loop.c: Likewise.
5848 * posix/regcomp.c: Likewise.
5849 * posix/regexec.c: Likewise.
5850 * posix/tst-rfc3484-2.c: Likewise.
5851 * posix/tst-rfc3484-3.c: Likewise.
5852 * posix/tst-rfc3484.c: Likewise.
5853 * resolv/nss_dns/dns-canon.c: Likewise.
5854 * resolv/nss_dns/dns-network.c: Likewise.
5855 * resolv/res_init.c: Likewise.
5856 * resolv/res_mkquery.c: Likewise.
5857 * resolv/tst-aton.c: Likewise.
5858 * stdlib/cxa_atexit.c: Likewise.
5859 * stdlib/cxa_finalize.c: Likewise.
5860 * stdlib/gen-fpioconst.c: Likewise.
5861 * stdlib/strtol_l.c: Likewise.
5862 * string/tst-endian.c: Likewise.
5863 * sunrpc/auth_des.c: Likewise.
5864 * sunrpc/clnt_udp.c: Likewise.
5865 * sunrpc/rtime.c: Likewise.
5866 * sunrpc/svcauth_des.c: Likewise.
5867 * sunrpc/xdr.c: Likewise.
5868 * sunrpc/xdr_intXX_t.c: Likewise.
5869 * sunrpc/xdr_rec.c: Likewise.
5870 * sysdeps/generic/ldconfig.h: Likewise.
5871 * sysdeps/generic/ldsodefs.h: Likewise.
5872 * sysdeps/generic/memusage.h: Likewise.
5873 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5874 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5875 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5876 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5877 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5879 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5880 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5881 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5882 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5883 * sysdeps/posix/getaddrinfo.c: Likewise.
5884 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5885 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5886 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5887 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5888 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5889 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5890 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5891 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5892 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5893 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5894 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5895 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5896 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5897 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5898 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5899 * sysdeps/x86_64/dl-tls.h: Likewise.
5900 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5901 * time/alt_digit.c: Likewise.
5902 * time/era.c: Likewise.
5903 * wcsmbs/tst-c16c32-1.c: Likewise.
5904
8c75f674
JM
59052013-05-16 Joseph Myers <joseph@codesourcery.com>
5906
5907 * math/libm-test.inc (struct test_sincos_data): New type.
5908 (RUN_TEST_LOOP_sincos): New macro.
5909 (sincos_test_data): New variable.
5910 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5911
e6e49e59
RH
59122013-05-16 Richard Henderson <rth@redhat.com>
5913
5914 * math/atest-exp2.c (LIMB64): New macro.
5915 (CONSTSZ): New macro.
5916 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5917 (hexdig): Move ...
5918 (print_mpn_fp): ... to function scope.
5919 (read_mpn_hex): Remove.
5920 (get_log2): Remove.
5921 (exp2_mpn): Use mp_log2.
5922 (main): Use mp_exp1.
5923
15c7c18d
JM
59242013-05-16 Joseph Myers <joseph@codesourcery.com>
5925
105a07df
JM
5926 * math/libm-test.inc: Remove comment about not testing "inexact"
5927 exceptions.
5928 (INEXACT_EXCEPTION): New macro.
5929 (NO_INEXACT_EXCEPTION): Likewise.
5930 (INVALID_EXCEPTION_OK): Update value.
5931 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5932 (OVERFLOW_EXCEPTION_OK): Likewise.
5933 (UNDERFLOW_EXCEPTION_OK): Likewise.
5934 (IGNORE_ZERO_INF_SIGN): Likewise.
5935 (ERRNO_UNCHANGED): Likewise.
5936 (ERRNO_EDOM): Likewise.
5937 (ERRNO_ERANGE): Likewise.
5938 (test_exceptions): Handle testing "inexact" exceptions.
5939 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5940 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5941 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5942 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5943 INEXACT_EXCEPTION.
5944 (rint_towardzero_test_data): Likewise.
5945 (rint_downward_test_data): Likewise.
5946 (rint_upward_test_data): Likewise.
5947
e9eee333
JM
5948 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5949 with OVERFLOW_EXCEPTION.
5950 (exp10_test_data): Likewise.
5951 (exp2_test_data): Likewise.
5952 (expm1_test_data): Likewise.
5953 (lgamma_test_data): Likewise.
5954 (pow_test_data): Likewise.
5955 (tgamma_test_data): Likewise.
5956 (yn_test_data): Remove duplicate test of overflow.
5957
1c38ff73
JM
5958 * math/libm-test.inc (struct test_cc_c_data): New type.
5959 (RUN_TEST_LOOP_cc_c): New macro.
5960 (cpow_test_data): New variable.
5961 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5962
15c7c18d
JM
5963 * math/libm-test.inc (struct test_f_L_data): New type.
5964 (RUN_TEST_LOOP_f_L): New macro.
5965 (llrint_test_data): New variable.
5966 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5967 (llrint_tonearest_test_data): New variable.
5968 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5969 (llrint_towardzero_test_data): New variable.
5970 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5971 (llrint_downward_test_data): New variable.
5972 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5973 (llrint_upward_test_data): New variable.
5974 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5975 (llround_test_data): New variable.
5976 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5977
f137ff13
PC
59782013-05-13 Peter Collingbourne <pcc@google.com>
5979
5980 * math/atest-exp2.c (get_log2): Remove const attribute.
5981
3608cb24
JM
59822013-05-15 Joseph Myers <joseph@codesourcery.com>
5983
5984 * math/libm-test.inc (struct test_f_l_data): New type.
5985 (RUN_TEST_LOOP_f_l): New macro.
5986 (lrint_test_data): New variable.
5987 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5988 (lrint_tonearest_test_data): New variable.
5989 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5990 (lrint_towardzero_test_data): New variable.
5991 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5992 (lrint_downward_test_data): New variable.
5993 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5994 (lrint_upward_test_data): New variable.
5995 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5996 (lround_test_data): New variable.
5997 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5998
39b1f617
PC
59992013-05-15 Peter Collingbourne <pcc@google.com>
6000
1deff3dc
PC
6001 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6002 (EXTRACT_WORDS64) Use where appropriate.
6003 (INSERT_WORDS64) Likewise.
6004
791f3ba0
PC
6005 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6006 constraints with x constraints.
6007 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6008
39b1f617
PC
6009 * malloc/obstack.c (_obstack_compat): Add initializer.
6010
12fba011
EM
60112013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6012
6013 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6014 si_trapno and add si_addr_lsb to _sifields.sigfault.
6015 (si_trapno): Remove macro.
6016 (si_addr_lsb): Define new macro.
6017 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6018
d369f531
JM
60192013-05-15 Joseph Myers <joseph@codesourcery.com>
6020
b861c6c4
JM
6021 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6022 instead of TEST_f_l.
6023 (llrint_test_tonearest): Likewise.
6024 (llrint_test_towardzero): Likewise.
6025 (llrint_test_downward): Likewise.
6026 (llrint_test_upward): Likewise.
6027 (llround_test): Likewise.
6028
7abeee12
JM
6029 * math/libm-test.inc (struct test_f_i_data): Add comment.
6030 (RUN_TEST_LOOP_f_b): New macro.
6031 (RUN_TEST_LOOP_f_b_tg): Likewise.
6032 (finite_test_data): New variable.
6033 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6034 (isfinite_test_data): New variable.
6035 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6036 (isinf_test_data): New variable.
6037 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6038 (isnan_test_data): New variable.
6039 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6040 (isnormal_test_data): New variable.
6041 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6042 (issignaling_test_data): New variable.
6043 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6044 (signbit_test_data): New variable.
6045 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6046
cbe8c4d3
JM
6047 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6048 with INVALID_EXCEPTION.
6049 (acosh_test_data): Likewise.
6050 (asin_test_data): Likewise.
6051 (atanh_test_data): Likewise.
6052 (fmod_test_data): Likewise.
6053 (log_test_data): Likewise.
6054 (log10_test_data): Likewise.
6055 (log2_test_data): Likewise.
6056 (pow_test_data): Likewise.
6057 (sqrt_test_data): Likewise.
6058 (y0_test_data): Likewise.
6059 (y1_test_data): Likewise.
6060 (yn_test_data): Likewise.
6061
5575c0e5
JM
6062 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6063 function contents.
6064
d369f531
JM
6065 * math/libm-test.inc (struct test_ff_i_data): New type.
6066 (RUN_TEST_LOOP_ff_i_tg): New macro.
6067 (isgreater_test_data): New variable.
6068 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6069 (isgreaterequal_test_data): New variable.
6070 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6071 (isless_test_data): New variable.
6072 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6073 (islessequal_test_data): New variable.
6074 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6075 (islessgreater_test_data): New variable.
6076 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6077 (isunordered_test_data): New variable.
6078 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6079
781fd748
DM
60802013-05-14 David S. Miller <davem@davemloft.net>
6081
6082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6083
87aa21df
JM
60842013-05-14 Joseph Myers <joseph@codesourcery.com>
6085
5e908270
JM
6086 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6087
f71172e5
JM
6088 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6089 extra_test to int.
6090 (struct test_f_i_data): Change type of max_ulp to int.
6091
8cfa635a
JM
6092 * math/libm-test.inc (test_ffI_f1_data): New type.
6093 (RUN_TEST_LOOP_ffI_f1): New macro.
6094 (remquo_test_data): New variable.
6095 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6096
2bcb36b2
JM
6097 * setjmp/tst-setjmp-fp.c: New file.
6098 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6099 (link-libm): New variable.
6100 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6101
acbd839a
JM
6102 * math/libm-test.inc (struct test_f_i_data): New type.
6103 (RUN_TEST_LOOP_f_i): New macro.
6104 (RUN_TEST_LOOP_f_i_tg): Likewise.
6105 (fpclassify_test_data): New variable.
6106 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6107 (ilogb_test_data): New variable.
6108 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6109
e414d745
JM
6110 * math/libm-test.inc (scalbln_test): Correct function name in END
6111 call.
6112
d9c2a0fd
JM
6113 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6114 (RUN_TEST_LOOP_fI_f1): New macro.
6115 (frexp_test_data): New variable.
6116 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6117
9dc9095d
JM
6118 * math/libm-test.inc (struct test_fF_f1_data): New type.
6119 (RUN_TEST_LOOP_fF_f1): New macro.
6120 (modf_test_data): New variable.
6121 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6122
87aa21df
JM
6123 * math/libm-test.inc (struct test_f_f1_data): New type.
6124 (RUN_TEST_LOOP_f_f1): New macro.
6125 (gamma_test_data): New variable.
6126 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6127 (lgamma_test_data): New variable.
6128 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6129
141af660
CD
61302013-05-13 Carlos O'Donell <carlos@redhat.com>
6131
6132 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6133 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6134 (main): Comment "tls" pseudo-hwcap.
6135
6d33265c
JM
61362013-05-13 Joseph Myers <joseph@codesourcery.com>
6137
68fc074c
JM
6138 * math/libm-test.inc (struct test_fl_f_data): New type.
6139 (RUN_TEST_LOOP_fl_f): New variable.
6140 (scalbln_test_data): New variable.
6141 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6142
243216e1
JM
6143 * math/libm-test.inc (struct test_fi_f_data): New type.
6144 (RUN_TEST_LOOP_fi_f): New macro.
6145 (ldexp_test_data): New variable.
6146 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6147 (scalbn_test_data): New variable.
6148 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6149
6a1992e2
JM
6150 * math/libm-test.inc (struct test_c_f_data): New type.
6151 (RUN_TEST_LOOP_c_f): New macro.
6152 (cabs_test_data): New variable.
6153 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6154 (carg_test_data): New variable.
6155 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6156 (cimag_test_data): New variable.
6157 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6158 (creal_test_data): New variable.
6159 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6160
0e400df5
JM
6161 * math/libm-test.inc (struct test_if_f_data): New type.
6162 (RUN_TEST_LOOP_if_f): New macro.
6163 (jn_test_data): New variable.
6164 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6165 (yn_test_data): New variable.
6166 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6167
6d33265c
JM
6168 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6169
f98ece5f
AZ
61702013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6171
6172 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6173 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6174
0f7d347b
SP
61752013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6176
43fe811b
SP
6177 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6178 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6179 (bench-deps): Add bench-timing.h.
6180 * benchtests-bench-skeleton.c: Include bench-timing.h.
6181 (main): Use TIMING_* macros instead of clock_gettime.
6182 * benchtests/bench-timing.h: New file.
6183
0f7d347b
SP
6184 [BZ #14582]
6185 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6186 Renamed from _LIB_VERSION.
6187 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6188
601a3a5f
JM
61892013-05-12 Joseph Myers <joseph@codesourcery.com>
6190
4f184d30
JM
6191 * math/libm-test.inc (struct test_fff_f_data): New type.
6192 (RUN_TEST_LOOP_fff_f): New macro.
6193 (fma_test_data): New variable.
6194 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6195 (fma_towardzero_test_data): New variable.
6196 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6197 (fma_downward_test_data): New variable.
6198 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6199 (fma_upward_test_data): New variable.
6200 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6201
08198877
JM
6202 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6203 (struct test_c_c_data): New type.
6204 (RUN_TEST_LOOP_c_c): New macro.
6205 (cacos_test_data): New variable.
6206 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6207 (cacosh_test_data): New variable.
6208 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6209 (casin_test_data): New variable.
6210 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6211 (casinh_test_data): New variable.
6212 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6213 (catan_test_data): New variable.
6214 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6215 (catanh_test_data): New variable.
6216 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6217 (ccos_test_data): New variable.
6218 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6219 (ccosh_test_data): New variable.
6220 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6221 (cexp_test_data): New variable.
6222 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6223 (clog_test_data): New variable.
6224 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6225 (clog10_test_data): New variable.
6226 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6227 (conj_test_data): New variable.
6228 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6229 (cproj_test_data): New variable.
6230 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6231 (csin_test_data): New variable.
6232 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6233 (csinh_test_data): New variable.
6234 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6235 (csqrt_test_data): New variable.
6236 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6237 (ctan_test_data): New variable.
6238 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6239 (ctan_tonearest_test_data): New variable.
6240 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6241 (ctan_towardzero_test_data): New variable.
6242 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6243 (ctan_downward_test_data): New variable.
6244 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6245 (ctan_upward_test_data): New variable.
6246 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6247 (ctanh_test_data): New variable.
6248 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6249 (ctanh_tonearest_test_data): New variable.
6250 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6251 (ctanh_towardzero_test_data): New variable.
6252 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6253 (ctanh_downward_test_data): New variable.
6254 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6255 (ctanh_upward_test_data): New variable.
6256 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6257 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6258 of BUILD_COMPLEX.
6259
601a3a5f
JM
6260 * math/libm-test.inc (struct test_ff_f_data): New type.
6261 (struct test_ff_f_data_nexttoward): Likewise.
6262 (RUN_TEST_LOOP_2_f): New macro.
6263 (RUN_TEST_LOOP_ff_f): Likewise.
6264 (atan2_test_data): New variable.
6265 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6266 (copysign_test_data): New variable.
6267 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6268 (fdim_test_data): New variable.
6269 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6270 (fmax_test_data): New variable.
6271 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6272 (fmin_test_data): New variable.
6273 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6274 (fmod_test_data): New variable.
6275 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6276 (hypot_test_data): New variable.
6277 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6278 (nextafter_test_data): New variable.
6279 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6280 (nexttoward_test_data): New variable.
6281 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6282 (pow_test_data): New variable.
6283 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6284 (pow_tonearest_test_data): New variable.
6285 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6286 (pow_towardzero_test_data): New variable.
6287 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6288 (pow_downward_test_data): New variable.
6289 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6290 (pow_upward_test_data): New variable.
6291 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6292 (remainder_test_data): New variable.
6293 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6294 (scalb_test_data): New variable.
6295 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6296 * sysdeps/i386/fpu/libm-test-ulps: Update.
6297
74c57478
JM
62982013-05-11 Joseph Myers <joseph@codesourcery.com>
6299
8329e4da
JM
6300 * math/libm-test.inc (fma_test): Use max_value instead of local
6301 variable fltmax.
6302 (nextafter_test): Likewise.
6303
74c57478
JM
6304 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6305 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6306 (acos_downward_test_data): New variable.
6307 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6308 (acos_upward_test_data): New variable.
6309 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6310 (acosh_test_data): New variable.
6311 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6312 (asin_test_data): New variable.
6313 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6314 (asin_tonearest_test_data): New variable.
6315 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6316 (asin_towardzero_test_data): New variable.
6317 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6318 (asin_downward_test_data): New variable.
6319 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6320 (asin_upward_test_data): New variable.
6321 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6322 (asinh_test_data): New variable.
6323 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6324 (atan_test_data): New variable.
6325 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6326 (atanh_test_data): New variable.
6327 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6328 (cbrt_test_data): New variable.
6329 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6330 (ceil_test_data): New variable.
6331 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6332 (cos_test_data): New variable.
6333 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6334 (cos_tonearest_test_data): New variable.
6335 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6336 (cos_towardzero_test_data): New variable.
6337 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6338 (cos_downward_test_data): New variable.
6339 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6340 (cos_upward_test_data): New variable.
6341 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6342 (cosh_test_data): New variable.
6343 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6344 (cosh_tonearest_test_data): New variable.
6345 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6346 (cosh_towardzero_test_data): New variable.
6347 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6348 (cosh_downward_test_data): New variable.
6349 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6350 (cosh_upward_test_data): New variable.
6351 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6352 (erf_test_data): New variable.
6353 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6354 (erfc_test_data): New variable.
6355 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6356 (exp_test_data): New variable.
6357 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6358 (exp_tonearest_test_data): New variable.
6359 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6360 (exp_towardzero_test_data): New variable.
6361 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6362 (exp_downward_test_data): New variable.
6363 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6364 (exp_upward_test_data): New variable.
6365 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6366 (exp10_test_data): New variable.
6367 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6368 (exp2_test_data): New variable.
6369 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6370 (expm1_test_data): New variable.
6371 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6372 (fabs_test_data): New variable.
6373 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6374 (floor_test_data): New variable.
6375 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6376 (j0_test_data): New variable.
6377 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6378 (j1_test_data): New variable.
6379 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6380 (log_test_data): New variable.
6381 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6382 (log10_test_data): New variable.
6383 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6384 (log1p_test_data): New variable.
6385 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6386 (log2_test_data): New variable.
6387 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6388 (logb_test_data): New variable.
6389 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6390 (logb_downward_test_data): New variable.
6391 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6392 (nearbyint_test_data): New variable.
6393 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6394 (rint_test_data): New variable.
6395 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6396 (rint_tonearest_test_data): New variable.
6397 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6398 (rint_towardzero_test_data): New variable.
6399 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6400 (rint_downward_test_data): New variable.
6401 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6402 (rint_upward_test_data): New variable.
6403 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6404 (round_test_data): New variable.
6405 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6406 (sin_test_data): New variable.
6407 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6408 (sin_tonearest_test_data): New variable.
6409 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6410 (sin_towardzero_test_data): New variable.
6411 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6412 (sin_downward_test_data): New variable.
6413 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6414 (sin_upward_test_data): New variable.
6415 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6416 (sinh_test_data): New variable.
6417 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6418 (sinh_tonearest_test_data): New variable.
6419 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6420 (sinh_towardzero_test_data): New variable.
6421 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6422 (sinh_downward_test_data): New variable.
6423 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6424 (sinh_upward_test_data): New variable.
6425 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6426 (sqrt_test_data): New variable.
6427 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6428 (tan_test_data): New variable.
6429 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6430 (tan_tonearest_test_data): New variable.
6431 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6432 (tan_towardzero_test_data): New variable.
6433 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6434 (tan_downward_test_data): New variable.
6435 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6436 (tan_upward_test_data): New variable.
6437 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6438 (tanh_test_data): New variable.
6439 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6440 (tgamma_test_data): New variable.
6441 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6442 (trunc_test_data): New variable.
6443 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6444 (y0_test_data): New variable.
6445 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6446 (y1_test_data): New variable.
6447 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6448 (significand_test_data): New variable.
6449 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6450
7187d844
CG
64512013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6452
6453 [BZ #12387]
6454 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6455
f63fae73
PT
64562013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6457
6458 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6459
8a67a4b3
AJ
64602013-05-10 Andreas Jaeger <aj@suse.de>
6461
6462 [BZ #15448]
6463 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6464 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6465
51df539d
JM
64662013-05-10 Joseph Myers <joseph@codesourcery.com>
6467
6468 * math/gen-libm-test.pl (adjust_arg): New function.
6469 (special_functions): Handle generating output in both functions
6470 and arrays.
6471 (parse_args): Likewise.
6472 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6473 $in_func argument to parse_args.
6474 * math/libm-test.inc (struct test_f_f_data): New type.
6475 (IF_ROUND_INIT_): New macro.
6476 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6477 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6478 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6479 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6480 (ROUND_RESTORE_): Likewise.
6481 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6482 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6483 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6484 (ROUND_RESTORE_FE_UPWARD): Likewise.
6485 (RUN_TEST_LOOP_f_f): New macro.
6486 (acos_test_data): New variable.
6487 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6488 (acos_tonearest_test_data): New variable.
6489 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6490
5c637fe5
SP
64912013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6492
6493 * benchtests/bench-skeleton.c (startup): Fix coding style.
6494
ab2b9461
JM
64952013-05-10 Joseph Myers <joseph@codesourcery.com>
6496
6497 [BZ #6809]
6498 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6499 negative infinity argument.
6500 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6501 negative infinity argument.
6502 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6503 negative infinity argument.
6504 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6505 domain errors.
6506
4c0fe6fe
FW
65072013-05-10 Florian Weimer <fweimer@redhat.com>
6508
6509 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6510 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6511 * iconv/iconv_prog.c (main): Likewise.
6512 * locale/programs/charmap-dir.c (charmap_readdir)
6513 (fopen_uncompressed): Likewise.
6514 * locale/programs/locfile.c (siblings_uncached)
6515 (write_locale_data): Use lstat64 instead of lstat.
6516 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6517 stat.
6518
a3375d29
AJ
65192013-05-10 Andreas Jaeger <aj@suse.de>
6520
6521 [BZ #15395]
6522 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6523 localization.
6524 Include <locale.h>.
6525
36129722
CD
65262013-05-09 Carlos O'Donell <carlos@redhat.com>
6527
6528 * elf/dl-close.c (_dl_close_worker): Add comments.
6529
faa7f811
JM
65302013-05-09 Joseph Myers <joseph@codesourcery.com>
6531
ed41ffef
JM
6532 [BZ #15359]
6533 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6534 high part of pi/2.
6535 (__ieee754_rem_pio2l): Update comments.
6536
d0213cd0
JM
6537 [BZ #15429]
6538 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6539 high part of pi/2.
6540 (__ieee754_rem_pio2l): Update comments.
6541
0d3e777a
JM
6542 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6543 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6544
24f56066
JM
6545 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6546 M_PI_4l.
6547
faa7f811
JM
6548 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6549 (M_PI_34_LOG10El): Likewise.
6550 (M_PI2_LOG10El): Likewise.
6551 (M_PI4_LOG10El): Likewise.
6552 (M_PI_LOG10El): Likewise.
6553
e9a5e0fd
AZ
65542013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6555
6556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6557
d8cd06db
JM
65582013-05-08 Joseph Myers <joseph@codesourcery.com>
6559
a0d9f9d7
JM
6560 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6561 (MINUS_ZERO_INIT): Likewise.
6562 (PLUS_INFTY_INIT): Likewise.
6563 (MINUS_INFTY_INIT): Likewise.
6564 (QNAN_VALUE_INIT): Likewise.
6565 (MAX_VALUE_INIT): Likewise.
6566 (MIN_VALUE_INIT): Likewise.
6567 (MIN_SUBNORM_VALUE_INIT): Likewise.
6568 (plus_zero): Initialize with PLUS_ZERO_INIT.
6569 (minus_zero): Initialize with MINUS_ZERO_INIT.
6570 (plus_infty): Initialize with PLUS_INFTY_INIT.
6571 (minus_infty): Initialize with MINUS_INFTY_INIT.
6572 (qnan_value): Initialize with QNAN_VALUE_INIT.
6573 (max_value): Initialize with MAX_VALUE_INIT.
6574 (min_value): Initialize with MIN_VALUE_INIT.
6575 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6576
ae08db3b
JM
6577 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6578 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6579 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6580 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6581
f44bf14a
JM
6582 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6583 (RUN_TEST_2_f): Likewise.
6584 (RUN_TEST_ff_f): Likewise.
6585 (RUN_TEST_fi_f): Likewise.
6586 (RUN_TEST_fl_f): Likewise.
6587 (RUN_TEST_fff_f): Likewise.
6588 (RUN_TEST_c_f): Likewise.
6589 (RUN_TEST_f_f1): Likewise.
6590 (RUN_TEST_fF_f1): Likewise.
6591 (RUN_TEST_fI_f1): Likewise.
6592 (RUN_TEST_ffI_f1): Likewise.
6593 (RUN_TEST_c_c): Likewise.
6594 (RUN_TEST_cc_c): Likewise.
6595 (RUN_TEST_f_i): Likewise.
6596 (RUN_TEST_f_i_tg): Likewise.
6597 (RUN_TEST_ff_i_tg): Likewise.
6598 (RUN_TEST_f_b): Likewise.
6599 (RUN_TEST_f_b_tg): Likewise.
6600 (RUN_TEST_f_l): Likewise.
6601 (RUN_TEST_f_L): Likewise.
6602 (RUN_TEST_sincos): Likewise.
6603 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6604 whether to show exceptions. Do not include ");\n" in return
6605 value.
6606 (special_functions): Output call to RUN_TEST_sincos instead of
6607 check_float calls. Update calls to new_test.
6608 (parse_args): Output call to single RUN_TEST_* macro instead of
6609 check_* calls and other assignments. Update calls to new_test.
6610
d8cd06db
JM
6611 [BZ #2546]
6612 [BZ #2560]
6613 [BZ #5159]
6614 [BZ #15426]
6615 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6616 input to result for tgamma overflow.
6617 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6618 (gamma_coeff): New variable.
6619 (NCOEFF): New macro.
6620 (gamma_positive): New function.
6621 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6622 underflow here. Use gamma_positive instead of exp (lgamma) for
6623 other arguments.
6624 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6625 (gamma_coeff): New variable.
6626 (NCOEFF): New macro.
6627 (gammaf_positive): New function.
6628 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6629 underflow here. Use gamma_positive instead of exp (lgamma) for
6630 other arguments.
6631 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6632 (gamma_coeff): New variable.
6633 (NCOEFF): New macro.
6634 (gammal_positive): New function.
6635 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6636 underflow here. Use gamma_positive instead of exp (lgamma) for
6637 other arguments.
6638 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6639 (gamma_coeff): New variable.
6640 (NCOEFF): New macro.
6641 (gammal_positive): New function.
6642 (__ieee754_gammal_r): Handle positive infinity, overflow and
6643 underflow here. Handle NaN the same as positive infinity. Remove
6644 check x < 0xffffffff for negative integers. Use gamma_positive
6645 instead of exp (lgamma) for other arguments.
6646 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6647 (gamma_coeff): New variable.
6648 (NCOEFF): New macro.
6649 (gammal_positive): New function.
6650 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6651 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6655 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6656 * sysdeps/generic/math_private.h (__gamma_productf): New
6657 prototype.
6658 (__gamma_product): Likewise.
6659 (__gamma_productl): Likewise.
6660 * math/Makefile (libm-calls): Add gamma_product.
6661 * math/libm-test.inc (tgamma_test): Add more tests.
6662 * sysdeps/i386/fpu/libm-test-ulps: Update.
6663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6664
bb7cf681
OB
66652013-05-08 Ondřej Bílka <neleai@seznam.cz>
6666
6667 * benchtests/bench-skeleton.c (main): Preheat CPU.
6668
ba853947
AJ
66692013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6670
6671 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6672
8347c74c
RM
66732013-05-07 Roland McGrath <roland@hack.frob.com>
6674
6675 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6676 and _dl_skip_args_internal.
6677
e8dd4791
CD
66782013-05-07 Carlos O'Donell <carlos@redhat.com>
6679
6680 * manual/message.texi (Message Translation): Talk about users.
6681 Message to key mapping impacts design.
6682
c7405830
RM
66832013-05-06 Roland McGrath <roland@hack.frob.com>
6684
a9173057
RM
6685 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6686
976e2f03
RM
6687 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6688
9723ffc5
RM
6689 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6690 * sysdeps/wordsize-64/glob64.c: ... here.
6691
962e6658
RM
6692 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6693 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6694 New macros.
6695
ee586a6d
RM
6696 * debug/getlogin_r_chk.c: Moved to ...
6697 * login/getlogin_r_chk.c: ... here.
6698 * debug/Makefile (routines): Move getlogin_r_chk to ...
6699 * login/Makefile (routines): ... here.
6700 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6701 * login/Versions (libc: GLIBC_2.4): ... here.
6702
355f9165
RM
6703 * io/poll.c (__poll): Renamed from poll.
6704 Add libc_hidden_def.
6705 (poll): Define as weak alias.
6706
bd9ffde6
RM
6707 * debug/ptsname_r_chk.c: Moved to ...
6708 * login/ptsname_r_chk.c: ... here.
6709 * debug/Makefile (routines): Move ptsname_r_chk to ...
6710 * login/Makefile (routines): ... here.
6711 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6712 * login/Versions (libc: GLIBC_2.4): ... here.
6713
8fb16a04
RM
6714 * posix/getlogin.c: Moved to ...
6715 * login/getlogin.c: ... here.
6716 * posix/getlogin_r.c: Moved to ...
6717 * login/getlogin_r.c: ... here.
6718 * posix/getlogin_r.c: Moved to ...
6719 * login/getlogin_r.c: ... here.
6720 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6721 * login/Makefile (routines): ... here.
6722 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6723 * login/Versions (libc: GLIBC_2.0): ... here.
6724
b99b892f
RM
6725 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6726 (setrlimit): Define as weak alias.
6727
c7405830
RM
6728 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6729 Call __ names for open, ftruncate, and close.
6730 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6731 (truncate): Define as weak alias.
6732
5bf96de5
JM
67332013-05-06 Joseph Myers <joseph@codesourcery.com>
6734
9ea3513c
JM
6735 * math/gen-libm-test.pl (parse_args): Initialize x before each
6736 test of frexp, modf and remquo.
6737
5bf96de5
JM
6738 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6739 test signgam value.
6740
16e616a7
AZ
67412013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6742
6743 [BZ #15418]
6744 [BZ #15419]
6745 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6746 internal tests.
6747 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6748
d5e82754
RM
67492013-05-06 Roland McGrath <roland@hack.frob.com>
6750
6751 * elf/dl-writev.h: New file.
6752 * elf/dl-misc.c: Include it.
6753 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6754 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6755
a7548d41
JM
67562013-05-04 Joseph Myers <joseph@codesourcery.com>
6757
b7dab1e4
JM
6758 * math/libm-test.inc (noXFails): Remove variable.
6759 (noXPasses): Likewise.
6760 (BUILD_COMPLEX_INT): Remove macro.
6761 (print_screen): Remove xfail argument.
6762 (print_screen_max_error): Likewise.
6763 (update_stats): Likewise.
6764 (print_max_error): Likewise. Update calls to other affected
6765 functions.
6766 (print_complex_max_error): Likewise.
6767 (test_single_exception): Update calls to print_screen.
6768 (test_single_errno): Likewise.
6769 (check_float_internal): Remove xfail argument. Update calls to
6770 other affected functions.
6771 (check_float): Likewise.
6772 (check_complex): Likewise.
6773 (check_int): Likewise.
6774 (check_long): Likewise.
6775 (check_bool): Likewise.
6776 (check_longlong): Likewise.
6777 (main): Don't print noXFails and noXPasses.
6778 * math/gen-libm-test.pl (top level): Don't mention expected
6779 failure handling in comment.
6780 (new_test): Don't handle expected failures.
6781 (parse_args): Don't mention expected failure handling in comment.
6782 (generate_testfile): Don't handle expected failures.
6783 (parse_ulps): Likewise.
6784 (print_ulps_file): Likewise.
6785 (get_failure): Remove function.
6786 (output_test): Don't handle expected failures.
6787 * make/README.libm-test: Don't mention expected failure handling.
6788
a7548d41
JM
6789 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6790 (minus_zero): Likewise.
6791 (plus_infty): Likewise.
6792 (minus_infty): Likewise.
6793 (qnan_value): Likewise.
6794 (max_value): Likewise.
6795 (min_value): Likewise.
6796 (min_subnorm_value): Likewise.
6797 (initialize): Do not initialize those variables dynamically.
6798
60bfd54c
RM
67992013-05-03 Roland McGrath <roland@hack.frob.com>
6800
cc0e6ed8
RM
6801 * io/open.c (__open_2): Moved to ...
6802 * io/open_2.c: ... this new file.
6803 * io/open64.c (__open64_2): Moved to ...
6804 * io/open64_2.c: ... this new file.
6805 * io/openat.c (__openat_2): Moved to ...
6806 * io/openat_2.c: ... this new file.
6807 * io/openat64.c (__openat64_2): Moved to ...
6808 * io/openat64_2.c: ... this new file.
6809 * io/Makefile (routines): Add them.
6810 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6811 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6812 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6813 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6814 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6815 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6816 (__openat64): Add hidden_ver.
6817 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6818 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6819
60bfd54c
RM
6820 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6821 Separately conditionalize setting of GLRO(dl_sysinfo) so
6822 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6823 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6824
83e7640f
AZ
68252013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6826
6827 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6828 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6829 definition.
6830 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6831 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6832 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6833 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6834 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6835
d5dc2af3
JM
68362013-05-03 Joseph Myers <joseph@codesourcery.com>
6837
c31a5b1e
JM
6838 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6839 test signgam value.
6840
d5dc2af3
JM
6841 * math/libm-test.inc (hypot_test): Do not use
6842 IGNORE_ZERO_INF_SIGN.
6843
164fd39d
AJ
68442013-05-03 Andreas Jaeger <aj@suse.de>
6845
6846 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6847 Linux 3.9.
6848 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6849 (PF_MAX): Adjust for VSOCK change.
6850
8237f48c
AZ
68512013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6852
6853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6854
9df02941
CD
68552013-05-02 Carlos O'Donell <carlos@redhat.com>
6856
6857 [BZ #15264]
6858 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6859 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6860 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6861
d422395e
DM
68622013-05-02 David S. Miller <davem@davemloft.net>
6863
6864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6865
a07c5731
OB
68662013-05-01 Ondřej Bílka <neleai@seznam.cz>
6867
6868 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6869
1324e37f
RM
68702013-05-01 Roland McGrath <roland@hack.frob.com>
6871
6872 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6873
0695940b
RS
68742013-05-01 Richard Smith <richard@metafoo.co.uk>
6875
bb5f27ad 6876 [BZ #14952]
0695940b
RS
6877 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6878 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6879 Use __attribute__ ((__gnu_inline__)).
6880 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6881 Don't use __attribute__ ((__gnu_inline__)).
6882
10de07f5
JM
68832013-05-01 Joseph Myers <joseph@codesourcery.com>
6884
6885 [BZ #15423]
6886 * math/s_catan.c (__catan): Handle small real or imaginary part of
6887 input specially to avoid spurious underflow.
6888 * math/s_catanf.c (__catanf): Likewise.
6889 * math/s_catanh.c (__catanh): Likewise.
6890 * math/s_catanhf.c (__catanhf): Likewise.
6891 * math/s_catanhl.c (__catanhl): Likewise.
6892 * math/s_catanl.c (__catanl): Likewise.
6893 * math/libm-test.inc (catan_test): Add more tests.
6894 (catanh_test): Likewise.
6895 * sysdeps/i386/fpu/libm-test-ulps: Update.
6896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6897
cb4d5414
AZ
68982013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6899
6900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6901
caf84319
JM
69022013-04-30 Joseph Myers <joseph@codesourcery.com>
6903
6904 [BZ #15416]
6905 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6906 accurately for denominator in atan2.
6907 * math/s_catanf.c (__catanf): Likewise.
6908 * math/s_catanh.c (__catanh): Likewise.
6909 * math/s_catanhf.c (__catanhf): Likewise.
6910 * math/s_catanhl.c (__catanhl): Likewise.
6911 * math/s_catanl.c (__catanl): Likewise.
6912 * math/libm-test.inc (catan_test): Add more tests.
6913 (catanh_test): Likewise.
6914 * sysdeps/i386/fpu/libm-test-ulps: Update.
6915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6916
d569c6ee
SP
69172013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6918
6dbe713d
SP
6919 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6920
f0ee064b
SP
6921 * benchtests/Makefile (bench): Remove slow benchmarks.
6922 * benchtests/atan-inputs: Add slow benchmark inputs.
6923 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6924 (BENCH_FUNC): Accept variant offset.
6925 (VARIANT): Define.
6926 * benchtests/bench-skeleton.c (main): Run benchmark for each
6927 variant.
6928 * benchtests/cos-inputs: Add slow benchmark inputs.
6929 * benchtests/exp-inputs: Likewise.
6930 * benchtests/pow-inputs: Likewise.
6931 * benchtests/sin-inputs: Likewise.
6932 * benchtests/slowatan-inputs: Remove.
6933 * benchtests/slowatan.c: Remove.
6934 * benchtests/slowcos-inputs: Remove.
6935 * benchtests/slowcos.c: Remove.
6936 * benchtests/slowexp-inputs: Remove.
6937 * benchtests/slowexp.c: Remove.
6938 * benchtests/slowpow-inputs: Remove.
6939 * benchtests/slowpow.c: Remove.
6940 * benchtests/slowsin-inputs: Remove.
6941 * benchtests/slowsin.c: Remove.
6942 * benchtests/slowtan-inputs: Remove.
6943 * benchtests/slowtan.c: Remove.
6944 * benchtests/tan-inputs: Add slow benchmark inputs.
6945 * scripts/bench.pl: Parse comments and directives.
6946
d569c6ee
SP
6947 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6948 in CPPFLAGS.
6949 ($(objpfx)bench-%.c): Remove *-ITER.
6950 * benchtests/bench-modf.c: Remove definition of ITER.
6951 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6952 (main): Loop for DURATION seconds instead of fixed number of
6953 iterations.
6954 * scripts/bench.pl: Don't expect iterations in parameters.
6955
a6a242fe
RM
69562013-04-29 Roland McGrath <roland@hack.frob.com>
6957
6958 * io/fchdir.c (__fchdir): Renamed from fchdir.
6959 (fchdir): Define as weak alias.
6960
f2da7793
JM
69612013-04-29 Joseph Myers <joseph@codesourcery.com>
6962
6963 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6964 (ERRNO_EDOM): Likewise.
6965 (ERRNO_ERANGE): Likewise.
6966 (noErrnoTests): New variable.
6967 (init_max_error): Set errno to 0.
6968 (test_single_errno): New function.
6969 (test_errno): Likewise.
6970 (check_float_internal): Call test_errno. Set errno to 0.
6971 (check_complex): Refer to errno tests in comment.
6972 (check_int): Call test_errno. Set errno to 0.
6973 (check_long): Likewise.
6974 (check_bool): Likewise.
6975 (check_longlong): Likewise.
6976 (cos_test): Use ERRNO_* flags for errno tests instead of
6977 check_int.
6978 (expm1_test): Likewise.
6979 (fmod_test): Likewise.
6980 (ilogb_test): Likewise.
6981 (lgamma_test): Likewise.
6982 (pow_test): Likewise.
6983 (remainder_test): Likewise.
6984 (sin_test): Likewise.
6985 (tan_test): Likewise.
6986 (yn_test): Likewise.
6987 (initialize): Set errno to 0.
6988 (main): Print number of errno tests.
6989 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6990
b1a36ceb
AJ
69912013-04-29 Andreas Jaeger <aj@suse.de>
6992
c3ed8088
AJ
6993 [BZ #15084]
6994 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6995 and RES_USEVC.
6996
f1a24198
AJ
6997 [BZ #15085]
6998 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6999 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7000 unimplemented.
7001
9ce3b2cb
AJ
7002 [BZ #15380]
7003 * stdlib/random.c (__initstate): Return NULL if
7004 __initstate fails.
7005
f1a24198 7006 [BZ #15086]
b1a36ceb
AJ
7007 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7008 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7009 RES_SNGLKUPREOP.
7010
7e7b6f36
AZ
70112013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7012
7013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7014
4d14f449
JM
70152013-04-29 Joseph Myers <joseph@codesourcery.com>
7016
7017 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7018 of individual tests.
7019 (casin_test): Likewise.
7020 (casinh_test): Likewise.
7021
5b4217d7
JM
70222013-04-27 Joseph Myers <joseph@codesourcery.com>
7023
7024 [BZ #15409]
7025 * math/s_catan.c (__catan): Handle arguments with large real or
7026 imaginary part separately without squaring.
7027 * math/s_catanf.c (__catanf): Likewise.
7028 * math/s_catanh.c (__catanh): Likewise.
7029 * math/s_catanhf.c (__catanhf): Likewise.
7030 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7031 and redefine.
7032 (__catanhl): Handle arguments with large real or imaginary part
7033 separately without squaring.
7034 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7035 and redefine.
7036 (__catanl): Handle arguments with large real or imaginary part
7037 separately without squaring.
7038 * math/libm-test.inc (catan_test): Add more tests.
7039 (catanh_test): Likewise.
7040 * sysdeps/i386/fpu/libm-test-ulps: Update.
7041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7042
4220c3ef
AJ
70432013-04-27 Andreas Jaeger <aj@suse.de>
7044
7045 [BZ #15007]
7046 * stdlib/stdlib.h: Update guards for qecvt.
7047 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7048 <stdlib.h>.
7049
4721b2d1
AM
70502013-04-27 Allan McRae <allan@archlinux.org>
7051
7052 * sysdeps/i386/fpu/libm-test-ulps: Update.
7053
f0302940
JM
70542013-04-26 Joseph Myers <joseph@codesourcery.com>
7055
9457fd95
JM
7056 [BZ #15406]
7057 * math/s_catan.c: Include <float.h>.
7058 (__catan): Ensure underflow exception occurs for underflowed
7059 result.
7060 * math/s_catanf.c: Include <float.h>.
7061 (__catanf): Ensure underflow exception occurs for underflowed
7062 result.
7063 * math/s_catanh.c: Include <float.h>.
7064 (__catanh): Ensure underflow exception occurs for underflowed
7065 result.
7066 * math/s_catanhf.c: Include <float.h>.
7067 (__catanhf): Ensure underflow exception occurs for underflowed
7068 result.
7069 * math/s_catanhl.c: Include <float.h>.
7070 (__catanhl): Ensure underflow exception occurs for underflowed
7071 result.
7072 * math/s_catanl.c: Include <float.h>.
7073 (__catanl): Ensure underflow exception occurs for underflowed
7074 result.
7075 * math/libm-test.inc (catan_test): Add more tests.
7076 (catanh_test): Likewise.
7077
f0302940
JM
7078 [BZ #15405]
7079 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7080 underflowed result.
7081 * math/s_ccoshf.c (__ccoshf): Likewise.
7082 * math/s_ccoshl.c (__ccoshl): Likewise.
7083 * math/s_csin.c (__csin): Likewise.
7084 * math/s_csinf.c (__csinf): Likewise.
7085 * math/s_csinh.c (__csinh): Likewise.
7086 * math/s_csinhf.c (__csinhf): Likewise.
7087 * math/s_csinhl.c (__csinhl): Likewise.
7088 * math/s_csinl.c (__csinl): Likewise.
7089 * math/libm-test.inc (ccos_test): Add more tests.
7090 (ccosh_test): Likewise.
7091 (csin_test): Likewise.
7092 (csinh_test): Likewise.
7093
aa630f59
AZ
70942013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7095
7096 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7097 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7098 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7099 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7100 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7101 powerpc/power5+/fpu folders.
7102 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7103
7104
1b835983
MT
71052013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7106
7107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7108
73709b26
JM
71092013-04-25 Joseph Myers <joseph@codesourcery.com>
7110
7111 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7112 additions to variable.
7113 [$(config-machine) = x86_64] (modules-names): Likewise.
7114 ($(objpfx)tst-audit3): Remove dependency.
7115 ($(objpfx)tst-audit3.out): Likewise.
7116 ($(objpfx)tst-audit4): Likewise.
7117 ($(objpfx)tst-audit4.out): Likewise.
7118 ($(objpfx)tst-audit5): Likewise.
7119 ($(objpfx)tst-audit5.out): Likewise.
7120 ($(objpfx)tst-audit6): Likewise.
7121 ($(objpfx)tst-audit6.out): Likewise.
7122 ($(objpfx)tst-audit7): Likewise.
7123 ($(objpfx)tst-audit7.out): Likewise.
7124 (tst-audit3-ENV): Remove variable.
7125 (tst-audit4-ENV): Likewise.
7126 (tst-audit5-ENV): Likewise.
7127 (tst-audit6-ENV): Likewise.
7128 (tst-audit7-ENV): Likewise.
7129 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7130 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7131 addition to variable.
7132 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7133 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7134 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7135 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7136 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7137 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7138 tst-audit3, tst-audit4 and tst-audit5.
7139 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7140 tst-audit6 and tst-audit7.
7141 [$(subdir) = elf] (modules-names): Add audit modules for those
7142 tests.
7143 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7144 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7145 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7146 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7147 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7148 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7149 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7150 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7151 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7152 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7153 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7154 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7155 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7156 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7157 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7158 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7159 Likewise.
7160 [$(subdir) = elf && $(config-cflags-avx) = yes]
7161 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7162 [$(subdir) = elf && $(config-cflags-avx) = yes]
7163 (CFLAGS-tst-auditmod4a.c): Likewise.
7164 [$(subdir) = elf && $(config-cflags-avx) = yes]
7165 (CFLAGS-tst-auditmod4b.c): Likewise.
7166 [$(subdir) = elf && $(config-cflags-avx) = yes]
7167 (CFLAGS-tst-auditmod6b.c): Likewise.
7168 [$(subdir) = elf && $(config-cflags-avx) = yes]
7169 (CFLAGS-tst-auditmod6c.c): Likewise.
7170 [$(subdir) = elf && $(config-cflags-avx) = yes]
7171 (CFLAGS-tst-auditmod7b.c): Likewise.
7172 * elf/tst-audit3.c: Move to ...
7173 * sysdeps/x86_64/tst-audit3.c: ... here.
7174 * elf/tst-audit4.c: Move to ...
7175 * sysdeps/x86_64/tst-audit4.c: ... here.
7176 * elf/tst-audit5.c: Move to ...
7177 * sysdeps/x86_64/tst-audit5.c: ... here.
7178 * elf/tst-audit6.c: Move to ...
7179 * sysdeps/x86_64/tst-audit6.c: ... here.
7180 * elf/tst-audit7.c: Move to ...
7181 * sysdeps/x86_64/tst-audit7.c: ... here.
7182 * elf/tst-auditmod3a.c: Move to ...
7183 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7184 * elf/tst-auditmod3b.c: Move to ...
7185 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7186 * elf/tst-auditmod4a.c: Move to ...
7187 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7188 * elf/tst-auditmod4b.c: Move to ...
7189 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7190 * elf/tst-auditmod5a.c: Move to ...
7191 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7192 * elf/tst-auditmod5b.c: Move to ...
7193 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7194 * elf/tst-auditmod6a.c: Move to ...
7195 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7196 * elf/tst-auditmod6b.c: Move to ...
7197 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7198 * elf/tst-auditmod6c.c: Move to ...
7199 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7200 * elf/tst-auditmod7a.c: Move to ...
7201 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7202 * elf/tst-auditmod7b.c: Move to ...
7203 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7204
1ef74943
PP
72052013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7206
7207 [BZ #15366]
7208 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7209 define unconditionally.
7210 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7211 define unconditionally.
7212 (INT8_C, INT16_C, etc.): Likewise.
7213
93fd48c5
MR
72142013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7215
ae9552cf
MR
7216 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7217 __ehdr_start with hidden visibility.
7218
93fd48c5
MR
7219 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7220
418601aa
CD
72212013-04-24 Carlos O'Donell <carlos@redhat.com>
7222
7223 * math/libm-test.inc (cos_test): Use accurate hex constants.
7224 (sincost_test): Likewise.
7225
2f38fbfe
JM
72262013-04-24 Joseph Myers <joseph@codesourcery.com>
7227
5e221800
JM
7228 * math/libm-test.inc (catan_test): Add more tests.
7229 (catanh_test): Likewise.
7230
77f143fd
JM
7231 * math/s_catanf.c (__catanf): Use suffixed floating-point
7232 constants.
7233 * math/s_catanhf.c (__catanhf): Likewise.
7234 * math/s_catanhl.c (__catanhl): Likewise.
7235 * math/s_catanl.c (__catanl): Likewise.
7236
2f38fbfe
JM
7237 [BZ #15394]
7238 * math/s_catan.c (__catan): Calculate imaginary part of result
7239 with log1p not log unless computing log of number close to 0.
7240 * math/s_catanf.c (__catanf): Likewise.
7241 * math/s_catanl.c (__catanl): Likewise.
7242 * math/s_catanh.c (__catanh): Calculate real part of result with
7243 log1p not log unless computing log of number close to 0.
7244 * math/s_catanhf.c (__catanhf): Likewise.
7245 * math/s_catanhl.c (__catanhl): Likewise.
7246 * math/libm-test.inc (catan_test): Add more tests.
7247 (catanh_test): Likewise.
7248 * sysdeps/i386/fpu/libm-test-ulps: Update.
7249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7250
45d69176
SP
72512013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7252
7253 * benchtests/Makefile: Mention files in which fast and slow
7254 paths of math functions are implemented.
7255
87f51853
RM
72562013-04-23 Roland McGrath <roland@hack.frob.com>
7257
7258 * sysdeps/posix/timespec_get.c: New file.
7259
3c026539
AZ
72602013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7261
7262 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7263 POWER.
7264 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7265 for POWER.
7266 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7267 powerpc/power5/fpu folders.
7268 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7269 * benchtests/Makefile: Add modf testcase.
7270 * benchtests/bench-modf.c: New file: Benchmark test for mo
7271
ff491d14
SP
72722013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7273
7274 [BZ #14888]
7275 * time/Makefile (tests): Add tst-strptime-whitespace.
7276 * time/strptime_l.c (get_number): Use ISSPACE.
7277 (__strptime_internal): Likewise.
7278 * time/tst-strptime-whitespace.c: New test case.
7279
7ed3f4e8
AS
72802013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7281
7282 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7283 member.
7284 (_nss_files_init): Set it here.
7285
5c95f7b6
HC
72862013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7287
7288 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7289 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7290 unsigned.
7291
d34c9158
JBG
72922013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7293
7294 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7295
2169712d
SP
72962013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7297
7298 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7299 size just once.
7300
29c5de99
DM
73012013-04-21 David S. Miller <davem@davemloft.net>
7302
7303 * po/ru.po: Update Russion translation from translation project.
7304
ccdad15d
AC
73052013-04-17 Adam Conrad <adconrad@0c3.net>
7306
7307 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7308 and setfsgid.
7309
0f122b8d
CD
73102013-04-17 Carlos O'Donell <carlos@redhat.com>
7311
5c5b07da 7312 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7313 * configure: Regenerate.
5c5b07da 7314 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7315 Add example to error message.
7316 * sysdeps/i386/configure: Regenerate.
7317
037714dd
SP
73182013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7319
7320 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7321 slowtan.
7322 * benchtests/cos-inputs: New file.
7323 * benchtests/slowcos-inputs: New file.
7324 * benchtests/slowcos.c: New file.
7325 * benchtests/slowtan-inputs: New file.
7326 * benchtests/slowtan.c: New file.
7327 * benchtests/tan-inputs: New file.
7328
e913141d
RM
73292013-04-16 Roland McGrath <roland@hack.frob.com>
7330
7331 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7332 considered kosher.
7333
a2964074
SP
73342013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7335
4856bcd2
SP
7336 * benchtests/Makefile: Include cppflags-iterator.mk to add
7337 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7338
a2964074
SP
7339 * Makefile.in (bench-clean): New target.
7340 * benchtests/Makefile (bench-clean): Likewise.
7341
9fbf9aca
DH
73422013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7343
7344 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7345
207d1e2a
TS
73462013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7347
7348 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7349
306dfba9
AS
73502013-04-15 Andreas Schwab <schwab@suse.de>
7351
7352 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7354 * nscd/pwdcache.c (cache_addpw): Likewise.
7355 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7356 more than recsize.
7357
206a6699
SP
73582013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7359
7360 * benchtests/Makefile (bench): Write all output to
7361 bench-out.tmp together.
7362
0582f6b3
AS
73632013-04-15 Andreas Schwab <schwab@suse.de>
7364
7365 * nscd/nscd.c (main): Don't fork again after closing files.
7366
acb4325f
SP
73672013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7368
5cb26d0a
SP
7369 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7370
acb4325f
SP
7371 * benchtests/Rules (bench-deps): Collect dependencies into a
7372 single variable. Add Makefile to dependencies.
7373 ($(objpfx)bench-%.c): Depend on bench-deps.
7374
47792506
RM
73752013-04-12 Roland McGrath <roland@hack.frob.com>
7376 Xavier Roche <roche+kml2@exalead.com>
7377
7378 [BZ #15361]
7379 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7380 just that it's a file descriptor.
7381 * manual/llio.texi (Synchronizing AIO Operations): Update description
7382 for EBADF error from aio_fsync.
7383
8fc1bee5
SP
73842013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7385
7386 * Rules (bench): Move target definition...
7387 * benchtests/Makefile: ... here.
7388
aba5e333
CD
73892013-04-11 Carlos O'Donell <carlos@redhat.com>
7390
7391 * math/libm-test.inc (cos_test): Fix PI/2 test.
7392 (sincos_test): Likewise.
7393 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7394 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7395
273cdee8
AS
73962013-04-11 Andreas Schwab <schwab@suse.de>
7397
6ecec3b6
AS
7398 [BZ #13988]
7399 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7400 accept exponent character only when digits were seen.
7401 * stdio-common/Makefile (tests): Add bug26.
7402 * stdio-common/bug26.c: New file.
7403
273cdee8
AS
7404 [BZ #14293]
7405 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7406 non-freeable.
7407
8da491f5
SP
74082013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7409
01dc6df9
SP
7410 * Makeconfig (rtld-prefix): Define built linker prefix.
7411 * Rules (run-bench): Use it.
7412 * math/Makefile (run-regen-ulps): Likewise.
7413
8da491f5
SP
7414 * Rules (bench): Remove eval.
7415
abe7f530
SP
74162013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7417 Roland McGrath <roland@hack.frob.com>
7418 Ondrej Bilka <neleai@seznam.cz>
7419
7420 [BZ #15346]
7421 * time/getdate.c: Include ctype.h and alloca.h.
7422 (__getdate_r): Trim leading and trailing spaces of input.
7423 * time/tst-getdate.c (tests): Add tests with leading and
7424 trailing spaces.
7425
61c23e62
RM
74262013-04-08 Roland McGrath <roland@hack.frob.com>
7427
7428 [BZ #14280]
7429 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7430 when computing value.
7431
7208a313
CD
74322013-04-06 Carlos O'Donell <carlos@redhat.com>
7433
085b2d41
CD
7434 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7435 Use testrun.sh to run libm tests.
7436
7208a313
CD
7437 [BZ #15309]
7438 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7439
872c0acd
MM
74402013-04-06 Marko Myllynen <myllynen@redhat.com>
7441
7442 [BZ #15264]
7443 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7444
26510bdd
CD
74452013-04-06 Carlos O'Donell <carlos@redhat.com>
7446
7447 * Makefile.in (regen-ulps): New target.
7448 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7449 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7450 [ifneq (no,$(PERL)] (regen-ulps): New target.
7451 [ifeq (no,$(PERL)] (regen-ulps): New target.
7452 * math/libm-test.inc (ulps_file_name): Define.
7453 (output_dir): New variable.
7454 (options): Add "output-dir" option.
7455 (parse_opt): Handle 'o' case.
7456 (main): If output_dir is non-NULL use it as a prefix
7457 otherwise use "".
7458 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7459
a01f19c8
CD
74602013-04-06 Carlos O'Donell <carlos@redhat.com>
7461
7462 [BZ #10060, #10062]
7463 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7464 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7465 fail configure if __sync_val_compare_and_swap is not inlined.
7466 * sysdeps/i386/configure: Regenerate.
7467 * configure.in: Build for i686 when configured for i386.
7468 * configure: Regenerate.
7469 * README: Remove i386 reference.
7470
b7a329a5
CD
74712013-04-06 Carlos O'Donell <carlos@redhat.com>
7472
7473 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7474 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7475
bf0f50df
TS
74762013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7477
ee091edf
TS
7478 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7479 (lmsnanval): New variables.
7480 (F): Add conversion tests.
7481 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7482 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7483
a8b792d6
TS
7484 * stdio-common/tstdiomisc.c (F): Properly collect individual
7485 tests' results.
7486
a1cbf437
TS
7487 [BZ #14686, #15336]
7488 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7489 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7490 Instead, use input NaN values or generate a qNaN by arithmetic
7491 operation. Also fix bugs to comply with the standard.
7492 * math/libm-test.inc (remainder_test): Add more tests.
7493
8b43a0c9
TS
7494 [BZ #15335, #15342]
7495 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7497 input NaN values or generate a qNaN by arithmetic operation.
7498
d91da4ce
TS
7499 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7500 unreachable code.
7501
bf0f50df
TS
7502 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7503 definitions.
7504
05e166c8
JM
75052013-04-03 Joseph Myers <joseph@codesourcery.com>
7506
7507 [BZ #14478]
7508 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7509 underflowed result.
7510 * math/s_cexpf.c (__cexpf): Likewise.
7511 * math/s_cexpl.c (__cexpl): Likewise.
7512 * math/libm-test.inc (cexp_test): Add more tests.
7513
1cef1b19
AS
75142013-04-03 Andreas Schwab <schwab@suse.de>
7515
7516 [BZ #15330]
7517 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7518 order arrays from heap if bigger than alloca cutoff.
7519
74d87055
TS
75202013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7521
7522 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7523 (SNAN_TESTS_double): Refer to GCC PR56831.
7524 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7525 GCC PR56828.
7526
d755bba4
SP
75272013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7528
90d5d5bb
SP
7529 * Rules (bench): Move bench.out after the run is complete.
7530
73e0cd5d
SP
7531 * Rules (bench): Echo currently running benchmark.
7532
64aabd4b
SP
7533 * benchtests/Makefile (bench): Add atan and slowatan.
7534 * benchtests/atan-inputs: New file.
7535 * benchtests/slowatan-inputs: New file.
7536 * benchtests/slowatan.c: New file.
7537
c871eccd
SP
7538 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7539 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7540 its value.
7541
d755bba4
SP
7542 [BZ #15305]
7543 * sysdeps/unix/sysv/linux/kernel-features.h
7544 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7545 __ASSUME_XFS_RESTRICTED_CHOWN.
7546 * sysdeps/unix/sysv/linux/pathconf.c
7547 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7548 Save and restore errno.
7549
52ce4860
JM
75502013-04-02 Joseph Myers <joseph@codesourcery.com>
7551
7552 [BZ #15327]
7553 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7554 arguments using __kernel_casinh.
7555 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7556 arguments using __kernel_casinhf.
7557 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7558 arguments using __kernel_casinhl.
7559 * math/libm-test.inc (cacosh_test): Add more tests.
7560 * sysdeps/i386/fpu/libm-test-ulps: Update.
7561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7562
81f311c2
SP
75632013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7564
e7906a47
SP
7565 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7566 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7567
92e3664b
SP
7568 * bench/Makefile (bench): Add sin and slowsin.
7569 * benchtests/sin-inputs: New file.
7570 * benchtests/slowsin-inputs: New file.
7571 * benchtests/slowsin.c: New file.
7572
81f311c2
SP
7573 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7574 (bench): Add slowexp and slowpow.
7575 (exp-ITER): Increase iterations.
7576 (pow-ITER): Likewise.
7577 * benchtests/exp-inputs: Change input.
7578 * benchtests/pow-inputs: Likewise.
7579 * benchtests/slowexp-inputs: New file.
7580 * benchtests/slowexp.c: New file.
7581 * benchtests/slowpow-inputs: New file.
7582 * benchtests/slowpow.c: New file.
7583
ab0f1aa9
AZ
75842013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7585
7586 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7587 instructions.
7588 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7589 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7590 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7591 * benchtests/Makefile: Add rint benchtest.
7592 * benchtests/rint-inputs: Input for rint benchtest.
7593
57267616
TS
75942013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7595
7596 * Versions.def (libm): Add GLIBC_2.18.
7597 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7598 hidden libm prototypes.
7599 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7600 * math/Makefile (libm-calls): Add s_issignaling.
7601 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7602 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7603 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7604 declaration.
7605 * math/math.h [__USE_GNU] (issignaling): New macro.
7606 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7607 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7608 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7612 * manual/arith.texi (issignaling): New section.
7613 * manual/libm-err-tab.pl (@all_functions): Update comment.
7614 * math/gen-libm-test.pl (parse_args): Apply special handling for
7615 issignaling.
7616 * math/libm-test.inc (print_float, issignaling_test): New
7617 functions.
7618 (check_float_internal): Add issignaling checks.
7619 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7620 default definition.
7621 * sysdeps/powerpc/math-tests.h: New file.
7622 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7623 tests.
7624 * math/test-snan.c (TEST_FUNC): Likewise.
7625
6142896d
DM
76262013-03-30 David S. Miller <davem@davemloft.net>
7627
7628 * po/de.po: Update from translation team.
7629
ccc8cadf
JM
76302013-03-30 Joseph Myers <joseph@codesourcery.com>
7631
7632 [BZ #10357]
7633 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7634 imaginary part less than 1.0 and real part less than 0.5
7635 specially.
7636 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7637 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7638 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7639 (cacos_test): Add more tests.
7640 (casin_test): Likewise.
7641 (casinh_test): Likewise.
7642 * sysdeps/i386/fpu/libm-test-ulps: Update.
7643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7644
0f6a8d4b
SP
76452013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7646
0d1029de
SP
7647 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7648 ONE with its value.
7649
c2d94018
SP
7650 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7651 (__pow_mp): Replace ONE and MONE with their values.
7652 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7653 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7654 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7655 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7656 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7657 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7658
27ec37f1
SP
7659 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7660
a64d7e0e
SP
7661 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7662 (__pow_mp): Replace ZERO and MZERO with their values.
7663 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7664 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7665 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7666 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7667 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7668 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7669 (__sqr): Likewise.
7670
d26dd3eb
SP
7671 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7672
0f6a8d4b
SP
7673 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7674
e57b0c61
RM
76752013-03-28 Roland McGrath <roland@hack.frob.com>
7676
7677 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7678 Declare with __attribute__ ((weak)).
7679 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7680 Call __call_tls_dtors only if it's not NULL.
7681
356b3480
RM
76822013-03-28 Roland McGrath <roland@hack.frob.com>
7683
288f7d79
RM
7684 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7685 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7686 magic __ehdr_start linker symbol if it's defined.
7687 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7688 them up here if it was already done.
7689
dc0a0263
RM
7690 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7691 (_dl_aux_init): Use const in cast when setting it.
7692 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7693 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7694 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7695
3d3436ae
RM
7696 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7697 Declare them here.
7698 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7699 * csu/libc-tls.c: Nor here.
7700 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7701
356b3480
RM
7702 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7703 (__libc_message): Never call vsyslog.
7704
b0f1246a
AM
77052013-03-28 Alan Modra <amodra@gmail.com>
7706
7707 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7708 Define as empty.
7709 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7710 Likewise.
7711
fbbe2b9a
AZ
77122013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7713
7714 [BZ #15214]
7715 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7716 underflow.
7717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7718
1728ab37
SP
77192013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7720
7a86be6e
SP
7721 [BZ #15304]
7722 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7723 Don't add gid passed as argument.
7724
1728ab37
SP
7725 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7726
3a7182a1
JM
77272013-03-27 Joseph Myers <joseph@codesourcery.com>
7728
7729 [BZ #15307]
7730 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7731 imaginary part between 1.0 and 1.5 and real part less than 0.5
7732 specially.
7733 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7734 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7735 * math/libm-test.inc (cacos_test): Add more tests.
7736 (casin_test): Likewise.
7737 (casinh_test): Likewise.
7738 * sysdeps/i386/fpu/libm-test-ulps: Update.
7739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7740
6f2e90e7
SP
77412013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7742
5739f705
SP
7743 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7744 constants.
7745 (norm): Likewise.
7746 (denorm): Likewise.
7747 (__dbl_mp): Likewise.
7748 (add_magnitudes): Likewise.
7749 (sub_magnitudes): Likewise.
7750 (__add): Likewise.
7751 (__sub): Likewise.
7752 (__mul): Likewise.
7753 (__sqr): Likewise.
7754 (__inv): Likewise.
7755 (__dvd): Likewise.
7756
e375e83d
SP
7757 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7758 commented code.
7759 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7760 (__dubcos): Likewise.
7761 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7762 (__ieee754_acos): Likewise.
7763 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7764 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7765 (__exp1): Likewise.
7766 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7767 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7768 (log1): Likewise.
7769 (my_log2): Likewise.
7770 (checkint): Likewise.
7771 * sysdeps/ieee754/dbl-64/e_remainder.c
7772 (__ieee754_remainder): Likewise.
7773 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7774 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7775 (bsloww): Likewise.
7776 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7777
6f2e90e7
SP
7778 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7779 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7780 MANTISSA_STORE_T to store computations on mantissa. Use
7781 macros for rounding and division.
7782 (denorm): Likewise.
7783 (__dbl_mp): Likewise.
7784 (add_magnitudes): Likewise.
7785 (sub_magnitudes): Likewise.
7786 (__mul): Likewise.
7787 (__sqr): Likewise.
7788 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7789 powers of two in terms of TWOPOW macro.
7790 (mp_no): Make type of mantissa as MANTISSA_T.
7791 [!RADIXI]: Define RADIXI.
7792 [!TWO52]: Define TWO52.
7793 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7794
fce14d4e
AZ
77952013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7796
7797 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7798 llroundl symbol when building for PPC32.
7799
9ad027fb
MW
78002013-03-24 Mark H Weaver <mhw@netris.org>
7801
7802 * manual/arith.texi (Normalization Functions): Fix prototypes for
7803 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7804
e42a38dd
AZ
78052013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7806
7807 [BZ #13889]
7808 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7809 high value to check if expl overflow.
7810 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7811 to check for underflow and overflow.
7812 * math/libm-test.inc: Add exp test.
7813
2e0fb521
DL
78142013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7815
7816 [BZ #11120]
7817 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7818 with NOT_IN_libc.
7819
b5784d95
AZ
78202013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7821
7822 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7823 symbol.
7824
5aa4a1a1
TS
78252013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7826
bdef0be7
TS
7827 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7828 wrap blocks consisting of several statements.
7829
5aa4a1a1
TS
7830 * sysdeps/generic/math-tests.h: New file.
7831 * sysdeps/i386/fpu/math-tests.h: Likewise.
7832 * math/test-snan.c: Include it.
7833 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7834
98c48fe5
JM
78352013-03-21 Joseph Myers <joseph@codesourcery.com>
7836
7837 [BZ #15285]
7838 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7839 (__ieee754_j0l): Do not improve calculations using cos of twice
7840 input for inputs above LDBL_MAX / 2.0L.
7841 (__ieee754_y0l): Likewise.
7842 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7843 (__ieee754_j1l): Do not improve calculations using cos of twice
7844 input for inputs above LDBL_MAX / 2.0L.
7845 (__ieee754_y1l): Likewise.
7846 * math/libm-test.inc (j0_test): Add another test.
7847 (j1_test): Likewise.
7848 (y0_test): Likewise.
7849 (y1_test): Likewise.
7850 * sysdeps/i386/fpu/libm-test-ulps: Update.
7851
3775a8bc
SP
78522013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7853
7854 * Rules ($(objpfx)bench-%.c): Include code from a C source
7855 file.
7856
0a1b2ae6
JM
78572013-03-21 Joseph Myers <joseph@codesourcery.com>
7858
7859 [BZ #15287]
7860 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7861 imaginary part 1.0 and real part less than 0.5 specially.
7862 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7863 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7864 * math/libm-test.inc (cacos_test): Add more tests.
7865 (casin_test): Likewise.
7866 (casinh_test): Likewise.
7867 * sysdeps/i386/fpu/libm-test-ulps: Update.
7868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7869
b33d4ce4
SP
78702013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7871
7872 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7873 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7874
bef0b507
JM
78752013-03-20 Joseph Myers <joseph@codesourcery.com>
7876
7877 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7878 * config.make.in (config-cflags-sse4): Remove variable.
7879 (config-cflags-avx): Likewise.
7880 (config-cflags-sse2avx): Likewise.
7881 (config-cflags-novzeroupper): Likewise.
7882 (config-asflags-i686): Likewise.
7883 (have-mfma4): Likewise.
7884 (have-as-vis3): Likewise.
7885 (MIG): Likewise.
7886 * configure.in (MIG): Do not AC_SUBST.
7887 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7888 (libc_cv_cc_sse4): Do not AC_SUBST.
7889 (libc_cv_cc_avx): Likewise.
7890 (libc_cv_cc_sse2avx): Likewise.
7891 (libc_cv_cc_novzeroupper): Likewise.
7892 (libc_cv_cc_fma4): Likewise.
7893 (libc_cv_as_i686): Likewise.
7894 (libc_cv_sparc_as_vis3): Likewise.
7895 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7896 LIBC_CONFIG_VAR.
7897 (config-asflags-i686): Likewise.
7898 (config-cflags-avx): Likewise.
7899 (config-cflags-sse2avx): Likewise.
7900 (have-mfma4): Likewise.
7901 (config-cflags-novzeroupper): Likewise.
7902 * sysdeps/mach/configure.in (MIG): Likewise.
7903 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7904 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7905 LIBC_CONFIG_VAR.
7906 (config-cflags-avx): Likewise.
7907 (config-cflags-sse2avx): Likewise.
7908 (have-mfma4): Likewise.
7909 (config-cflags-novzeroupper): Likewise.
7910 * configure: Regenerated.
7911 * sysdeps/i386/configure: Likewise.
7912 * sysdeps/mach/configure: Likewise.
7913 * sysdeps/sparc/configure: Likewise.
7914 * sysdeps/x86_64/configure: Likewise.
7915
912cc4b3
RM
79162013-03-20 Roland McGrath <roland@hack.frob.com>
7917
7918 [BZ #14812]
7919 * locale/programs/localedef.c (options): Put N_ translation marker
7920 on argument names, not just descriptions.
7921
04eed2b0
MS
79222013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7923
7924 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7925
a065ceff
OB
79262013-03-20 Ondřej Bílka <neleai@seznam.cz>
7927
9bb2a810 7928 [BZ #14176]
a065ceff
OB
7929 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7930
a600e5ce
RM
79312013-03-19 Roland McGrath <roland@hack.frob.com>
7932
7933 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7934 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7935 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7936 [!BEFORE_ABORT] (before_abort): New function.
7937 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7938 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7939 (writev_for_fatal): New function.
7940 (WRITEV_FOR_FATAL): New macro; call that.
7941 (backtrace_and_maps): New function.
7942 (BEFORE_ABORT): New macro; call that.
7943 (struct str_list): Type removed.
7944 (__libc_message, __libc_fatal): Functions removed.
7945 Include <sysdeps/posix/libc_fatal.c> instead.
7946
6b18bea6
JM
79472013-03-19 Joseph Myers <joseph@codesourcery.com>
7948
7949 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7950 constants.
7951 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7952 double constants.
7953
aaa8cb4b
AS
79542013-03-19 Andreas Schwab <schwab@suse.de>
7955
44673770
AS
7956 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7957 * sysdeps/gnu/configure: Regenerate.
7958
aaa8cb4b
AS
7959 * configure.in: Substitute libc_cv_rtlddir.
7960 * configure: Regenerate.
7961 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7962 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7963 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7964 * elf/Makefile (install-others, CFLAGS-interp.c)
7965 (ldso_install, common-ldd-rewrite): Likewise.
7966 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7967 $(inst_slibdir)/$(rtld-installed-name).
7968 * scripts/rellns-sh: Add -p option.
7969 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7970 for source.
7971
d3cfc668
SP
79722013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7973
7974 * manual/nptl.texi: Renamed to ...
7975 * manual/threads.texi: ... this.
7976 * manual/Makefile (chapters): Update.
7977
0e2b9cdd
RM
79782013-03-18 Roland McGrath <roland@hack.frob.com>
7979
7980 [BZ #14812]
7981 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7982 on argument names, not just descriptions.
0e2b9cdd
RM
7983 * malloc/memusagestat.c (options): Likewise.
7984 * nss/getent.c (options): Likewise.
63270c24
RM
7985
79862013-03-18 Benno Schulenberg <bensberg@justemail.net>
7987
7988 [BZ #14812]
7989 * iconv/iconv_prog.c (options): Put N_ translation marker
7990 on argument names, not just descriptions.
7991 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7992
b2e1393c
OB
79932013-03-18 Ondrej Bilka <neleai@seznam.cz>
7994
7995 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7996 implementation which is faster on all x86_64 architectures.
7997 Tested on AMD, Intel Nehalem, SNB, IVB.
7998 * sysdeps/x86_64/strnlen.S: Likewise.
7999
8000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8001 Remove all multiarch strlen and strnlen versions.
8002 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8003 Remove strlen and strnlen related parts.
8004
8005 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8006 Inline strlen part.
8007 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8008
8009 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8010 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8011 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8012 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8013 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8014 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8015
ec4ff04d
CD
80162013-03-17 Carlos O'Donell <carlos@redhat.com>
8017
8018 * manual/memory.texi (Malloc Tunable Parameters):
8019 Sort parameters alphabetically. Add comments for missing entries.
8020
cd18e90a
DM
80212013-03-17 David S. Miller <davem@davemloft.net>
8022
8023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8024
2a185d32
JM
80252013-03-16 Joseph Myers <joseph@codesourcery.com>
8026
d2f9799e
JM
8027 [BZ #15283]
8028 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8029 for arguments at most half maximum finite value.
8030 * math/libm-test.inc (j0_test): Add more tests.
8031 (j1_test): Likewise.
8032 (y0_test): Likewise.
8033 (y1_test): Likewise.
8034 * sysdeps/i386/fpu/libm-test-ulps: Update.
8035 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8036
2a185d32
JM
8037 [BZ #14155]
8038 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8039 1 / x and functions P and Q for arguments above 0x1p256L.
8040 (__ieee754_y0l): Likewise.
8041 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8042 (__ieee754_y1l): Likewise.
8043 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8044 (j1_test): Likewise.
8045 (y0_test): Likewise.
8046 (y1_test): Likewise.
8047
6cbec759
TS
80482013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8049
8050 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8051 variable.
8052
bc16e260
RM
80532013-03-15 Roland McGrath <roland@hack.frob.com>
8054
aefc9b8c
RM
8055 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8056 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8057 zero since it's initialized to EXEC_PAGESIZE.
8058
bc16e260
RM
8059 * sysdeps/unix/sysv/linux/ldsodefs.h
8060 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8061 * sysdeps/generic/ldsodefs.h: ... here.
8062
a57da955
TS
80632013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8064
af00a34d
TS
8065 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8066
495ded2c
TS
8067 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8068 math/test-snan.c.
8069 * math/test-snan.c: Renamed from
8070 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8071 * math/Makefile (tests): Add test-snan.
8072 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8073 test-powerpc-snan.
8074
777b0332
TS
8075 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8076 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8077 functions.
8078 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8079 __builtin_nan family of functions.
8080 * math/libm-test.inc (initialize): Initialize qnan_value with
8081 __builtin_nan family of functions.
8082 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8083 Remove variables.
8084 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8085 Remove functions.
8086 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8087 storage class. Initialize qNaN_var and sNaN_var with
8088 __builtin_nan and __builtin_nans families of functions,
8089 respectively.
8090
64d063b8
TS
8091 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8092 (sqrt_test): Remove duplicate test with qNaN input.
8093 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8094 (round_test, signbit_test, significand_test): Note missing +/-Inf
8095 as well as qNaN tests.
8096
67e971f1
TS
8097 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8098 qNaN_var. Fix a few strings, too.
8099 * math/libm-test.inc (nan_value): Rename to qnan_value.
8100 * math/gen-libm-test.pl (%beautify): Adjust to that.
8101 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8102 * math/test-misc.c (main): Likewise.
8103 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8104 to __qnan_bytes, and __qnan_union, respectively.
8105 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8106 Likewise.
8107 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8108 and lqnanval, respectively.
8109 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8110 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8111 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8112 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8113
64487e12
TS
8114 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8115 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8116 doubles.
8117
e015e27b
TS
8118 * math/test-misc.c (main): Fix copy'n'pastos.
8119 * misc/tst-efgcvt.c (special): Likewise.
8120
a57da955
TS
8121 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8122 Remove declarations.
8123
1e380345
SP
81242013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8125
8126 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8127 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8128 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8129 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8130
ef26eece
AZ
81312013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8132
8133 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8134 macro to return vdso values correctly in IFUNC implementations.
8135 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8136 Optimization by using IFUNC.
8137
8cfdb7e0
SP
81382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8139 Richard Henderson <rth@redhat.com>
8140 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8141
8142 * Makefile.in (bench): New target.
8143 * NEWS: Mention the benchmark framework.
8144 * Rules (bench): Likewise.
8145 (binaries-bench): Generate binaries for functions to
8146 benchmark.
8147 * benchtests/Makefile: New makefile for benchmark tests.
8148 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8149 programs.
8150 * benchtests/exp-inputs: New input file for EXP function.
8151 * benchtests/pow-inputs: New input file for POW function.
8152 * scripts/bench.pl: New script to generate source files for
8153 benchmark programs.
8154
bcda9880
SP
81552013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8156
d22ca8cd
SP
8157 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8158 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8159 computations on mantissa. Use macros for rounding and
8160 division.
8161 (denorm): Likewise.
8162 (__dbl_mp): Likewise.
8163 (add_magnitudes): Likewise.
8164 (sub_magnitudes): Likewise.
8165 (__mul): Likewise.
8166 (__sqr): Likewise.
8167 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8168 powers of two in terms of TWOPOW macro.
8169 (mp_no): Make type of mantissa as MANTISSA_T.
8170 [!RADIXI]: Define RADIXI.
8171 [!TWO52]: Define TWO52.
8172 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8173
bcda9880
SP
8174 * manual/nptl.texi (cindex): Modify threads to pthreads.
8175
06d5adfb
JM
81762013-03-15 Joseph Myers <joseph@codesourcery.com>
8177
8178 * sysdeps/x86_64/preconfigure: Regenerated.
8179
41c7328e
JM
81802013-03-14 Joseph Myers <joseph@codesourcery.com>
8181
8182 [BZ #14155]
8183 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8184 0x1p28 and above.
8185 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8186 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8187 0x1p28 and above.
8188 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8189 * math/libm-test.inc (j0_test): Do not allow one spurious
8190 underflow exception.
8191 (y1_test): Likewise.
8192
e25cfa60
SP
81932013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8194
0409959c
SP
8195 * manual/Makefile (chapters): Add nptl.
8196 * manual/debug.texi (Debugging Support): Add link to Threads
8197 chapter.
8198 * manual/nptl.texi: New file.
8199
e25cfa60
SP
8200 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8201
58a1335e
PB
82022013-03-14 Petr Baudis <pasky@ucw.cz>
8203
8204 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8205 for non-NULL pointer before the memory validity test. Pointed
8206 out by Holger Brunck <holger.brunck@keymile.com>.
8207
9dc7c64f
AS
82082013-03-13 Andreas Schwab <schwab@suse.de>
8209
8210 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8211 instead of .os.
8212
54206aa6
JM
82132013-03-13 Joseph Myers <joseph@codesourcery.com>
8214
8215 * timezone/zic.c: Update from tzcode 2013b.
8216
e98cdb38
CD
82172013-03-12 Carlos O'Donell <carlos@redhat.com>
8218
8219 * manual/install.texi (Configuring and compiling):
8220 Mention i686 and i586.
8221 * INSTALL: Regenerate.
8222
9967e003
RM
82232013-03-12 Roland McGrath <roland@hack.frob.com>
8224
8225 * sysdeps/init_array/elf-init.c: New file.
8226 * csu/elf-init.c
8227 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8228 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8229
8230 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8231 __gmon_start__ as global, but as static with a .preinit_array pointer.
8232 * sysdeps/init_array/gmon-start.c: New file. Use that.
8233 * sysdeps/init_array/crti.S: New file, empty except for comments.
8234 * sysdeps/init_array/crtn.S: Likewise.
8235
e6b5a293 82362013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8237
8238 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8239 definining bcopy.
80f844c9
OB
8240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8241 Remove Prefer_SSE_for_memop.
8242 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8243 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8244 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8245 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8246 memset-x86-64.
80f844c9 8247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8248 Remove bzero, memset ifunc support.
80f844c9
OB
8249 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8250 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8251 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8252 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8253
fb6b0fcb
AS
82542013-03-11 Andreas Schwab <schwab@suse.de>
8255
8256 [BZ #15234]
8257 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8258 by SHLIB_COMPAT.
8259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8260 (GLIBC_2.16): Remove pthread_atfork.
8261
3e6bd4b1
PP
82622013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8263
8264 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8265 (ptestcases.h): Likewise.
8266
222d7f00
RM
82672013-03-08 Roland McGrath <roland@hack.frob.com>
8268
8269 * Makeconfig ($(common-objpfx)config.status): Depend on
8270 sysdeps/*/preconfigure{,.in} too.
8271
1ba4f030
JM
82722013-03-08 Joseph Myers <joseph@codesourcery.com>
8273
a222d91a
JM
8274 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8275 (__free_hook): Use void * instead of __malloc_ptr_t.
8276 (__malloc_hook): Likewise.
8277 (__realloc_hook): Likewise.
8278 (__memalign_hook): Likewise.
8279 (__after_morecore_hook): Likewise.
8280 * malloc/arena.c (save_malloc_hook): Likewise.
8281 (save_free_hook): Likewise.
8282 * malloc/hooks.c (malloc_hook_ini): Likewise.
8283 (realloc_hook_ini): Likewise.
8284 (memalign_hook_ini): Likewise.
8285 * malloc/malloc.c (malloc_hook_ini): Likewise.
8286 (realloc_hook_ini): Likewise.
8287 (memalign_hook_ini): Likewise.
8288 (__free_hook): Likewise.
8289 (__malloc_hook): Likewise.
8290 (__realloc_hook): Likewise.
8291 (__memalign_hook): Likewise.
8292 (__libc_malloc): Likewise.
8293 (__libc_free): Likewise.
8294 (__libc_realloc): Likewise.
8295 (__libc_memalign): Likewise.
8296 (__libc_valloc): Likewise.
8297 (__libc_pvalloc): Likewise.
8298 (__libc_calloc): Likewise.
8299 (__posix_memalign): Likewise.
8300 * malloc/morecore.c (__sbrk): Likewise.
8301 (__default_morecore): Likewise.
8302
5cc45e10
JM
8303 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8304
dd54b864
JM
8305 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8306 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8307 __malloc_ptrdiff_t.
8308
1ba4f030
JM
8309 * malloc/malloc.h (__malloc_size_t): Remove macro.
8310 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8311 __malloc_size_t.
8312 (old_memalign_hook): Likewise.
8313 (old_realloc_hook): Likewise.
8314 (struct hdr): Likewise.
8315 (flood): Likewise.
8316 (mallochook): Likewise.
8317 (memalignhook): Likewise.
8318 (reallochook): Likewise.
8319 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8320 (tr_old_realloc_hook): Likewise.
8321 (tr_old_memalign_hook): Likewise.
8322 (tr_mallochook): Likewise.
8323 (tr_reallochook): Likewise.
8324 (tr_memalignhook): Likewise.
8325
edf66e57
AZ
83262013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8327
8328 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8329 default_ldbl_pack and using as default implementation.
8330 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8331 implementation.
8332 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8333 redundant definition.
8334 (ldbl_insert_mantissa): Likewise.
8335 (ldbl_canonicalize): Likewise.
8336 (ldbl_nearbyint): Likewise.
8337 (ldbl_pack): Rename to ldbl_pack_ppc.
8338 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8339 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8340 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8341
6d9145d8
SP
83422013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8343
8344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8345 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8346 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8347 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8348 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8349 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8350 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8351 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8352
4dd4e157
AJ
83532013-03-07 Andreas Jaeger <aj@suse.de>
8354
8355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8356 bits/mman-linux.h.
8357
adbb8027
SP
83582013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8359
ce544b5b
SP
8360 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8361 Include mpa.h and declare __MPEXP.
8362 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8363 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8364 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8365 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8366 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8367 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8368 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8369
4cc149fd
SP
8370 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8371 (__slowpow): Use long double EXPL and LOGL functions to
8372 compute POW.
8373 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8374 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8375 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8376 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8377 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8378 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8379
e6ebd4a7
SP
8380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8381 intermediate variable to calculate exponent.
8382 (__sqr): Likewise.
8383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8384 Likewise.
8385 (__sqr): Likewise.
8386
82a9811d
SP
8387 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8388 [!NO__SQR]: Define __sqr.
8389 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8390 and NO__SQR. Remove all code except __mul and __sqr. Include
8391 sysdeps/ieee754/dbl-64/mpa.c.
8392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8393
adbb8027
SP
8394 [BZ #12723]
8395 * posix/Makefile (tests): Add tst-pathconf.
8396 * posix/tst-pathconf.c: New test case.
8397 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8398 _PC_PIPE_BUF.
8399 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8400
39120df9
PF
84012013-03-06 Patsy Franklin <pfrankli@redhat.com>
8402
8403 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8404
67525cb8
AJ
84052013-03-06 Andreas Jaeger <aj@suse.de>
8406
664a9ce4
AJ
8407 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8408 definition via __MAP_ANONYMOUS.
8409
8e39047d
AJ
8410 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8411 it's not part of Linux headers.
8412
67525cb8
AJ
8413 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8414 (MAP_HUGE_MASK): Define.
8415
8416 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8417 Define.
8418 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8419 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8420 Define.
8421 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8422 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8423 Define.
8424 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8425 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8426 Define.
8427 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8428
8429 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8430 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8431 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8432 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8433 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8434 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8435
8436 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8437 Handle f2fs.
8438
8439 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8440 Handle f2fs and efivarfs.
8441
8442 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8443 f2fs.
8444
8445 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8446 (EFIVARFS_MAGIC): Add.
8447 (F2FS_LINK_MAX): Add.
8448
e1b42695
PP
84492013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8450
8451 * stdio-common/vfprintf.c: Replace __builtin_expect with
8452 __glibc_unlikely.
8453
2d67d91a
JM
84542013-03-06 Joseph Myers <joseph@codesourcery.com>
8455
8456 [BZ #13550]
8457 * sysdeps/generic/bp-sym.h: Remove file.
8458 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8459 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8460 <bp-sym.h> and <bp-asm.h>.
8461 (__longjmp): Don't use BP_SYM.
8462 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8463 and <bp-asm.h>.
8464 (memcpy): Don't use BP_SYM.
8465 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8466 <bp-sym.h> and <bp-asm.h>.
8467 (memcpy): Don't use BP_SYM.
8468 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8469 <bp-asm.h>.
8470 (memcpy): Don't use BP_SYM.
8471 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8472 <bp-asm.h>.
8473 (memset): Don't use BP_SYM.
8474 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8475 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8476 (__bzero): Don't use BP_SYM.
8477 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8478 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8479 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8480 <bp-sym.h> and <bp-asm.h>.
8481 (memcmp): Don't use BP_SYM. Remove comment about bounded
8482 pointers.
8483 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8484 <bp-sym.h> and <bp-asm.h>.
8485 (memcpy): Don't use BP_SYM.
8486 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8487 <bp-sym.h> and <bp-asm.h>.
8488 (memset): Don't use BP_SYM.
8489 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8490 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8491 (__bzero): Don't use BP_SYM.
8492 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8493 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8494 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8495 <bp-sym.h> and <bp-asm.h>.
8496 (strncmp): Don't use BP_SYM. Remove comment about bounded
8497 pointers.
8498 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8499 <bp-sym.h> and <bp-asm.h>.
8500 (memcpy): Don't use BP_SYM.
8501 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8502 <bp-sym.h> and <bp-asm.h>.
8503 (memset): Don't use BP_SYM.
8504 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8505 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8506 (__bzero): Don't use BP_SYM.
8507 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8508 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8509 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8510 <bp-sym.h> and <bp-asm.h>.
8511 (__memchr): Don't use BP_SYM.
8512 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8513 <bp-sym.h> and <bp-asm.h>.
8514 (memcmp): Don't use BP_SYM. Remove comment about bounded
8515 pointers.
8516 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8517 <bp-sym.h> and <bp-asm.h>.
8518 (memcpy): Don't use BP_SYM.
8519 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8520 <bp-sym.h> and <bp-asm.h>.
8521 (__mempcpy): Don't use BP_SYM.
8522 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8523 <bp-sym.h> and <bp-asm.h>.
8524 (__memrchr): Don't use BP_SYM.
8525 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8526 <bp-sym.h> and <bp-asm.h>.
8527 (memset): Don't use BP_SYM.
8528 (__bzero): Likewise.
8529 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8530 <bp-sym.h> and <bp-asm.h>.
8531 (__rawmemchr): Don't use BP_SYM.
8532 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8533 <bp-sym.h> and <bp-asm.h>.
8534 (__STRCMP): Don't use BP_SYM.
8535 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8536 <bp-sym.h> and <bp-asm.h>.
8537 (strchr): Don't use BP_SYM.
8538 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8539 <bp-sym.h> and <bp-asm.h>.
8540 (__strchrnul): Don't use BP_SYM.
8541 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8542 <bp-sym.h> and <bp-asm.h>.
8543 (strlen): Don't use BP_SYM.
8544 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8545 <bp-sym.h> and <bp-asm.h>.
8546 (strncmp): Don't use BP_SYM. Remove comment about bounded
8547 pointers.
8548 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8549 <bp-sym.h> and <bp-asm.h>.
8550 (__strnlen): Don't use BP_SYM.
8551 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8552 <bp-sym.h> and <bp-asm.h>.
8553 (__GI__setjmp): Don't use BP_SYM.
8554 (_setjmp): Likewise.
8555 (__sigsetjmp): Likewise.
8556 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8557 (L(start_addresses)): Don't use BP_SYM.
8558 (_start): Likewise.
8559 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8560 <bp-asm.h>.
8561 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8562 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8563 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8564 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8565 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8566 <bp-asm.h>.
8567 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8568 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8569 about bounded pointers.
8570 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8571 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8572 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8573 <bp-asm.h>.
8574 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8575 about bounded pointers. Remove GKM FIXME comments.
8576 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8577 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8578 <bp-asm.h>.
8579 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8580 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8581 Remove GKM FIXME comments.
8582 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8583 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8584 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8585 <bp-asm.h>.
8586 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8587 about bounded pointers. Remove GKM FIXME comment.
8588 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8589 and <bp-asm.h>.
8590 (strncmp): Don't use BP_SYM. Remove comment about bounded
8591 pointers.
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8593 <bp-sym.h> and <bp-asm.h>.
8594 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8596 <bp-sym.h> and <bp-asm.h>.
8597 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8598 comment.
8599
cdcf361f
PP
86002013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8601
8602 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8603 call free(NULL).
8604
3c4a2b15
DM
86052013-03-05 David S. Miller <davem@davemloft.net>
8606
8607 * po/es.po: Update from translation team.
8608
cdcf361f 86092013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8610
8611 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8612 <bits/mman-linux.h>.
8613 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8614 is fine.
8615 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8616 <bits/mman-linux.h> to end of file.
8617 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8618 is fine.
8619 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8620 <bits/mman-linux.h> to end of file.
8621 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8622 is fine.
8623 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8624 <bits/mman-linux.h> to end of file.
8625
8626 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8627 (MCL_CURRENT, MCL_FUTURE): Define here.
8628
5f67c04f
AK
86292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8630
8a4473cc 8631 [BZ #15232]
5f67c04f
AK
8632 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8633 attribute_hidden.
8634 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8635
c3e94a95
AK
86362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8637
8638 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8639 fourth parameter needed for rt_sigprocmask syscall.
8640 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8641 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8642 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8643 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8644 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8645 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8646
cfb6382a
JM
86472013-03-04 Joseph Myers <joseph@codesourcery.com>
8648
8649 [BZ #13550]
8650 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8651 comment about bounded pointers.
8652 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8653 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8654
539d8e01
AJ
86552013-03-04 Andreas Jaeger <aj@suse.de>
8656
8657 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8658 common definitions.
8659
8660 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8661 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8662 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8663 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8664 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8666
2e167a70 86672013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8668
8669 [BZ #15055]
8670 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8671 __ieee754_sqrl instead of __sqrl.
8672
68508633
JM
86732013-03-01 Joseph Myers <joseph@codesourcery.com>
8674
8675 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8676 * sysdeps/powerpc/fpu_control.h: ... here.
8677 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8678 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8679 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8680 * sysdeps/powerpc/bits/mathinline.h: ... here.
8681
7775448e
RM
86822013-03-01 Roland McGrath <roland@hack.frob.com>
8683
8684 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8685 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8686 to just [NEED_DL_SYSINFO_DSO].
8687 * elf/dl-support.c: Likewise.
8688 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8689 * elf/rtld.c (dl_main): Likewise.
8690 * elf/setup-vdso.h (setup_vdso): Likewise.
8691 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8692 * sysdeps/unix/sysv/linux/dl-sysdep.c
8693 (_dl_discover_osversion): Likewise.
8694
4e9b5995
CD
86952013-03-01 Carlos O'Donell <carlos@redhat.com>
8696
8697 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8698 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8699
e23872c8
SP
87002013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8701
e5c74c63
SP
8702 * NEWS: Mention libm performance improvements and non-x86 PI
8703 futex support.
8704
e23872c8
SP
8705 * csu/libc-start.c (__pthread_initialize_minimal): Change
8706 function arguments.
8707 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8708
b5510883
JM
87092013-02-28 Joseph Myers <joseph@codesourcery.com>
8710
8711 [BZ #13550]
8712 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8713 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8714 <bp-sym.h> and <bp-asm.h>.
8715 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8716 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8717 and <bp-asm.h>.
8718 (memcpy): Don't use BP_SYM.
8719 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8720 <bp-asm.h>.
8721 (__mpn_add_n): Don't use BP_SYM.
8722 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8723 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8724 and <bp-asm.h>.
8725 (__mpn_addmul_1): Don't use BP_SYM.
8726 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8727 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8728 <bp-sym.h>.
8729 (_setjmp): Don't use BP_SYM.
8730 (__novmx_setjmp): Likewise.
8731 (__GI__setjmp): Likewise.
8732 (__vmx_setjmp): Likewise.
8733 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8734 <bp-sym.h>.
8735 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8736 (__bzero): Don't use BP_SYM.
8737 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8738 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8739 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8740 <bp-sym.h> and <bp-asm.h>.
8741 (memcpy): Don't use BP_SYM.
8742 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8743 <bp-sym.h> and <bp-asm.h>.
8744 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8745 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8746 <bp-sym.h> and <bp-asm.h>.
8747 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8748 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8749 <bp-asm.h>.
8750 (__mpn_lshift): Don't use BP_SYM.
8751 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8752 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8753 <bp-asm.h>.
8754 (memset): Don't use BP_SYM.
8755 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8756 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8757 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8758 <bp-asm.h>.
8759 (__mpn_mul_1): Don't use BP_SYM.
8760 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8762 <bp-sym.h> and <bp-asm.h>.
8763 (memcmp): Don't use BP_SYM.
8764 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8765 <bp-sym.h> and <bp-asm.h>.
8766 (memcpy): Don't use BP_SYM.
8767 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8768 <bp-sym.h> and <bp-asm.h>.
8769 (memset): Don't use BP_SYM.
8770 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8771 <bp-sym.h> and <bp-asm.h>.
8772 (strncmp): Don't use BP_SYM.
8773 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8774 <bp-sym.h> and <bp-asm.h>.
8775 (memcpy): Don't use BP_SYM.
8776 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8777 <bp-sym.h> and <bp-asm.h>.
8778 (memset): Don't use BP_SYM.
8779 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8780 <bp-sym.h> and <bp-asm.h>.
8781 (__memchr): Don't use BP_SYM.
8782 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8783 <bp-sym.h> and <bp-asm.h>.
8784 (memcmp): Don't use BP_SYM.
8785 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8786 <bp-sym.h> and <bp-asm.h>.
8787 (memcpy): Don't use BP_SYM.
8788 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8789 <bp-sym.h> and <bp-asm.h>.
8790 (__mempcpy): Don't use BP_SYM.
8791 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8792 <bp-sym.h> and <bp-asm.h>.
8793 (__memrchr): Don't use BP_SYM.
8794 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8795 <bp-sym.h> and <bp-asm.h>.
8796 (memset): Don't use BP_SYM.
8797 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8798 <bp-sym.h> and <bp-asm.h>.
8799 (__rawmemchr): Don't use BP_SYM.
8800 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8801 <bp-sym.h> and <bp-asm.h>.
8802 (__STRCMP): Don't use BP_SYM.
8803 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8804 <bp-sym.h> and <bp-asm.h>.
8805 (strchr): Don't use BP_SYM.
8806 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8807 <bp-sym.h> and <bp-asm.h>.
8808 (__strchrnul): Don't use BP_SYM.
8809 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8810 <bp-sym.h> and <bp-asm.h>.
8811 (strlen): Don't use BP_SYM.
8812 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8813 <bp-sym.h> and <bp-asm.h>.
8814 (strncmp): Don't use BP_SYM.
8815 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8816 <bp-sym.h> and <bp-asm.h>.
8817 (__strnlen): Don't use BP_SYM.
8818 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8819 <bp-asm.h>.
8820 (__mpn_rshift): Don't use BP_SYM.
8821 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8822 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8823 <bp-sym.h> and <bp-asm.h>.
8824 (__sigsetjmp): Don't use BP_SYM.
8825 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8826 (L(start_addresses)): Don't use BP_SYM.
8827 (_start): Likewise.
8828 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8829 <bp-asm.h>.
8830 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8831 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8832 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8833 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8834 <bp-asm.h>.
8835 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8836 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8837 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8838 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8839 <bp-asm.h>.
8840 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8841 comments.
8842 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8843 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8844 <bp-asm.h>.
8845 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8846 FIXME comments.
8847 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8848 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8849 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8850 <bp-asm.h>.
8851 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8852 comment.
8853 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8854 and <bp-asm.h>.
8855 (strncmp): Don't use BP_SYM,
8856 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8857 <bp-asm.h>.
8858 (__mpn_sub_n): Don't use BP_SYM.
8859 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8860 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8861 and <bp-asm.h>.
8862 (__mpn_submul_1): Don't use BP_SYM.
8863 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8865 <bp-sym.h> and <bp-asm.h>.
8866 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8868 <bp-sym.h> and <bp-asm.h>.
8869 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8870 comment.
8871
8d19fe64
SP
88722013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8873
8874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8875 Use ZK to minimize writes to Z.
8876 (sub_magnitudes): Simplify code a bit.
8877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8878 Use ZK to minimize writes to Z.
8879 (sub_magnitudes): Simplify code a bit.
8880
85bd816a
RM
88812013-02-27 Roland McGrath <roland@hack.frob.com>
8882
8883 * csu/gmon-start.c: Add special exception to license text.
8884
b5977bf2
RH
88852013-02-27 Richard Henderson <rth@redhat.com>
8886
8887 * scripts/config.guess: Update from config.git.
8888 * scripts/config.sub: Likewise.
8889
11d6e2f2
SP
88902013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8891
09c14ed2
SP
8892 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8893
a688864e
SP
8894 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8895
6295157a
SP
8896 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8897
b8de2202
SP
8898 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8899
11d6e2f2
SP
8900 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8901
7e80ddb8
RM
89022013-02-26 Roland McGrath <roland@hack.frob.com>
8903
8904 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8905 [$(build-shared = yes].
7e80ddb8 8906
7da6d9ed
SP
89072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8908
45f05884
SP
8909 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8910 (__mul): Reduce iterations for calculating mantissa.
8911
2236d359
SP
8912 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8913 MPTWO.
8914 (__mpranred): Likewise.
8915
7da6d9ed
SP
8916 [BZ #15160]
8917 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8918 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8919
b7688c42
PE
89202013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8921
8922 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8923 Define __attribute__.
8924
53a5c423
SP
89252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8926
8927 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8928 unused.
8929 * posix/regex_internal.h (__attribute): Remove.
8930 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8931 (re_string_context_at): Likewise.
8932 (bitset_not): Use __attribute__ and mark function as possibly
8933 unused.
8934 (bitset_merge): Likewise.
8935 (bitset_mask): Likewise.
8936 (re_string_char_size_at): Likewise.
8937 (re_string_wchar_at): Likewise.
8938 (re_string_elem_size_at): Likewise.
8939
60f5a8b5
SP
89402013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8941
2a983a2e
SP
8942 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8943 code.
8944 (cc32): Likewise.
8945
e69804d1
SP
8946 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8947 (__acr): Likewise.
8948 (__cpy): Likewise.
8949 (norm): Likewise.
8950 (denorm): Likewise.
8951 (__dbl_mp): Likewise.
8952 (add_magnitudes): Likewise.
8953 (sub_magnitudes): Likewise.
8954 (__mul): Likewise.
8955 (__inv): Likewise.
8956
2f22a1e8
SP
8957 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8958 style.
8959
8930ddc7
SP
8960 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8961 style.
8962
dc60cb11
SP
8963 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8964 code.
8965
60f5a8b5
SP
8966 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8967 up changes with default code.
8968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8969 Likewise.
8970
b4d1fd33
AM
89712013-02-24 Allan McRae <allan@archlinux.org>
8972
faf6f8bc
AM
8973 * manual/socket.texi (The Internet Namespace): Order menu items
8974 to match that in the file.
8975
b4d1fd33
AM
8976 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8977 node listing of the info page menu.
8978
2366713d
JM
89792013-02-21 Joseph Myers <joseph@codesourcery.com>
8980
8981 [BZ #13550]
8982 * sysdeps/i386/bp-asm.h: Remove file.
8983 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8984 (PARMS): Do not use macros from bp-asm.h.
8985 (S1): Likewise.
8986 (S2): Likewise.
8987 (SIZE): Likewise.
8988 (__mpn_add_n): Do not use BP_SYM
8989 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8990 "bp-asm.h".
8991 (PARMS): Do not use macros from bp-asm.h.
8992 (S1): Likewise.
8993 (SIZE): Likewise.
8994 (__mpn_addmul_1): Do not use BP_SYM
8995 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8996 "bp-asm.h".
8997 (PARMS): Do not use macros from bp-asm.h.
8998 (SIGMSK): Likewise.
8999 (_setjmp): Likewise. Do not use BP_SYM.
9000 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9001 "bp-asm.h".
9002 (PARMS): Do not use macros from bp-asm.h.
9003 (SIGMSK): Likewise.
9004 (setjmp): Likewise. Do not use BP_SYM.
9005 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9006 "bp-asm.h".
9007 (PARMS): Do not use macros from bp-asm.h.
9008 (__frexp): Do not use BP_SYM.
9009 (frexp): Likewise.
9010 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9011 "bp-asm.h".
9012 (PARMS): Do not use macros from bp-asm.h.
9013 (__frexpf): Do not use BP_SYM.
9014 (frexpf): Likewise.
9015 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9016 "bp-asm.h".
9017 (PARMS): Do not use macros from bp-asm.h.
9018 (__frexpl): Do not use BP_SYM.
9019 (frexpl): Likewise.
9020 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9021 "bp-asm.h".
9022 (PARMS): Do not use macros from bp-asm.h.
9023 (__remquo): Do not use BP_SYM.
9024 (remquo): Likewise.
9025 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9026 "bp-asm.h".
9027 (PARMS): Do not use macros from bp-asm.h.
9028 (__remquof): Do not use BP_SYM.
9029 (remquof): Likewise.
9030 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9031 "bp-asm.h".
9032 (PARMS): Do not use macros from bp-asm.h.
9033 (__remquol): Do not use BP_SYM.
9034 (remquol): Likewise.
9035 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9036 "bp-asm.h".
9037 (PARMS): Do not use macros from bp-asm.h.
9038 (DEST): Likewise.
9039 (SRC): Likewise.
9040 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9041 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9042 "bp-asm.h".
9043 (PARMS): Do not use macros from bp-asm.h.
9044 (strlen): Do not use BP_SYM.
9045 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9046 "bp-asm.h".
9047 (PARMS): Do not use macros from bp-asm.h.
9048 (S1): Likewise.
9049 (S2): Likewise.
9050 (SIZE): Likewise.
9051 (__mpn_add_n): Do not use BP_SYM.
9052 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9053 "bp-asm.h".
9054 (PARMS): Do not use macros from bp-asm.h.
9055 (S1): Likewise.
9056 (SIZE): Likewise.
9057 (__mpn_addmul_1): Do not use BP_SYM.
9058 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9059 weak_alias.
9060 (bzero): Likewise.
9061 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9062 "bp-asm.h".
9063 (PARMS): Do not use macros from bp-asm.h.
9064 (S): Likewise.
9065 (SIZE): Likewise.
9066 (__mpn_lshift): Do not use BP_SYM.
9067 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9068 "bp-asm.h".
9069 (PARMS): Do not use macros from bp-asm.h.
9070 (DEST): Likewise.
9071 (SRC): Likewise.
9072 (LEN): Likewise.
9073 (memcpy): Likewise. Do not use BP_SYM.
9074 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9075 libc_hidden_def and weak_alias.
9076 (mempcpy): Do not use BP_SYM in weak_alias.
9077 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9078 "bp-asm.h".
9079 (PARMS): Do not use macros from bp-asm.h.
9080 (DEST): Likewise.
9081 (LEN): Likewise.
9082 [!BZERO_P] (CHR): Likewise.
9083 (memset): Likewise. Do not use BP_SYM.
9084 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9085 "bp-asm.h".
9086 (PARMS): Do not use macros from bp-asm.h.
9087 (S1): Likewise.
9088 (SIZE): Likewise.
9089 (__mpn_mul_1): Do not use BP_SYM.
9090 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9091 "bp-asm.h".
9092 (PARMS): Do not use macros from bp-asm.h.
9093 (S): Likewise.
9094 (SIZE): Likewise.
9095 (__mpn_rshift): Do not use BP_SYM.
9096 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9097 "bp-asm.h".
9098 (PARMS): Do not use macros from bp-asm.h.
9099 (STR): Likewise.
9100 (CHR): Likewise.
9101 (strchr): Likewise. Do not use BP_SYM.
9102 (index): Do not use BP_SYM in weak_alias.
9103 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9104 "bp-asm.h".
9105 (PARMS): Do not use macros from bp-asm.h.
9106 (DEST): Likewise.
9107 (SRC): Likewise.
9108 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9109 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9110 "bp-asm.h".
9111 (PARMS): Do not use macros from bp-asm.h.
9112 (strlen): Do not use BP_SYM.
9113 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9114 "bp-asm.h".
9115 (PARMS): Do not use macros from bp-asm.h.
9116 (S1): Likewise.
9117 (S2): Likewise.
9118 (SIZE): Likewise.
9119 (__mpn_sub_n): Do not use BP_SYM.
9120 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9121 "bp-asm.h".
9122 (PARMS): Do not use macros from bp-asm.h.
9123 (S1): Likewise.
9124 (SIZE): Likewise.
9125 (__mpn_submul_1): Do not use BP_SYM.
9126 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9127 "bp-asm.h".
9128 (PARMS): Do not use macros from bp-asm.h.
9129 (S1): Likewise.
9130 (S2): Likewise.
9131 (SIZE): Likewise.
9132 (__mpn_add_n): Do not use BP_SYM.
9133 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9134 weak_alias.
9135 (bzero): Likewise.
9136 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9137 "bp-asm.h".
9138 (PARMS): Do not use macros from bp-asm.h.
9139 (BLK2): Likewise.
9140 (LEN): Likewise.
9141 (memcmp): Do not use BP_SYM.
9142 (bcmp): Do not use BP_SYM in weak_alias.
9143 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9144 "bp-asm.h".
9145 (PARMS): Do not use macros from bp-asm.h.
9146 (DEST): Likewise.
9147 (SRC): Likewise.
9148 (LEN): Likewise.
9149 (memcpy): Likewise. Do not use BP_SYM.
9150 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9151 "bp-asm.h".
9152 (PARMS): Do not use macros from bp-asm.h.
9153 (DEST): Likewise.
9154 (SRC): Likewise.
9155 (LEN): Likewise.
9156 (memmove): Likewise. Do not use BP_SYM.
9157 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9158 "bp-asm.h".
9159 (PARMS): Do not use macros from bp-asm.h.
9160 (DEST): Likewise.
9161 (SRC): Likewise.
9162 (LEN): Likewise.
9163 (__mempcpy): Likewise. Do not use BP_SYM.
9164 (mempcpy): Do not use BP_SYM in weak_alias.
9165 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9166 "bp-asm.h".
9167 (PARMS): Do not use macros from bp-asm.h.
9168 (DEST): Likewise.
9169 (LEN): Likewise.
9170 [!BZERO_P] (CHR): Likewise.
9171 (memset): Likewise. Do not use BP_SYM.
9172 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9173 "bp-asm.h".
9174 (PARMS): Do not use macros from bp-asm.h.
9175 (STR2): Likewise.
9176 (strcmp): Do not use BP_SYM.
9177 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9178 "bp-asm.h".
9179 (PARMS): Do not use macros from bp-asm.h.
9180 (STR): Likewise.
9181 (DELIM): Likewise.
9182 [USE_AS_STRTOK_R] (SAVE): Likewise.
9183 (FUNCTION): Likewise. Do not use BP_SYM.
9184 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9185 aliases.
9186 (strtok_r): Likewise.
9187 (__GI___strtok_r): Likewise.
9188 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9189 (PARMS): Do not use macros from bp-asm.h.
9190 (S): Likewise.
9191 (SIZE): Likewise.
9192 (__mpn_lshift): Do not use BP_SYM.
9193 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9194 (PARMS): Do not use macros from bp-asm.h.
9195 (STR): Likewise.
9196 (CHR): Likewise.
9197 (__memchr): Do not use BP_SYM.
9198 (memchr): Do not use BP_SYM in weak_alias.
9199 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9200 (PARMS): Do not use macros from bp-asm.h.
9201 (BLK2): Likewise.
9202 (LEN): Likewise.
9203 (memcmp): Do not use BP_SYM.
9204 (bcmp): Do not use BP_SYM in weak_alias.
9205 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9206 (PARMS): Do not use macros from bp-asm.h.
9207 (S1): Likewise.
9208 (SIZE): Likewise.
9209 (__mpn_mul_1): Do not use BP_SYM.
9210 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9211 "bp-asm.h".
9212 (PARMS): Do not use macros from bp-asm.h.
9213 (STR): Likewise.
9214 (CHR): Likewise.
9215 (__rawmemchr): Do not use BP_SYM.
9216 (rawmemchr): Do not use BP_SYM in weak_alias.
9217 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9218 (PARMS): Do not use macros from bp-asm.h.
9219 (S): Likewise.
9220 (SIZE): Likewise.
9221 (__mpn_rshift): Do not use BP_SYM.
9222 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9223 (PARMS): Do not use macros from bp-asm.h.
9224 (SIGMSK): Likewise.
9225 (__sigsetjmp): Likewise. Do not use BP_SYM.
9226 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9227 (_start): Do not use BP_SYM.
9228 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9229 (PARMS): Do not use macros from bp-asm.h.
9230 (DEST): Likewise.
9231 (SRC): Likewise.
9232 (__stpcpy): Likewise. Do not use BP_SYM.
9233 (stpcpy): Do not use BP_SYM in weak_alias.
9234 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9235 "bp-asm.h".
9236 (PARMS): Do not use macros from bp-asm.h.
9237 (DEST): Likewise.
9238 (SRC): Likewise.
9239 (LEN): Likewise.
9240 (__stpncpy): Likewise. Do not use BP_SYM.
9241 (stpncpy): Do not use BP_SYM in weak_alias.
9242 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9243 (PARMS): Do not use macros from bp-asm.h.
9244 (STR): Likewise.
9245 (CHR): Likewise.
9246 (strchr): Likewise. Do not use BP_SYM.
9247 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9248 "bp-asm.h".
9249 (PARMS): Do not use macros from bp-asm.h.
9250 (STR): Likewise.
9251 (CHR): Likewise.
9252 (__strchrnul): Likewise. Do not use BP_SYM.
9253 (strchrnul): Do not use BP_SYM in weak_alias.
9254 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9255 "bp-asm.h".
9256 (PARMS): Do not use macros from bp-asm.h.
9257 (STOP): Likewise.
9258 (strcspn): Do not use BP_SYM.
9259 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9260 "bp-asm.h".
9261 (PARMS): Do not use macros from bp-asm.h.
9262 (STR): Likewise.
9263 (STOP): Likewise.
9264 (strpbrk): Likewise. Do not use BP_SYM.
9265 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9266 "bp-asm.h".
9267 (PARMS): Do not use macros from bp-asm.h.
9268 (STR): Likewise.
9269 (CHR): Likewise.
9270 (strrchr): Likewise. Do not use BP_SYM.
9271 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9272 (PARMS): Do not use macros from bp-asm.h.
9273 (SKIP): Likewise.
9274 (strspn): Do not use BP_SYM.
9275 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9276 (PARMS): Do not use macros from bp-asm.h.
9277 (STR): Likewise.
9278 (DELIM): Likewise.
9279 (SAVE): Likewise.
9280 (FUNCTION): Likewise. Do not use BP_SYM.
9281 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9282 aliases.
9283 (strtok_r): Likewise.
9284 (__GI___strtok_r): Likewise.
9285 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9286 (PARMS): Do not use macros from bp-asm.h.
9287 (S1): Likewise.
9288 (S2): Likewise.
9289 (SIZE): Likewise.
9290 (__mpn_sub_n): Do not use BP_SYM.
9291 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9292 "bp-asm.h".
9293 (PARMS): Do not use macros from bp-asm.h.
9294 (S1): Likewise.
9295 (SIZE): Likewise.
9296 (__mpn_submul_1): Do not use BP_SYM.
9297 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9298 <bp-sym.h>.
9299 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9300 and <bp-asm.h>.
9301 (PARMS): Do not use macros from bp-asm.h.
9302 (FLAGS): Likewise.
9303 (PTID): Likewise.
9304 (TLS): Likewise.
9305 (CTID): Likewise.
9306 (__clone): Do not use BP_SYM.
9307 (clone): Do not use BP_SYM in weak_alias.
9308 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9309 and <bp-asm.h>.
9310 (PARMS): Do not use macros from bp-asm.h.
9311 (LEN): Likewise.
9312 (__mmap64): Do not use BP_SYM.
9313 (mmap64): Do not use BP_SYM in weak_alias.
9314 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9315 <bp-sym.h> and <bp-asm.h>.
9316 (PARMS): Do not use macros from bp-asm.h.
9317 (__posix_fadvise64_l64): Do not use BP_SYM.
9318 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9319 (PARMS): Do not use macros from bp-asm.h.
9320 (NSOPS): Likewise.
9321 (semtimedop): Do not use BP_SYM.
9322 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9323 and <bp-asm.h>.
9324
582a3cff
AM
93252013-02-21 Allan McRae <allan@archlinux.org>
9326
9327 * manual/message.texi (Charset conversion in gettext):
9328 Move @end statement to beginning of line.
9329
bab8a695
SP
93302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9331
80945231
SP
9332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9333 static.
9334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9335 Likewise.
9336
bab8a695
SP
9337 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9338 (denorm): Likewise.
9339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9341
e21d7aa7
AK
93422013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9343
9344 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9345 tail-call to the resolved function if pltexit isn't needed.
9346
4c7a4263
SP
93472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9348
9349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9350 or Y being zero as being unlikely.
9351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9352 Likewise.
9353
41f49342
CD
93542013-02-20 Carlos O'Donell <carlos@redhat.com>
9355
9356 * manual/nss.texi (System Databases and Name Service Switch):
9357 Remove frobnicate @pxref.
9358
50022a93
TS
93592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9360
9361 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9362 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9363
08cbd996
PM
93642013-02-20 Petr Machata <pmachata@redhat.com>
9365
9366 * elf/elf.h (R_ARM_TARGET1): New macro.
9367 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9368 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9369 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9370 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9371 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9372 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9373 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9374 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9375 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9376 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9377 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9378 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9379 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9380 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9381 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9382 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9383 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9384 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9385 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9386 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9387 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9388 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9389 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9390 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9391 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9392 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9393 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9394 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9395 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9396 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9397 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9398 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9399 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9400 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9401 (R_ARM_THM_GOT_BREL12): Likewise.
9402 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9403 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9404 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9405 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9406 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9407 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9408 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9409 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9410 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9411
c7b275d6
TS
94122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9413
9414 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9415 __attribute_used__ to __attribute__ ((unused)).
9416
20cd7fb3
SP
94172013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9418
9419 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9420 powerpc mpa.c.
9421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9422 comment formatting.
9423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9424
92945b52
JM
94252013-02-19 Joseph Myers <joseph@codesourcery.com>
9426
9427 [BZ #13550]
9428 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9429 Remove macro.
9430 (ENTER): Remove both macro definitions.
9431 (LEAVE): Likewise.
9432 (CHECK_BOUNDS_LOW): Likewise.
9433 (CHECK_BOUNDS_HIGH): Likewise.
9434 (CHECK_BOUNDS_BOTH): Likewise.
9435 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9436 (RETURN_BOUNDED_POINTER): Likewise.
9437 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9438 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9439 (POP_ERRNO_LOCATION_RETURN): Likewise.
9440 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9441 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9442 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9443 macros.
9444 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9445 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9446 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9447 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9448 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9449 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9450 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9451 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9452 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9453 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9454 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9455 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9456 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9457 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9458 removed macros.
9459 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9460 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9461 macros.
9462 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9463 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9464 * sysdeps/i386/i586/memset.S (memset): Likewise.
9465 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9466 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9467 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9468 macros.
9469 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9470 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9471 Change uses of L(2) to L(out).
9472 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9473 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9474 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9475 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9476 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9477 removed macros.
9478 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9479 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9480 macros.
9481 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9482 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9483 (RETURN): Do not use macro LEAVE.
9484 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9485 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9486 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9487 * sysdeps/i386/i686/memset.S (memset): Likewise.
9488 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9489 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9490 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9491 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9492 Likewise.
9493 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9494 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9495 L(1_2) and L(1_3) into L(1).
9496 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9497 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9498 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9499 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9500 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9501 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9502 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9503 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9504 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9505 macros.
9506 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9507 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9508 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9509 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9510 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9511 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9512 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9513 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9514 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9515 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9516 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9517 * sysdeps/i386/strspn.S (strspn): Likewise.
9518 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9519 conditional code.
9520 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9521 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9522 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9523 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9524 L(1_3) into L(1_1).
9525 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9526 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9527 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9528 macros.
9529 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9530
2389741a
JJ
95312013-02-19 Jakub Jelinek <jakub@redhat.com>
9532
9533 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9534 macro.
9535
2016b3cd
SP
95362013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9537
e4f22324
SP
9538 * math/atest-exp.c (exp_mpn): Remove ROUND.
9539 * math/atest-exp2.c (exp_mpn): Likewise.
9540 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9541
2016b3cd
SP
9542 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9543 * stdlib/tst-tls-atexit-lib.c: Likewise.
9544 * stdlib/tst-tls-atexit.c: Likewise.
9545
4be9b544
MF
95462013-02-18 Mike Frysinger <vapier@gentoo.org>
9547
9548 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9549 and __attribute_alloc_size__.
9550
2f62b9ee
MF
95512013-02-18 Mike Frysinger <vapier@gentoo.org>
9552
9553 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9554 __attribute_alloc_size__.
9555 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9556 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9557
6ff444c4
MF
95582013-02-18 Mike Frysinger <vapier@gentoo.org>
9559
9560 * include/programs/xmalloc.h: New file.
9561 * catgets/gencat.c: Include it.
9562 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9563 * elf/pldd.c: Likewise.
9564 * iconv/iconv_charmap.c: Likewise.
9565 * iconv/iconvconfig.c: Likewise.
9566 * iconv/strtab.c: Likewise.
9567 * locale/programs/locale.c: Likewise.
9568 * locale/programs/localedef.h: Likewise.
9569 * locale/programs/simple-hash.c: Likewise.
9570 * nscd/nscd.h: Likewise.
9571 * nss/makedb.c: Likewise.
9572 * sysdeps/generic/ldconfig.h: Likewise.
9573
be179c8a
SP
95742013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9575
ba384f6e
SP
9576 * Versions.def: Add GLIBC_2.18.
9577 * include/link.h (struct link_map): New member l_tls_dtor_count.
9578 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9579 (__call_tls_dtors): Likewise.
9580 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9581 __cxa_thread_atexit_impl.
9582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9583 Likewise.
9584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9585 Likewise.
9586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9587 Likewise.
9588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9589 Likewise.
9590 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9592 Likewise.
9593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9594 Likewise.
9595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9597 Likewise.
9598 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9599 (tests): Add test case tst-tls-atexit.
9600 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9601 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9602 (GLIBC_PRIVATE): Add __call_tls_dtors.
9603 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9604 for libstdc++.
9605 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9606 * stdlib/tst-tls-atexit.c: New test case.
9607 * stdlib/tst-tls-atexit-lib.c: New test case.
9608
ffaa74cf 9609 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9610
be179c8a
SP
9611 * elf/Versions (ld): Add _dl_find_dso_for_object.
9612 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9613 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9614 (dl_open_worker): Use _dl_find_dso_for_object.
9615 * elf/dl-sym.c (do_sym): Likewise.
9616 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9617
f78b5caa
AK
96182013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9619
9620 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9621 Syntactic changes only.
9622 (_dl_runtime_profile): Do a tail-call to the resolved function.
9623
29691210
JM
96242013-02-17 Joseph Myers <joseph@codesourcery.com>
9625
9626 [BZ #13550]
9627 * sysdeps/x86_64/bp-asm.h: Remove file.
9628 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9629 <bp-sym.h> and <bp-asm.h>.
9630 (__clone): Do not use BP_SYM.
9631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9632 <bp-sym.h> and <bp-asm.h>.
9633 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9634 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9635 "bp-asm.h".
9636 (_setjmp): Do not use BP_SYM.
9637 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9638 "bp-asm.h".
9639 (setjmp): Do not use BP_SYM.
9640 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9641 libc_hidden_def.
9642 (mempcpy): Do not use BP_SYM in weak_alias.
9643 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9644 "bp-asm.h".
9645 (strchr): Do not use BP_SYM.
9646 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9647 "bp-asm.h".
9648 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9649 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9650 (_start): Do not use BP_SYM.
9651 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9652 "bp-asm.h".
9653 (strcat): Do not use BP_SYM.
9654 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9655 "bp-asm.h".
9656 (STRCMP): Do not use BP_SYM.
9657 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9658 "bp-asm.h".
9659 (STRCPY): Do not use BP_SYM.
9660 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9661 "bp-asm.h".
9662 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9663 "bp-asm.h".
9664 (FUNCTION): Do not use BP_SYM.
9665 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9666 weak_alias.
9667 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9668
f238fd19
AJ
96692013-02-17 Andreas Jaeger <aj@suse.de>
9670
9671 * time/Versions: Sort entries.
9672 * string/Versions: Likewise.
9673 * resolv/Versions: Likewise.
9674 * posix/Versions: Likewise.
9675 * iconv/Versions: Likewise.
9676 * elf/Versions: Likewise.
9677 * wcsmbs/Versions: Likewise.
9678
bd07f23c 96792013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9680
22af19f9
SP
9681 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9682 loop termination condition.
9683
4709fe76
SP
9684 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9685 variable to calculate EZ.
9686 (__sqr): Likewise.
2d0e0f29
SP
9687
9688 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9689 the lower precision input.
9690
daaa7713
JM
96912013-02-15 Joseph Myers <joseph@codesourcery.com>
9692
9693 [BZ #13550]
9694 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9695 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9696 (run-via-rtld-prefix): Do not handle %-bp tests.
9697 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9698 (all-object-suffixes): Remove .ob.
9699 (bppfx): Remove variable.
9700 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9701 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9702 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9703 [$(build-bounded) = yes] (libtype.ob): Likewise.
9704 * Makerules (elide-routines.ob): Remove variable.
9705 (do-tests-clean): Do not handle *-bp.out.
9706 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9707 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9708 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9709 (tests): Do not include $(tests-bp.out).
9710 (xtests): Do not include $(xtests-bp.out).
9711 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9712 [$(build-bounded) = yes] ($(addprefix
9713 $(objpfx),$(binaries-bounded))): Remove rule.
9714 ($(objpfx)%-bp.out): Remove rule.
9715 * config.make.in (build-bounded): Remove variable.
9716 * crypt/Makefile [$(build-bounded) = yes]
9717 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9718 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9719 append to variable.
9720 [$(build-bounded) = yes] (install-lib): Likewise.
9721 [$(build-bounded) = yes] (generated): Likewise.
9722 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9723 Remove rule.
9724 * intl/Makefile [$(build-bounded) = yes]
9725 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9726 * math/Makefile [$(build-bounded) = yes]
9727 ($(tests:%=$(objpfx)%-bp): Likewise.
9728 * misc/Makefile [$(build-bounded) = yes]
9729 ($(objpfx)tst-tsearch-bp): Likewise.
9730 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9731 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9732 Remove dependency.
9733 * string/Makefile (o-objects.ob): Remove variable.
9734 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9735 (CFLAGS-.ob): Remove variable.
9736 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9737 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9738 both definitions of variable.
9739 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9740 (ASFLAGS-.ob): Remove variable.
9741
e97ed6dd
JM
97422013-02-14 Joseph Myers <joseph@codesourcery.com>
9743
2bdd4ca6
JM
9744 [BZ #13550]
9745 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9746 Remove __BOUNDED_POINTERS__ from condition.
9747 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9748 * string/bits/string2.h [!__NO_STRING_INLINES &&
9749 !__BOUNDED_POINTERS__]: Likewise.
9750 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9751 Likewise.
9752 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9753 Remove conditional code.
9754 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9755 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9756 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9757 condition.
9758
e97ed6dd
JM
9759 [BZ #13550]
9760 * csu/libc-start.c: Do not include <bp-sym.h>.
9761 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9762 * elf/dl-open.c: Do not include <bp-sym.h>.
9763 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9764 * math/fegetenv.c: Do not include <bp-sym.h>.
9765 (fegetenv): Do not use BP_SYM in versioned symbols.
9766 * nptl/sysdeps/pthread/bits/libc-lockP.h
9767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9768 <bp-sym.h>.
9769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9770 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9772 (__pthread_mutex_destroy): Likewise.
9773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9774 (__pthread_mutex_lock): Likewise.
9775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9776 (__pthread_mutex_trylock): Likewise.
9777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9778 (__pthread_mutex_unlock): Likewise.
9779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9780 (__pthread_mutexattr_init): Likewise.
9781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9782 (__pthread_mutexattr_destroy): Likewise.
9783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9784 (__pthread_mutexattr_settype): Likewise.
9785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9786 (__pthread_rwlock_init): Likewise.
9787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9788 (__pthread_rwlock_destroy): Likewise.
9789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9790 (__pthread_rwlock_rdlock): Likewise.
9791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9792 (__pthread_rwlock_tryrdlock): Likewise.
9793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9794 (__pthread_rwlock_wrlock): Likewise.
9795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9796 (__pthread_rwlock_trywrlock): Likewise.
9797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9798 (__pthread_rwlock_unlock): Likewise.
9799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9800 (__pthread_key_create): Likewise.
9801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9802 (__pthread_setspecific): Likewise.
9803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9804 (__pthread_getspecific): Likewise.
9805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9806 Likewise.
9807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9808 (_pthread_cleanup_push_defer): Likewise.
9809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9810 (_pthread_cleanup_pop_restore): Likewise.
9811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9812 (pthread_setcancelstate): Likewise.
9813 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9814 <bp-sym.h>.
9815 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9816 (memchr): Do not use BP_SYM in weak_alias.
9817 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9818 (fegetenv): Do not use BP_SYM in versioned symbols.
9819 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9820 (fesetenv): Do not use BP_SYM in versioned symbols.
9821 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9822 (feupdateenv): Do not use BP_SYM in versioned symbols.
9823 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9824 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9825 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9826 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9827 (open64): Do not use BP_SYM in weak_alias.
9828 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9829 (fegetenv): Do not use BP_SYM in versioned symbols.
9830 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9831 (fesetenv): Do not use BP_SYM in versioned symbols.
9832 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9833 (feupdateenv): Do not use BP_SYM in versioned symbols.
9834 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9835 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9836 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9837 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9838 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9839 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9840 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9841 <bp-sym.h>.
9842 (__libc_start_main): Do not use BP_SYM.
9843
d6752ccd
SP
98442013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9845
cb57ce60
SP
9846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9847 redundant return line.
9848 (norm): Likewise.
9849 (denorm): Likewise.
9850 (dbl_mp): Likewise.
9851 (sub_magnitudes): Likewise.
9852 (__add): Likewise.
9853 (__sub): Likewise.
9854 (__mul): Likewise.
9855 (__inv): Likewise.
9856 (__dvd): Likewise.
9857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9858 (norm): Likewise.
9859 (denorm): Likewise.
9860 (dbl_mp): Likewise.
9861 (sub_magnitudes): Likewise.
9862 (__add): Likewise.
9863 (__sub): Likewise.
9864 (__mul): Likewise.
9865 (__inv): Likewise.
9866 (__dvd): Likewise.
9867
f414520d
SP
9868 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9869 instead of __mul.
9870 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9871 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9872 (cc32): Likewise.
9873
d6752ccd
SP
9874 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9875 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9876 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9877 of __mul for squares.
9878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9879 function
9880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9881 Likewise.
9882 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9884
70d9946a
JM
98852013-02-13 Joseph Myers <joseph@codesourcery.com>
9886
9887 [BZ #13550]
9888 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9889 code.
9890 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9891 prototype or function definition. Rename ubp_* variables and
9892 parameters. Remove argv definitions conditional on
9893 [__BOUNDED_POINTERS__].
9894 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9895 * elf/dl-runtime.c (_dl_fixup): Likewise.
9896 * include/set-hooks.h (RUN_HOOK): Likewise.
9897 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9898 definition.
9899 * string/strcpy.c (strcpy): Do not use __unbounded.
9900 * sysdeps/generic/frame.h (struct layout): Likewise.
9901 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9902 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9903 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9904 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9905 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9906 (__backtrace): Likewise.
9907 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9908 use __ptrvalue.
9909 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9910 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9911 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9912 Likewise.
9913 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9914 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9915 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9916 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9917 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9918 Do not use __unbounded.
9919 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9920 Rename __unboundedrlimits parameter to rlimits in prototype.
9921 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9922 Do not use __unbounded.
9923 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9924 not use __ptrvalue.
9925 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9926 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9927 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9928 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9929 __ptrvalue or __unbounded.
9930 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9931 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9932 use __unbounded.
9933 (__new_msgctl): Do not use __ptrvalue.
9934 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9935 __unbounded.
9936 (__libc_msgrcv): Do not use __ptrvalue.
9937 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9938 startup_info): Do not use __unbounded.
9939 (__libc_start_main): Likewise. Rename ubp_* variables and
9940 parameters. Remove argv definitions conditional on
9941 [__BOUNDED_POINTERS__].
9942 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9943 __ptrvalue.
9944 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9945 use __unbounded.
9946 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9947 or __ptrvalue.
9948 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9949 use __unbounded.
9950 (__new_shmctl): Do not use __ptrvalue.
9951 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9952 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9953 Likewise.
9954 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9955 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9956 (__libc_sigaction): Likewise.
9957 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9958 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9959 Likewise.
9960 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9961
cc7834d6
OB
99622013-02-13 Ondřej Bílka <neleai@seznam.cz>
9963
ffb1ec7b 9964 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9965
9966 * string/mempcpy.c: Implement by calling memcpy.
9967
bdf02814
SP
99682013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9969
c2af38aa
SP
9970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9971
4e92d59e
SP
9972 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9973 evaluation.
9974
909279a5
SP
9975 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9976 values in the mantissa.
9977
bdf02814
SP
9978 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9979 minimize writes to Z.
9980 (sub_magnitudes): Simplify code a bit.
9981
cd525923
RM
99822013-02-12 Roland McGrath <roland@hack.frob.com>
9983
9984 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9985 from the message. The linker prefixes all warnings with that already.
9986
7e2f0d2d
AS
99872013-02-12 Andreas Schwab <schwab@suse.de>
9988
a445af0b
AS
9989 [BZ #15078]
9990 * posix/regexec.c (extend_buffers): Add parameter min_len.
9991 (check_matching): Pass minimum needed length.
9992 (clean_state_log_if_needed): Likewise.
9993 (get_subexp): Likewise.
9994 * posix/Makefile (tests): Add bug-regex34.
9995 (bug-regex34-ENV): Define.
9996 * posix/bug-regex34.c: New file.
9997
7e2f0d2d
AS
9998 [BZ #11561]
9999 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10000 elements compare against the byte sequence of it, not its name.
10001 * posix/Makefile (tests): Add bug-regex35.
10002 (bug-regex35-ENV): Define.
10003 * posix/bug-regex35.c: New file.
10004
a175b684
TV
100052013-02-11 Tom de Vries <tom@codesourcery.com>
10006
10007 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10008 comment.
10009 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10010 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10011 (CHECK_EOL): Add undef.
10012
310998fe 100132013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10014
10015 * bits/stdlib-bsearch.h: New file.
10016 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10017 * stdlib/stdlib.h: Likewise.
41eda41d 10018
8ded91fb
RM
100192013-02-11 Roland McGrath <roland@hack.frob.com>
10020
10021 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10022 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10023 declaration.
10024 * manual/search.texi (Array Search Function): Add missing const in
10025 lfind prototype.
10026 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10027 declaration to use rlim_t.
10028 (Basic Scheduling Functions): Remove erroneous const from
10029 sched_getparam prototype. Remove erroneous * from
10030 sched_get_priority_max and sched_get_priority_min prototypes.
10031 (Resource Usage): Fix summary @comment on vtimes to refer to
10032 sys/vtimes.h rather than vtimes.h.
10033 Add missing *s in vtimes prototype.
10034 (Limits on Resources): Fix ulimit prototype to return long int.
10035 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10036 prototypes to use long int rather than double.
10037 (BSD Random): Fix initstate and setstate to use char *, not void *.
10038 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10039 prototype to make second argument 'struct aiocb64 *const[]'.
10040 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10041 (Status of AIO Operations): Remove erroneous const in aio_return and
10042 aio_return64 prototypes.
10043 (Synchronizing I/O): Fix sync prototype to return void.
10044 * manual/startup.texi (Suboptions): Remove an erroneous const in
10045 getsubopt prototype.
10046 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10047 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10048 use size_t rather than int.
10049 (Scanning All Users): Likewise for getpwent_r.
10050 (Setting Groups): Add missing const to setgroups prototype.
10051 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10052 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10053 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10054 'const void *' rather than 'const char *'.
10055 (Host Address Functions): Likewise for inet_ntop.
10056 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10057 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10058 ssize_t for return value.
10059 (Sending Data): Likewise for send, sendto, sendmsg.
10060 (Socket Option Functions): Add a missing const in setsockopt prototype.
10061 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10062 use wchar_t for the argument.
10063 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10064 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10065 take no arguments.
10066 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10067 double/float/long double for second argument.
10068 Fix return types of significand, significandf, significandl.
10069 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10070 argument in fchmod prototype.
10071 (File Owner): Use uid_t and gid_t in fchown prototype.
10072 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10073 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10074 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10075 use 'const struct dirent **' as argument types to CMP function pointer
10076 argument.
10077 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10078 (File Times): Fix summary magic @comment for struct utimbuf and utime
10079 to refer to utime.h, not time.h.
10080 * manual/string.texi (Argz Functions): Add missing const in
10081 argz_extract and argz_next prototypes.
10082 (Finding Tokens in a String): Likewise for basename.
10083 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10084 (Copying and Concatenation): Fix typo in wmemmove prototype.
10085 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10086 (Signal Stack): Remove erroneous const in sigstack prototype.
10087 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10088 prototype.
10089 (Simple Calendar Time): Likewise for stime.
10090 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10091 prototype.
10092 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10093 say sys/sysctl.h instead.
10094 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10095 and vsyslog prototypes.
10096
fe77fe6d
TV
100972013-02-11 Tom de Vries <tom@codesourcery.com>
10098
10099 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10100 Remove.
10101
3a09b620
RM
101022013-02-11 Roland McGrath <roland@hack.frob.com>
10103
10104 * misc/sys/mman.h: Fix typo in mremap comment.
10105
550a0b89
RM
101062013-02-08 Roland McGrath <roland@hack.frob.com>
10107
10108 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10109 the '\0' terminator.
10110
a2da1673
JM
101112013-02-08 Joseph Myers <joseph@codesourcery.com>
10112
10113 [BZ #13550]
10114 * debug/segfault.c: Don't include <bp-checks.h>.
10115 * sysdeps/generic/bp-checks.h: Remove file.
10116 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10117 (__GETDENTS): Don't use CHECK_N.
10118 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10119 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10120 (__getgroups): Don't use CHECK_N.
10121 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10122 (setgroups): Don't use CHECK_N.
10123 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10124 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10125 (__libc_msgrcv): Don't use CHECK_N.
10126 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10127 (__libc_msgsnd): Don't use CHECK_N.
10128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10129 <bp-checks.h>.
10130 (__libc_pread): Don't use CHECK_N.
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10132 include <bp-checks.h>.
10133 (__libc_pread64): Don't use CHECK_N.
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10135 include <bp-checks.h>.
10136 (__libc_pwrite): Don't use CHECK_N.
10137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10138 include <bp-checks.h>.
10139 (__libc_pwrite64): Don't use CHECK_N.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10141 <bp-checks.h>.
10142 (__libc_pread): Don't use CHECK_N.
10143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10144 include <bp-checks.h>.
10145 (__libc_pread64): Don't use CHECK_N.
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10147 include <bp-checks.h>.
10148 (__libc_pwrite): Don't use CHECK_N.
10149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10150 include <bp-checks.h>.
10151 (__libc_pwrite64): Don't use CHECK_N.
10152 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10153 (do_pread): Don't use CHECK_N.
10154 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10155 (do_pread64): Don't use CHECK_N.
10156 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10157 (do_pwrite): Don't use CHECK_N.
10158 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10159 (do_pwrite64): Don't use CHECK_N.
10160 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10161 (__libc_readv): Don't use CHECK_N.
10162 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10163 (semop): Don't use CHECK_N.
10164 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10165 <bp-checks.h>.
10166 (semtimedop): Don't use CHECK_N.
10167 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10168 (__libc_pread): Don't use CHECK_N.
10169 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10170 <bp-checks.h>.
10171 (__libc_pread64): Don't use CHECK_N.
10172 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10173 <bp-checks.h>.
10174 (__libc_pwrite): Don't use CHECK_N.
10175 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10176 <bp-checks.h>.
10177 (__libc_pwrite64): Don't use CHECK_N.
10178 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10179 <bp-checks.h>.
10180 (__libc_msgrcv): Don't use CHECK_N.
10181 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10182 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10183 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10184 (__libc_writev): Don't use CHECK_N.
10185
b84660a8
RM
101862013-02-08 Roland McGrath <roland@hack.frob.com>
10187
7f3e75f8
RM
10188 * string/strcpy.c: Removed unused variable.
10189
b84660a8
RM
10190 * Makeconfig (+sysdep-includes): Define with := rather than =.
10191 Use an existing include/ subdir of each sysdeps dir before it.
10192
471514d3
CD
101932013-02-08 Carlos O'Donell <carlos@redhat.com>
10194
10195 * nscd/connection.c (register_traced_file): Comment function.
10196 [HAVE_INOTIFY] (union __inev): Define.
10197 [HAVE_INOTIFY] (inotify_check_files): New function.
10198 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10199 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10200 clear_db_cache.
10201 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10202
b2d3c3be
CD
102032013-02-08 Carlos O'Donell <carlos@redhat.com>
10204
10205 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10206 loaded if not already and that a failure is permanent.
10207
b39949d2
CD
102082013-02-08 Carlos O'Donell <carlos@redhat.com>
10209
ddacd1db 10210 [BZ #15006]
b39949d2
CD
10211 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10212 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10213
b2c9eff4
JM
102142013-02-08 Joseph Myers <joseph@codesourcery.com>
10215
f3aae3f3
JM
10216 [BZ #13550]
10217 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10218 (CHECK_1_NULL_OK): Likewise.
10219 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10220 (__fxstat): Do not use CHECK_1.
10221 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10222 <bp-checks.h>.
10223 (___fxstat64): Do not use CHECK_1.
10224 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10225 <bp-checks.h>.
10226 (__fxstatat): Do not use CHECK_1.
10227 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10228 <bp-checks.h>.
10229 (__fxstatat64): Do not use CHECK_1.
10230 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10231 <bp-checks.h>.
10232 (__fxstat): Do not use CHECK_1.
10233 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10234 <bp-checks.h>.
10235 (__fxstatat): Do not use CHECK_1.
10236 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10237 <bp-checks.h>.
10238 (__getresgid): Do not use CHECK_1.
10239 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10240 <bp-checks.h>.
10241 (__getresuid): Do not use CHECK_1.
10242 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10243 <bp-checks.h>.
10244 (__lxstat): Do not use CHECK_1.
10245 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10246 <bp-checks.h>.
10247 (__old_msgctl): Do not use CHECK_1.
10248 (__new_msgctl): Likewise.
10249 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10250 <bp-checks.h>.
10251 (__new_setrlimit): Do not use CHECK_1.
10252 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10253 <bp-checks.h>.
10254 (__old_shmctl): Do not use CHECK_1.
10255 (__new_shmctl): Likewise.
10256 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10257 <bp-checks.h>.
10258 (__xstat): Do not use CHECK_1.
10259 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10260 (__lxstat): Do not use CHECK_1.
10261 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10262 <bp-checks.h>.
10263 (___lxstat64): Do not use CHECK_1.
10264 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10265 (__old_msgctl): Do not use CHECK_1.
10266 (__new_msgctl): Likewise.
10267 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10268 <bp-checks.h>.
10269 (__gettimeofday): Do not use CHECK_1.
10270 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10271 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10272 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10273 <bp-checks.h>.
10274 (__gettimeofday): Do not use CHECK_1.
10275 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10276 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10277 (__new_shmctl): Do not use CHECK_1.
10278 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10279 <bp-checks.h>.
10280 (do_sigtimedwait): Do not use CHECK_1.
10281 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10282 <bp-checks.h>.
10283 (do_sigwaitinfo): Do not use CHECK_1.
10284 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10285 <bp-checks.h>.
10286 (msgctl): Do not use CHECK_1.
10287 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10288 <bp-checks.h>.
10289 (shmctl): Do not use CHECK_1.
10290 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10291 (ustat): Do not use CHECK_1.
10292 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10293 <bp-checks.h>.
10294 (__fxstat): Do not use CHECK_1.
10295 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10296 <bp-checks.h>.
10297 (__fxstatat): Do not use CHECK_1.
10298 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10299 <bp-checks.h>.
10300 (__lxstat): Do not use CHECK_1.
10301 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10302 <bp-checks.h>.
10303 (__xstat): Do not use CHECK_1.
10304 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10305 (__xstat): Do not use CHECK_1.
10306 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10307 (___xstat64): Do not use CHECK_1.
10308
b2c9eff4
JM
10309 [BZ #13550]
10310 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10311 definitions.
10312 (CHECK_BOUNDS_HIGH): Likewise.
10313 * string/strcpy.c: Do not include <bp-checks.h>.
10314 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10315
f1d70dad
RM
103162013-02-07 Roland McGrath <roland@hack.frob.com>
10317
10318 * nscd/nscd-client.h (__nscd_drop_map_ref):
10319 Add __attribute__ ((unused)).
10320 * nis/nss-nisplus.h (niserr2nss): Likewise.
10321
10322 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10323 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10324
10325 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10326 Remove inline keyword.
10327 * include/rounding-mode.h (round_away): Likewise.
10328 * libio/wfileops.c (adjust_wide_data): Likewise.
10329 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10330 (__m128i_strloadu_tolower): Likewise.
10331 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10332 (__m128i_strloadu_tolower): Likewise.
10333 * time/mktime.c (ydhms_diff): Likewise.
10334 * locale/elem-hash.h (elem_hash): Likewise.
10335 * locale/setlocale.c (setdata): Likewise.
10336 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10337 (re_string_wchar_at): Likewise.
10338 (bitset_not, bitset_merge, bitset_mask): Likewise.
10339 [!(__GNUC__ > 3)] (inline): Remove macro.
10340 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10341 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10342 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10343 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10344 * string/memcmp.c (memcmp_bytes): Likewise.
10345 * locale/programs/locarchive.c (compute_hashval): Likewise.
10346 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10347 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10348 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10349 * nss/getent.c (print_rpc, print_protocols): Likewise.
10350 (print_passwd, print_group, print_aliases): Likewise.
10351 * nis/nss-nisplus.h (niserr2nss): Likewise.
10352 * nscd/connections.c (restart_p): Likewise.
10353 Change return type to bool.
10354
eab55bfb
RM
103552013-02-05 Roland McGrath <roland@hack.frob.com>
10356
7bd642f5
RM
10357 * Makeconfig (all-Depend-files): Add existing
10358 $(sorted-subdirs:=/Depend) files.
10359 (all-subdirs): Remove nss.
10360 * sysdeps/unix/inet/Subdirs: Add it here instead.
10361 * hesiod/Depend: New file.
10362
573c29b2
RM
10363 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10364 instead of calling alloca.
10365
b2e25af0
RM
10366 * io/lseek.c (__lseek): Rename to __libc_lseek.
10367 Define __lseek as an alias.
10368
eab55bfb
RM
10369 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10370
9a0d1941
CD
103712013-02-04 Carlos O'Donell <carlos@redhat.com>
10372
10373 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10374 else clause and remove check for non-standard endianness.
10375
b83bbec4
DM
103762013-02-04 David S. Miller <davem@davemloft.net>
10377
10378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10379
6277fdab
JM
103802013-02-04 Joseph Myers <joseph@codesourcery.com>
10381
10382 [BZ #13550]
10383 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10384 (__ubp_memchr): Remove prototype.
10385 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10386 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10387 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10388 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10389 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10390 Remove alias.
10391 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10392 (__ubp_memchr): Likewise.
10393 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10394 (__ubp_memchr): Likewise.
10395 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10396 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10397 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10398 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10399 CHECK_STRING.
10400 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10401 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10402 (__getcwd): Do not use CHECK_STRING.
10403 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10404 <bp-checks.h>.
10405 (__real_chown): Do not use CHECK_STRING.
10406 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10407 <bp-checks.h>.
10408 (fchownat): Do not use CHECK_STRING.
10409 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10410 CHECK_STRING.
10411 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10412 <bp-checks.h>.
10413 (__lchown): Do not use CHECK_STRING.
10414 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10415 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10416 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10417 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10419 include <bp-checks.h>.
10420 (truncate64): Do not use CHECK_STRING.
10421 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10422 <bp-checks.h>.
10423 (__real_chown): Do not use CHECK_STRING.
10424 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10425 <bp-checks.h>.
10426 (__lchown): Do not use CHECK_STRING.
10427 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10428 <bp-checks.h>.
10429 (__chown): Do not use CHECK_STRING.
10430 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10431 <bp-checks.h>.
10432 (truncate64): Do not use CHECK_STRING.
10433 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10434 Likewise.
10435 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10436 (__xmknod): Do not use CHECK_STRING.
10437 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10438 <bp-checks.h>.
10439 (__xmknodat): Do not use CHECK_STRING.
10440 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10441 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10442
903ae060
AS
104432013-02-04 Andreas Schwab <schwab@suse.de>
10444
10445 [BZ #14142]
10446 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10447 * include/netdb.h: Likewise for h_errno.
10448 * elf/tst-stackguard1.c: Include <tls.h>.
10449
542f9466
JK
104502013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10451
10452 * elf/link.h (struct link_map): Extend the l_addr comment.
10453 * include/link.h (struct link_map): Likewise.
10454
e782a927
JM
104552013-02-01 Joseph Myers <joseph@codesourcery.com>
10456
10457 [BZ #13550]
10458 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10459 (BOUNDED_1): Remove macro.
10460 * debug/backtrace.c: Don't include <bp-checks.h>.
10461 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10462 (__backtrace): Likewise.
10463 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10464 <bp-checks.h>.
10465 (__backtrace): Don't use BOUNDED_1.
10466 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10467 <bp-checks.h>.
10468 (__backtrace): Don't use BOUNDED_1.
10469 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10470 (__backtrace): Don't use BOUNDED_1.
10471 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10472 (shmat): Don't use BOUNDED_N.
10473
8cf28c5e
JM
104742013-01-31 Joseph Myers <joseph@codesourcery.com>
10475
3a7ac8a0
JM
10476 [BZ #13550]
10477 * sysdeps/generic/bp-start.h: Remove file.
10478 * csu/libc-start.c: Don't include <bp-start.h>.
10479 (LIBC_START_MAIN): Set up __environ directly instead of using
10480 INIT_ARGV_and_ENVIRON.
10481 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10482 <bp-start.h>.
10483
f3499f95
JM
10484 [BZ #13550]
10485 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10486 definitions.
10487 (CHECK_FCNTL): Likewise.
10488 (CHECK_N_PAGES): Likewise.
10489
32a45bea
JM
10490 [BZ #13550]
10491 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10492 definitions.
10493 (CHECK_SIGSET_NULL_OK): Likewise.
10494 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10495 <bp-checks.h>.
10496 (sigpending): Don't use CHECK_SIGSET.
10497 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10498 <bp-checks.h>.
10499 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10500 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10501 <bp-checks.h>.
10502 (do_sigsuspend): Don't use CHECK_SIGSET.
10503 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10504 use CHECK_SIGSET.
10505 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10506 (do_sigwait): Don't use CHECK_SIGSET.
10507 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10508 use CHECK_SIGSET.
10509 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10510 include <bp-checks.h>.
10511 (sigpending): Don't use CHECK_SIGSET.
10512 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10513 include <bp-checks.h>.
10514 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10515 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10516 <bp-checks.h>.
10517 (sigpending): Don't use CHECK_SIGSET.
10518 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10519 <bp-checks.h>.
10520 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10521
2e8a5c8c
JM
10522 [BZ #13550]
10523 * sysdeps/generic/bp-semctl.h: Remove file.
10524 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10525 <bp-checks.h> and <bp-semctl.h>.
10526 (__old_semctl): Don't use CHECK_SEMCTL.
10527 (__new_semctl): Likewise.
10528 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10529 and <bp-semctl.h>.
10530 (__old_semctl): Don't use CHECK_SEMCTL.
10531 (__new_semctl): Likewise.
10532 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10533 <bp-checks.h> and <bp-semctl.h>.
10534 (__old_semctl): Don't use CHECK_SEMCTL.
10535 (__new_semctl): Likewise.
10536 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10537 <bp-checks.h> and <bp-semctl.h>.
10538 (semctl): Don't use CHECK_SEMCTL.
10539
c2d54929
JM
10540 [BZ #13550]
10541 * Makerules (elide-bp-thunks): Remove variable.
10542 (elide-routines.oS): Don't use $(elide-bp-thunks).
10543 (elide-routines.os): Likewise.
10544 (elide-routines.o): Likewise.
10545 (elide-routines.op): Likewise.
10546 (elide-routines.og): Likewise.
10547 (objects): Don't use $(bp-thunks).
10548 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10549 include.
10550 (common-generated): Do not add s-proto-bp.d.
10551 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10552 (int): Likewise.
10553 (typ): Likewise.
10554 Do not generate makefile rules for bounded-pointer thunks.
10555 * sysdeps/generic/bp-thunks.h: Remove file.
10556 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10557 * sysdeps/unix/s-proto-bp.S: Likewise.
10558
8cf28c5e
JM
10559 [BZ #15062]
10560 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10561 parts of result separately when argument is not close to line from
10562 -i to i and one part of argument is small.
10563 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10564 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10565 * math/libm-test.inc (cacos_test): Add more tests.
10566 (casin_test): Likewise.
10567 (casinh_test): Likewise.
10568 * sysdeps/i386/fpu/libm-test-ulps: Update.
10569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10570
c4e33b8d
DM
105712013-01-31 David S. Miller <davem@davemloft.net>
10572
10573 * po/de.po: Update from translation team.
10574
3b60b421
MK
105752013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10576
10577 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10578
bb931195
TS
105792013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10580
b5a5da23
TS
10581 * configure.in (_AC_PROG_CC_C89): New definition.
10582 * configure: Regenerate.
10583
bb931195
TS
10584 * configure.in (AC_PROG_CPP): New definition.
10585 * configure: Regenerate.
10586
8c53a12c
JM
105872013-01-23 Joseph Myers <joseph@codesourcery.com>
10588
10589 * debug/tst-backtrace.h: New file.
10590 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10591 (ret): Remove variable.
10592 (x): Likewise.
10593 (FAIL): Remove macro.
10594 (NO_INLINE): Likewise.
10595 (fn1): Use match function instead of strstr.
10596 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10597 (ret): Remove variable.
10598 (x): Likewise.
10599 (FAIL): Remove macro.
10600 (NO_INLINE): Likewise.
10601 (fn): Use match function instead of strstr.
10602 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10603 (ret): Remove variable.
10604 (x): Likewise.
10605 (FAIL): Remove macro.
10606 (NO_INLINE): Likewise.
10607 (handle_signal): Use match function instead of strstr.
10608 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10609 (ret): Remove variable.
10610 (x): Likewise.
10611 (FAIL): Remove macro.
10612 (NO_INLINE): Likewise.
10613 (handle_signal): Use match function instead of strstr.
10614
4858fa2a
RM
106152013-01-23 Roland McGrath <roland@hack.frob.com>
10616
10617 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10618
bae8e7f5
DM
106192013-01-23 David S. Miller <davem@davemloft.net>
10620
10621 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10622 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10623 argument of CAS if possible.
10624 * sysdeps/sparc/sparc64/bits/atomic.h
10625 (__arch_compare_and_exchange_val_32_acq): Likewise.
10626 (__arch_compare_and_exchange_val_64_acq): Likewise.
10627
9cbbc4ae
PT
106282013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10629
10630 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10631 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10632 Include <limits.h>.
67b3f58c 10633 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10634
5655a0b5
AC
106352013-01-23 Adam Conrad <adconrad@0c3.net>
10636
10637 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10638 (LDFLAGS-tst-array5): Likewise.
10639
052aff95
JM
106402013-01-23 Joseph Myers <joseph@codesourcery.com>
10641
10642 [BZ #15036]
10643 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10644 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10645 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10646 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10647
7c1e01aa
DM
106482013-01-21 David S. Miller <davem@davemloft.net>
10649
10650 * sysdeps/sparc/backtrace.c: New file.
10651 * sysdeps/sparc/sparc32/backtrace.h: New file.
10652 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10653 * sysdeps/sparc/sparc64/backtrace.h: New file.
10654 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10655 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10656 -funwind-tables.
10657
ab087e0a
AS
106582013-01-21 Andreas Schwab <schwab@suse.de>
10659
10660 [BZ #15020]
10661 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10662 closed its stdout.
10663
ed689c2f
AS
106642013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10665
10666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10667 "mpa2.h".
10668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10669
31d470ac
JM
106702013-01-18 Joseph Myers <joseph@codesourcery.com>
10671 Mark Mitchell <mark@codesourcery.com>
10672 Tom de Vries <tom@codesourcery.com>
10673 Paul Pluzhnikov <ppluzhnikov@google.com>
10674
10675 * debug/tst-backtrace2.c: New file.
10676 * debug/tst-backtrace3.c: Likewise.
10677 * debug/tst-backtrace4.c: Likewise.
10678 * debug/tst-backtrace5.c: Likewise.
10679 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10680 (CFLAGS-tst-backtrace3.c): Likewise.
10681 (CFLAGS-tst-backtrace4.c): Likewise.
10682 (CFLAGS-tst-backtrace5.c): Likewise.
10683 (LDFLAGS-tst-backtrace2): Likewise.
10684 (LDFLAGS-tst-backtrace3): Likewise.
10685 (LDFLAGS-tst-backtrace4): Likewise.
10686 (LDFLAGS-tst-backtrace5): Likewise.
10687 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10688 tst-backtrace4 and tst-backtrace5.
10689
90567f30 106902013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10691 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10692
10693 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10694 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10695 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10696 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10698 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10699 "+r" and remove output regs list as redundant. Add explicit inline
10700 asm to specify register of return val to work around compiler codegen
10701 bug. Remove (int) cast on return value. Add return type parameter to
10702 use in macro so that this macro does not truncate return value for
10703 64-bit values.
10704 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10705 pass to INTERNAL_VSYSCALL_NCS.
10706 (INLINE_VSYSCALL): Add 'long int' as return type to
10707 INTERNAL_VSYSCALL_NCS macro invocation.
10708 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10709 INTERNAL_VSYSCALL_NCS macro invocation.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10711
d3b9ea61
SP
107122013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10713
0b57daeb
SP
10714 [BZ #14496]
10715 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10716 Fix application of SIMD FP exception mask.
10717
caa99d06
SP
10718 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10719 mp_no from a power of two.
10720 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10721 __mpexp_twomm1. Use __pow_mp.
10722
d3b9ea61
SP
10723 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10724 multiplication.
10725
1dbaee3c
DM
107262013-01-17 David S. Miller <davem@davemloft.net>
10727
10728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10729
728d7b43
JM
107302013-01-17 Joseph Myers <joseph@codesourcery.com>
10731
10732 [BZ #15023]
10733 * include/complex.h: Condition contents on [!_COMPLEX_H].
10734 (__kernel_casinhf): New prototype.
10735 (__kernel_casinh): Likewise.
10736 (__kernel_casinhl): Likewise.
10737 * math/Makefile (libm_calls): Add k_casinh.
10738 * math/k_casinh.c: New file.
10739 * math/k_casinhf.c: Likewise.
10740 * math/k_casinhl.c: Likewise.
10741 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10742 finite nonzero arguments.
10743 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10744 finite nonzero arguments.
10745 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10746 finite nonzero arguments.
10747 * math/s_casinh.c: Do not include <float.h>.
10748 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10749 * math/s_casinhf.c: Do not include <float.h>.
10750 (__casinhf): Move code for finite nonzero arguments to
10751 k_casinhf.c.
10752 * math/s_casinhl.c: Do not include <float.h>.
10753 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10754 redefine.
10755 (__casinhl): Move code for finite nonzero arguments to
10756 k_casinhl.c.
10757 * math/libm-test.inc (cacos_test): Add more tests.
10758 * sysdeps/i386/fpu/libm-test-ulps: Update.
10759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10760
2a26ef3a
PT
107612013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10762
10763 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10764 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10765 [!HAVE_MREMAP]: Remove [defined linux] case.
10766 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10767
a897655d
SP
107682013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10769
10770 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10771
881ebe89 107722013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10773
10774 * elf/elf.h (R_386_SIZE32): New relocation.
10775 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10776 R_386_SIZE32.
10777 (elf_machine_rela): Likewise.
10778 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10779 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10780
59981e9b
JM
107812013-01-17 Joseph Myers <joseph@codesourcery.com>
10782
10783 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10784 (FP_FAST_FMA): Do not define.
10785 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10786 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10787 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10788 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10789 !_SOFT_FLOAT]: Likewise.
10790 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10791 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10792 value.
10793 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10794 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10795 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10796 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10797 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10798 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10799 file.
10800
cfa8054f
AS
108012013-01-16 Andreas Schwab <schwab@suse.de>
10802
10803 [BZ #14327]
10804 * include/stdlib.h (__mktemp): Add declaration.
10805 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10806 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10807
dd930cc5
SP
108082013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10809
881ebe89
SP
10810 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10811 definitions.
10812 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10813 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10814 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10815 definitions here.
10816 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10817 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10818 definitions.
10819 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10820 and ONE.
10821 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10822 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10823 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10824 definitions.
10825 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10826 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10827 definitions.
10828 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10829
dd930cc5
SP
10830 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10831
c19a9f89
DM
108322013-01-15 David S. Miller <davem@davemloft.net>
10833
1aa61767
DM
10834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10835 trunc{,f} to libm-sysdep_routes.
10836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10838 file.
10839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10841 file.
10842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10843 file.
10844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10846 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10847 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10848 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10849 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10850 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10851 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10852
c42d5e98
DM
10853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10854 nearbyint{,f} to libm-sysdep_routes.
10855 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10857 New file.
10858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10859 file.
10860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10861 New file.
10862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10863 file.
10864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10866 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10867 file.
10868 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10869 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10870 file.
10871 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10872 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10873 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10874
c19a9f89
DM
10875 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10876 libc_feholdexcept and libc_fesetenv.
10877
357679d2
MF
108782013-01-15 Mike Frysinger <vapier@gentoo.org>
10879
10880 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10881
65a82e3d
DM
108822013-01-14 David S. Miller <davem@davemloft.net>
10883
8b954ab9
DM
10884 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10885 (SPARC_ASM_VIS2_IFUNC): Likewise.
10886 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10888 use of 'siam' instruction.
10889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10890 Likewise.
10891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10892 Likewise.
10893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10894 Likewise.
10895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10900 file.
10901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10902 file.
10903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10904 file.
10905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10906 file.
10907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10912 new VIS2 routines.
10913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10916 Likewise.
10917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10919 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10922 routines to libm-sysdep_routines.
10923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10924
65a82e3d
DM
10925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10926 fdim/fdimf to libm-sysdep_routines.
10927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10928 file.
10929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10931 file.
10932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10935 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10936 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10937 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10938 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10939
e34ab705
SP
109402013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10941
2a91b573
SP
10942 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10943 to optimize copies.
10944
1066a534
SP
10945 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10947 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10948
e34ab705
SP
10949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10950 local variable MPTWO.
10951 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10952 Likewise.
10953
aba5e596
MF
109542013-01-13 Mike Frysinger <vapier@gentoo.org>
10955
10956 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10957 GLOB_NOESCAPE.
10958
e557e9e5
MF
109592013-01-13 Mike Frysinger <vapier@gentoo.org>
10960
10961 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10962
0428cec9
MF
109632013-01-13 Mike Frysinger <vapier@gentoo.org>
10964
10965 * manual/pattern.texi (glob_t): Document gl_flags.
10966 (glob64_t): Likewise.
10967
8794a964
DM
109682013-01-11 David S. Miller <davem@davemloft.net>
10969
66438c3f
RM
10970 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10971 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10972 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10973 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10974 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10975 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10976 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10977 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10978 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10979 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10980 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10981 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10982 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10983
4ae4244d
DM
10984 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10985 sparc V9 rather than using V8 code.
10986 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10987 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10988
8794a964
DM
10989 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10990 Move to...
10991 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10992 Here.
10993
6270516e
RM
109942013-01-11 Roland McGrath <roland@hack.frob.com>
10995
10996 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10997 not in the main loop.
10998 * configure: Regenerated.
10999
6a57d931
JM
110002013-01-11 Joseph Myers <joseph@codesourcery.com>
11001
11002 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11003 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11004 to just #else.
11005 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11006 [!__GLIBC_HAVE_LONG_LONG] case.
11007 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11008 condition to just #else.
11009 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11010 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11011 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11012 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11013 unconditional.
11014 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11015 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11016 #elif condition to just #else.
11017 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11018 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11019 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11020 #elif condition to just #else.
11021
0e8529e9
SE
110222013-01-11 Steve Ellcey <sellcey@mips.com>
11023
11024 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11025 (EF_MIPS_ARCH_64): Fix value.
11026 (EF_MIPS_ARCH_32R2): New.
11027 (EF_MIPS_ARCH_64R2): New.
11028
740b3dbe
L
110292013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11030
11031 * Makeconfig (+link-pie-before-libc): New.
11032 (+link-pie-after-libc): Likewise.
11033 (+link-pie-tests): Likewise.
11034 (+link-pie): Rewritten.
11035 (link-before-libc): Remove $(config-LDFLAGS).
11036 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11037 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11038 (config-LDFLAGS): Renamed to ...
11039 (rtld-LDFLAGS): This.
11040 (rtld-tests-LDFLAGS): New macro.
11041 (link-libc-rpath-link): Likewise.
11042 (link-libc-tests-rpath-link): Likewise.
11043 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11044 (link-libc): Prepand $(link-libc-rpath-link).
11045 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11046 (test-program-prefix): New macro.
11047 (test-via-rtld-prefix): Likewise.
11048 (test-program-cmd): Likewise.
11049 (host-test-program-cmd): Likewise.
11050 * Makefile ($(common-objpfx)testrun.sh): Replace
11051 $(run-program-prefix) with $(test-program-prefix).
11052 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11053 $(rtld-LDFLAGS).
11054 ($(common-objpfx)shlib.lds): Likewise.
11055 (build-module-helper): Likewise.
11056 ($(common-objpfx)format.lds): Likewise.
11057 * Rules (binaries-pie-tests): New.
11058 (binaries-pie-notests): Likewise.
11059 (binaries-pie): Rewritten.
11060 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11061 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11062 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11063 (make-test-out): Replace $(host-built-program-cmd) with
11064 $(host-test-program-cmd).
11065 * config.make.in (build-hardcoded-path-in-tests): New variable.
11066 * configure.in (--enable-hardcoded-path-in-tests): New configure
11067 option.
11068 (hardcoded_path_in_tests): New AC_SUBST.
11069 * configure: Regenerated.
11070 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11071 $(built-program-cmd) with $(test-program-cmd).
11072 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11073 (test_program_cmd): This.
11074 * elf/Makefile ($(objpfx)order.out): Run test with
11075 $(test-program-prefix).
11076 ($(objpfx)order2.out): Likewise.
11077 ($(objpfx)tst-initorder.out): Likewise.
11078 ($(objpfx)tst-initorder2.out): Likewise.
11079 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11080 $(test-program-cmd).
11081 ($(objpfx)tst-array1-static.out): Likewise.
11082 ($(objpfx)tst-array2.out): Likewise.
11083 ($(objpfx)tst-array3.out): Likewise.
11084 ($(objpfx)tst-array4.out): Likewise.
11085 ($(objpfx)tst-array5.out): Likewise.
11086 ($(objpfx)tst-array5-static.out): Likewise.
11087 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11088 $(test-program-cmd).
11089 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11090 $(run-program-prefix) with $(test-program-prefix).
11091 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11092 (test_program_prefix): This.
11093 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11094 $(run-program-prefix) with $(test-program-prefix).
11095 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11096 (test_program_prefix): This.
11097 * iconvdata/tst-tables.sh: Likewise.
11098 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11099 $(run-program-prefix) with $(test-program-prefix).
11100 ($(objpfx)tst-translit.out): Likewise.
11101 ($(objpfx)tst-gettext2.out): Likewise.
11102 ($(objpfx)tst-gettext4.out): Likewise.
11103 ($(objpfx)tst-gettext6.out): Likewise.
11104 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11105 (test_program_prefix): This.
11106 * intl/tst-gettext2.sh: Likewise.
11107 * intl/tst-gettext4.sh Likewise.
11108 * intl/tst-gettext6.sh: Likewise.
11109 * intl/tst-translit.sh: Likewise.
11110 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11111 with $(test-program-cmd).
11112 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11113 $(run-program-prefix) with $(test-program-prefix).
11114 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11115 (test_program_prefix): This.
11116 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11117 $(run-program-prefix) with $(test-program-prefix).
11118 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11119 (test_program_prefix): This.
11120 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11121 * posix/Makefile ($(objpfx)globtest.out): Replace
11122 $(run-via-rtld-prefix) and $(test-wrapper) with
11123 $(test-program-prefix) and $(test-via-rtld-prefix).
11124 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11125 $(test-program-prefix).
11126 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11127 $(host-test-program-cmd).
11128 (tst-spawn-ARGS): Likewise.
11129 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11130 $(test-program-prefix).
11131 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11132 (test_via_rtld_prefix): This.
11133 (test_wrapper): Renamed to ...
11134 (test_program_prefix): This.
11135 (run_program_prefix): Replaced by test_program_prefix.
11136 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11137 (test_program_prefix): This.
11138 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11139 with $(host-test-program-cmd).
11140 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11141 $(run-program-prefix) with $(test-program-prefix).
11142 ($(objpfx)tst-printf.out): Likewise.
11143 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11144 $(test-program-cmd).
11145 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11146 (test_program_prefix): This.
11147 * stdio-common/tst-unbputc.sh: Likewise.
11148 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11149 $(run-program-prefix) with $(test-program-prefix).
11150 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11151 (test_program_prefix): This.
11152 * string/Makefile ($(objpfx)tst-svc.out): Replace
11153 $(built-program-cmd) with $(test-program-cmd).
11154
c6fe55cf
AJ
111552013-01-11 Andreas Jaeger <aj@suse.de>
11156
11157 [BZ #15003]
11158 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11159 value. Sync with Linux 3.7.
11160
9e6919c8
DM
111612013-01-10 David S. Miller <davem@davemloft.net>
11162
11163 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11164 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11165 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11166
1c9f1a02
RM
111672013-01-10 Roland McGrath <roland@hack.frob.com>
11168
11169 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11170 never set.
11171 * configure: Regenerated.
11172
b9de2dde
DM
111732013-01-10 David S. Miller <davem@davemloft.net>
11174
11175 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11176 sparc V9 rather than using V8 code.
11177 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11178 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11179
e7f68ef4
RM
111802013-01-10 Roland McGrath <roland@hack.frob.com>
11181
11182 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11183 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11184 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11185 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11186 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11187 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11188 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11189 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11190 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11191 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11192 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11193 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11194 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11195 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11196 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11197 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11198 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11199 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11200 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11201 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11202 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11203 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11204 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11205 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11206 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11207 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11208 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11209
5a47cc9c
DM
112102013-01-10 David S. Miller <davem@davemloft.net>
11211
11212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11213
4cf8f209
L
112142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11215
11216 * posix/Makefile (tests-static): New variable.
11217 (tests): Add $(tests-static).
11218 (tst-exec-static-ARGS): New variable.
11219 (tst-spawn-static-ARGS): Likewise.
11220 * posix/tst-exec-static.c: New file.
11221 * posix/tst-spawn-static.c: Likewise.
11222 * posix/tst-exec.c: Support run directly.
11223 * posix/tst-spawn.c: Likewise.
11224
fed0faa1
JM
112252013-01-10 Joseph Myers <joseph@codesourcery.com>
11226
828beb13
JM
11227 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11228 long.
11229 * math/bits/mathcalls.h (llrint): Likewise.
11230 (llround): Likewise.
11231 * stdlib/stdlib.h (struct drand48_data): Likewise.
11232 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11233 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11234 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11235 Likewise.
11236 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11237 Likewise.
11238 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11239 (elf_greg_t): Likewise.
11240 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11241 (__jmp_buf): Likewise.
11242 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11243 definitions.
11244 (llrint): Likewise, for all definitions.
11245 (llrintl): Likewise.
11246
fed0faa1
JM
11247 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11248 Remove [__GNUC__] condition.
11249 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11250 condition to just [__USE_ISOC99].
11251 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11252
1a20cb20
L
112532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11254
11255 [BZ #14200]
11256 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11257 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11258 defined.
11259 (_POSIX_V6_ILP32_OFF32): Likewise.
11260 (_XBS5_ILP32_OFF32): Likewise.
11261 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11262 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11263
751b85f7
SP
112642013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11265
7490eb81
SP
11266 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11267
751b85f7
SP
11268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11269 doubles __mpexp_twomm1. Adjust usage.
11270 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11271 Remove.
11272
988197f0
AS
112732013-01-10 Andreas Schwab <schwab@suse.de>
11274
11275 [BZ #14964]
11276 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11277 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11278
e83d7298
DM
112792013-01-09 David S. Miller <davem@davemloft.net>
11280
034ed64b 11281 [BZ #15003]
e83d7298
DM
11282 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11283 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11284 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11285 TCP_FASTOPEN): Define.
11286 (tcp_repair_opt): New structure.
11287 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11288 enum values.
11289 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11290 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11291 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11292 (tcp_cookie_transactions): New structure.
11293
d5e0b9bd
AB
112942013-01-09 Anton Blanchard <anton@samba.org>
11295
11296 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11297 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11298 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11299 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11300
0c07e3ea
JM
113012013-01-09 Joseph Myers <joseph@codesourcery.com>
11302
11303 * include/features.h (__USE_ANSI): Remove.
11304
232f7002
RM
113052013-01-09 Roland McGrath <roland@hack.frob.com>
11306
ad98e30c
RM
11307 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11308
232f7002
RM
11309 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11310
950c99ca
SP
113112013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11312
b5792741
SP
11313 * sysdeps/s390/fpu/libm-test-ulps: Update.
11314
47cf2278
SP
11315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11316
950c99ca
SP
11317 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11318 (__acr): Likewise.
11319 (__cpy): Likewise.
11320 (norm): Likewise.
11321 (denorm): Likewise.
11322 (__mp_dbl): Likewise.
11323 (__dbl_mp): Likewise.
11324 (add_magnitudes): Likewise.
11325 (sub_magnitudes): Likewise.
11326 (__add): Likewise.
11327 (__sub): Likewise.
11328 (__mul): Likewise.
11329 (__inv): Likewise.
11330 (__dvd): Likewise.
11331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11332 (__acr): Likewise.
11333 (__cpy): Likewise.
11334 (norm): Likewise.
11335 (denorm): Likewise.
11336 (__mp_dbl): Likewise.
11337 (__dbl_mp): Likewise.
11338 (add_magnitudes): Likewise.
11339 (sub_magnitudes): Likewise.
11340 (__add): Likewise.
11341 (__sub): Likewise.
11342 (__mul): Likewise.
11343 (__inv): Likewise.
11344 (__dvd): Likewise.
11345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11346 (__acr): Likewise.
11347 (__cpy): Likewise.
11348 (norm): Likewise.
11349 (denorm): Likewise.
11350 (__mp_dbl): Likewise.
11351 (__dbl_mp): Likewise.
11352 (add_magnitudes): Likewise.
11353 (sub_magnitudes): Likewise.
11354 (__add): Likewise.
11355 (__sub): Likewise.
11356 (__mul): Likewise.
11357 (__inv): Likewise.
11358 (__dvd): Likewise.
11359
eede9df9
JM
113602013-01-08 Joseph Myers <joseph@codesourcery.com>
11361
11362 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11363 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11364 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11365 2 && __USE_EXTERN_INLINES]: Likewise.
11366
c40ea3d9
AJ
113672013-01-08 Andreas Jaeger <aj@suse.de>
11368
11369 [BZ# 14985]
11370 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11371 Remove.
11372 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11373 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11374
2ccdea26
AB
113752013-01-07 Anton Blanchard <anton@samba.org>
11376
11377 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11378 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11379 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11380 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11381 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11382 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11383 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11384 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11385 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11386 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11387 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11388 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11389 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11390 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11391 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11392 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11393 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11394 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11395 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11396 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11397 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11398 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11399 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11400 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11401 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11402 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11403 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11404 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11405 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11406 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11407 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11409 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11410 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11411 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11412 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11413 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11414 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11415 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11416 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11417 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11419 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11420
a9708fed
JM
114212013-01-07 Joseph Myers <joseph@codesourcery.com>
11422
375607b9
JM
11423 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11424 (__MALLOC_PMT): Likewise.
11425 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11426 [__GNUC__], only on [_LIBC].
11427 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11428 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11429 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11430 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11431 forward declaration.
11432 (realloc_hook_ini): Likewise.
11433 (memalign_hook_ini): Likewise.
11434 (__libc_memalign): Do not use __MALLOC_PMT in variable
11435 declaration.
11436 (__libc_valloc): Likewise.
11437 (__libc_pvalloc): Likewise.
11438 (__libc_calloc): Likewise.
11439 (__posix_memalign): Likewise.
11440
a9708fed
JM
11441 [BZ #14996]
11442 * math/s_casinh.c: Include <float.h>.
11443 (__casinh): Do not do computation with squaring and square root
11444 for large arguments.
11445 * math/s_casinhf.c: Include <float.h>.
11446 (__casinhf): Do not do computation with squaring and square root
11447 for large arguments.
11448 * math/s_casinhl.c: Include <float.h>.
11449 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11450 (__casinhl): Do not do computation with squaring and square root
11451 for large arguments.
11452 * math/libm-test.inc (casin_test): Add more tests.
11453 (casinh_test): Likewise.
11454 * sysdeps/i386/fpu/libm-test-ulps: Update.
11455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11456
afec409a
L
114572013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11458
11459 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11460 (__x86_64_raw_data_cache_size): Likewise.
11461 (__x86_64_data_cache_size_half): Likewise.
11462 (__x86_64_raw_data_cache_size_half): Likewise.
11463 (__x86_64_shared_cache_size): Likewise.
11464 (__x86_64_raw_shared_cache_size): Likewise.
11465 (__x86_64_shared_cache_size_half): Likewise.
11466 (__x86_64_raw_shared_cache_size_half): Likewise.
11467 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11468 to ...
11469 (__x86_data_cache_size): This.
11470 (__x86_64_raw_data_cache_size): Renamed to ...
11471 (__x86_raw_data_cache_size): This.
11472 (__x86_64_data_cache_size_half): Renamed to ...
11473 (__x86_data_cache_size_half): This.
11474 (__x86_64_raw_data_cache_size_half): Renamed to ...
11475 (__x86_raw_data_cache_size_half): This.
11476 (__x86_64_shared_cache_size): Renamed to ...
11477 (__x86_shared_cache_size): This.
11478 (__x86_64_raw_shared_cache_size): Renamed to ...
11479 (__x86_raw_shared_cache_size): This.
11480 (__x86_64_shared_cache_size_half): Renamed to ...
11481 (__x86_shared_cache_size_half): This.
11482 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11483 (__x86_raw_shared_cache_size_half): This.
11484 * sysdeps/x86_64/memcpy.S: Updated.
11485 * sysdeps/x86_64/memset.S: Likewise.
11486 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11487 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11488 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11489
0b3986d0
DM
114902013-01-04 David S. Miller <davem@davemloft.net>
11491
11492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11493
e47686e9
AS
114942013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11495
d643bac1
AS
11496 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11497 1 to avoid redefinition warning.
11498 (__USE_GNU): Don't define.
11499 (init_signaling_nan): Protoize.
11500
e47686e9
AS
11501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11502
b18decba
SP
115032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11504
fffb407f
SP
11505 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11507 (__cpymn): Likewise.
11508 (norm): Remove commented code.
11509 (denorm): Likewise.
11510 (__mp_dbl): Likewise.
11511 (__inv): Likewise.
11512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11513 (__cpymn): Likewise.
11514 (norm): Remove commented code.
11515 (denorm): Likewise.
11516 (__mp_dbl): Likewise.
11517 (__inv): Likewise.
11518
b18decba
SP
11519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11520 mp_no value for 1.0 and 2.0.
11521 (norm): Use RADIXI instead of radixi.d.
11522 (denorm): Likewise.
11523 (__mul): Use 0.0 instead of zero.d.
11524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11525 mp_no value for 1.0 and 2.0.
11526 (norm): Use RADIXI instead of radixi.d.
11527 (denorm): Likewise.
11528 (__mul): Use 0.0 instead of zero.d.
11529
cdc1c96f
JM
115302013-01-04 Joseph Myers <joseph@codesourcery.com>
11531
11532 [BZ #14994]
11533 * math/s_casinh.c (__casinh): Reduce finite argument to first
11534 quadrant then set signs of results at the end.
11535 * math/s_casinhf.c (__casinhf): Likewise.
11536 * math/s_casinhl.c (__casinhl): Likewise.
11537 * math/libm-test.inc (casin_test): Add more tests.
11538 (casinh_test): Likewise.
11539 * sysdeps/i386/fpu/libm-test-ulps: Update.
11540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11541
302913e1
SP
115422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11543
6420d207
SP
11544 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11545
a9e48ab4
SP
11546 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11547
b7837264
SP
11548 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11549 declarations.
11550 (denorm): Likewise.
11551 (__mp_dbl): Likewise.
11552 (__inv): Likewise.
11553
f8af25d2
SP
11554 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11555 and adjust the header comment.
11556
302913e1
SP
11557 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11558 variable name from declaration.
11559
5d7dd1ca
L
115602013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11561
11562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11563 Initialize COMMON_CPUID_INDEX_7 element.
11564 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11565 (CPUID_RTM): Likewise.
11566 (HAS_RTM): Likewise.
11567 (COMMON_CPUID_INDEX_7): New enum.
11568
2f5f40f4
AS
115692013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11570
11571 [BZ #14981]
11572 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11573 size is zero, record memory as freed.
11574
4056f4a0
AJ
115752013-01-03 Andreas Jaeger <aj@suse.de>
11576
11577 * po/ia.po: Add new Interlingua translation.
11578
ab15736f 115792012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11580
11581 * locale/programs/localedef.c: Fix description of '--posix' flag.
11582
568035b7
JM
115832013-01-02 Joseph Myers <joseph@codesourcery.com>
11584
e6898b8d
JM
11585 * NEWS: Update dates in second copyright notice.
11586 * README: Update copyright dates in example.
11587 * manual/libc.texinfo: Update copyright dates.
11588 * scripts/test-installation.pl: Update copyright date in --version
11589 output.
11590
0e2f9562
JM
11591 * hurd/ctty-input.c: Fix copyright notice formatting.
11592 * hurd/ctty-output.c: Likewise.
11593 * hurd/dtable.c: Likewise.
11594 * hurd/hurd-raise.c: Likewise.
11595 * hurd/hurdprio.c: Likewise.
11596 * hurd/msgportdemux.c: Likewise.
11597 * misc/sys/file.h: Likewise.
11598 * misc/sys/ioctl.h: Likewise.
11599 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11600 * sysdeps/mach/hurd/chdir.c: Likewise.
11601 * sysdeps/mach/hurd/fchdir.c: Likewise.
11602 * sysdeps/mach/hurd/rename.c: Likewise.
11603 * sysdeps/mach/hurd/rmdir.c: Likewise.
11604 * sysdeps/mach/hurd/seekdir.c: Likewise.
11605 * sysdeps/mach/hurd/setsid.c: Likewise.
11606 * sysdeps/posix/wait3.c: Likewise.
11607
568035b7
JM
11608 * All files with FSF copyright notices: Update copyright dates
11609 using scripts/update-copyrights.
11610 * intl/plural.c: Regenerated.
11611 * locale/programs/charmap-kw.h: Likewise.
11612 * locale/programs/locfile-kw.h: Likewise.
11613
da08f647
SP
116142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11615
0f5477af
SP
11616 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11617 four values.
11618
44e0d4c2
SP
11619 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11620 calculation loop and add branch prediction.
11621
4d55b4e5
SP
11622 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11623 check access beyond bounds of m1np.
11624
da08f647
SP
11625 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11626 MPTWO.
11627 (__inv): Remove local variable MPTWO to use the global
11628 constant.
11629 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11631 variable MPTWO.
11632 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11633 MP3HALFS static const.
11634
8e051029
DM
116352013-01-01 David S. Miller <davem@davemloft.net>
11636
11637 * po/ca.po: Update from translation team.
11638
f4cf5f2d
JM
116392013-01-01 Joseph Myers <joseph@codesourcery.com>
11640
11641 * scripts/update-copyrights: New file.
11642 * Makeconfig: Reformat copyright notice.
11643 * ctype/ctype.h: Likewise.
11644 * debug/swprintf_chk.c: Likewise.
11645 * elf/dl-cache.c: Likewise.
11646 * elf/dl-debug.c: Likewise.
11647 * elf/dl-object.c: Likewise.
11648 * grp/initgroups.c: Likewise.
11649 * hurd/Makefile: Likewise.
11650 * hurd/hurd/signal.h: Likewise.
11651 * hurd/hurdfault.c: Likewise.
11652 * hurd/hurdioctl.c: Likewise.
11653 * hurd/hurdlookup.c: Likewise.
11654 * hurd/intr-msg.c: Likewise.
11655 * iconv/gconv_open.c: Likewise.
11656 * libio/swprintf.c: Likewise.
11657 * locale/lc-ctype.c: Likewise.
11658 * locale/nl_langinfo.c: Likewise.
11659 * mach/Machrules: Likewise.
11660 * mach/Makefile: Likewise.
11661 * malloc/obstack.h: Likewise.
11662 * manual/Makefile: Likewise.
11663 * manual/tsort.awk: Likewise.
11664 * misc/bits/stab.def: Likewise.
11665 * nis/nis_print_group_entry.c: Likewise.
11666 * nis/nis_table.c: Likewise.
11667 * nis/nss_compat/compat-pwd.c: Likewise.
11668 * nis/nss_compat/compat-spwd.c: Likewise.
11669 * po/Makefile: Likewise.
11670 * posix/fnmatch.c: Likewise.
11671 * posix/regex.h: Likewise.
11672 * resolv/Makefile: Likewise.
11673 * resolv/nss_dns/dns-network.c: Likewise.
11674 * resolv/res_hconf.c: Likewise.
11675 * scripts/gen-sorted.awk: Likewise.
11676 * soft-fp/soft-fp.h: Likewise.
11677 * stdio-common/printf.h: Likewise.
11678 * stdlib/monetary.h: Likewise.
11679 * stdlib/random.c: Likewise.
11680 * stdlib/random_r.c: Likewise.
11681 * sysdeps/generic/Makefile: Likewise.
11682 * sysdeps/gnu/Makefile: Likewise.
11683 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11684 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11685 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11687 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11690 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11691 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11692 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11693 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11694 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11695 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11696 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11697 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11698 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11699 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11700 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11701 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11702 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11703 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11704 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11705 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11706 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11707 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11709 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11710 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11711 * sysdeps/mach/hurd/errnos.awk: Likewise.
11712 * sysdeps/mach/hurd/fork.c: Likewise.
11713 * sysdeps/mach/hurd/getcwd.c: Likewise.
11714 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11715 * sysdeps/mach/hurd/mmap.c: Likewise.
11716 * sysdeps/mach/hurd/utimes.c: Likewise.
11717 * sysdeps/mach/hurd/xmknod.c: Likewise.
11718 * sysdeps/posix/profil.c: Likewise.
11719 * sysdeps/posix/readdir_r.c: Likewise.
11720 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11721 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11722 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11723 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11724 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11725 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11726 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11727 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11729 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11730 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11731 * sysdeps/pthread/lio_listio.c: Likewise.
11732 * sysdeps/sparc/dl-procinfo.h: Likewise.
11733 * sysdeps/unix/i386/sysdep.S: Likewise.
11734 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11735 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11736 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11737 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11739 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11740 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11741 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11742 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11743 * sysdeps/wordsize-32/divdi3.c: Likewise.
11744 * time/sys/time.h: Likewise.
11745 * wcsmbs/Makefile: Likewise.
11746
0549fbba
DM
117472013-01-01 David S. Miller <davem@davemloft.net>
11748
a141f1a7
DM
11749 * po/fr.po: Update from translation team.
11750
0549fbba
DM
11751 * catgets/gencat.c: Update copyright year.
11752 * csu/version.c: Likewise.
11753 * debug/catchsegv.sh: Likewise.
11754 * debug/pcprofiledump.c: Likewise.
11755 * debug/xtrace.sh: Likewise.
11756 * elf/ldconfig.c: Likewise.
11757 * elf/ldd.bash.in: Likewise.
11758 * elf/pldd.c: Likewise.
11759 * elf/sotruss.ksh: Likewise.
11760 * elf/sprof.c: Likewise.
11761 * iconv/iconv_prog.c: Likewise.
11762 * iconv/iconvconfig.c: Likewise.
11763 * locale/programs/locale.c: Likewise.
11764 * locale/programs/localedef.c: Likewise.
11765 * login/programs/pt_chown.c: Likewise.
11766 * malloc/memusage.sh: Likewise.
11767 * malloc/memusagestat.c: Likewise.
11768 * malloc/mtrace.pl: Likewise.
11769 * nscd/nscd.c: Likewise.
11770 * nss/getent.c: Likewise.
11771 * nss/makedb.c: Likewise.
11772 * posix/getconf.c: Likewise.
11773
18ea052c
SP
117742012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11775
11776 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11777 numbers.
11778
9c89fca6
MF
117792012-12-30 Mike Frysinger <vapier@gentoo.org>
11780
11781 * math/bits/mathcalls.h (modf): Use __nonnull.
11782
085ec079
SP
117832012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11784
11785 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11786 (split): Use macro CN instead of the bare value.
11787 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11788 could be used.
11789 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11790 instead of the bare value.
11791 (power1): Likewise.
11792
6d9f97e1
SP
117932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11794
d63f73be
SP
11795 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11796 __ATAN_TWOM.
11797 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11798
6d9f97e1
SP
11799 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11800 their values.
11801 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11802 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11803 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11804 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11805
4c4febf5
AJ
118062012-12-28 Andreas Jaeger <aj@suse.de>
11807
af5843ef
AJ
11808 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11809 values are from Linux 3.7.
11810
4c4febf5
AJ
11811 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11812 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11813
99136f82
SP
118142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11815
2f216c3c 11816 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11817 TRUE case.
11818
99136f82
SP
11819 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11820 (norm): Likewise.
11821 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11822 variables with preprocessor constants.
11823 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11824 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11825 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11826
7fffbdff
BH
118272012-12-27 Bruno Haible <bruno@clisp.org>
11828
11829 [BZ #14317]
11830 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11831 only if needed.
11832
b76eb5f0
SP
118332012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11834
31a7fe5c
SP
11835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11836 and use variable directly.
11837 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11838
b76eb5f0
SP
11839 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11840 MPONE.
11841 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11842 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11843 variable MPONE.
11844 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11846 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11847 include directive. Remove local variable MPONE.
11848 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11849 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11850 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11851
2c8bfe7d
DM
118522012-12-25 David S. Miller <davem@davemloft.net>
11853
11854 * version.h (RELEASE): Set to "development".
11855 (VERSION): Set to "2.17.90".
11856 * NEWS: Add 2.18 section.
11857
147d03b0
DM
118582012-12-21 David S. Miller <davem@davemloft.net>
11859
11860 * po/hr.po: Update from translation team.
11861
a8ebb2b9
AK
118622012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11863
11864 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11865
95b4f1b6
SE
118662012-12-19 Steve Ellcey <sellcey@mips.com>
11867
b2d94007 11868 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11869
cedb2a90
MS
118702012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11871
11872 * manual/contrib.texi (Contributors): Spelling correction.
11873
bbf527d6
DM
118742012-12-15 David S. Miller <davem@davemloft.net>
11875
11876 * po/ru.po: Update from translation team.
11877
bc38c906
DM
118782012-12-13 David S. Miller <davem@davemloft.net>
11879
85429b1a
DM
11880 * NEWS: Mention IFUNC testsuite enhancements.
11881
d283e353
DM
11882 * po/pl.po: Update from translation team.
11883 * po/bg.po: Likewise.
11884
bc38c906
DM
11885 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11886 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11887
a181b0d7
DM
118882012-12-11 David S. Miller <davem@davemloft.net>
11889
4641d57e
DM
11890 * po/sv.po: Update from translation team.
11891
f7bc6495
DM
11892 * po/vi.po: Update from translation team.
11893
6fc9048f
DM
11894 * po/cs.po: Update from translation team.
11895
a181b0d7
DM
11896 * po/de.po: Update from translation team.
11897 * po/eo.po: Likewise.
11898 * po/nl.po: Likewise.
11899
f70bfe80
SP
119002012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11901
3c8b4190
SP
11902 [BZ #14246]
11903 * manual/argp.texi (Argp Helper Functions): Move node to follow
11904 Argp Parsing State.
11905
f70bfe80
SP
11906 [BZ #14872]
11907 * manual/conf.texi (Limits on File System Capacity): Mention if
11908 terminating null is included in the max size.
11909
188f0adf
AJ
119102012-12-10 Andreas Jaeger <aj@suse.de>
11911
11912 * po/cs.po: Update from translation team.
11913
56e7d3ad
SP
119142012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11915
11916 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11917 void pointer and cast to uintptr_t.
11918 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11919 path.
11920 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11921 * sysdeps/s390/s390-64/memset.S: Likewise.
11922
76f2d2ea 119232012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11924
11925 [BZ #14833]
11926 * menual/message.texi (Message Translation): Fix typos.
11927 (Helper programs for gettext): Likewise.
11928
67cbf9a2
AS
119292012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11930
11931 [BZ #14898]
11932 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11933 Change to -1.
11934
682d0e9a
DM
119352012-12-07 David S. Miller <davem@davemloft.net>
11936
11937 * po/libc.pot: Update.
11938
573cd484
RH
119392012-12-07 Richard Henderson <rth@redhat.com>
11940
7e9da188 11941 [BZ #10114]
573cd484
RH
11942 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11943 normal/normal case to before the switch.
11944 (_FP_DIV): Likewise.
11945
e933a943
MF
119462012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11947 Mike Frysinger <vapier@gentoo.org>
11948
11949 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11950 check for __NR_fadvise64_64.
11951
82123268
CM
119522012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11953
11954 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11955 0, not just to plain "0" as a statement.
11956 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11957 with cw.
11958
d9814526
JM
119592012-12-06 Joseph Myers <joseph@codesourcery.com>
11960
11961 * NEWS: Use sourceware.org in Bugzilla URL.
11962
7728c574
SP
119632012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11964
f16946dd
SP
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11966 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11967
5704bbcb
SP
11968 * stdio-common/tst-put-error.c (do_test): Add newline to the
11969 padded test to ensure flush.
11970
17aa0516
JL
119712012-12-05 Jeff Law <law@redhat.com>
11972
11973 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11974
363313b5
JM
119752012-12-05 Joseph Myers <joseph@codesourcery.com>
11976
effbd42a
JM
11977 * README: Don't refer to ports add-on as distributed separately.
11978 Mention AArch64 in list of systems supported in the ports add-on.
11979
87600365
JM
11980 * LICENSES: Add more non-FSF copyright and license notices.
11981
a0d7066a
JM
11982 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11983 ((unused)).
11984
66ca5a5b
JM
11985 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11986
363313b5
JM
11987 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11988 10000 as width of padded output.
11989
b37984ad
JM
119902012-12-04 Joseph Myers <joseph@codesourcery.com>
11991
9003570a
JM
11992 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11993
b37984ad
JM
11994 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11995 variable LX with __attribute__ ((unused)).
11996 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11997 Likewise.
11998 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11999 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12000 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12001 with __attribute__ ((unused)).
12002
c8df52ec
DM
120032012-12-04 David S. Miller <davem@abraco.davemloft.net>
12004
12005 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12006
b3b099af
JM
120072012-12-04 Joseph Myers <joseph@codesourcery.com>
12008
c33aa6e3
JM
12009 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12010 (CFLAGS-nldbl-acos.c): New variable.
12011 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12012 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12013 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12014 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12015 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12016 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12017 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12018 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12019 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12020 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12021 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12022 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12023 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12024 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12025 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12026 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12027 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12028 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12029 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12030 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12031 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12032 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12033 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12034 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12035 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12036 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12037 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12038 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12039 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12040 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12041 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12042 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12043 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12044 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12045 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12046 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12047 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12048 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12049 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12050 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12051 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12052 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12053 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12054 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12055 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12056 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12057 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12058 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12059 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12060 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12061 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12062 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12063 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12064 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12065 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12066 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12067 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12068 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12069 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12070 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12071 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12072 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12073 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12074 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12075 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12076 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12077 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12078 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12079 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12080 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12081 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12082 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12083 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12084 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12085 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12086 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12087 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12088 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12089 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12090 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12091 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12092 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12093 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12094 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12095 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12096 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12097 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12098 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12099 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12100 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12101 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12102 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12103 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12104 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12105 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12106 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12107 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12108
20f0018d
JM
12109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12110 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12111
b3b099af
JM
12112 [BZ #14914]
12113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12114 whole low double instead of just low 47 bits when splitting values
12115 into two parts.
12116
029264d1
AM
121172012-12-03 Allan McRae <allan@archlinux.org>
12118
12119 * manual/stdio.texi (Predefined Printf Handlers): Remove
12120 @hsep and @vsep usage.
12121
c9d6789e
MF
121222012-12-03 Mike Frysinger <vapier@gentoo.org>
12123
12124 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12125 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12126
4b7634a5
JL
121272012-12-03 Jeff Law <law@redhat.com>
12128
12129 * time/sys/time.h (settimeofday): Do not mark TV argument
12130 as __nonnull.
12131
eb6cbd24
MF
121322012-12-01 Mike Frysinger <vapier@gentoo.org>
12133
12134 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12135 when currently writing and seek to current position when not.
12136 * libio/Makefile (tests): Remove bug-fclose1.
12137 * libio/bug-fclose1.c: Delete.
12138
f638872a
JM
121392012-12-01 Joseph Myers <joseph@codesourcery.com>
12140
12141 * manual/arith.texi (feenableexcept): Fix typo.
12142 (fedisableexcept): Likewise.
12143
48085d14
RM
121442012-11-30 Roland McGrath <roland@hack.frob.com>
12145
12146 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12147 second, differently-typed declaration, rather than a cast.
12148
1a538b9f
SP
121492012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12150
12151 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12152 * include/rpc/svc.h: ... here.
12153
d07f2ff1 121542012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12155
12156 [BZ #13013]
12157 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12158 depending n and resplen2 to catch cases where answer
12159 equals answerp2.
12160
c93ec1f0
CD
121612012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12162
12163 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12164 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12165
37db69de
MF
121662012-11-29 Mike Frysinger <vapier@gentoo.org>
12167
12168 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12169
e10c4e4f
RM
121702012-11-29 Roland McGrath <roland@hack.frob.com>
12171
12172 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12173
2af1b328
JL
121742012-11-28 Jeff Law <law@redhat.com>
12175
12176 [BZ #13761]
12177 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12178 dataset_temporary. Track alloca usage into alloca_used.
12179 If dataset is large allocate and release it via malloc/free.
12180
111db5b1
FW
121812012-06-04 Florian Weimer <fweimer@redhat.com>
12182
f06cc227 12183 [BZ #14197]
111db5b1
FW
12184 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12185
dd694abd
DM
121862012-11-28 David S. Miller <davem@davemloft.net>
12187
12188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12189
9984dd01
JM
121902012-11-28 Joseph Myers <joseph@codesourcery.com>
12191
12192 [BZ #14803]
12193 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12194 of pi/2 rounded to nearest to 64 bits.
12195 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12196 nearest to 64 bits.
12197 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12198 bits.
12199
14bc93a9
JL
122002012-11-28 Jeff Law <law@redhat.com>
12201 Martin Osvald <mosvald@redhat.com>
12202
12203 [BZ #14889]
12204 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12205 * sunrpc/svc.c: Include time.h.
12206 (__svc_accept_failed): New function.
12207 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12208 any reason other than EINTR, call __svc_accept_failed.
12209 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12210 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12211
e3c6aa3a
AS
122122012-11-28 Andreas Schwab <schwab@suse.de>
12213
12214 * scripts/abilist.awk: Also handle indirect functions in .opd
12215 section.
12216
1bead169
JM
122172012-11-28 Joseph Myers <joseph@codesourcery.com>
12218
12219 [BZ #13881]
12220 * sysdeps/x86/fpu/powl_helper.c: New file.
12221 * sysdeps/x86/fpu/Makefile: Likewise.
12222 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12223 (p3): New object.
12224 (__ieee754_powl): Use __powl_helper for finite arguments except
12225 integer exponents below 8.
12226 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12227 (p3): New object.
12228 (__ieee754_powl): Use __powl_helper for finite arguments except
12229 integer exponents below 8.
12230 * math/libm-test.inc (pow_test): Add more tests and enable some
12231 previously disabled tests.
12232 * sysdeps/i386/fpu/libm-test-ulps: Update.
12233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12234
0817d63d
SP
122352012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12236 Carlos O'Donell <carlos_odonell@mentor.com>
12237
12238 * nss/makedb.c (is_prime): Assert that input is odd and greater
12239 than 4. Note that fact in a comment too.
12240 (next_prime): Add 4 to input.
12241
de2fd463
SP
122422012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12243
12244 [BZ #11741]
12245 * libio/Makefile (tests): Add test case tst-fwrite-error.
12246 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12247 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12248 * libio/tst-fwrite-error.c: New test case.
12249
c515fb51
L
122502012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12251
12252 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12253 before casting to void *.
12254 * include/libc-internal.h (__pointer_type): New macro.
12255 (__integer_if_pointer_type_sub): Likewise.
12256 (__integer_if_pointer_type): Likewise.
12257 (cast_to_integer): Likewise.
12258 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12259 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12260 before casting to atomic64_t.
12261 (atomic_exchange_acq): Likewise.
12262 (__arch_exchange_and_add_body): Likewise.
12263 (__arch_add_body): Likewise.
12264 (atomic_add_negative): Likewise.
12265 (atomic_add_zero): Likewise.
12266
4cf77aa9
JM
122672012-11-26 Joseph Myers <joseph@codesourcery.com>
12268
12269 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12270 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12271 (add_fdes): Likewise.
12272 (linear_search_fdes): Likewise.
12273 (binary_search_unencoded_fdes): Likewise.
12274
d260b3b4
AS
122752012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12276
12277 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12278
67060746
AC
122792012-11-24 Adam Conrad <adconrad@0c3.net>
12280
12281 * configure.in: Autodetect C++ header directories.
12282 * configure: Regenerated.
12283
800938a1
MF
122842012-11-23 Mike Frysinger <vapier@gentoo.org>
12285
12286 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12287
4e6e34e6
AS
122882012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12289
12290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12291
7c7feb47
JM
122922012-11-22 Joseph Myers <joseph@codesourcery.com>
12293
7184dcdf
JM
12294 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12295 LDBL_MANT_DIG == 106]: Disable some tests.
12296 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12297 Likewise.
12298 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12299 Likewise.
12300
0a42601f
JM
12301 [BZ #14871]
12302 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12303 input for small inputs. Return +/- pi/2 for large inputs.
12304 * math/libm-test.inc (atan_test): Add more tests.
12305
79c9b9fe
JM
12306 * sysdeps/generic/unwind-dw2-fde-glibc.c
12307 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12308 __attribute__ ((unused)).
12309
c60d3bf2
JM
12310 [BZ #14645]
12311 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12312 x * y if x and y are nonzero and z is zero.
12313
ef1e0867
JM
12314 [BZ #14811]
12315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12316 nonzero exponents with absolute value below 0x1p-117 to +/-
12317 0x1p-117.
12318
1468ded3
JM
12319 [BZ #14869]
12320 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12321 up arguments below 2**-450, not just those below 2**-500.
12322 * math/libm-test.inc (hypot_test): Add another test.
12323
8e27e3cc
JM
12324 [BZ #14868]
12325 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12326 Return a+b for ratio over 2**120, not 2**60.
12327 * math/libm-test.inc (hypot_test): Add another test.
12328
c9c0279b
JM
12329 * math/libm-test.inc (clog_test): Use
12330 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12331 (clog10_test): Likewise.
12332
7c7feb47
JM
12333 [BZ #6778]
12334 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12335
fff1530e
AS
123362012-11-22 Andreas Schwab <schwab@suse.de>
12337
12338 * sysdeps/i386/fpu/libm-test-ulps: Update.
12339
94558d30
PT
123402012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12341
12342 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12343 printf output with newline.
12344
7e1be741
L
123452012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12346
6bfea974
L
12347 [BZ #14865]
12348 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12349 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12350 -z nodlopen, -z initfirst and -z execstack support.
12351 * configure: Regenerated.
12352
7e1be741
L
12353 * elf/elf.h (DF_1_NODIRECT): New macro.
12354 (DF_1_IGNMULDEF): Likewise.
12355 (DF_1_NOKSYMS): Likewise.
12356 (DF_1_NOHDR): Likewise.
12357 (DF_1_EDITED): Likewise.
12358 (DF_1_NORELOC): Likewise.
12359 (DF_1_SYMINTPOSE): Likewise.
12360 (DF_1_GLOBAUDIT): Likewise.
12361 (DF_1_SINGLETON): Likewise.
12362 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12363 DT_1_SUPPORTED_MASK bits.
12364 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12365
105ce2ce
CD
123662012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12367
12368 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12369
123be9de
TS
123702012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12371
d072f3f7
TS
12372 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12373 macro.
12374
123be9de
TS
12375 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12376 (sendmmsg): Move declarations...
12377 * socket/sys/socket.h: ... here.
12378 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12379 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12380 include it from...
12381 * socket/recvmmsg.c: ... this new file.
12382 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12383 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12384 definition of __sendmmsg hidden.
12385 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12386 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12387 Move ENOSYS stub into and include it from...
12388 * socket/sendmmsg.c: ... this new file.
12389 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12390 (sysdep_routines): Move recvmmsg and sendmmsg...
12391 * socket/Makefile (routines): ... here.
12392 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12393 (GLIBC_PRIVATE): Add __sendmmsg.
12394 * include/sys/socket.h (__sendmmsg): Add declarations.
12395 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12396 sendmmsg.
12397
cf9a5d18
JM
123982012-11-20 Joseph Myers <joseph@codesourcery.com>
12399
12400 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12401 variable I1 with __attribute__ ((unused)).
12402 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12403
ecd4caf9
JM
124042012-11-19 Joseph Myers <joseph@codesourcery.com>
12405
be14d48f
JM
12406 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12407 DUMMY variables with __attribute__ ((unused)).
12408
ecd4caf9
JM
12409 * bits/byteswap.h: Include <bits/types.h>.
12410 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12411
986cab95
PT
124122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12413
12414 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12415 string_t. Do not manually set errno.
12416 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12417 length with __strnlen. Make sure to both set errno and return it on
12418 failure.
12419
6d33cc9d
DM
124202012-11-19 David S. Miller <davem@davemloft.net>
12421
12422 With help from Joseph Myers.
12423 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12424 very large arguments properly.
12425 * math/libm-test.inc (atan_test): New tests.
12426 (atan2_test): New tests.
12427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12429
ee663277
JM
124302012-11-19 Joseph Myers <joseph@codesourcery.com>
12431
877f2d8e
JM
12432 [BZ #14856]
12433 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12434 Define to 3.
12435
116fc08a
JM
12436 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12437 [POSIX] (EADDRNOTAVAIL): Likewise.
12438 [POSIX] (EAFNOSUPPORT): Likewise.
12439 [POSIX] (EALREADY): Likewise.
12440 [POSIX] (ECONNABORTED): Likewise.
12441 [POSIX] (ECONNREFUSED): Likewise.
12442 [POSIX] (ECONNRESET): Likewise.
12443 [POSIX] (EDESTADDRREQ): Likewise.
12444 [POSIX] (EDQUOT): Likewise.
12445 [POSIX] (EHOSTUNREACH): Likewise.
12446 [POSIX] (EIDRM): Likewise.
12447 [POSIX] (EISCONN): Likewise.
12448 [POSIX] (ELOOP): Likewise.
12449 [POSIX] (EMULTIHOP): Likewise.
12450 [POSIX] (ENETDOWN): Likewise.
12451 [POSIX] (ENETUNREACH): Likewise.
12452 [POSIX] (ENOBUFS): Likewise.
12453 [POSIX] (ENODATA): Likewise.
12454 [POSIX] (ENOLINK): Likewise.
12455 [POSIX] (ENOMSG): Likewise.
12456 [POSIX] (ENOPROTOOPT): Likewise.
12457 [POSIX] (ENOSR): Likewise.
12458 [POSIX] (ENOSTR): Likewise.
12459 [POSIX] (ENOTCONN): Likewise.
12460 [POSIX] (ENOTSOCK): Likewise.
12461 [POSIX] (EOPNOTSUPP): Likewise.
12462 [POSIX] (EOVERFLOW): Likewise.
12463 [POSIX] (EPROTO): Likewise.
12464 [POSIX] (EPROTONOSUPPORT): Likewise.
12465 [POSIX] (EPROTOTYPE): Likewise.
12466 [POSIX] (ESTALE): Likewise.
12467 [POSIX] (ETIME): Likewise.
12468 [POSIX] (ETXTBSY): Likewise.
12469 [POSIX] (EWOULDBLOCK): Likewise.
12470 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12471 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12472 [POSIX] (SEEK_CUR): Likewise.
12473 [POSIX] (SEEK_END): Likewise.
12474 [POSIX || UNIX98] (mode_t): Do not require.
12475 [POSIX] (off_t): Likewise.
12476 [POSIX] (pid_t): Likewise.
12477 [POSIX] (sys/stat.h): Do not allow header.
12478 [POSIX] (unistd.h): Likewise.
12479 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12480 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12481 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12482 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12483 require.
12484 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12485 sigevent): Specify elements.
12486 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12487 entry.
12488 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12489 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12490
a483863f
JM
12491 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12492 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12493 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12494 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12495 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12496 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12497 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12498 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12499 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12500 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12501 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12502 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12503 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12504 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12505 Likewise.
12506 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12507 Likewise.
12508 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12509 Likewise.
12510 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12511 Likewise.
12512 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12513 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12514 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12515 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12516 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12517 Specify lower bound on value.
12518 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12519 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12520 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12521 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12522 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12523 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12524 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12525 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12526 value.
12527 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12528 as optional.
12529 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12530 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12531 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12532 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12533 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12534 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12535 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12536 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12537 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12538 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12539 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12540 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12541 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12542 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12543 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12544 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12545 entry.
12546 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12547 optional.
12548 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12549 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12550 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12551 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12552 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12553 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12554 Likewise.
12555 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12556 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12557 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12558 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12559 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12560 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12561 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12562 as optional.
12563 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12564 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12565 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12566 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12567 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12568 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12569 specify as optional.
12570 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12571 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12572 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12573 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12574 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12575 [XPG3] (NL_LANGMAX): Likewise.
12576 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12577 [POSIX || XPG3] (NL_NMAX): Likewise.
12578 [POSIX || XPG3] (NL_SETMAX): Likewise.
12579 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12580 [XPG3] (NZERO): Likewise.
12581 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12582 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12583 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12584 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12585 (REG_ERANGE): Expect.
12586 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12587 optional-constant.
12588 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12589 Use (void) in prototype.
12590 [POSIX] (*_t): Allow.
12591 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12592 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12593 (WRDE_BADVAL): Expect.
12594
5ba924e3
JM
12595 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12596 expect.
12597 [XPG3 || XPG4] (O_RSYNC): Likewise.
12598 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12599 Likewise.
12600 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12601 [XPG3 || XPG4] (sigqueue): Likewise.
12602 [XPG3 || XPG4] (sigtimedwait): Likewise.
12603 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12604 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12605 [XPG3 || XPG4] (vsnprintf): Likewise.
12606 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12607 Likewise.
12608 [XPG3 || XPG4] (blksize_t): Likewise.
12609 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12610 Likewise.
12611 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12612 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12613 [XPG3 || XPG4] (struct itimerspec): Likewise.
12614 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12615 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12616 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12617 [XPG3 || XPG4] (clockid_t): Likewise.
12618 [XPG3 || XPG4] (timer_t): Likewise.
12619 [XPG3 || XPG4] (clock_getres): Likewise.
12620 [XPG3 || XPG4] (clock_gettime): Likewise.
12621 [XPG3 || XPG4] (clock_settime): Likewise.
12622 [XPG3 || XPG4] (nanosleep): Likewise.
12623 [XPG3 || XPG4] (timer_create): Likewise.
12624 [XPG3 || XPG4] (timer_delete): Likewise.
12625 [XPG3 || XPG4] (timer_gettime): Likewise.
12626 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12627 [XPG3 || XPG4] (timer_settime): Likewise.
12628 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12629 [XPG3 || XPG4] (getlogin_r): Likewise.
12630 [XPG3 || XPG4] (pread): Likewise.
12631 [XPG3 || XPG4] (pthread_atfork): Likewise.
12632 [XPG3 || XPG4] (pwrite): Likewise.
12633
ee663277
JM
12634 [BZ #14835]
12635 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12636 <bits/siginfo.h>.
12637
942caa16
PT
126382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12639
e19af380
PT
12640 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12641 finalizing MALLSTREAM.
12642
942caa16
PT
12643 * sysdeps/mach/hurd/syncfs.c: New file.
12644
cfde9b46
SP
126452012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12646
12647 [BZ #14719]
12648 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12649 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12650 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12651 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12652 (_nss_dns_gethostbyname4_r): Likewise.
12653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12654 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12655
f6da27e5
PH
126562012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12657
12658 [BZ #13763]
12659 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12660
6665d4a2
SM
126612012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12662
1f51ee92
SM
12663 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12664 * elf/cache.c (print_entry): Print ",AArch64" for
12665 FLAG_AARCH64_LIB64
12666
6665d4a2
SM
12667 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12668 * elf/cache.c (print_entry): Print ",hard-float" for
12669 FLAG_ARM_LIBHF.
12670
05b227bd
DM
126712012-11-18 David S. Miller <davem@davemloft.net>
12672
12673 With help from Joseph Myers.
12674 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12675 cutoff to 2**-13.
12676 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12677 cutoff to 2**-25.
12678 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12679 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12680 small.
12681 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12682 * math/libm-test.inc (y0_test): New tests.
12683 (y1_test): New tests.
12684 * sysdeps/i386/fpu/libm-test-ulps: Update.
12685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12687
786b0b67
AS
126882012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12689
12690 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12691 64-bit targets.
12692 * configure: Regenerated.
12693
8e18b86d
DM
126942012-11-17 David S. Miller <davem@davemloft.net>
12695
12696 [BZ #14811]
12697 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12698 nonzero exponents with absolute value below 0x1p-128 to +/-
12699 0x1p-128.
12700
531f1ae0
JM
127012012-11-17 Joseph Myers <joseph@codesourcery.com>
12702
12df29e2
JM
12703 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12704
150dc1a0
JM
12705 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12706
531f1ae0
JM
12707 * posix/getconf-speclist.c: New file.
12708 * posix/posix-envs.def: Likewise.
12709 * posix/confstr.c (START_ENV_GROUP): New macro.
12710 (END_ENV_GROUP): Likewise.
12711 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12712 (KNOWN_PRESENT_ENV_STRING): Likewise.
12713 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12714 (UNKNOWN_ENVIRONMENT): Likewise.
12715 (confstr): Include posix-envs.def instead of handling
12716 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12717 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12718 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12719 (END_ENV_GROUP): Likewise.
12720 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12721 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12722 (UNKNOWN_ENVIRONMENT): Likewise.
12723 (__sysconf): Include posix-envs.def instead of handling associated
12724 cases directly here.
12725 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12726 preprocessing getconf-speclist.c rather than running getconf or
12727 generating empty file.
12728
a93f9cbc
PT
127292012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12730
12731 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12732
d64d9f87
AL
127332012-11-16 Andrej Lajovic <natrij@gmail.com>
12734
12735 [BZ #14672]
12736 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12737
447885eb
DM
127382012-11-16 David S. Miller <davem@davemloft.net>
12739
12740 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12741 smaller than LDBL_EPSILON/2.0L, just return xm1.
12742
bcbf9830
L
127432012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12744
12745 * elf/tst-array1.c (init): Set constructor priority to 1000.
12746 (fini): Set destructor priority to 1000.
12747 * elf/tst-array2dep.c: Likewise.
12748
2b766585
SP
127492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12750
12751 [BZ #11741]
12752 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12753 (_IO_new_file_xsputn): Also return EOF if none of the input
12754 data was written when overflow failed.
12755 * libio/iopadn.c (_IO_padn): Likewise.
12756 * libio/iowpadn.c (_IO_wpadn): Likewise.
12757 * stdio-common/tst-put-error.c: Add copyright notice.
12758 (do_test): Add case for printing padded string.
12759 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12760 _IO_padn returned error.
12761 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12762 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12763 return EOF.
12764
b1848fde
SP
127652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12766
12767 * libio/libioP.h: Add comment note that the references to C++
12768 bits are now obsolete.
12769
2fd89785
MS
127702012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12771
12772 * math/libm-test.inc (check_complex): Use asprintf.
12773
e3ea5409
JM
127742012-11-14 Joseph Myers <joseph@codesourcery.com>
12775
12776 * debug/pcprofiledump.c (print_version): Update copyright year.
12777 * malloc/memusagestat.c (print_version): Likewise.
12778
2e64d265
L
127792012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12780
12781 [BZ #14831]
12782 * elf/Makefile (tests): Add tst-audit8.
12783 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12784 ($(objpfx)tst-audit8.out): New target.
12785 (tst-audit8-ENV): New variable.
12786 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12787 audit if l_reloc_result is NULL.
12788 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12789 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12790 * elf/tst-audit8.c: New file.
12791
c485e4d2
MS
127922012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12793
12794 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12795 * misc/Makefile (CFLAGS-select.c): Define.
12796 * posix/Makefile (CFLAGS-pause.c): Define.
12797
3a0d900a
DM
127982012-11-13 David S. Miller <davem@davemloft.net>
12799
12800 * crypt/Makefile: Move test targets after toplevel Rules
12801 inclusion. Grab any necessary sysdep routines when linking.
12802 * crypt/md5.c (md5_process_block): Remove define, we will always
12803 name it __md5_process_block.
12804 (md5_finish_ctx): Update md5_process_block call.
12805 (md5_stream): Likewise.
12806 (md5_process_bytes): Likewise.
12807 (md5_process_block): Rename to __md5_process_block and move to ...
12808 * crypt/md5-block.c: ... here.
12809 * crypt/sha256.c (sha256_process_block): Move to ...
12810 * crypt/sha256-block.c: ... here.
12811 * crypt/sha512.c (sha512_process_block): Move to ...
12812 * crypt/sha512-block.c: ... here.
12813 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12814 path.
12815 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12816 * sysdeps/sparc/sparc64/multiarch/Makefile
12817 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12818 crypt subdir.
12819 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12820 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12821 multiarch changes.
12822 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12823 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12824 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12825 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12826 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12827 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12828 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12829 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12830 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12831 file.
12832 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12833 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12834 file.
12835 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12836
8ca89318
JM
128372012-11-13 Joseph Myers <joseph@codesourcery.com>
12838
e27d476a
JM
12839 * timezone/tzselect.ksh: Update from tzcode git revision
12840 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12841 * timezone/zdump.c: Likewise.
12842 * timezone/zic.c: Likewise.
12843 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12844 in TZVERSION setting, not $(PKGVERSION).
12845 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12846 REPORT_BUGS_TO settings.
12847
8ca89318
JM
12848 [BZ #14838]
12849 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12850 macro.
12851
47594329
MS
128522012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12853
12854 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12855 detection to immediately after _FP_ROUND().
12856 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12857 bits are 0.
12858
640ac3f1
DM
128592012-11-11 David S. Miller <davem@davemloft.net>
12860
12861 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12862 inttypes.h
12863 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12864 __close rather than their public counterparts.
12865
3d2577bb
JM
128662012-11-10 Joseph Myers <joseph@codesourcery.com>
12867
12868 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12869 file.
12870 [UNIX98] (sem_timedwait): Do not expect.
12871 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12872 [XPG4 || UNIX98] (sockatmark): Do not expect.
12873 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12874 (clock_getcpuclockid): Do not expect.
12875 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12876 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12877 Do not expect.
12878 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12879 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12880 [UNIX98] (vwscanf): Likewise.
12881 [UNIX98] (vswscanf): Likewise.
12882
fb1ae1ee
JM
128832012-11-09 Joseph Myers <joseph@codesourcery.com>
12884
9ec6f8bd
JM
12885 * timezone/version.h: Remove file.
12886 * timezone/README: Do not refer to version.h.
12887 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12888 $(objpfx)version.h.
12889 ($(objpfx)zdump.o): Likewise.
c3f81911 12890 ($(objpfx)version.h): New target.
9ec6f8bd 12891
0aa8f8a1
JM
12892 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12893 2012i.
12894 * timezone/README: Don't mention modification to tzselect.ksh.
12895 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12896 work on unmodified tzselect.ksh. Substitute version numbers in
12897 tzselect.ksh.
12898
4e87147f
JM
12899 * Makefile (format-me): Remove.
12900 (INSTALL): Adjust indentation. Use commands directly instead of
12901 using $(format-me).
12902
8b748aed
JM
12903 * aclocal.m4 (ACX_PKGVERSION): New macro.
12904 (ACX_BUGURL): Likewise.
12905 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12906 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12907 (REPORT_BUGS_TO): Likewise.
12908 * configure: Regenerated.
12909 * config.h.in (PKGVERSION): New macro.
12910 (REPORT_BUGS_TO): Likewise.
12911 * config.make.in (PKGVERSION): New variable.
12912 (PKGVERSION_TEXI): Likewise.
12913 (REPORT_BUGS_TO): Likewise.
12914 (REPORT_BUGS_TEXI): Likewise.
12915 * Makefile (format-me): Use -I$(common-objpfx)manual.
12916 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12917 ($(common-objpfx)manual/%): New target.
12918 (manual/%): Remove target.
12919 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12920 (print_version): Use PKGVERSION.
12921 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12922 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12923 and REPORT_BUGS_TO.
12924 ($(objpfx)xtrace): Likewise.
12925 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12926 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12927 (print_version): Use PKGVERSION.
12928 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12929 (do_version): Use PKGVERSION.
12930 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12931 REPORT_BUGS_TO.
12932 (common-ldd-rewrite): Likewise.
12933 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12934 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12935 (print_version): Use PKGVERSION.
12936 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12937 * elf/pldd.c (argp_program_bug_address): Remove variable.
12938 (more_help): New function.
12939 (argp): Use more_help.
12940 (print_version): Use PKGVERSION.
12941 * elf/sln.c (main): Use PKGVERSION.
12942 (usage): Use REPORT_BUGS_TO.
12943 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12944 (top level): Use PKGVERSION.
12945 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12946 (print_version): Use PKGVERSION.
12947 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12948 (print_version): Use PKGVERSION.
12949 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12950 (print_version): Use PKGVERSION.
12951 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12952 (print_version): Use PKGVERSION.
12953 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12954 (print_version): Use PKGVERSION.
12955 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12956 (print_version): Use PKGVERSION.
12957 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12958 and BUGURL.
12959 ($(objpfx)memusage): Likewise.
12960 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12961 (do_version): Use PKGVERSION.
12962 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12963 (print_version): Use PKGVERSION.
12964 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12965 ($PKGVERSION): New variable.
12966 ($REPORT_BUGS_TO): Likewise.
12967 (usage): Use $REPORT_BUGS_TO.
12968 (top level): Use $PKGVERSION.
12969 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12970 ($(objpfx)pkgvers.texi): New rule.
12971 ($(objpfx)stamp-pkgvers): Likewise.
12972 * manual/install.texi: Include pkgvers.texi.
12973 (--with-pkgversion): Document new configure option.
12974 (--with-bugurl): Likewise.
12975 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12976 than necessarily for this particular distribution. Use
12977 REPORT_BUGS_TO for where to report bugs.
12978 * INSTALL: Regenerated.
12979 * manual/libc.texinfo: Include pkgvers.texi.
12980 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12981 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12982 (print_version): Use PKGVERSION.
12983 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12984 (print_version): Use PKGVERSION.
12985 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12986 (print_version): Use PKGVERSION.
12987 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12988 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12989 macro.
12990 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12991 (print_version): Use PKGVERSION.
12992 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12993 (print_version): Use PKGVERSION.
12994 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12995 and PKGVERSION.
12996
92e4b6a9
JM
12997 * timezone/checktab.awk: Update from tzcode 2012i.
12998 * timezone/ialloc.c: Likewise.
12999 * timezone/private.h: Likewise.
13000 * timezone/scheck.c: Likewise.
13001 * timezone/tzfile.h: Likewise.
13002 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13003 (TZVERSION): Hardcode tzcode version number.
13004 * timezone/zdump.c: Update from tzcode 2012i.
13005 * timezone/zic.c: Likewise.
13006 * timezone/version.h: New file.
13007 * timezone/README: Describe version.h. Update upstream location.
13008
9bde902c
JM
13009 [BZ #14824]
13010 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13011 (mktemp): Enable declaration.
13012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13013 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13015 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13016 Likewise.
13017 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13018 Likewise.
13019 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13020 Likewise.
13021 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13022 Likewise.
13023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13024 Likewise.
13025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13026 Likewise.
13027
fb1ae1ee
JM
13028 [BZ #14821]
13029 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13030 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13031 for copies of such integer values.
13032 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13033 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13034
2c1adbcb
AJ
130352012-11-09 Andreas Jaeger <aj@suse.de>
13036
13037 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13038 definitions and declarations that are provided by
13039 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13040
d0f8457e
AK
130412012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13042
3a235abb 13043 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13044 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13045 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13046 definition.
13047
57241e26
MS
130482012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13049
13050 * elf/elf.h: Update comment before AArch64 relocations.
13051
60e8270d
DM
130522012-11-07 David S. Miller <davem@davemloft.net>
13053
13054 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13055 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13056 (__start_context): Declare.
13057 (__makecontext_ret): Delete.
13058 (__makecontext): Hook up __start_context instead of
13059 __makecontext_ret.
13060 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13061 (sysdep_routines): Add __start_context when in stdlib.
13062
0fbb0fbc
JM
130632012-11-07 Joseph Myers <joseph@codesourcery.com>
13064
13065 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13066 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13067 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13068 hardcoded "nm".
13069 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13070 (READELF): New variable. Use it instead of hardcoded "readelf".
13071
eb48db7e
L
130722012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13073
13074 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13075 * sysdeps/x86/Makefile: Here.
13076 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13077 * sysdeps/x86/tst-xmmymm.sh: This.
13078
05bcf62a
JM
130792012-11-07 Joseph Myers <joseph@codesourcery.com>
13080
c4b6cf53
JM
13081 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13082 expectations.
13083 [UNIX98] (pthread_barrier_t): Do not expect.
13084 [UNIX98] (pthread_barrierattr_t): Likewise.
13085 [UNIX98] (pthread_spinlock_t): Likewise.
13086 [UNIX98] (pthread_barrier_destroy): Likewise.
13087 [UNIX98] (pthread_barrier_init): Likewise.
13088 [UNIX98] (pthread_barrier_wait): Likewise.
13089 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13090 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13091 [UNIX98] (pthread_barrierattr_init): Likewise.
13092 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13093 [UNIX98] (pthread_getcpuclockid): Likewise.
13094 [UNIX98] (pthread_mutex_timedlock): Likewise.
13095 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13096 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13097 [UNIX98] (pthread_sigmask): Likewise.
13098 [UNIX98] (pthread_spin_destroy): Likewise.
13099 [UNIX98] (pthread_spin_init): Likewise.
13100 [UNIX98] (pthread_spin_lock): Likewise.
13101 [UNIX98] (pthread_spin_trylock): Likewise.
13102 [UNIX98] (pthread_spin_unlock): Likewise.
13103 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13104 Do not expect.
13105 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13106 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13107 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13108 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13109 [XPG3 || XPG4] (pthread_key_t): Likewise.
13110 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13111 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13112 [XPG3 || XPG4] (pthread_once_t): Likewise.
13113 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13114 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13115 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13116 [XPG3 || XPG4] (pthread_t): Likewise.
13117
cbe6e120
JM
13118 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13119 not expect.
13120 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13121
1b126443
JM
13122 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13123 Change function return type to int.
13124
b961a573
JM
13125 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13126 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13127 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13128 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13129 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13130 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13131 [!POSIX] (posix_madvise): Likewise.
13132 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13133 && !UNIX98].
13134 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13135 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13136 (mode_t): Likewise.
13137 (posix_mem_offset): Likewise.
13138 (posix_typed_mem_get_info): Likewise.
13139 (posix_typed_mem_open): Likewise.
13140
9e188909
JM
13141 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13142 Change condition to [XOPEN2K8].
13143
05bcf62a
JM
13144 * conform/conformtest.pl: Preprocess allow-header data with -x c
13145 instead of from stdin.
13146 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13147 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13148 [C99-based standards] (cerfc): Likewise.
13149 [C99-based standards] (cexp2): Likewise.
13150 [C99-based standards] (cexpm1): Likewise.
13151 [C99-based standards] (clog10): Likewise.
13152 [C99-based standards] (clog1p): Likewise.
13153 [C99-based standards] (clog2): Likewise.
13154 [C99-based standards] (clgamma): Likewise.
13155 [C99-based standards] (ctgamma): Likewise.
13156 [C99-based standards] (cerff): Likewise.
13157 [C99-based standards] (cerfcf): Likewise.
13158 [C99-based standards] (cexp2f): Likewise.
13159 [C99-based standards] (cexpm1f): Likewise.
13160 [C99-based standards] (clog10f): Likewise.
13161 [C99-based standards] (clog1pf): Likewise.
13162 [C99-based standards] (clog2f): Likewise.
13163 [C99-based standards] (clgammaf): Likewise.
13164 [C99-based standards] (ctgammaf): Likewise.
13165 [C99-based standards] (cerfl): Likewise.
13166 [C99-based standards] (cerfcl): Likewise.
13167 [C99-based standards] (cexp2l): Likewise.
13168 [C99-based standards] (cexpm1l): Likewise.
13169 [C99-based standards] (clog10l): Likewise.
13170 [C99-based standards] (clog1pl): Likewise.
13171 [C99-based standards] (clog2l): Likewise.
13172 [C99-based standards] (clgammal): Likewise.
13173 [C99-based standards] (ctgammal): Likewise.
13174 * conform/data/inttypes.h-data [C99-based standards]: Include
13175 stdint.h-data. Remove all expectations for stdint.h contents.
13176 [C99-based standards] (PRI*): Do not allow.
13177 [C99-based standards] (SCN*): Likewise.
13178 [C99-based standards] (*_t): Likewise.
13179 [C99-based-standards] (PRId8): Expect macro.
13180 [C99-based-standards] (PRIi8): Likewise.
13181 [C99-based-standards] (PRIo8): Likewise.
13182 [C99-based-standards] (PRIu8): Likewise.
13183 [C99-based-standards] (PRIx8): Likewise.
13184 [C99-based-standards] (PRIX8): Likewise.
13185 [C99-based-standards] (SCNd8): Likewise.
13186 [C99-based-standards] (SCNi8): Likewise.
13187 [C99-based-standards] (SCNo8): Likewise.
13188 [C99-based-standards] (SCNu8): Likewise.
13189 [C99-based-standards] (SCNx8): Likewise.
13190 [C99-based-standards] (PRIdLEAST8): Likewise.
13191 [C99-based-standards] (PRIiLEAST8): Likewise.
13192 [C99-based-standards] (PRIoLEAST8): Likewise.
13193 [C99-based-standards] (PRIuLEAST8): Likewise.
13194 [C99-based-standards] (PRIxLEAST8): Likewise.
13195 [C99-based-standards] (PRIXLEAST8): Likewise.
13196 [C99-based-standards] (SCNdLEAST8): Likewise.
13197 [C99-based-standards] (SCNiLEAST8): Likewise.
13198 [C99-based-standards] (SCNoLEAST8): Likewise.
13199 [C99-based-standards] (SCNuLEAST8): Likewise.
13200 [C99-based-standards] (SCNxLEAST8): Likewise.
13201 [C99-based-standards] (PRIdFAST8): Likewise.
13202 [C99-based-standards] (PRIiFAST8): Likewise.
13203 [C99-based-standards] (PRIoFAST8): Likewise.
13204 [C99-based-standards] (PRIuFAST8): Likewise.
13205 [C99-based-standards] (PRIxFAST8): Likewise.
13206 [C99-based-standards] (PRIXFAST8): Likewise.
13207 [C99-based-standards] (SCNdFAST8): Likewise.
13208 [C99-based-standards] (SCNiFAST8): Likewise.
13209 [C99-based-standards] (SCNoFAST8): Likewise.
13210 [C99-based-standards] (SCNuFAST8): Likewise.
13211 [C99-based-standards] (SCNxFAST8): Likewise.
13212 [C99-based-standards] (PRId16): Likewise.
13213 [C99-based-standards] (PRIi16): Likewise.
13214 [C99-based-standards] (PRIo16): Likewise.
13215 [C99-based-standards] (PRIu16): Likewise.
13216 [C99-based-standards] (PRIx16): Likewise.
13217 [C99-based-standards] (PRIX16): Likewise.
13218 [C99-based-standards] (SCNd16): Likewise.
13219 [C99-based-standards] (SCNi16): Likewise.
13220 [C99-based-standards] (SCNo16): Likewise.
13221 [C99-based-standards] (SCNu16): Likewise.
13222 [C99-based-standards] (SCNx16): Likewise.
13223 [C99-based-standards] (PRIdLEAST16): Likewise.
13224 [C99-based-standards] (PRIiLEAST16): Likewise.
13225 [C99-based-standards] (PRIoLEAST16): Likewise.
13226 [C99-based-standards] (PRIuLEAST16): Likewise.
13227 [C99-based-standards] (PRIxLEAST16): Likewise.
13228 [C99-based-standards] (PRIXLEAST16): Likewise.
13229 [C99-based-standards] (SCNdLEAST16): Likewise.
13230 [C99-based-standards] (SCNiLEAST16): Likewise.
13231 [C99-based-standards] (SCNoLEAST16): Likewise.
13232 [C99-based-standards] (SCNuLEAST16): Likewise.
13233 [C99-based-standards] (SCNxLEAST16): Likewise.
13234 [C99-based-standards] (PRIdFAST16): Likewise.
13235 [C99-based-standards] (PRIiFAST16): Likewise.
13236 [C99-based-standards] (PRIoFAST16): Likewise.
13237 [C99-based-standards] (PRIuFAST16): Likewise.
13238 [C99-based-standards] (PRIxFAST16): Likewise.
13239 [C99-based-standards] (PRIXFAST16): Likewise.
13240 [C99-based-standards] (SCNdFAST16): Likewise.
13241 [C99-based-standards] (SCNiFAST16): Likewise.
13242 [C99-based-standards] (SCNoFAST16): Likewise.
13243 [C99-based-standards] (SCNuFAST16): Likewise.
13244 [C99-based-standards] (SCNxFAST16): Likewise.
13245 [C99-based-standards] (PRId32): Likewise.
13246 [C99-based-standards] (PRIi32): Likewise.
13247 [C99-based-standards] (PRIo32): Likewise.
13248 [C99-based-standards] (PRIu32): Likewise.
13249 [C99-based-standards] (PRIx32): Likewise.
13250 [C99-based-standards] (PRIX32): Likewise.
13251 [C99-based-standards] (SCNd32): Likewise.
13252 [C99-based-standards] (SCNi32): Likewise.
13253 [C99-based-standards] (SCNo32): Likewise.
13254 [C99-based-standards] (SCNu32): Likewise.
13255 [C99-based-standards] (SCNx32): Likewise.
13256 [C99-based-standards] (PRIdLEAST32): Likewise.
13257 [C99-based-standards] (PRIiLEAST32): Likewise.
13258 [C99-based-standards] (PRIoLEAST32): Likewise.
13259 [C99-based-standards] (PRIuLEAST32): Likewise.
13260 [C99-based-standards] (PRIxLEAST32): Likewise.
13261 [C99-based-standards] (PRIXLEAST32): Likewise.
13262 [C99-based-standards] (SCNdLEAST32): Likewise.
13263 [C99-based-standards] (SCNiLEAST32): Likewise.
13264 [C99-based-standards] (SCNoLEAST32): Likewise.
13265 [C99-based-standards] (SCNuLEAST32): Likewise.
13266 [C99-based-standards] (SCNxLEAST32): Likewise.
13267 [C99-based-standards] (PRIdFAST32): Likewise.
13268 [C99-based-standards] (PRIiFAST32): Likewise.
13269 [C99-based-standards] (PRIoFAST32): Likewise.
13270 [C99-based-standards] (PRIuFAST32): Likewise.
13271 [C99-based-standards] (PRIxFAST32): Likewise.
13272 [C99-based-standards] (PRIXFAST32): Likewise.
13273 [C99-based-standards] (SCNdFAST32): Likewise.
13274 [C99-based-standards] (SCNiFAST32): Likewise.
13275 [C99-based-standards] (SCNoFAST32): Likewise.
13276 [C99-based-standards] (SCNuFAST32): Likewise.
13277 [C99-based-standards] (SCNxFAST32): Likewise.
13278 [C99-based-standards] (PRId64): Likewise.
13279 [C99-based-standards] (PRIi64): Likewise.
13280 [C99-based-standards] (PRIo64): Likewise.
13281 [C99-based-standards] (PRIu64): Likewise.
13282 [C99-based-standards] (PRIx64): Likewise.
13283 [C99-based-standards] (PRIX64): Likewise.
13284 [C99-based-standards] (SCNd64): Likewise.
13285 [C99-based-standards] (SCNi64): Likewise.
13286 [C99-based-standards] (SCNo64): Likewise.
13287 [C99-based-standards] (SCNu64): Likewise.
13288 [C99-based-standards] (SCNx64): Likewise.
13289 [C99-based-standards] (PRIdLEAST64): Likewise.
13290 [C99-based-standards] (PRIiLEAST64): Likewise.
13291 [C99-based-standards] (PRIoLEAST64): Likewise.
13292 [C99-based-standards] (PRIuLEAST64): Likewise.
13293 [C99-based-standards] (PRIxLEAST64): Likewise.
13294 [C99-based-standards] (PRIXLEAST64): Likewise.
13295 [C99-based-standards] (SCNdLEAST64): Likewise.
13296 [C99-based-standards] (SCNiLEAST64): Likewise.
13297 [C99-based-standards] (SCNoLEAST64): Likewise.
13298 [C99-based-standards] (SCNuLEAST64): Likewise.
13299 [C99-based-standards] (SCNxLEAST64): Likewise.
13300 [C99-based-standards] (PRIdFAST64): Likewise.
13301 [C99-based-standards] (PRIiFAST64): Likewise.
13302 [C99-based-standards] (PRIoFAST64): Likewise.
13303 [C99-based-standards] (PRIuFAST64): Likewise.
13304 [C99-based-standards] (PRIxFAST64): Likewise.
13305 [C99-based-standards] (PRIXFAST64): Likewise.
13306 [C99-based-standards] (SCNdFAST64): Likewise.
13307 [C99-based-standards] (SCNiFAST64): Likewise.
13308 [C99-based-standards] (SCNoFAST64): Likewise.
13309 [C99-based-standards] (SCNuFAST64): Likewise.
13310 [C99-based-standards] (SCNxFAST64): Likewise.
13311 [C99-based-standards] (PRIdMAX): Likewise.
13312 [C99-based-standards] (PRIiMAX): Likewise.
13313 [C99-based-standards] (PRIoMAX): Likewise.
13314 [C99-based-standards] (PRIuMAX): Likewise.
13315 [C99-based-standards] (PRIxMAX): Likewise.
13316 [C99-based-standards] (PRIXMAX): Likewise.
13317 [C99-based-standards] (SCNdMAX): Likewise.
13318 [C99-based-standards] (SCNiMAX): Likewise.
13319 [C99-based-standards] (SCNoMAX): Likewise.
13320 [C99-based-standards] (SCNuMAX): Likewise.
13321 [C99-based-standards] (SCNxMAX): Likewise.
13322 [C99-based-standards] (PRIdPTR): Likewise.
13323 [C99-based-standards] (PRIiPTR): Likewise.
13324 [C99-based-standards] (PRIoPTR): Likewise.
13325 [C99-based-standards] (PRIuPTR): Likewise.
13326 [C99-based-standards] (PRIxPTR): Likewise.
13327 [C99-based-standards] (PRIXPTR): Likewise.
13328 [C99-based-standards] (SCNdPTR): Likewise.
13329 [C99-based-standards] (SCNiPTR): Likewise.
13330 [C99-based-standards] (SCNoPTR): Likewise.
13331 [C99-based-standards] (SCNuPTR): Likewise.
13332 [C99-based-standards] (SCNxPTR): Likewise.
13333 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13334 allow.
13335 * conform/data/stdint.h-data: Update comments to clarify
13336 requirements.
13337 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13338 type.
13339 [C99-based standards] (INT8_MAX): Likewise.
13340 [C99-based standards] (INT16_MIN): Likewise.
13341 [C99-based standards] (INT16_MAX): Likewise.
13342 [C99-based standards] (INT32_MIN): Likewise.
13343 [C99-based standards] (INT32_MAX): Likewise.
13344 [C99-based standards] (INT64_MIN): Likewise.
13345 [C99-based standards] (INT64_MAX): Likewise.
13346 [C99-based standards] (UINT8_MAX): Likewise.
13347 [C99-based standards] (UINT16_MAX): Likewise.
13348 [C99-based standards] (UINT32_MAX): Likewise.
13349 [C99-based standards] (UINT64_MAX): Likewise.
13350 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13351 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13352 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13353 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13354 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13355 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13356 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13357 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13358 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13359 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13360 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13361 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13362 [C99-based standards] (INT_FAST8_MIN): Likewise.
13363 [C99-based standards] (INT_FAST8_MAX): Likewise.
13364 [C99-based standards] (INT_FAST16_MIN): Likewise.
13365 [C99-based standards] (INT_FAST16_MAX): Likewise.
13366 [C99-based standards] (INT_FAST32_MIN): Likewise.
13367 [C99-based standards] (INT_FAST32_MAX): Likewise.
13368 [C99-based standards] (INT_FAST64_MIN): Likewise.
13369 [C99-based standards] (INT_FAST64_MAX): Likewise.
13370 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13371 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13372 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13373 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13374 [C99-based standards] (INTPTR_MIN): Likewise.
13375 [C99-based standards] (INTPTR_MAX): Likewise.
13376 [C99-based standards] (UINTPTR_MAX): Likewise.
13377 [C99-based standards] (INTMAX_MIN): Likewise.
13378 [C99-based standards] (INTMAX_MAX): Likewise.
13379 [C99-based standards] (UINTMAX_MAX): Likewise.
13380 [C99-based standards] (PTRDIFF_MIN): Likewise.
13381 [C99-based standards] (PTRDIFF_MAX): Likewise.
13382 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13383 [C99-based standards] (SIZE_MAX): Likewise.
13384 [C99-based standards] (WCHAR_MAX): Likewise.
13385 [C99-based standards] (WINT_MAX): Likewise.
13386 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13387 constraint on value.
13388 [C99-based standards] (WCHAR_MIN): Likewise.
13389 [C99-based standards] (WINT_MIN): Likewise.
13390 [C99-based standards] (*_t): Allow.
13391 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13392 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13393 Include math.h-data and complex.h-data. Remove all expectations
13394 of math.h and complex.h contents.
13395 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13396 at end of line.
13397 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13398 (struct tm): Expect tag.
13399 [C99-based-standards] (wcstof): Expect function.
13400 [C99-based-standards] (wcstold): Likewise.
13401 [C99-based-standards] (wcstoll): Likewise.
13402 [C99-based-standards] (wcstoull): Likewise.
13403 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13404 macro-int-constant. Specify type.
13405 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13406 constraint on value.
13407 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13408 Specify type.
13409 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13410 Specify value.
13411 [ISO C standards]: Do not allow headers.
13412 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13413 wcs[abcdefghijklmnopqrstuvwxyz]*.
13414 [ISO C standards] (*_t): Do not allow.
13415 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13416 Expect function.
13417 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13418 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13419 Specify type.
13420 [ISO C standards]: Do not allow headers.
13421 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13422 is[abcdefghijklmnopqrstuvwxyz]*.
13423 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13424 to[abcdefghijklmnopqrstuvwxyz]*.
13425 [ISO C standards] (*_t): Do not allow.
13426 * conform/data/stdalign.h-data: New file.
13427 * conform/data/stdbool.h-data: Likewise.
13428 * conform/data/stdnoreturn.h-data: Likewise.
13429
7514feb8
RM
134302012-11-07 Roland McGrath <roland@hack.frob.com>
13431
13432 [BZ #14815]
13433 * manual/filesys.texi (Directory Entries): Typo fix.
13434 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13435
19b2ecfc
MS
134362012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13437
13438 * elf/elf.h (EM_AARCH64): New macro.
13439 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13440 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13441 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13442 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13443 (R_AARCH64_TLSDESC): Likewise.
13444 (NT_ARM_TLS): Likewise.
13445 (NT_ARM_HW_BREAK): Likewise.
13446 (NT_ARM_HW_WATCH): Likewise.
13447
60e235ee
JM
134482012-11-07 Joseph Myers <joseph@codesourcery.com>
13449
13450 [BZ #14811]
13451 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13452 (__ieee754_powl): Saturate nonzero exponents with absolute value
13453 below 0x1p-79 to +/- 0x1p-79.
13454 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13455 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13456 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13457 nonzero exponents with absolute value below 0x1p-32 to +/-
13458 0x1p-32.
13459 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13460 (__ieee754_powl): Saturate nonzero exponents with absolute value
13461 below 0x1p-79 to +/- 0x1p-79.
13462 * math/libm-test.inc (pow_test): Add more tests.
13463
0ab234b7
AK
134642012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13465
13466 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13467 _dl_s390_cap_flags with kernel. Increase string length.
13468 (_dl_s390_platforms): Add z196 and zEC12.
13469
45832f74
JM
134702012-11-07 Joseph Myers <joseph@codesourcery.com>
13471
13472 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13473 Change XOPEN21K to XOPEN2K.
13474
19218757
MK
134752012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13476
13477 * string/memmove.c: Use memcpy when possible.
13478
c5f45721
AJ
134792012-11-06 Andreas Jaeger <aj@suse.de>
13480
13481 * po/eo.po: Update from translation team.
13482
82477c28
JM
134832012-11-06 Joseph Myers <joseph@codesourcery.com>
13484
13485 [BZ #14793]
13486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13487 exponent and small x and y exponents, scale x or y up. Increase
13488 by 2 the exponent used in scaling up.
13489 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13491 * math/libm-test.inc (fma_test): Add more tests.
13492 (fma_test_towardzero): Likewise.
13493 (fma_test_downward): Likewise.
13494 (fma_test_upward): Likewise.
13495
99252c8c
JM
134962012-11-05 Joseph Myers <joseph@codesourcery.com>
13497
acfa885f
JM
13498 [BZ #14805]
13499 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13500 fenv_t *.
13501
99252c8c
JM
13502 [BZ #14801]
13503 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13504 namespace for names of struct fields.
13505 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13506 fenv_t fields.
13507 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13508 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13509
d6d98dea
ST
135102012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13511
13512 [BZ #3665]
13513 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13514
e10bb107
TS
135152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13516
13517 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13518 PTR_DEMANGLE.
13519
13520 [BZ #5246]
13521 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13522 PTR_DEMANGLE.
13523
a0c2940d
JM
135242012-11-04 Joseph Myers <joseph@codesourcery.com>
13525
13526 [BZ #14797]
13527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13528 definitely overflow as x * y not x * y + z.
13529 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13530 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13531 * math/libm-test.inc (fma_test): Add more tests.
13532 (fma_test_towardzero): Likewise.
13533 (fma_test_downward): Likewise.
13534 (fma_test_upward): Likewise.
13535
b830319d
TS
135362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13537
13538 [BZ #157]
13539
13540 * include/stub-tag.h: Remove file.
13541 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13542 '#include' of it.
13543 * manual/maint.texi (Porting): Don't reference it.
13544 * Makerules ($(objpfx)stubs): Likewise.
13545 * dirent/closedir.c: Don't include <stub-tag.h>.
13546 * dirent/dirfd.c: Likewise.
13547 * dirent/fdopendir.c: Likewise.
13548 * dirent/getdents.c: Likewise.
13549 * dirent/getdents64.c: Likewise.
13550 * dirent/opendir.c: Likewise.
13551 * dirent/readdir.c: Likewise.
13552 * dirent/readdir64.c: Likewise.
13553 * dirent/readdir64_r.c: Likewise.
13554 * dirent/readdir_r.c: Likewise.
13555 * dirent/rewinddir.c: Likewise.
13556 * dirent/seekdir.c: Likewise.
13557 * dirent/telldir.c: Likewise.
13558 * gmon/profil.c: Likewise.
13559 * grp/setgroups.c: Likewise.
13560 * inet/if_index.c: Likewise.
13561 * io/access.c: Likewise.
13562 * io/chdir.c: Likewise.
13563 * io/chmod.c: Likewise.
13564 * io/chown.c: Likewise.
13565 * io/close.c: Likewise.
13566 * io/dup.c: Likewise.
13567 * io/dup2.c: Likewise.
13568 * io/dup3.c: Likewise.
13569 * io/euidaccess.c: Likewise.
13570 * io/faccessat.c: Likewise.
13571 * io/fchdir.c: Likewise.
13572 * io/fchmod.c: Likewise.
13573 * io/fchmodat.c: Likewise.
13574 * io/fchown.c: Likewise.
13575 * io/fchownat.c: Likewise.
13576 * io/fcntl.c: Likewise.
13577 * io/flock.c: Likewise.
13578 * io/fstatfs.c: Likewise.
13579 * io/fstatfs64.c: Likewise.
13580 * io/fstatvfs.c: Likewise.
13581 * io/fstatvfs64.c: Likewise.
13582 * io/futimens.c: Likewise.
13583 * io/fxstat.c: Likewise.
13584 * io/fxstat64.c: Likewise.
13585 * io/fxstatat.c: Likewise.
13586 * io/fxstatat64.c: Likewise.
13587 * io/getcwd.c: Likewise.
13588 * io/isatty.c: Likewise.
13589 * io/lchmod.c: Likewise.
13590 * io/lchown.c: Likewise.
13591 * io/link.c: Likewise.
13592 * io/linkat.c: Likewise.
13593 * io/lseek.c: Likewise.
13594 * io/lseek64.c: Likewise.
13595 * io/lxstat64.c: Likewise.
13596 * io/mkdir.c: Likewise.
13597 * io/mkdirat.c: Likewise.
13598 * io/mkfifo.c: Likewise.
13599 * io/mkfifoat.c: Likewise.
13600 * io/open.c: Likewise.
13601 * io/open64.c: Likewise.
13602 * io/openat.c: Likewise.
13603 * io/openat64.c: Likewise.
13604 * io/pipe.c: Likewise.
13605 * io/pipe2.c: Likewise.
13606 * io/poll.c: Likewise.
13607 * io/posix_fadvise.c: Likewise.
13608 * io/posix_fadvise64.c: Likewise.
13609 * io/posix_fallocate.c: Likewise.
13610 * io/posix_fallocate64.c: Likewise.
13611 * io/read.c: Likewise.
13612 * io/readlink.c: Likewise.
13613 * io/readlinkat.c: Likewise.
13614 * io/rmdir.c: Likewise.
13615 * io/sendfile.c: Likewise.
13616 * io/sendfile64.c: Likewise.
13617 * io/statfs.c: Likewise.
13618 * io/statfs64.c: Likewise.
13619 * io/statvfs.c: Likewise.
13620 * io/statvfs64.c: Likewise.
13621 * io/symlink.c: Likewise.
13622 * io/symlinkat.c: Likewise.
13623 * io/ttyname.c: Likewise.
13624 * io/ttyname_r.c: Likewise.
13625 * io/umask.c: Likewise.
13626 * io/unlink.c: Likewise.
13627 * io/unlinkat.c: Likewise.
13628 * io/utime.c: Likewise.
13629 * io/utimensat.c: Likewise.
13630 * io/write.c: Likewise.
13631 * io/xmknod.c: Likewise.
13632 * io/xmknodat.c: Likewise.
13633 * io/xstat.c: Likewise.
13634 * io/xstat64.c: Likewise.
13635 * login/getpt.c: Likewise.
13636 * login/grantpt.c: Likewise.
13637 * login/unlockpt.c: Likewise.
13638 * math/e_acoshl.c: Likewise.
13639 * math/e_acosl.c: Likewise.
13640 * math/e_asinl.c: Likewise.
13641 * math/e_atan2l.c: Likewise.
13642 * math/e_atanhl.c: Likewise.
13643 * math/e_coshl.c: Likewise.
13644 * math/e_expl.c: Likewise.
13645 * math/e_fmodl.c: Likewise.
13646 * math/e_gammal_r.c: Likewise.
13647 * math/e_hypotl.c: Likewise.
13648 * math/e_j0l.c: Likewise.
13649 * math/e_j1l.c: Likewise.
13650 * math/e_jnl.c: Likewise.
13651 * math/e_lgammal_r.c: Likewise.
13652 * math/e_log10l.c: Likewise.
13653 * math/e_log2l.c: Likewise.
13654 * math/e_logl.c: Likewise.
13655 * math/e_powl.c: Likewise.
13656 * math/e_rem_pio2l.c: Likewise.
13657 * math/e_sinhl.c: Likewise.
13658 * math/e_sqrtl.c: Likewise.
13659 * math/fclrexcpt.c: Likewise.
13660 * math/fedisblxcpt.c: Likewise.
13661 * math/feenablxcpt.c: Likewise.
13662 * math/fegetenv.c: Likewise.
13663 * math/fegetexcept.c: Likewise.
13664 * math/fegetround.c: Likewise.
13665 * math/feholdexcpt.c: Likewise.
13666 * math/fesetenv.c: Likewise.
13667 * math/fesetround.c: Likewise.
13668 * math/feupdateenv.c: Likewise.
13669 * math/fgetexcptflg.c: Likewise.
13670 * math/fraiseexcpt.c: Likewise.
13671 * math/fsetexcptflg.c: Likewise.
13672 * math/ftestexcept.c: Likewise.
13673 * math/k_cosl.c: Likewise.
13674 * math/k_rem_pio2l.c: Likewise.
13675 * math/k_sinl.c: Likewise.
13676 * math/k_tanl.c: Likewise.
13677 * math/s_asinhl.c: Likewise.
13678 * math/s_atanl.c: Likewise.
13679 * math/s_cbrtl.c: Likewise.
13680 * math/s_erfl.c: Likewise.
13681 * math/s_expm1l.c: Likewise.
13682 * math/s_log1pl.c: Likewise.
13683 * math/s_tanhl.c: Likewise.
13684 * misc/acct.c: Likewise.
13685 * misc/brk.c: Likewise.
13686 * misc/chflags.c: Likewise.
13687 * misc/chroot.c: Likewise.
13688 * misc/fchflags.c: Likewise.
13689 * misc/fgetxattr.c: Likewise.
13690 * misc/flistxattr.c: Likewise.
13691 * misc/fremovexattr.c: Likewise.
13692 * misc/fsetxattr.c: Likewise.
13693 * misc/fsync.c: Likewise.
13694 * misc/ftruncate.c: Likewise.
13695 * misc/futimes.c: Likewise.
13696 * misc/futimesat.c: Likewise.
13697 * misc/getdomain.c: Likewise.
13698 * misc/getdtsz.c: Likewise.
13699 * misc/gethostid.c: Likewise.
13700 * misc/gethostname.c: Likewise.
13701 * misc/getloadavg.c: Likewise.
13702 * misc/getpagesize.c: Likewise.
13703 * misc/getsysstats.c: Likewise.
13704 * misc/getxattr.c: Likewise.
13705 * misc/gtty.c: Likewise.
13706 * misc/ioctl.c: Likewise.
13707 * misc/lgetxattr.c: Likewise.
13708 * misc/listxattr.c: Likewise.
13709 * misc/llistxattr.c: Likewise.
13710 * misc/lremovexattr.c: Likewise.
13711 * misc/lsetxattr.c: Likewise.
13712 * misc/lutimes.c: Likewise.
13713 * misc/madvise.c: Likewise.
13714 * misc/mincore.c: Likewise.
13715 * misc/mlock.c: Likewise.
13716 * misc/mlockall.c: Likewise.
13717 * misc/mmap.c: Likewise.
13718 * misc/mprotect.c: Likewise.
13719 * misc/msync.c: Likewise.
13720 * misc/munlock.c: Likewise.
13721 * misc/munlockall.c: Likewise.
13722 * misc/munmap.c: Likewise.
13723 * misc/preadv.c: Likewise.
13724 * misc/preadv64.c: Likewise.
13725 * misc/ptrace.c: Likewise.
13726 * misc/pwritev.c: Likewise.
13727 * misc/pwritev64.c: Likewise.
13728 * misc/readv.c: Likewise.
13729 * misc/reboot.c: Likewise.
13730 * misc/remap_file_pages.c: Likewise.
13731 * misc/removexattr.c: Likewise.
13732 * misc/revoke.c: Likewise.
13733 * misc/select.c: Likewise.
13734 * misc/setdomain.c: Likewise.
13735 * misc/setegid.c: Likewise.
13736 * misc/seteuid.c: Likewise.
13737 * misc/sethostid.c: Likewise.
13738 * misc/sethostname.c: Likewise.
13739 * misc/setregid.c: Likewise.
13740 * misc/setreuid.c: Likewise.
13741 * misc/setxattr.c: Likewise.
13742 * misc/sstk.c: Likewise.
13743 * misc/stty.c: Likewise.
13744 * misc/swapoff.c: Likewise.
13745 * misc/swapon.c: Likewise.
13746 * misc/sync.c: Likewise.
13747 * misc/syncfs.c: Likewise.
13748 * misc/syscall.c: Likewise.
13749 * misc/truncate.c: Likewise.
13750 * misc/ualarm.c: Likewise.
13751 * misc/usleep.c: Likewise.
13752 * misc/ustat.c: Likewise.
13753 * misc/utimes.c: Likewise.
13754 * misc/vhangup.c: Likewise.
13755 * misc/writev.c: Likewise.
13756 * posix/_exit.c: Likewise.
13757 * posix/alarm.c: Likewise.
13758 * posix/execve.c: Likewise.
13759 * posix/fexecve.c: Likewise.
13760 * posix/fork.c: Likewise.
13761 * posix/fpathconf.c: Likewise.
13762 * posix/getaddrinfo.c: Likewise.
13763 * posix/getegid.c: Likewise.
13764 * posix/geteuid.c: Likewise.
13765 * posix/getgid.c: Likewise.
13766 * posix/getgroups.c: Likewise.
13767 * posix/getlogin.c: Likewise.
13768 * posix/getlogin_r.c: Likewise.
13769 * posix/getpgid.c: Likewise.
13770 * posix/getpid.c: Likewise.
13771 * posix/getppid.c: Likewise.
13772 * posix/getresgid.c: Likewise.
13773 * posix/getresuid.c: Likewise.
13774 * posix/getsid.c: Likewise.
13775 * posix/getuid.c: Likewise.
13776 * posix/glob64.c: Likewise.
13777 * posix/nanosleep.c: Likewise.
13778 * posix/pathconf.c: Likewise.
13779 * posix/pause.c: Likewise.
13780 * posix/posix_madvise.c: Likewise.
13781 * posix/pread.c: Likewise.
13782 * posix/pread64.c: Likewise.
13783 * posix/pwrite.c: Likewise.
13784 * posix/pwrite64.c: Likewise.
13785 * posix/sched_getaffinity.c: Likewise.
13786 * posix/sched_getp.c: Likewise.
13787 * posix/sched_gets.c: Likewise.
13788 * posix/sched_primax.c: Likewise.
13789 * posix/sched_primin.c: Likewise.
13790 * posix/sched_rr_gi.c: Likewise.
13791 * posix/sched_setaffinity.c: Likewise.
13792 * posix/sched_setp.c: Likewise.
13793 * posix/sched_sets.c: Likewise.
13794 * posix/sched_yield.c: Likewise.
13795 * posix/setgid.c: Likewise.
13796 * posix/setlogin.c: Likewise.
13797 * posix/setpgid.c: Likewise.
13798 * posix/setresgid.c: Likewise.
13799 * posix/setresuid.c: Likewise.
13800 * posix/setsid.c: Likewise.
13801 * posix/setuid.c: Likewise.
13802 * posix/sleep.c: Likewise.
13803 * posix/spawni.c: Likewise.
13804 * posix/sysconf.c: Likewise.
13805 * posix/times.c: Likewise.
13806 * posix/wait.c: Likewise.
13807 * posix/wait3.c: Likewise.
13808 * posix/wait4.c: Likewise.
13809 * posix/waitpid.c: Likewise.
13810 * resolv/gai_sigqueue.c: Likewise.
13811 * resource/getpriority.c: Likewise.
13812 * resource/getrlimit.c: Likewise.
13813 * resource/getrusage.c: Likewise.
13814 * resource/nice.c: Likewise.
13815 * resource/setpriority.c: Likewise.
13816 * resource/setrlimit.c: Likewise.
13817 * resource/ulimit.c: Likewise.
13818 * rt/aio_cancel.c: Likewise.
13819 * rt/aio_fsync.c: Likewise.
13820 * rt/aio_read.c: Likewise.
13821 * rt/aio_sigqueue.c: Likewise.
13822 * rt/aio_suspend.c: Likewise.
13823 * rt/aio_write.c: Likewise.
13824 * rt/clock_getres.c: Likewise.
13825 * rt/clock_gettime.c: Likewise.
13826 * rt/clock_nanosleep.c: Likewise.
13827 * rt/clock_settime.c: Likewise.
13828 * rt/lio_listio.c: Likewise.
13829 * rt/mq_close.c: Likewise.
13830 * rt/mq_getattr.c: Likewise.
13831 * rt/mq_notify.c: Likewise.
13832 * rt/mq_open.c: Likewise.
13833 * rt/mq_receive.c: Likewise.
13834 * rt/mq_send.c: Likewise.
13835 * rt/mq_setattr.c: Likewise.
13836 * rt/mq_timedreceive.c: Likewise.
13837 * rt/mq_timedsend.c: Likewise.
13838 * rt/mq_unlink.c: Likewise.
13839 * rt/shm_open.c: Likewise.
13840 * rt/shm_unlink.c: Likewise.
13841 * rt/timer_create.c: Likewise.
13842 * rt/timer_delete.c: Likewise.
13843 * rt/timer_getoverr.c: Likewise.
13844 * rt/timer_gettime.c: Likewise.
13845 * rt/timer_settime.c: Likewise.
13846 * setjmp/__longjmp.c: Likewise.
13847 * setjmp/setjmp.c: Likewise.
13848 * signal/kill.c: Likewise.
13849 * signal/killpg.c: Likewise.
13850 * signal/raise.c: Likewise.
13851 * signal/sigaction.c: Likewise.
13852 * signal/sigaltstack.c: Likewise.
13853 * signal/sigblock.c: Likewise.
13854 * signal/sigignore.c: Likewise.
13855 * signal/sigintr.c: Likewise.
13856 * signal/signal.c: Likewise.
13857 * signal/sigpause.c: Likewise.
13858 * signal/sigpending.c: Likewise.
13859 * signal/sigqueue.c: Likewise.
13860 * signal/sigreturn.c: Likewise.
13861 * signal/sigset.c: Likewise.
13862 * signal/sigsetmask.c: Likewise.
13863 * signal/sigstack.c: Likewise.
13864 * signal/sigsuspend.c: Likewise.
13865 * signal/sigtimedwait.c: Likewise.
13866 * signal/sigvec.c: Likewise.
13867 * signal/sigwait.c: Likewise.
13868 * signal/sigwaitinfo.c: Likewise.
13869 * signal/sysv_signal.c: Likewise.
13870 * socket/accept.c: Likewise.
13871 * socket/accept4.c: Likewise.
13872 * socket/bind.c: Likewise.
13873 * socket/connect.c: Likewise.
13874 * socket/getpeername.c: Likewise.
13875 * socket/getsockname.c: Likewise.
13876 * socket/getsockopt.c: Likewise.
13877 * socket/isfdtype.c: Likewise.
13878 * socket/listen.c: Likewise.
13879 * socket/recv.c: Likewise.
13880 * socket/recvfrom.c: Likewise.
13881 * socket/recvmsg.c: Likewise.
13882 * socket/send.c: Likewise.
13883 * socket/sendmsg.c: Likewise.
13884 * socket/sendto.c: Likewise.
13885 * socket/setsockopt.c: Likewise.
13886 * socket/shutdown.c: Likewise.
13887 * socket/sockatmark.c: Likewise.
13888 * socket/socket.c: Likewise.
13889 * socket/socketpair.c: Likewise.
13890 * stdio-common/ctermid.c: Likewise.
13891 * stdio-common/cuserid.c: Likewise.
13892 * stdio-common/remove.c: Likewise.
13893 * stdio-common/rename.c: Likewise.
13894 * stdio-common/renameat.c: Likewise.
13895 * stdio-common/tempname.c: Likewise.
13896 * stdlib/getcontext.c: Likewise.
13897 * stdlib/makecontext.c: Likewise.
13898 * stdlib/setcontext.c: Likewise.
13899 * stdlib/swapcontext.c: Likewise.
13900 * stdlib/system.c: Likewise.
13901 * streams/fattach.c: Likewise.
13902 * streams/fdetach.c: Likewise.
13903 * streams/getmsg.c: Likewise.
13904 * streams/getpmsg.c: Likewise.
13905 * streams/putmsg.c: Likewise.
13906 * streams/putpmsg.c: Likewise.
13907 * sysdeps/unix/bsd/getpt.c: Likewise.
13908 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13909 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13910 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13912 Likewise.
13913 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13914 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13915 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13916 * sysvipc/msgctl.c: Likewise.
13917 * sysvipc/msgget.c: Likewise.
13918 * sysvipc/msgrcv.c: Likewise.
13919 * sysvipc/msgsnd.c: Likewise.
13920 * sysvipc/semctl.c: Likewise.
13921 * sysvipc/semget.c: Likewise.
13922 * sysvipc/semop.c: Likewise.
13923 * sysvipc/semtimedop.c: Likewise.
13924 * sysvipc/shmat.c: Likewise.
13925 * sysvipc/shmctl.c: Likewise.
13926 * sysvipc/shmdt.c: Likewise.
13927 * sysvipc/shmget.c: Likewise.
13928 * termios/tcdrain.c: Likewise.
13929 * termios/tcflow.c: Likewise.
13930 * termios/tcflush.c: Likewise.
13931 * termios/tcgetattr.c: Likewise.
13932 * termios/tcgetpgrp.c: Likewise.
13933 * termios/tcsendbrk.c: Likewise.
13934 * termios/tcsetattr.c: Likewise.
13935 * termios/tcsetpgrp.c: Likewise.
13936 * time/adjtime.c: Likewise.
13937 * time/clock.c: Likewise.
13938 * time/getitimer.c: Likewise.
13939 * time/gettimeofday.c: Likewise.
13940 * time/setitimer.c: Likewise.
13941 * time/settimeofday.c: Likewise.
13942 * time/stime.c: Likewise.
13943 * time/time.c: Likewise.
13944
139452012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13946
a20492cf
PT
13947 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13948 /usr/old/bin.
13949
72e182e3
PT
13950 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13951 instead of spaces.
13952 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13953
fbeafede
JM
139542012-11-03 Joseph Myers <joseph@codesourcery.com>
13955
5b5b04d6
JM
13956 [BZ #14796]
13957 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13958 FE_TONEAREST before applying Dekker multiplication and Knuth
13959 addition. Clear inexact exceptions and check for exact zero
13960 results afterwards.
13961 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13962 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13963 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13964 * math/libm-test.inc (fma_test): Add more tests.
13965 (fma_test_towardzero): Likewise.
13966 (fma_test_downward): Likewise.
13967 (fma_test_upward): Likewise.
13968 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13969 function.
13970 (libc_fesetround): New macro.
13971 (libc_fesetroundf): Likewise.
13972 (libc_fesetroundl): Likewise.
13973 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13974 function.
13975 (libc_fesetround_387): Likewise.
13976 (libc_fesetroundf): New macro.
13977 (libc_fesetround): Likewise.
13978 (libc_fesetroundl): Likewise.
13979 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13980 function.
13981 (libc_fesetroundf): New macro.
13982 (libc_fesetround): Likewise.
13983 (libc_fesetroundl): Likewise.
13984 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13985 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13986 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13987 libm_hidden_ver.
13988 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13989 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13990 libm_hidden_def.
13991 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13992 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13993 libm_hidden_ver.
13994 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13995 libm_hidden_def.
13996
fbeafede
JM
13997 [BZ #3439]
13998 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13999 integer constant usable in #if and use that to give value to enum
14000 constant.
14001 (FE_DIVBYZERO): Likewise.
14002 (FE_UNDERFLOW): Likewise.
14003 (FE_OVERFLOW): Likewise.
14004 (FE_INVALID): Likewise.
14005 (FE_INVALID_SNAN): Likewise.
14006 (FE_INVALID_ISI): Likewise.
14007 (FE_INVALID_IDI): Likewise.
14008 (FE_INVALID_ZDZ): Likewise.
14009 (FE_INVALID_IMZ): Likewise.
14010 (FE_INVALID_COMPARE): Likewise.
14011 (FE_INVALID_SOFTWARE): Likewise.
14012 (FE_INVALID_SQRT): Likewise.
14013 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14014 (FE_TONEAREST): Likewise.
14015 (FE_TOWARDZERO): Likewise.
14016 (FE_UPWARD): Likewise.
14017 (FE_DOWNWARD): Likewise.
14018 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14019 (FE_DIVBYZERO): Likewise.
14020 (FE_OVERFLOW): Likewise.
14021 (FE_UNDERFLOW): Likewise.
14022 (FE_INEXACT): Likewise.
14023 (FE_TONEAREST): Likewise.
14024 (FE_DOWNWARD): Likewise.
14025 (FE_UPWARD): Likewise.
14026 (FE_TOWARDZERO): Likewise.
14027 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14028 (FE_UNDERFLOW): Likewise.
14029 (FE_OVERFLOW): Likewise.
14030 (FE_DIVBYZERO): Likewise.
14031 (FE_INVALID): Likewise.
14032 (FE_TONEAREST): Likewise.
14033 (FE_TOWARDZERO): Likewise.
14034 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14035 (FE_OVERFLOW): Likewise.
14036 (FE_UNDERFLOW): Likewise.
14037 (FE_DIVBYZERO): Likewise.
14038 (FE_INEXACT): Likewise.
14039 (FE_TONEAREST): Likewise.
14040 (FE_TOWARDZERO): Likewise.
14041 (FE_UPWARD): Likewise.
14042 (FE_DOWNWARD): Likewise.
14043 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14044 (FE_DIVBYZERO): Likewise.
14045 (FE_OVERFLOW): Likewise.
14046 (FE_UNDERFLOW): Likewise.
14047 (FE_INEXACT): Likewise.
14048 (FE_TONEAREST): Likewise.
14049 (FE_DOWNWARD): Likewise.
14050 (FE_UPWARD): Likewise.
14051 (FE_TOWARDZERO): Likewise.
14052
105ca950
CM
140532012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14054
14055 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14056
a542b389
AS
140572012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14058
14059 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14060 commands. Quote $PWD.
14061 (blacklist_exports): Don't use remove_newlines. Replace "declare
14062 -x" by "export".
14063 (remove_newlines): Remove.
14064
f62c8abc
L
140652012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14066
14067 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14068 * stdlib/stdlib.h (atof): Moved to ...
14069 * include/bits/stdlib-float.h: Here. New file.
14070 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14071 * stdlib/bits/stdlib-float.h: New file.
14072 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14073 -mno-sse -mno-mmx.
14074 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14075 <xmmintrin.h>.
14076
0155d5b2
JM
140772012-11-02 Joseph Myers <joseph@codesourcery.com>
14078
a68d0680
JM
14079 * conform/conformtest.pl (@headers): Add fenv.h.
14080 * conform/data/fenv.h-data: New file.
14081 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14082 include of <math/fenv.h>.
14083
caf7f573
JM
14084 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14085 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14086 && !UNIX98]. Enables tests for XOPEN2K8.
14087 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14088 POSIX2008]: Likewise.
14089
6c073ad6
JM
14090 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14091 (struct rusage): Do not expect type or its members.
14092
0155d5b2
JM
14093 [BZ #3439]
14094 * math/math.h (FP_NAN): Define macro to integer constant usable in
14095 #if and use that to give value to enum constant.
14096 (FP_INFINITE): Likewise.
14097 (FP_ZERO): Likewise.
14098 (FP_SUBNORMAL): Likewise.
14099 (FP_NORMAL): Likewise.
14100
b5dcacb4
AS
141012012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14102
14103 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14104 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14105 arguments.
14106
f7934be8
RM
141072012-11-02 Roland McGrath <roland@hack.frob.com>
14108
14109 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14110 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14111 autoconf-time if not.
14112 * configure.in: Remove AC_PREREQ.
14113
d7d08bde
TMQMF
141142012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14115
14116 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14117 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14118 of the internal implementation.
14119
dcdae19a
JM
141202012-11-02 Joseph Myers <joseph@codesourcery.com>
14121
14122 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14123 except include of <misc/sys/syslog.h>.
14124
d6cffd3e
AS
141252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14126
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14128 function returns with a NULL context exit with zero.
14129
b3563932
TMQMF
141302012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14131
14132 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14133
b288a93d
L
141342012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14135
14136 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14137 (run_program_cmd): This.
14138 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14139 (tst_langinfo): New variable. Use it.
14140
a2421a68
SAS
141412012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14142
14143 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14144 floating point opcodes.
14145
6f796e1b
TS
141462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14147
7402596b
TS
14148 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14149 variable.
14150
d0d4f868
TS
14151 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14152
6f796e1b
TS
14153 * sysdeps/mach/hurd/powerpc: Remove directory.
14154 * sysdeps/mach/powerpc: Likewise.
14155
4da224a2
AS
141562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14157
14158 * scripts/check-local-headers.sh: Ignore c++ headers.
14159
341dd673
TS
141602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14161
14162 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14163 __libc_cleanup_region_start argument.
14164
473611b2
JM
141652012-11-01 Joseph Myers <joseph@codesourcery.com>
14166
14167 [BZ #14784]
14168 [BZ #14785]
14169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14170 x * y using scaling, not as x * y + z.
14171 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14172 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14173 * math/libm-test.inc (fma_test): Add more tests.
14174 (fma_test_towardzero): Likewise.
14175 (fma_test_downward): Likewise.
14176 (fma_test_upward): Likewise.
14177
4078da3d
TS
141782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14179
14180 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14181
903252aa
JM
141822012-10-31 Joseph Myers <joseph@codesourcery.com>
14183
14184 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14185 New variable.
14186
cbc818d0
TS
141872012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14188
14189 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14190
5a03cb1e
AS
141912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14192
14193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14194 Fix sort order.
14195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14196 Likewise.
14197
90aff2ff
TMQMF
141982012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14199
14200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14201 Fix the order of the list for glibc 2.17.
14202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14203 Likewise.
14204
1818fcb7
AS
142052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14206
14207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14208
ef82f4da
JM
142092012-10-31 Joseph Myers <joseph@codesourcery.com>
14210
16a0e2ec
JM
14211 [BZ #14610]
14212 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14213 for low part of x being zero before using __atanl (y).
14214 * math/libm-test.inc (atan2_test): Add another test.
14215
0eb69512
JM
14216 * manual/install.texi (Configuring and compiling): Document
14217 general use of test-wrapper and test-wrapper-env.
14218 * INSTALL: Regenerated.
14219
ef82f4da
JM
14220 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14221 (__fma): Do not extract and scale down low bits on after-rounding
14222 systems when result rounded to normal precision would have normal
14223 exponent.
14224 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14225 (__fmal): Do not extract and scale down low bits on after-rounding
14226 systems when result rounded to normal precision would have normal
14227 exponent.
14228 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14229 (__fmal): Do not extract and scale down low bits on after-rounding
14230 systems when result rounded to normal precision would have normal
14231 exponent.
14232 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14233 macro.
14234 (fma_test): Add more tests.
14235 (fma_test_towardzero): Likewise.
14236 (fma_test_downward): Likewise.
14237 (fma_test_upward): Likewise.
14238
954ef0d9
L
142392012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14240
14241 * sysdeps/i386/tininess.h: Renamed to ...
14242 * sysdeps/x86/tininess.h: This.
14243 * sysdeps/x86_64/tininess.h: Removed.
14244
df61ffb2
JM
142452012-10-30 Joseph Myers <joseph@codesourcery.com>
14246
14247 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14248 input. Use $(build-program-cmd).
14249 ($(objpfx)tst-array1-static.out): Likewise.
14250 ($(objpfx)tst-array2.out): Likewise.
14251 ($(objpfx)tst-array3.out): Likewise.
14252 ($(objpfx)tst-array4.out): Likewise.
14253 ($(objpfx)tst-array5.out): Likewise.
14254 ($(objpfx)tst-array5-static.out): Likewise.
14255
01767843
CM
142562012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14257
47cc1490
CM
14258 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14259 if defined.
14260
01767843
CM
14261 * nss/nsswitch.h (nss_interface_function): Provide new
14262 macro for use with NSS functions.
14263 * grp/initgroups.c: Use new macro.
14264 * nss/getXXbyYY.c: Likewise.
14265 * nss/getXXbyYY_r.c: Likewise.
14266 * nss/getXXent.c: Likewise.
14267 * nss/getXXent_r.c: Likewise.
14268 * sysdeps/posix/getaddrinfo.c: Likewise.
14269
8321aa97
AJ
142702012-10-30 Andreas Jaeger <aj@suse.de>
14271
14272 * po/ru.po: Update Russion translation from translation project.
14273
2a27fd6d
JM
142742012-10-30 Joseph Myers <joseph@codesourcery.com>
14275
8627a232
JM
14276 [BZ #14152]
14277 [BZ #14783]
14278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14279 result and shift together with sticky bit instead of replicating
14280 round-to-nearest rounding.
14281 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14282 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14283 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14284 missing underflow exceptions.
14285 (fma_test_towardzero): Add more tests.
14286 (fma_test_downward): Likewise.
14287 (fma_test_upward): Likewise.
14288
2a27fd6d
JM
14289 [BZ #14047]
14290 * sysdeps/generic/tininess.h: New file.
14291 * sysdeps/i386/tininess.h: Likewise.
14292 * sysdeps/sh/tininess.h: Likewise.
14293 * sysdeps/x86_64/tininess.h: Likewise.
14294 * stdlib/tst-strtod-underflow.c: Likewise.
14295 * stdlib/tst-tininess.c: Likewise.
14296 * stdlib/strtod_l.c: Include <tininess.h>.
14297 (round_and_return): Do not set errno for exact underflow cases.
14298 Force an underflow exception when setting errno for underflow.
14299 Determine underflow based on rounding to normal precision if
14300 TININESS_AFTER_ROUNDING.
14301 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14302 ERANGE for exact underflow cases.
14303 * stdlib/Makefile (tests): Add tst-tininess and
14304 tst-strtod-underflow.
14305 ($(objpfx)tst-tininess): Use $(link-libm).
14306 ($(objpfx)tst-strtod-underflow): Likewise.
14307
e7170363
AJ
143082012-10-30 Andreas Jaeger <aj@suse.de>
14309
e5088dc6
AJ
14310 [BZ#14767]
14311 * elf/Makefile (tests): Remove conditional for have-initfini-array
14312 since this is now always required and the variable does not exist
14313 anymore.
14314 (tests-static): Likewise.
14315 (modules-names): Likewise.
14316
e7170363 14317 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14318
14319 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14320 merged with constructor/destructor.
14321 (init_array): Likewise.
14322 * elf/tst-array2dep.c (fini_array): Likewise.
14323 (init_array): Likewise.
14324
60457d8a
MF
143252012-10-29 Mike Frysinger <vapier@gentoo.org>
14326
14327 * manual/message.texi: Delete @cartouche tags.
14328
8bece752
PT
143292012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14330
94ce799f
PT
14331 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14332 EOPNOTSUPP.
14333 * sysdeps/mach/hurd/fsync.c: Likewise.
14334
8bece752
PT
14335 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14336 [_POSIX_REALTIME_SIGNALS]: Change condition to
14337 [_POSIX_REALTIME_SIGNALS > 0].
14338
86ebe6b1
AJ
143392012-10-27 Andreas Jaeger <aj@suse.de>
14340
14341 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14342 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14344 [__WORDSIZE != 64]: Likewise.
14345
54399c08
L
143462012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14347
14348 * iconvdata/tst-table.sh: Remove ${SHELL}.
14349 * iconvdata/tst-tables.sh: Likewise.
14350
e2211bed
DM
143512012-10-25 David S. Miller <davem@davemloft.net>
14352
14353 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14354 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14355 of strtoull.
14356
f303f97c
DM
14357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14358 ifunc-impl-list.c
14359 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14360 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14361 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14362 file.
14363
1e9d84cd
RM
143642012-10-25 Roland McGrath <roland@hack.frob.com>
14365
14366 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14367 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14368 __getdirentries.
14369
df381762
JM
143702012-10-25 Joseph Myers <joseph@codesourcery.com>
14371 Jim Blandy <jimb@codesourcery.com>
14372
14373 * scripts/cross-test-ssh.sh: New file.
14374 * manual/install.texi (Configuring and compiling): Document use of
14375 cross-test-ssh.sh.
14376 * INSTALL: Regenerated.
14377
bff64913
PT
143782012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14379
14380 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14381 EOPNOTSUPP.
14382
25fe8932
JM
143832012-10-25 Joseph Myers <joseph@codesourcery.com>
14384
14385 * Makeconfig (run-program-prefix): Fix comment.
14386
cc1290d0
JM
143872012-10-24 Joseph Myers <joseph@codesourcery.com>
14388 Jim Blandy <jimb@codesourcery.com>
14389
14390 * Makeconfig (test-wrapper): New variable,
14391 (test-wrapper-env): Likewise.
14392 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14393 (run-built-tests): Define to yes.
14394 (run-program-prefix): Use $(test-wrapper).
14395 (built-program-cmd): Likewise.
14396 * Rules (make-test-out): Use $(test-wrapper-env) and
14397 $(host-built-program-cmd).
14398 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14399 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14400 tst-pathopt.sh.
14401 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14402 $(test-wrapper-env) to tst-rtld-load-self.sh.
14403 ($(objpfx)order2.out): Use $(test-wrapper).
14404 ($(objpfx)tst-initorder.out): Likewise.
14405 ($(objpfx)tst-initorder2.out): Likewise.
14406 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14407 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14408 (test_wrapper_env): New variable. Use it to run ld.so.
14409 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14410 Use it to run ld.so.
14411 (test_wrapper_env): Likewise.
14412 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14413 $(test-wrapper) to run-iconv-test.sh.
14414 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14415 (ICONV): Use $test_wrapper.
14416 * posix/Makefile ($(objpfx)globtest.out): Pass
14417 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14418 globtest.sh, not $(run-program-prefix).
14419 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14420 (test_wrapper): Likewise.
14421 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14422 set together with run_via_rtld_prefix.
14423 (run_program_prefix): Define in terms of test_wrapper and
14424 run_via_rtld_prefix.
14425
6e6249d0
RM
144262012-10-24 Roland McGrath <roland@hack.frob.com>
14427
14428 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14429 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14430 Targets removed.
14431
14432 [BZ #14743]
14433 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14434 Declare __clock_getres, __clock_gettime, __clock_settime,
14435 __clock_nanosleep, and __clock_getcpuclockid.
14436 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14437 Remove librt_hidden_def (clock_gettime).
14438 * sysdeps/unix/clock_gettime.c: Likewise.
14439 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14440 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14441 * rt/clock_getres.c: Define __clock_getres as an alias.
14442 * sysdeps/posix/clock_getres.c: Likewise.
14443 * rt/clock_settime.c: Define __clock_settime as an alias.
14444 * sysdeps/unix/clock_settime.c: Likewise.
14445 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14446 * sysdeps/unix/clock_nanosleep.c: Likewise.
14447 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14448 * rt/clock-compat.c: New file.
14449 * rt/Makefile (librt-routines): Add clock-compat and move
14450 $(clock-routines) to ...
14451 (routines): ... here, new variable.
14452 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14453 Don't add get_clockfreq here.
14454 * rt/Versions (libc: GLIBC_2.17): New version set.
14455 Add clock_* symbols here.
14456 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14457 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14458 (GLIBC_2.17): Add clock_* symbols.
14459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14461 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14463 Likewise.
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14465 Likewise.
14466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14470 * NEWS: Mention the move.
14471
14472 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14473 Use __open, __read, __close rather than their public counterparts.
14474 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14475 (__get_clockfreq_via_cpuinfo): Likewise.
14476 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14477 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14478
14479 * config.h.in (HAVE_IFUNC): New #undef.
14480 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14481 was successful.
14482 * configure: Regenerated.
14483
0cae3f4b
MF
144842012-10-24 Mike Frysinger <vapier@gentoo.org>
14485
14486 * configure.in: Move READELF check to start of file.
14487 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14488 libc_cv_asm_gnu_indirect_function in the process.
14489 * configure: Regenerated.
14490
8175a253
MF
144912012-10-24 Mike Frysinger <vapier@gentoo.org>
14492
14493 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14494 send the output to /dev/null.
14495 (libc_cv_cc_with_libunwind): Likewise.
14496 (libc_cv_as_noexecstack): Likewise.
14497 * configure: Regenerate.
14498
0708a7d1
JM
144992012-10-24 Joseph Myers <joseph@codesourcery.com>
14500
10b40d85
JM
14501 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14502
0708a7d1
JM
14503 * posix/globtest.sh (TMPDIR): Do not set.
14504 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14505 (testout): Likewise.
14506
9fddec1a
AJ
145072012-10-24 Andreas Jaeger <aj@suse.de>
14508
3a8db22f
AJ
14509 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14510 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14511 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14512 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14513 posix_fadvise64, posix_fallocate64.
14514
9fddec1a
AJ
14515 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14516 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14517 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14518 Likewise.
14519 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14520 Likewise.
14521 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14522
14523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14524 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14525 <bits/fcntl-linux.h>.
14526 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14527
14528 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14529 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14530 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14531 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14532 [__WORDSIZE != 64]: Likewise.
14533
ebfd1bbd
JM
145342012-10-23 Joseph Myers <joseph@codesourcery.com>
14535
03ac099f
JM
14536 * Makeconfig (run-built-tests): New variable.
14537 * Rules [$(cross-compiling) = yes]: Change condition to
14538 [$(run-built-tests) = no].
14539 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14540 to [$(run-built-tests) = yes].
14541 * elf/Makefile [$(cross-compiling) = no]: Likewise
14542 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14543 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14544 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14545 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14546 * io/Makefile [$(cross-compiling) = no]: Likewise.
14547 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14548 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14549 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14550 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14551 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14552 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14553 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14554 * string/Makefile [$(cross-compiling) = no]: Likewise.
14555
ebfd1bbd
JM
14556 * posix/Makefile ($(objpfx)globtest.out): Pass
14557 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14558 $(rtld-installed-name).
14559 * posix/globtest.sh (elf_objpfx): Remove variable.
14560 (rtld_installed_name): Likewise.
14561 (library_path): Likewise.
14562 (run_program_prefix): New variable. Use for running globtest
14563 binary.
14564
166bca24
JB
145652012-10-23 Jim Blandy <jimb@codesourcery.com>
14566 Joseph Myers <joseph@codesourcery.com>
14567
14568 * Makeconfig (host-built-program-cmd): New variable.
14569 * elf/Makefile (tst-stackguard1-ARGS): Use
14570 $(host-built-program-cmd).
14571 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14572 (tst-spawn-ARGS): Likewise.
14573 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14574
88866099
JM
145752012-10-23 Joseph Myers <joseph@codesourcery.com>
14576 Jim Blandy <jimb@codesourcery.com>
14577
14578 * Makeconfig (run-via-rtld-prefix): New variable.
14579 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14580 (built-program-cmd): Likewise.
14581
b4b4c296
AJ
145822012-10-22 Andreas Jaeger <aj@suse.de>
14583
14584 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14585 __O_RSYNC if it exists, otherwise to O_SYNC.
14586
6fb54a22
JB
145872012-10-22 Jim Blandy <jimb@codesourcery.com>
14588 Joseph Myers <joseph@codesourcery.com>
14589
14590 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14591 /dev/null.
14592 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14593 from /dev/null
14594 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14595 /dev/null.
14596
481b90b9
AJ
145972012-10-22 Andreas Jaeger <aj@suse.de>
14598
2a0e2669
AJ
14599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14600 Define always.
14601 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14602
76e38f9a
AJ
14603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14604 bits/fcntl-linux.h.
14605
7cd37b43
AJ
14606 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14607 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14608
481b90b9
AJ
14609 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14610 to __O_LARGEFILE.
14611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14612 to __O_LARGEFILE.
14613
aba75984
JB
146142012-10-21 Jim Blandy <jimb@codesourcery.com>
14615 Joseph Myers <joseph@codesourcery.com>
14616
14617 * config.make.in (NM): New variable.
14618
88d4247f
AJ
146192012-10-21 Andreas Jaeger <aj@suse.de>
14620
14621 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14622 definitions and declarations that are provided by
14623 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14624
f2eed205
L
146252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14626
14627 [BZ #14683]
14628 * elf/Makefile (tests-static): Add tst-leaks1-static.
14629 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14630 ($(objpfx)tst-leaks1-static): New rule.
14631 ($(objpfx)tst-leaks1-static-mem): Likewise.
14632 (tst-leaks1-static-ENV): New macro.
14633 * elf/dl-open.c (dl_open_worker): Check the main application
14634 only if SHARED is defined.
14635 * elf/tst-leaks1-static.c: New file.
14636
335e6931
AJ
146372012-10-20 Andreas Jaeger <aj@suse.de>
14638
14639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14640 generic values for Linux.
14641 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14642 and declarations that are provided by <bits/fcntl-linux.h> and
14643 include <bits/fcntl-linux.h>.
14644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14646
ac5c94d3
RM
146472012-10-20 Roland McGrath <roland@hack.frob.com>
14648
14649 * io/fcntl.h: Move include of <bits/types.h> to the top and
14650 include it unconditionally.
14651
de54b33a
L
146522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14653
228cfb01
L
14654 * wcsmbs/Makefile (tests-ifunc): New variable.
14655 (tests): Add $(tests-ifunc).
14656 * wcsmbs/test-wcschr-ifunc.c: New file.
14657 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14658 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14659 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14660 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14661 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14662
69f07e5f
L
14663 * string/Makefile (tests-ifunc): New variable.
14664 (tests): Add $(tests-ifunc).
14665 * string/test-memccpy.c (TEST_NAME): New macro.
14666 * string/test-memchr.c (TEST_NAME): Likewise.
14667 * string/test-memcmp.c (TEST_NAME): Likewise.
14668 * string/test-memcpy.c (TEST_NAME): Likewise.
14669 * string/test-memmem.c (TEST_NAME): Likewise.
14670 * string/test-memmove.c (TEST_NAME): Likewise.
14671 * string/test-memset.c (TEST_NAME): Likewise.
14672 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14673 * string/test-stpcpy.c (TEST_NAME): Likewise.
14674 * string/test-stpncpy.c (TEST_NAME): Likewise.
14675 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14676 * string/test-strcasestr.c (TEST_NAME): Likewise.
14677 * string/test-strcat.c (TEST_NAME): Likewise.
14678 * string/test-strchr.c (TEST_NAME): Likewise.
14679 * string/test-strcmp.c(TEST_NAME): Likewise.
14680 * string/test-strcpy.c (TEST_NAME): Likewise.
14681 * string/test-strcspn.c (TEST_NAME): Likewise.
14682 * string/test-strlen.c (TEST_NAME): Likewise.
14683 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14684 * string/test-strncmp.c (TEST_NAME): Likewise.
14685 * string/test-strncpy.c (TEST_NAME): Likewise.
14686 * string/test-strnlen.c (TEST_NAME): Likewise.
14687 * string/test-strpbrk.c (TEST_NAME): Likewise.
14688 * string/test-strrchr.c (TEST_NAME): Likewise.
14689 * string/test-strspn.c (TEST_NAME): Likewise.
14690 * string/test-strstr.c (TEST_NAME): Likewise.
14691 * string/test-bcopy-ifunc.c: New file.
14692 * string/test-bzero-ifunc.c: Likewise.
14693 * string/test-memccpy-ifunc.c: Likewise.
14694 * string/test-memchr-ifunc.c: Likewise.
14695 * string/test-memcmp-ifunc.c: Likewise.
14696 * string/test-memcpy-ifunc.c: Likewise.
14697 * string/test-memmem-ifunc.c: Likewise.
14698 * string/test-memmove-ifunc.c: Likewise.
14699 * string/test-mempcpy-ifunc.c: Likewise.
14700 * string/test-memset-ifunc.c: Likewise.
14701 * string/test-rawmemchr-ifunc.c: Likewise.
14702 * string/test-stpcpy-ifunc.c: Likewise.
14703 * string/test-stpncpy-ifunc.c: Likewise.
14704 * string/test-strcasecmp-ifunc.c: Likewise.
14705 * string/test-strcasestr-ifunc.c: Likewise.
14706 * string/test-strcat-ifunc.c: Likewise.
14707 * string/test-strchr-ifunc.c: Likewise.
14708 * string/test-strchrnul-ifunc.c: Likewise.
14709 * string/test-strcmp-ifunc.c: Likewise.
14710 * string/test-strcpy-ifunc.c: Likewise.
14711 * string/test-strcspn-ifunc.c: Likewise.
14712 * string/test-strlen-ifunc.c: Likewise.
14713 * string/test-strncasecmp-ifunc.c: Likewise.
14714 * string/test-strncat-ifunc.c: Likewise.
14715 * string/test-strncmp-ifunc.c: Likewise.
14716 * string/test-strncpy-ifunc.c: Likewise.
14717 * string/test-strnlen-ifunc.c: Likewise.
14718 * string/test-strpbrk-ifunc.c: Likewise.
14719 * string/test-strrchr-ifunc.c: Likewise.
14720 * string/test-strspn-ifunc.c: Likewise.
14721 * string/test-strstr-ifunc.c: Likewise.
14722
de54b33a
L
14723 * debug/Makefile (tests-ifunc): New variable.
14724 (tests): Add $(tests-ifunc).
14725 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14726 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14727 * debug/test-stpcpy_chk-ifunc.c: New file.
14728 * debug/test-strcpy_chk-ifunc.c: Likewise.
14729
88481c16
SP
147302012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14731
14732 [BZ #13601]
14733 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14734 header is not read in.
14735
135948bd
JM
147362012-10-19 Joseph Myers <joseph@codesourcery.com>
14737
89f1c388
JM
14738 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14739 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14740 directly. Pass built executable to script as
14741 $(built-program-cmd).
14742 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14743 $testprogram without using LD_LIBRARY_PATH and $ldso.
14744
e40a0d21
JM
14745 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14746 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14747 $(rtld-installed-name).
14748 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14749 (rtld_installed_name): Likewise.
14750 (library_path): Likewise.
14751 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14752 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14753 $(run-program-prefix) to tst-tables.sh.
14754 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14755 it to run tst-table-from and tst-table-to.
14756 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14757 Pass it to tst-table.sh.
14758 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14759 $(run-program-prefix) to tst-gettext.sh.
14760 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14761 tst-translit.sh.
14762 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14763 tst-gettext2.sh.
14764 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14765 to run tst-gettext.
14766 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14767 to run tst-gettext2.
14768 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14769 to run tst-translit.
14770 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14771 $(run-program-prefix) to tst-mtrace.sh.
14772 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14773 to run tst-mtrace.
14774 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14775 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14776 $(rtld-installed-name).
14777 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14778 (rtld_installed_name): Likewise.
14779 (run_program_prefix): New variable. Use it to run wordexp-test.
14780
728e272a
JM
14781 * Makeconfig (ARCH): Remove all definitions.
14782 (machine): Likewise.
14783 [ARCH]: Remove conditional code.
14784 [!objdir]: Give error.
14785 [!objdir] (objpfx): Remove.
14786 [!objdir] (common-objpfx): Likewise.
14787 [!objdir] (common-objdir): Likewise.
14788 * configure.in (config_makefile): Remove. Hardcode Makefile in
14789 AC_CONFIG_FILES call.
14790 * configure: Regenerated.
14791
d528cdcf
JM
14792 [BZ #13888]
14793 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14794 or TMPDIR.
14795 (testout): Likewise.
14796
135948bd
JM
14797 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14798 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14799 $(rtld-installed-name).
14800 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14801 (rtld_installed_name): Likwise.
14802 (runit): Remove function.
14803 (run_getconf): New variable, Use it for running getconf binary.
14804
38c78296
L
148052012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14806
14807 [BZ #14716]
14808 * string/test-memmem.c (check_result): New function.
14809 (do_one_test): Use it.
14810 (check1): New function.
14811 (test_main): Use it.
14812
d077f65f
MT
148132012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14814
14815 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14816
ced52c71
JM
148172012-10-18 Joseph Myers <joseph@codesourcery.com>
14818
14819 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14820 (_G_LSEEK64): Likewise.
14821 (_G_MMAP64): Likewise.
14822 (_G_FSTAT64): Likewise.
14823 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14824 (_G_LSEEK64): Likewise.
14825 (_G_MMAP64): Likewise.
14826 (_G_FSTAT64): Likewise.
14827 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14828 unconditional. Call __mmap64 directly.
14829 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14830 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14831 __lseek64 directly.
14832 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14833 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14834 __mmap64 directly.
14835 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14836 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14837 __lseek64 directly.
14838 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14839 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14840 __lseek64 directly.
14841 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14842 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14843 __lseek64 directly.
14844 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14845 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14846 __fxstat64 directly.
14847 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14848 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14849 unconditional.
14850 (freopen64) [!_G_OPEN64]: Remove conditional code.
14851 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14852 unconditional.
14853 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14854 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14855 unconditional.
14856 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14857 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14858 unconditional.
14859 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14860 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14861 unconditional.
14862 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14863 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14864 unconditional.
14865 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14866 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14867 unconditional.
14868 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14869 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14870 unconditional.
14871 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14872
b741de23
SP
148732012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14874
14875 [BZ #12140]
14876 * manual/memory.texi (Malloc Tunable Parameters): Add note
14877 about free list pointers overwriting some perturb bytes.
14878 Wording suggested by Roland McGrath.
14879
f9b9d9c9
JM
148802012-10-17 Joseph Myers <joseph@codesourcery.com>
14881
14882 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14883 (lgamma_test): Likewise.
14884 (tgamma_test): Likewise.
14885
172a631a
FW
148862012-10-16 Florian Weimer <fweimer@redhat.com>
14887
14888 [BZ #14700]
14889 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14890 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14891
e9f37252
MK
148922012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14893
14894 * NEWS: Mention BZ #14716.
14895 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14896 when removing AVAILABLE1_USES_J macro.
14897
d394eb74
L
148982012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14899
14900 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14901 (__bswap_64): __uint64_t for unsigned 64-bit int.
14902
ca38dc17
AS
149032012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14904
14905 * include/string.h (memmem): Declare libc hidden alias.
14906 * string/memmem.c (memmem): Define libc hidden alias.
14907 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14908 __read, __close instead of open, read, close.
14909
9a387d1f
L
149102012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14911
ac49ecaf
L
14912 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14913 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14914 global and hidden.
14915 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14916 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14917 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14918 Likewise.
14919 (__rawmemchr_sse2): Likewise.
14920 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14921 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14922 (__strchr_sse2): Likewise.
14923 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14924 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14925 (__strcasecmp_sse2): Likewise.
14926 (__strncasecmp_sse2): Likewise.
14927 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14928 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14929 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14930 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14931 (__strrchr_sse2): Likewise.
14932 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14933 ifunc-impl-list.c.
14934 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14935 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14936 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14937 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14938 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14939 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14940 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14941 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14942 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14943 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14944 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14945 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14946 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14947 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14948 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14949 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14950 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14951 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14952 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14953 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14954 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14955 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14956 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14957 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14958 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14959 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14960 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14961 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14962 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14963 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14964
b090e8ea
L
14965 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14966 global and hidden.
14967 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14968 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14969 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14970 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14971 Likewise.
14972 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14973 Likewise.
14974 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14975 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14976 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14977 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14978 ifunc-impl-list.c.
14979 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14980 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14981 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14982 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14983 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14984 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14985 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14986 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14987 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14988 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14989 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14990 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14991 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14992 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14993 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14994 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14995 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14996 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14997 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14998 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14999 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15000 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15001 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15002 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15003 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15004 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15005 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15006 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15007 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15008 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15009 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15010 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15011 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15012 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15013 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15014 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15015 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15016 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15017 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15018 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15019 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15020
11dd4af6
L
15021 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15022 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15023 * include/ifunc-impl-list.h: New file.
15024 * misc/ifunc-impl-list.c: Likewise.
15025 * misc/Makefile (routines): Add ifunc-impl-list.
15026 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15027 * string/test-string.h: Include <ifunc-impl-list.h>.
15028 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15029 impl_array): New variables.
15030 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15031 are defined.
15032 (test_init): Call __libc_ifunc_impl_list to initialize
15033 func_list if TEST_IFUNC and TEST_NAME are defined.
15034
9a387d1f
L
15035 * string/Makefile (strop-tests): Add bcopy and bzero.
15036 * string/test-bcopy.c: New file.
15037 * string/test-bzero.c: Likewise.
15038 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15039 defined.
15040 * string/test-memset.c: Support bzero test if TEST_BZERO is
15041 defined.
15042 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15043 __libc_memmove.
15044 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15045 __libc_memset.
15046 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15047 of memset.
15048
472371b9
JM
150492012-10-10 Joseph Myers <joseph@codesourcery.com>
15050
1e4a9536
JM
15051 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15052 * configure: Regenerated.
15053
d173d12e
JM
15054 * Makeconfig (+link-static-before-libc): Don't include
15055 $(link-static-libc).
15056
472371b9
JM
15057 * libio/libio.h (_IO_pos_t): Remove.
15058
89a3ad0b
AO
150592012-10-10 Alexandre Oliva <aoliva@redhat.com>
15060
15061 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15062 McGrath.
15063
e7451425
AO
150642012-10-10 Alexandre Oliva <aoliva@redhat.com>
15065
15066 * crypt/crypt-entry.c: Include fips-private.h.
15067 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15068 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15069 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15070 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15071
4ba74a35
AO
150722012-10-10 Alexandre Oliva <aoliva@redhat.com>
15073
15074 * crypt/crypt-private.h: Include stdbool.h.
15075 (_ufc_setup_salt_r): Return bool.
15076 * crypt/crypt-entry.c: Include errno.h.
15077 (__crypt_r): Return NULL with EINVAL for bad salt.
15078 * crypt/crypt_util.c (bad_for_salt): New.
15079 (_ufc_setup_salt_r): Check that salt is long enough and within
15080 the specified alphabet.
15081 * crypt/badsalttest.c: New file.
15082 * crypt/Makefile (tests): Add it.
15083 ($(objpfx)badsalttest): New.
15084
f96f1242
MK
150852012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15086
15087 * NEWS: Add entry for BZ #14602.
15088
0e8e0c1c
JM
150892012-10-09 Joseph Myers <joseph@codesourcery.com>
15090
15091 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15092 type-generic.
15093 * math/libm-test.inc: Update comment listing what functions and
15094 macros are tested.
15095 (isgreater_test): New function.
15096 (isgreaterequal_test): Likewise.
15097 (isless_test): Likewise.
15098 (islessequal_test): Likewise.
15099 (islessgreater_test): Likewise.
15100 (isunordered_test): Likewise.
15101 (main): Call the new functions.
15102
273edc5e
RM
151032012-10-09 Roland McGrath <roland@hack.frob.com>
15104
b8493de0
RM
15105 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15106 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15107 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15108 * sysdeps/i386/configure: Regenerated.
15109 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15110 * sysdeps/mach/configure: Regenerated.
15111 * sysdeps/mach/hurd/configure: Regenerated.
15112 * sysdeps/powerpc/configure: Regenerated.
15113 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15114 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15115 * sysdeps/s390/s390-32/configure: Regenerated.
15116 * sysdeps/s390/s390-64/configure: Regenerated.
15117 * sysdeps/sh/configure: Regenerated.
15118 * sysdeps/sparc/configure: Regenerated.
15119 * sysdeps/unix/sysv/linux/configure: Regenerated.
15120 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15121 * sysdeps/x86_64/configure: Regenerated.
15122
273edc5e
RM
15123 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15124 defined. Don't check if MAP is NULL.
15125
c8450f70
JM
151262012-10-09 Joseph Myers <joseph@codesourcery.com>
15127
15128 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15129 (_G_stat64): Likewise.
15130 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15131 (_G_stat64): Likewise.
15132 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15133 instead of struct _G_stat64.
15134 * libio/fileops.c (mmap_remap_check): Likewise.
15135 (decide_maybe_mmap): Likewise.
15136 (_IO_new_file_seekoff): Likewise.
15137 (_IO_file_stat): Likewise.
15138 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15139 _G_off64_t.
15140 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15141 instead of struct _G_stat64.
15142 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15143
57e605ba
MK
151442012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15145
15146 [BZ #14602]
15147 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15148 Replace with ...
15149 (CHECK_EOL): New macro.
15150 (two_way_short_needle): Check beginning of haystack for EOL. Use
15151 CHECK_EOL.
15152 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15153 Replace with CHECK_EOL.
15154 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15155 Replace with CHECK_EOL.
15156
ef1bb361
JM
151572012-10-08 Joseph Myers <joseph@codesourcery.com>
15158
15159 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15160 type-generic.
15161 * math/libm-test.inc: Update comment listing what functions and
15162 macros are tested.
15163 (finite_test): New function.
15164 (isinf_test): Likewise.
15165 (isnan_test): Likewise.
15166 (fpclassify_test): Test subnormal input.
15167 (isfinite_test): Likewise.
15168 (isnormal_test): Likewise.
15169 (main): Call the new functions.
15170
55f11534
JN
151712012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15172
15173 [BZ #14660]
15174 * Makerules (%.dynsym): Force C locale when running
15175 $(OBJDUMP) --dynamic-syms.
15176
1ab29350
AS
151772012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15178
15179 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15180 <stdint.h>.
15181
f1ecb7ef
DM
151822012-10-06 David S. Miller <davem@davemloft.net>
15183
15184 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15185 upper 32-bits of the length value in %o2 since we use branch-on-register
15186 tests which consider the entire 64-bit register.
15187
5d41d91a
L
151882012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15189
15190 * string/test-strstr.c (check2): Add a test for page boundary.
15191
3baddb72
DM
151922012-10-05 David S. Miller <davem@davemloft.net>
15193
15194 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15195 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15196 file.
15197 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15198 sysdep_routines.
15199 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15200 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15201 and bzero when HWCAP_SPARC_CRYPTO is present.
15202
9cee5585
L
152032012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15204
d7e0dab9
L
15205 [BZ #14602]
15206 * string/test-strstr.c (check2): New function.
15207 (test_main): Call check2.
15208
03759f47
L
15209 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15210 and bug-strchr1.
15211 * string/bug-strcasestr1.c (do_test): Moved to ...
15212 * string/test-strcasestr.c (check1): Here. New function.
15213 (do_one_test): Break out result checking code into ...
15214 (check_result): This. New function.
15215 (do_one_test): Call check_result.
15216 (test_main): Call check1.
15217 * string/bug-strchr1.c (do_test): Moved to ...
15218 * string/test-strchr.c (check1): Here. New function.
15219 (do_one_test): Break out result checking code into ...
15220 (check_result): This. New function.
15221 (do_one_test): Call check_result.
15222 (test_main): Call check1.
15223 * string/bug-strstr1.c (main): Moved to ...
046f153e 15224 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15225 (do_one_test): Break out result checking code into ...
15226 (check_result): This. New function.
15227 (do_one_test): Call check_result.
15228 (test_main): Call check1.
15229 * string/bug-strcasestr1.c: Removed.
15230 * string/bug-strchr1.c: Likewise.
15231 * string/bug-strstr1.c: Likewise.
15232
53cea63e
L
15233 * elf/Makefile (dl-routines): Add hwcaps.
15234 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15235 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15236 (_dl_important_hwcaps): Moved to ...
15237 * elf/dl-hwcaps.c: Here. New file.
15238 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15239
9cee5585 15240 [BZ #14557]
bb859b06
L
15241 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15242 if IS_IN_rtld isn't defined.
15243
9cee5585
L
15244 * elf/dl-support.c (_dl_sysinfo_map): New.
15245 Include "get-dynamic-info.h" and "setup-vdso.h".
15246 (_dl_non_dynamic_init): Call setup_vdso.
15247 * elf/dynamic-link.h: Don't include <assert.h>.
15248 (elf_get_dynamic_info): Moved to ...
15249 * elf/get-dynamic-info.h: Here. New file.
15250 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15251 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15252 * elf/setup-vdso.h: Here. New file.
15253 * elf/rtld.c: Include "setup-vdso.h".
15254 (dl_main): Call setup_vdso.
15255
23c31b76
JM
152562012-10-05 Joseph Myers <joseph@codesourcery.com>
15257
28234b07
JM
15258 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15259 creal in comment listing functions tested. List finite, isinf,
15260 isnan, isless, islessequal, isgreater, isgreaterequal,
15261 islessgreater, isunordered, lgamma_r and pow10 as functions and
15262 macros not tested. Mention which functions not tested are aliases
15263 for other functions. Fix typo. Note that signs of NaNs are not
15264 tested.
15265
23c31b76
JM
15266 * scripts/config.guess: Update from config.git.
15267 * scripts/config.sub: Likewise.
15268
9043e228
RM
152692012-10-04 Roland McGrath <roland@hack.frob.com>
15270
15271 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15272 * misc/madvise.c (madvise): Renamed to __madvise.
15273 Make madvise a weak alias.
15274 * include/sys/mman.h: Declare __madvise.
15275 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15276 * sysdeps/unix/syscalls.list
15277 (madvise): Make __madvise the strong name, and madvise a weak alias.
15278 * sysdeps/unix/sysv/linux/syscalls.list
15279 (madvise, mmap): Remove redundant entries.
15280 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15281 * malloc/malloc.c (mtrim): Likewise.
15282 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15283
f57f8055
RM
152842012-10-03 Roland McGrath <roland@hack.frob.com>
15285
15286 * sysdeps/mach/hurd/dl-cache.c: File removed.
15287 * config.h.in (USE_LDCONFIG): New #undef.
15288 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15289 * configure: Regenerated.
15290 * elf/Makefile (dl-routines): Add dl-cache only under
15291 [$(use-ldconfig) = yes].
15292 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15293 cache on [USE_LDCONFIG].
15294 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15295 [USE_LDCONFIG].
15296 * elf/rtld.c (dl_main): Likewise.
15297
5bb0c10a
PT
152982012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15299
15300 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15301 _SC_LEVEL4_CACHE_LINESIZE.
15302
010188c6
RM
153032012-10-03 Roland McGrath <roland@hack.frob.com>
15304
15305 * sysdeps/unix/bsd/confstr.h: File removed.
15306
b6c5ec07
AO
153072012-10-02 Alexandre Oliva <aoliva@redhat.com>
15308
15309 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15310 sys/sdt-config.h.
15311
408223d4
RM
153122012-10-02 Roland McGrath <roland@hack.frob.com>
15313
15314 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15315 Make 'mapoff' field ElfW(Off) rather than off_t.
15316
bb9510dc
DL
153172012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15318
fc997c6e
DL
15319 * nscd/Makefile: Remove nscd-cflags and all its users.
15320 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15321 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15322
bb9510dc
DL
15323 [BZ #10631]
15324 * malloc.c (malloc_printerr): Clarify error message.
15325
05699367
L
153262012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15327
15328 [BZ #14648]
15329 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15330 Set bit_FMA_Usable if FMA is supported.
15331 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15332 macro.
15333 (bit_FMA4_Usable): Updated.
15334 (index_FMA_Usable): New macro.
15335 (CPUID_FMA): Likewise
15336 (HAS_FMA): Defined with bit_FMA_Usable.
15337
51367701
RM
153382012-10-01 Roland McGrath <roland@hack.frob.com>
15339
15340 * bits/types.h (__swblk_t): Type removed.
15341 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15342 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15344 (__SWBLK_T_TYPE): Likewise.
15345 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15346 (__SWBLK_T_TYPE): Likewise.
15347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15348 (__SWBLK_T_TYPE): Likewise.
15349 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15350 (__SWBLK_T_TYPE): Likewise.
15351
4d57bf63 153522012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15353 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15354
15355 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15356 (xdr_mapname): Use YPMAXMAP as maxsize.
15357 (xdr_peername): Use YPMAXPEER as maxsize.
15358 (xdr_keydat): Use YPAXRECORD as maxsize.
15359 (xdr_valdat): Use YPMAXRECORD as maxsize.
15360
93c65d43
RM
153612012-10-01 Roland McGrath <roland@hack.frob.com>
15362
497a03d6
RM
15363 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15364
93c65d43
RM
15365 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15366 * csu/init-first.c: ... here.
15367 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15368 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15369 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15370 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15371 * sysdeps/i386/init-first.c: File removed.
15372 * sysdeps/sh/init-first.c: File removed.
15373
bec749fd
JM
153742012-10-01 Joseph Myers <joseph@codesourcery.com>
15375
15376 [BZ #14645]
15377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15378 if x * y might underflow to zero and z is zero.
15379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15380 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15381 * math/libm-test.inc (min_subnorm_value): New variable.
15382 (fma_test): Add more tests.
15383 (fma_test_towardzero): Likewise.
15384 (fma_test_downward): Likewise
15385 (fma_test_upward): Likewise.
15386 (initialize): Set min_subnorm_value.
15387
8ec5b013
JM
153882012-09-29 Joseph Myers <joseph@codesourcery.com>
15389
15390 [BZ #14638]
15391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15392 0 + 0.
15393 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15394 mode for addition resulting in exact zero.
15395 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15396 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15397 exact 0 + 0.
15398 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15399 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15400 * math/libm-test.inc (fma_test): Add more tests.
15401 (fma_test_towardzero): New function.
15402 (fma_test_downward): Likewise.
15403 (fma_test_upward): Likewise.
15404 (main): Call the new functions.
15405
b1fa802e
DM
154062012-09-28 David S. Miller <davem@davemloft.net>
15407
15408 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15409
d3b9fd9e
RM
154102012-09-28 Roland McGrath <roland@hack.frob.com>
15411
ea4d37b3
RM
15412 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15413 instead of SIGALRM.
15414
ac51c949
RM
15415 * sysdeps/gnu/_G_config.h: Moved to ...
15416 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15417 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15418 * sysdeps/generic/_G_config.h: ... here.
15419
28c195f7
RM
15420 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15421
848917f9
RM
15422 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15423
6bacf05b
RM
15424 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15425 Conditionalize target on [libnss_test1.so-version].
15426
91363dbb
RM
15427 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15428
cc87f7d8
RM
15429 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15430 (elfobjdir): Move out of conditionals.
15431
b1c608fe
RM
15432 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15433 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15434 (__nss_lookup_function): Conditionalize label remove_from_tree on
15435 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15436
1d9a6d96
DM
154372012-09-28 David S. Miller <davem@davemloft.net>
15438
15439 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15440 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15441 file.
15442 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15443 sysdep_routines.
15444 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15445 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15446 when HWCAP_SPARC_CRYPTO is present.
15447
72581615
PT
154482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15449
15450 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15451
715a900c
JL
154522012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15453
15454 [BZ #6530]
15455 * stdio-common/vfprintf.c (process_string_arg): Revert
15456 2000-07-22 change.
15457
154582011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15459
15460 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15461 for testcase.
15462 * stdio-common/tst-sprintf.c: Include <locale.h>
15463 (main): Test sprintf's handling of incomplete multibyte
15464 characters.
15465
9bac1d86
L
154662012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15467
15468 * elf/dl-runtime.c (VERSYMIDX): Removed.
15469 * elf/dl-version.c (VERSYMIDX): Likewise.
15470 * elf/do-rel.h (VERSYMIDX): Likewise.
15471 (VALIDX): Likewise.
15472 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15473 * elf/rtld.c (VALIDX): Likewise.
15474 (ADDRIDX): Likewise.
9bac1d86
L
15475 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15476 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15477 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15478 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15479 (VALIDX): Likewise.
15480 (ADDRIDX): Likewise.
9bac1d86 15481
b31606c0
PT
154822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15483
15484 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15485
11541177
JL
154862012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15487
15488 [BZ #11438]
15489 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15490 to global scope.
15491 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15492 addresses are in the same scope as 192.0.2/24.
15493 * posix/gai.conf: Document new scope table defaults.
15494
adb26fae
SP
154952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15496
15497 [BZ #5298]
15498 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15499 for ftell. Compute offsets from write pointers instead.
15500 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15501
4573c6b0
SP
155022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15503
15504 [BZ #14543]
15505 * libio/Makefile (tests): New test case tst-fseek.
15506 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15507 combination works in wide mode.
15508 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15509 state when the external buffer state changes.
15510
aa9bbfe6
DM
155112012-09-27 David S. Miller <davem@davemloft.net>
15512
15513 [BZ #14376]
15514 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15515 pass reloc->r_addend in as the 'high' argument to
15516 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15517
784421e7
DM
15518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15519
c39bc8b8
PT
155202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15521
15522 * rt/tst-aio2.c: Include <pthread.h>.
15523 * rt/tst-aio3.c: Likewise.
15524
1ccc2399
SE
155252012-09-27 Steve Ellcey <sellcey@mips.com>
15526
15527 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15528
31ed4153
L
155292012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15530
25f5f885
L
15531 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15532 contents on [SHARED].
31ed4153 15533
b7bfe116
MP
155342012-09-26 Marek Polacek <polacek@redhat.com>
15535
15536 [BZ #14530]
15537 [BZ #13741]
15538 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15539 for C++ and GCC <4.3 as well as for non GCC compilers.
15540
43c4edba
MT
155412012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15542
15543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15544
6a1bf82f
RM
155452012-09-25 Roland McGrath <roland@hack.frob.com>
15546
15547 * Makefile.in (all, install): Declare with .PHONY.
15548 Reported by Michael Hope <michael.hope@linaro.org>.
15549
8ad11b9a
TMQMF
155502012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15551
15552 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15553 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15554 system header.
15555 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15556 Likewise.
15557 (sydep_routines): Add the new and the internal functions.
15558 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15559 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15561 (GLIBC_2.17): Add the new function.
15562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15563 (GLIBC_2.17): Likewise.
15564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15565 (GLIBC_2.17): Likewise.
15566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15567 (GLIBC_2.17): Likewise.
15568 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15569
7e2fca8d
AM
155702012-09-25 Alan Modra <amodra@gmail.com>
15571
15572 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15573 Add release barrier before setting once_control to say
15574 initialisation is done. Add hints on lwarx. Use macro in
15575 place of isync.
15576 (clear_once_control): Add release barrier.
15577
b87c4b24
JM
155782012-09-25 Joseph Myers <joseph@codesourcery.com>
15579
d032e0d2
JM
15580 [BZ #13629]
15581 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15582 specially.
15583 * math/s_clog10.c (__clog10): Likewise.
15584 * math/s_clog10f.c (__clog10f): Likewise.
15585 * math/s_clog10l.c (__clog10l): Likewise.
15586 * math/s_clogf.c (__clogf): Likewise.
15587 * math/s_clogl.c (__clogl): Likewise.
15588 * math/Makefile (libm-calls): Add x2y2m1.
15589 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15590 (__x2y2m1): Likewise.
15591 (__x2y2m1l): Likewise.
15592 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15593 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15594 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15595 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15596 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15597 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15598 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15599 * sysdeps/i386/fpu/libm-test-ulps: Update.
15600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15601
b87c4b24
JM
15602 [BZ #14621]
15603 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15604 int as type of variable DEPTH.
15605 (glob): Use size_t instead of int as type of variables NEWCOUNT
15606 and OLD_PATHC.
15607
6d3bf199
LD
156082012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15609
22bf5c17
LD
15610 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15611 Add s_sincosf-sse2.
15612 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15613 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15614 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15615 macros for using routine as __sincosf_ia32.
15616 Use macro for function declaration and weak_alias.
15617 * sysdeps/i386/fpu/libm-test-ulps: Update.
15618
15619 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15621
15622 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15623 subnormal argument.
15624 * math/s_cexpf.c (__cexpf): Likewise.
15625 * math/s_csinf.c (__csinf): Likewise.
15626 * math/s_csinhf.c (__csinhf): Likewise.
15627 * math/s_ctanf.c (__ctanf): Likewise.
15628 * math/s_ctanhf.c (__ctanhf): Likewise.
15629 * math/s_ccosh.c (__ccoshf): Likewise.
15630 * math/s_cexp.c (__cexpl): Likewise.
15631 * math/s_csin.c (__csin): Likewise.
15632 * math/s_csinh.c (__csinh): Likewise.
15633 * math/s_ctan.c (__ctan): Likewise.
15634 * math/s_ctanh.c (ctanh): Likewise.
15635 * math/s_ccoshl.c (__ccoshl): Likewise.
15636 * math/s_cexpl.c (__cexpl): Likewise.
15637 * math/s_csinl.c (__csinl): Likewise.
15638 * math/s_csinhl.c (__csinhl): Likewise.
15639 * math/s_ctanl.c (__ctanl): Likewise.
15640 * math/s_ctanhl.c (__ctanhl): Likewise.
15641
203e5603
JM
156422012-09-25 Joseph Myers <joseph@codesourcery.com>
15643
15644 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15645 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15646 (_IO_off_t): Define to __off_t, not _G_off_t.
15647 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15648 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15649 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15650 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15651 type of __dummy and __dummy2 fields.
15652 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15653 (_G_ssize_t): Likewise.
15654 (_G_off_t): Likewise.
15655 (_G_pid_t): Likewise.
15656 (_G_uid_t): Likewise.
15657 (_G_wchar_t): Likewise.
15658 (_G_wint_t): Likewise.
15659 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15660 (_G_ssize_t): Likewise.
15661 (_G_off_t): Likewise.
15662 (_G_pid_t): Likewise.
15663 (_G_uid_t): Likewise.
15664 (_G_wchar_t): Likewise.
15665 (_G_wint_t): Likewise.
15666 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15667 (_G_ssize_t): Likewise.
15668 (_G_off_t): Likewise.
15669 (_G_pid_t): Likewise.
15670 (_G_uid_t): Likewise.
15671 (_G_wchar_t): Likewise.
15672 (_G_wint_t): Likewise.
15673
9fab36eb
SP
156742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15675
15676 * malloc/arena.c: Include malloc-sysdep.h.
15677 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15678 is sufficient to shrink the heap or an unmap is needed.
15679 * sysdeps/generic/malloc-sysdep.h: New file. Define
15680 new function check_may_shrink_heap.
15681 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15682 new function check_may_shrink_heap.
15683
2b4f00d1
SP
156842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15685
15686 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15687 comments.
15688
9a9028b1
DL
156892012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15690
57c69bef
DL
15691 * catgets/test-gencat.sh: Add "set -e".
15692 * elf/tst-pathopt.sh: Likewise.
15693 * grp/tst_fgetgrent.sh: Likewise.
15694 * iconvdata/run-iconv-test.sh: Likewise.
15695 * intl/tst-gettext.sh: Likewise.
15696 * intl/tst-gettext2.sh: Likewise.
15697 * intl/tst-gettext4.sh: Likewise.
15698 * intl/tst-gettext6.sh: Likewise.
15699 * intl/tst-translit.sh: Likewise.
15700 * io/ftwtest-sh: Likewise.
15701 * libio/test-freopen.sh: Likewise.
15702 * malloc/tst-mtrace.sh: Likewise.
15703 * posix/globtest.sh: Likewise.
15704 * posix/tst-getconf.sh: Likewise.
15705 * posix/wordexp-tst.sh: Likewise.
15706 * stdio-common/tst-printf.sh: Likewise.
15707 * stdio-common/tst-unbputc.sh: Likewise.
15708 * stdlib/tst-fmtmsg.sh: Likewise.
15709 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15710 * catgets/Makefile: Do not specify -e option when running
15711 testsuite shell scripts.
15712 * elf/Makefile: Likewise.
15713 * grp/Makefile: Likewise.
15714 * iconvdata/Makefile: Likewise.
15715 * intl/Makefile: Likewise.
15716 * io/Makefile: Likewise.
15717 * libio/Makefile: Likewise.
15718 * malloc/Makefile: Likewise.
15719 * posix/Makefile: Likewise.
15720 * stdio-common/Makefile: Likewise.
15721 * stdlib/Makefile: Likewise.
15722 * sysdeps/x86_64/Makefile: Likewise.
15723
9a9028b1
DL
15724 * io/ftwtest-sh: Add copyright header.
15725 * posix/globtest.sh: Likewise.
15726 * posix/tst-getconf.sh: Likewise.
15727 * posix/wordexp-tst.sh: Likewise.
15728 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15729
ced6f16e
L
157302012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15731
94b32c39
L
15732 [BZ #13679]
15733 * Makeconfig (+link): Defined as $(+link-static) if
15734 $(build-shared) isn't yes.
15735 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15736 isn't yes.
15737 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15738
189e935b
L
15739 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15740
ced6f16e
L
15741 [BZ #14562]
15742 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15743 new chunk size with MALLOC_ALIGN_MASK.
15744
a9f8e53a
JM
157452012-09-24 Joseph Myers <joseph@codesourcery.com>
15746
15747 [BZ #5044]
15748 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15749 <rounding-mode.h>.
15750 (__printf_fphex): Determine rounding using get_rounding_mode and
15751 round_away.
15752 * stdio-common/tst-printf-round.c (struct hex_test): New
15753 structure.
15754 (hex_tests): New variable.
15755 (test_hex_in_one_mode): New function.
15756 (do_test): Also run tests for hex float output.
15757
43153109
JM
157582012-09-21 Joseph Myers <joseph@codesourcery.com>
15759
15760 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15761 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15762 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15763 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15764 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15765 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15766 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15767 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15768
8a26625d
JM
157692012-09-20 Joseph Myers <joseph@codesourcery.com>
15770
15771 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15772 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15773 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15774 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15775
f3fd569c
DL
157762012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15777
15778 [BZ #14579]
15779 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15780 mode only.
15781 * elf/tst-rtld-load-self.sh: New test.
15782 * elf/Makefile: Run it.
15783
63bbedd4
JM
157842012-09-18 Joseph Myers <joseph@codesourcery.com>
15785
15786 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15787 (tst-writev-ENV): Remove.
15788 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15789
626f8b6a
CM
157902012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15791
15792 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15793
b7aaa4d6
JM
157942012-09-17 Joseph Myers <joseph@codesourcery.com>
15795
15796 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15797 unconditional.
15798 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15799 Likewise.
15800 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15801 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15802 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15803 Likewise.
15804
65513990
L
158052012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15806
15807 [BZ #14587]
15808 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15809 * config.make.in (have-cpp-asm-debuginfo): Removed.
15810 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15811 * configure: Regenerated.
15812
784761be
JM
158132012-09-14 Joseph Myers <joseph@codesourcery.com>
15814
15815 [BZ #5044]
15816 * stdio-common/printf_fp.c: Include <stdbool.h> and
15817 <rounding-mode.h>.
15818 (___printf_fp): Determine rounding using get_rounding_mode and
15819 round_away.
15820 * stdio-common/tst-printf-round.c: New file.
15821 * stdio-common/Makefile (tests): Add tst-printf-round.
15822 (link-libm): New variable.
15823 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15824
9503345f
L
158252012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15826
15827 [BZ #14576]
15828 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15829 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15830 Likewise.
15831 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15832 Likewise.
15833
ad35fc00
JM
158342012-09-13 Joseph Myers <joseph@codesourcery.com>
15835
15836 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15837 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15838 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15839 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15840
6c9b0f68
JM
158412012-09-12 Joseph Myers <joseph@codesourcery.com>
15842
15843 [BZ #14518]
15844 * include/rounding-mode.h: New file.
15845 * sysdeps/generic/get-rounding-mode.h: Likewise.
15846 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15847 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15848 (MAX_VALUE): New macro.
15849 (MIN_VALUE): Likewise.
15850 (overflow_value): New function.
15851 (underflow_value): Likewise.
15852 (round_and_return): Use overflow_value and underflow_value to
15853 determine return values in overflow and underflow cases. Use
15854 round_away to determine rounding depending on rounding mode.
15855 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15856 determine return values in overflow and underflow cases.
15857 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15858 (struct test_results): New structure.
15859 (struct test): Use struct test_results to store expected results
15860 for all rounding modes.
15861 (TEST): Include expected results for all rounding modes.
15862 (test_in_one_mode): New function.
15863 (do_test): Use test_in_one_mode to compute and check results.
15864 Check results for all rounding modes.
15865 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15866 $(link-libm).
15867
19fcedd5
AM
158682012-12-09 Allan McRae <allan@archlinux.org>
15869
1e9d84cd 15870 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15871
8bbfd2f1
JM
158722012-09-11 Joseph Myers <joseph@codesourcery.com>
15873
15874 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15875 (_G_int32_t): Likewise.
15876 (_G_uint16_t): Likewise.
15877 (_G_uint32_t): Likewise.
15878 (_G_HAVE_BOOL): Likewise.
15879 (_G_HAVE_ATEXIT): Likewise.
15880 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15881 (_G_HAVE_IO_FILE_OPEN): Likewise.
15882 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15883 (_G_int32_t): Likewise.
15884 (_G_uint16_t): Likewise.
15885 (_G_uint32_t): Likewise.
15886 (_G_HAVE_BOOL): Likewise.
15887 (_G_HAVE_ATEXIT): Likewise.
15888 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15889 (_G_HAVE_IO_FILE_OPEN): Likewise.
15890 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15891 (_G_int32_t): Likewise.
15892 (_G_uint16_t): Likewise.
15893 (_G_uint32_t): Likewise.
15894 (_G_HAVE_BOOL): Likewise.
15895 (_G_HAVE_ATEXIT): Likewise.
15896 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15897 (_G_HAVE_IO_FILE_OPEN): Likewise.
15898
b1dc5912
L
158992012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15900
15901 * csu/libc-tls.c: Update copyright years.
15902
0e886ef9
JM
159032012-09-10 Joseph Myers <joseph@codesourcery.com>
15904
28361c5e
JM
15905 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15906 [!_G_USING_THUNKS]: Remove conditional code.
15907 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15908 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15909
0e886ef9
JM
15910 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15911 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15912 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15913 (_G_VTABLE_LABEL_PREFIX): Likewise.
15914 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15915 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15916 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15917 (_G_VTABLE_LABEL_PREFIX): Likewise.
15918 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15919 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15920 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15921 (_G_VTABLE_LABEL_PREFIX): Likewise.
15922 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15923
bcba7aa2
L
159242012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15925
15926 * libio/Makefile: Include ../Makeconfig before tests.
15927 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15928 only if $(build-shared) is yes.
15929
06585ee8
L
15930 * iconv/gconv_db.c: Update copyright years.
15931
80ccd52c
LD
159322012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15933
15934 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15935 unwind info if defined PIC. Fix special cases description.
15936 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15937
15938 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15939 DP_HI_MASK entry.
15940 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15941
691bc9c1
L
159422012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15943
3d9b46b3
L
15944 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15945
de2139a9
L
15946 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15947 is NULL.
15948
5ca78dd0
L
15949 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15950 (LDLIBS-tst-chk4): This.
15951 (LDFLAGS-tst-chk5): Renamed to ...
15952 (LDLIBS-tst-chk5): This.
15953 (LDFLAGS-tst-chk6): Renamed to ...
15954 (LDLIBS-tst-chk6): This.
15955 (LDFLAGS-tst-lfschk4): Renamed to ...
15956 (LDLIBS-tst-lfschk4): This.
15957 (LDFLAGS-tst-lfschk5): Renamed to ...
15958 (LDLIBS-tst-lfschk5): This.
15959 (LDFLAGS-tst-lfschk6): Renamed to ...
15960 (LDLIBS-tst-lfschk6): This.
15961
691bc9c1
L
15962 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15963 on $(common-objpfx)soversions.mk.
15964
65cafb1c
JM
159652012-09-07 Joseph Myers <joseph@codesourcery.com>
15966
15967 [BZ #10014]
15968 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15969 example host name.
15970
c78ab094
SP
159712012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15972
15973 * malloc/arena.c (arena_get_retry): New function that gets
15974 another arena for the caller to try its request on.
15975 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15976 current arena cannot fulfill the request.
15977 (__libc_memalign): Likewise.
15978 (__libc_memalign): Likewise.
15979 (__libc_pvalloc): Likewise.
15980 (__libc_calloc): Likewise.
15981
01f49f59
JT
159822012-09-05 John Tobey <john.tobey@gmail.com>
15983
15984 [BZ #13542]
15985 * manual/arith.texi (Operations on Complex): Fix description
15986 of carg branch cut.
15987
4c23fed5
JM
159882012-09-06 Joseph Myers <joseph@codesourcery.com>
15989
1d3c8572
JM
15990 [BZ #10014]
15991 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15992 host name.
15993
4c23fed5
JM
15994 [BZ #10038]
15995 * manual/memory.texi (Memory): Make order of menu items match
15996 order of sections.
15997
04570aaa
L
159982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15999
16000 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16001 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16002 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16003
b80af2f4
L
160042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16005
16006 * csu/libc-tls.c (static_dtv): Renamed to ...
16007 (_dl_static_dtv): This. Make it global.
16008 (_dl_initial_dtv): Removed.
16009 (__libc_setup_tls): Updated.
16010 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16011 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16012 DL_INITIAL_DTV.
16013
2abe9f15
PM
160142012-09-06 Petr Machata <pmachata@redhat.com>
16015
16016 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16017 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16018 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16019 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16020
0948c3af
L
160212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16022
16023 [BZ #14545]
16024 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16025 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16026 freeing dtv[-1].
16027
a5055ad1
L
160282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16029
16030 [BZ #14544]
16031 * Makeconfig (link-static-before-libc): Replace $(+prector)
16032 with $(+prectorT).
16033 (link-static-after-libc): Replace $(+postctor) with
16034 $(+postctorT).
16035 (link-bounded): Replace $(+prector)/$(+postctor) with
16036 $(+prectorT)/$(+postctorT).
16037 (+prectorT): New macro.
16038 (+postctorT): Likewise.
16039
ed8c2ecd
JM
160402012-09-06 Joseph Myers <joseph@codesourcery.com>
16041
16042 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16043 (round_str): Handle values above the maximum for IBM long double
16044 as inexact.
16045 * stdlib/tst-strtod-round.c (tests): Regenerated.
16046
14c996c8
AK
160472012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16048
16049 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16050 assembler flag.
16051 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16052 zarch_nohighgprs around the zarch optimized routines.
16053 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16054 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16055 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16056 for zarch.
16057
430d6ce6
DM
160582012-09-05 David S. Miller <davem@davemloft.net>
16059
16060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16061
ff04dda4
DM
16062 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16063 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16064 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16065 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16066 entries.
16067
24d4e01b
AO
160682012-09-05 Alexandre Oliva <aoliva@redhat.com>
16069
16070 * malloc/arena.c: Fold copyright years.
16071 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16072
61d58174
AO
160732012-09-05 Alexandre Oliva <aoliva@redhat.com>
16074
16075 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16076
20196a5e
AO
160772012-09-05 Alexandre Oliva <aoliva@redhat.com>
16078
16079 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16080
5c447383
AO
160812012-09-05 Alexandre Oliva <aoliva@redhat.com>
16082
16083 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16084 change internal state upon failure.
16085
fad64255
AO
160862012-09-05 Alexandre Oliva <aoliva@redhat.com>
16087
16088 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16089 * malloc/memusage.c (mmap): Likewise.
16090 (mmap64, mremap): Likewise. Adjust name in comment.
16091
1ffb8c90
SP
160922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16093
16094 * libio/fileops.c: Fix typos in comments.
16095 * libio/oldfileops.c: Likewise.
16096 * libio/wfileops.c: Likewise.
16097
6ef9cc37
SP
160982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16099
16100 [BZ #1349]
16101 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16102 (tst-malloc-usable-ENV): Set environment for test case.
16103 * malloc/hooks.c (malloc_check_get_size): New function to get
16104 requested size.
16105 * malloc/malloc.c (musable): Use malloc_check_get_size.
16106 * malloc/tst-malloc-usable.c: New test case.
16107
4d038ae3
AS
161082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16109
16110 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16111
c4e85184
AM
161122012-09-05 Allan McRae <allan@archlinux.org>
16113
b9dafc56 16114 [BZ #13966]
c4e85184
AM
16115 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16116 determine header location.
16117 * configure: Regenerated.
16118
e1343020
AS
161192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16120
16121 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16122 float format.
16123 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16124 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16125 format.
e1343020
AS
16126 (test): Regenerate.
16127
0a9f1987
DM
161282012-09-04 David S. Miller <davem@davemloft.net>
16129
16130 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16131 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16132 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16133
29237804
FW
161342012-09-04 Florian Weimer <fweimer@redhat.com>
16135
16136 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16137 failures.
16138
edb3cb88
FW
16139 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16140
60160d83
JM
161412012-09-04 Joseph Myers <joseph@codesourcery.com>
16142
16143 [BZ #9914]
16144 * libio/iogetdelim.c: Include <limits.h>.
16145 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16146 + len + 1 would overflow.
16147
bcd6c8dc
AJ
161482012-09-03 Andreas Jaeger <aj@suse.de>
16149
16150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16151 * sysdeps/i386/fpu/libm-test-ulps: Update.
16152
4ffffbd2
LD
161532012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16154
16155 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16156 Add s_sinf-sse2, s_conf-sse2.
16157
16158 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16159 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16160 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16161 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16162
16163 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16164 for using routine as __sinf_ia32.
16165 Use macro for function declaration and weak_alias.
16166 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16167 for using routine as __cosf_ia32.
16168 Use macro for function declaration and weak_alias.
16169
16170 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16171 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16172
16173 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16174 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16176
16177 * math/libm-test.inc (cos_test): Add more test cases.
16178 (sin_test): Likewise.
16179 (sincos_test): Likewise.
16180
511fa286
AK
161812012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16182
16183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16184 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16185 hidden.
16186 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16187
5f30cfec
L
161882012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16189
16190 [BZ #14538]
16191 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16192 first element of the GOT.
16193 (elf_machine_load_address): Return the difference between
16194 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16195
0786794f
AM
161962012-09-01 Allan McRae <allan@archlinux.org>
16197
5f30cfec
L
16198 [BZ #13412]
16199 * configure.in (AWK): Require gawk version 3.0 or later.
16200 * configure: Regenerated.
0786794f 16201
26889eac
JM
162022012-09-01 Joseph Myers <joseph@codesourcery.com>
16203
16204 * sysdeps/unix/sysv/linux/kernel-features.h
16205 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16206 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16207 [__NR_clock_getres]: Make code unconditional.
16208 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16209 (clock_getcpuclockid): Remove code left unreachable by removal of
16210 conditionals.
16211 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16212 code unconditional.
16213 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16214 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16215 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16216 Make code unconditional.
16217 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16218 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16219 * sysdeps/unix/sysv/linux/clock_settime.c
16220 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16221 conditional code.
16222 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16223 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16224
d22e28b0
L
162252012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16226
16227 [BZ #14476]
16228 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16229 scripts/test-installation.pl.
16230
16231 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16232 and $ld_so_version if it is set.
16233
050af9c4
SP
162342012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16235
16236 [BZ #14516]
16237 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16238 failure if reading from procfs failed.
16239 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16240
ad845c0b
JM
162412012-08-27 Joseph Myers <joseph@codesourcery.com>
16242
16243 * sysdeps/unix/sysv/linux/kernel-features.h
16244 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16245 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16246 Remove conditional code.
16247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16248 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16249 Remove conditional code.
16250 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16251 * sysdeps/unix/sysv/linux/i386/fxstat.c
16252 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16254 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16255 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16257 * sysdeps/unix/sysv/linux/i386/lxstat.c
16258 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16259 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16260 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16261 Remove conditional code.
16262 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16263 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16264 Remove conditional code.
16265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16266 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16267 <kernel-features.h>.
16268 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16269 Remove.
16270 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16271 Remove conditional code.
16272 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16273 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16274 Remove conditional.
16275
5dbf56af
MF
162762012-08-27 Mike Frysinger <vapier@gentoo.org>
16277
16278 [BZ #5400]
16279 * NEWS: Add fixed bug number.
16280
d6e70f43
JM
162812012-08-27 Joseph Myers <joseph@codesourcery.com>
16282
7efb4737
JM
16283 [BZ #14519]
16284 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16285 underflowing exponent in case of negative sign.
16286 * stdlib/tst-strtod-round-data: Add more tests.
16287 * stdlib/tst-strtod-round.c (tests): Regenerated.
16288
af92131a
JM
16289 [BZ #3479]
16290 * stdlib/strtod_l.c (NDIG): Remove.
16291 (HEXNDIG): Likewise.
16292 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16293 smallest representable value.
16294 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16295 lie within an exact representation of 1/2 ulp of the result.
16296 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16297 unconditionally.
16298 (TENS_P9_IDX): Define unconditionally.
16299 (TENS_P9_SIZE): Likewise.
16300 (TENS_P10_IDX): Likewise.
16301 (TENS_P10_SIZE): Likewise.
16302 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16303 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16304 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16305 entries for 10^2^13 and 10^2^14.
16306 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16307 (TENS_P13_IDX): Define.
16308 (TENS_P13_SIZE): Likewise.
16309 (TENS_P14_IDX): Likewise.
16310 (TENS_P14_SIZE): Likewise.
16311 (_fpioconst_pow10): Change array size to
16312 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16313 unconditional.
16314 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16315 1024]: Add entries for 10^2^13 and 10^2^14.
16316 [LAST_POW10 > _LAST_POW10]: Remove #error.
16317 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16318 (_fpioconst_pow10): Change array size to
16319 FPIOCONST_POW10_ARRAY_SIZE.
16320 * stdlib/gen-fpioconst.c: New file.
16321 * stdlib/gen-tst-strtod-round.c: Likewise.
16322 * stdlib/tst-strtod-round-data: Likewise.
16323 * stdlib/tst-strtod-round.c: Likewise.
16324 * stdlib/Makefile (tests): Add tst-strtod-round.
16325
d6e70f43
JM
16326 [BZ #14459]
16327 * stdlib/strtod_l.c: Include <stdint.h>.
16328 (NDEBUG): Do not define.
16329 (round_and_return): Change EXPONENT parameter to type intmax_t.
16330 Rearrange calculations to avoid internal overflow possibilities.
16331 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16332 Rearrange calculations to avoid internal overflow possibilities.
16333 Assert that number fits inside MPNSIZE limbs.
16334 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16335 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16336 calculations and add assertions to avoid internal overflow
16337 possibilities. Add casts to avoid signed/unsigned operations.
16338 * stdlib/tst-strtod-overflow.c: New file.
16339 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16340
1f529f7d
MP
163412012-08-25 Marek Polacek <polacek@redhat.com>
16342
16343 * time/time.h: Fix some typos in comments.
16344
59a629f1
RM
163452012-08-23 Roland McGrath <roland@hack.frob.com>
16346
16347 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16348 * posix/tst-rfc3484-2.c: Likewise.
16349 * posix/tst-rfc3484-3.c: Likewise.
16350
d3bafbc9
SM
163512012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16352
16353 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16354 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16355
4efcc022
JM
163562012-08-23 Joseph Myers <joseph@codesourcery.com>
16357
16358 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16359 #include of fxstatat64.c.
16360
3cc3ef96
RM
163612012-08-22 Roland McGrath <roland@hack.frob.com>
16362
f04e2132
RM
16363 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16364 * shadow/getspent_r.c: Likewise.
16365 * shadow/getspnam.c: Likewise.
16366 * shadow/getspnam_r.c: Likewise.
16367 * gshadow/getsgent.c: Likewise.
16368 * gshadow/getsgent_r.c: Likewise.
16369 * gshadow/getsgnam.c: Likewise.
16370 * gshadow/getsgnam_r.c: Likewise.
16371 * inet/getnetbyad.c: Likewise.
16372 * inet/getnetbyad_r.c: Likewise.
16373 * inet/getnetbynm.c: Likewise.
16374 * inet/getnetbynm_r.c: Likewise.
16375 * inet/getnetent.c: Likewise.
16376 * inet/getnetent_r.c: Likewise.
16377 * inet/getproto.c: Likewise.
16378 * inet/getproto_r.c: Likewise.
16379 * inet/getprtent.c: Likewise.
16380 * inet/getprtent_r.c: Likewise.
16381 * inet/getprtname.c: Likewise.
16382 * inet/getprtname_r.c: Likewise.
16383 * inet/getrpcbyname.c: Likewise.
16384 * inet/getrpcbyname_r.c: Likewise.
16385 * inet/getrpcbynumber.c: Likewise.
16386 * inet/getrpcbynumber_r.c: Likewise.
16387 * inet/getrpcent.c: Likewise.
16388 * inet/getrpcent_r.c: Likewise.
16389 * inet/getaliasent.c: Likewise.
16390 * inet/getaliasent_r.c: Likewise.
16391 * inet/getaliasname.c: Likewise.
16392 * inet/getaliasname_r.c: Likewise.
16393 * nscd/getgrgid_r.c: Likewise.
16394 * nscd/getgrnam_r.c: Likewise.
16395 * nscd/gethstbyad_r.c: Likewise.
16396 * nscd/gethstbynm3_r.c: Likewise.
16397 * nscd/getpwnam_r.c: Likewise.
16398 * nscd/getpwuid_r.c: Likewise.
16399 * nscd/getsrvbynm_r.c: Likewise.
16400 * nscd/getsrvbypt_r.c: Likewise.
16401 * nscd/gai.c: Likewise.
16402
c53d909c
RM
16403 * configure.in (build_nscd): New substituted variable, set
16404 by --disable-build-nscd and defaults to $use_nscd.
16405 * configure: Regenerated.
16406 * config.make.in (build-nscd): New substituted variable.
16407 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16408 Change conditional to require [$(build-nscd) = yes] as well.
16409 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16410
3cc3ef96
RM
16411 [BZ# 13696]
16412 * configure.in (use_nscd): New substituted variable, set by
16413 --disable-nscd. If enabled, define USE_NSCD.
16414 * configure: Regenerated.
16415 * config.h.in: Add USE_NSCD.
16416 * config.make.in (use-nscd): New substituted variable.
16417 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16418 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16419 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16420 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16421 (CFLAGS-getgrnam_r.c): Likewise.
16422 (CFLAGS-initgroups.c): Likewise.
16423 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16424 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16425 Variables removed.
16426 * inet/getnetgrent_r.c
16427 (nscd_setnetgrent): New function, broken out of ...
16428 (setnetgrent): ... here. Call it.
16429 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16430 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16431 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16432 * nscd/Makefile (routines, aux): Move definitions after include of
16433 Makeconfig. Conditionalize on [$(use-nscd) != no].
16434 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16435 Conditionalize on [USE_NSCD].
16436 (is_nscd, nscd_init_cb): Likewise.
16437 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16438 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16439 * nss/nss_db/db-init.c: Likewise.
16440 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16441 [USE_NSCD].
16442 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16443 (make_request): Use it.
16444 (cache_valid_p): New function.
16445 (__check_pf): Use it.
16446 * NEWS: Add item for --disable-nscd.
16447
07e51550
DL
164482012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16449
16450 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16451 to support sed >= 4.2.1-20-ga9bf076.
16452 * configure: Regenerated.
16453
35a5b08b
RM
164542012-08-22 Roland McGrath <roland@hack.frob.com>
16455
16456 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16457 Conditionalize whole body on [IREL].
16458
8479f23a
JL
164592012-08-22 Jeff Law <law@redhat.com>
16460
16461 [BZ #14505]
16462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16463 if the family is PF_UNSPEC.
16464
48da0b21
MF
164652012-08-22 Mike Frysinger <vapier@gentoo.org>
16466
16467 * Makerules (lib-version): Rename from V.
16468 (install-lib-nosubdir): Change V to lib-version.
16469
15d0da8c
WS
164702012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16471
16472 [BZ #14252]
16473 * powerpc32/power6/wcschr.c: New file.
16474 * powerpc32/power6/wcscpy.c: New file.
16475 * powerpc32/power6/wcsrchr.c: New file.
16476 * powerpc64/power6/wcschr.c: New file.
16477 * powerpc64/power6/wcscpy.c: New file.
16478 * powerpc64/power6/wcsrchr.c: New file.
16479
bcca0895
MK
164802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16481
16482 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16483 (two_way_short_needle): Use it.
5a4aaa33
RM
16484 * string/strstr.c (AVAILABLE1_USES_J): Define.
16485 * string/strcasestr.c: Likewise.
99677e57
MK
16486
16487 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16488 array references.
16489 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16490
400726de
MK
16491 [BZ #11607]
16492 * NEWS: Add an entry.
16493 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16494 define their defaults.
16495 (two_way_short_needle): Detect end-of-string on-the-fly.
16496 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16497 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16498 * string/bug-strcasestr1.c: New test.
16499 * string/Makefile: Run it.
16500
20a71f2c
MK
165012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16502
16503 [BZ #11607]
16504 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16505 the first character.
16506
21ad0558
RM
165072012-08-21 Roland McGrath <roland@hack.frob.com>
16508
16509 * csu/elf-init.c (__libc_csu_irel): Function removed.
16510 * csu/libc-start.c (apply_irel): New function.
16511 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16512
0e1d9911
JM
165132012-08-21 Joseph Myers <joseph@codesourcery.com>
16514
16515 * sysdeps/unix/sysv/linux/kernel-features.h
16516 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16517 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16518 <kernel-features.h>.
16519 [__NR_fadvise64_64]: Make code unconditional.
16520 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16521 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16522 !__NR_fadvise64_64)]: Likewise.
16523 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16524 !__NR_fadvise64_64))]: Likewise.
16525 [__NR_fadvise64]: Make code unconditional.
16526 [!__NR_fadvise64]: Remove conditional code.
16527 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16528 <kernel-features.h>.
16529 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16530 unconditional.
16531 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16532 conditional code.
16533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16534 not include <kernel-features.h>.
16535 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16536 unconditional.
16537 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16538 conditional code.
16539 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16540 include <kernel-features.h>.
16541 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16542 unconditional.
16543 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16544 conditional code.
16545
14a50c9d
WS
165462012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16547
16548 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16549 slight instruction rearrangements per scrollpipe analysis.
16550 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16551
c0f4faf0
RM
165522012-08-20 Roland McGrath <roland@hack.frob.com>
16553
696da859
RM
16554 * manual/syslog.texi (syslog; vsyslog, closelog):
16555 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16556 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16557
c0f4faf0
RM
16558 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16559 DSOCAPS to match condition on defining it.
16560
348363b2
JM
165612012-08-20 Joseph Myers <joseph@codesourcery.com>
16562
a35cbf28
JM
16563 * sysdeps/unix/sysv/linux/kernel-features.h
16564 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16566 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16567 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16569 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16570 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16572 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16573 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16574
445f7ecd
JM
16575 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16576 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16577
348363b2
JM
16578 * sysdeps/unix/sysv/linux/kernel-features.h
16579 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16580 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16581 unconditional.
16582 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16583 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16584 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16585 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16586 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16587 Make code unconditional.
16588 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16589 (__mmap64) [!__NR_mmap2]: Likewise.
16590 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16591 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16592 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16593 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16594 [__NR_mmap2]: Make code unconditional.
16595 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16596 (__mmap64) [!__NR_mmap2]: Likewise.
16597
bc5bc0e5
AK
165982012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16599
16600 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16601
88d506de
AJ
166022012-08-18 Andreas Jaeger <aj@suse.de>
16603
16604 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16605
493387d2
MF
166062012-08-18 Mike Frysinger <vapier@gentoo.org>
16607
16608 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16609 * include/unistd.h (__have_sock_cloexec): Likewise.
16610 (__have_pipe2): Likewise.
16611 (__have_dup3): Likewise.
16612
a277af22
MF
166132012-08-18 Mike Frysinger <vapier@gentoo.org>
16614
16615 [BZ #9685]
16616 * include/unistd.h (__have_pipe2): Change define into an extern int.
16617 (__have_dup3): Likewise.
16618 * socket/have_sock_cloexec.c: Include fcntl.h.
16619 (__have_pipe2): New variable.
16620 (__have_dup3): Likewise.
16621
fdab8fd3
MF
166222012-08-17 Mike Frysinger <vapier@gentoo.org>
16623
16624 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16625
31035e80
MP
166262012-08-17 Marek Polacek <polacek@redhat.com>
16627
16628 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16629 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16630
3bd9e993
RM
166312012-08-17 Roland McGrath <roland@hack.frob.com>
16632
c91c505f
RM
16633 * configure.in: Add AC_SUBST for sysheaders.
16634 * configure: Regenerated.
16635 * config.make.in (sysheaders): New substituted variable.
16636
7c6f9d53
RM
16637 * sysdeps/unix/mkfifo.c: Moved ...
16638 * sysdeps/posix/mkfifo.c: ... here.
16639 * sysdeps/unix/mkfifoat.c: Moved ...
16640 * sysdeps/posix/mkfifoat.c: ... here.
16641
16642 * sysdeps/unix/utime.c: Moved ...
16643 * sysdeps/posix/utime.c: ... here.
16644
16645 * sysdeps/unix/time.c: Moved ...
16646 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16647 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16648 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16649
16650 * sysdeps/unix/nice.c: Moved ...
16651 * sysdeps/posix/nice.c: ... here.
16652
16653 * sysdeps/unix/alarm.c: Moved ...
16654 * sysdeps/posix/alarm.c: ... here.
16655
3bd9e993
RM
16656 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16657
d1f09384
JL
166582012-08-17 Jeff Law <law@redhat.com>
16659
16660 * intl/Makefile (codeset_mo): New variable.
16661 ($(codeset_mo)): New target.
16662 (tst-codeset.out): Depend on that. Remove explicit rule.
16663 (tst-gettext3.out, tst-gettext5.out): Likewise.
16664 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16665 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16666 * intl/tst-codeset.sh: Remove.
16667 * intl/tst-gettext3.sh: Likewise.
16668 * intl/tst-gettext5.sh: Likewise.
16669
2ae1ae5c
RM
166702012-08-17 Roland McGrath <roland@hack.frob.com>
16671
c31fdb83
RM
16672 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16673 * sysdeps/unix/syscalls.list: ... here.
16674
a0844057
RM
16675 * sysdeps/posix/getaddrinfo.c
16676 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16677 (gaiconf_init, gaiconf_reload): Use them.
16678 [!_STATBUF_ST_NSEC]
16679 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16680 Define using time_t rather than struct timespec.
16681
750c1f2a
RM
16682 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16683 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16684 Macros removed.
16685 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16686 [!NO_THREADS].
16687 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16688 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16689 Likewise.
16690
2ae1ae5c
RM
16691 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16692 __libc_cleanup_push argument.
16693
e66a42f5
RM
16694 * bits/param.h: New file.
16695 * misc/sys/param.h: New file.
16696 * include/sys/param.h: New file.
16697 * misc/Makefile (headers): Add bits/param.h.
16698 * sysdeps/generic/sys/param.h: File removed.
16699 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16700 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16701 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16702 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16703
b7c08a66
RM
16704 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16705 last change.
16706
b2e1c562
RM
16707 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16708 [_IO_MTSAFE_IO].
16709 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16710 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16711 New macros.
16712
c75ccd4c
RM
16713 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16714 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16715 rather than -D_IO_MTSAFE_IO conditionally.
16716 * stdio-common/Makefile (CPPFLAGS): Likewise.
16717 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16718 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16719 Use $(libio-mtsafe).
16720 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16721 of -D_IO_MTSAFE_IO.
16722 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16723 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16724 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16725 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16726 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16727 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16728 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16729 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16730 (CFLAGS-fread_u_chk.c): Likewise.
16731 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16732 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16733 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16734 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16735 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16736 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16737 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16738 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16739 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16740
16741 * libio/Makefile: Test [$(libc-reentrant) = yes]
16742 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16743
16744 * Makeconfig
16745 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16746 * sysdeps/pthread/configure: File removed.
16747 * sysdeps/pthread/Makeconfig: New file.
16748 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16749 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16750
d9195db8
GB
167512012-08-16 Gary Benson <gbenson@redhat.com>
16752
16753 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16754 unmapping the first object in a namespace.
16755
86466cd9
RM
167562012-08-16 Roland McGrath <roland@hack.frob.com>
16757
16758 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16759 (__internal_setnetgrent): ... this. Add internal_function to
16760 definition. Add libc_hidden_def.
16761 (setnetgrent): Update caller.
16762 (internal_endnetgrent): Renamed to ...
16763 (__internal_endnetgrent): ... this. Add internal_function to
16764 definition. Add libc_hidden_def.
16765 (endnetgrent): Update caller.
16766 (internal_getnetgrent_r): Renamed to ...
16767 (__internal_getnetgrent_r): ... this. Add internal_function to
16768 definition. Add libc_hidden_def.
16769 (__getnetgrent_r): Update caller.
16770 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16771
c3c8283c
JM
167722012-08-16 Joseph Myers <joseph@codesourcery.com>
16773
16774 * stdlib/longlong.h: Update from GCC.
16775
db1ee0a8
RM
167762012-08-16 Roland McGrath <roland@hack.frob.com>
16777
16778 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16779 on _QL, which is set by umul_ppmm but never used.
16780 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16781 variables, which are set by GMP macros but never used.
16782 * stdio-common/_itowa.c (_itowa): Likewise.
16783 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16784 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16785
30f69637
CD
167862012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16787
16788 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16789 struct La_sh_regs is not constant.
16790 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16791 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16792 and struct La_sparc64_regs are not constant.
16793
93a78ac4
JM
167942012-08-16 Joseph Myers <joseph@codesourcery.com>
16795
16796 * sysdeps/unix/sysv/linux/kernel-features.h
16797 (__ASSUME_POSIX_TIMERS): Remove.
16798 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16799 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16800 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16801 Make code unconditional.
16802 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16803 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16804 Make code unconditional.
16805 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16806 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16807 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16808 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16809 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16810 Make code unconditional.
16811 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16812 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16813 (__libc_missing_posix_timers): Remove.
16814
dd924cd7
RM
168152012-08-15 Roland McGrath <roland@hack.frob.com>
16816
4b4f2771
RM
16817 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16818 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16819
601c888b
RM
16820 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16821
176790a7
RM
16822 * elf/dl-sym.c: Include <stdlib.h>.
16823
329bc018
RM
16824 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16825 constants, which avoids warnings in 32-bit builds.
16826
e04e272d
RM
16827 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16828 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16829
952bf94a
RM
16830 * misc/lseek.c: File moved to ...
16831 * io/lseek.c: ... here.
16832
7c99b50a
RM
16833 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16834
dd924cd7
RM
16835 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16836 shifting LEN more than 31 bits at once.
16837
b3f479a8
LD
168382012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16839
16840 [BZ #14195]
8c4ae0d4
RM
16841 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16842 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16843 * string/test-strncasecmp.c (check1): Renamed to...
16844 (bz12205): ...this.
16845 (bz14195): Add new testcase for two empty input strings and N > 0.
16846 (test_main): Call new testcase, adapt for renamed function.
16847
9c55864e
AJ
168482012-08-15 Andreas Jaeger <aj@suse.de>
16849
16850 [BZ #14090]
16851 * crypt/md5test2.c: New test, based on test supplied by Serge
16852 Belyshev <belyshev@depni.sinp.msu.ru>.
16853 * crypt/Makefile (xtests): Add md5test-giant..
16854 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16855
02dcb6c5
PE
168562012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16857
16858 [BZ #14090]
16859 * crypt/md5.c (md5_process_block): Don't assume the buffer
16860 length is less than 2**32.
16861 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16862 length is less than 2**64.
16863
a3f95dcc
RM
168642012-08-15 Roland McGrath <roland@hack.frob.com>
16865
be75d758
RM
16866 * string/str-two-way.h: Include <sys/param.h>.
16867 (MAX): Macro removed.
16868
7312ca90
RM
16869 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16870 Move #define and #undef of memmove to just before and after
16871 including <string.h>.
16872
9a0a5486
RM
16873 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16874 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16875 and after including <string.h>. Move declarations of
16876 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16877 to before #include "string/memmove.c".
16878
67cc348d
RM
16879 * include/dirent.h: Declare __getdirentries.
16880
a3f95dcc
RM
16881 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16882 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16883
ca98e171
MF
168842012-08-14 Mike Frysinger <vapier@gentoo.org>
16885
16886 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16887 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16888 * sysdeps/i386/configure: Regenerated.
16889 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16890 STABS_CURRENT_FILE, and STABS_FUN.
16891 (END): Remove call to STABS_FUN_END.
16892 (STABS_CURRENT_FILE1): Delete.
16893 (STABS_CURRENT_FILE): Likewise.
16894 (STABS_FUN): Likewise.
16895 (STABS_FUN_END): Likewise.
16896 (STABS_FUN2): Likewise.
16897 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16898 * sysdeps/x86_64/configure: Regenerated.
16899
5908bf46
RM
169002012-08-14 Roland McGrath <roland@hack.frob.com>
16901
16902 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16903 * elf/dl-lookup.c: Likewise.
5908bf46 16904
f2c05b9e
JM
169052012-08-14 Joseph Myers <joseph@codesourcery.com>
16906
16907 * sysdeps/unix/sysv/linux/kernel-features.h
16908 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16909 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16910 unconditionally.
16911 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16912 unconditionally.
16913 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16914 condition on __ASSUME_CLONE_THREAD_FLAGS.
16915
e11f5155
AJ
169162012-08-14 Andreas Jaeger <aj@suse.de>
16917
16918 * sysdeps/i386/fpu/libm-test-ulps: Update.
16919
51a9ba86
MK
169202012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16921
2fdd4f78
AJ
16922 * include/atomic.h (atomic_exchange_and_add): Split into ...
16923 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16924 New atomic macros.
51a9ba86 16925
ba6cba9e
MT
169262012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16927
16928 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16929
42443a47
JL
169302012-08-13 Jeff Law <law@redhat.com>
16931
16932 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16933 null byte in the output string.
16934
121dce05
JM
169352012-08-10 Joseph Myers <joseph@codesourcery.com>
16936
16937 * sysdeps/unix/sysv/linux/kernel-features.h
16938 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16939 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16940 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16941 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16942 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16943 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16944 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16945
bf51f568
JL
169462012-08-09 Jeff Law <law@redhat.com>
16947
16948 [BZ #13939]
16949 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16950 When avoid_arena is set, don't retry in the that arena. Pick the
16951 next one, whatever it might be.
16952 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16953 (arena_lock): Pass in new parameter to arena_get2.
16954 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16955 arena_get2.
16956 (__libc_malloc): Unify retrying after main arena failure with
16957 __libc_memalign version.
16958 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16959
f85fa270
L
169602012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16961
16962 [BZ #14166]
16963 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16964 to __redirect_strstr.
16965 (__strstr_sse42): Use typeof __redirect_strstr.
16966 (__strstr_ia32): Likewise.
16967 (__libc_strstr): New prototype.
16968 (strstr): Renamed to ...
16969 (__libc_strstr): This.
16970 (strstr): New strong alias of __libc_strstr.
16971 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16972 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16973 __redirect_time.
16974 Include <time.h>.
16975 (__libc_time): New prototype.
16976 (time_ifunc): Replace time with __libc_time.
16977 (time): New strong alias and hidden definition of __libc_time.
16978 (__GI_time): Remove strong alias.
16979 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16980 Include <stddef.h>.
16981 (memmove): Redefined to __redirect_memmove.
16982 (__memmove_sse2): Use typeof __redirect_memmove.
16983 (__memmove_ssse3): Likewise.
16984 (__memmove_ssse3_back): Likewise.
16985 (__libc_memmove): New prototype.
16986 (memmove): Renamed to ...
16987 (__libc_memmove): This.
16988 (memmove): New strong alias of __libc_memmove.
16989
33b4a91e
MS
169902012-08-08 Mark Salter <msalter@redhat.com>
16991
16992 * elf/elf.h
16993 (R_MN10300_TLS_GD): Define.
16994 (R_MN10300_TLS_LD): Likewise.
16995 (R_MN10300_TLS_LDO): Likewise.
16996 (R_MN10300_TLS_GOTIE): Likewise.
16997 (R_MN10300_TLS_IE): Likewise.
16998 (R_MN10300_TLS_LE): Likewise.
16999 (R_MN10300_TLS_DTPMOD): Likewise.
17000 (R_MN10300_TLS_DTPOFF): Likewise.
17001 (R_MN10300_TLS_TPOFF): Likewise.
17002 (R_MN10300_SYM_DIFF): Likewise.
17003 (R_MN10300_ALIGN): Likewise.
17004 (R_MN10300_NUM): Update.
17005
b36137f1
JM
170062012-08-08 Joseph Myers <joseph@codesourcery.com>
17007
17008 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17009 Remove.
17010
cdd915fd
RM
170112012-08-08 Roland McGrath <roland@hack.frob.com>
17012
a2433aac
RM
17013 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17014
cdd915fd
RM
17015 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17016 sysdeps/unix -> sysdeps/posix move.
17017 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17018
bf9b740a
AM
170192012-08-07 Allan McRae <allan@archlinux.org>
17020
17021 [BZ #14303]
17022 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17023 (SUNOS_CPP): Likewise.
17024 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17025 not found.
17026 (open_input): Call CPP using execvp.
17027
93df14ee
JM
170282012-08-07 Joseph Myers <joseph@codesourcery.com>
17029
17030 * sysdeps/unix/sysv/linux/kernel-features.h
17031 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17032 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17033 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17034 (__ASSUME_WAITID_SYSCALL): Likewise.
17035 * sysdeps/unix/sysv/linux/dl-execstack.c
17036 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17037 code unconditional.
17038 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17039 conditional code.
17040 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17041 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17042 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17043 code.
17044 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17045 unconditional.
17046 [__ASSUME_WAITID_SYSCALL]: Likewise.
17047 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17048
d34689de
RM
170492012-08-07 Roland McGrath <roland@hack.frob.com>
17050
a281decc
RM
17051 * sysdeps/unix/closedir.c: Renamed to ...
17052 * sysdeps/posix/closedir.c: ... here.
17053 * sysdeps/unix/dirfd.c: Renamed to ...
17054 * sysdeps/posix/dirfd.c: ... here.
17055 * sysdeps/unix/dirstream.h: Renamed to ...
17056 * sysdeps/posix/dirstream.h: ... here.
17057 * sysdeps/unix/fdopendir.c: Renamed to ...
17058 * sysdeps/posix/fdopendir.c: ... here.
17059 * sysdeps/unix/opendir.c: Renamed to ...
17060 * sysdeps/posix/opendir.c: ... here.
17061 * sysdeps/unix/readdir.c: Renamed to ...
17062 * sysdeps/posix/readdir.c: ... here.
17063 * sysdeps/unix/readdir_r.c: Renamed to ...
17064 * sysdeps/posix/readdir_r.c: ... here.
17065 * sysdeps/unix/rewinddir.c: Renamed to ...
17066 * sysdeps/posix/rewinddir.c: ... here.
17067 * sysdeps/unix/seekdir.c: Renamed to ...
17068 * sysdeps/posix/seekdir.c: ... here.
17069 * sysdeps/unix/telldir.c: Renamed to ...
17070 * sysdeps/posix/telldir.c: ... here.
17071 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17072 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17073 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17074 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17075
22895b47
RM
17076 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17077 * bits/fcntl.h: ... here.
17078
707a53b6
RM
17079 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17080 not 0.
17081 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17082 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17083 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17084 (struct flock): Move l_start, l_len to the beginning.
17085 Use __pid_t for l_pid.
17086 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17087 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17088 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17089 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17090 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17091 [__USE_LARGEFILE64] (struct flock64): New type.
17092 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17093
f0bd3e25
RM
17094 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17095 * bits/dirent.h: ... here.
17096
d34689de
RM
17097 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17098 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17099
6dad2c06
JM
171002012-08-07 Joseph Myers <joseph@codesourcery.com>
17101
17102 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17103 Change from 2.6.0 to 2.6.16.
17104 * sysdeps/unix/sysv/linux/configure: Regenerated.
17105 * sysdeps/unix/sysv/linux/kernel-features.h
17106 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17107 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17108 version.
17109 (__ASSUME_UTIMES): Likewise.
17110 (__ASSUME_CLONE_STOPPED): Remove.
17111 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17112 architectures, not kernel version.
17113 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17114 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17115 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17116 (__ASSUME_WAITID_SYSCALL): Likewise.
17117 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17118 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17119 * README: State 2.6.16 as minimum Linux kernel version. Do not
17120 refer to older versions.
17121
03af9520
RM
171222012-08-06 Roland McGrath <roland@hack.frob.com>
17123
8e49df1d
RM
17124 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17125 Define alphasort64 as an alias.
17126 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17127 Define versionsort64 as an alias.
17128 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17129 Define scandir64 as an alias.
17130 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17131 Define scandirat64 as an alias.
17132 * dirent/alphasort64.c (alphasort64):
17133 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17134 * dirent/versionsort64.c: Likewise.
17135 * dirent/scandir64.c: Likewise.
17136 * dirent/scandirat64.c: Likewise.
17137 * sysdeps/wordsize-64/alphasort.c: File removed.
17138 * sysdeps/wordsize-64/alphasort64.c: File removed.
17139 * sysdeps/wordsize-64/scandir.c: File removed.
17140 * sysdeps/wordsize-64/scandir64.c: File removed.
17141 * sysdeps/wordsize-64/scandirat.c: File removed.
17142 * sysdeps/wordsize-64/scandirat64.c: File removed.
17143 * sysdeps/wordsize-64/versionsort.c: File removed.
17144 * sysdeps/wordsize-64/versionsort64.c: File removed.
17145 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17146 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17147 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17148 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17149 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17150 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17151 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17152 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17153
17154 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17156 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17158 [defined __arch64__ || defined __sparcv9]
17159 (__INO_T_MATCHES_INO64_T): New macro.
17160 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17161 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17162 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17163 * sysdeps/unix/sysv/linux/bits/dirent.h
17164 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17165 (_DIRENT_MATCHES_DIRENT64): New macro.
17166
03af9520
RM
17167 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17168 Define lockf64 as an alias.
17169 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17170 Define fseeko64 as an alias.
17171 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17172 Define ftello64 as an alias.
17173 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17174 Define _IO_fgetpos64 and fgetpos64 as aliases.
17175 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17176 Define _IO_fsetpos64 and fsetpos64 as aliases.
17177 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17178 Conditionalize body on this.
17179 * libio/fseeko64.c: Likewise.
17180 * libio/ftello64.c: Likewise.
17181 * libio/iofgetpos64.c: Likewise.
17182 * libio/iofsetpos64.c: Likewise.
17183 * sysdeps/wordsize-64/lockf.c: File removed.
17184 * sysdeps/wordsize-64/lockf64.c: File removed.
17185 * sysdeps/wordsize-64/fseeko.c: File removed.
17186 * sysdeps/wordsize-64/fseeko64.c: File removed.
17187 * sysdeps/wordsize-64/ftello.c: File removed.
17188 * sysdeps/wordsize-64/ftello64.c: File removed.
17189 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17190 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17191 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17192 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17193 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17194 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17195 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17196 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17197 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17198 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17199 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17200 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17201 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17202 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17203
17204 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17205 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17206 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17207 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17208 [defined __arch64__ || defined __sparcv9]
17209 (__OFF_T_MATCHES_OFF64_T): New macro.
17210 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17211 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17213 (__OFF_T_MATCHES_OFF64_T): New macro.
17214
c5757acd
L
172152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17216
17217 * stdlib/secure-getenv.c (__secure_getenv): Replace
17218 GLIBC_2_16 with GLIBC_2_17.
17219
3a31811e
L
172202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17221
17222 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17223 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17224
faa2bccb
DM
172252012-08-03 David S. Miller <davem@davemloft.net>
17226
17227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17228
85fe1997
JM
172292012-08-03 Joseph Myers <joseph@codesourcery.com>
17230
17231 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17232 Remove.
17233 (__ASSUME_CORRECT_SI_PID): Likewise.
17234 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17235 (__ASSUME_TMPFS_NAME): Likewise.
17236 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17237 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17238 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17239 (HAVE_AUX_SECURE): Make definition unconditional.
17240 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17241 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17242
4f75b7a0
RM
172432012-08-03 Roland McGrath <roland@hack.frob.com>
17244
17245 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17246 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17247 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17248 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17249 __eloop_threshold instead of SYMLOOP_MAX.
17250
17251 * sysdeps/generic/eloop-threshold.h: New file.
17252 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17253 of MAXSYMLINKS.
17254 * elf/chroot_canon.c (chroot_canon): Likewise.
17255
7aab07e4
JM
172562012-08-03 Joseph Myers <joseph@codesourcery.com>
17257
17258 [BZ #13717]
17259 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17260 Change to 2.6.0 everywhere.
17261 * sysdeps/unix/sysv/linux/configure: Regenerated.
17262 * sysdeps/unix/sysv/linux/kernel-features.h
17263 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17264 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17265 kernel versions.
17266 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17267 (__ASSUME_FUTEX_REQUEUE): Remove.
17268 (__ASSUME_STATFS64): Define unconditionally.
17269 (__ASSUME_AT_SECURE): Likewise.
17270 (__ASSUME_CORRECT_SI_PID): Likewise.
17271 (__ASSUME_TGKILL): Define without depending on kernel version for
17272 i386.
17273 (__ASSUME_UTIMES): Likewise.
17274 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17275 kernel version.
17276 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17277 (__ASSUME_TMPFS_NAME): Likewise.
17278 * README: Update reference to Linux kernel versions.
17279
b67e9372
MP
172802012-08-02 Marek Polacek <polacek@redhat.com>
17281
1f529f7d 17282 [BZ# 14150]
b67e9372
MP
17283 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17284 libc_cv_asm_type_prefix with %.
17285 * configure: Regenerated.
d2441631
RM
17286 * include/libc-symbols.h: Remove comment about
17287 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17288 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17289 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17290 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17291 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17292 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17293 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17294 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17295 * elf/tst-unique2mod1.c: Likewise.
17296 * elf/tst-unique1mod2.c: Likewise.
17297 * elf/tst-unique1mod1.c: Likewise.
17298 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17299 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17300 Replace ASM_TYPE_DIRECTIVE with .type.
17301 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17302 * sysdeps/i386/sysdep.h: Likewise.
17303 * sysdeps/x86_64/sysdep.h: Likewise.
17304 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17306 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17307 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17308 * sysdeps/powerpc/powerpc32/sysdep.h:
17309 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17310 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17311 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17312 * sysdeps/i386/fpu/e_powf.S: Likewise.
17313 * sysdeps/i386/fpu/e_expl.S: Likewise.
17314 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17315 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17316 * sysdeps/i386/fpu/e_pow.S: Likewise.
17317 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17318 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17319 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17320 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17321 * sysdeps/i386/fpu/e_log2.S: Likewise.
17322 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17323 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17324 * sysdeps/i386/fpu/e_powl.S: Likewise.
17325 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17326 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17327 * sysdeps/i386/fpu/e_logl.S: Likewise.
17328 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17329 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17330 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17331 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17332 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17333 * sysdeps/i386/fpu/e_log.S: Likewise.
17334 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17335 * sysdeps/i386/fpu/e_logf.S: Likewise.
17336 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17337 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17338 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17339 * sysdeps/i386/fpu/e_log10.S: Likewise.
17340 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17341 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17342 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17343 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17344 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17345 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17346 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17347 * sysdeps/i386/i686/strtok.S: Likewise.
17348 * sysdeps/i386/i386-mcount.S: Likewise.
17349 * sysdeps/i386/strtok.S: Likewise.
17350 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17351 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17352 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17353 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17354 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17355 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17356 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17357 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17358 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17359 * sysdeps/x86_64/_mcount.S: Likewise.
17360 * sysdeps/x86_64/strtok.S: Likewise.
17361 * sysdeps/sh/_mcount.S: Likewise.
17362
2747bf9a
RM
173632012-08-01 Roland McGrath <roland@hack.frob.com>
17364
17365 * libio/iofopen.c: Include <fcntl.h>.
17366 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17367 (_IO_fopen64, fopen64): Define as aliases.
17368 * libio/iofopen64.c: Include <fcntl.h>.
17369 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17370 Conditionalize body on this.
17371 * sysdeps/wordsize-64/iofopen.c: File removed.
17372 * sysdeps/wordsize-64/iofopen64.c: File removed.
17373
3fb791b8
MP
173742012-08-01 Marek Polacek <polacek@redhat.com>
17375
17376 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17377 Use dlfcn directly instead of a variable.
17378 (binfmt-subdir): Do not define.
17379 (dlfcn): Likewise.
17380
a9f1039f
JM
173812012-08-01 Joseph Myers <joseph@codesourcery.com>
17382
23bddc06
JM
17383 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17384 Remove all definitions.
17385 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17386 <kernel-features.h>.
17387 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17388 (miss_F_GETOWN_EX): Remove all definitions.
17389 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17390 macro definition.
17391 [!__ASSUME_FCNTL64]: Remove conditional code.
17392 [__ASSUME_FCNTL64]: Make code unconditional.
17393 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17394 <kernel-features.h>.
17395 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17396 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17397 (lockf64) [__NR_fcntl64]: Make code unconditional.
17398 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17399
a9f1039f
JM
17400 * sysdeps/unix/sysv/linux/kernel-features.h
17401 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17402 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17403 Make code unconditional.
17404 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17405 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17407 [__NR_vfork]: Make code unconditional.
17408 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17409 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17411 [__NR_vfork]: Make code unconditional.
17412 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17413 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17414
09c0ee5f
RM
174152012-08-01 Roland McGrath <roland@hack.frob.com>
17416
48aec5b9
RM
17417 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17418 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17419
cd97c966
RM
17420 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17421 Define mkstemp64 as an alias.
3f55550c
RM
17422 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17423 Define mkstemps64 as an alias.
cd97c966
RM
17424 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17425 Define mkostemp64 as an alias.
b8625cfc
RM
17426 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17427 Define mkostemps64 as an alias.
cd97c966
RM
17428 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17429 Conditionalize body on this.
17430 * misc/mkostemp64.c: Likewise.
b8625cfc 17431 * misc/mkostemps64.c: Likewise.
3f55550c 17432 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17433 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17434 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17435 * sysdeps/wordsize-64/mkostemp.c: File removed.
17436 * sysdeps/wordsize-64/mkstemp.c: File removed.
17437 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17438 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17439 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17440 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17441
09c0ee5f
RM
17442 [BZ #14138]
17443 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17444 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17445 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17446 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17447
17448 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17449 compat_symbol macros from <shlib-compat.h> rather than the underlying
17450 default_symbol_version and symbol_version macros, so that DEFAULT
17451 lines in shlib-versions are respected.
17452 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17453
7e66ee51
FW
174542012-08-01 Florian Weimer <fweimer@redhat.com>
17455
17456 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17457 Declare with warn_unused_result.
17458 (setgid, setregid, setegid, setresgid): Likewise.
17459 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17460 Likewise.
17461 * WUR-REPORT: Remove set*id functions.
17462
d2a54255
PT
174632012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17464
17465 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17466
7ecdb005
RM
174672012-07-31 Roland McGrath <roland@hack.frob.com>
17468
b4180a5e 17469 [BZ #10191]
789bd351
RM
17470 * include/sys/socket.h (__libc_accept, __libc_accept4):
17471 Add attribute_hidden.
17472 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17473
40ce302d
RM
17474 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17475 use of PTR_MANGLE.
17476 * inet/getnetgrent_r.c (setup): Likewise.
17477
7ecdb005
RM
17478 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17479
e2eabb2c
DM
174802012-07-31 David S. Miller <davem@davemloft.net>
17481
17482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17483
d0419dbf
JM
174842012-07-31 Joseph Myers <joseph@codesourcery.com>
17485
17486 [BZ #13629]
17487 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17488 value between 1.0 and 2.0 and smaller part has absolute value less
17489 than 1.0.
17490 * math/s_clog10.c (__clog10): Likewise.
17491 * math/s_clog10f.c (__clog10f): Likewise.
17492 * math/s_clog10l.c (__clog10l): Likewise.
17493 * math/s_clogf.c (__clogf): Likewise.
17494 * math/s_clogl.c (__clogl): Likewise.
17495 * math/libm-test.inc (clog_test): Add more tests.
17496 (clog10_test): Likewise.
17497 * sysdeps/i386/fpu/libm-test-ulps: Update.
17498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17499
2bc13872
FW
175002012-07-31 Florian Weimer <fweimer@redhat.com>
17501
17502 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17503 Exit with zero in case no suitable GID is found, and write a
17504 message to standard error.
17505
bea9b193
RM
175062012-07-30 Roland McGrath <roland@hack.frob.com>
17507
17508 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17509 rather than to 1.
17510 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17511 (MAXPATHLEN): Removed.
17512 (NOGROUP, NODEV): New macros.
17513 (setbit, clrbit, isset, isclr): New macros.
17514 (howmany, roundup, powerof2): New macros.
17515 (DEV_BSIZE): New macro.
17516
17517 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17518 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17519
17520 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17521 definition on [!__NO_LONG_DOUBLE_MATH].
17522
17523 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17524 PTR_MANGLE and PTR_DEMANGLE.
17525
17526 * socket/accept4.c (accept4): Rename to __libc_accept4.
17527 Define accept4 as a weak alias.
17528
17529 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17530 on [_DIRENT_HAVE_D_TYPE].
17531 * io/ftw.c (ftw_dir): Likewise.
17532
17533 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17534
17535 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17536
17537 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17538 Use the BSD numbers rather than the arbitrary ones we had.
17539 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17540 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17541 (SIGXCPU, SIGXFSZ): New macros.
17542 (_NSIG): Now 32.
17543
17544 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17545 initializer on [_LIBC_REENTRANT].
17546
17547 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17548 definitions inside [_POSIX_MAPPED_FILES].
17549
17550 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17551
17552 * dirent/opendir.c: Include <fcntl.h>.
17553
17554 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17555 (__libc_getspecific): Likewise.
17556 (__libc_key_create): Likewise.
17557
17558 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17559 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17560 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17561 (tmpfile64): Define as alias.
17562 * sysdeps/wordsize-64/tmpfile.c: File removed.
17563 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17564 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17565 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17566
17567 * stdio-common/vfscanf.c: Include <stdbool.h>.
17568 * nss/makedb.c: Likewise.
17569 * stdio-common/_i18n_number.h: Likewise.
17570 * argp/argp-help.c: Likewise.
17571 * posix/wordexp.c: Likewise.
17572 * sysdeps/posix/spawni.c: Likewise.
17573 * nss/nss_files/files-initgroups.c: Likewise.
17574 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17575 * nss/nss_files/files-initgroups.c: Likewise.
17576 * nss/nss_db/db-netgrp.c: Likewise.
17577 * nss/nss_db/db-initgroups.c: Likewise.
17578 * io/fchmodat.c: Include <sys/stat.h>.
17579
17580 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17581 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17582
17583 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17584 [HAVE_MMAP].
17585
17586 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17587 Add multiple inclusion protection.
17588
e5abc686
DM
175892012-07-27 David S. Miller <davem@davemloft.net>
17590
17591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17592
815e6fa3
GB
175932012-07-27 Gary Benson <gbenson@redhat.com>
17594
17595 [BZ #14298]
17596 * elf/rtld.c: Include <stap-probe.h>.
17597 (dl_main): Added static probes "init_start" and "init_complete".
17598 * elf/dl-load.c: Include <stap-probe.h>.
17599 (lose): Take new parameter "nsid".
17600 Added static probe "map_failed".
17601 (_dl_map_object_from_fd): Pass namespace id to lose.
17602 Added static probe "map_start".
17603 (open_verify): Pass namespace id to lose.
17604 * elf/dl-open.c: Include <stap-probe.h>.
17605 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17606 and "reloc_complete".
17607 * elf/dl-close.c: Include <stap-probe.h>.
17608 (_dl_close_worker): Added static probes "unmap_start" and
17609 "unmap_complete".
17610 * elf/rtld-debugger-interface.txt: New file documenting the above.
17611
9f98c16c
RM
176122012-07-26 Roland McGrath <roland@hack.frob.com>
17613
17614 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17615 rather than a string variable.
17616 * sunrpc/rpc_main.c (h_output): Likewise.
17617 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17618
f3c22df3
PT
176192012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17620
17621 * inet/check_native.c: New file.
17622
3129cfc6
JM
176232012-07-26 Joseph Myers <joseph@codesourcery.com>
17624
da865e95
JM
17625 [BZ #13629]
17626 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17627 if larger part has absolute value 1.0.
17628 * math/s_clog10.c (__clog10): Likewise.
17629 * math/s_clog10f.c (__clog10f): Likewise.
17630 * math/s_clog10l.c (__clog10l): Likewise.
17631 * math/s_clogf.c (__clogf): Likewise.
17632 * math/s_clogl.c (__clogl): Likewise.
17633 * math/libm-test.inc (clog_test): Add more tests.
17634 (clog10_test): Likewise.
17635 * sysdeps/i386/fpu/libm-test-ulps: Update.
17636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17637
3129cfc6
JM
17638 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17639 (pltexit): Likewise.
17640 (La_regs): Likewise.
17641 (La_retval): Likewise.
17642 (int_retval): Likewise.
17643 Update #error for removed macros to refer only to definitions in
17644 tst-audit.h.
17645 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17646 macro.
17647 (pltexit): Likewise.
17648 (La_regs): Likewise.
17649 (La_retval): Likewise.
17650 (int_retval): Likewise.
17651 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17652 macro.
17653 (pltexit): Likewise.
17654 (La_regs): Likewise.
17655 (La_retval): Likewise.
17656 (int_retval): Likewise.
17657 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17658 macro.
17659 (pltexit): Likewise.
17660 (La_regs): Likewise.
17661 (La_retval): Likewise.
17662 (int_retval): Likewise.
17663 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17664 macro.
17665 (pltexit): Likewise.
17666 (La_regs): Likewise.
17667 (La_retval): Likewise.
17668 (int_retval): Likewise.
17669 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17670 macro.
17671 (pltexit): Likewise.
17672 (La_regs): Likewise.
17673 (La_retval): Likewise.
17674 (int_retval): Likewise.
17675 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17676 macro.
17677 (pltexit): Likewise.
17678 (La_regs): Likewise.
17679 (La_retval): Likewise.
17680 (int_retval): Likewise.
17681 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17682 macro definitions in tst-audit.h.
17683 * sysdeps/i386/tst-audit.h: New file.
17684 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17685 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17686 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17687 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17688 * sysdeps/sh/tst-audit.h: Likewise.
17689 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17690 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17691 * sysdeps/x86_64/tst-audit.h: Likewise.
17692
bfc07087
AJ
176932012-07-26 Andreas Jaeger <aj@suse.de>
17694
b1b2aaf8
AJ
17695 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17696 ptrace.
17697
17698 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17699 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17700 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17701 PTRACE_O_MASK.
17702 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17703 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17704 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17705
bfc07087
AJ
17706 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17707 value.
17708
17709 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17710 _sigsys.
17711 (si_call_addr, si_syscall, si_arch): Define new macro.
17712 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17713 _sigsys.
17714 (si_call_addr, si_syscall, si_arch): Define new marcro.
17715 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17716 _sigsys.
17717 (si_call_addr, si_syscall, si_arch): Define new macro.
17718 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17719 _sigsys.
17720 (si_call_addr, si_syscall, si_arch): Define new macro.
17721
89b4b02f
JM
177222012-07-25 Joseph Myers <joseph@codesourcery.com>
17723
17724 [BZ #13717]
17725 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17726 Change to 2.4.21 where previously 2.4.1.
17727 * sysdeps/unix/sysv/linux/configure: Regenerated.
17728 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17729 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17730 Linux kernel version.
17731 (__ASSUME_STD_AUXV): Remove.
17732 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17733 kernel version.
17734 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17735 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17736 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17737 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17738 (__ASSUME_NETLINK_SUPPORT): Likewise.
17739 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17740 (__no_netlink_support): Remove conditional definition.
17741 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17742 Remove.
17743 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17744 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17745 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17746 (if_nameindex_ioctl): Remove.
17747 (if_nameindex_netlink): Do not handle __no_netlink_support.
17748 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17749 code.
17750 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17751 Remove conditional code.
17752 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17753 code.
17754 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17755 unconditional.
17756 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17757 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17758 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17759 Remove.
17760 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17761 [!__ASSUME_STD_AUXV]: Remove conditional code.
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17763 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17764 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17766 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17767 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17768 code.
17769 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17771 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17772 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17773 conditional code.
17774 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17776 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17777 code.
17778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17779 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17780 conditional code.
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17782 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17783 code unconditional.
17784 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17785 conditional code.
17786 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17787 unconditional.
17788 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17789 conditional code.
17790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17791 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17792 unconditional.
17793 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17794 conditional code.
17795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17796 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17797 code unconditional.
17798 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17799 conditional code.
17800 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17801 unconditional.
17802 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17803 conditional code.
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17805 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17806 code unconditional.
17807 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17808 conditional code.
17809 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17810 unconditional.
17811 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17812 conditional code.
17813
842a39cd
AS
178142012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17815
17816 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17817 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17818 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17819 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17820 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17821 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17822 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17823 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17824 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17825 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17826 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17827 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17828 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17829 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17830 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17831 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17832 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17833 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17834 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17836 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17837 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17838 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17839
84b3fd84
FW
178402012-07-25 Florian Weimer <fweimer@redhat.com>
17841
17842 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17843 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17844 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17845 Introduce __libc_secure_getenv.
0c7936d5
FW
17846 * stdlib/Versions (2.17): Add secure_getenv
17847 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17848 * stdlib/secure-getenv.c: Rename __secure_getenv to
17849 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17850 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17851 * stdlib/tst-secure-getenv.c: New.
17852 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17853 * manual/startup.texi (Environment Access): Document
17854 secure_getenv.
84b3fd84
FW
17855 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17856 __libc_secure_getenv.
17857 * inet/ruserpass.c (ruserpass): Likewise.
17858 * malloc/mtrace.c (mtrace): Likewise.
17859 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17860 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17861 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17862 * sysdeps/posix/tempname.c: Likewise. Evaluate
17863 HAVE_SECURE_GETENV.
17864 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17865 __secure_getenv to __libc_secure_getenv.
84b3fd84 17866 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17868 Likewise.
17869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17870 Likewise.
17871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17873 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17878
56e49b71
JM
178792012-07-25 Joseph Myers <joseph@codesourcery.com>
17880
17881 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17882 (struct La_i86_retval): Likewise.
17883 (struct La_x86_64_regs): Likewise.
17884 (struct La_x86_64_retval): Likewise.
17885 (struct La_x32_regs): Likewise.
17886 (struct La_x32_retval): Likewise.
17887 (struct La_ppc32_regs): Likewise.
17888 (struct La_ppc32_retval): Likewise.
17889 (struct La_ppc64_regs): Likewise.
17890 (struct La_ppc64_retval): Likewise.
17891 (struct La_sh_regs): Likewise.
17892 (struct La_sh_retval): Likewise.
17893 (struct La_s390_32_regs): Likewise.
17894 (struct La_s390_32_retval): Likewise.
17895 (struct La_s390_64_regs): Likewise.
17896 (struct La_s390_64_retval): Likewise.
17897 (struct La_sparc32_regs): Likewise.
17898 (struct La_sparc32_retval): Likewise.
17899 (struct La_sparc64_regs): Likewise.
17900 (struct La_sparc64_retval): Likewise.
17901 (struct audit_ifaces): Remove architecture-specific pltenter and
17902 pltexit members.
17903 * sysdeps/i386/ldsodefs.h: New file.
17904 * sysdeps/powerpc/ldsodefs.h: Likewise.
17905 * sysdeps/s390/ldsodefs.h: Likewise.
17906 * sysdeps/sh/ldsodefs.h: Likewise.
17907 * sysdeps/sparc/ldsodefs.h: Likewise.
17908 * sysdeps/x86_64/ldsodefs.h: Likewise.
17909
354691b7
MP
179102012-07-25 Marek Polacek <polacek@redhat.com>
17911
17912 [BZ #6808]
17913 * math/libm-test.inc (yn_test): Add another test.
17914 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17915 to ERANGE when the result is +-Inf.
17916 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17917 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17918 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17919 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17920
bf9e2071
JM
179212012-07-24 Joseph Myers <joseph@codesourcery.com>
17922
17923 * conform/data/time.h-data (NULL): Use macro-constant. Require
17924 equal to 0.
17925 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17926 clock_t.
17927 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17928
57633811
TS
179292012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17930
17931 * configure.in <sysdeps resolving>: Correct printing
17932 Implies_before.
17933 * configure: Regenerate.
17934
c23c33b0
TS
179352012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17936
17937 * math/w_ilogb.c: Include <limits.h>.
17938 * math/w_ilogbl.c: Likewise.
17939
b5982523
JM
179402012-07-20 Joseph Myers <joseph@codesourcery.com>
17941
17942 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17943 va_copy. Document allowing for unavailable va_copy only as
17944 pre-C99 compatibility.
17945 * manual/string.texi (Copying and Concatenation): Use va_copy
17946 instead of __va_copy in concat example.
17947
ac4ea442
PT
179482012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17949
17950 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17951 (__sendto): Use create_address_port. Initialize APORT and deallocate
17952 it if not null.
17953
f98eafbd
PT
17954 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17955 with O_NOLINK passed to __file_name_lookup.
17956
898c7aab
PT
17957 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17958 with O_NOLINK passed to __file_name_lookup.
17959
0ced335a
PT
17960 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17961 negative N or less than NGIDS.
17962
b3404dbd
PT
17963 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17964 type to string_t. Set ERANGE as errno and return it if NAME is not big
17965 enough. Use memcpy instead of strncpy.
17966
0f48659e
JM
179672012-07-20 Joseph Myers <joseph@codesourcery.com>
17968
17969 * elf/Makefile (check-data): Remove.
17970 (localplt.data): New vpath directive.
17971 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17972 instead of $(check-data).
17973 * scripts/data/localplt-generic.data: Move to ...
17974 * sysdeps/generic/localplt.data: ... here.
17975 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17976 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17977 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17979 ... here.
17980 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17982 ... here.
17983 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17985 ... here.
17986 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17988 ... here.
17989 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17991 ... here.
17992 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17993 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17994 ... here.
17995
d37cbdaa
AZ
179962012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17997
17998 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17999 PPC32 and PPC64 files.
18000 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18001 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18002
46f85fc2
AK
180032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18004
18005 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18006 __makecontext_ret to ...
18007 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18008 ... here and call exit if uc_link is NULL. New file.
18009 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18010 __makecontext_ret.S.
18011 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18012 __makecontext_ret to ...
18013 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18014 ... here and call exit if uc_link is NULL. New file.
18015 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18016 __makecontext_ret.S.
18017
08f43f9b
AK
180182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18019
18020 * elf/elf.h (R_390_IRELATIVE): New definition.
18021 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18022 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18023 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18025 (elf_machine_lazy_rel): Likewise.
18026 * sysdeps/s390/dl-irel.h: New file.
18027 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18028 * sysdeps/s390/s390-64/memset.S: New asm code.
18029 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18030 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18031 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18032 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18033 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18034 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18035 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18036 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18037 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18038 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18039 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18040 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18041 * sysdeps/s390/s390-32/memset.S: New asm code.
18042 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18043
3b05db33
MP
180442012-07-17 Marek Polacek <polacek@redhat.com>
18045
18046 [BZ #14349]
18047 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18048 * sysdeps/s390/s390-64/configure.in: Likewise.
18049 * sysdeps/sparc/configure.in: Likewise.
18050 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18051 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18052 * sysdeps/i386/configure.in: Likewise.
18053 * sysdeps/x86_64/configure.in: Likewise.
18054 * sysdeps/sh/configure.in: Likewise.
18055 * sysdeps/s390/s390-32/configure: Regenerated.
18056 * sysdeps/s390/s390-64/configure: Likewise.
18057 * sysdeps/x86_64/configure: Likewise.
18058 * sysdeps/sh/configure: Likewise.
18059 * sysdeps/powerpc/powerpc64/configure: Likewise.
18060 * sysdeps/powerpc/powerpc32/configure: Likewise.
18061 * sysdeps/sparc/configure: Likwise.
18062 * sysdeps/i386/configure: Likewise.
18063
a66877c6
MP
18064 * elf/dl-open.c: Comment fixes.
18065
cfc82fd8
JM
180662012-07-17 Joseph Myers <joseph@codesourcery.com>
18067
bd29910a
JM
18068 * Makefile [CXX] (check-data): Remove.
18069 [CXX] (c++-types.data): New vpath directive.
18070 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18071 vpath. Do not allow for C++ type data being missing.
18072 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18073 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18074 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18075 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18076 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18077 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18078 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18080 ... here.
18081 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18083 ... here.
18084 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18086 ... here.
18087 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18089 ... here.
18090 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18092 ... here.
18093 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18095 ... here.
18096 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18097 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18098 ... here.
18099 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18101
cfc82fd8
JM
18102 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18103 definitions to architecture-specific files.
18104 (TLS_IE): Likewise.
18105 (TLS_LD): Likewise.
18106 (TLS_GD): Likewise.
18107 * sysdeps/i386/tls-macros.h: New file.
18108 * sysdeps/powerpc/tls-macros.h: Likewise.
18109 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18110 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18111 * sysdeps/sh/tls-macros.h: Likewise.
18112 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18113 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18114 * sysdeps/x86_64/tls-macros.h: Likewise.
18115
f7db3170
TS
181162012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18117
07cbfc23
TS
18118 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18119 zero value for regular exit case.
18120
f7db3170
TS
18121 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18122 (__start_context): Preserve zero value for regular exit case.
18123
dc97c227
TS
181242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18125 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18126
18127 * manual/setjmp.texi (setcontext): Clarify normal process
18128 termination when uc_link is the null pointer.
18129 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18130 exit call.
18131
d0cd7d02
AS
181322012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18133
18134 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18135 preprocessor. Test for each exception mask separately.
18136
dd318934
AJ
181372012-07-16 Andreas Jaeger <aj@suse.de>
18138
18139 * po/ru.po: Update from translation team.
18140
8048311a
JM
181412012-07-15 Joseph Myers <joseph@codesourcery.com>
18142
18143 * conform/data/string.h-data (NULL): Use macro-constant. Require
18144 equal to 0.
18145 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18146 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18147 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18148 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18149 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18150
b637d46e
AJ
181512012-07-13 Andreas Jaeger <aj@suse.de>
18152
18153 * po/fr.po: Update from translation team.
18154
541428fe
MP
181552012-07-12 Marek Polacek <polacek@redhat.com>
18156
18157 [BZ #14173]
18158 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18159 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18160 loop condition.
18161
ec332e94
JM
181622012-07-12 Joseph Myers <joseph@codesourcery.com>
18163
18164 [BZ #13717]
18165 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18166 Change to 2.4.1 where previously 2.4.0.
18167 * sysdeps/unix/sysv/linux/configure: Regenerated.
18168 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18169 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18170 version.
18171 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18172 (__ASSUME_AT_CLKTCK): Remove.
18173 (__ASSUME_AT_PAGESIZE): Likewise.
18174 (__ASSUME_AT_XID): Likewise.
18175 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18176 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18177 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18178 unconditionally.
18179 (HAVE_AUX_PAGESIZE): Likewise.
18180 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18181 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18182 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18183
7b6e99be
JB
181842012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18185
18186 [BZ #14307]
18187 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18188 the temporary buffer used to invoke __gethostbyname2_r,
18189 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18190 host_data / struct gaih_addrtuple.
18191 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18192 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18193 header file nss/nsswitch.h.
18194 * nss/nsswitch.h (global scope): Add definition of implementation
18195 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18196 resolv/nss_dns/dns-host.c).
18197
608404eb
AJ
181982012-07-11 Andreas Jaeger <aj@suse.de>
18199
18200 * po/fr.po: Update from translation team.
18201
71220aca
AJ
18202 * po/sv.po: Update from translation team
18203 * po/fr.po: Another update from translation team.
18204
28cfe843
AZ
182052012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18206
18207 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18208 for subnormals or multiply small sinh result by itself.
18209 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18211
6b90f981
DM
182122012-07-11 David S. Miller <davem@davemloft.net>
18213
18214 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18215
c6825772
AS
182162012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18217
18218 [BZ #14347]
18219 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18220 (INTERNAL_MARK): Shift it here.
18221
7b8e0d49
MP
182222012-07-10 Marek Polacek <polacek@redhat.com>
18223
18224 [BZ #14151]
18225 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18226 libc_cv_asm_global_directive with .globl.
18227 * configure: Regenerated.
18228 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18229 with .globl.
18230 * sysdeps/i386/configure: Regenerated.
18231 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18232 with .globl.
18233 * sysdeps/x86_64/configure: Regenerated.
18234 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18235 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18236 * elf/tst-unique2mod2.c: Likewise.
18237 * elf/tst-unique2mod1.c: Likewise.
18238 * elf/tst-unique1mod2.c: Likewise.
18239 * elf/tst-unique1mod1.c: Likewise.
18240 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18241 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18242 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18243 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18244 * sysdeps/mach/sysdep.h: Likewise.
18245 * sysdeps/i386/sysdep.h: Likewise.
18246 * sysdeps/i386/i386-mcount.S: Likewise.
18247 * sysdeps/x86_64/_mcount.S: Likewise.
18248 * sysdeps/x86_64/sysdep.h: Likewise.
18249 * sysdeps/sh/_mcount.S: Likewise.
18250 * sysdeps/sh/sysdep.h: Likewise.
18251 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18252 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18253 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18254 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18255 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18256 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18257 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18258 * locale/localeinfo.h: Likewise.
18259 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18260 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18261
6c55cda3
RM
182622012-07-09 Roland McGrath <roland@hack.frob.com>
18263
18264 [BZ #14336]
18265 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18266 system".
18267 * manual/message.texi (The Uniforum approach): Likewise.
18268 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18269 (glibc iconv Implementation): Likewise.
18270
638a572e
JM
182712012-07-09 Joseph Myers <joseph@codesourcery.com>
18272
18273 [BZ #14337]
18274 * math/s_clog.c (__clog): Avoid scaling a value down where that
18275 could result in underflow.
18276 * math/s_clog10.c (__clog10): Likewise.
18277 * math/s_clog10f.c (__clog10f): Likewise.
18278 * math/s_clog10l.c (__clog10l): Likewise.
18279 * math/s_clogf.c (__clogf): Likewise.
18280 * math/s_clogl.c (__clogl): Likewise.
18281 * math/libm-test.inc (clog_test): Add more tests.
18282 (clog10_test): Likewise.
18283 * sysdeps/i386/fpu/libm-test-ulps: Update.
18284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18285
261f4859
AS
182862012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18287
0abaf3e4
AS
18288 [BZ #14283]
18289 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18290 by 7 not 8 to examine high bit of fractional part.
18291
261f4859
AS
18292 [BZ #14042]
18293 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18294 for call to __mcount_internal.
18295 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18296 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18297 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18298
f17ac40d
JM
182992012-07-06 Joseph Myers <joseph@codesourcery.com>
18300
9ad63c23
JM
18301 [BZ #14154]
18302 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18303 approximation for values within 0x1p-13f of an odd multiple of
18304 pi/4.
18305 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18306 exception. Add more tests.
18307 * sysdeps/i386/fpu/libm-test-ulps: Update.
18308
f17ac40d
JM
18309 [BZ #6778]
18310 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18311 inputs and return -1 for them. Do not check for +Inf in case not
18312 reachable for +Inf.
18313 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18314 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18315 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18316 and return -1 for them. Do not check for +Inf in case not
18317 reachable for +Inf.
18318 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18319 define.
18320 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18321 and return -1 for them. Do not check for +Inf in case not
18322 reachable for +Inf.
18323 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18324 spurious underflow.
18325 * sysdeps/i386/fpu/libm-test-ulps: Update.
18326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18327
fb21f89b
MF
183282012-07-06 Mike Frysinger <vapier@gentoo.org>
18329
18330 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18331
cdfe2c5e
JM
183322012-07-05 Joseph Myers <joseph@codesourcery.com>
18333
18334 [BZ #14157]
18335 [BZ #14331]
18336 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18337 could result in spurious underflow. Scale down values above
18338 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18339 * math/s_csqrtf.c (__csqrtf): Likewise.
18340 * math/s_csqrtl.c (__csqrtl): Likewise.
18341 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18342 spurious underflow.
18343 * sysdeps/i386/fpu/libm-test-ulps: Update.
18344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18345
70d35b67
AS
183462012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18347
704bc459
AS
18348 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18349 xopen-msg.sed.
18350 * catgets/xopen-msg.awk: New file.
18351 * catgets/xopen-msg.sed: Removed.
18352
70d35b67
AS
18353 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18354 po2text.sed.
18355 * intl/po2test.awk: New file.
18356 * intl/po2test.sed: Removed.
18357
ca61cf32
JM
183582012-07-04 Joseph Myers <joseph@codesourcery.com>
18359
18360 [BZ #14328]
18361 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18362 or multiply small sinh result by itself.
18363 * math/s_ctanf.c (__ctanf): Likewise.
18364 * math/s_ctanh.c (__ctanh): Likewise.
18365 * math/s_ctanhf.c (__ctanhf): Likewise.
18366 * math/s_ctanhl.c (__ctanhl): Likewise.
18367 * math/s_ctanl.c (__ctanl): Likewise.
18368 * math/libm-test.inc (ctan_test_tonearest): New function.
18369 (ctan_test_towardzero): Likewise.
18370 (ctan_test_downward): Likewise.
18371 (ctan_test_upward): Likewise.
18372 (ctanh_test_tonearest): Likewise.
18373 (ctanh_test_towardzero): Likewise.
18374 (ctanh_test_downward): Likewise.
18375 (ctanh_test_upward): Likewise.
18376 (main): Call these new functions.
18377 * sysdeps/i386/fpu/libm-test-ulps: Update.
18378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18379
ca48a46a
MF
183802012-07-03 Mike Frysinger <vapier@gentoo.org>
18381
18382 * .gitignore: Delete /ports entry.
18383
9d63d37d
AJ
183842012-07-03 Andreas Jaeger <aj@suse.de>
18385
18386 * po/bg.po: Update from translation team.
18387 * po/cs.po: Likewise.
18388 * po/de.po: Likewise.
18389 * po/hr.po: Likewise.
18390 * po/nl.pl: Likewise.
18391 * po/pl.po: Likewise.
18392 * po/vi.po: Likewise.
18393
370ca3d2
JM
183942012-07-03 Joseph Myers <joseph@codesourcery.com>
18395
95f5a9a8
JM
18396 * Makeconfig [!+link] (+link-before-libc): New variable.
18397 [!+link] (+link-after-libc): Likewise.
18398 [!+link] (+link-tests): Likewise.
18399 [!+link] (+link): Define in terms of $(+link-before-libc) and
18400 $(+link-after-libc).
18401 [!+link-static] (+link-static-before-libc): New variable.
18402 [!+link-static] (+link-static-after-libc): Likewise.
18403 [!+link-static] (+link-static-tests): Likewise.
18404 [!+link-static] (+link-static): Define in terms of
18405 $(+link-static-before-libc) and $(+link-static-after-libc).
18406 [build-shared] (link-libc-before-gnulib): New variable.
18407 [build-shared] (link-libc-tests): Likewise.
18408 [build-shared] (link-libc): Define in terms of
18409 $(link-libc-before-gnulib).
18410 [!build-shared] (link-libc-tests): New variable.
18411 (link-libc-static-tests): New variable.
18412 [!gnulib] (gnulib-arch): New variable.
18413 [!gnulib] (gnulib-tests): Likewise.
18414 [!gnulib] (static-gnulib-arch): Likewise.
18415 [!gnulib] (static-gnulib-tests): Likewise.
18416 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18417 Define with "=" instead of ":=".
18418 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18419 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18420 * Rules (binaries-all-notests): New variable.
18421 (binaries-all-tests): Likewise.
18422 (binaries-static-notests): Likewise.
18423 (binaries-static-tests): Likewise.
18424 (binaries-all): Define using $(binaries-all-notests) and
18425 $(binaries-all-tests).
18426 (binaries-static): Define using $(binaries-static-notests) and
18427 $(binaries-static-tests).
18428 (binaries-shared-tests): New variable.
18429 (binaries-shared-notests): Likewise.
18430 (binaries-shared): Remove variable.
18431 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18432 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18433 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18434 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18435 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18436 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18437 * elf/Makefile (sln-modules): New variable.
18438 (extra-objs): Add $(sln-modules:=.o).
18439 (ldconfig-modules): Add static-stubs.
18440 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18441 * elf/static-stubs.c: New file.
18442
7a845b2c
JM
18443 [BZ #14283]
18444 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18445 by 7 not 8 to examine high bit of fractional part. Use volatile
18446 variables when splitting into final array of floats if
18447 __FLT_EVAL_METHOD__ != 0.
18448 * math/libm-test.inc (cos_test): Add another test.
18449 (sin_test): Likewise.
18450 * sysdeps/i386/fpu/libm-test-ulps: Update.
18451
e2283f38
JM
18452 [BZ #14273]
18453 * math/libm-test.inc (cosh_test): Add more tests.
18454
370ca3d2
JM
18455 * version.h (RELEASE): Set to "development".
18456 (VERSION): Set to "2.16.90".
18457
ee9247c3
CD
184582012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18459
18460 * NEWS: Update copyright. Remove last-updated date.
18461 Mention math library bug fixes and timezone data changes.
18462 * README: Mention GNU/Hurd, x32, and HPPA support status.
18463
4648c381
TS
184642012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18465
18466 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18467
aac78a43
AJ
184682012-06-27 Andreas Jaeger <aj@suse.de>
18469
18470 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18471
ed3dbfad
AJ
184722012-06-25 Andreas Jaeger <aj@suse.de>
18473
18474 * sysdeps/s390/fpu/libm-test-ulps: Update.
18475
4d0ee855
AS
184762012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18477 Thomas Schwinge <thomas@codesourcery.com>
18478
18479 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18480 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18481 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18482 fanotify_mark.
18483
af1bce34
TS
184842012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18485
a9fa33ba
TS
18486 * sysdeps/mach/start.c: Remove file.
18487 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18488 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18489 * sysdeps/sh/init-first.c: Likewise.
18490
58f902b8
TS
18491 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18492 registers for frame unwinding purposes, add CFI directives.
18493 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18494 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18495 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18496 Likewise.
18497
1518f58b
TS
18498 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18499 __fortify_fail returning.
18500 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18501
db9b5059
TS
18502 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18503 sysdeps/sh/____longjmp_chk.S.
18504 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18505 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18506 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18507 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18508
967705fe
TS
18509 * sysdeps/sh/abort-instr.h: New file.
18510 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18511 process in case exit returns.
18512
a9def8c4
TS
18513 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18514 initialize the GOT register before use.
18515
2a649725
TS
18516 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18517 calculation of ARGC > 4.
18518
af1bce34
TS
18519 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18520 meaningful names to some local labels.
18521
d230f50a
KK
185222012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18523 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18524
18525 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18526 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18527 (__arch_compare_and_exchange_val_16_acq): Likewise.
18528 (__arch_compare_and_exchange_val_32_acq): Likewise.
18529 (atomic_exchange_and_add): Fix gUSA sequence.
18530 (atomic_add): Likewise.
18531 (atomic_add_negative): Likewise.
18532 (atomic_add_zero): Likewise.
18533 (atomic_bit_test_set): Likewise.
18534
0479b305
AS
185352012-06-22 Andreas Schwab <schwab@redhat.com>
18536
18537 [BZ #13579]
18538 * include/link.h (struct link_map): Add l_free_initfini.
18539 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18540 l_initfini.
18541 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18542 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18543 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18544 set.
18545
0e3933b9
CD
185462012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18547
18548 * configure.in: Use AC_LANG_SOURCE.
18549 * configure: Regenerate.
18550
4248b1b1
RM
185512012-06-22 Roland McGrath <roland@hack.frob.com>
18552
18553 * configure.in (libc_cv_localstatedir): New substituted variable.
18554 * configure: Regenerated.
18555 * config.make.in (localstatedir): New variable, substituted from
18556 libc_cv_localstatedir.
18557 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18558 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18559 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18560 * sysdeps/gnu/configure: Regenerated.
18561
006dd861
JL
185622012-06-21 Jeff Law <law@redhat.com>
18563
18564 [BZ #14277]
18565 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18566 free. Simplify list management for _LIBC case.
18567
79662d42
JM
185682012-06-21 Joseph Myers <joseph@codesourcery.com>
18569
b7abb4bf
JM
18570 [BZ #14273]
18571 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18572 Clear sign bit of 64-bit integer value before comparing against
18573 overflow value.
18574
79662d42
JM
18575 * sysdeps/mach/configure: Regenerated.
18576
1f150908
L
185772012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18578
18579 [BZ #14278]
18580 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18581
28363bbf
JL
185822012-06-21 Jeff Law <law@redhat.com>
18583
18584 [BZ #13882]
18585 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18586 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18587 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18588 * elf/dl-open.c (dl_open_worker): Likewise.
18589
09615db4
CD
185902012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18591
18592 * scripts/list-sources.sh: Scan PORTS for translations.
18593 * po/libc.pot: Regenerated.
18594
2174c6dd
AJ
185952012-06-21 Andreas Jaeger <aj@suse.de>
18596
18597 [BZ #12194]
18598 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18599 warning.
18600 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18601 * bits/byteswap-16.h (__bswap_16): Likewise.
18602 * bits/byteswap.h (__bswap_constant_16): Likewise.
18603
3ee947b1
L
186042012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18605
18606 [BZ #14117]
a2f34833
L
18607 * sysdeps/i386/fpu_control.h: Removed.
18608 * sysdeps/x86_64/fpu_control.h: Moved to ...
18609 * sysdeps/x86/fpu_control.h: Here.
18610
3ee947b1
L
18611 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18612 (_FPU_SETCW): Likewise.
18613
ed1825f8
L
186142012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18615
25f1282a
L
18616 [BZ #14117]
18617 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18618 * sysdeps/x86/fpu/bits/mathinline.h: This.
18619 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18620
ed1825f8
L
18621 [BZ #14050]
18622 [BZ #14117]
18623 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18624 functions if __x86_64__ is defined.
18625
36d54b74
CLT
186262012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18627
18628 * string/endian.h: Add !__ASSEMBLER__ condition for including
18629 conversion interfaces.
18630
10285c21
JM
186312012-06-15 Joseph Myers <joseph@codesourcery.com>
18632
18633 [BZ #14241]
18634 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18635 of ABS(x) in calculating zero to negative powers other than odd
18636 integers.
18637 * math/libm-test.inc (pow_test): Add more tests.
18638
06c5abbd
AJ
186392012-06-15 Andreas Jaeger <aj@suse.de>
18640
18641 * manual/contrib.texi (Contributors): Update entry of Liubov
18642 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18643 Machado Filho.
18644
a3aeac40
CH
186452012-06-15 Cyril Hrubis <metan@ucw.cz>
18646
18647 * string/string.h: Add __wur to GNU version of strerror_r.
18648
49bdf4c1
L
186492012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18650
18651 [BZ #14229]
18652 * string/Makefile (tests): Add tst-strtok_r.
18653 * string/tst-strtok_r.c: New file.
18654 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18655 RAX_LP/RDX_LP on SAVE_PTR.
18656
834f9b8d
RM
186572012-06-14 Roland McGrath <roland@hack.frob.com>
18658
18659 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18660
75fa1921
JM
186612012-06-14 Joseph Myers <joseph@codesourcery.com>
18662
18663 * libm_test.inc (csqrt_test): Allow more spurious underflow
18664 exceptions.
18665 (j0_test): Likewise.
18666 (j1_test): Likewise.
18667 (y0_test): Likewise.
18668 (y1_test): Likewise.
18669
771766df
CD
186702012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18671
18672 * po/Makefile (libc.pot): Use UTF-8 charset.
18673
ceb9e56b
PP
186742012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18675
18676 [BZ #14210]
18677 Suppress sign-conversion warning from FD_SET.
18678 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18679 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18680 not unsigned long int.
18681 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18682
ddb28975
L
186832012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18684
18685 [BZ #14050]
18686 [BZ #14117]
18687 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18688 __extern_always_inline instead of __extern_inline.
18689 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18690 (__signbit): Likewise.
18691 (__signbitl): Support C++ namespace.
18692 (lrintf): New inline function.
18693 (lrint): Likewise.
18694 (llrintf): Likewise.
18695 (llrint): Likewise.
18696 (fmaxf): Likewise.
18697 (fmax): Likewise.
18698 (fminf): Likewise.
18699 (fmin): Likewise.
18700 (rint): Likewise.
18701 (rintf): Likewise.
18702 (ceil): Likewise.
18703 (ceilf): Likewise.
18704 (floor): Likewise.
18705 (floorf): Likewise.
18706 (nearbyint): Likewise.
18707 (nearbyintf): Likewise.
18708
d7b4fb26
TS
187092012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18710
18711 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18712 non-default versions.
18713
eb55f5c2
RM
187142012-06-11 Roland McGrath <roland@hack.frob.com>
18715
18716 [BZ #14218]
18717 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18718
366af02c
TS
187192012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18720
99ff6e5c
TS
18721 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18722 (FE_UPWARD, FE_DOWNWARD): Don't define.
18723 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18724 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18725
366af02c
TS
18726 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18727 reading it.
18728 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18729 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18730
793ea851
KK
187312012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18732
18733 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18734 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18735 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18736 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18737
a728a38f
L
187382012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18739
18740 [BZ #14117]
c08010c7
L
18741 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18742 * sysdeps/i386/fpu/Implies: New file.
18743 * sysdeps/x86_64/fpu/Implies: Likewise.
18744 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18745 * sysdeps/x86/fpu/bits/fenv.h: This.
18746
a728a38f
L
18747 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18748 __SSE_MATH__.
18749
6e230d11
SP
187502012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18751
18752 [BZ #14134]
18753 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18754 character 0xffff that matches the last element of the
18755 conversion table.
18756
1b671feb
AZ
187572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18758
18759 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18760 fmodl commit.
18761
6043738b
AZ
187622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18763
18764 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18765 values higher than 25.6283.
18766
34ae0b32
AZ
187672012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18768
18769 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18770 subnormal exponent extraction and add some __builtin_expect.
18771 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18772 Fix for subnormal mantissa calculation.
18773
1214ec8f
MF
187742012-06-04 Mike Frysinger <vapier@gentoo.org>
18775
18776 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18777 cpu2 is -1 and errno is not ENOSYS.
18778
f3d1f93c
L
187792012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18780
18781 [BZ #14117]
0e4a3cd7
L
18782 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18783 * sysdeps/x86/bits/string.h: This.
18784 * sysdeps/x86_64/bits/string.h: Removed.
18785
6704c645
L
18786 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18787 if not compiling for x86-64, but compiling for >= i486.
18788
48495318
L
18789 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18790 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18791
14adcbfc
L
18792 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18793 New macro from Linux kernel 3.4.0.
18794 (FP_XSTATE_MAGIC2): Likewise.
18795 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18796 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18797 (struct _fpx_sw_bytes): New struct.
18798 (struct _xsave_hdr): Likewise.
18799 (struct _ymmh_state): Likewise.
18800 (struct _xstate): Likewise.
18801
68e408ab
L
18802 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18803 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18804 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18805 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18806 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18807 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18808
f3d1f93c
L
18809 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18810 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18811 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18812 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18813 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18814 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18815
d9dc34cd
TMQMF
188162012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18817
18818 [BZ #13743]
18819 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18820 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18821 (sysdep_headers): Include sys/platform/ppc.h.
18822 * sysdeps/powerpc/test-gettimebase.c: Test for
18823 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18824 * manual/Makefile (appendices): Include platform.texi.
18825 * manual/contrib.texi (Contributors): Update @node pointers.
18826 * manual/maint.texi (Maintenance): Likewise.
18827 (Platform): New node.
18828 * manual/platform.texi: New file. Document the new features.
18829
4af3879c
SP
188302012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18831 Jakub Jelinek <jakub@redhat.com>
18832
18833 [BZ #14188]
18834 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18835 where __builtin_expect is unavailable.
18836
2fd6ff13
DM
188372012-06-03 David S. Miller <davem@davemloft.net>
18838
18839 * stdlib/longlong.h: Updated from GCC.
18840
173f7220
AS
188412012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18842
18843 [BZ #14042]
18844 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18845 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18846 __mcount_internal.
18847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18848 (GLIBC_2.16): Likewise.
18849
f34a1c6f
L
188502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18851
18852 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18853
88a4576f
JM
188542012-06-01 Joseph Myers <joseph@codesourcery.com>
18855
ea32bcdd
JM
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18857 (default-abi): New variable.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18859 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18860 variable.
18861 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18862 Likewise.
18863 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18864 Likewise.
18865 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18866 Likewise.
18867
88a4576f
JM
18868 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18869 definition. Document in comment.
18870
402fe938
DM
188712012-06-01 David S. Miller <davem@davemloft.net>
18872
18873 * stdlib/longlong.h: Updated from GCC.
18874
3553723f
L
188752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18876
18877 [BZ #14117]
3bd872c4
L
18878 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18879 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18880 sys/debugreg.h sys/io.h here.
18881 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18882 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18883 sys/io.h.
18884 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18885 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18886 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18887 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18888 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18889 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18890
3553723f
L
18891 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18892 Define only if __x86_64__ is defined.
18893
4842e4fe
JM
188942012-06-01 Joseph Myers <joseph@codesourcery.com>
18895
c5bfe3d5
JM
18896 [BZ #14048]
18897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18898 Use int64_t for variable i.
18899 * math/libm-test.inc (fmod_test): Add more tests.
18900
4842e4fe
JM
18901 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18902 z computation is not scheduled after fetestexcept.
18903 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18904 Use math_force_eval instead of asm to ensure calculation scheduled
18905 before exception test.
18906 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18907 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18908
efb73488
AJ
189092012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18910
18911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18912 computation is not scheduled after fetestexcept.
18913
29bcce7c
L
189142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18915
18916 [BZ #14117]
18917 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18918 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18919
73a68f94
AZ
189202012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18921
18922 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18923 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18924
67b6df78
L
189252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18926
edf2933a 18927 [BZ #14117]
ebc64a18
L
18928 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18929 <bits/wordsize.h>.
18930 (__WCHAR_MIN): Support __WORDSIZE == 64.
18931 (__WCHAR_MAX): Likewise.
18932
edf2933a
L
18933 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18934 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18935
57c6cf40
L
18936 [BZ #14183]
18937 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18938 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18939
67b6df78 18940 [BZ #14117]
8eb6281e
L
18941 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18942 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18943
aac639f4
L
18944 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18945 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18946
67b6df78
L
18947 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18948 Defined to 1 if __x86_64__ isn't defined.
18949 (_STAT_VER_LINUX_OLD): New.
18950 (st_atime): Remove duplicate.
18951 (st_mtime): Likewise.
18952 (st_ctime): Likewise.
18953
1c2cfe81
DM
189542012-05-31 David S. Miller <davem@davemloft.net>
18955
18956 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18957 entries.
18958
5be8418c
AS
189592012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18960
e7725326
AS
18961 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18962 gen-libm-test.pl.
18963
5be8418c
AS
18964 [BZ #14132]
18965 * elf/dl-reloc.c: Include <_itoa.h>.
18966 (_dl_reloc_bad_type): Remove use of INTUSE.
18967 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18968 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18969 * stdio-common/psiginfo.c (psiginfo): Likewise.
18970 * stdio-common/psignal.c (psignal): Likewise.
18971 * string/strsignal.c (strsignal): Likewise.
18972 * include/signal.h (_sys_siglist): Declare hidden proto.
18973 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18974 INTVARDEF with libc_hidden_data_def.
18975 * stdio-common/itoa-udigits.c: Likewise.
18976 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18977 (_itoa_lower_digits_internal): Remove declaration.
18978 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18979 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18980 (_sys_sigabbrev_internal): Remove aliases.
18981 (_sys_siglist): Define hidden alias.
18982
507352f1
MT
189832012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18984
18985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18986 bits/sysctl.h.
18987
42bbb1c3
L
189882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18989
18990 [BZ #14117]
6bd784b6
L
18991 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18992 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18993
8bca20f0
L
18994 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18995 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18996 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18997 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18998 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18999 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19000
f9e890a9
L
19001 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19002 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19003 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19004
471101a1
L
19005 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19006 with __addr.
19007 (insw): Likewise.
19008 (insl): Likewise.
19009 (outsb): Likewise.
19010 (outsw): Likewise.
19011 (outsl): Likewise.
19012
6451c862
L
19013 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19014 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19015 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19016
a254b8c9
L
19017 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19018 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19019 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19020 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19021 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19022 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19023
b8dfdd92
L
19024 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19025 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19026
578cd270
L
19027 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19028 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19029
de662f5f
L
19030 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19031 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19032 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19033
25653439
L
19034 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19035 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19036 to ...
19037 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19038
6bad24a0
L
19039 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19040 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19041 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19042
42bbb1c3
L
19043 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19044 for x86-64.
19045 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19046
2d10d547
JM
190472012-05-31 Joseph Myers <joseph@codesourcery.com>
19048
19049 * math/math.h (M_El): Use two more decimal places.
19050 (M_LOG2El): Likewise.
19051 (M_LOG10El): Likewise.
19052 (M_LN2l): Likewise.
19053 (M_LN10l): Likewise.
19054 (M_PIl): Likewise.
19055 (M_PI_2l): Likewise.
19056 (M_PI_4l): Likewise.
19057 (M_1_PIl): Likewise.
19058 (M_2_PIl): Likewise.
19059 (M_2_SQRTPIl): Likewise.
19060 (M_SQRT2l): Likewise.
19061 (M_SQRT1_2l): Likewise.
19062
f230c29b
DM
190632012-05-31 David S. Miller <davem@davemloft.net>
19064
19065 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19066 values between float registers.
19067 * sysdeps/sparc/sparc64/memset.S: Likewise.
19068 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19069
fed806c3
MF
190702012-05-31 Mike Frysinger <vapier@gentoo.org>
19071
19072 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19073 -D_FORTIFY_SOURCE=1.
19074 (CPPFLAGS-tst-longjmp_chk.c): Define.
19075 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19076 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19077 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19078 CFLAGS-tst-wchar-h.c.
19079
30917259
MP
190802012-05-31 Marek Polacek <polacek@redhat.com>
19081
19082 [BZ #14132]
19083 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19084 __endmntent_internal): Remove declaration.
19085 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19086 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19087 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19088
1c58d5dc
DM
190892012-05-30 David S. Miller <davem@davemloft.net>
19090
19091 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19092 (___Q_simulate_exceptions): Use real FP ops rather than writing
19093 into the %fsr.
19094 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19095 Likewise.
19096
7dc00e0d
L
190972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19098
19099 [BZ #14117]
0bd53985
L
19100 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19101 * sysdeps/x86/bits/xtitypes.h: This.
19102
3a257e66
L
19103 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19104 * sysdeps/x86/bits/wordsize.h: This.
19105
62f62904
L
19106 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19107 * sysdeps/x86/bits/huge_vall.h: This.
19108
404fe9d9
L
19109 * sysdeps/i386/bits/select.h: Removed.
19110 * sysdeps/x86_64/bits/select.h: Renamed to ...
19111 * sysdeps/x86/bits/select.h: This.
19112
d48d0446
L
19113 * sysdeps/i386/bits/setjmp.h: Removed.
19114 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19115 * sysdeps/x86/bits/setjmp.h: This.
19116
7dc00e0d
L
19117 * sysdeps/i386/bits/mathdef.h: Removed.
19118 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19119 * sysdeps/x86/bits/mathdef.h: This.
19120
03277f8f
AS
191212012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19122
19123 [BZ #14132]
19124 * include/sys/socket.h (__connect_internal)
19125 (__libc_sa_len_internal): Remove declaration.
19126 (__connect, __libc_sa_len): Declare hidden_proto.
19127 (SA_LEN): Remove use of INTUSE.
19128 * socket/connect.c: Add libc_hidden_def.
19129 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19130 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19131 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19132 alias.
19133 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19134 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19135 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19136 of adding _internal alias.
19137
13764867
L
191382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19139
19140 [BZ #14117]
6bd97696
L
19141 * sysdeps/i386/bits/link.h: Removed.
19142 * sysdeps/i386/bits/linkmap.h: Likewise.
19143 * sysdeps/x86_64/bits/link.h: Renamed to ...
19144 * sysdeps/x86/bits/link.h: This.
19145 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19146 * sysdeps/x86/bits/linkmap.h: This.
19147
f726f0bb
L
19148 * sysdeps/i386/bits/endian.h: Removed.
19149 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19150 * sysdeps/x86/bits/endian.h: This.
19151
13764867
L
19152 * sysdeps/i386/bits/byteswap.h: Removed.
19153 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19154 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19155 * sysdeps/x86/bits/byteswap.h: This.
19156 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19157 * sysdeps/x86/bits/byteswap-16.h: This.
19158 * sysdeps/i386/Implies: Add x86.
19159 * sysdeps/x86_64/Implies: Likewise.
19160
ae251b0b
DM
191612012-05-30 David S. Miller <davem@davemloft.net>
19162
19163 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19164 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19165 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19166 (FP_TRAPPING_EXCEPTIONS): Define.
19167 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19168 (FP_TRAPPING_EXCEPTIONS): Define.
19169 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19170 subnormals only when inexact has been signalled or underflow
19171 exceptions are enabled.
19172 (_FP_PACK_CANONICAL): Likewise.
19173
d5c90867
L
191742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19175
19176 [BZ #14183]
19177 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19178 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19179
63f1549e
RH
191802012-05-30 Richard Henderson <rth@twiddle.net>
19181
8d8f2279
RH
19182 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19183 with #ifndef NOT_IN_libc.
19184
63f1549e
RH
19185 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19186 marked to avoid plt entry.
19187
0ab0291b
L
191882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19189
19190 [BZ #14112]
19191 * Makeconfig (default-abi): New macro.
19192 (abi-includes): Likewise.
19193 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19194 $(abi-$(default-abi)-lib-soname) for soname if defined.
19195 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19196 abi-variants.
19197 * Makefile (installed-stubs): Likewise.
19198 * include/stubs-biarch.h: Removed.
19199 * scripts/lib-names.awk: Only handle one library at a time.
19200 * scripts/soversions.awk: Remove WORDSIZE support.
19201 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19202 entries.
19203 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19204 Removed.
19205 (syscall-list-default-condition): Likewise.
19206 (syscall-list-default-condition): Likewise.
19207 (syscall-list-includes): Likewise.
19208 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19209 syscall-list-* with abi-*. Handle undefined abi-variants.
19210 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19211 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19212 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19213 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19214 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19215 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19216 Removed.
19217 (syscall-list-32-options): Likewise.
19218 (syscall-list-32-condition): Likewise.
19219 (syscall-list-64-options): Likewise.
19220 (syscall-list-64-condition): Likewise.
19221 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19222 macro.
19223 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19224 Renamed to ...
19225 (abi-*): This.
19226 (abi-64-ld-soname): New macro.
19227 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19228 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19229 Renamed to ...
19230 (abi-*): This.
19231 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19232 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19233
4da0431d
JM
192342012-05-30 Joseph Myers <joseph@codesourcery.com>
19235
3a85279c
JM
19236 * sysdeps/unix/sysv/linux/kernel-features.h
19237 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19238 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19239 include <kernel-features.h>.
19240 [!__NR_ftruncate64]: Remove conditional code.
19241 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19242 [__NR_ftruncate64]: Make code unconditional.
19243 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19244 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19245 include <kernel-features.h>.
19246 [!__NR_ftruncate64]: Remove conditional code.
19247 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19248 [__NR_ftruncate64]: Make code unconditional.
19249 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19251 include <kernel-features.h>.
19252 [!__NR_ftruncate64]: Remove conditional code.
19253 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19254 [__NR_ftruncate64]: Make code unconditional.
19255 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19257 include <kernel-features.h>.
19258 [!__NR_ftruncate64]: Remove conditional code.
19259 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19260 [__NR_ftruncate64]: Make code unconditional.
19261 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19262
4da0431d
JM
19263 * configure.in (libc_cv_fpie): Weaken to a compile test using
19264 LIBC_TRY_CC_OPTION.
19265 * configure: Regenerated.
19266
11ef492c
AK
192672012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19268
19269 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19271 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19273 Refreshed.
19274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19275 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19280 Refreshed.
19281
d66ef399
DM
192822012-05-27 David S. Miller <davem@davemloft.net>
19283
19284 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19285 (___Q_zero): New.
19286 (__Q_simulate_exceptions): Return void. Change to simulate
19287 exceptions by writing into the %fsr.
19288 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19289 (__Qp_handle_exceptions): Likewise.
19290 (numbers): Delete.
19291 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19292 __Qp_handle_exceptions.
19293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19294 __Qp_handle_exceptions.
19295 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19296 as unused and give dummy FP_RND_NEAREST initializer.
19297 (FP_INHIBIT_RESULTS): Define.
19298 (___Q_simulate_exceptions): Update declaration.
19299 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19300 formatting.
19301 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19302 as unused and give dummy FP_RND_NEAREST initializer.
19303 (__Qp_handle_exceptions): Update declaration.
19304 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19305 formatting.
19306
04fb54b5
TS
193072012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19308
19309 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19310 the temporary FPU control word.
19311 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19312 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19313 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19314 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19315 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19316 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19317 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19318 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19319 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19320 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19321 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19322
3f99608f
KK
193232012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19324
19325 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19326 fields.
19327
65a4de4e
CLT
193282012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19329
19330 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19331 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19332 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19333 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19334 Likewise.
19335 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19336 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19337 Likewise.
19338
15749d40
UD
193392012-05-27 Ulrich Drepper <drepper@gmail.com>
19340
19341 * po/h.po: Update from translation team.
19342
25dbcb27
AS
193432012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19344
3d3f8e55
AS
19345 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19346
25dbcb27
AS
19347 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19348 handling of denormals.
19349 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19350 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19351 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19352 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19353 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19354 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19356 Likewise.
19357
7ad47a80 193582012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19359
19360 [BZ #14152]
19361 * math/libm-test.inc (fma_test): Don't always expect underflow
19362 exception.
19363
9c6ea9fa
SP
193642012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19365
19366 [BZ #12416]
19367 * elf/tst-execstack.c: Include stackinfo.h.
19368 (do_test): Adjust test case to ensure that pthread_getattr_np
19369 behaviour remains the same after marking stack executable.
19370
a8239222
JM
193712012-05-25 Joseph Myers <joseph@codesourcery.com>
19372
19373 * sysdeps/unix/sysv/linux/kernel-features.h
19374 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19375 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19376 kernel-features.h.
19377 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19378 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19379 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19380 kernel-features.h.
19381 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19382 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19383
918b5606
L
193842012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19385
19386 * configure.in: Define the default includes to being none.
19387 * configure: Regenerated.
19388
3a097cc7
RM
193892012-05-25 Roland McGrath <roland@hack.frob.com>
19390
8422c9a5
RM
19391 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19392 * sysdeps/x86_64/setjmp.S: Likewise.
19393 * sysdeps/i386/bsd-setjmp.S: Likewise.
19394 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19395 * sysdeps/i386/setjmp.S: Likewise.
19396 * sysdeps/i386/__longjmp.S: Likewise.
19397 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19398 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19399
3a097cc7
RM
19400 * include/stap-probe.h: New file.
19401 * configure.in: Handle --enable-systemtap.
19402 * configure: Regenerated.
19403 * config.h.in (USE_STAP_PROBE): New #undef.
19404 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19405 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19406 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19407
21708942
JM
194082012-05-25 Joseph Myers <joseph@codesourcery.com>
19409
19410 [BZ #13717]
19411 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19412 to 2.4.0 where earlier.
19413 * sysdeps/unix/sysv/linux/configure: Regenerated.
19414 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
19423 [__ASSUME_32BITUIDS]: Make code unconditional.
19424 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19425 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19426 <kernel-features.h>.
19427 [__ASSUME_32BITUIDS]: Make code unconditional.
19428 [!__ASSUME_32BITUIDS]: Remove conditional code.
19429 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19430 <kernel-features.h>.
19431 [__ASSUME_32BITUIDS]: Make code unconditional.
19432 [!__ASSUME_32BITUIDS]: Remove conditional code.
19433 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19434 <kernel-features.h>.
19435 [__ASSUME_32BITUIDS]: Make code unconditional.
19436 [!__ASSUME_32BITUIDS]: Remove conditional code.
19437 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19438 <kernel-features.h>.
19439 [__ASSUME_32BITUIDS]: Make code unconditional.
19440 [!__ASSUME_32BITUIDS]: Remove conditional code.
19441 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19442 <kernel-features.h>.
19443 [__ASSUME_32BITUIDS]: Make code unconditional.
19444 [!__ASSUME_32BITUIDS]: Remove conditional code.
19445 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19446 <kernel-features.h>.
19447 [__ASSUME_32BITUIDS]: Make code unconditional.
19448 [!__ASSUME_32BITUIDS]: Remove conditional code.
19449 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19450 <kernel-features.h>.
19451 [__ASSUME_32BITUIDS]: Make code unconditional.
19452 [!__ASSUME_32BITUIDS]: Remove conditional code.
19453 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19454 <kernel-features.h>.
19455 [__ASSUME_32BITUIDS]: Make code unconditional.
19456 [!__ASSUME_32BITUIDS]: Remove conditional code.
19457 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19458 <kernel-features.h>.
19459 [__ASSUME_32BITUIDS]: Make code unconditional.
19460 [!__ASSUME_32BITUIDS]: Remove conditional code.
19461 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19462 <kernel-features.h>.
19463 [__ASSUME_32BITUIDS]: Make code unconditional.
19464 [!__ASSUME_32BITUIDS]: Remove conditional code.
19465 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19466 <kernel-features.h>.
19467 [__NR_setresgid] (__setresgid): Do not declare.
19468 [__ASSUME_32BITUIDS]: Make code unconditional.
19469 [!__ASSUME_32BITUIDS]: Remove conditional code.
19470 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19471 <kernel-features.h>.
19472 [__NR_setresuid] (__setresuid): Do not declare.
19473 [__ASSUME_32BITUIDS]: Make code unconditional.
19474 [!__ASSUME_32BITUIDS]: Remove conditional code.
19475 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19476 <kernel-features.h>.
19477 [__ASSUME_32BITUIDS]: Make code unconditional.
19478 [!__ASSUME_32BITUIDS]: Remove conditional code.
19479 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19480 <kernel-features.h>.
19481 [__ASSUME_32BITUIDS]: Make code unconditional.
19482 [!__ASSUME_32BITUIDS]: Remove conditional code.
19483 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19484 <kernel-features.h>.
19485 [__ASSUME_32BITUIDS]: Make code unconditional.
19486 [!__ASSUME_32BITUIDS]: Remove conditional code.
19487 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19488 <kernel-features.h>.
19489 [__ASSUME_32BITUIDS]: Make code unconditional.
19490 [!__ASSUME_32BITUIDS]: Remove conditional code.
19491 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19492 <kernel-features.h>.
19493 [__ASSUME_32BITUIDS]: Make code unconditional.
19494 [!__ASSUME_32BITUIDS]: Remove conditional code.
19495 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19496 <kernel-features.h>.
19497 [__ASSUME_32BITUIDS]: Make code unconditional.
19498 [!__ASSUME_32BITUIDS]: Remove conditional code.
19499 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19500 <kernel-features.h>.
19501 [__ASSUME_32BITUIDS]: Make code unconditional.
19502 [!__ASSUME_32BITUIDS]: Remove conditional code.
19503 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19504 <kernel-features.h>.
19505 [__ASSUME_32BITUIDS]: Make code unconditional.
19506 [!__ASSUME_32BITUIDS]: Remove conditional code.
19507 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19508 <kernel-features.h>.
19509 [__ASSUME_32BITUIDS]: Make code unconditional.
19510 [!__ASSUME_32BITUIDS]: Remove conditional code.
19511 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19512 <kernel-features.h>.
19513 [__ASSUME_32BITUIDS]: Make code unconditional.
19514 [!__ASSUME_32BITUIDS]: Remove conditional code.
19515 * sysdeps/unix/sysv/linux/kernel-features.h
19516 (__ASSUME_SETRESUID_SYSCALL): Remove.
19517 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19518 (__ASSUME_32BITUIDS): Likewise.
19519 (__ASSUME_LDT_WORKS): Likewise.
19520 (__ASSUME_O_DIRECTORY): Likewise.
19521 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19522 architecture but not kernel version.
19523 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19524 (__ASSUME_MMAP2_SYSCALL): Likewise.
19525 (__ASSUME_STAT64_SYSCALL): Likewise.
19526 (__ASSUME_IPC64): Likewise.
19527 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19528 <kernel-features.h>.
19529 [__ASSUME_32BITUIDS]: Make code unconditional.
19530 [!__ASSUME_32BITUIDS]: Remove conditional code.
19531 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19532 <kernel-features.h>.
19533 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19534 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19535 132096]: Remove conditional code.
19536 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19537 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19538 <kernel-features.h>.
19539 [__ASSUME_32BITUIDS]: Make code unconditional.
19540 [!__ASSUME_32BITUIDS]: Remove conditional code.
19541 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19542 <kernel-features.h>.
19543 [__ASSUME_32BITUIDS]: Make code unconditional.
19544 [!__ASSUME_32BITUIDS]: Remove conditional code.
19545 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19546 <kernel-features.h>.
19547 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19548 unconditional.
19549 (__setresgid): Do not declare.
19550 [__ASSUME_32BITUIDS]: Make code unconditional.
19551 [!__ASSUME_32BITUIDS]: Remove conditional code.
19552 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19553 <kernel-features.h>.
19554 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19555 unconditional.
19556 (__setresuid): Do not declare.
19557 [__ASSUME_32BITUIDS]: Make code unconditional.
19558 [!__ASSUME_32BITUIDS]: Remove conditional code.
19559 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19560 <kernel-features.h>.
19561 [__ASSUME_32BITUIDS]: Make code unconditional.
19562 [!__ASSUME_32BITUIDS]: Remove conditional code.
19563 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19564 <kernel-features.h>.
19565 [__ASSUME_32BITUIDS]: Make code unconditional.
19566 [!__ASSUME_32BITUIDS]: Remove conditional code.
19567
a386f1cc
RH
195682012-05-25 Richard Henderson <rth@twiddle.net>
19569
19570 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19571 dl_hwcap to ifunc resolver.
19572 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19573 elf_ifunc_invoke.
19574 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19575 dl_hwcap to ifunc resolver.
19576 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19577
b6550497
JM
195782012-05-24 Joseph Myers <joseph@codesourcery.com>
19579
19580 [BZ #14153]
19581 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19582 for |x| <= 2**-26, not 2**-57.
19583 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19584 exception.
19585
b0bc23a1
JL
195862012-05-24 Jeff Law <law@redhat.com>
19587
19588 * stdio-common/Makefile (tests): Add bug25.
19589 * stdio-common/bug25.c: New test.
19590
347c92e9
L
195912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19592
19593 [BZ #13576]
19594 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19595 multiple of MALLOC_ALIGNMENT in size.
19596 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19597
6bcc8b3f
JM
195982012-05-24 Joseph Myers <joseph@codesourcery.com>
19599
19600 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19601 Require >= 256.
19602 (FILENAME_MAX): Use macro-int-constant.
19603 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19604 (_IOFBF): Use macro-int-constant.
19605 (_IOLBF): Likewise.
19606 (_IONBF): Likewise.
19607 (SEEK_CUR): Likewise.
19608 (SEEK_END): Likewise.
19609 (SEEK_SET): Likewise.
19610 (TMP_MAX): Likewise.
19611 (EOF): Use macro-int-constant. Require < 0.
19612 (NULL): Use macro-constant. Require == 0.
19613 (stdin): Require type to be FILE *.
19614 (stdout): Likewise.
19615 (stderr): Likewise.
19616 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19617 macro-int-constant.
19618 (EXIT_SUCCESS): Likewise.
19619 (NULL): Use macro-constant. Require == 0.
19620 (RAND_MAX): Use macro-int-constant.
19621 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19622 [C99-based standards] (strtof): Require function.
19623 [C99-based standards] (strtold): Likewise.
19624 [C99-based standards] (strtoll): Likewise.
19625 [C99-based standards] (strtoull): Likewise.
19626 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19627 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19628 [ISO || ISO99 || ISO11] (math.h): Likewise.
19629 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19630 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19631 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19632
d18ea0c5
AS
196332012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19634
19635 [BZ #14132]
56d25bb8
AS
19636 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19637 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19638 * intl/dgettext.c (DCGETTEXT): Likewise.
19639 * intl/gettext.c (DCGETTEXT): Likewise.
19640 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19641 * posix/regex_internal.h (gettext): Likewise.
19642 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19643 Remove declaration.
19644 * include/argz.h (__argz_count_internal)
19645 (__argz_stringify_internal): Remove declaration.
19646 (__argz_count, __argz_stringify): Declare hidden proto.
19647 * intl/dcgettext.c: Remove use of INTDEF.
19648 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19649 * string/argz-stringify.c: Likewise.
19650 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19651 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19652 Declare hidden proto.
d18ea0c5
AS
19653 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19654 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19655 Declare hidden proto.
19656 * include/stdio.h (__asprintf_internal): Don't declare.
19657 (__asprintf): Don't define as macro. Declare hidden proto.
19658 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19659 (__fsetlocking): Declare hidden proto.
19660 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19661 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19662 hidden proto.
19663 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19664 (_IO_setlinebuf): Remove use of INTUSE.
19665 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19666 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19667 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19668 Remove declaration.
19669 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19670 (_IO_do_flush): Remove use of INTUSE.
19671 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19672 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19673 (_IO_adjust_column, _IO_least_wmarker)
19674 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19675 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19676 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19677 (_IO_default_doallocate, _IO_wdefault_doallocate)
19678 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19679 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19680 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19681 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19682 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19683 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19684 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19685 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19686 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19687 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19688 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19689 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19690 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19691 proto.
19692 (_IO_flush_all_internal, _IO_adjust_column_internal)
19693 (_IO_default_uflow_internal, _IO_default_finish_internal)
19694 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19695 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19696 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19697 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19698 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19699 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19700 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19701 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19702 (_IO_file_close_internal, _IO_file_close_it_internal)
19703 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19704 (_IO_file_init_internal, _IO_file_attach_internal)
19705 (_IO_file_fopen_internal, _IO_file_read_internal)
19706 (_IO_file_sync_internal, _IO_file_seek_internal)
19707 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19708 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19709 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19710 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19711 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19712 (_IO_list_all_internal, _IO_link_in_internal)
19713 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19714 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19715 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19716 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19717 (_IO_do_write_internal, _IO_padn_internal)
19718 (_IO_getline_info_internal, _IO_getline_internal)
19719 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19720 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19721 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19722 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19723 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19724 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19725 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19726 with libc_hidden_ver, remove use of INTUSE.
19727 * libio/genops.c: Likewise.
19728 * libio/freopen.c: Likewise.
19729 * libio/freopen64.c: Likewise.
19730 * libio/iofclose.c: Likewise.
19731 * libio/iofdopen.c: Likewise.
19732 * libio/iofflush.c: Likewise.
19733 * libio/iofflush_u.c: Likewise.
19734 * libio/iofgets.c: Likewise.
19735 * libio/iofgets_u.c: Likewise.
19736 * libio/iofopen.c: Likewise.
19737 * libio/iofopncook.c: Likewise.
19738 * libio/iofread.c: Likewise.
19739 * libio/iofread_u.c: Likewise.
19740 * libio/ioftell.c: Likewise.
19741 * libio/iofwrite.c: Likewise.
19742 * libio/iogetline.c: Likewise.
19743 * libio/iogets.c: Likewise.
19744 * libio/iogetwline.c: Likewise.
19745 * libio/iopadn.c: Likewise.
19746 * libio/iopopen.c: Likewise.
19747 * libio/ioseekoff.c: Likewise.
19748 * libio/ioseekpos.c: Likewise.
19749 * libio/iosetbuffer.c: Likewise.
19750 * libio/iosetvbuf.c: Likewise.
19751 * libio/ioungetc.c: Likewise.
19752 * libio/ioungetwc.c: Likewise.
19753 * libio/iovdprintf.c: Likewise.
19754 * libio/iovsprintf.c: Likewise.
19755 * libio/iovsscanf.c: Likewise.
19756 * libio/memstream.c: Likewise.
19757 * libio/obprintf.c: Likewise.
19758 * libio/oldfileops.c: Likewise.
19759 * libio/oldiofclose.c: Likewise.
19760 * libio/oldiofdopen.c: Likewise.
19761 * libio/oldiofopen.c: Likewise.
19762 * libio/oldiopopen.c: Likewise.
19763 * libio/oldstdfiles.c: Likewise.
19764 * libio/putc.c: Likewise.
19765 * libio/setbuf.c: Likewise.
19766 * libio/setlinebuf.c: Likewise.
19767 * libio/stdfiles.c: Likewise.
19768 * libio/strops.c: Likewise.
19769 * libio/vasprintf.c: Likewise.
19770 * libio/vscanf.c: Likewise.
19771 * libio/vsnprintf.c: Likewise.
19772 * libio/vswprintf.c: Likewise.
19773 * libio/wfiledoalloc.c: Likewise.
19774 * libio/wfileops.c: Likewise.
19775 * libio/wgenops.c: Likewise.
19776 * libio/wmemstream.c: Likewise.
19777 * libio/wstrops.c: Likewise.
19778 * libio/__fpurge.c: Likewise.
19779 * libio/__fsetlocking.c: Likewise.
19780 * assert/assert.c: Likewise.
19781 * debug/fgets_chk.c: Likewise.
19782 * debug/fgets_u_chk.c: Likewise.
19783 * debug/fread_chk.c: Likewise.
19784 * debug/fread_u_chk.c: Likewise.
19785 * debug/gets_chk.c: Likewise.
19786 * debug/obprintf_chk.c: Likewise.
19787 * debug/vasprintf_chk.c: Likewise.
19788 * debug/vdprintf_chk.c: Likewise.
19789 * debug/vsnprintf_chk.c: Likewise.
19790 * debug/vsprintf_chk.c: Likewise.
19791 * malloc/mtrace.c: Likewise.
19792 * misc/error.c: Likewise.
19793 * misc/syslog.c: Likewise.
19794 * stdio-common/asprintf.c: Likewise.
19795 * stdio-common/fxprintf.c: Likewise.
19796 * stdio-common/getw.c: Likewise.
19797 * stdio-common/isoc99_fscanf.c: Likewise.
19798 * stdio-common/isoc99_scanf.c: Likewise.
19799 * stdio-common/isoc99_vfscanf.c: Likewise.
19800 * stdio-common/isoc99_vscanf.c: Likewise.
19801 * stdio-common/isoc99_vsscanf.c: Likewise.
19802 * stdio-common/printf-prs.c: Likewise.
19803 * stdio-common/printf_fp.c: Likewise.
19804 * stdio-common/printf_fphex.c: Likewise.
19805 * stdio-common/printf_size.c: Likewise.
19806 * stdio-common/putw.c: Likewise.
19807 * stdio-common/scanf.c: Likewise.
19808 * stdio-common/sprintf.c: Likewise.
19809 * stdio-common/tmpfile.c: Likewise.
19810 * stdio-common/vfprintf.c: Likewise.
19811 * stdio-common/vfscanf.c: Likewise.
19812 * stdlib/strfmon_l.c: Likewise.
19813 * sunrpc/openchild.c: Likewise.
19814 * sunrpc/xdr_stdio.c: Likewise.
19815 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19816 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19817
d6c33fda
RM
198182012-05-24 Roland McGrath <roland@hack.frob.com>
19819
c1487492
RM
19820 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19821
19822 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19823 in the third column, to generate for the shared library an IFUNC
19824 that uses _dl_vdso_vsym.
19825 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19826 * Makeconfig (object-suffixes-noshared): New variable.
19827
19828 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19829 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19830 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19831 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19832
d6c33fda
RM
19833 [BZ #14132]
19834 * include/sys/time.h (__gettimeofday): Remove macro.
19835 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19836 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19837 Remove INTDEF.
19838 (__gettimeofday): Add libc_hidden_def.
19839 (gettimeofday): Add libc_hidden_weak.
19840 * sysdeps/mach/gettimeofday.c: Likewise.
19841 * sysdeps/posix/gettimeofday.c: Likewise.
19842 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19843 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19844 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19845 (__gettimeofday_internal): Remove strong_alias.
19846 (__gettimeofday): Add libc_hidden_def.
19847 (gettimeofday): Add libc_hidden_weak.
19848 * sysdeps/unix/syscalls.list (gettimeofday):
19849 Remove __gettimeofday_internal alias.
19850
b5a2bbe6
L
198512012-05-24 Daniel Jacobowitz <drow@false.org>
19852 H.J. Lu <hongjiu.lu@intel.com>
19853
19854 [BZ #12495]
19855 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19856 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19857 (largebin_index_32_big): New.
19858 (largebin_index): Use it for 16-byte alignment.
19859 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19860 correction with front_misalign.
19861
cfba4fda
L
198622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19863
7f907421
L
19864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19866 Likewise.
19867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19868 Likewise.
19869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19870 Likewise.
19871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19872 Likewise.
19873 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19874 Likewise.
19875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19876 Likewise.
19877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19878 Likewise.
19879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19880 Likewise.
19881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19882 Likewise.
19883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19884 Likewise.
19885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19886 Likewise.
19887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19888 Likewise.
19889
cfba4fda
L
19890 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19891 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19892
80bad0cc
JM
198932012-05-24 Joseph Myers <joseph@codesourcery.com>
19894
7a25eb06
JM
19895 [BZ #10846]
19896 [BZ #14036]
19897 * math/libm-test.inc (exp_test): Add test from bug 14036.
19898 (pow_test): Add test from bug 10846.
19899
795405f9
JM
19900 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19901 and other flags.
19902 (special_function): Do not include flags in test name.
19903 (parse_args): Likewise.
19904 * sysdeps/i386/fpu/libm-test-ulps: Update.
19905 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19906 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19907 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19909
80bad0cc
JM
19910 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19911 exceptions.
19912 * math/libm-test.inc ("Philosophy"): Update comment about
19913 exception testing.
19914 (UNDERFLOW_EXCEPTION): New macro.
19915 (UNDERFLOW_EXCEPTION_OK): Likewise.
19916 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19917 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19918 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19919 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19920 (INVALID_EXCEPTION_OK): Update value.
19921 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19922 (OVERFLOW_EXCEPTION_OK): Likewise.
19923 (IGNORE_ZERO_INF_SIGN): Likewise.
19924 (test_exceptions): Handle underflow exceptions.
19925 (acos_test): Update for underflow exception expectations.
19926 (cexp_test): Likewise.
19927 (clog_test): Likewise.
19928 (clog10_test): Likewise.
19929 (csqrt_test): Likewise.
19930 (ctan_test): Likewise.
19931 (ctanh_test): Likewise.
19932 (exp_test): Likewise.
19933 (exp10_test): Likewise.
19934 (exp2_test): Likewise.
19935 (expm1_test): Likewise.
19936 (fma_test): Likewise.
19937 (j0_test): Likewise.
19938 (jn_test): Likewise.
19939 (nexttoward_test): Likewise.
19940 (pow_test): Likewise.
19941 (scalbn_test): Likewise.
19942 (scalbln_test): Likewise.
19943 (tan_test): Likewise.
19944 (y1_test): Likewise.
19945 * sysdeps/i386/fpu/libm-test-ulps: Update.
19946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19947
9e0e3d0b
DM
199482012-05-23 David S. Miller <davem@davemloft.net>
19949
19950 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19951 (__libc_sigaction): Remove unused local variables.
19952
ccd0a08f
L
199532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19954
19955 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19956
62bdf9a6
PE
199572012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19958
f8591f80
PE
19959 mktime: avoid signed integer overflow
19960 * time/mktime.c (__mktime_internal): Do not mishandle the case
19961 where diff == INT_MIN.
19962
94c7d826
PE
19963 mktime: simplify computation of average
19964 * time/mktime.c (ranged_convert): Use new time_t_avg function
19965 instead of rolling our own (probably-slower) code.
19966
ce73d683
PE
19967 mktime: do not assume signed right shift propagates sign bit
19968 * time/mktime.c (isdst_differ): New static function.
19969 (__mktime_internal): No need to normalize tm_isdst now.
19970 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19971 tm_isdst values.
19972
72a22e59
PE
19973 mktime: merge another wrapv change from gnulib
19974 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19975 from some compilers.
19976
68605433
PE
19977 mktime: remove incorrect attempt at unusual arithmetics
19978 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19979 The code didn't really work on such machines anyway.
19980 (TYPE_MINIMUM): Assume two's complement.
19981 (twos_complement_arithmetic): Verify that long_int and time_t
19982 are two's complement (or unsigned, in the latter case).
19983
03cf7fe3
PE
19984 mktime: check signed shifts on long_int and time_t, too
19985 * time/mktime.c (SHR): Check that shifts work as desired
19986 on the types long_int and time_t too, as SHR is used on
19987 such types.
19988
f04dfbc2
PE
19989 mktime: do not assume 'long' is wide enough
19990 * time/mktime.c (verify): Move decl up.
19991 (long_int): New type.
19992 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19993 to remove assumption in the code that 'long' is wide enough to
19994 store year values. This assumption is not true on x32 and on
19995 some non-glibc platforms.
19996
62bdf9a6
PE
19997 mktime: merge wrapv change from gnulib
19998 * time/mktime.c (WRAPV): New macro.
19999 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20000 (guess_time_tm, __mktime_internal): Do not assume that signed
20001 integer overflow wraps around; modern compilers generate code
20002 where this assumption is no longer valid.
20003
5e292e4f
L
200042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20005
20006 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20007 Replace "jmp L(pseudo_end)" with "ret".
20008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20009 Likewise.
20010
8caf8c87
AJ
200112012-05-23 Andreas Jaeger <aj@suse.de>
20012
20013 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20014 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20015
1a09dc56
AJ
200162012-05-23 Andreas Jaeger <aj@suse.de>
20017 Maximilian Attems <max@stro.at>
20018
20019 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20020 New macros.
20021
1c87aba0
L
200222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20023
20024 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20025 code so that pseudo_end is just ret and the stack pointer is
20026 correct also for static library in error case.
20027
40e45bd5
JM
200282012-05-23 Joseph Myers <joseph@codesourcery.com>
20029
c2670533
JM
20030 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20031 move to syscalls.list.
20032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20036
40e45bd5
JM
20037 * manual/install.texi (Running make install): Do not mention Linux
20038 kernel version for which pt_chown is not needed.
20039 (Linux): Do not mention problems with nscd with 2.0 kernels.
20040 * INSTALL: Regenerated.
20041
be08eda5
AJ
200422012-05-23 Andreas Jaeger <aj@suse.de>
20043
20044 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20045 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20046 macro.
20047 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20048 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20049 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20050 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20051 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20052 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20053 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20054 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20055 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20056 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20057 * sysdeps/unix/sysv/linux/bits/in.h
20058 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20059
a6a056bb
RM
200602012-05-22 Roland McGrath <roland@hack.frob.com>
20061
20062 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20063 (PREPARE_VERSION): Just use assert instead, it will be elided
20064 under [NDEBUG] anyway.
20065
c9009328
L
200662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20067
20068 * sysdeps/unix/sysv/linux/Makefile: Include
20069 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20070 (sysdep_routines): Remove sysctl.
c9009328
L
20071 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20072 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20073 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20074 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20075 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20076
73338355
AJ
200772012-05-22 Andreas Jaeger <aj@suse.de>
20078
20079 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20080 that pseudo_end is just ret and the stack pointer is correct also
20081 for static library in error case.
20082
d44638b0
PP
200832012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20084
20085 [BZ #14122]
20086 * nss/nsswitch.c (defconfig_entries): New variable.
20087 (__nss_database_lookup): Don't leak defconfig entries.
20088 (nss_parse_service_list): Don't leak on error paths.
20089 (free_database_entries): New function.
20090 (free_defconfig): New function.
20091 (free_mem): Move common code to free_database_entries.
20092
31a39bd8
L
200932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20094
da0331a8
L
20095 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20096 Add arch_prctl.
20097 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20098
31a39bd8
L
20099 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20100 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20102 New macro.
20103 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20104 (INTERNAL_SYSCALL_TYPES): Likewise.
20105 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20106 (LOAD_REGS_TYPES_[1-6]): Likewise.
20107 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20108 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20109
45470df3
AZ
201102012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20111
20112 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20113 copysignl for GLIBC_2_0.
20114 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20115 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20117 logbl for GLIBC_2_0.
20118 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20119 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20120
98a61bcb
L
201212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20122
a4f6e481
L
20123 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20124 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20125
f63d5db6
L
20126 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20127 Use "neg %eax".
20128
98a61bcb
L
20129 * time/mktime.c: Update copyright years.
20130
95770f14
PE
201312012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20132
6226efbd
PE
20133 mktime: merge comment-quoting-style change from gnulib
20134 * time/mktime.c: Quote 'like this' in comments.
20135 The GNU coding standards suggest that we no longer quote `like this',
20136 as "`" and "'" are typically rendered asymmetrically nowadays.
20137 The typical gnulib style is to quote 'like this' when quoting
20138 code, and "like this" when quoting English.
20139
b99e4f78
PE
20140 * time/mktime.c (compile-command): Add "-I.".
20141
643e01e6
PE
20142 mktime: merge mktime-internal.h change from gnulib
20143 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20144
2554247d
PE
20145 mktime: merge time_r change from gnulib
20146 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20147
826dd0ab
PE
20148 mktime: merge DEBUG change from gnulib
20149 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20150 case system <time.h> has a #define.
20151
bd83aabe
PE
20152 mktime: merge <sys/types.h> change from gnulib
20153 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20154 since <time.t> is now guaranteed to define time_t.
20155
95770f14
PE
20156 mktime: merge HAVE_CONFIG_H change from gnulib
20157 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20158
5e1a27a9
L
201592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20160
0e44a77e
L
20161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20162 Use "neg %eax".
20163
5e1a27a9
L
20164 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20165 __rlim_t cast.
20166 (struct rusage): Use anonymous union to pad each field to
20167 __syscall_slong_t.
20168
46259bec
DM
201692012-05-21 David S. Miller <davem@davemloft.net>
20170
20171 * Makefules (o-iterator): Remove .s cases.
20172 (compile-command.s): Delete.
20173 (COMPILE.s): Delete.
20174 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20175
59f0c22e
JM
201762012-05-21 Joseph Myers <joseph@codesourcery.com>
20177
20178 * configure.in (libc_cv_predef_stack_protector): Only consider
20179 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20180 * configure: Regenerated.
20181
20c07380
L
201822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20183
bbb3154b
L
20184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20185 New macro. Use R*LP on int and pointer.
20186 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20187 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20188 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20189 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20190
20c07380
L
20191 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20192 [__WORDSIZE_TIME64_COMPAT32] instead of
20193 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20194 (struct utmp): Likewise.
20195 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20196 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20197 Renamed to ...
20198 (__WORDSIZE_TIME64_COMPAT32): This.
20199 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20200 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20201 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20202 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20203 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20204 (__WORDSIZE_TIME64_COMPAT32): New macro.
20205
d8d1017e
AJ
202062012-05-21 Andreas Jaeger <aj@suse.de>
20207
20208 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20209 only if [SHARED]. Add prototype for __wcschr_ia32.
20210
6c7fb145
RM
202112012-05-21 Roland McGrath <roland@hack.frob.com>
20212
20213 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20214 of %rbp unmolested in the jmp_buf while mangling the low bits.
20215 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20216 unmolested high bits of %rbp while demangling the low bits.
20217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20218
66274218
AJ
202192012-05-21 Andreas Jaeger <aj@suse.de>
20220
07c58f8f
AJ
20221 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20222 * sunrpc/svc_simple.c: Use it for registerrpc.
20223 * sunrpc/xcrypt.c: Use it for passwd2des.
20224
66274218
AJ
20225 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20226
61f65140
L
202272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20228
20229 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20230 Don't define if [__SYSCALL_WORDSIZE != 32].
20231 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20232 New macro.
20233
5fefb436
AJ
202342012-05-21 Bruno Haible <bruno@clisp.org>
20235 Andreas Jaeger <aj@suse.de>
20236
20237 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20238 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20239 inptr and inend for must_buffer_ch.
20240 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20241 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20242 * stdio-common/Makefile (tests): Remove bug15.
20243 (bug15-ENV): Remove macro.
20244 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20245 anymore.
20246
d8e272ab
AJ
202472012-05-19 Andreas Jaeger <aj@suse.de>
20248 Roland McGrath <roland@hack.frob.com>
20249
20250 * manual/contrib.texi: Completely rewritten. It contains now an
20251 alphabetical list of contributors and their contributions.
20252
4a56a162
RH
202532012-05-21 Richard Henderson <rth@twiddle.net>
20254
20255 * misc/getauxval.c (__getauxval): Use unsigned long int.
20256 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20257 (getauxval): Use unsigned long int.
20258
d024d23c
L
202592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20260
20261 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20262
cbc00a03
RM
202632012-05-21 Roland McGrath <roland@hack.frob.com>
20264
20265 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20266 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20267 __alignof__ (long double).
20268
478143fa
AZ
202692012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20270
20271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20272
c7683a6d
RH
202732012-05-20 Richard Henderson <rth@twiddle.net>
20274
20275 * misc/getauxval.c: New file.
20276 * misc/sys/auxv.h: New file.
20277 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20278 (routines): Add getauxval.
20279 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20280 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20281 * elf/dl-sysdep.c (_dl_auxv): Remove.
20282 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20283 * elf/dl-support.c (_dl_auxv): New variable.
20284 (_dl_aux_init): Initialize it.
20285 * manual/startup.texi (Auxiliary Vector): New node.
20286 * sysdeps/generic/bits/hwcap.h: New file.
20287 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20288 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20289 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20290 * sysdeps/sparc/sysdep.h: ... here. Include it.
20291 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20292 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20294 Update.
c7683a6d
RH
20295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20298 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20300 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20303
a6f1845d
AZ
203042012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20305
20306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20307
cbcbe830
DM
203082012-05-19 David S. Miller <davem@davemloft.net>
20309
20310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20311
e0b16cc2
JM
203122012-05-19 Joseph Myers <joseph@codesourcery.com>
20313
20314 [BZ #14123]
20315 * math/s_ccosh.c: Include <float.h>
20316 (__ccosh): Avoid internal overflow calculating sinh and cosh
20317 values before multiplying by sin and cos values.
20318 * math/s_ccoshf.c: Likewise.
20319 * math/s_ccoshl.c: Likewise.
20320 * math/s_csin.c: Likewise.
20321 * math/s_csinf.c: Likewise.
20322 * math/s_csinl.c: Likewise.
20323 * math/s_csinh.c: Likewise.
20324 * math/s_csinhf.c: Likewise.
20325 * math/s_csinhl.c: Likewise.
20326 * math/libm-test.inc (ccos_test): Add more tests.
20327 (ccosh_test): Likewise.
20328 (csin_test): Likewise.
20329 (csinh_test): Likewise.
20330 * sysdeps/i386/fpu/libm-test-ulps: Update.
20331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20332
6ad13e08
L
203332012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20334
f66f0ce8
L
20335 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20336 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20337
6ad13e08
L
20338 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20339
b1d072a7
JM
203402012-05-19 Joseph Myers <joseph@codesourcery.com>
20341
20342 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20343 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20344 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20345 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20346 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20347 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20348 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20349 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20350 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20351 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20352 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20353 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20354 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20355 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20356 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20357 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20358 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20359 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20360 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20361 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20362 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20363 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20364 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20365 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20366 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20367 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20368 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20369 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20370 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20371 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20372 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20373
9eae47cb
AJ
203742012-05-18 Andreas Jaeger <aj@suse.de>
20375
20376 * csu/.gitignore: Delete.
20377
bb07f69f
L
203782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20379
20380 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20381 (timex): Use __syscall_slong_t.
20382
e6bdb741
AJ
203832012-05-18 Andreas Jaeger <aj@suse.de>
20384 Carlos O'Donell <carlos_odonell@mentor.com>
20385
20386 * manual/install.texi (Configuring and compiling): Update
20387 description about files modified in the source directory.
d6c33fda 20388 * INSTALL: Regenerated.
e6bdb741 20389
1b74487e
L
203902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20391
20392 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20393 value. Use "or" to set return value to -1.
20394 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20395 negate return value.
20396
a88b64b9
TMQMF
203972012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20398
20399 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20400 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20401 failure if the compiler has Graphite support disabled.
20402 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20403 Likewise.
20404 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20405 CFLAGS-memmove.c): Likewise.
20406 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20407 Likewise.
20408
3707636e
L
204092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20410
610b8622
L
20411 * sysdeps/x86_64/x32/_itoa.h: New file.
20412
7cd195df
L
20413 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20414 getdents system call only if kernel and user dirents have the
20415 same d_ino and d_off.
20416
94b07d20
L
20417 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20418 LLONG_MAX != LONG_MAX.
20419 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20420 (_fitoa_word): Likewise.
20421
18298070
L
20422 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20423 years.
20424 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20425 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20426 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20427
553c7ea4
L
20428 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20429 include <bits/wordsize.h>. Check __x86_64__ instead of
20430 __WORDSIZE.
20431 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20432 if __x86_64__ is defined. Use anonymous union on fpstate.
20433
3707636e
L
20434 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20435 anonymous union.
20436
b53ef01a
AS
204372012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20438
37fb1dc0
AS
20439 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20440 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20441 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20442 Refer to _rtld_local_ro instead of _rtld_global_ro.
20443 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20444 Likewise.
20445 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20446 Likewise.
20447 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20448 Likewise.
20449 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20450 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20451 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20452
b53ef01a
AS
20453 * sysdeps/powerpc/powerpc32/dl-machine.c
20454 (__elf_machine_runtime_setup) [PROF]: Don't reference
20455 _dl_prof_resolve.
20456
7a185db2
AJ
204572012-05-18 Andreas Jaeger <aj@suse.de>
20458
20459 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20460 function only available for GCCs before 3.4 since GCC 3.4
20461 introduced a builtin.
20462 (lrint): Likewise.
20463 (llrintf): Likewise.
20464 (llrint): Likewise.
20465 (fmaxf): Likewise.
20466 (fmax): Likewise.
20467 (fminf): Likewise.
20468 (fmin): Likewise.
20469 (rint): Likewise.
20470 (rintf): Likewise.
20471 (nearbyint): Likewise.
20472 (nearbyintf): Likewise.
20473 (ceil): Likewise.
20474 (ceilf): Likewise.
20475 (floor): Likewise.
20476 (floorf): Likewise.
20477
3e5aef87
L
204782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20479
428bd707
L
20480 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20481 on both fields and cast pointer to __syscall_ulong_t.
20482
3e5aef87
L
20483 * bits/types.h (__fsword_t): New type.
20484 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20485 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20486 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20487 (__FSWORD_T_TYPE): Likewise.
20488 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20489 (__FSWORD_T_TYPE): Likewise.
20490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20491 (__FSWORD_T_TYPE): Likewise.
20492 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20493 (__FSWORD_T_TYPE): Likewise.
20494 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20495 __SWORD_TYPE with __fsword_t.
20496 (statfs64): Likewise.
20497
1ba7c3dc
DM
204982012-05-17 David S. Miller <davem@davemloft.net>
20499
20500 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20501
59910343
AJ
205022012-05-17 Andreas Jaeger <aj@suse.de>
20503
20504 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20505 warning.
20506
2e4c1e9e
L
205072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20508
20509 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20510
de7f5ce7
AJ
205112012-05-17 Andreas Jaeger <aj@suse.de>
20512
20513 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20514 when it is used.
20515
286abc3d
CM
205162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20517
20518 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20519
477cc68e
L
205202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20521
20522 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20523 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20524
1a0994f5
CD
205252012-05-17 Andreas Jaeger <aj@suse.de>
20526 Carlos O'Donell <carlos_odonell@mentor.com>
20527
20528 [BZ #14059]
20529 * sysdeps/x86_64/multiarch/init-arch.h
20530 (bit_YMM_Usable): Rename to...
20531 (bit_AVX_Usable): ... this.
20532 (bit_FMA4_Usable): New macro.
20533 (bit_XMM_state): New macro.
20534 (bit_YMM_state): New macro.
20535 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20536 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20537 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20538 (CPUID_OSXSAVE): New macro.
20539 (CPUID_AVX): New macro.
20540 (CPUID_FMA4): New macro.
20541 (index_YMM_Usable): Rename to...
20542 (index_AVX_Usable): ... this.
20543 (HAS_AVX): Use HAS_ARCH_FEATURE.
20544 (HAS_FMA4): Likewise.
20545 (HAS_YMM_USABLE): Remove.
20546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20547 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20548 are present.
20549 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20550 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20551 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20552 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20553 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20554
0af797de
CM
205552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20556
20557 * math/libm-test.c: Support platforms without multiple rounding modes.
20558 * math/bug-nextafter.c: Support platforms without FP exceptions.
20559 * math/bug-nexttoward.c: Likewise.
20560 * math/test-fenv.c: Likewise.
20561 * math/test-misc.c: Likewise.
20562 * stdlib/bug-getcontext.c: Likewise.
20563
e39745ff
AJ
205642012-05-17 Andreas Jaeger <aj@suse.de>
20565
20566 * manual/examples/search.c (critter_cmp): Change signature to
20567 avoid warnings.
20568 * manual/string.texi (Collation Functions): Likewise.
20569
48970aba
L
205702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20571
20572 * bits/types.h: Fold copyright years.
20573 * bits/typesizes.h: Likewise.
20574 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20575 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20576 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20577 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20578 * time/time.h: Likewise.
20579
bedee953
PP
205802012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20581
20582 [BZ #208]
20583 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20584 in instead of returning them. Return void.
20585 (__libc_mallinfo): Accumulate over all arenas.
20586 (__malloc_stats): Adjust for change in int_mallinfo interface.
20587
61653dfb
RM
205882012-05-16 Roland McGrath <roland@hack.frob.com>
20589
30b99d79
RM
20590 [BZ #10375]
20591 * configure.in (NM): Add AC_CHECK_TOOL for it.
20592 (libc_extra_cflags): New substituted variable.
20593 Check for -fstack-protector being used implicitly.
20594 * configure: Regenerated.
20595 * config.make.in (config-extra-cflags): New variable,
20596 gets @libc_extra_cflags@.
20597 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20598
61653dfb
RM
20599 [BZ #10375]
20600 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20601 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20602 * configure: Regenerated.
20603 * config.make.in (CPPUNDEFS): New substituted variable.
20604 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20605 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20606 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20607
661768bb
L
206082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20609
20610 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20611 (mq_attr): Use __syscall_slong_t.
20612
d4261567
L
206132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20614
20615 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20616 Check __x86_64__ instead of __WORDSIZE.
20617 (_STAT_VER_LINUX): Likewise.
20618 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20619 __syscall_ulong_t and __syscall_slong_t.
20620 (stat64): Likewise.
20621
cf3ff365
L
206222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20623
20624 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20625
76cf3e4d
L
206262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20627
20628 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20629
a637753a
L
206302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20631
20632 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20633 __syscall_ulong_t.
20634
d5e05119
L
20635 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20636 include <bits/wordsize.h>. Check __x86_64__ instead of
20637 __WORDSIZE.
20638 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20639 defined.
20640 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20641
f62ee380
L
20642 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20643 include <bits/wordsize.h>. Check __x86_64__ instead of
20644 __WORDSIZE.
20645 (user_regs_struct): Use "__extension__ unsigned long long"
20646 instead of "unsigned long" if __x86_64__ is defined.
20647 (user): Likewise. Pad after pointer field if __ILP32__ is
20648 defined.
20649
4e124ced
JM
206502012-05-16 Joseph Myers <joseph@codesourcery.com>
20651
6a3951a0
JM
20652 * configure.in (makeinfo): Require version 4.5 or later. Allow
20653 versions 5 to 9.
20654 * configure: Regenerated.
20655 * manual/install.texi (texinfo): Increase version requirement to
20656 4.5 or later.
20657 * INSTALL: Regenerated.
20658
4e124ced
JM
20659 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20660
953ca31a
L
206612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20662
20663 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20664
617aca05
L
20665 * sysdeps/x86_64/x32/ffs.c: New file.
20666
5762f7ae
L
20667 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20668 __syscall_ulong_t.
20669 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20670 defined. Use __syscall_ulong_t.
20671 (shminfo): Use __syscall_ulong_t.
20672 (shm_info): Likewise.
20673
a26b6856
L
20674 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20675 __syscall_ulong_t.
20676
cb2b9ef7
L
20677 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20678 <bits/wordsize.h>.
20679 (msgqnum_t): Use __syscall_ulong_t.
20680 (msglen_t): Likewise.
20681 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20682 __syscall_ulong_t.
20683
34683bb0
L
20684 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20685 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20686
84a68786
L
20687 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20688
48baa5f1
L
20689 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20690 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20691
180be88b
L
20692 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20693 __syscall_slong_t.
20694
5e90c8ad
L
20695 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20696 include <bits/wordsize.h>. Check __x86_64__ instead of
20697 __WORDSIZE.
20698
23dfb58b
L
20699 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20700 "unsigned long long int" if __x86_64__ is defined.
20701 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20702
ce5d54b0
L
20703 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20704 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20705 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20706
13dc9eac
L
20707 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20708 <stdint.h>.
20709 (GET_PC): Cast to uintptr_t first.
20710 (GET_FRAME): Likewise.
20711 (GET_STACK): Likewise.
20712
a7895d15
L
20713 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20714 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20715 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20716 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20717 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20718 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20719 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20720 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20721 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20722 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20723 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20724 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20725 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20726 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20727 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20728 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20729 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20730 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20731 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20732 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20733 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20734 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20735 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20736 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20737 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20738 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20739 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20740 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20741 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20742
656416c9
AS
207432012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20744
5bd66283
AS
20745 * Makerules (+depfiles): Also collect depfiles from .oS in
20746 $(extra-objs).
20747 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20748 .oS, $(libnldbl-routines)).
20749
656416c9
AS
20750 * Makerules (native-compile-mkdep-flags): Define.
20751 * sunrpc/Makefile (extra-objs): Add $(addprefix
20752 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20753 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20754 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20755 calling $(make-target-directory).
20756
a46f2169
L
207572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20758
20759 * bits/types.h (__snseconds_t): Removed.
20760 * time/time.h (struct timespec): Replace __snseconds_t with
20761 __syscall_slong_t.
20762 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20763 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20764 Likewise.
20765 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20766 (__SNSECONDS_T_TYPE): Likewise.
20767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20768 (__SNSECONDS_T_TYPE): Likewise.
20769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20770 (__SNSECONDS_T_TYPE): Likewise.
20771
6af6528b
L
207722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20773
20774 * sysdeps/mach/hurd/bits/typesizes.h
20775 (__SYSCALL_SLONG_TYPE): New macro.
20776 (__SYSCALL_ULONG_TYPE): Likewise.
20777
de986b56
L
207782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20779
20780 * bits/types.h (__syscall_slong_t): New type.
20781 (__syscall_ulong_t): Likewise.
20782
20783 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20784 (__SYSCALL_ULONG_TYPE): Likewise.
20785 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20786 (__SYSCALL_SLONG_TYPE): Likewise.
20787 (__SYSCALL_ULONG_TYPE): Likewise.
20788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20789 (__SYSCALL_SLONG_TYPE): Likewise.
20790 (__SYSCALL_ULONG_TYPE): Likewise.
20791 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20792 (__SYSCALL_SLONG_TYPE): Likewise.
20793 (__SYSCALL_ULONG_TYPE): Likewise.
20794
85736dc7
L
207952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20796
20797 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20798 Add sigaltstack-offsets.sym.
20799 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20800 <sigaltstack-offsets.h>.
20801 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20802 longjmp_msg pointer.
20803 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20804 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20805 signal stack.
20806 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20807
cc03b296
JM
208082012-05-15 Joseph Myers <joseph@codesourcery.com>
20809
a9538892
JM
20810 * elf/stackguard-macros.h: Remove file.
20811 * sysdeps/generic/stackguard-macros.h: New file.
20812 * sysdeps/i386/stackguard-macros.h: Likewise.
20813 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20814 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20815 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20816 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20817 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20818 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20819 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20820 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20821 <elf/stackguard-macros.h>.
20822
cc03b296
JM
20823 [BZ #14109]
20824 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20825 __aligned__ in attribute.
20826 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20827 (gregset_t): Likewise.
20828
93171016
L
208292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20830
20831 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20832 * sysdeps/x86_64/64/Implies-after: Here. New file.
20833 * sysdeps/x86_64/x32/Implies-after: New file.
20834
d86813a0
L
208352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20836
20837 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20838 and access return value for _dl_profile_fixup. Use R10_LP to
20839 load frame size.
20840
2953ec75
L
208412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20842
20843 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20844
3b550e9e
L
208452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20846
20847 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20848 * sysdeps/x86_64/x32/sysdep.h: New file.
20849
eda41706
L
208502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20851
20852 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20853 * sysdeps/x86_64/setjmp.S: Likewise.
20854
9ea01d93
AZ
208552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20856
20857 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20858 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20859 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20860 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20861 remove unused global constant.
20862
02a91938
CM
208632012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20864
20865 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20866 include of <not-cancel.h>.
20867
6540185f
RM
208682012-05-15 Roland McGrath <roland@hack.frob.com>
20869
20870 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20871
509072a0
AJ
208722012-05-15 Jeff Law <law@redhat.com>
20873 Andreas Jaeger <aj@suse.de>
20874
20875 [BZ #13594]
20876 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20877 out from...
20878 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20879 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20880 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20881 code changing __hst_map_handle.map.
20882
ba75122d
RM
208832012-05-15 Roland McGrath <roland@hack.frob.com>
20884
20885 * configure.in (sysnames): Look for Implies-before and Implies-after
20886 files.
20887 * configure: Regenerated.
20888
890d8bd8
L
208892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20890
20891 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20892 8-byte data alignment with LP_SIZE alignment.
20893
f6ee6623
L
208942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20895
20896 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20897 into R10_LP.
20898
ea2626f6
L
208992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20900
20901 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20902
085f715e
L
209032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20904
20905 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20906 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20907 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20908 Likewise.
20909 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20910
be8498fc
L
209112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20912
20913 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20914 (stackinfo_sub_sp): Likewise.
20915
70bc83b9
L
209162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20917
20918 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20919 RAX_LP.
20920
9bc0b730
L
209212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20922
20923 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20924 into R*_LP.
20925
6d2850e7
L
209262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20927
20928 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20929 sizes into R*_LP.
20930
3cb84561
L
209312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20932
20933 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20934
54e2ed81
L
209352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20936
20937 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20938 into R11_LP and load __x86_64_shared_cache_size_half into
20939 R8_LP.
20940
8a17f349
L
209412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20942
20943 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20944 R8_LP.
20945
777b1eea
AZ
209462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20947
20948 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20949 logb for POWER7.
20950 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20951 logbf for POWER7.
20952 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20953 logbl for POWER7.
20954 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20955 powerpc32/power7/fpu/s_logb.c via #include.
20956 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20957 powerpc32/power7/fpu/s_logbf.c via #include.
20958 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20959 powerpc32/power7/fpu/s_logbl.c via #include.
20960
d20d4ac2
JM
209612012-05-15 Joseph Myers <joseph@codesourcery.com>
20962
20963 * README.libm: Remove file.
20964
6cdef1ab
L
209652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20966
20967 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20968 count for x32. Use R*_LP and omit operand-size suffix.
20969
0b254d8f
L
209702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20971
20972 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20973 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20974 * sysdeps/x86_64/x32/shlib-versions: New file.
20975
ceb809dc
RM
209762012-05-14 Roland McGrath <roland@hack.frob.com>
20977
20978 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20979 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20980 Use _dl_fatal_printf instead.
20981
37f1abd4
JM
209822012-05-14 Joseph Myers <joseph@codesourcery.com>
20983
20984 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20985 set if not set by the user. Do not allow for being unset.
20986 * sysdeps/unix/sysv/linux/configure: Regenerated.
20987
11de3a33
L
209882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20989
20990 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20991 the `q' suffix from lea and replace .quad with ASM_ADDR.
20992
e02f153a
L
209932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20994
20995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20996 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20997 instead of $17.
20998 (PTR_DEMANGLE): Likewise.
20999
520ae0fd
L
210002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21001
21002 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21003 (LP_OP): Likewise.
21004 (ASM_ADDR): Likewise.
21005 (RAX_LP): Likewise.
21006 (RBP_LP): Likewise.
21007 (RBX_LP): Likewise.
21008 (RCX_LP): Likewise.
21009 (RDI_LP): Likewise.
21010 (RSI_LP): Likewise.
21011 (RSP_LP): Likewise.
21012 (R8_LP): Likewise.
21013 (R9_LP): Likewise.
21014 (R10_LP): Likewise.
21015 (R10_LP): Likewise.
21016 (R11_LP): Likewise.
21017 (R12_LP): Likewise.
21018 (R13_LP): Likewise.
21019 (R14_LP): Likewise.
21020 (R15_LP): Likewise.
21021
b985be81
L
210222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21023
21024 * sysdeps/x86_64/x32/dl-machine.h: New file.
21025
6a4888ff
AJ
210262012-05-14 Andreas Jaeger <aj@suse.de>
21027
21028 * manual/Makefile (subdir): Remove export of subdir.
21029 (all): Remove target.
21030 (.PHONY): Remove all from list.
21031 (mkinstalldirs): Remove.
21032 (.PHONY): Remove installdirs from list.
21033 ($(inst_infodir)/libc.info): Use make-target-directory.
21034 (installdirs): Remove.
21035 (subdir_%): Remove.
21036 (glibc-targets): Remove.
21037 (lib): Remove.
21038 (stubs): Remove.
21039 ($(objpfx)stubs ../po/manual.pot): Remove.
21040 ($(objpfx)stamp%): Remove.
21041 (make-target-directory): Remove.
21042 (subdir_install): Remove.
21043 (routines): Remove.
21044 (aux): Remove.
21045 (sources): Remove.
21046 (objects): Remove.
21047 (headers): Remove.
21048
21049 [BZ #13750]
21050 * manual/.gitignore: Remove, it's not needed anymore.
21051 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21052 all files in it.
21053 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21054 directory.
21055 (texis): Renamed to $(objpfx)texis.
21056 (texis-path): New, contains path to generated files.
21057 (chapters.%): Use texis-path for complete path, add extra argument
21058 libc-texinfo.sh.
21059 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21060 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21061 (summary,texi, stamp-summary): Use complete path of
21062 files. Generate files in build dir.
21063 (dir-add.texi): Build in build dir.
21064 (libm-err.texi,stamp-libm-err): Likewise.
21065 (version.texi, stamp-version): Likewise.
21066 (.%c.texi): Likewise.
21067 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21068 (mostlyclean): Remove target.
21069 (realclean): Remove target.
21070 (generated): Add new variable with contents from mostlyclean and
21071 realclean, remove entries duplicated in common-mostlyclean, add
21072 stamp-libm-err and stamp-version.
21073 (generated-dirs): Add libc directory.
21074 ($(inst_infodir)/libc.info): Install files from build dir.
21075
21076 * manual/install.texi (Configuring and compiling): Adjust since
21077 the info files are not part of the tar ball anymore.
21078
7ac77294
AJ
210792012-05-14 Andreas Jaeger <aj@suse.de>
21080
21081 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21082 variable.
21083
ffb7875d
JM
210842012-05-14 Joseph Myers <joseph@codesourcery.com>
21085
21086 [BZ #13717]
21087 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21088 to 2.2.0 where earlier.
21089 * sysdeps/unix/sysv/linux/configure: Regenerated.
21090 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21091 Remove conditional code.
21092 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21093 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21094 Remove conditional code.
21095 [!__NR_lchown]: Likewise.
21096 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21097 [__NR_lchown]: Likewise.
21098 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21099 comment referencing __ASSUME_LCHOWN_SYSCALL.
21100 * sysdeps/unix/sysv/linux/i386/sigaction.c
21101 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21102 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21103 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21104 Remove conditional code.
21105 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21106 (__protocol_available): Remove #if 0 code.
21107 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21108 conditional code.
21109 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21110 * sysdeps/unix/sysv/linux/kernel-features.h
21111 (__ASSUME_GETCWD_SYSCALL): Don't define.
21112 (__ASSUME_REALTIME_SIGNALS): Likewise.
21113 (__ASSUME_PREAD_SYSCALL): Likewise.
21114 (__ASSUME_PWRITE_SYSCALL): Likewise.
21115 (__ASSUME_POLL_SYSCALL): Likewise.
21116 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21117 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21118 non-SPARC.
21119 (__ASSUME_SIOCGIFNAME): Don't define.
21120 (__ASSUME_MSG_NOSIGNAL): Likewise.
21121 (__ASSUME_SENDFILE): Define unconditionally.
21122 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21123 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21124 conditional code.
21125 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21126 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21127 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21128 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21129 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21130 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21131 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21133 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21136 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21139 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21142 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21145 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21146 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21148 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21149 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21151 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21152 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21154 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21155 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21156 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21157 Remove conditional code.
21158 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21159 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21160 Remove conditional code.
21161 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21162 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21163 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21164 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21165 Remove conditional code.
21166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21167 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21168 Remove conditional code.
21169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21170 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21171 Remove conditional code.
21172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21173 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21174 Remove conditional code.
21175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21176 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21177 Remove conditional code.
21178 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21179 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21182 * sysdeps/unix/sysv/linux/sigaction.c
21183 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21184 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21185 * sysdeps/unix/sysv/linux/sigpending.c
21186 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21187 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21188 * sysdeps/unix/sysv/linux/sigprocmask.c
21189 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21190 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21191 * sysdeps/unix/sysv/linux/sigsuspend.c
21192 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21193 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21194 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21195 (__libc_missing_rt_sigs): Remove.
21196 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21197 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21198 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21199 Remove conditional code.
21200 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21201 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21202 return 1.
21203 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21204 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21205 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21206 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21207
1bfb7291
AJ
212082012-05-14 Andreas Jaeger <aj@suse.de>
21209
caae5a81
AJ
21210 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21211 it's not used in glibc.
21212 (__coshm1): Likewise.
21213 (__acosh1p): Likewise.
21214 (__sgn): Likewise.
21215
1bfb7291
AJ
21216 * manual/string.texi (Copying and Concatenation): Add missing
21217 variable in concat example.
21218 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21219
c044d724
L
212202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21221
144c5467 21222 [BZ #14103]
c044d724
L
21223 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21224 __builtin_clzl with __builtin_clzll.
21225
2523c62b
L
212262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21227
21228 [BZ #14104]
21229 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21230 libc_freeres_ptr.
21231
d7bb4c42
LD
212322012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21233
21234 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21235 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21236 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21237 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21238
9dc4e1fb
MF
212392012-05-14 Mike Frysinger <vapier@gentoo.org>
21240
21241 * NEWS: Update ia64 info.
21242
c7df0112
AS
212432012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21244
21245 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21246 used as bcopy.
21247
dc70356c
TS
212482012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21249
21250 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21251 * sysdeps/unix/syscalls.list (dup3): Likewise.
21252 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21253 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21254
9fb1a21f
L
212552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21256
21257 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21258 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21259
4822a2a5
L
212602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21261
21262 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21263 thread pointer.
21264 (TLS_IE): Use mov/add instead of movq/addq to load thread
21265 pointer.
21266 (TLS_GD_PREFIX): New.
21267 (TLS_GD): Use it.
21268
842b81d6
DM
212692012-05-11 David S. Miller <davem@davemloft.net>
21270
21271 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21272 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21273 (_FPU_SETCW): Likewise.
21274
1cf463cd
L
212752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21276
21277 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21278 is 32-byte aligned.
21279
60cc4a18
AS
212802012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21281
21282 [BZ #11837]
21283 * iconvdata/gb18030.c: Update tables.
21284 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21285 characters specially.
21286 (BODY for TO_LOOP): Add encoding of missing ranges.
21287
febb44a4
TS
212882012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21289
21290 [BZ #13673]
21291 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21292 * sysdeps/mach/hurd/dup3.c: Likewise.
21293 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21294 * sysdeps/powerpc/memmove.c:: Likewise.
21295
0a10fb9e
L
212962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21297
21298 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21299 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21300
df8a552f
L
213012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21302
21303 * elf/elf.h (R_X86_64_RELATIVE64): New.
21304 (R_X86_64_NUM): Updated.
21305 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21306 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21307 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21308 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21309 tst-quad1pie tst-quad2pie
21310 (modules-names): Add tst-quadmod1 tst-quadmod2.
21311 ($(objpfx)tst-quad1): New dependency.
21312 ($(objpfx)tst-quad2): Likewise.
21313 ($(objpfx)tst-quad1pie): Likewise.
21314 ($(objpfx)tst-quad2pie): Likewise.
21315 * sysdeps/x86_64/tst-quad1.c: New file.
21316 * sysdeps/x86_64/tst-quad1pie.c: New file.
21317 * sysdeps/x86_64/tst-quad2.c: Likewise.
21318 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21319 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21320 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21321 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21322 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21323
f34d6f84
ST
213242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21325
f42d41d1
ST
21326 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21327 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21328 * streams/stropts.h (t_scalar_t): Define type.
21329
3c3571fc
ST
21330 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21331 (_PATH_PRESERVE): Set to "/var/lib".
21332 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21333
61f06bd3
ST
21334 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21335 instead of int.
21336
918d4d71
ST
21337 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21338 if __dir_mkfile succeeded.
21339
f34d6f84
ST
21340 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21341 checking for _hurd_dtablesize. Unlock it right after having
21342 finished _hurd_dtable allocation.
21343
10589b4a
TS
213442012-05-10 Thomas Schwinge <thomas@schwinge.name>
21345
674cdbc7
TS
21346 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21347 * sysdeps/mach/hurd/configure: Regenerated.
21348 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21349 special-casing to...
21350 * sysdeps/gnu/configure.in: ... this new file.
21351 * sysdeps/unix/sysv/linux/configure: Regenerated.
21352 * sysdeps/gnu/configure: New generated file.
21353
8e41b99f
TS
21354 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21355 for Linux: use nsec instead of usec, as well as:
21356 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21357 members of type struct timespec.
21358 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21359 New macros.
21360 (struct stat64): Likewise.
21361 (_STATBUF_ST_NSEC): New macro.
21362 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21363
10589b4a
TS
21364 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21365 __strtoul_internal rather than strtoul.
21366
63643c85
PT
213672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21368
21369 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21370 and reject them.
21371
3faebe6a
ST
213722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21373
21374 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21375 which preserves existing values.
21376 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21377
c6474b07
PT
213782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21379
21380 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21381 TIMEOUT values. Return EINVAL for NFDS values either negative or
21382 greater than FD_SETSIZE.
21383
1043890b
ST
213842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21385
21386 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21387 allocated, call __vm_protect to finish enabling the existing space, and
21388 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21389 allocate the remainder.
21390
37ed8b9b
PT
213912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21392
21393 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21394 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21395
db653660
ST
213962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21397
37ed8b9b
PT
21398 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21399 sysdeps/mach/hurd/readlink.c.
b29d4053 21400
db653660
ST
21401 * posix/tst-sysconf.c (posix_options): Only use
21402 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21403 _POSIX_SYNCHRONIZED_IO when they are defined
21404 * sysdeps/mach/hurd/bits/posix_opt.h:
21405 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21406 (_XOPEN_REALTIME): Undefine macro.
21407 (_XOPEN_REALTIME_THREADS): Undefine macro.
21408 (_XOPEN_SHM): Undefine macro.
21409 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21410 macro to -1.
21411 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21412 macro to -1.
21413 (_POSIX_ASYNC_IO): Undefine macro.
21414 (_POSIX_PRIORITIZED_IO): Undefine macro.
21415 (_POSIX_SPIN_LOCKS): Define macro to -1.
21416
ee16e894
ST
21417 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21418 SA_NODEFER, SA_RESETHAND.
21419 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21420 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21421 F_DUPFD_CLOEXEC.
21422
6103ae3b
TS
214232012-05-10 Thomas Schwinge <thomas@schwinge.name>
21424
21425 * elf/Makefile (pldd-modules): Define unconditionally.
21426
80b4e5f3
TS
214272012-05-10 Thomas Schwinge <thomas@schwinge.name>
21428
21429 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21430
edadcbd6
ST
214312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21432
21433 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21434 Return ENOENT when name is empty.
21435 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21436
80694780
TS
214372012-05-10 Thomas Schwinge <thomas@schwinge.name>
21438
1792c087
TS
21439 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21440
80694780
TS
21441 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21442
6b645f0d
ST
214432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21444
80694780
TS
21445 Fix mlock in all cases except non-readable pages.
21446 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21447 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21448
6b645f0d
ST
21449 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21450 (__mkdir): When path is `/', just fail with EEXIST.
21451 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21452
e468f8a3
TS
214532012-05-10 Thomas Schwinge <thomas@schwinge.name>
21454
21455 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21456 <sys/uio.h> (for writev).
21457 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21458 and <sys/param.h> (for MIN).
21459
a4186cff
PT
214602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21461
21462 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21463 REQUESTED_TIME. Properly set the remaining time and return EINTR
21464 if interrupted.
21465
510bbf14
TS
214662012-05-10 Thomas Schwinge <thomas@schwinge.name>
21467
21468 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21469 Depend on against $(link-rpcuserlibs).
21470
5d5722e8
ST
214712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21472
a4186cff
PT
21473 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21474 (__libc_stack_end): Do not use attribute_relro.
21475 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21476 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21477 to libthread-provided value.
a4186cff
PT
21478 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21479 attribute_relro.
5d5722e8 21480
37233df9
TS
214812012-05-10 Thomas Schwinge <thomas@schwinge.name>
21482
be971a2b
TS
21483 [BZ #3748]
21484 * bits/libc-lock.h (__libc_once_get): New macro.
21485 * sysdeps/mach/bits/libc-lock.h: Likewise.
21486 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21487 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21488 instead of using implementation details.
21489
37233df9
TS
21490 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21491 * libio/freopen.c: Likewise.
21492 * libio/freopen64.c: Likewise.
21493 * misc/syslog.c: Likewise.
21494 * nscd/connections.c: Likewise.
21495 * nscd/netgroupcache.c: Likewise.
21496 * sysdeps/posix/getcwd.c: Likewise.
21497
38de94a5
RM
214982012-05-10 Roland McGrath <roland@hack.frob.com>
21499
21500 * math/w_ilogbf.c: Add #include <limits.h>.
21501
67530489
ST
215022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21503
a4186cff 21504 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21505 path instead of returning without unlocking.
21506
67530489
ST
21507 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21508 immediate-write ioctls.
21509 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21510
5aa3a74a
TS
215112012-05-10 Thomas Schwinge <thomas@schwinge.name>
21512
18bad2ae
TS
21513 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21514 __builtin_frame_address instead of making assumptions about the
21515 location of the return address relative to DATA. Force early load of
21516 the return address.
21517 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21518 __builtin_frame_address.
21519
5aa3a74a
TS
21520 dup3 for GNU Hurd.
21521 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21522 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21523 implement dup3 and do some further code clean-ups.
21524 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21525 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21526
ecd0de9a
ST
215272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21528
cd9fa985
ST
21529 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21530
a4186cff
PT
21531 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21532 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21533 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21534 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21535 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21536 d->port.lock.
802ca5a5 21537
a4186cff
PT
21538 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21539 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21540 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21541
bcf55240
TS
215422012-05-10 Thomas Schwinge <thomas@schwinge.name>
21543
6960eb42
TS
21544 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21545 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21546 definitions.
21547
eb43375f
TS
21548 accept4 for GNU Hurd.
21549 * include/sys/socket.h (__libc_accept4): New prototype.
21550 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21551 to implement __libc_accept4.
21552 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21553 __libc_accept4.
21554 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21555
bcf55240
TS
21556 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21557 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21558 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21559 signal-defines.sym.
21560
6178c55b
ST
215612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21562
a4186cff 21563 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21564
6f080c2f
TS
215652012-05-10 Thomas Schwinge <thomas@schwinge.name>
21566
21567 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21568 assertion on O_CLOEXEC flag.
21569 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21570 * hurd/intern-fd.c: Likewise.
21571 * hurd/port2fd.c: Likewise.
21572
bcfe3a54
ST
215732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21574
21575 [BZ #3906]
21576 * bits/in.h (IPV6_PKTINFO): Define new macro.
21577 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21578
89c9aa49
AZ
215792012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21580
21581 [BZ #13954]
21582 [BZ #13955]
21583 [BZ #13956]
21584 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21585 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21586 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21587 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21588 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21589 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21590 * math/libm-test.inc (logb_test) : Additional logb tests.
21591
021db4be
AJ
215922012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21593 Andreas Jaeger <aj@suse.de>
21594
21595 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21596 * configure: Regenerated.
21597 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21598 * config.make.in (link-obsolete-rpc): New substituted variable.
21599 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21600 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21601 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21602 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21603 so that libc.a contains the symbols.
21604 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21605 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21606 * sunrpc/auth_none.c: Likewise.
21607 * sunrpc/auth_unix.c: Likewise.
21608 * sunrpc/authdes_prot.c: Likewise.
21609 * sunrpc/authuxprot.c: Likewise.
21610 * sunrpc/clnt_gen.c: Likewise.
21611 * sunrpc/clnt_perr.c: Likewise.
21612 * sunrpc/clnt_raw.c: Likewise.
21613 * sunrpc/clnt_simp.c: Likewise.
21614 * sunrpc/clnt_tcp.c: Likewise.
21615 * sunrpc/clnt_udp.c: Likewise.
21616 * sunrpc/clnt_unix.c: Likewise.
21617 * sunrpc/des_crypt.c: Likewise.
21618 * sunrpc/des_soft.c: Likewise.
21619 * sunrpc/get_myaddr.c: Likewise.
21620 * sunrpc/key_call.c: Likewise.
21621 * sunrpc/key_prot.c: Likewise.
21622 * sunrpc/netname.c: Likewise.
21623 * sunrpc/pm_getmaps.c: Likewise.
21624 * sunrpc/pm_getport.c: Likewise.
21625 * sunrpc/pmap_clnt.c: Likewise.
21626 * sunrpc/pmap_prot.c: Likewise.
21627 * sunrpc/pmap_prot2.c: Likewise.
21628 * sunrpc/pmap_rmt.c: Likewise.
21629 * sunrpc/publickey.c: Likewise.
21630 * sunrpc/rpc_cmsg.c: Likewise.
21631 * sunrpc/rpc_common.c: Likewise.
21632 * sunrpc/rpc_dtable.c: Likewise.
21633 * sunrpc/rpc_prot.c: Likewise.
21634 * sunrpc/rpc_thread.c: Likewise.
21635 * sunrpc/rtime.c: Likewise.
21636 * sunrpc/svc.c: Likewise.
21637 * sunrpc/svc_auth.c: Likewise.
21638 * sunrpc/svc_raw.c: Likewise.
21639 * sunrpc/svc_run.c: Likewise.
21640 * sunrpc/svc_tcp.c: Likewise.
21641 * sunrpc/svc_udp.c: Likewise.
21642 * sunrpc/svc_unix.c: Likewise.
21643 * sunrpc/svcauth_des.c: Likewise.
21644 * sunrpc/xcrypt.c: Likewise.
21645 * sunrpc/xdr.c: Likewise.
21646 * sunrpc/xdr_array.c: Likewise.
21647 * sunrpc/xdr_float.c: Likewise.
21648 * sunrpc/xdr_intXX_t.c: Likewise.
21649 * sunrpc/xdr_mem.c: Likewise.
21650 * sunrpc/xdr_rec.c: Likewise.
21651 * sunrpc/xdr_ref.c: Likewise.
21652 * sunrpc/xdr_sizeof.c: Likewise.
21653 * sunrpc/xdr_stdio.c: Likewise.
21654
b5c086a2
RM
216552012-05-10 Roland McGrath <roland@hack.frob.com>
21656
21657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21658 change. Update copyright years.
21659
6d74dd09
JM
216602012-05-10 Joseph Myers <joseph@codesourcery.com>
21661
21662 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21663
28e72501
MK
216642012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21665 Joseph Myers <joseph@codesourcery.com>
21666 Paul Pluzhnikov <ppluzhnikov@google.com>
21667
21668 [BZ #14012]
21669 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21670 requiring rpcgen.
21671 [cross-compiling] (extra-libs): Likewise.
21672 [cross-compiling] (extra-libs-others): Likewise.
21673 [cross-compiling] (librpcsvc-routines): Likewise.
21674 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21675 [cross-compiling] (omit-deps): Likewise.
21676 (sunrpc-CPPFLAGS): New variable.
21677 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21678 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21679 (cross-rpcgen-objs): New variable.
21680 (extra-objs): Append $(cross-rpcgen-objs).
21681 ($(cross-rpcgen-objs)): New rule.
21682 ($(objpfx)cross-rpcgen): Likewise.
21683 (rpcgen-cmd): Define to use $(built-program-file). Expand
21684 comment.
21685 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21686 ($(objpfx)x%.stmp): Likewise.
21687 * sunrpc/proto.h [IS_IN_build] (_): Define.
21688 [IS_IN_build] (_libc_intl_domainname): Likewise.
21689
c8c59454
L
216902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21691
21692 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21693 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21694 and R_X86_64_TPOFF64.
21695
6f27cd16
JM
216962012-05-10 Joseph Myers <joseph@codesourcery.com>
21697
21698 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21699 sysdeps/unix/sysv/syscalls.list.
21700 (stime): Likewise.
21701 (utime): Likewise.
21702 * sysdeps/unix/sysv/syscalls.list: Remove file.
21703
02467e1c
PE
217042012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21705
21706 [BZ #3440]
21707 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21708 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21709 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21710 (__LC_IDENTIFICATION): Make these macros useful in #if
21711 expressions, as required by C99.
21712
da392631
AS
217132012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21714
21715 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21716 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21717 after this.
21718
8115f29b
L
217192012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21720
21721 * stdlib/longlong.h: Updated from GCC.
21722
bdd74070
AJ
217232012-05-09 Andreas Jaeger <aj@suse.de>
21724
edfe0dbe
AJ
21725 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21726 default is first entry.
21727 (run_mode): Set type.
21728 (main): Remove informal message about syslog.
21729 (options): Fix typo.
21730
bcfe3a54
ST
21731 [BZ #14053]
21732 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21733 to asm.
bcfe3a54
ST
21734 (lrint): Likewise.
21735 (llrintf): Likewise.
21736 (llrint): Likewise.
21737 (rint): Likewise.
21738 (rintf): Likewise.
21739 (nearbyint): Likewise.
21740 (nearbyintf): Likewise.
bdd74070 21741
91d8d69e
AJ
217422012-05-09 Andreas Jaeger <aj@suse.de>
21743 Pedro Alves <palves@redhat.com>
21744
21745 * nscd/nscd.c (run_mode): Use enum.
21746 (main): Cleanup coding style issue.
21747
bb90b80b
AJ
217482012-05-09 Alexandre Oliva <aoliva@redhat.com>
21749 Andreas Jaeger <aj@suse.de>
21750
bcfe3a54
ST
21751 * nscd/nscd.c (go_background): Replaced with...
21752 (run_mode): ... this.
bb90b80b 21753 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21754 (options): Add -F --foreground.
21755 (main): Implement it.
21756 (parse_opt): Parse it.
bb90b80b 21757
1a4b75a1
AJ
217582012-05-09 Andreas Jaeger <aj@suse.de>
21759
21760 [BZ #14083]
21761 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21762 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21763 -Wconversion warning.
21764 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21765 Likewise.
21766
b1cc2472
JM
217672012-05-09 Joseph Myers <joseph@codesourcery.com>
21768
21769 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21770 == 0.
21771 (LC_ALL): Use macro-int-constant.
21772 (LC_COLLATE): Likewise.
21773 (LC_CTYPE): Likewise.
21774 (LC_MESSAGES): Likewise.
21775 (LC_MONETARY): Likewise.
21776 (LC_NUMERIC): Likewise.
21777 (LC_TIME): Likewise.
21778 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21779 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21780 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21781 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21782 Specify type.
21783 [C99-based standards] (float_t): Expect type.
21784 [C99-based standards] (double_t): Expect type.
21785 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21786 type.
21787 [C99-based standards] (HUGE_VALL): Likewise.
21788 [C99-based standards] (INFINITY): Likewise.
21789 [C99-based standards] (NAN): Likewise.
21790 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21791 [C99-based standards] (FP_NAN): Likewise.
21792 [C99-based standards] (FP_NORMAL): Likewise.
21793 [C99-based standards] (FP_SUBNORMAL): Likewise.
21794 [C99-based standards] (FP_ZERO): Likewise.
21795 [C99-based standards] (FP_FAST_FMA): Use
21796 optional-macro-int-constant. Specify type. Require == 1.
21797 [C99-based standards] (FP_FAST_FMAF): Likewise.
21798 [C99-based standards] (FP_FAST_FMAL): Likewise.
21799 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21800 [C99-based standards] (FP_ILOGBNAN): Likewise.
21801 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21802 Specify type.
21803 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21804 [C99-based standards] (math_errhandling): Specify type.
21805 [ISO99 || ISO11] (signgam): Do not allow.
21806 [non-C99-based standards] (copysignf): Do not allow.
21807 [non-C99-based standards] (exp2f): Likewise.
21808 [non-C99-based standards] (log2f): Likewise.
21809 [non-C99-based standards] (modff): Allow.
21810 [non-C99-based standards] (erff): Do not allow.
21811 [non-C99-based standards] (erfcf): Likewise.
21812 [non-C99-based standards] (gammaf): Likewise.
21813 [non-C99-based standards] (hypotf): Likewise.
21814 [non-C99-based standards] (j0f): Likewise.
21815 [non-C99-based standards] (j1f): Likewise.
21816 [non-C99-based standards] (jnf): Likewise.
21817 [non-C99-based standards] (lgammaf): Likewise.
21818 [non-C99-based standards] (tgammaf): Likewise.
21819 [non-C99-based standards] (y0f): Likewise.
21820 [non-C99-based standards] (y1f): Likewise.
21821 [non-C99-based standards] (ynf): Likewise.
21822 [non-C99-based standards] (isnanf): Likewise.
21823 [non-C99-based standards] (acoshf): Likewise.
21824 [non-C99-based standards] (asinhf): Likewise.
21825 [non-C99-based standards] (atanhf): Likewise.
21826 [non-C99-based standards] (cbrtf): Likewise.
21827 [non-C99-based standards] (expm1f): Likewise.
21828 [non-C99-based standards] (ilogbf): Likewise.
21829 [non-C99-based standards] (log1pf): Likewise.
21830 [non-C99-based standards] (logbf): Likewise.
21831 [non-C99-based standards] (nextafterf): Likewise.
21832 [non-C99-based standards] (remainderf): Likewise.
21833 [non-C99-based standards] (rintf): Likewise.
21834 [non-C99-based standards] (scalbf): Likewise.
21835 [non-C99-based standards] (copysignl): Likewise.
21836 [non-C99-based standards] (exp2l): Likewise.
21837 [non-C99-based standards] (log2l): Likewise.
21838 [non-C99-based standards] (modfl): Allow.
21839 [non-C99-based standards] (erfl): Do not allow.
21840 [non-C99-based standards] (erfcl): Likewise.
21841 [non-C99-based standards] (gammal): Likewise.
21842 [non-C99-based standards] (hypotl): Likewise.
21843 [non-C99-based standards] (j0l): Likewise.
21844 [non-C99-based standards] (j1l): Likewise.
21845 [non-C99-based standards] (jnl): Likewise.
21846 [non-C99-based standards] (lgammal): Likewise.
21847 [non-C99-based standards] (tgammal): Likewise.
21848 [non-C99-based standards] (y0l): Likewise.
21849 [non-C99-based standards] (y1l): Likewise.
21850 [non-C99-based standards] (ynl): Likewise.
21851 [non-C99-based standards] (isnanl): Likewise.
21852 [non-C99-based standards] (acoshl): Likewise.
21853 [non-C99-based standards] (asinhl): Likewise.
21854 [non-C99-based standards] (atanhl): Likewise.
21855 [non-C99-based standards] (cbrtl): Likewise.
21856 [non-C99-based standards] (expm1l): Likewise.
21857 [non-C99-based standards] (ilogbl): Likewise.
21858 [non-C99-based standards] (log1pl): Likewise.
21859 [non-C99-based standards] (logbl): Likewise.
21860 [non-C99-based standards] (nextafterl): Likewise.
21861 [non-C99-based standards] (remainderl): Likewise.
21862 [non-C99-based standards] (rintl): Likewise.
21863 [non-C99-based standards] (scalbl): Likewise.
21864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21865 [non-C99-based standards] (FP_*): Do not allow.
21866 [C99-based standards] (FP_*): Change to
21867 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21868 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21869 allow.
21870 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21871 (SIG_ERR): Likewise.
21872 [X/Open-based standards] (SIG_HOLD): Likewise.
21873 (SIG_IGN): Likewise.
21874 (SIGABRT): Use macro-int-constant. Specify type. Require
21875 positive value.
21876 (SIGFPE): Likewise.
21877 (SIGILL): Likewise.
21878 (SIGINT): Likewise.
21879 (SIGSEGV): Likewise.
21880 (SIGTER): Likewise.
21881 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21882 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21883 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21884 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21885 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21886 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21887 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21888 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21889 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21890 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21891 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21892 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21893 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21894 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21895 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21896 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21897 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21898 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21899 [X/Open-based standards] (SIGTRAP): Likewise.
21900 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21901 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21902 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21903 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21904 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21905 allow.
21906
b9f1922d
IW
219072012-05-08 Ian Wienand <ianw@vmware.com>
21908
21909 [BZ #14080]
21910 * time/tzset.c (__tzset_parse_tz): Update default rules for
21911 daylight time changes in the Energy Policy Act of 2005.
21912
1db86e88
AJ
219132012-05-09 Andreas Jaeger <aj@suse.de>
21914
21915 [BZ #13983]
21916 * elf/ldconfig.c (parse_conf): Change string to make clear that
21917 ldconfig only issued a warning if ld.so.conf does not exist.
21918
dee4a4e3
DM
219192012-05-08 David S. Miller <davem@davemloft.net>
21920
ee0db190
DM
21921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21922 movxtod instead of popping the value on the stack.
21923
dee4a4e3
DM
21924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21925
6a43ec98
CD
219262012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21927
21928 * config.h.in: Add HAVE_ARM_PCS_VFP.
21929
05c2c961
RMG
219302012-05-08 Roland Mc Grath <roland@hack.frob.com>
21931
bcfe3a54
ST
21932 [BZ #13979]
21933 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21934 checking but the checks are disabled for any reason.
05c2c961 21935
4b30f61a
L
219362012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21937
21938 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21939 and ELF64_R_TYPE with ELFW(R_TYPE).
21940
eee2bc67
JM
219412012-05-08 Joseph Myers <joseph@codesourcery.com>
21942
7ea5391a
JM
21943 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21944 (ulimit): Likewise.
21945
eee2bc67
JM
21946 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21947 (settimeofday): Likewise.
21948
abb66a67
MF
219492012-05-08 Mike Frysinger <vapier@gentoo.org>
21950
21951 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21952 a struct th_u2 inside the union, and move tu_block/tu_code into
21953 a new th_u3 union of tu_block/tu_code inside of that. Move
21954 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21955 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21956 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21957 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21958 (th_stuff): Change to th_u1.tu_stuff.
21959 (th_data): Define.
21960 (th_msg): Change to th_u1.th_u2.tu_data.
21961
7f18b530
DM
219622012-05-07 David S. Miller <davem@davemloft.net>
21963
05760585
DM
21964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21965
7f18b530
DM
21966 [BZ #14074]
21967 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21968 (SETUP_PIC_REG): Use it.
21969 (SETUP_PIC_REG_LEAF): Use it.
21970
495fd99f
JM
219712012-05-07 Joseph Myers <joseph@codesourcery.com>
21972
21973 [BZ #13885]
21974 [BZ #13923]
21975 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21976 USE_AS_EXPM1L.
21977 (EXPL_FINITE): Likewise.
21978 (FLDLOG): Likewise.
21979 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21980 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21981 e_expl.S.
21982 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21983 USE_AS_EXPM1L.
21984 (EXPL_FINITE): Likewise.
21985 (FLDLOG): Likewise.
21986 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21987 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21988 e_expl.S.
21989 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21990 test of -max_value argument for long double.
21991 * sysdeps/i386/fpu/libm-test-ulps: Update.
21992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21993
6693d694
DM
219942012-05-06 David S. Miller <davem@davemloft.net>
21995
21996 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21997 quad soft-float symbols whose references which are compiler
21998 generated.
21999 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22000
6c23e11c
JM
220012012-05-06 Joseph Myers <joseph@codesourcery.com>
22002
d8b82cad
JM
22003 [BZ #13884]
22004 [BZ #13914]
22005 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22006 USE_AS_EXP10L.
22007 (EXPL_FINITE): Likewise.
22008 (FLDLOG): Likewise.
22009 (c0): Likewise.
22010 (c1): Likewise.
22011 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22012 Adjust comments for base varying.
22013 (__expl_finite): Change alias to EXPL_FINITE.
22014 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22015 e_expl.S.
22016 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22017 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22018 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22019 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22020 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22021 USE_AS_EXP10L.
22022 (EXPL_FINITE): Likewise.
22023 (FLDLOG): Likewise.
22024 (c0): Likewise.
22025 (c1): Likewise.
22026 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22027 Adjust comments for base varying.
22028 (__expl_finite): Change alias to EXPL_FINITE.
22029 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22030 tests for bugs.
22031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22032
6c23e11c
JM
22033 [BZ #14064]
22034 * math/libm-test.inc (check_float_internal): Correct ulp
22035 calculation for subnormal expected results.
22036
29ba805c
AJ
220372012-05-06 Andreas Jaeger <aj@suse.de>
22038
22039 * Makeconfig (+math-flags): New, set to -frounding-math.
22040 (+cflags): Add +math-flags so that all of glibc gets compiled with
22041 it.
22042
22043 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22044
7b17aeda
JM
220452012-05-05 Joseph Myers <joseph@codesourcery.com>
22046
5779f134
JM
22047 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22048 Disable one test.
22049
41498f4d
JM
22050 [BZ #13787]
22051 [BZ #13922]
22052 [BZ #14036]
22053 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22054 (__ieee754_expl): Allow for and saturate large arguments.
22055 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22056 (u_threshold): Likewise.
22057 (__exp): Call __ieee754_exp before checking for overflow and
22058 underflow.
22059 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22060 (u_threshold): Likewise.
22061 (__expf): Call __ieee754_expf before checking for overflow and
22062 underflow.
22063 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22064 (u_threshold): Likewise.
22065 (__expl): Call __ieee754_expl before checking for overflow and
22066 underflow.
22067 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22068 (__ieee754_expl): Allow for and saturate large arguments.
22069 * math/libm-test.inc (exp_test): Add another test. Do not allow
22070 missing overflow exception on overflow.
22071 (expm1_test): Do not allow missing overflow exception on overflow.
22072
6698b8bf
JM
22073 * sysdeps/i386/fpu/e_expl.c: Move to ...
22074 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22075 rather than using inline asm.
22076 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22077 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22078 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22079
7b17aeda
JM
22080 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22081 (nice): Likewise.
22082 (poll): Likewise.
22083 (signal): Likewise.
22084 (time): Likewise.
22085 (times): Likewise.
22086
f7c85819
JM
220872012-05-04 Joseph Myers <joseph@codesourcery.com>
22088
22089 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22090 sysdeps/unix/common/syscalls.list.
22091 (fchmod): Likewise.
22092 (fchown): Likewise.
22093 (ftruncate): Likewise.
22094 (getrusage): Likewise.
22095 (gettimeofday): Likewise.
22096 (setpgid): Likewise.
22097 (setregid): Likewise.
22098 (setreuid): Likewise.
22099 (sigaction): Likewise.
22100 (truncate): Likewise.
22101 (vhangup): Likewise.
22102 * sysdeps/unix/common/syscalls.list: Remove file.
22103 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22104 * sysdeps/unix/sysv/linux/Implies: Likewise.
22105
336270d0
L
221062012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22107
22108 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22110 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22111 Moved to ...
22112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22113 Here.
22114 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22115 to ...
22116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22117 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22118 to ...
22119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22120 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22121 to ...
22122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22123 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22124 to ...
22125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22126 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22127 to ...
22128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22129 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22130 to ...
22131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22132 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22133 to ...
22134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22135 Here.
22136 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22137 to ...
22138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22139 Here.
22140 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22141 to ...
22142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22143 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22144 Moved to ...
22145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22146 Here.
22147 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22148 to ...
22149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22150
d128e450
JM
221512012-05-04 Joseph Myers <joseph@codesourcery.com>
22152
fa8ee516
JM
22153 * sysdeps/unix/common/bits/dirent.h: Remove file.
22154 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22155
d128e450
JM
22156 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22157 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22158 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22159 * sysdeps/unix/bsd/isatty.c: Likewise.
22160 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22161 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22162 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22163
ff8faaf0 221642012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22165
62881be4 22166 [BZ #13563]
31dc8730
AZ
22167 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22168 long double comparison inaccuracies.
22169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22171
6fef930c
AS
221722012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22173
22174 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22175 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22176
8f203e6c
JM
221772012-05-04 Joseph Myers <joseph@codesourcery.com>
22178
22179 [BZ #14049]
22180 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22181 nonzero digits before rounding a hex value.
22182 * stdlib/tst-strtod.c (tests): Add another test.
22183
5197d9c2
AK
221842012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22185
22186 * sysdeps/s390/fpu/libm-test-ulps: Update.
22187
f0c1dedf
AJ
221882012-05-03 Andreas Jaeger <aj@suse.de>
22189
22190 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22191 does not get optimized out.
22192 (malloc_opt_barrier): New.
22193
a65ef2ae 221942012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22195 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22196
2b942cb7 22197 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22198 intermediate file deletion.
2b942cb7 22199 (generated): Add .symlist files.
a65ef2ae 22200
54b71e02
JM
222012012-05-03 Joseph Myers <joseph@codesourcery.com>
22202
22203 [BZ #13775]
22204 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22205 Redirect under this condition.
22206 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22207 [__USE_GNU] (__dprintf_chk): Not under this condition.
22208 [__USE_GNU] (__vdprintf_chk): Likewise.
22209 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22210 under this condition.
22211 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22212 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22213 [__USE_XOPEN2K8] (vdprintf): Likewise.
22214 [__USE_GNU] (__dprintf_chk): Not under this condition.
22215 [__USE_GNU] (__vdprintf_chk): Likewise.
22216 [__USE_GNU] (dprintf): Likewise.
22217 [__USE_GNU] (vdprintf): Likewise.
22218
d3dfcc41
RM
222192012-05-03 Roland McGrath <roland@hack.frob.com>
22220
22221 * elf/Makefile (common-generated): Set this instead of generated for
22222 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22223 $(all-built-dso)-derived lists.
22224
7ac30cc5
AJ
222252012-05-03 Andreas Jaeger <aj@suse.de>
22226
0c51e550
AJ
22227 * sysdeps/i386/fpu/libm-test-ulps: Update.
22228
7ac30cc5
AJ
22229 * FAQ: Removed.
22230 * FAQ.in: Likewise.
22231 * scripts/gen-FAQ.pl: Likewise.
22232 * manual/install.texi (Installation): Point to online location of
22233 FAQ.
22234 * Makefile (files-for-dist): Remove FAQ.
22235 (FAQ): Remove.
22236
d4c2917f
AM
222372012-05-02 Allan McRae <allan@archlinux.org>
22238
22239 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22240 (LDFLAGS-reldepmod5.so): Likewise.
22241 (LDFLAGS-reldep6mod1.so): Likewise.
22242 (LDFLAGS-reldep6mod4.so): Likewise.
22243 (LDFLAGS-reldep8mod3.so): Likewise.
22244 (LDFLAGS-unload4mod1.so): Likewise.
22245 (LDFLAGS-unload4mod2.so): Likewise.
22246 (LDFLAGS-tst-initorder): Likewise.
22247 (LDFLAGS-tst-initordera2.so): Likewise.
22248 (LDFLAGS-tst-initordera3.so): Likewise.
22249 (LDFLAGS-tst-initordera4.so): Likewise.
22250 (LDFLAGS-tst-initorderb2.so): Likewise.
22251 (LDFLAGS-noload): Likewise.
22252 (LDFLAGS-next): Likewise.
22253 (LDFLAGS-order2mod1.so): Likewise.
22254 (LDFLAGS-order2mod2.so): Likewise.
22255 (LDFLAGS-tst-initorder2): Likewise.
22256 (LDFLAGS-tst-initorder2a.so): Likewise.
22257 (LDFLAGS-tst-initorder2b.so): Likewise.
22258 (LDFLAGS-tst-initorder2c.so): Likewise.
22259 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22260
d77f993f
DM
222612012-05-02 David S. Miller <davem@davemloft.net>
22262
22263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22264
171a70b4
PP
222652012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22266
22267 [BZ #14055]
22268 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22269
0be196ad
AJ
222702012-05-02 Andreas Jaeger <aj@suse.de>
22271
22272 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22273 since we manipulate rounding mode.
22274 (CPPFLAGS-test-idouble.c): Likewise.
22275 (CPPFLAGS-test-ifloat.c): Likewise.
22276 (CFLAGS-test-ldouble.c): Likewise.
22277 (CFLAGS-test-double.c): Likewise.
22278 (CFLAGS-test-float.c): Likewise.
22279 (CFLAGS-test-misc.c): Likewise.
22280 (CFLAGS-test-test-fenv.c): Likewise.
22281
4f9d04aa
AZ
222822012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22283
2b942cb7
RM
22284 [BZ #2550]
22285 [BZ #2570]
22286 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22287 comparisons to determine direction to adjust input.
4f9d04aa 22288
82a79e7d
RM
222892012-05-01 Roland McGrath <roland@hack.frob.com>
22290
f5a01ca9
RM
22291 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22292 output to the target.
22293
90fe4186
RM
22294 * scripts/localplt.awk: New file.
22295 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22296 (check-localplt-CFLAGS): Variable removed.
22297 ($(all-built-dso:=.jmprel)): New static pattern rule.
22298 (generated): Add those targets.
22299 (localplt-built-dso): New variable.
22300 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22301
22302 * elf/check-localplt.c: File removed.
22303
82397ed6
RM
22304 * scripts/check-execstack.awk: New file.
22305 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22306 (check-execstack-CFLAGS): Variable removed.
22307 ($(objpfx)check-execstack.h): Target removed.
22308 ($(objpfx)execstack-default): New target.
22309 (generated): Add that instead of check-execstack.h.
22310 ($(all-built-dso:=.phdr)): New static pattern rule.
22311 (generated): Add those targets.
22312 * elf/check-execstack.c: File removed.
22313
82a79e7d
RM
22314 * scripts/check-textrel.awk: New file.
22315 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22316 (check-textrel-CFLAGS): Variable removed.
22317 (all-built-dso): Use := to define.o
22318 ($(all-built-dso:=.dyn)): New static pattern rule.
22319 (generated): Add those targets.
22320 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22321 * config.make.in (READELF): New substituted variable.
22322 * elf/check-textrel.c: File removed.
22323
62fde54f 223242012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22325
615605c9
JM
22326 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22327 allow.
22328 * conform/data/ctype.h-data [C99-based standards] (isblank):
22329 Expect function.
22330 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22331 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22333 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22334 Specify type. Require positive value.
22335 (EILSEQ): Likewise.
22336 (ERANGE): Likewise.
22337 [ISO || POSIX] (EILSEQ): Do not expect.
22338 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22339 Specify type. Require positive value.
22340 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22341 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22342 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22343 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22344 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22345 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22346 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22347 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22348 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22349 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22350 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22351 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22352 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22353 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22354 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22355 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22356 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22357 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22358 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22359 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22360 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22361 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22362 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22363 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22364 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22365 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22366 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22367 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22368 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22369 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22370 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22371 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22372 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22373 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22374 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22375 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22376 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22377 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22378 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22379 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22380 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22381 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22382 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22383 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22384 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22385 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22386 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22387 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22388 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22389 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22390 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22391 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22392 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22393 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22394 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22395 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22396 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22397 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22398 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22399 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22400 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22401 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22402 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22403 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22404 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22405 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22406 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22407 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22408 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22409 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22410 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22411 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22412 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22413 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22414 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22415 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22416 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22417 Require >= 2.
22418 (FLT_ROUNDS): Expect as macro, not constant.
22419 (FLT_MANT_DIG): Use macro-int-constant.
22420 (DBL_MANT_DIG): Likewise.
22421 (LDBL_MANT_DIG): Likewise.
22422 (FLT_DIG): Likewise.
22423 (DBL_DIG): Likewise.
22424 (LDBL_DIG): Likewise.
22425 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22426 (DBL_MIN_EXP): Likewise.
22427 (LDBL_MIN_EXP): Likewise.
22428 (FLT_MAX_EXP): Use macro-int-constant.
22429 (DBL_MAX_EXP): Likewise.
22430 (LDBL_MAX_EXP): Likewise.
22431 (FLT_MAX_10_EXP): Likewise.
22432 (DBL_MAX_10_EXP): Likewise.
22433 (LDBL_MAX_10_EXP): Likewise.
22434 (FLT_MAX): Use macro-constant.
22435 (DBL_MAX): Likewise.
22436 (LDBL_MAX): Likewise.
22437 (FLT_EPSILON): Use macro-constant. Give upper bound.
22438 (DBL_EPSILON): Likewise.
22439 (LDBL_EPSILON): Likewise.
22440 (FLT_MIN): Likewise.
22441 (DBL_MIN): Likewise.
22442 (LDBL_MIN): Likewise.
22443 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22444 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22445 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22446 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22447 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22448 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22449 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22450 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22451 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22452 [ISO11] (FLT_TRUE_MIN): Likewise.
22453 [ISO11] (LDBL_TRUE_MIN): Likewise.
22454 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22455 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22456 (SCHAR_MIN): Use macro-int-constant. Specify type.
22457 (SCHAR_MAX): Likewise.
22458 (UCHAR_MAX): Likewise.
22459 (CHAR_MIN): Likewise.
22460 (CHAR_MAX): Likewise.
22461 (MB_LEN_MAX): Use macro-int-constant.
22462 (SHRT_MIN): Use macro-int-constant. Specify type.
22463 (SHRT_MAX): Likewise.
22464 (USHRT_MAX): Likewise.
22465 (INT_MAX): Likewise.
22466 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22467 bound negative.
22468 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22469 bound with "U".
22470 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22471 bound with "L".
22472 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22473 bound negative. Suffix upper bound with "L".
22474 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22475 bound with "UL".
22476 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22477 Specify type.
22478 [C99-based standards] (LLONG_MAX): Likewise.
22479 [C99-based standards] (ULLONG_MAX): Likewise.
22480 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22481 == 0.
22482 [ISO11] (max_align_t): Require type.
22483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22484
c9140a62
JM
22485 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22486 from $CFLAGS, without defining away __attribute__ calls.
22487 (checknamespace): Use $CFLAGS_namespace.
22488
9af0bf29
JM
22489 * conform/conformtest.pl (@keywords): Only include C99 keywords
22490 for standards based on C99 or C11.
22491
343222a2
JM
22492 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22493 Disable tests.
22494 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22495 UNIX98]: Likewise.
22496
661f8cf0
JM
22497 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22498 usability of symbols in #if.
22499
ee74b9cb
JM
22500 * conform/conformtest.pl: If macro or constant types start
22501 "promoted:", expect the symbol to be of the following type
22502 promoted by the integer promotions.
62fde54f 22503
aafc49b3
JM
22504 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22505 in one place. Also handle "macro-constant".
22506
fefdf574
JM
22507 * conform/conformtest.pl: Only accept expected macro values with
22508 "==". Parse all "macro" lines in one place.
22509 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22510
f2d922fe
JM
22511 * conform/conformtest.pl: Handle braced types on "constant" lines
22512 instead of handling "typed-constant".
22513 * conform/data/signal.h-data: Use "constant" instead of
22514 "typed-constant".
22515
d22956c9
JM
22516 * conform/conformtest.pl: Handle "optional-" at start of lines in
22517 one place rather than duplicating several cases. Handle each
22518 format of "macro" line with initial "optional-".
22519
028e2e38
JM
22520 * conform/conformtest.pl: Only accept expected constant or
22521 optional-constant values with "==". Parse all "constant" lines in
22522 one place. Parse all "optional-constant" lines in one place.
22523 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22524 * conform/data/fmtmsg.h-data: Likewise.
22525 * conform/data/netinet/in.h-data: Likewise.
22526 * conform/data/tar.h-data: Likewise.
22527 * conform/data/limits.h-data: Use "==" form on "constant" and
22528 "optional-constant" lines.
22529
1b8f2850
JM
22530 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22531 Use -std=c99 for XOPEN2K.
22532 (@knownproblems): Remove.
22533 (newtoken): Don't check %isknown.
22534
a05a144b
JM
22535 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22536 Do not expect macro.
22537 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22538 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22539 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22540 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22541 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22542 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22543 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22544 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22545 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22546 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22547 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22548 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22549 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22550 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22551 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22552 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22553 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22554 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22555 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22556 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22557 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22558 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22559 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22560 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22561 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22562 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22563 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22564 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22565 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22566 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22567 [XPG3] (acosh): Likewise.
22568 [XPG3] (asinh): Likewise.
22569 [XPG3] (atanh): Likewise.
22570 [XPG3] (cbrt): Likewise.
22571 [XPG3] (expm1): Likewise.
22572 [XPG3] (ilogb): Likewise.
22573 [XPG3] (log1p): Likewise.
22574 [XPG3] (logb): Likewise.
22575 [XPG3] (nextafter): Likewise.
22576 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22577 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22578 [XPG3] (remainder): Likewise.
22579 [XPG3] (rint): Likewise.
22580 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22581 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22582 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22583 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22584 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22585 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22586 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22587 [UNIX98 || XOPEN2K] (scalb): Expect.
22588 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22589 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22590 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22591 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22592 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22593 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22594 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22595 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22596 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22597 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22598 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22599 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22600 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22601 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22602 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22603 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22604 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22605 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22606 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22607 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22608 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22609 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22610 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22611 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22612 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22613 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22614 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22615 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22616 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22617 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22618 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22619 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22620 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22621 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22622 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22623 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22624 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22625 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22626 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22627 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22628 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22629 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22630 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22631 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22632 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22633 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22634 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22635 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22636 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22637 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22638 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22639 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22640 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22641 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22642 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22643 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22644 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22645 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22646 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22647 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22648 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22649 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22650 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22651 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22652 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22653 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22654 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22655 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22656 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22657 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22658 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22659 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22660 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22661 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22662 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22663 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22664 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22665 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22666 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22667 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22668 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22669 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22670 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22671 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22672 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22673 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22674 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22675 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22676 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22677 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22678 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22679 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22680 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22681 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22682 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22683 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22684 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22685 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22686 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22687 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22688 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22689 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22690 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22691 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22692 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22693 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22694 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22695 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22696 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22697 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22698 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22699 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22700 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22701 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22702 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22703 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22704 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22705 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22706 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22707 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22708 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22709 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22710 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22711 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22712 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22713 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22714 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22715 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22716 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22717 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22718 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22719 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22720 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22721 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22722 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22723 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22724 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22725
73c5ebe3
JM
22726 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22727 _XOPEN_SOURCE_EXTENDED for XPG4.
22728
39c33b6c
JM
22729 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22730
62fde54f
JM
22731 * Makeconfig (localtime): Remove variable.
22732 (inst_localtime-file): Likewise.
22733
0741d64c
AS
227342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22735
22736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22737 Update.
22738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22739 Update.
22740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22741 Update.
22742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22743 Update.
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22745 Update.
22746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22747 Update.
22748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22749 Update.
22750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22751 Update.
22752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22753 Update.
22754
7cb029ee
JM
227552012-05-01 Joseph Myers <joseph@codesourcery.com>
22756
22757 [BZ #2550]
22758 [BZ #2570]
22759 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22760 comparisons to determine direction to adjust input.
22761 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22762 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22763 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22764 Likewise.
22765 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22766 Likewise.
22767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22768 Likewise.
22769 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22770 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22771 Likewise.
22772 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22773 Likewise.
22774 * math/libm-test.inc (nexttoward_test): Add more tests.
22775
412bd966
AS
227762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22777
22778 [BZ #14040]
22779 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22780 in version GLIBC_2.1, not GLIBC_2.0.
22781 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22782 Likewise.
22783
9568c0c2
JM
227842012-04-30 Joseph Myers <joseph@codesourcery.com>
22785
adfbc8ac
JM
22786 [BZ #13942]
22787 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22788 (1 - x) * (1 + x).
22789 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22790 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22791 * math/libm-test.inc (acos_test): Add more tests.
22792 (asin_test): Likewise.
22793 * sysdeps/i386/fpu/libm-test-ulps: Update.
22794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22795
5ba3cc69
JM
22796 [BZ #14034]
22797 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22798 of square root.
22799 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22800 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22801 * math/libm-test.inc (acos_test_tonearest): New function.
22802 (acos_test_towardzero): Likewise.
22803 (acos_test_downward): Likewise.
22804 (acos_test_upward): Likewise.
22805 (asin_test_tonearest): Likewise.
22806 (asin_test_towardzero): Likewise.
22807 (asin_test_downward): Likewise.
22808 (asin_test_upward): Likewise.
22809 (main): Call the new functions.
22810 * sysdeps/i386/fpu/libm-test-ulps: Update.
22811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22812
9568c0c2
JM
22813 [BZ #13884]
22814 [BZ #13924]
22815 * math/e_exp10.c: Include <float.h>.
22816 (__ieee754_exp10): Handle underflow here rather than multiplying
22817 large negative argument by M_LN10.
22818 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22819 of __ieee754_expf.
22820 * math/e_exp10l.c: Include <float.h>.
22821 (__ieee754_exp10l): Handle underflow here rather than multiplying
22822 large negative argument by M_LN10l.
22823 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22824 spurious overflow exception on underflow.
22825
5ac3ea17
MP
228262012-04-29 Marek Polacek <polacek@redhat.com>
22827
22828 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22829 (__fortify_function): New macro.
22830 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22831 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22832 __extern_always_inline.
22833 * libio/bits/stdio2.h: Likewise.
22834 * libio/bits/stdio.h: Likewise.
22835 * string/string.h: Likewise.
22836 * string/bits/string3.h: Likewise.
22837 * include/stdio.h: Likewise.
22838 * stdlib/bits/stdlib.h: Likewise.
22839 * stdlib/stdlib.h: Likewise.
22840 * rt/bits/mqueue2.h: Likewise.
22841 * rt/mqueue.h: Likewise.
22842 * posix/bits/unistd.h: Likewise.
22843 * posix/unistd.h: Likewise.
22844 * io/bits/poll2.h: Likewise.
22845 * io/bits/fcntl2.h: Likewise.
22846 * io/fcntl.h: Likewise.
22847 * io/sys/poll.h: Likewise.
22848 * misc/bits/syslog.h: Likewise.
22849 * misc/bits/syslog-ldbl.h: Likewise.
22850 * misc/sys/syslog.h: Likewise.
22851 * socket/bits/socket2.h: Likewise.
22852 * socket/sys/socket.h: Likewise.
22853 * debug/tst-chk1.c: Likewise.
22854 * wcsmbs/bits/wchar2.h: Likewise.
22855 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22856 * wcsmbs/wchar.h: Likewise.
22857
ecf0ebfb
AJ
228582012-04-29 Andreas Jaeger <aj@suse.de>
22859
22860 * Makerules (tests): Remove enable-check-abi protection.
22861 (check-abi-warn): Remove.
22862 (check-abi-%): Remove check-abi-warn usage.
22863
22864 * configure.in: Remove check-abi configure option.
22865 * configure: Regenerated.
22866 * config.make.in (enable-check-abi): Remove.
22867
6d5c57fa
AS
228682012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22869
24c5d07e 22870 [BZ #14033]
ded5180a
AS
22871 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22872 double functions to double *_finite functions.
22873
7e0d315d
AS
22874 [BZ #13941]
22875 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22876 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22877 LDBL_MIN_EXP.
22878 * stdio-common/Makefile (tests): Add tst-sprintf3.
22879 * stdio-common/tst-sprintf3.c: New file.
22880
6d5c57fa
AS
22881 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22882 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22883
0749ff8b
JM
228842012-04-28 Joseph Myers <joseph@codesourcery.com>
22885
22886 * conform/conformtest.pl: Remove duplicate typed-constant
22887 handling.
22888
8dbd5d7b
DM
228892012-04-28 David S. Miller <davem@davemloft.net>
22890
22891 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22892 (check-abi-%): Remove AWK script prerequisite and explicit
22893 abilist directory.
22894 (check-abi): Rewrite to just diff the symlist with the abilist.
22895 (config-tls, config-abi-config): Delete, no longer used.
22896 (update-abi-%): Remove AWK script and explicit abilist directory.
22897 (update-abi): Rewrite to simply compare and conditionally copy the
22898 symlist and the sysdep abilist file. Remove update-abi-config
22899 checks.
22900 * abilist/ld.abilist: Remove.
22901 * abilist/libBrokenLocale.abilist: Remove.
22902 * abilist/libanl.abilist: Remove.
22903 * abilist/libcrypt.abilist: Remove.
22904 * abilist/libdl.abilist: Remove.
22905 * abilist/librt.abilist: Remove.
22906 * abilist/libthread_db.abilist: Remove.
22907 * abilist/libutil.abilist: Remove.
22908 * scripts/extract-abilist.awk: Remove.
22909 * scripts/merge-abilist.awk: Remove.
22910 * sysdeps/generic/libcidn.abilist: New file.
22911 * sysdeps/generic/libnss_compat.abilist: New file.
22912 * sysdeps/generic/libnss_db.abilist: New file.
22913 * sysdeps/generic/libnss_dns.abilist: New file.
22914 * sysdeps/generic/libnss_files.abilist: New file.
22915 * sysdeps/generic/libnss_hesiod.abilist: New file.
22916 * sysdeps/generic/libnss_nis.abilist: New file.
22917 * sysdeps/generic/libnss_nisplus.abilist: New file.
22918 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22919 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22920 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22921 file.
22922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22923 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22924 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22925 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22926 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22927 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22928 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22929 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22930 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22931 file.
22932 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22933 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22934 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22935 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22936 file.
22937 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22938 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22939 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22940 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22941 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22942 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22943 file.
22944 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22945 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22946 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22947 file.
22948 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22950 New file.
22951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22952 New file.
22953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22954 New file.
22955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22956 New file.
22957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22958 New file.
22959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22960 New file.
22961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22962 New file.
22963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22964 New file.
22965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22966 New file.
22967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22968 New file.
22969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22970 New file.
22971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22972 New file.
22973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22974 New file.
22975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22976 file.
22977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22978 New file.
22979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22980 New file.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22982 file.
22983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22984 New file.
22985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22986 New file.
22987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22988 file.
22989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22990 New file.
22991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22992 New file.
22993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22994 New file.
22995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22996 New file.
22997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22998 New file.
22999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23000 New file.
23001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23003 file.
23004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23005 New file.
23006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23007 file.
23008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23009 file.
23010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23011 file.
23012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23013 file.
23014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23015 file.
23016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23017 New file.
23018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23019 file.
23020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23021 file.
23022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23023 New file.
23024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23025 file.
23026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23028 file.
23029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23030 New file.
23031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23032 file.
23033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23034 file.
23035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23036 file.
23037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23038 file.
23039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23040 file.
23041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23042 New file.
23043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23044 file.
23045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23046 file.
23047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23048 New file.
23049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23050 file.
23051 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23052 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23053 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23054 file.
23055 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23056 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23057 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23058 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23059 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23060 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23061 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23062 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23063 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23064 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23067 file.
23068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23069 New file.
23070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23071 file.
23072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23073 file.
23074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23075 file.
23076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23077 file.
23078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23079 file.
23080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23081 New file.
23082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23083 New file.
23084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23085 file.
23086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23087 New file.
23088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23089 file.
23090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23092 file.
23093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23094 New file.
23095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23096 file.
23097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23098 file.
23099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23100 file.
23101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23102 file.
23103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23104 file.
23105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23106 New file.
23107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23108 New file.
23109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23110 file.
23111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23112 New file.
23113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23114 file.
23115
41d73a1b
JM
231162012-04-28 Joseph Myers <joseph@codesourcery.com>
23117
23118 * conform/conformtest.pl: Fix typo in handling typed-constant from
23119 allow-header.
23120
28aeeda4
JM
231212012-04-27 Joseph Myers <joseph@codesourcery.com>
23122
adae8f5e
JM
23123 * README: Cut down references to pre-2.6 Linux kernels and
23124 Linuxthreads. Update lists of configurations in libc and ports
23125 and sort alphabetically. Say "or newer" with Linux kernel version
23126 requirements.
23127
28aeeda4
JM
23128 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23129
a462cb63
RA
231302012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23131
23132 [BZ #887]
23133 * math/libm-test.inc (logb_test_downward): New test to expose
23134 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23135 rounding mode.
23136
6ad3493e
JM
231372012-04-27 Joseph Myers <joseph@codesourcery.com>
23138
23139 [BZ #14027]
23140 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23141 to be done.
23142 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23143 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23144
2ce4f015
JM
231452012-04-26 Joseph Myers <joseph@codesourcery.com>
23146
5aeb141a
JM
23147 * sysdeps/unix/i386/brk.S: Remove file.
23148 * sysdeps/unix/i386/dl-brk.S: Likewise.
23149 * sysdeps/unix/i386/pipe.S: Likewise.
23150 * sysdeps/unix/i386/sigreturn.S: Likewise.
23151 * sysdeps/unix/i386/syscall.S: Likewise.
23152 * sysdeps/unix/i386/vfork.S: Likewise.
23153 * sysdeps/unix/i386/wait.S: Likewise.
23154
7143acae
JM
23155 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23156 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23157
2ce4f015
JM
23158 * configure.in (arm*-none*): Do not allow without
23159 --enable-hacker-mode.
23160 (netbsd*): Remove case setting base_os.
23161 (386bsd*): Likewise.
23162 (freebsd*): Likewise.
23163 (bsdi*): Likewise.
23164 (osf*): Likewise.
23165 (sunos*): Likewise.
23166 (ultrix*): Likewise.
23167 (newsos*): Likewise.
23168 (dynix*): Likewise.
23169 (*bsd*): Likewise.
23170 (sysv*): Likewise.
23171 (isc*): Likewise.
23172 (esix*): Likewise.
23173 (sco*): Likewise.
23174 (minix*): Likewise.
23175 (irix4*): Likewise.
23176 (irix6*): Likewise.
23177 (solaris[2-9]*): Likewise.
23178 (none): Likewise.
23179 * configure: Regenerated.
23180
0ac229c8
AZ
231812012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23182
23183 [BZ #11521]
23184 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23185 overflow or cancellation in calculating denominator.
23186 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23187 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23188 down expression to avoid unexpected rounding in newer GCCs.
23189 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23190
33f244f4
DM
231912012-04-26 David S. Miller <davem@davemloft.net>
23192
23193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23194 long-double compat symbols.
23195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23208
cfa1f3e8
DM
232092012-04-25 David S. Miller <davem@davemloft.net>
23210
23211 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23212 HWCAP_* values only after the memory barriers have been defined.
23213 (atomic_full_barrier): Define.
23214 (atomic_read_barrier): Define.
23215 (atomic_write_barrier): Define.
23216
6e236b92
SP
232172012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23218
23219 * shlib-versions: Add libgcc_s version information.
23220 * sysdeps/generic/libgcc_s.h: Remove.
23221 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23222 libgcc_s.h.
23223 * sysdeps/gnu/unwind-resume.c: Likewise.
23224 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23225
aab39a09
DM
232262012-04-25 David S. Miller <davem@davemloft.net>
23227
23228 * sysdeps/unix/sparc/brk.S: Delete.
23229 * sysdeps/unix/sparc/dl-brk.S: Delete.
23230 * sysdeps/unix/sparc/pipe.S: Delete.
23231 * sysdeps/unix/sparc/sysdep.S: Delete.
23232 * sysdeps/unix/sparc/sysdep.h: Delete.
23233 * sysdeps/unix/sparc/vfork.S: Delete.
23234 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23235 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23236 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23237 ret_ERRVAL, r0, r1, MOVE): Define.
23238 (JUMPTARGET): Remove.
23239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23240 sysdeps/unix/sparc/sysdep.h
23241 (ENTRY, END): Remove.
23242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23243
a3cc4f48
JM
232442012-04-25 Joseph Myers <joseph@codesourcery.com>
23245
2ed8cda2
JM
23246 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23247 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23248 -DIS_IN_build.
23249
35d76d59
JM
23250 * timezone/README: Update upstream location and email address for
23251 tzcode and tzdata.
23252 * timezone/zdump.c: Update from tzcode 2012b.
23253 * timezone/zic.c: Likewise.
23254
a3cc4f48
JM
23255 * configure.in (libc_cv_as_needed): Remove test.
23256 * configure: Regenerated.
23257 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23258 conditional definition.
23259 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23260 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23261 * config.make.in (have-as-needed): Remove variable.
23262
ceab42c3
SP
232632012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23264 Paul Pluzhnikov <ppluzhnikov@google.com>
23265
23266 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23267 strings correctly.
23268
3ce2865f
CLT
232692012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23270
23271 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23272 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23273 * sysdeps/sh/strlen.S: Likewise.
23274
f37e0d68
JM
232752012-04-24 Joseph Myers <joseph@codesourcery.com>
23276
ae186e9a
JM
23277 * sysdeps/unix/fork.S: Remove file.
23278 * sysdeps/unix/i386/fork.S: Likewise.
23279 * sysdeps/unix/sparc/fork.S: Likewise.
23280
b96914af
JM
23281 * sysdeps/unix/system.c: Remove file.
23282 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23283
f37e0d68
JM
23284 * sysdeps/unix/getegid.S: Remove file.
23285 * sysdeps/unix/geteuid.S: Likewise.
23286
87ef29ca
RM
232872012-04-24 Roland McGrath <roland@hack.frob.com>
23288
83bcd236
RM
23289 * scripts/check-localplt.awk: New file.
23290 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23291 of diff.
23292 * scripts/data/localplt-generic.data: Add a comment.
23293
87ef29ca
RM
23294 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23295 NODE when __dir_mkfile failed.
23296 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23297 Reported by Ludovic Courtès <ludo@gnu.org>.
23298
e5a6e567
AJ
232992012-04-24 Andreas Jaeger <aj@suse.de>
23300
23301 * Makerules (common-clean): Also remove gen-as-const-headers
23302 files.
23303
c1820385
JM
233042012-04-24 Joseph Myers <joseph@codesourcery.com>
23305
23306 * Makerules (native-compile): Do not change working directory for
23307 build. Use $(OUTPUT_OPTION) in command.
23308 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23309
94e02fc4
AZ
233102012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23311
23312 [BZ #13886]
23313 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23314 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23315 * math/libm-test.inc (floor_test): Add more tests.
23316 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23317
3a533ca3
JM
233182012-04-24 Joseph Myers <joseph@codesourcery.com>
23319
940ab4b3
JM
23320 * sysdeps/unix/getdents.c: Remove file.
23321 * sysdeps/unix/sysv/getdents.c: Likewise.
23322 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23323
90e037bd
JM
23324 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23325 sysdeps/unix/mman/syscalls.list.
23326 (mmap): Likewise.
23327 (mprotect): Likewise.
23328 (msync): Likewise.
23329 (munmap): Likewise.
23330 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23331 * sysdeps/unix/mman/syscalls.list: Remove.
23332 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23333
3a533ca3
JM
23334 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23335 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23336 * configure: Regenerated.
23337 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23338 $(libgcc_s_suffix).
23339 * config.make.in (libgcc_s_suffix): Remove variable.
23340
1ad743de
JM
233412012-04-23 Joseph Myers <joseph@codesourcery.com>
23342
4ad451e2
JM
23343 * sysdeps/unix/sysv/gethostname.c: Move to ...
23344 * sysdeps/posix/gethostname.c: ... here.
23345
5e37ce39
JM
23346 * sysdeps/unix/execve.S: Remove file.
23347
1ad743de
JM
23348 * sysdeps/unix/_exit.S: Remove file.
23349
4e681b5b
AJ
233502012-04-23 Andreas Jaeger <aj@suse.de>
23351
23352 [BZ #13739]
23353 * manual/Makefile: Remove make dist support, there's no
23354 need for a stand-alone documentation tar ball.
23355 (TEXI2DVI): Define always, it's not in Makeconfig.
23356 (dist): Removed.
23357 (tar-it): Removed.
23358 (edition): Removed.
23359 (glibc-doc-$(edition).tar): Removed
23360 (%.Z): Removed.
23361 (%.gz): Removed.
23362 (%.uu): Removed.
23363 (ETAGS): Remove, it's in Makeconfig.
23364 (move-if-change): Remove, it's in Makeconfig.
23365
38686a03 233662012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23367
23368 [BZ #13970]
23369 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23370 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23371 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23372 (strtod_l, strtof_l, strtold_l): Remove __wur.
23373 It is not necessarily an error to ignore strtol's return value.
23374 One can reliably look at the stored endptr to decide whether
23375 the number had valid syntax.
23376
7c0616fa
AJ
233772012-04-21 Andreas Jaeger <aj@suse.de>
23378
803cb6b7 23379 [BZ #13739]
7c0616fa
AJ
23380 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23381
b0fe253f
JM
233822012-04-21 Joseph Myers <joseph@codesourcery.com>
23383
23384 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23385 * sysdeps/unix/sysv/Versions: Remove file.
23386
8280f22d
MT
233872012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23388
23389 [BZ #13927]
23390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23391
75ce411f 233922012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23393
23394 [BZ #7064]
23395 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23396 version from __vm86.
23397
097d59fa
JM
233982012-04-20 Joseph Myers <joseph@codesourcery.com>
23399
a90f3bcb
JM
23400 * sysdeps/unix/common/lxstat.c: Remove file.
23401 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23402
edc7ea78
JM
23403 * sysdeps/unix/sysv/Makefile: Remove file.
23404
cb78c221
JM
23405 * sysdeps/unix/sysv/direct.h: Remove file.
23406
efa6a45f
JM
23407 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23408 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23409 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23410 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23411 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23412 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23413 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23414
9c9f2d0c
JM
23415 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23416
4541c83b
JM
23417 * sysdeps/unix/xmknod.c: Remove file.
23418 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23419
f5d153a0
JM
23420 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23421
aa746595
JM
23422 * sysdeps/unix/sysv/i386/time.S: Remove file.
23423
cce5905e
JM
23424 * sysdeps/unix/fxstat.c: Remove file.
23425 * sysdeps/unix/xstat.c: Likewise.
23426 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23427
37fa3841
JM
23428 * sysdeps/unix/sysv/sigaction.c: Remove file.
23429
ff1962a3
JM
23430 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23431 (sysdep_headers): Remove variable.
23432 [termio.h not in sysdep_headers] (generated): Likewise.
23433 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23434 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23435 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23436 * sysdeps/unix/sysv/tcflow.c: Likewise.
23437 * sysdeps/unix/sysv/tcflush.c: Likewise.
23438 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23439 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23440 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23441 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23442 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23443
e7740d31
JM
23444 * sysdeps/unix/siglist.c: Remove file.
23445
ee06f18b
JM
23446 * sysdeps/unix/getppid.S: Remove file.
23447
097d59fa
JM
23448 * sysdeps/unix/mkdir.c: Remove file.
23449 * sysdeps/unix/rmdir.c: Likewise.
23450
ff3d51ec
AS
234512012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23452
23453 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23454 ERR_MAX value.
23455 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23456 errlist-compat value.
23457
50f81fd7
DM
234582012-04-18 David S. Miller <davem@davemloft.net>
23459
23460 * sysdeps/generic/memcopy.h (reg_char): Delete.
23461 * debug/strcat_chk.c: Use char, not reg_char.
23462 * debug/strcpy_chk.c: Likewise.
23463 * debug/strncat_chk.c: Likewise.
23464 * debug/strncpy_chk.c: Likewise.
23465 * string/memchr.c: Likewise.
23466 * string/memrchr.c: Likewise.
23467 * string/rawmemchr.c: Likewise.
23468 * string/strcat.c: Likewise.
23469 * string/strchr.c: Likewise.
23470 * string/strchrnul.c: Likewise.
23471 * string/strcmp.c: Likewise.
23472 * string/strcpy.c: Likewise.
23473 * string/strncat.c: Likewise.
23474 * string/strncmp.c: Likewise.
23475 * string/strncpy.c: Likewise.
23476
8ff41c46
WS
234772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23478
23479 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23480 __builtin_memcopy is called when src and dest ranges are known to not
23481 overlap.
23482
6b652f46
WS
234832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23484
23485 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23486 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23487 fwd_align_merge macro call.
23488 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23489 bwd_align_merge macro call.
23490 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23491
b282631e
WS
234922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23493
23494 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23495 bwd_align_merge macros.
23496 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23497 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23498 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23499
95aa737c
DM
235002012-04-18 David S. Miller <davem@davemloft.net>
23501
23502 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23503
7a99a614
AJ
235042012-04-18 Andreas Jaeger <aj@suse.de>
23505
23506 [BZ# 6794]
23507 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23508 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23509 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23510
23511 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23512 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23513 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23514
23515 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23516 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23517 Adjust for changed ldbl-128 files.
23518
23519 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23520 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23521 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23522
e5270c23
DM
235232012-04-17 David S. Miller <davem@davemloft.net>
23524
23525 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23526
fb5e92c9
AS
235272012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23528
23529 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23530 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23531 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23532 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23533 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23534 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23535
76da7265
AZ
235362012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23537
23538 [BZ #6794]
23539 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23540 * math/libm-test.inc: Add ilogb errno and exception tests.
23541 * math/w_ilogb.c: New file: ilogb wrapper.
23542 * math/w_ilogbf.c: New file: ilogbf wrapper.
23543 * math/w_ilogbl.c: New file: ilogbl wrapper.
23544 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23545 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23546 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23547 exception being thrown with 0.0 as argument.
23548 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23549 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23550 exception being thrown with 0.0 as argument.
23551 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23552 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23553 exception being thrown with 0.0 as argument.
23554 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23555 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23556 exception being thrown with 0.0 as argument.
23557 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23558 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23559 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23560 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23561 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23562 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23563 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23564 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23565 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23566
0396e69d
PB
235672012-04-17 Petr Baudis <pasky@ucw.cz>
23568
23569 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23570 with altivec.
23571
750b5926
MP
235722012-04-16 Marek Polacek <polacek@redhat.com>
23573
23574 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23575
751728a1
MP
235762012-04-16 Marek Polacek <polacek@redhat.com>
23577
23578 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23579 operands of fdivp instruction.
23580
34a27407
L
235812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23582
23583 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23584 * elf/tst-auditmod3b.c: Likewise.
23585 * elf/tst-auditmod4b.c: Likewise.
23586 * elf/tst-auditmod5b.c: Likewise.
23587 * elf/tst-auditmod6b.c: Likewise.
23588 * elf/tst-auditmod6c.c: Likewise.
23589 * elf/tst-auditmod7b.c: Likewise.
23590 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23591 * sysdeps/x86_64/preconfigure.in: Likewise.
23592 * sysdeps/x86_64/preconfigure: Regenerated.
23593
7e73e17d
L
235942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23595
23596 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23597 __ILP32__.
23598
c7a6ab72
AB
235992012-04-13 Antoine Balestrat <merkil33@gmail.com>
23600
23601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23602 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23603
a9e8e0e0
CL
236042012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23605
23606 [BZ #13973]
23607 * locale/iso-639.def: Fix gl language name. Spotted by
23608 Yaron Shahrabani.
23609
ec98af7d
RM
236102012-04-12 Roland McGrath <roland@hack.frob.com>
23611
23612 [BZ #2074]
23613 * libio/libio.h (__io_write_fn): Update comment.
23614
247c3ede
PB
236152012-04-12 Petr Baudis <pasky@ucw.cz>
23616
23617 [BZ #2074]
23618 * stdio.texi (Hook Functions): The user provided writer function
23619 is not allowed to return -1.
23620
55939d6d
DM
236212012-04-11 David S. Miller <davem@davemloft.net>
23622
23623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23624
90020f5a
MF
236252012-04-11 Mike Frysinger <vapier@gentoo.org>
23626
23627 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23628 Add a leading slash to rtkaio.
23629
288f9098
JM
236302012-04-11 Jim Meyering <meyering@redhat.com>
23631
90020f5a
MF
23632 [BZ #11959]
23633 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23634 It is not necessarily an error to ignore fwrite's return
23635 value. One can reliably use ferror to test for errors after
23636 the fact.
288f9098 23637
4be2b570
L
236382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23639
23640 * bits/types.h (__snseconds_t): New type.
23641 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23642
23643 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23645 (__SNSECONDS_T_TYPE): Likewise.
23646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23647 (__SNSECONDS_T_TYPE): Likewise.
23648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23649 (__SNSECONDS_T_TYPE): Likewise.
23650
288f9098 236512012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23652
23653 [BZ #2636]
23654 * manual/time.texi (Processor Time): Return type of times is
23655 elapsed real time since an arbitrary point in the past.
23656 (CPU Time): Move CLK_TCK from here...
23657 (Processor Time): ...to here. Correct description.
23658 * manual/conf.texi (Constants for Sysconf): Correct description of
23659 _SC_CLK_TCK.
23660
d7dd4413
DM
236612012-04-10 David S. Miller <davem@davemloft.net>
23662
23663 [BZ #13967]
23664 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23665 where the is a gap between DT_REL(A) and DT_JMPREL.
23666
b46068fc
L
236672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23668
23669 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23670 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23671 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23672
73d65cc3
SP
236732012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23674
23675 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23676 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23677 (dl_main): Handle --inhibit-cache.
23678 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23679 _dl_inhibit_cache.
23680 * elf/dl-load.c (_dl_map_object): Use it.
23681 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23682
bcc8d661
JM
236832012-04-09 Joseph Myers <joseph@codesourcery.com>
23684
8f9a2fae
JM
23685 [BZ #13872]
23686 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23687 (__ieee754_powl): Saturate large exponents rather than testing for
23688 overflow of y*log2(x).
23689 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23690 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23691 exceptions.
23692
bcc8d661
JM
23693 [BZ #11521]
23694 * math/s_ctan.c: Include <float.h>.
23695 (__ctan): Avoid internal overflow or cancellation in calculating
23696 denominator.
23697 * math/s_ctanf.c: Likewise.
23698 * math/s_ctanl.c: Likewise.
23699 * math/s_ctanh.c: Likewise.
23700 * math/s_ctanhf.c: Likewise.
23701 * math/s_ctanhl.c: Likewise.
23702 * math/libm-test.inc (ctan_test): Add more tests.
23703 (ctanh_test): Likewise.
23704 * sysdeps/i386/fpu/libm-test-ulps: Update.
23705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23706
823fbbb4
AJ
237072012-04-09 Andreas Jaeger <aj@suse.de>
23708
03879793
AJ
23709 [BZ #6894]
23710 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23711 is an optional BSD extension.
23712
823fbbb4
AJ
23713 [BZ #10254]
23714 * manual/stdio.texi (Opening Streams): Document additional fopen
23715 parameters.
23716
8de131cb
RM
237172012-04-09 Roland McGrath <roland@hack.frob.com>
23718
23719 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23720 %eax without telling the compiler.
23721
c0ed9d7d
CD
237222012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23723
23724 [BZ # 13963]
23725 * manual/install.texi: Use sourceware.org.
23726
c483f6b4
JM
237272012-04-09 Joseph Myers <joseph@codesourcery.com>
23728
d7dd9453
JM
23729 [BZ #13873]
23730 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23731 (__ieee754_pow): Generate overflow and underflow using huge*huge
23732 and tiny*tiny rather than just returning constant infinity or zero
23733 for large exponents.
23734 * math/libm-test.inc (pow_test): Require overflow exceptions for
23735 applicable cases of large exponents.
23736
c483f6b4
JM
23737 [BZ #706]
23738 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23739 (__ieee754_pow): Use iterative multiplication algorithm only for
23740 integer exponents with absolute value below 1024. Check for odd
23741 integer exponents when using algorithm for real exponents.
23742 * math/libm-test.inc (pow_test): Add more tests.
23743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23744
d2de7579
JM
237452012-04-08 Joseph Myers <joseph@codesourcery.com>
23746
23747 [BZ #13705]
23748 * math/libm-test.inc (exp_test): Do not allow overflow exception
23749 on underflow test.
23750
f77f1232
AJ
237512012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23752
23753 [BZ #13705]
23754 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23755 instead of __kernel_standard_f.
23756
3884932b
MF
237572012-04-08 Mike Frysinger <vapier@gentoo.org>
23758
23759 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23760 * sysdeps/x86_64/memset_chk.S: Likewise.
23761
54472e9c
AJ
237622012-04-08 Andreas Jaeger <aj@suse.de>
23763
6ab0fbfc
AJ
23764 [BZ #10153]
23765 * manual/startup.texi (Environment Access): Describe return value
23766 for putenv and setenv.
23767
61efba8c
AJ
23768 [BZ #6895]
23769 * manual/filesys.texi (Directory Entries): Add description for
23770 DT_LNK.
23771
95c3f29a
AJ
23772 [BZ #6890]
23773 * manual/filesys.texi (Directory Entries): Clarify that it's file
23774 system not operating system in the description of DT_UNKNOWN.
23775
54472e9c
AJ
23776 [BZ #6578]
23777 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23778
624254b1
SC
237792012-04-08 Stephen Compall <s11@member.fsf.org>
23780
23781 [BZ #6649]
23782 * manual/llio.texi (Opening and Closing Files): Add cross
23783 reference to explain mode argument.
23784
1e4920e0
MF
237852012-04-07 Mike Frysinger <vapier@gentoo.org>
23786
23787 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23788 * sysdeps/x86_64/memset_chk.S: Likewise.
23789
5ed848f3
DM
237902012-04-07 David S. Miller <davem@davemloft.net>
23791
23792 * elf/elf.h (R_SPARC_WDISP10): Define.
23793 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23794 R_SPARC_SIZE32.
23795 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23796 R_SPARC_SIZE64 and R_SPARC_H34.
23797
96154cd8
CD
237982012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23799
23800 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23801 conditions and remove no longer applicable assertion.
23802
9904dc47
L
238032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23804
23805 * bits/byteswap.h: Include <features.h>.
23806 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23807 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23808
f8887d0a
L
238092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23810
23811 * bits/byteswap.h (__bswap_16): Removed.
23812 Include <bits/byteswap-16.h> to get __bswap_16.
23813 * sysdeps/i386/bits/byteswap.h: Likewise.
23814 * sysdeps/s390/bits/byteswap.h: Likewise.
23815 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23816 * bits/byteswap-16.h: New file.
23817 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23818 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23819 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23820 * string/Makefile (headers): Add bits/byteswap-16.h.
23821
62470f60
PP
238222012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23823
23824 [BZ #13895]
23825 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23826 extra indirection.
23827 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23828 * nss/tst-nss-static.c: New.
23829
4dad7bab
RM
238302012-04-06 Robert Millan <rmh@gnu.org>
23831
23832 [BZ #6486]
23833 * manual/llio.texi (File Position Primitive): lseek
23834 refers to WHENCE when it really means OFFSET.
23835
e9142a17
AJ
238362012-04-06 Andreas Jaeger <aj@suse.de>
23837
2c040eff
AJ
23838 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23839 strncmp declarations.
23840
e9142a17
AJ
23841 * abilist/libc.abilist: Add __poll and __ppoll.
23842
ff9f1c5f
DM
238432012-04-05 David S. Miller <davem@davemloft.net>
23844
dcd2ae90
DM
23845 * scripts/check-local-headers.sh: Accept a host triplet in the
23846 path matched by the exclude regexp.
23847
993eb054
DM
23848 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23849 definition.
23850 * sysdeps/powerpc/powerpc32/dl-machine.h
23851 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23852 * sysdeps/s390/s390-32/dl-machine.h
23853 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23854 * sysdeps/sparc/sparc32/dl-machine.h
23855 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23856 * sysdeps/sparc/sparc64/dl-machine.h
23857 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23858
ff9f1c5f
DM
23859 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23860 lazy binding.
48e2e132 23861 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23862 undefined symbol errors.
23863
48e2e132 23864 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23865 DT_NEEDED entries.
23866
e80d6f94
MM
238672012-04-05 Michael Matz <matz@suse.de>
23868
23869 [BZ #13592]
23870 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23871
349fa79f
AJ
238722012-04-05 Andreas Jaeger <aj@suse.de>
23873
23874 [BZ #13908]
23875 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23876 comment.
23877
f402708f
KK
238782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23879
23880 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23881 which ROUND is no valid rounding mode.
23882
2ecccfc9
KK
238832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23884
23885 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23886 read again.
23887 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23888
8a53f50f
KK
238892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23890
23891 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23892 an exception using FPU order intentionally.
23893
238942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23895
23896 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23897 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23898 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23899 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23900
d653abb7
SJ
239012012-04-05 Simon Josefsson <simon@josefsson.org>
23902
23903 [BZ #12340]
23904 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23905 EINVAL when BUFLEN is too smal.
23906
c3b1bf7d
TS
239072012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23908
23909 [BZ #13553]
23910 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23911 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23912
b1aa60f3
AJ
239132012-04-03 Andreas Jaeger <aj@suse.de>
23914
c3b1bf7d 23915 [BZ #13938]
67f60a26
AJ
23916 * manual/setjmp.texi (System V contexts): Fix sentence.
23917
b1aa60f3
AJ
23918 [BZ #13926]
23919 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23920 New macro for this case.
23921 [!__GNUC__] (__bswap_64): New inline function for this case.
23922 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23923 * bits/byteswap.h: Likewise.
23924 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23925 ull, guard with __GLIBC_HAVE_LONG_LONG.
23926
23927 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23928 __GLIBC_HAVE_LONG_LONG.
23929
23930 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23931 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23932
39c59c35
TMQMF
239332012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23934
23935 [BZ #13691]
23936 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23937 inptr and inend, rather than using last_ch.
23938
135ffda8
DM
239392012-04-02 David S. Miller <davem@davemloft.net>
23940
23941 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23942 * stdio-common/printf-parse.h (read_int): Change return type to
23943 'int', return -1 on INT_MAX overflow.
23944 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23945 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23946 overflows INT_MAX. Check for overflow of in-format-string precision
23947 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23948 SIZE_MAX not INT_MAX for integer overflow test.
23949 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23950 skip the construct in the format string but do not record anything.
23951 * stdio-common/bug22.c: Adjust to test both width/prevision
23952 INT_MAX overflow as well as total length INT_MAX overflow. Check
23953 explicitly for proper errno values.
23954
228c019e
TS
239552012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23956
302cadd3
TS
23957 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23958 CHAR_MAX.
23959 * string/test-strcmp.c [! WIDE]: Likewise.
23960 * time/tst-mktime2.c: Likewise for INT_MAX.
23961 * string/test-string.h: #include <sys/param.h> for MIN.
23962
228c019e
TS
23963 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23964 * sysdeps/i386/init-first.c (init): Likewise.
23965 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23966 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23967 * sysdeps/sh/init-first.c (init): Likewise.
23968
cfa633f5
UD
239692012-04-01 Ulrich Drepper <drepper@gmail.com>
23970
23971 * po/ru.po: Update from translation team.
d1635ef8 23972 * po/vi.po: Likewise.
cfa633f5 23973
6cd0a5ea
SP
239742012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23975
23976 * resolv/nss_dns/dns-host.c: Merge copyright years.
23977
4b43400f
LD
239782012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23979
23980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23981 Optimize memcpy with prefetch if
23982 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23983 src, dst pointers have unequal 16 byte alignments.
23984
48c41d04
SP
239852012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23986
23987 [BZ #13928]
23988 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23989 from a CNAME entry and return the minimum ttl for the query.
23990 (gaih_getanswer_slice): Likewise.
23991
b8dc394d
JL
239922012-03-30 Jeff Law <law@redhat.com>
23993
23994 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23995 due to long keys.
23996 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23997 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23998
2f5a5ed0
JL
23999 * resolv/nss_dns/dns-host.c: Update copyright year.
24000
1d39e359
UD
240012012-03-30 Ulrich Drepper <drepper@gmail.com>
24002
c030f70c 24003 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24004 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24005
1d39e359
UD
24006 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24007 comments for sendmmsg.
24008
240092012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24010
24011 [BZ #13691]
24012 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24013 with only 1 character between 0x0041 and 0x01b0.
24014 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24015 * wcsmbs/tst-mbsnrtowcs.c: New file.
24016
20fde227
DM
240172012-03-29 David S. Miller <davem@davemloft.net>
24018
24019 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24020 small copies by hand.
24021
984a4237
JL
240222012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24023
24024 [BZ #13761]
24025 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24026 _nss_compat_initgroups_dyn): Fall back to malloc/free
24027 for large group memberships.
24028
18c9d62b
DM
240292012-03-28 David S. Miller <davem@davemloft.net>
24030
88d85d4f
DM
24031 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24032 that branches into memcpy.
24033 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24034 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24035 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24036 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24038 bits.
24039 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24040 implementation too.
24041 * sysdeps/sparc/mempcpy.S: New file.
24042
e5aa83e1
DM
24043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24044 the IFUNC routine in the libc case.
24045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24046
88570753
DM
24047 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24048 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24049 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24050 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24051 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24052 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24053 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24054 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24055
249d7567
DM
24056 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24057 loop to 256 bytes instead of 64 bytes and fix test signedness.
24058
18c9d62b
DM
24059 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24060 * sysdeps/sparc/sparc32/Makefile: rather than here...
24061 * sysdeps/sparc/sparc64/Makefile: and here.
24062
05f3d1f6
UD
240632012-03-28 Ulrich Drepper <drepper@gmail.com>
24064
24065 * malloc/mallocbug.c: Avoid warnings about unused variables.
24066
86ae07a8
JL
240672012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24068
24069 [BZ #13760]
24070 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24071 in the right place. Discard and retry query if response is
24072 larger than input buffer size.
24073
41bf21a1
JM
240742012-03-28 Joseph Myers <joseph@codesourcery.com>
24075
d6270972
JM
24076 [BZ #369]
24077 [BZ #2678]
24078 [BZ #3866]
24079 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24080 x for large integer exponent.
24081 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24082 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24083 sign of result as needed afterwards.
24084 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24085 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24086 result for underflowing pow the same as for overflow.
24087 (__kernel_standard_l): Handle powl overflow and underflow here
24088 rather than calling __kernel_standard.
24089 * math/libm-test.inc (pow_test): Add more tests.
24090
414fca03 24091 [BZ #3868]
41bf21a1
JM
24092 [BZ #13879]
24093 [BZ #13910]
24094 [BZ #13911]
24095 [BZ #13912]
24096 [BZ #13913]
24097 [BZ #13915]
24098 [BZ #13916]
24099 [BZ #13917]
24100 [BZ #13918]
24101 [BZ #13919]
24102 [BZ #13920]
24103 [BZ #13921]
24104 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24105 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24106 (__kernel_standard_l): New function.
24107 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24108 __kernel_standard.
24109 * math/w_acosl.c (__acosl): Likewise.
24110 * math/w_asinl.c (__asinl): Likewise.
24111 * math/w_atan2l.c (__atan2l): Likewise.
24112 * math/w_atanhl.c (__atanhl): Likewise.
24113 * math/w_coshl.c (__coshl): Likewise.
24114 * math/w_exp10l.c (__exp10l): Likewise.
24115 * math/w_exp2l.c (__exp2l): Likewise.
24116 * math/w_fmodl.c (__fmodl): Likewise.
24117 * math/w_hypotl.c (__hypotl): Likewise.
24118 * math/w_j0l.c (__j0l, __y0l): Likewise.
24119 * math/w_j1l.c (__j1l, __y1l): Likewise.
24120 * math/w_jnl.c (__jnl, __ynl): Likewise.
24121 * math/w_lgammal.c (__lgammal): Likewise.
24122 * math/w_log10l.c (__log10l): Likewise.
24123 * math/w_log2l.c (__log2l): Likewise.
24124 * math/w_logl.c (__logl): Likewise.
24125 * math/w_powl.c (__powl): Likewise.
24126 * math/w_remainderl.c (__remainderl): Likewise.
24127 * math/w_scalbl.c (sysv_scalbl): Likewise.
24128 * math/w_sinhl.c (__sinhl): Likewise.
24129 * math/w_sqrtl.c (__sqrtl): Likewise.
24130 * math/w_tgammal.c (__tgammal): Likewise.
24131 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24132 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24133 * math/libm-test.inc (acos_test): Add more tests.
24134 (acosh_test): Likewise.
24135 (asin_test): Likewise.
24136 (atanh_test): Likewise.
24137 (exp_test): Likewise.
24138 (exp10_test): Likewise.
24139 (exp2_test): Likewise.
24140 (expm1_test): Likewise.
24141 (lgamma_test): Likewise.
24142 (log_test): Likewise.
24143 (log10_test): Likewise.
24144 (log1p_test): Likewise.
24145 (log2_test): Likewise.
24146 (pow_test): Do not allow some spurious overflow exceptions.
24147 (sqrt_test): Add more tests.
24148 (tgamma_test): Likewise.
24149 (y0_test): Likewise.
24150 (y1_test): Likewise.
24151 (yn_test): Likewise.
24152
dd62fda6
AB
241532012-03-27 Anton Blanchard <anton@samba.org>
24154
24155 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24156 MAP_HUGETLB.
24157 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24158 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24159 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24160
1e3cdfda
AJ
241612012-03-27 David S. Miller <davem@davemloft.net>
24162
b855ab85
DM
24163 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24164
1e3cdfda
AJ
24165 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24166 have-as-vis3 check.
24167
241682012-03-27 Andreas Jaeger <aj@suse.de>
24169
24170 * sysdeps/x86_64/elf/configure.in: Moved to ...
24171 * sysdeps/x86_64/configure.in: ... here.
24172 * sysdeps/x86_64/elf/start.S: Moved to ...
24173 * sysdeps/x86_64/start.S: ... here.
24174 * sysdeps/x86_64/elf/configure: Delete.
24175
24176 * sysdeps/x86_64/configure.in: Merge contents from
24177 sysdeps/i386/configure.in (without i686 check).
24178
24179 * sysdeps/i386/elf/Versions: Merge into ...
24180 * sysdeps/i386/Versions: ... this.
24181 * sysdeps/i386/elf/Versions: Delete file.
24182 * sysdeps/i386/elf/start.S: Moved to ...
24183 * sysdeps/i386/start.S: ...here.
24184 * sysdeps/i386/elf/configure.in: Merge into...
24185 * sysdeps/i386/configure.in: ...here.
24186 * sysdeps/i386/elf/configure.in: Delete file.
24187 * sysdeps/i386/elf/configure: Delete file.
24188
24189 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24190 * debug/backtracesyms.c: ... here.
24191 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24192 * debug/backtracesymsfd.c: ... here.
24193 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24194 * sysdeps/generic/ifunc-sel.h: ... here.
24195
24196 * sysdeps/unix/i386/start.c: Delete file.
24197 * sysdeps/unix/sparc/start.c: Delete file.
24198 * sysdeps/unix/start.c: Delete file.
24199
24200 * sysdeps/sh/elf/configure.in: Moved to ...
24201 * sysdeps/sh/configure.in: ... here.
24202 * sysdeps/sh/elf/start.S: Moved to ...
24203 * sysdeps/sh/start.S: ... here.
24204 * sysdeps/sh/elf/configure: Delete file.
24205
24206 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24207 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24208 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24209 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24210 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24211 * sysdeps/powerpc/powerpc64/start.S: here.
24212 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24213 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24214 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24215 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24216 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24217
24218 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24219 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24220 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24221 * sysdeps/powerpc/powerpc32/start.S: ... here.
24222 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24223 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24224 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24225
24226 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24227 * sysdeps/powerpc/ifunc-sel.h: ... here.
24228 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24229 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24230
24231 * sysdeps/sparc/elf/configure.in: Moved to ...
24232 * sysdeps/sparc/configure.in: ... here.
24233 * sysdeps/sparc/elf/configure: Delete file.
24234 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24235 * sysdeps/sparc/sparc32/start.S: ... here.
24236 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24237 * sysdeps/sparc/sparc64/start.S: ... here.
24238 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24239 * sysdeps/sparc/sparc32/Makefile: ... this.
24240 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24241 * sysdeps/sparc/sparc64/Makefile: ... this.
24242
24243 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24244 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24245 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24246 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24247 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24248 * sysdeps/s390/s390-32/setjmp.S: ... here.
24249 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24250 * sysdeps/s390/s390-32/configure.in: ... here.
24251 * sysdeps/s390/s390-32/elf/configure: Delete file.
24252 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24253 * sysdeps/s390/s390-32/start.S: ... here.
24254
24255 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24256 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24257 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24258 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24259 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24260 * sysdeps/s390/s390-64/setjmp.S: ... here.
24261 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24262 * sysdeps/s390/s390-64/configure.in: ... here
24263 * sysdeps/s390/s390-64/elf/configure: Delete file.
24264 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24265 * sysdeps/s390/s390-64/start.S: ... here.
24266 * sysdeps/s390/s390-64/elf/configure: Delete.
24267
24268 * configure.in: Remove support for elf directories in sysdeps.
24269
24270 * configure: Regenerated.
24271 * sysdeps/i386/configure: Regenerated.
24272 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24273 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24274 * sysdeps/s390/s390-32/configure: Regenerated.
24275 * sysdeps/s390/s390-64/configure: Regenerated.
24276 * sysdeps/sh/configure: Regenerated.
24277 * sysdeps/sparc/configure: Regenerated.
24278 * sysdeps/x86_64/configure: Regenerated.
24279
a3f61311
AS
242802012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24281
c876e002
AS
24282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24283
a3f61311
AS
24284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24285 denormal result into account.
24286
ac4c54f0
RM
242872012-03-25 Roland McGrath <roland@hack.frob.com>
24288
24289 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24290 Reported by Allan McRae <allan@archlinux.org>.
24291
6a9b9c02
JL
242922012-03-23 Jeff Law <law@redhat.com>
24293
24294 * nss/getnssent.c (__nss_getent): Fix typo.
24295
4c42a0c1
DM
242962012-03-23 David S. Miller <davem@davemloft.net>
24297
24298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24299
1532c7ac
L
243002012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24301
24302 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24303 to pad to uint64_t for each field.
24304 (dl_tls_index): Replace unsigned long with uint64_t.
24305
3ff42526
PP
243062012-03-23 Daniel Jacobowitz <dmj@google.com>
24307 Paul Pluzhnikov <ppluzhnikov@google.com>
24308
24309 [BZ #6528]
24310 * grp/Makefile (otherlibs): Don't set it.
24311 * inet/Makefile (otherlibs): Likewise.
24312 * login/Makefile (otherlibs): Likewise.
24313 * nscd/Makefile (otherlibs): Likewise.
24314 * posix/Makefile (otherlibs): Likewise.
24315 * pwd/Makefile (otherlibs): Likewise.
24316 * rt/Makefile (otherlibs): Likewise.
24317 * sunrpc/Makefile (otherlibs): Likewise.
24318 * nss/Makefile (otherlibs): Likewise.
24319 Add libnss_files to routines and static-only-routines.
24320 ($(objpfx)getent): Remove rule.
24321 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24322 static-only-routines.
24323
7c69cd14
JM
243242012-03-22 Joseph Myers <joseph@codesourcery.com>
24325
24326 [BZ #13892]
24327 * math/s_cexp.c: Include <float.h>.
24328 (__cexp): Handle exp result overflowing not necessarily
24329 overflowing both real and imaginary parts of result.
24330 * math/s_cexpf.c: Likewise.
24331 * math/s_cexpl.c: Likewise.
24332 * math/libm-test.inc (cexp_test): Add more tests.
24333 * sysdeps/i386/fpu/libm-test-ulps: Update.
24334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24335
81b035fe
L
243362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24337
24338 * include/link.h (ELFW): New macro.
24339 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24340 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24341
1da7940c
L
243422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24343
24344 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24345 with uint64_t.
24346
b749dbb9
L
243472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24348
24349 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24350 declaration.
24351 (struct La_x32_retval): Likewise.
24352
2ff87f3f
L
243532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24354
24355 * sysdeps/x86_64/preconfigure.in: New file.
24356 * sysdeps/x86_64/preconfigure: New generated file.
24357
c0df8e69
JM
243582012-03-22 Joseph Myers <joseph@codesourcery.com>
24359
48e44791
JM
24360 [BZ #13824]
24361 * math/e_exp2l.c: Include <float.h>.
24362 (__ieee754_exp2l): Handle overflow and underflow cases
24363 separately. Only pass fractional part of argument to
24364 __ieee754_expl.
24365 * math/libm-test.inc (exp2_test): Add more tests.
24366
c0df8e69
JM
24367 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24368 negating x to take absolute value.
24369 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24370 Likewise.
24371 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24372 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24373 Likewise.
24374 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24375 computing low part if x was negated.
24376 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24377
c8e43ba7
L
243782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24379
24380 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24381 la_x32_gnu_pltexit.
24382 (pltexit): Cast int_retval to ptrdiff_t.
24383 * elf/tst-auditmod3b.c: Likewise.
24384 * elf/tst-auditmod4b.c: Likewise.
24385 * elf/tst-auditmod5b.c: Likewise.
24386 * elf/tst-auditmod6b.c: Likewise.
24387 * elf/tst-auditmod6c.c: Likewise.
24388 * elf/tst-auditmod7b.c: Likewise.
24389
24390 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24391 and x32_gnu_pltexit.
24392
24393 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24394 __ELF_NATIVE_CLASS.
24395 (La_x32_regs): New macro.
24396 (La_x32_retval): Likewise.
24397 (la_x32_gnu_pltenter): New function prototype.
24398 (la_x32_gnu_pltexit): Likewise.
24399
7998fa78
AS
244002012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24401
dcb33988
AS
24402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24403 exponent.
24404
233fc563
AS
24405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24406
7998fa78
AS
24407 * configure.in (libc_cv_cc_nofma): Check for option to disable
24408 generation of FMA instructions.
24409 * configure: Regenerate.
24410 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24411 * sysdeps/ieee754/dbl-64/Makefile: New file.
24412 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24413 Remove brandred-fma4.
24414 (CFLAGS-brandred-fma4.c): Remove.
24415 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24416 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24417 define.
24418 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24419 define.
24420
8e95c99a
L
244212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24422
24423 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24424 LLONG_MAX != LONG_MAX.
24425 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24426 (_fitoa_word): Likewise.
24427 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24428 LLONG_MAX != LONG_MAX.
24429 * stdio-common/_itowa.h: Include <_itoa.h>.
24430 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24431 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24432 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24433 only if not defined.
24434 (_ITOA_WORD_TYPE): Likewise.
24435 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24436 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24437
6f4db457
DM
244382012-03-21 David S. Miller <davem@davemloft.net>
24439
24440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24441
7785fe5a
L
244422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24443
24444 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24445 of x86_64 when setting libc_cv_slibdir, libdir and
24446 libc_cv_localedir.
24447 * sysdeps/unix/sysv/linux/configure: Regenerated.
24448
4535cd55
JM
244492012-03-21 Joseph Myers <joseph@codesourcery.com>
24450
24451 * manual/lang.texi (Old Varargs): Remove section.
24452 (How Variadic): Update menu.
24453 (va_start): Do not mention varargs.h.
24454
17228132
TS
244552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24456 Joseph Myers <joseph@codesourcery.com>
24457
24458 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24459 link test.
24460 * configure: Regenerated.
24461
8149f976
TS
244622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24463
05f3d1f6
UD
24464 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24465 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24466 conformtest.pl
8149f976 24467
1a4ac776
JM
244682012-03-21 Joseph Myers <joseph@codesourcery.com>
24469
be22ce65
JM
24470 * NOTES: Remove.
24471 * Makefile (files-for-dist): Remove NOTES.
24472 (NOTES): Remove rule.
24473 * README: Don't refer to NOTES.
24474 * manual/creature.texi: Don't include macros.texi.
24475 * manual/intro.texi (creature.texi): Remove comment referring to
24476 NOTES.
24477
40b601fb
JM
24478 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24479 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24480 * configure: Regenerated.
24481 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24482 LIBC_TRY_CC_OPTION.
24483 (libc_cv_as_i686): Likewise.
24484 (libc_cv_cc_avx): Likewise.
24485 (libc_cv_cc_sse2avx): Likewise.
24486 (libc_cv_cc_fma4): Likewise.
24487 (libc_cv_cc_novzeroupper): Likewise.
24488 * sysdeps/i386/configure: Regenerated.
24489
1a4ac776
JM
24490 [BZ #13883]
24491 * sysdeps/i386/fpu/s_cexp.S: Remove.
24492 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24493 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24494 * math/libm-test.inc (cexp_test): Add more tests.
24495 * sysdeps/i386/fpu/libm-test-ulps: Update.
24496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24497
a458e7fe
AM
244982012-03-21 Allan McRae <allan@archlinux.org>
24499
24500 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24501
0cb7efc5
JM
245022012-03-21 Joseph Myers <joseph@codesourcery.com>
24503
24504 [BZ #13871]
24505 * math/w_exp2.c: Do not include <float.h>.
24506 (o_threshold, u_threshold): Remove.
24507 (__exp2): Calculate result before checking finiteness and calling
24508 __kernel_standard.
24509 * math/w_exp2f.c: Likewise.
24510 * math/w_exp2l.c: Likewise.
24511 * math/libm-test.inc (exp2_test): Require overflow exception for
24512 1e6 input.
2460d3aa
JM
24513
24514 [BZ #3866]
24515 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24516 range of signed 64-bit integers before using fistpll. Remove
24517 checks for whether integers fit in mantissa bits.
24518 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24519 the range of signed 32-bit integers before using fistpl. Remove
24520 checks for whether integers fit in mantissa bits.
24521 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24522 (__ieee754_powl): Test for y outside the range of signed 64-bit
24523 integers before using fistpll. Reduce 64-bit values to 63-bit
24524 ones as needed.
24525 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24526 divide-by-zero is raised for zero to large negative powers.
24527 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24528 (__ieee754_powl): Test for y outside the range of signed 64-bit
24529 integers before using fistpll. Reduce 64-bit values to 63-bit
24530 ones as needed.
24531 * math/libm-test.inc (pow_test): Add more tests.
24532
eb96ffb0
L
245332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24534
24535 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24536 <stdio-common/_itoa.h>.
24537 * debug/segfault.c: Likewise.
24538 * elf/dl-cache.c: Likewise.
24539 * elf/dl-minimal.c: Likewise.
24540 * elf/dl-misc.c: Likewise.
24541 * elf/dl-sysdep.c: Likewise.
24542 * elf/dl-version.c: Likewise.
24543 * elf/rtld.c: Likewise.
24544 * hurd/hurdsock.c: Likewise.
24545 * hurd/lookup-retry.c: Likewise.
24546 * malloc/malloc.c: Likewise.
24547 * malloc/mtrace.c: Likewise.
24548 * nscd/nscd_getgr_r.c: Likewise.
24549 * nscd/nscd_getpw_r.c: Likewise.
24550 * nscd/nscd_getserv_r.c: Likewise.
24551 * posix/getopt_init.c: Likewise.
24552 * posix/wordexp.c: Likewise.
24553 * stdio-common/_itoa.c: Likewise.
24554 * stdio-common/printf_fphex.c: Likewise.
24555 * stdio-common/vfprintf.c: Likewise.
24556 * string/_strerror.c: Likewise.
24557 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24558 * sysdeps/i386/i686/hp-timing.h: Likewise.
24559 * sysdeps/mach/_strerror.c: Likewise.
24560 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24561 * sysdeps/mach/hurd/sethostid.c: Likewise.
24562 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24563 * sysdeps/mach/xpg-strerror.c: Likewise.
24564 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24565 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24566 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24567 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24568 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24569 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24570 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24571 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24572 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24573 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24574 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24575 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24576 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24577 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24578 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24579 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24580 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24581 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24582 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24583 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24584 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24585
24586 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24587
24588 * stdio-common/_itoa.h: Moved to ...
24589 * sysdeps/generic/_itoa.h: Here.
24590
24591 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24592
24593 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24594 instead of "_itoa.h" and "_itowa.h".
24595 * stdio-common/vfprintf.: Likewise.
24596
d1af992d
L
245972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24598
24599 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24600 <bits/wordsize.h>.
24601 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24602 (__signbit): Likwise.
24603 (llrintf): Likwise.
24604 (llrint): Likwise.
24605
114883e0
L
246062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24607
24608 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24609 __WORDSIZE != 64.
24610
c135cc1b
JM
246112012-03-20 Joseph Myers <joseph@codesourcery.com>
24612
24613 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24614 OVERFLOW_EXCEPTION_OK.
24615 * math/libm-test.inc ("Philosophy"): Update comment about
24616 exception testing.
24617 (OVERFLOW_EXCEPTION): Define.
24618 (OVERFLOW_EXCEPTION_OK): Likewise.
24619 (INVALID_EXCEPTION_OK): Renumber.
24620 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24621 (IGNORE_ZERO_INF_SIGN): Likewise.
24622 (test_exceptions): Handle FE_OVERFLOW.
24623 (exp10_test): Expect overflow exceptions.
24624 (exp2_test): Likewise.
24625 (expm1_test): Likewise.
24626 (nextafter_test): Likewise.
24627 (pow_test): Likewise.
24628 (scalbn_test): Likewise.
24629 (scalbln_test): Likewise.
24630
95443d88
L
246312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24632
24633 * sysdeps/x86_64/bits/atomic.h
24634 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24635 64bit integer.
24636 (atomic_exchange_acq): Likewise.
24637 (__arch_exchange_and_add_body): Likewise.
24638 (__arch_add_body): Likewise.
24639 (atomic_add_negative): Likewise.
24640 (atomic_add_zero): Likewise.
24641
490df6c4
L
246422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24643
c2722551 24644 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24645 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24646
5e52b189
L
246472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24648
24649 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24650 Check __x86_64__ instead of __WORDSIZE.
24651
a9879d4c
L
246522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24653
24654 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24655
5df98260
DM
246562012-03-19 David S. Miller <davem@davemloft.net>
24657
e1497744
DM
24658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24659
5df98260
DM
24660 * sysdeps/sparc/fpu/fenv_private.h: New file.
24661 * sysdeps/sparc/fpu/math_private.h: Use it.
24662 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24663 Remove.
24664 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24665 (libc_feholdexcept_setroundl): Remove.
24666 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24667 Remove.
24668 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24669 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24670
b4c35121
L
246712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24672
24673 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24674 int64_t instead of long int.
24675 (INSERT_WORDS64): Likwise.
24676
56965fd7
L
246772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24678
24679 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24680 _Unwind_GetCFA return to _Unwind_Ptr first.
24681
83d1aec8
JM
246822012-03-19 Joseph Myers <joseph@codesourcery.com>
24683
1897ad44
JM
24684 [BZ #13629]
24685 * math/s_clog.c: Include <float.h>.
24686 (__clog): Scale large or subnormal inputs.
24687 * math/s_clogf.c: Likewise.
24688 * math/s_clogl.c: Likewise.
24689 * math/s_clog10.c: Include <float.h>.
24690 (M_LOG10_2): Define.
24691 (__clog10): Scale large or subnormal inputs.
24692 * math/s_clog10f.c: Likewise.
24693 * math/s_clog10l.c: Likewise.
24694 * math/libm-test.inc (clog_test): Add more tests.
24695 (clog10_test): Likewise.
24696 * sysdeps/i386/fpu/libm-test-ulps: Update.
24697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24698
7726d6a9
JM
24699 [BZ #11451]
24700 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24701 x and y.
24702 * math/libm-test.inc (atan2_test): Add another test.
24703
83d1aec8
JM
24704 * Makerules (common-objdir-compile): Remove.
24705 * sysdeps/unix/Makefile (config-generated): Do not add
24706 $(unix-generated) to variable.
24707 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24708 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24709 Remove rule.
24710 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24711 Likewise.
24712 [generic bits/local_lim.h] (before-compile): Do not append to
24713 variable.
24714 [generic bits/local_lim.h] (common-generated): Likewise.
24715 [generic sys/param.h] (before-compile): Do not append to variable.
24716 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24717 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24718 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24719 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24720 include.
24721 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24722 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24723 [generic sys/param.h] ($(addprefix
24724 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24725 [generic sys/param.h] (common-generated): Do not append to
24726 variable.
24727 [generic sys/param.h] (sysdep_headers): Likewise.
24728 [generic bits/errno.h] (before-compile): Do not append to
24729 variable.
24730 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24731 rule.
24732 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24733 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24734 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24735 [generic bits/errno.h] (common-generated): Do not append to
24736 variable.
24737 [generic bits/ioctls.h] (before-compile): Do not append to
24738 variable.
24739 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24740 rule.
24741 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24742 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24743 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24744 rule.
24745 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24746 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24747 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24748 [generic bits/ioctls.h] (common-generated): Do not append to
24749 variable.
24750 [generic sys/syscall.h] (syscall.h): Remove variable.
24751 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24752 rule.
24753 [generic sys/syscall.h] (before-compile): Do not append to
24754 variable.
24755 [generic sys/syscall.h] (common-generated): Likewise.
24756 * sysdeps/unix/errnos-tmpl.c: Remove file.
24757 * sysdeps/unix/errnos.awk: Likewise.
24758 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24759 * sysdeps/unix/ioctls.awk: Likewise.
24760 * sysdeps/unix/mk-local_lim.c: Likewise.
24761 * sysdeps/unix/snarf-ioctls: Likewise.
24762
4851a949
RH
247632012-03-19 Richard Henderson <rth@twiddle.net>
24764
bd37f2ee
RH
24765 * sysdeps/i386/fpu/fenv_private.h: New file.
24766 * sysdeps/i386/fpu/math_private.h: Use it.
24767 (math_opt_barrier, math_force_eval): Remove.
24768 (libc_feholdexcept_setround_53bit): Remove.
24769 (libc_feupdateenv_53bit): Remove.
24770 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24771 (math_opt_barrier, math_force_eval): Remove.
24772 (libc_feholdexcept): Remove.
24773 (libc_feholdexcept_setround): Remove.
24774 (libc_fetestexcept, libc_fesetenv): Remove.
24775 (libc_feupdateenv_test): Remove.
24776 (libc_feupdateenv, libc_feholdsetround): Remove.
24777 (libc_feresetround): Remove.
24778
d0adc922
RH
24779 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24780 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24781
0fe0f1f8
RH
24782 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24783 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24784 (libc_feupdateenv_testl): New.
24785 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24786 (libc_feupdateenv_testf): New.
24787 (libc_feupdateenv): Use libc_feupdateenv_test.
24788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24789 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24790
eb92c487
RH
24791 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24792 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24793 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24794 (libc_feresetround_noex): New.
24795 (libc_feresetround_noexf): New.
24796 (libc_feresetround_noexl): New.
24797 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24798 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24799 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24800 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24801 SET_RESTORE_ROUND.
24802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24803 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24804 (__cos): Likewise.
24805 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24806 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24807 SET_RESTORE_ROUND_NOEX.
24808 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24809 SET_RESTORE_ROUND_NOEXF.
24810 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24811 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24812 (libc_feholdsetroundf): New.
24813 (libc_feresetround, libc_feresetroundf): New.
24814
7d2e8012
RH
24815 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24816 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24817 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24818
b4dabbb4
RH
24819 * sysdeps/generic/math_private.h: Include <fenv.h>.
24820 (default_libc_feholdexcept): New.
24821 (default_libc_feholdexcept_setround): New.
24822 (default_libc_fesetenv, default_libc_feupdateenv): New.
24823 (libc_feholdexcept): Only define if undefined.
24824 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24825 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24826 (libc_feholdexcept_setroundl): Likewise.
24827 (libc_feholdexcept_setround_53bit): Likewise.
24828 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24829 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24830 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24831 (libc_feupdateenv_53bit): Likewise.
24832 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24833 (libc_feholdexcept): Convert from macro to inline function.
24834 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24835 (libc_fesetenv, libc_feupdateenv): Likewise.
24836
4851a949
RH
24837 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24838 not previously defined.
24839 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24840 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24841 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24842 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24843 * sysdeps/ieee754/flt-32/math_private.h: New file.
24844 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24845 math_private.h below SET_FLOAT_WORD.
24846 (__isnan, __isinf_ns, __finite): Remove.
24847 (__isnanf, __isinf_nsf, __finitef): Remove.
24848
e79d442e
AS
248492012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24850
24851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24852
90b80344
DM
248532012-03-17 David S. Miller <davem@davemloft.net>
24854
24855 [BZ #6471]
24856 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24857 for 2.16.
24858
edc21804
DM
248592012-03-16 David S. Miller <davem@davemloft.net>
24860
77e927af
DM
24861 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24862 warnings.
24863
374976dd
DM
24864 [BZ #6471]
24865 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24866 properly.
24867 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24868 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24869 sysdep_routines when subdir is sysvipc.
24870 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24871 __getshmlba helper.
24872
edc21804
DM
24873 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24874
473c3ef3
L
248752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24876
24877 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24878 [__LP64__].
24879
eb0f39b6
L
248802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24881
24882 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24883 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24884 (__lround): Renamed to ...
24885 (__llround): This. Replace long int with long long int.
24886 Define lround functions as aliases of llround functions.
24887 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24888
6b6cd74b
L
248892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24890
24891 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24892 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24893 adresses to uintptr_t. Replace "long int" and "unsigned long
24894 int" with "greg_t" on va_arg.
24895
f1a77b01
L
248962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24897
24898 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24899 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24900
24901 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24902 Move e_machine check before EI_CLASS check. Handle x32
24903 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24904 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24905 SKIP_EM_IA_64 and include
24906 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24907
24908 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24909 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24910 (add_system_dir): New macro.
24911
24912 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24913 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24914
11b90b9f
JM
249152012-03-16 Joseph Myers <joseph@codesourcery.com>
24916
c36e1d23
JM
24917 [BZ #2551]
24918 [BZ #2552]
24919 [BZ #2553]
24920 [BZ #2554]
24921 [BZ #2562]
24922 [BZ #2563]
24923 [BZ #2565]
24924 [BZ #2566]
24925 [BZ #2576]
24926 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24927 (y0): Likewise.
24928 * math/w_j0f.c (j0f): Likewise.
24929 (y0f): Likewise.
24930 * math/w_j0l.c (__j0l): Likewise.
24931 (__y0l): Likewise.
24932 * math/w_j1.c (j1): Likewise.
24933 (y1): Likewise.
24934 * math/w_j1f.c (j1f): Likewise.
24935 (y1f): Likewise.
24936 * math/w_j1l.c (__j1l): Likewise.
24937 (__y1l): Likewise.
24938 * math/w_jn.c (jn): Likewise.
24939 (yn): Likewise.
24940 * math/w_jnf.c (jnf): Likewise.
24941 (ynf): Likewise.
24942 * math/w_jnl.c (__jnl): Likewise.
24943 (__ynl): Likewise.
24944 * math/libm-test.inc (j0_test): Add more tests.
24945 (j1_test): Likewise.
24946 (jn_test): Likewise. Add trailing semicolon to existing test.
24947 (y0_test): Likewise.
24948 (y1_test): Likewise.
24949 * sysdeps/i386/fpu/libm-test-ulps: Update.
24950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24951
11b90b9f
JM
24952 [BZ #13851]
24953 [BZ #13854]
24954 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24955 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24956 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24957 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24958 (__tanl): Set errno for infinite argument.
24959 * sysdeps/i386/fpu/mptan.c: Remove.
24960 * sysdeps/i386/fpu/s_tan.S: Likewise.
24961 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24962 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24963 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24964 * math/libm-test.inc (tan_test): Add more tests and enable more
24965 tests for double and long double.
24966 * sysdeps/i386/fpu/libm-test-ulps: Update.
24967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24968
6a1bd2a1
JK
249692012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24970
24971 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24972 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24973
10a803e0
RM
249742012-03-16 Roland McGrath <roland@hack.frob.com>
24975
24976 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24977 * configure.in: Use it for both main tree and add-ons.
24978 * configure: Regenerated.
24979
f196c7f7
L
249802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24981
24982 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24983
8848d99d
JM
249842012-03-16 Joseph Myers <joseph@codesourcery.com>
24985
96cbe7f4
JM
24986 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24987 in comment.
24988
8848d99d
JM
24989 [BZ #13851]
24990 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24991 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24992 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24993 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24994 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24995 infinite argument.
24996 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24997 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24998 != 0 for prec == 2.
24999 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25000 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25001 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25002 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25003 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25004 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25005 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25006 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25007 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25008 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25009 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25010 * math/libm-test.inc (cos_test): Add more tests and enable more
25011 tests for long double.
25012 (sin_test): Likewise.
25013 (sincos_test): Likewise.
25014 * sysdeps/i386/fpu/libm-test-ulps: Update.
25015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25016
dd7f4703
DM
250172012-03-16 David S. Miller <davem@davemloft.net>
25018
25019 * sysdeps/sparc/fpu/math_private.h: New file.
25020
006f1daa
DM
250212012-03-15 David S. Miller <davem@davemloft.net>
25022
c0c83bc8
DM
25023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25024 file.
e6a62e18 25025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25027 file.
e6a62e18
DM
25028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25033 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25034 sysdep routines.
25035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25036
88cb87d9
DM
25037 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25038 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25039
006f1daa 25040 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25042 sparc-ifunc.h
006f1daa 25043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25045 Likewise.
25046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25047 Likewise.
006f1daa
DM
25048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25052 Likewise.
006f1daa
DM
25053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25058 Likewise.
25059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25060 Likewise.
006f1daa
DM
25061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25085
11e0098e
AS
250862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25087
25088 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25089 scaling.
25090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25091
e85b09d0
AJ
250922012-03-15 Andreas Jaeger <aj@suse.de>
25093
25094 [BZ #13852]
25095 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25096 ieee754/flt-32 implementation for sin, cos and sincos.
25097 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25098 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25099 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25100 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25101 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25102 ieee754/flt-32 implementation for tan.
25103
25104 * math/libm-test.inc (cos_test): Enable some large input tests for
25105 float as well
25106 (sin_test): Likewise.
25107 (sincos_test): Likewise.
25108 (tan_test): Add tests for large input.
25109
25110 * sysdeps/i386/fpu/libm-test-ulps: Update.
25111
81c64153
AJ
251122012-03-15 Andreas Jaeger <aj@suse.de>
25113
25114 [BZ #13658]
25115 * math/libm-test.inc (cos_test): Add more test cases.
25116 (sin_test): Likewise.
25117 (sincos_test): Likewise.
25118
7bbfa5c6
AJ
251192012-03-15 Andreas Jaeger <aj@suse.de>
25120
25121 [BZ #13837]
25122 * math/libm-test.inc (cos_test): Add a test case for large input
25123 value.
25124 (sin_test): Likewise.
25125 (sincos_test): Likewise.
25126
251272012-03-15 Andreas Jaeger <aj@suse.de>,
25128 Joseph Myers <joseph@codesourcery.com>
25129
25130 [BZ #13658]
0671f479 25131 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25132 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25133 * sysdeps/i386/fpu/branred.c: Likewise.
25134 * sysdeps/i386/fpu/dosincos.c: Likewise.
25135 * sysdeps/i386/fpu/mpa.c: Likewise.
25136 * sysdeps/i386/fpu/s_cos.S: Likewise.
25137 * sysdeps/i386/fpu/s_sin.S: Likewise.
25138 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25139 * sysdeps/i386/fpu/sincos32.c: Likewise.
25140
25141 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25142 Define.
25143 (libc_feupdateenv_53bit): Define.
25144 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25145 Define.
25146 (libc_feupdateenv_53bit): Define.
25147
25148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25149 53 bit (without extend i386 double precision).
25150
25151 * math/libm-test.inc (sincos_test): Add tests for large input.
25152 (sin): Likewise.
25153 (cos): Likewise.
25154
25155 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25156
9cad04ea
AS
251572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25158
25159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25160
f7062b9a
DM
251612012-03-15 David S. Miller <davem@davemloft.net>
25162
25163 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25164 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25165 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25166 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25179 file.
f7062b9a 25180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25182 file.
f7062b9a 25183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25185 file.
f7062b9a 25186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25188 file.
f7062b9a
DM
25189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25190 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25191 fmin/fmax sysdep routines.
25192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25193
7bd951ff
DM
251942012-03-14 David S. Miller <davem@davemloft.net>
25195
559398ab
DM
25196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25203 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25218 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25219 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25221 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25222 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25223 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25225 routines.
25226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25227 file.
559398ab 25228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25230 file.
559398ab 25231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25233 file.
559398ab 25234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25236 file.
559398ab 25237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25239 file.
559398ab 25240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25242 file.
25243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25244 file.
25245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25246 file.
25247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25248 file.
25249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25250 New file.
25251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25252 file.
25253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25254 file.
559398ab 25255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25257 file.
559398ab 25258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25260 file.
559398ab 25261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25263 file.
559398ab 25264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25266 VIS3 routines.
559398ab
DM
25267
25268 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25269 New file.
25270
5a1c1e32
DM
25271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25272
eae47a36
DM
25273 * sysdeps/sparc/configure.in: New file.
25274 * sysdeps/sparc/configure: Generate.
25275 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25276 * configure: Regenerate.
25277 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25278 * config.make.in (have-as-vis3): New.
25279 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25280 available use -Av9d instead of -Av9a.
25281 * sysdeps/sparc/sparc64/Makefile: Likewise.
25282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25284 New file.
25285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25286 file.
25287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25288 New file.
25289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25290 file.
eae47a36
DM
25291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25293 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25294 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25295 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25296
c0c83bc8
DM
25297 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25298 fzeros/fnegs to load 0x80000000 into a float register instead of
25299 using the stack.
7bd951ff
DM
25300 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25301
bd951ccb
JM
253022012-03-14 Joseph Myers <joseph@codesourcery.com>
25303
25304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25305 bits/syscall.h.
25306 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25307 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25308 ($(inst_includedir)/bits/syscall.h): Remove rule.
25309 ($(objpfx)bits/syscall.d): Include instead of
25310 $(objpfx)syscall-list.d.
25311 (generated): Change syscall-list.h and syscall-list.d to
25312 bits/syscall.h and bits/syscall.d.
25313
bb4e6db2
RM
253142012-03-14 Roland McGrath <roland@hack.frob.com>
25315
25316 [BZ #13846]
25317 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25318
aa4a2ae1
JM
253192012-03-14 Joseph Myers <joseph@codesourcery.com>
25320
e456826d
JM
25321 [BZ #13841]
25322 * math/s_csqrt.c: Include <float.h>.
25323 (__csqrt): Scale large or subnormal inputs.
25324 * math/s_csqrtf.c: Likewise.
25325 * math/s_csqrtl.c: Likewise.
25326 * math/libm-test.inc (csqrt_test): Add more tests.
25327 * sysdeps/i386/fpu/libm-test-ulps: Update.
25328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25329
aa4a2ae1
JM
25330 [BZ #13840]
25331 * math/libm-test.inc (hypot_test): Add more tests.
25332
7c10fd35
DM
253332012-03-13 David S. Miller <davem@davemloft.net>
25334
25335 [BZ #13840]
25336 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25337 double-precision for the calculation instead of scaling.
25338
f453b98b
JM
253392012-03-13 Joseph Myers <joseph@codesourcery.com>
25340
25341 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25342 manipulate bits before adding and subtracting TWO52[sx].
25343 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25344 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25345 Likewise.
25346 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25347
09a3453f
DM
253482012-03-13 David S. Miller <davem@davemloft.net>
25349
8e59da90
DM
25350 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25351 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25353 rtld-global-offsets.h
25354 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25355
2a8ab7f2
DM
25356 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25357 large parameters.
25358
10f62770
DM
25359 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25360
5f0bdb18
DM
25361 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25362 'err' in the ifdef scope in which it is actually used.
25363
09a3453f
DM
25364 * nss/nss_db/db-init.c: Include string.h
25365
b4b2eb5e
DM
253662012-03-12 David S. Miller <davem@davemloft.net>
25367
98bb2f1c
DM
25368 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25369 masking out of the most significant byte of random value used.
25370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25371 Fix coding style in previous change.
25372
b4b2eb5e
DM
25373 * sysdeps/unix/sysv/linux/kernel-features.h
25374 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25375 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25376 expression.
25377 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25378 later.
25379
6e226b09
DM
253802012-03-11 David S. Miller <davem@davemloft.net>
25381
a1bcbd40
DM
25382 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25383 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25384 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25385 for 'resultvar' otherwise things get truncated on 64-bit.
25386
cb9d6174
DM
25387 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25388 Fix masking out of the most significant byte of random value used.
25389
6e226b09
DM
25390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25391
058c132d
AS
253922012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25393
25394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25395
2d2cd515
DM
253962012-03-09 David S. Miller <davem@davemloft.net>
25397
25398 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25399 variables with appropriate CPP guards.
25400 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25401 frame pointer, not the stack pointer. Correct layout comments. Fix test
25402 on resulting framesize and the management of the outregs buffer for pltexit.
25403 Preserve floating point return values across _dl_call_pltexit call.
25404 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25405 framesize and the management of the outregs buffer for pltexit.
25406 Preserve floating point return values across _dl_call_pltexit
25407 call.
25408 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25409 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25410 (print_exit): Fix format string for return register value.
25411
9a07f9d0
JM
254122012-03-10 Joseph Myers <joseph@codesourcery.com>
25413
25414 * sunrpc/Makefile (others): Add rpcgen.
25415 ($(objpfx)rpcgen): Remove special build rule and dependency on
25416 libc.
25417 * sunrpc/rpcgen.c: New file.
25418
547b5e30
PE
254192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25420
c524201a
PE
25421 [BZ #13673]
25422 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25423 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25424 * sysdeps/i386/crti.S: Likewise.
25425 * sysdeps/i386/crtn.S: Likewise.
25426 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25427 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25428 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25429 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25430 * sysdeps/sh/crti.S: Likewise.
25431 * sysdeps/sh/crtn.S: Likewise.
25432 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25433
7b6235f2
PE
25434 [BZ #13673]
25435 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25436 with URL.
25437 * locale/programs/locfile-kw.gperf: Likewise.
25438 * locale/programs/charmap-kw.h: Regenerated.
25439 * locale/programs/locfile-kw.h: Likewise.
25440
547b5e30
PE
25441 [BZ #13673]
25442 * intl/plural.y: Replace FSF snail mail address with URL.
25443 * intl/plural.c: Regenerated.
25444
5f0a5dae
RH
254452012-03-09 Richard Henderson <rth@twiddle.net>
25446
25447 * include/math_private.h: Remove file.
25448 * math/math_private.h: Move file ...
25449 * sysdeps/generic/math_private.h: ... here.
25450
b8c03620
RH
25451 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25452 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25453 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25454
4e234f5d 25455 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25456 and <math_private.h>.
25457 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25458 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25459 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25460 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25461 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25462 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25463 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25465 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25466 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25468 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25469 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25470 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25471 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25472 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25473 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25474 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25475 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25476 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25478 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25479 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25481 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25482 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25483 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25484 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25488 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25489 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25501 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25502 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25506 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25509 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25510 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25528 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25529 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25530 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25531 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25532 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25534 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25535 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25536 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25537 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25538 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25539 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25540 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25541 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25542 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25544 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25545 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25546 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25547 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25548 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25549 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25550 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25551 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25552 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25553 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25554 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25555 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25556 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25557 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25558 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25559 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25560 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25561 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25562 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25563 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25564 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25565 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25566 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25567 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25568 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25569 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25570 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25571 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25572 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25573 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25574 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25575 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25576 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25577 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25578 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25579 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25580 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25581 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25582 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25583 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25584 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25585 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25586 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25587 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25588 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25589 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25590 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25591 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25592 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25593 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25594 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25595 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25596 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25597 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25598 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25599 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25600 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25601 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25602 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25603 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25604 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25605 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25606 * sysdeps/ieee754/k_standard.c: Likewise.
25607 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25608 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25611 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25612 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25613 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25614 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25615 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25616 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25617 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25618 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25619 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25620 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25621 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25624 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25626 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25627 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25629 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25630 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25632 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25635 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25637 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25640 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25641 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25642 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25643 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25644 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25645 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25647 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25648 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25649 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25680 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25681 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25684 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25687 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25688 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25689 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25691 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25697 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25698 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25699 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25700 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25703 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25704 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25705 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25706 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25707 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25708 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25710 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25711 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25722 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25723 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25725 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25726 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25727 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25729 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25730 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25732 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25733 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25734 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25735 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25738 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25739 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25740 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25741 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25742 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25744 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25745 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25746 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25747 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25748 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25749 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25750 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25751 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25752 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25753 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25754 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25755 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25756 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25757 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25758 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25759 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25760 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25761 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25762 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25763 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25764 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25765 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25766 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25767 * sysdeps/ieee754/s_lib_version.c: Likewise.
25768 * sysdeps/ieee754/s_matherr.c: Likewise.
25769 * sysdeps/ieee754/s_signgam.c: Likewise.
25770 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25771 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25772 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25773 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25774 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25775 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25776 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25777 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25778 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25779 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25780 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25781 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25782 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25783 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25784 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25785 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25786 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25787 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25788 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25791
1991fa03
JM
257922012-03-09 Joseph Myers <joseph@codesourcery.com>
25793
25794 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25795 * sunrpc/rpc_main.c: Likewise.
25796 * sunrpc/rpc_svcout.c: Likewise.
25797
60d6f5a6
DM
257982012-03-09 David S. Miller <davem@davemloft.net>
25799
25800 * include/math_private.h: New file.
25801
4962050e
JM
258022012-03-09 Joseph Myers <joseph@codesourcery.com>
25803
02a6f887
JM
25804 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25805 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25806 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25807 from <bits/socket_type.h>.
25808 (enum __socket_type): Don't define here.
25809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25811 bits/socket_type.h.
25812
c6e013c1
JM
25813 [BZ #13566]
25814 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25815 checking __USE_GNU.
25816
4962050e
JM
25817 * Makerules ($(inst_includedir)/%.h): New rule.
25818 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25819 (install-others): Remove variable setting.
25820 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25821
38842f45
RH
258222012-03-08 Richard Henderson <rth@twiddle.net>
25823
67bb6da6
RH
25824 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25825 from macro to inline function; merge with the
25826 !__LIBC_INTERNAL_MATH_INLINES version.
25827 (__ieee754_sqrtf): Likewise.
25828
15194b4b
RH
25829 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25830 to inline function.
25831 (__rintf, __floor, __floorf): Likewise.
25832
64e21ede
RH
25833 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25834 macro to inline function.
25835 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25836
38842f45
RH
25837 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25838 not <math/math_private.h>.
25839
c64bf5fe
DM
258402012-03-08 David S. Miller <davem@davemloft.net>
25841
25842 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25843 copyright year.
25844 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25845
82d86f28
TS
258462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25847
25848 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25849 normalization.
25850 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25851 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25852
aea5d727
UD
258532012-03-08 Ulrich Drepper <drepper@gmail.com>
25854
25855 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25856 be defined individually, they must be defined as a block. Define
25857 S for printing a string instead of hidint the different by using a
25858 macro for adding the 'l'.
25859 * stdio-common/tst-fphex-wide.c: Adjust.
25860
70bca0a3
MP
258612012-03-07 Marek Polacek <polacek@redhat.com>
25862
25863 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25864
65b81130
MP
258652012-03-08 Marek Polacek <polacek@redhat.com>
25866
25867 [BZ #13806]
25868 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25869 * stdio-common/tst-fphex.c: Define a few macros to make the
25870 test reusable. Use them.
25871 * stdio-common/tst-fphex-wide.c: New file.
25872
07037eeb
JM
258732012-03-08 Joseph Myers <joseph@codesourcery.com>
25874
a7a93d50
JM
25875 [BZ #6911]
25876 * manual/macros.texi (gnusystems): New macro.
25877 (nongnusystems): Likewise.
25878 (gnulinuxhurdsystems): Likewise.
25879 (gnuhurdsystems): Likewise..
25880 (gnulinuxsystems): Likewise.
25881 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25882 variants of the GNU system, not "GNU system".
25883 * manual/conf.texi: Likewise.
25884 * manual/errno.texi: Likewise. Update example of errno macro
25885 expansion.
25886 * manual/filesys.texi: Likewise.
25887 (getumask): Document as specific to GNU/Hurd.
25888 * manual/install.texi: Likewise. Reword some references to
25889 GNU/Linux.
25890 * manual/intro.texi: Likewise.
25891 * manual/io.texi: Likewise.
25892 (File Name Portability): Detail which constraints are inapplicable
25893 to all GNU systems and which are only inapplicable to GNU/Hurd.
25894 * manual/job.texi: Likewise.
25895 * manual/llio.texi: Likewise.
25896 (O_NOCTTY): Document as present on GNU/Linux.
25897 * manual/maint.texi: Likewise.
25898 * manual/memory.texi: Likewise.
25899 * manual/pattern.texi: Likewise.
25900 * manual/pipe.texi: Likewise.
25901 * manual/process.texi: Likewise.
25902 * manual/resource.texi: Likewise.
25903 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25904 child on GNU/Hurd.
25905 * manual/setjmp.texi: Likewise.
25906 * manual/signal.texi: Likewise.
25907 * manual/startup.texi: Likewise.
25908 * manual/stdio.texi: Likewise.
25909 * manual/terminal.texi: Likewise.
25910 (ONLCR): Document as POSIX.
25911 (OXTABS): Document availability on GNU/Linux as XTABS.
25912 (ONOEOT): Document availability separately from other bits.
25913 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25914 * manual/time.texi: Likewise.
25915 * manual/users.texi: Likewise.
25916 * INSTALL: Regenerated.
25917 * sysdeps/gnu/errlist.c: Regenerated.
25918
07037eeb
JM
25919 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25920 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25921 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25922 puts.
25923 * configure: Regenerated.
25924
d1d3431a
JM
259252012-03-07 Joseph Myers <joseph@codesourcery.com>
25926
af6a1e37
JM
25927 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25928 default includes instead of AC_HEADER_CHECK.
25929 * sysdeps/i386/configure: Regenerated.
25930
d1d3431a
JM
25931 [BZ #10716]
25932 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25933 * math/s_cacoshf.c (__cacoshf): Likewise.
25934 * math/s_cacoshl.c (__cacoshl): Likewise.
25935 * math/s_casinh.c (__casinh): Set signs of result from argument.
25936 * math/s_casinhf.c (__casinhf): Likewise.
25937 * math/s_casinhl.c (__casinhl): Likewise.
25938 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25939 (casinh_test): Add more tests.
25940 * sysdeps/i386/fpu/libm-test-ulps: Update.
25941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25942
482ff4da
UD
259432012-03-07 Ulrich Drepper <drepper@gmail.com>
25944
872fda05
UD
25945 * po/zh_TW.po: Update from translation team.
25946
a4300c7a
UD
25947 * login/Makefile (distribute): Remove variable.
25948 * catgets/Makefile: Likewise.
25949 * mach/Makefile: Likewise.
25950 * malloc/Makefile: Likewise.
25951 * misc/Makefile: Likewise.
25952 * iconv/Makefile: Likewise.
25953 * nscd/Makefile: Likewise.
25954 * hurd/Makefile: Likewise.
25955 * manual/Makefile: Likewise.
25956 * locale/Makefile: Likewise.
25957 * intl/Makefile: Likewise.
25958 * conform/Makefile: Likewise.
25959 * nss/Makefile: Likewise.
25960 * time/Makefile: Likewise.
25961 * soft-fp/Makefile: Likewise.
25962 * dirent/Makefile: Likewise.
25963 * gmon/Makefile: Likewise.
25964 * po/Makefile: Likewise.
25965 * rt/Makefile: Likewise.
25966 * socket/Makefile: Likewise.
25967 * math/Makefile: Likewise.
25968 * signal/Makefile: Likewise.
25969 * debug/Makefile: Likewise.
25970 * elf/Makefile: Likewise.
25971 * timezone/Makefile: Likewise.
25972 * stdlib/Makefile: Likewise.
25973 * iconvdata/Makefile: Likewise.
25974 * sunrpc/Makefile: Likewise.
25975 * io/Makefile: Likewise.
25976 * argp/Makefile: Likewise.
25977 * inet/Makefile: Likewise.
25978 * hesiod/Makefile: Likewise.
25979 * grp/Makefile: Likewise.
25980 * csu/Makefile: Likewise.
25981 * wctype/Makefile: Likewise.
25982 * crypt/Makefile: Likewise.
25983 * libio/Makefile: Likewise.
25984 * string/Makefile: Likewise.
25985 * nis/Makefile: Likewise.
25986 * resolv/Makefile: Likewise.
25987 * stdio-common/Makefile: Likewise.
25988 * wcsmbs/Makefile: Likewise.
25989 * dlfcn/Makefile: Likewise.
25990 * posix/Makefile: Likewise.
25991
3b7c4e74 25992 [BZ #6959]
482ff4da
UD
25993 * timezone/Makefile: Don't install timezone files, just the programs
25994 and scripts.
25995
f72ed77d
UD
259962012-03-06 Ulrich Drepper <drepper@gmail.com>
25997
a000466f
UD
25998 * nss/databases.def: Add missing gshadow entry.
25999
f72ed77d
UD
26000 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26001
a53b7a4e
MP
260022012-03-06 Marek Polacek <polacek@redhat.com>
26003
26004 [BZ #13726]
26005 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26006 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26007 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26008 * stdio-common/tst-long-dbl-fphex.c: New file.
26009
e9258400
DM
260102012-03-06 David S. Miller <davem@davemloft.net>
26011
26012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26013 (set_obp_int): New function.
26014 (get_obp_int): New function.
26015 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26016 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26017 Avoid unused variable warnings on 'val' and use builtin_expect.
26018 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26019 __builtin_expect.
e9258400
DM
26020 (INLINE_CLONE_SYSCALL): Likewise.
26021
3bd2c723
DM
260222012-03-05 David S. Miller <davem@davemloft.net>
26023
26024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26025
bbb78d03
AS
260262012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26027
884c5db4
AS
26028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26029
bbb78d03
AS
26030 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26031 only for |x| >= 40.
26032 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26033
1c9f702a 260342012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26035
26036 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26037 Replace gettimeofday with __vdso_gettimeofday.
26038
7be16f82
RM
26039 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26040 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26041 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26042
26043 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26044 time with __vdso_time.
26045
ed58a00f
JM
260462012-03-05 Joseph Myers <joseph@codesourcery.com>
26047
26048 * manual/lang.texi (size_t): Note types to which size_t may be
26049 equivalent with the GNU C Library, but do not describe when
26050 differences between them are significant.
26051
30ee4ced
AJ
260522012-03-05 Andreas Jaeger <aj@suse.de>
26053
26054 * sysdeps/i386/fpu/libm-test-ulps: Update.
26055
b7cd39e8
JM
260562012-03-05 Joseph Myers <joseph@codesourcery.com>
26057
26058 [BZ #3976]
26059 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26060 (__ieee754_pow): Save and restore rounding mode and use
26061 round-to-nearest for main computations.
26062 * math/libm-test.inc (pow_test_tonearest): New function.
26063 (pow_test_towardzero): Likewise.
26064 (pow_test_downward): Likewise.
26065 (pow_test_upward): Likewise.
26066 (main): Call the new functions.
26067 * sysdeps/i386/fpu/libm-test-ulps: Update.
26068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26069
26070 [BZ #3976]
26071 * math/libm-test.inc (cosh_test_tonearest): New function.
26072 (cosh_test_towardzero): Likewise.
26073 (cosh_test_downward): Likewise.
26074 (cosh_test_upward): Likewise.
26075 (sinh_test_tonearest): Likewise.
26076 (sinh_test_towardzero): Likewise.
26077 (sinh_test_downward): Likewise.
26078 (sinh_test_upward): Likewise.
26079 (main): Call the new functions.
26080 * sysdeps/i386/fpu/libm-test-ulps: Update.
26081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26082
6c6a98c9
TV
260832012-03-05 Tom de Vries <tom@codesourcery.com>
26084
26085 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26086 default stack guard is set in last bytes.
26087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26088
21bb2d2e 260892012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26090
21bb2d2e 26091 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26092
21bb2d2e
AJ
26093 [BZ #13656]
26094 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26095 possibly allocate from heap instead of stack.
26096 * stdio-common/bug-vfprintf-nargs.c: New file.
26097 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26098
c6922934
AS
260992012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26100
26101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26102
bc957d53
MP
261032012-03-03 Marek Polacek <polacek@redhat.com>
26104
26105 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26106 * math/math_private.h: Likewise.
26107 * stdlib/tst-strtod.c: Likewise.
26108 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26109 * sysdeps/x86_64/bits/atomic.h: Likewise.
26110
6358490d
DM
261112012-03-02 David S. Miller <davem@davemloft.net>
26112
26113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26117 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26118 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26119 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26120 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26121
01ae168d
RM
261222012-03-02 Roland McGrath <roland@hack.frob.com>
26123
d9a17c07
RM
26124 [BZ #13792]
26125 * manual/examples/README: New file, says the example source files
26126 can be used under GPL>=2.
26127 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26128 line containing just "*/".
26129 * manual/examples/add.c: Add copyright header (GPL>=2).
26130 * manual/examples/argp-ex1.c: Likewise.
26131 * manual/examples/argp-ex2.c: Likewise.
26132 * manual/examples/argp-ex3.c: Likewise.
26133 * manual/examples/argp-ex4.c: Likewise.
26134 * manual/examples/atexit.c: Likewise.
26135 * manual/examples/db.c: Likewise.
26136 * manual/examples/dir.c: Likewise.
26137 * manual/examples/dir2.c: Likewise.
26138 * manual/examples/execinfo.c: Likewise.
26139 * manual/examples/filecli.c: Likewise.
26140 * manual/examples/filesrv.c: Likewise.
26141 * manual/examples/fmtmsgexpl.c: Likewise.
26142 * manual/examples/genpass.c: Likewise.
26143 * manual/examples/inetcli.c: Likewise.
26144 * manual/examples/inetsrv.c: Likewise.
26145 * manual/examples/isockad.c: Likewise.
26146 * manual/examples/longopt.c: Likewise.
26147 * manual/examples/memopen.c: Likewise.
26148 * manual/examples/memstrm.c: Likewise.
26149 * manual/examples/mkfsock.c: Likewise.
26150 * manual/examples/mkisock.c: Likewise.
26151 * manual/examples/mygetpass.c: Likewise.
26152 * manual/examples/pipe.c: Likewise.
26153 * manual/examples/popen.c: Likewise.
26154 * manual/examples/rprintf.c: Likewise.
26155 * manual/examples/search.c: Likewise.
26156 * manual/examples/select.c: Likewise.
26157 * manual/examples/setjmp.c: Likewise.
26158 * manual/examples/sigh1.c: Likewise.
26159 * manual/examples/sigusr.c: Likewise.
26160 * manual/examples/stpcpy.c: Likewise.
26161 * manual/examples/strdupa.c: Likewise.
26162 * manual/examples/strftim.c: Likewise.
26163 * manual/examples/strncat.c: Likewise.
26164 * manual/examples/subopt.c: Likewise.
26165 * manual/examples/swapcontext.c: Likewise.
26166 * manual/examples/termios.c: Likewise.
26167 * manual/examples/testopt.c: Likewise.
26168 * manual/examples/testpass.c: Likewise.
26169 * manual/examples/timeval_subtract.c: Likewise.
26170
01ae168d
RM
26171 [BZ #13792]
26172 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26173 function to ...
26174 * manual/timeval_subtract.c.texi: ... here, new file.
26175
49efa33d
DM
261762012-03-02 David S. Miller <davem@davemloft.net>
26177
26178 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26179
28afd92d
JM
261802012-03-02 Joseph Myers <joseph@codesourcery.com>
26181
804360ed
JM
26182 [BZ #3976]
26183 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26184 (__sin): Save and restore rounding mode and use round-to-nearest
26185 for all computations.
26186 (__cos): Save and restore rounding mode and use round-to-nearest
26187 for all computations.
26188 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26189 <fenv.h>.
26190 (tan): Save and restore rounding mode and use round-to-nearest for
26191 all computations.
26192 * math/libm-test.inc (cos_test_tonearest): New function.
26193 (cos_test_towardzero): Likewise.
26194 (cos_test_downward): Likewise.
26195 (cos_test_upward): Likewise.
26196 (sin_test_tonearest): Likewise.
26197 (sin_test_towardzero): Likewise.
26198 (sin_test_downward): Likewise.
26199 (sin_test_upward): Likewise.
26200 (tan_test_tonearest): Likewise.
26201 (tan_test_towardzero): Likewise.
26202 (tan_test_downward): Likewise.
26203 (tan_test_upward): Likewise.
26204 (main): Call the new functions.
26205 * sysdeps/i386/fpu/libm-test-ulps: Update.
26206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26207
a6d06d7b
JM
26208 [BZ #10135]
26209 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26210 small n, then large n, before computing and testing k+n.
26211 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26212 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26213 Likewise.
26214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26215 Likewise.
26216 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26217 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26218 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26219 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26220 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26221 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26222 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26223 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26224 * math/libm-test.inc (scalbn_test): Add more tests.
26225 (scalbln_test): Likewise.
26226
07e12bb3
JM
26227 * manual/filesys.texi (mode_t): Describe constraints on size and
26228 signedness, not exact equivalence to a particular type.
26229 (ino_t): Likewise.
26230 (ino64_t): Likewise.
26231 (dev_t): Likewise.
26232 (nlink_t): Likewise.
26233 (blkcnt_t): Likewise.
26234 (blkcnt64_t): Likewise.
26235 * manual/llio.texi (off_t): Likewise.
26236
28afd92d
JM
26237 [BZ #3976]
26238 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26239 (__ieee754_exp): Save and restore rounding mode and use
26240 round-to-nearest for all computations.
26241 * math/libm-test.inc (exp_test_tonearest): New function.
26242 (exp_test_towardzero): Likewise.
26243 (exp_test_downward): Likewise.
26244 (exp_test_upward): Likewise.
26245 (main): Call the new functions.
26246 * sysdeps/i386/fpu/libm-test-ulps: Update.
26247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26248
b1eeb65d
CD
262492012-03-01 Chris Demetriou <cgd@google.com>
26250
26251 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26252 have predictable order.
26253
53362a4b
DM
262542012-03-01 David S. Miller <davem@davemloft.net>
26255
3c969083
DM
26256 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26257
759707de
DM
26258 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26259 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26260 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26261 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26262
dfdb8ff2
DM
26263 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26264 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26265 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26267 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26268 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26269 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26270 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26271 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26272
ead89f96
DM
26273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26274
7f66bd07
DM
26275 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26276 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26277 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26278
53362a4b
DM
26279 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26280 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26281 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26282 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26283 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26284 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26285 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26286 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26287 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26288 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26289 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26290 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26292 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26293 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26295 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26296 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26297 * sysdeps/sparc/elf/configure: Regenerated.
26298
7b1902cb
JM
262992012-03-01 Joseph Myers <joseph@codesourcery.com>
26300
bec039bc
JM
26301 * configure.in (AS, LD): Require binutils 2.20 or later.
26302 * configure: Regenerated.
26303 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26304 as required minimum version.
26305 * INSTALL: Regenerated.
26306
7b1902cb
JM
26307 [BZ #2541]
26308 [BZ #4108]
26309 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26310 before squaring exponent.
26311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26312 bottom long double and 27 bits of top long double before squaring
26313 exponent.
26314 * math/libm-test.inc (erfc_test): Add more tests.
26315 * sysdeps/i386/fpu/libm-test-ulps: Update.
26316 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26318
f775c276
KT
263192012-03-01 Kai Tietz <ktietz@redhat.com>
26320
26321 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26322 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26323 containing bit-fields.
26324 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26325 * soft-fp/single.h (_FP_UNION_S): Likewise.
26326 * soft-fp/double.h (_FP_UNION_D): Likewise.
26327
5b8a4d4a
JM
263282012-02-29 Joseph Myers <joseph@codesourcery.com>
26329
0bab47b6
JM
26330 [BZ #13786]
26331 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26332 not include ../strcmp.S.
26333 [USE_AS_STRNCASECMP_L]: Likewise.
26334 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26335 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26336 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26337 (__strncasecmp_l_ia32): Define as alias to
26338 __strncasecmp_l_nonascii.
26339
0fcad3e2
JM
26340 [BZ #5794]
26341 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26342 * sysdeps/i386/fpu/libm-test-ulps: Update.
26343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26344
5b8a4d4a
JM
26345 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26347
8fdceb2e
JL
263482012-02-29 Jeff Law <law@redhat.com>
26349
26350 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26351 out of bounds read.
26352
1f393a11
MP
263532012-02-29 Marek Polacek <polacek@redhat.com>
26354
26355 [BZ #13706]
26356 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26357 * elf/Makefile: Add rules to run tst-unused-dep.out.
26358
8847f037
DM
263592012-02-28 David S. Miller <davem@davemloft.net>
26360
26361 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26362 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26363 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26365 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26366 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26367
169d7f11
JM
263682012-02-29 Joseph Myers <joseph@codesourcery.com>
26369
26370 * math/libm-test.inc (llround_test): Move one test from
26371 lround_test. Use TEST_f_L in moved test.
26372 (lround_test): Move misplaced test to llround_test. Add testcase
26373 from bug 2561.
26374
39adf059
UD
263752012-02-28 Ulrich Drepper <drepper@gmail.com>
26376
26377 * sysdeps/x86_64/fpu/e_expf.S: New file.
26378 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26379
71b5d1c5
SB
263802012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26381
26382 [BZ #13637]
26383 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26384 of remain_len that may cause incomplete multi-byte character and
26385 false match.
26386 * posix/bug-regex33.c: New file.
26387 * posix/Makefile (tests): Add bug-regex33.
26388
1f77f049
JM
263892012-02-28 Joseph Myers <joseph@codesourcery.com>
26390
26391 * manual/macros.texi: New file.
26392 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26393 * manual/libc.texinfo: Include macros.texi.
26394 * manual/creatute.texi: Likewise.
26395 * manual/install.texi: Likewise.
26396 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26397 @glibcadj{} in references to the GNU C Library.
26398 * manual/charset.texi: Likewise.
26399 * manual/conf.texi: Likewise.
26400 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26401 when not using those macros.
26402 * manual/creature.texi: Likewise.
26403 * manual/crypt.texi: Likewise.
26404 * manual/errno.texi: Likewise.
26405 * manual/filesys.texi: Likewise.
26406 * manual/header.texi: Likewise.
26407 * manual/install.texi: Likewise.
26408 * manual/intro.texi: Likewise.
26409 * manual/io.texi: Likewise.
26410 * manual/job.texi: Likewise.
26411 * manual/lang.texi: Likewise.
26412 * manual/libc.texiinfo: Likewise.
26413 * manual/llio.texi: Likewise.
26414 * manual/locale.texi: Likewise.
26415 * manual/maint.texi: Likewise.
26416 * manual/math.texi: Likewise.
26417 * manual/memory.texi: Likewise.
26418 * manual/message.texi: Likewise.
26419 * manual/nss.texi: Likewise.
26420 * manual/pattern.texi: Likewise.
26421 * manual/process.texi: Likewise.
26422 * manual/resource.texi: Likewise.
26423 * manual/search.texi: Likewise.
26424 * manual/setjmp.texi: Likewise.
26425 * manual/signal.texi: Likewise.
26426 * manual/socket.texi: Likewise.
26427 * manual/startup.texi: Likewise.
26428 * manual/stdio.texi: Likewise.
26429 * manual/string.texi: Likewise.
26430 * manual/sysinfo.texi: Likewise.
26431 * manual/syslog.texi: Likewise.
26432 * manual/terminal.texi: Likewise.
26433 * manual/time.texi: Likewise.
26434 * manual/users.texi: Likewise.
26435 * INSTALL: Regenerated.
26436 * NOTES: Regenerated.
d40c5d54 26437 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26438
450bf206
AS
264392012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26440
26441 * include/dirent.h: Include <dirstream.h> before
26442 <dirent/dirent.h>.
26443
741a235b
DM
264442012-02-28 David S. Miller <davem@davemloft.net>
26445
26446 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26447 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26448 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26449 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26450
d6b5aa58
DM
264512012-02-27 David S. Miller <davem@davemloft.net>
26452
1aff59a3
DM
26453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26455 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26456 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26457
d6b5aa58
DM
26458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26459 frame pointer instead of stack pointer relative arg slot.
26460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26461 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26462 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26463
433f48bf
CD
264642012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26465
26466 [BZ #3992]
26467 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26468
d674b76d
DM
264692012-02-27 David S. Miller <davem@davemloft.net>
26470
26471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26475 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26476 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26477 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26478 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26479
0e7727f7
JM
264802012-02-27 Joseph Myers <joseph@codesourcery.com>
26481
26482 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26483 later. Allow versions 5-9.
43be4ca2 26484 * configure: Regenerated.
0e7727f7
JM
26485 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26486 required minimum version and 4.6 as recommended version. Do not
26487 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26488 * INSTALL: Regenerated.
0e7727f7 26489
a78bc654
DM
264902012-02-27 David S. Miller <davem@davemloft.net>
26491
428d5830
DM
26492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26496 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26497 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26498 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26499 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26500
a78bc654
DM
26501 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26502 manipulate bits before adding and subtracting TWO112[sx].
26503 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26504
4579f81c
RM
265052012-02-27 Roland McGrath <roland@hack.frob.com>
26506
36c8acb4
RM
26507 [BZ #13775]
26508 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26509 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26510 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26511 being in POSIX, because they are in 1003.1-2008.
26512
84ad622b
RM
26513 * rt/tst-aio.c: Include <fcntl.h>.
26514 * rt/tst-aio7.c: Likewise.
26515 * rt/tst-aio64.c: Likewise.
26516
4579f81c
RM
26517 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26518
abd923db
JM
265192012-02-27 Joseph Myers <joseph@codesourcery.com>
26520
26521 * manual/install.texi (--with-headers): Describe headers as
26522 interface headers, not private headers.
26523 (Specific advice for GNU/Linux systems): Describe use of headers
26524 from "make headers_install", not private headers from older
26525 kernels.
43be4ca2 26526 * INSTALL: Regenerated.
abd923db
JM
26527 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26528 Change to 2.6.19.
26529 * sysdeps/unix/sysv/linux/configure: Regenerated.
26530
6664049b
JM
26531 * manual/llio.texi (fclean): Remove documentation.
26532
bb8b6697
JM
26533 * manual/Makefile (libc-texi-generated): New variable. Include
26534 version.texi.
26535 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26536 $(libc-texi-generated), not duplicated list of files.
26537 (version.texi, stamp-version): New rules.
26538 (realclean): Remove $(libc-texi-generated), not individual files
26539 from that list. Do not remove dir-add.texinfo.
26540 * manual/libc.texinfo: Comment out uses of edition numbers and
26541 references to printed manual. Remove last-updated dates.
26542 (EDITION): Comment out.
26543 (ISBN): Likewise.
26544 (VERSION, UPDATED): Remove.
26545 (version.texi): Include.
26546
12e5c3b9
AS
265472012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26548
26549 * sysdeps/posix/spawni.c: Include <signal.h>.
26550 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26551 * sysdeps/pthread/aio_fsync.c: Likewise.
26552
4efeffc1 265532012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26554
ba63ba08
UD
26555 * conform/Makefile (tests): Run only when not cross-compiling and
26556 when fast-check is not defined.
26557
d94a4670
UD
26558 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26559 * conform/data/limits.h-data: Fixes for POSIX2008.
26560 * conform/run-conformtest.sh: Run all tests.
26561 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26562 headers.
26563 * include/bits/dlfcn.h: Likewise.
26564 * include/langinfo.h: Likewise.
26565 * include/monetary.h: Likewise.
26566 * include/sys/poll.h: Likewise.
26567
26568 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26569 for __USE_GNU.
26570 * posix/spawn.h: Define __need_sigset_t.
26571 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26572 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26573 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26574 to get sigevent_t only.
26575 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26576 only for __USE_GNU.
26577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26578 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26579 process_vm_writev only for __USE_GNU.
26580 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26581
26582 * conform/Makefile: For now ignore errors from run-conformtest.
26583 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26584 POSIX to avoid namespace pollution. Don't prepend headers.
26585 * conform/data/aio.h-data: Fixes for POSIX testing.
26586 * conform/data/fcntl.h-data: Likewise.
26587 * conform/data/glob.h-data: Likewise.
26588 * conform/data/grp.h-data: Likewise.
26589 * conform/data/pthread.h-data: Likewise.
26590 * conform/data/pwd.h-data: Likewise.
26591 * conform/data/signal.h-data: Likewise.
26592 * conform/data/spawn.h-data: Likewise.
26593 * conform/data/stdio.h-data: Likewise.
26594 * conform/data/stdlib.h-data: Likewise.
26595 * conform/data/stropts.h-data: Likewise.
26596 * conform/data/sys/mman.h-data: Likewise.
26597 * conform/data/sys/stat.h-data: Likewise.
26598 * conform/data/sys/types.h-data: Likewise.
26599 * conform/data/sys/wait.h-data: Likewise.
26600 * conform/data/time.h-data: Likewise.
26601 * conform/data/unistd.h-data: Likewise.
26602 * conform/data/utime.h-data: Likewise.
26603
26604 * io/sys/stat.h: fchmod was always in POSIX.
26605 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26606 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26607 * rt/aio.h: Define __need_timespec before including <time.h>.
26608 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26609 struct. Add forward declaration of pthread_attr_t and use it in
26610 sigevent.
26611 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26612 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26613 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26614 always remove CLK_TCK definition.
26615
c20105c3
AS
266162012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26617
26618 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26619
7a270350
UD
266202012-02-25 Ulrich Drepper <drepper@gmail.com>
26621
31341567
UD
26622 * conform/run-conformtest.sh: New file.
26623 * conform/Makefile: Run run-conformtest for tests.
26624 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26625 support.
26626
26627 * conform/data/uchar.h-data: New file.
26628 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26629 * conform/data/arpa/inet.h-data: Likewise.
26630 * conform/data/assert.h-data: Likewise.
26631 * conform/data/complex.h-data: Likewise.
26632 * conform/data/cpio.h-data: Likewise.
26633 * conform/data/ctype.h-data: Likewise.
26634 * conform/data/dirent.h-data: Likewise.
26635 * conform/data/dlfcn.h-data: Likewise.
26636 * conform/data/errno.h-data: Likewise.
26637 * conform/data/fcntl.h-data: Likewise.
26638 * conform/data/float.h-data: Likewise.
26639 * conform/data/fmtmsg.h-data: Likewise.
26640 * conform/data/fnmatch.h-data: Likewise.
26641 * conform/data/ftw.h-data: Likewise.
26642 * conform/data/glob.h-data: Likewise.
26643 * conform/data/grp.h-data: Likewise.
26644 * conform/data/iconv.h-data: Likewise.
26645 * conform/data/inttypes.h-data: Likewise.
26646 * conform/data/langinfo.h-data: Likewise.
26647 * conform/data/libgen.h-data: Likewise.
26648 * conform/data/limits.h-data: Likewise.
26649 * conform/data/locale.h-data: Likewise.
26650 * conform/data/math.h-data: Likewise.
26651 * conform/data/monetary.h-data: Likewise.
26652 * conform/data/mqueue.h-data: Likewise.
26653 * conform/data/ndbm.h-data: Likewise.
26654 * conform/data/net/if.h-data: Likewise.
26655 * conform/data/netdb.h-data: Likewise.
26656 * conform/data/netinet/in.h-data: Likewise.
26657 * conform/data/nl_types.h-data: Likewise.
26658 * conform/data/poll.h-data: Likewise.
26659 * conform/data/pthread.h-data: Likewise.
26660 * conform/data/pwd.h-data: Likewise.
26661 * conform/data/regex.h-data: Likewise.
26662 * conform/data/sched.h-data: Likewise.
26663 * conform/data/search.h-data: Likewise.
26664 * conform/data/semaphore.h-data: Likewise.
26665 * conform/data/setjmp.h-data: Likewise.
26666 * conform/data/signal.h-data: Likewise.
26667 * conform/data/spawn.h-data: Likewise.
26668 * conform/data/stdarg.h-data: Likewise.
26669 * conform/data/stdio.h-data: Likewise.
26670 * conform/data/stdlib.h-data: Likewise.
26671 * conform/data/string.h-data: Likewise.
26672 * conform/data/strings.h-data: Likewise.
26673 * conform/data/stropts.h-data: Likewise.
26674 * conform/data/sys/ipc.h-data: Likewise.
26675 * conform/data/sys/mman.h-data: Likewise.
26676 * conform/data/sys/msg.h-data: Likewise.
26677 * conform/data/sys/resource.h-data: Likewise.
26678 * conform/data/sys/select.h-data: Likewise.
26679 * conform/data/sys/sem.h-data: Likewise.
26680 * conform/data/sys/shm.h-data: Likewise.
26681 * conform/data/sys/socket.h-data: Likewise.
26682 * conform/data/sys/stat.h-data: Likewise.
26683 * conform/data/sys/statvfs.h-data: Likewise.
26684 * conform/data/sys/time.h-data: Likewise.
26685 * conform/data/sys/timeb.h-data: Likewise.
26686 * conform/data/sys/times.h-data: Likewise.
26687 * conform/data/sys/types.h-data: Likewise.
26688 * conform/data/sys/uio.h-data: Likewise.
26689 * conform/data/sys/un.h-data: Likewise.
26690 * conform/data/sys/utsname.h-data: Likewise.
26691 * conform/data/sys/wait.h-data: Likewise.
26692 * conform/data/syslog.h-data: Likewise.
26693 * conform/data/tar.h-data: Likewise.
26694 * conform/data/termios.h-data: Likewise.
26695 * conform/data/utime.h-data: Likewise.
26696 * conform/data/utmpx.h-data: Likewise.
26697 * conform/data/varargs.h-data: Likewise.
26698 * conform/data/wchar.h-data: Likewise.
26699 * conform/data/wctype.h-data: Likewise.
26700 * conform/data/wordexp.h-data: Likewise.
26701
26702 * include/stropts.h: New file.
26703 * include/uchar.h: New file.
26704 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26705 * include/assert.h: Likewise.
26706 * include/ctype.h: Likewise.
26707 * include/dirent.h: Likewise.
26708 * include/dlfcn.h: Likewise.
26709 * include/fcntl.h: Likewise.
26710 * include/fnmatch.h: Likewise.
26711 * include/glob.h: Likewise.
26712 * include/grp.h: Likewise.
26713 * include/libio.h: Likewise.
26714 * include/locale.h: Likewise.
26715 * include/math.h: Likewise.
26716 * include/net/if.h: Likewise.
26717 * include/netdb.h: Likewise.
26718 * include/netinet/in.h: Likewise.
26719 * include/pthread.h: Likewise.
26720 * include/pwd.h: Likewise.
26721 * include/regex.h: Likewise.
26722 * include/sched.h: Likewise.
26723 * include/search.h: Likewise.
26724 * include/setjmp.h: Likewise.
26725 * include/signal.h: Likewise.
26726 * include/stdio.h: Likewise.
26727 * include/stdlib.h: Likewise.
26728 * include/string.h: Likewise.
26729 * include/sys/cdefs.h: Likewise.
26730 * include/sys/mman.h: Likewise.
26731 * include/sys/msg.h: Likewise.
26732 * include/sys/resource.h: Likewise.
26733 * include/sys/select.h: Likewise.
26734 * include/sys/socket.h: Likewise.
26735 * include/sys/stat.h: Likewise.
26736 * include/sys/statvfs.h: Likewise.
26737 * include/sys/time.h: Likewise.
26738 * include/sys/times.h: Likewise.
26739 * include/sys/uio.h: Likewise.
26740 * include/sys/utsname.h: Likewise.
26741 * include/sys/wait.h: Likewise.
26742 * include/termios.h: Likewise.
26743 * include/time.h: Likewise.
26744 * include/ulimit.h: Likewise.
26745 * include/unistd.h: Likewise.
26746 * include/utime.h: Likewise.
26747 * include/wchar.h: Likewise.
26748 * include/wctype.h: Likewise.
26749 * include/wordexp.h: Likewise.
26750
26751 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26752
7a270350
UD
26753 * time/time.h: TIME_UTC must be a macro.
26754 Make timespec_get available for ISO C11 only as well.
26755
7724defc
UD
267562012-02-24 Ulrich Drepper <drepper@gmail.com>
26757
26758 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26759 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26760
6b1d1d46
JM
267612012-02-24 Joseph Myers <joseph@codesourcery.com>
26762
26763 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26764
0f8bbd69
JM
267652012-02-24 Joseph Myers <joseph@codesourcery.com>
26766
26767 * manual/texinfo.tex: Update to version 2012-01-19.16.
26768
66ab80bc
JM
267692012-02-24 Joseph Myers <joseph@codesourcery.com>
26770
26771 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26772
74981cc5
RM
267732012-02-24 Roland McGrath <roland@hack.frob.com>
26774
ee968201
RM
26775 [BZ #13738]
26776 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26777 * manual/fdl-1.3.texi: New file.
26778 * manual/fdl-1.1.texi: File removed.
26779
74981cc5
RM
26780 [BZ #13738]
26781 * manual/libc.texinfo (FDL_VERSION): New @set.
26782 Use it for mention of FDL in cover text.
26783 (Documentation License): Use it in @include file name.
26784
7bb764bc
JM
267852012-02-22 Joseph Myers <joseph@codesourcery.com>
26786 Roland McGrath <roland@hack.frob.com>
26787
26788 [BZ #5461]
26789 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26790 not LONG_LONG_MAX and LONG_LONG_MIN.
26791 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26792 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26793 name.
26794 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26795
6cbeae47
JM
267962012-02-22 Joseph Myers <joseph@codesourcery.com>
26797
26798 [BZ #2547]
26799 [BZ #11365]
26800 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26801 manipulate bits before adding and subtracting TWO23[sx].
26802 * math/libm-test.inc (nearbyint_test): Add more tests.
26803
fe45ce09
JM
268042012-02-22 Joseph Myers <joseph@codesourcery.com>
26805
26806 [BZ #2548]
26807 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26808 bits before adding and subtracting TWO23[sx].
26809 * math/libm-test.inc (rint_test): Add more tests.
26810 (rint_test_tonearest): Likewise.
26811 (rint_test_towardzero): Likewise.
26812 (rint_test_downward): Likewise.
26813 (rint_test_upward: Likewise.
26814
ff3b3d82
JM
268152012-02-22 Joseph Myers <joseph@codesourcery.com>
26816
26817 [BZ #10110]
26818 * include/stdc-predef.h: New file. Extracted from features.h.
26819 * include/features.h: Include stdc-predef.h.
26820 * Makefile (headers): Add stdc-predef.h.
26821 * CONFORMANCE (Compiler limitations): Update.
26822
ef0aab35
JM
268232012-02-22 Joseph Myers <joseph@codesourcery.com>
26824
26825 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26826
58639409
DM
268272012-02-21 David S. Miller <davem@davemloft.net>
26828
26829 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26830 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26831
c0e70b25
DM
268322012-02-20 David S. Miller <davem@davemloft.net>
26833
26834 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26835 using a normal save/restore sequence, rather than allocating a
26836 dummy stack frame just to store a frame pointer and restore.
26837 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26838
fb06851d
JM
268392012-02-21 Joseph Myers <joseph@codesourcery.com>
26840
26841 * manual/install.texi: Fix stray word in line-wrapped comment.
26842
7a8b71c3
DM
268432012-02-20 David S. Miller <davem@davemloft.net>
26844
d510c123
DM
26845 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26846 both binutils and gcc support GOTDATA.
26847
0722d7c2
DM
26848 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26849 "rd %pc" in the PIC register setup sequences.
26850
3d2b3019
DM
26851 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26852 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26853 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26854 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26855 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26858 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26859 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26860 (SYSCALL_ERROR_HANDLER): Likewise.
26861 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26862 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26864 (SYSCALL_ERROR_HANDLER): Likewise.
26865
c80098a9
DM
26866 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26867 (HAVE_GCC_GOTDATA): New.
26868 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26869 relocation support in both binutils and gcc.
26870 * sysdeps/sparc/elf/configure: Regenerate.
26871
3a2545a0
DM
26872 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26873 * sysdeps/sparc/sparc32/elf/configure: Delete.
26874 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26875 * sysdeps/sparc/sparc64/elf/configure: Delete.
26876 * sysdeps/sparc/elf/configure.in: New file.
26877 * sysdeps/sparc/elf/configure: Generate.
26878
7a8b71c3
DM
26879 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26880 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26881 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26882 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26883 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26884
f1e86fca
JM
268852012-02-21 Joseph Myers <joseph@codesourcery.com>
26886
26887 * manual/install.texi: Do not mention specific glibc version
26888 numbers.
26889 * manual/libc.texinfo (VERSION, UPDATED): Update.
26890 (@copying): Use @copyright{} and range of years.
26891
0e7dfaef
JM
268922012-02-21 Joseph Myers <joseph@codesourcery.com>
26893
26894 [BZ #13695]
26895 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26896 [crti.S not in sysdirs] (generated): Do not append.
26897 [crti.S not in sysdirs] (omit-deps): Likewise.
26898 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26899 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26900 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26901 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26902 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26903 Likewise.
26904 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26905 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26906 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26907 * csu/defs.awk: Remove file.
26908 * sysdeps/generic/initfini.c: Likewise.
26909 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26910 variable.
26911 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26912 Likewise.
26913
599af3ca
JM
269142012-02-20 Joseph Myers <joseph@codesourcery.com>
26915
26916 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26917 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26918 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26919 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26920 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26921 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26922 <bits/epoll.h>.
26923 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26924 (__EPOLL_PACKED): Define to empty if not defined by
26925 <bits/epoll.h>.
26926 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26928 bits/epoll.h.
26929
0e499750
JM
269302012-02-20 Joseph Myers <joseph@codesourcery.com>
26931
26932 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26933 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26934 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26935 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26936 <bits/timerfd.h>.
26937 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26939 bits/timerfd.h.
26940
5ad91f6e
JM
269412012-02-20 Joseph Myers <joseph@codesourcery.com>
26942
26943 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26944 in C locale.
26945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26946 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26947 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26949
06b99b02
AJ
269502012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26951
26952 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26953 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26954
7638c0fd
AS
269552012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26956
26957 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26958 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26959 defined.
26960 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26961 Likewise.
26962 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26963 entry for 2.16.
26964
92221550
AJ
269652012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26966
26967 * math/w_acos.c: Use non-signaling floating-point comparisons.
26968 * math/w_acosf.c: Likewise.
26969 * math/w_acosh.c: Likewise.
26970 * math/w_acoshf.c: Likewise.
26971 * math/w_acoshl.c: Likewise.
26972 * math/w_acosl.c: Likewise.
26973 * math/w_asin.c: Likewise.
26974 * math/w_asinf.c: Likewise.
26975 * math/w_asinl.c: Likewise.
26976 * math/w_atanh.c: Likewise.
26977 * math/w_atanhf.c: Likewise.
26978 * math/w_atanhl.c: Likewise.
26979 * math/w_exp2.c: Likewise.
26980 * math/w_exp2f.c: Likewise.
26981 * math/w_exp2l.c: Likewise.
26982 * math/w_j0.c: Likewise.
26983 * math/w_j0f.c: Likewise.
26984 * math/w_j0l.c: Likewise.
26985 * math/w_j1.c: Likewise.
26986 * math/w_j1f.c: Likewise.
26987 * math/w_j1l.c: Likewise.
26988 * math/w_jn.c: Likewise.
26989 * math/w_jnf.c: Likewise.
26990 * math/w_log.c: Likewise.
26991 * math/w_log10.c: Likewise.
26992 * math/w_log10f.c: Likewise.
26993 * math/w_log10l.c: Likewise.
26994 * math/w_log2.c: Likewise.
26995 * math/w_log2f.c: Likewise.
26996 * math/w_log2l.c: Likewise.
26997 * math/w_logf.c: Likewise.
26998 * math/w_logl.c: Likewise.
26999 * math/w_sqrt.c: Likewise.
27000 * math/w_sqrtf.c: Likewise.
27001 * math/w_sqrtl.c: Likewise.
27002 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27003 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27004 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27005 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27006 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27007
ebaf36eb
JM
270082012-02-19 Joseph Myers <joseph@codesourcery.com>
27009
27010 [BZ #9739]
27011 * manual/string.texi (strnlen): Use correct parameter name in
27012 equivalent expression.
27013
71c254a6
JM
270142012-02-19 Joseph Myers <joseph@codesourcery.com>
27015
27016 [BZ #11174]
27017 * manual/users.texi (seteuid): Consistently use neweuid for
27018 argument name.
27019
16d2c631
JM
270202012-02-19 Joseph Myers <joseph@codesourcery.com>
27021
27022 [BZ #13704]
27023 * manual/nss.texi (Services in the NSS configuration): Correct
27024 list of services in example configuration file.
27025
cd837b09
NB
270262012-02-19 Nick Bowler <nbowler@draconx.ca>
27027
27028 [BZ #11322]
27029 * manual/arith.texi: Remove statements about negative zero
27030 behaving identically to zero.
27031
02c4bbad
JM
270322012-02-18 Joseph Myers <joseph@codesourcery.com>
27033
27034 [BZ #5993]
27035 * manual/install.texi: Do not document upgrading from libc5.
27036
366842e7
JM
270372012-02-18 Joseph Myers <joseph@codesourcery.com>
27038
27039 [BZ #4596]
27040 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27041
dd54084d
DM
270422012-02-18 David S. Miller <davem@davemloft.net>
27043
27044 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27045 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27046 %o7 across the call.
27047 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27048 instead.
27049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27050 SETUP_PIC_REG_LEAF.
27051 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27052 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27053 * sysdeps/sparc/crtn.S: Likewise.
27054
2bcc53a3
UD
270552012-02-17 Ulrich Drepper <drepper@gmail.com>
27056
27057 * aout/Makefile: Remove.
27058
09c093b5
RK
270592012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27060
27061 [BZ #13058]
27062 * manual/examples/argp-ex1.c (main): Format definition in GNU
27063 style.
27064 * manual/examples/argp-ex2.c (main): Likewise.
27065 * manual/examples/argp-ex3.c (main): Likewise.
27066 * manual/examples/argp-ex4.c (main): Likewise.
27067 * manual/examples/longopt.c (main): Use new-style prototype
27068 definition.
27069 * manual/examples/strncat.c (main): Specify return type and use
27070 (void) for arguments.
27071 * manual/examples/subopt.c (main): Use char **argv argument.
27072
2ee633a2
JM
270732012-02-17 Joseph Myers <joseph@codesourcery.com>
27074
27075 [BZ #5077]
27076 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27077 rounding modes.
27078
0520adde
FB
270792012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27080
27081 [BZ #6907]
27082 * manual/string.texi (strchr): Change when strchrnul is
27083 recommended.
27084
3f4081cd
DGM
270852012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27086
27087 [BZ #174]
27088 * manual/locale.texi (setlocale): Document LOCPATH.
27089
d1b10e78
JM
270902012-02-17 Joseph Myers <joseph@codesourcery.com>
27091
27092 [BZ #10210]
27093 * manual/process.texi (execle): Move @dots{} before last argument.
27094
79c6869c
PB
270952012-02-17 Paul Bolle <pebolle@tiscali.nl>
27096
27097 [BZ #12047]
27098 * manual/charset.texi (Generic Charset Conversion): Fix typo
27099 (LC_TYPE -> LC_CTYPE).
27100
cc6e48bc
NB
271012012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27102
27103 [BZ #5805]
27104 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27105 (scalbnf): Likewise.
27106 (scalbnl): Likewise.
27107 (scalbln): Likewise.
27108 (scalblnf): Likewise.
27109 (scalblnl): Likewise.
27110 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27111 (vwarnx): Likewise.
27112 (verr): Likewise.
27113 (verrx): Likewise.
27114 * manual/filesys.texi (telldir): Use braces around return type.
27115 * manual/llio.texi (mmap): Add space after comma.
27116 (mmap64): Likewise.
27117 * manual/math.texi (jn): Use @var{} on parameter names.
27118 (jnf): Likewise.
27119 (jnl): Likewise.
27120 (yn): Likewise.
27121 (ynf): Likewise.
27122 (ynl): Likewise.
27123 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27124 line.
27125 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27126 "...".
27127 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27128 (sched_get_priority_max): Likewise.
27129 * manual/signal.texi (sigvec): Add space after comma.
27130 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27131 names.
27132 (if_indextoname): Likewise.
27133 (if_freenameindex): Likewise.
27134 (sendto): Use ',' instead of '.' in prototype.
27135 * manual/startup.texi (syscall): Use @dots{} instead of literal
27136 "...".
27137 * manual/stdio.texi (__fpending): Separate initial words of
27138 paragraph from @deftypefun line.
27139 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27140 "...".
27141 (vsyslog): Use @var{} on parameter names.
27142 * manual/terminal.texi (stty): Use @var{} on parameter names.
27143 * manual/users.texi (getutmp): Use @var{} on parameter names.
27144 (getutmpx): Likewise.
27145
5b23062f
JM
271462012-02-17 Joseph Myers <joseph@codesourcery.com>
27147
27148 [BZ #6884]
27149 * manual/stdio.texi (fopen): Fix typos in description of
27150 ",ccs=STRING".
27151
8dee4833
AJ
271522012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27153
27154 [BZ #4026]
27155 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27156 get clock_id definition.
27157
9078ce93
TS
271582012-02-17 Thomas Schwinge <thomas@schwinge.name>
27159
27160 [BZ #4822]
27161 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27162 (madvise): Cast every argument to void on its own.
27163
3835c55f
JM
271642012-02-17 Joseph Myers <joseph@codesourcery.com>
27165
27166 [BZ #9902]
27167 * manual/startup.texi (Exit Status): Fix typo.
27168
35c47e37
JM
271692012-02-17 Joseph Myers <joseph@codesourcery.com>
27170
27171 [BZ #10140]
27172 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27173 * manual/examples/argp-ex2.c: Likewise.
27174 * manual/examples/argp-ex3.c: Likewise.
27175
e3b69ca7
RH
271762012-02-16 Richard Henderson <rth@redhat.com>
27177
27178 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27179 * sysdeps/s390/s390-32/initfini.c: Remove.
27180 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27181 * sysdeps/s390/s390-64/initfini.c: Remove.
27182
df83af67
KK
271832012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27184
27185 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27186 compiler output for sysdeps/generic/initfini.c.
27187 * sysdeps/sh/elf/initfini.c: Remove file.
27188
f63f3380
DM
271892012-02-16 David S. Miller <davem@davemloft.net>
27190
fb59b3a4
DM
27191 [BZ #11494]
27192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27193
f63f3380
DM
27194 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27195 * sysdeps/sparc/crti.S: New file.
27196 * sysdeps/sparc/crtn.S: New file.
27197 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27198 * sysdeps/sparc/sparc64/Makefile: Likewise.
27199
df6a4a4a
MF
272002012-02-15 Mike Frysinger <vapier@gentoo.org>
27201
6dd8f3dc 27202 [BZ #3335]
df6a4a4a
MF
27203 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27204
1cac7236
RM
272052012-02-15 Roland McGrath <roland@hack.frob.com>
27206
d2c736f8
RM
27207 [BZ #4822]
27208 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27209
1cac7236
RM
27210 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27211 (write, read, close): Likewise.
27212 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27213
8e475601
JM
272142012-02-15 Joseph Myers <joseph@codesourcery.com>
27215
27216 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27217 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27218 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27219 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27220 <bits/signalfd.h>.
27221 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27223 bits/signalfd.h.
27224
ed656b40
MP
272252012-02-14 Marek Polacek <polacek@redhat.com>
27226
27227 * sysdeps/x86_64/crti.S: New file.
27228 * sysdeps/x86_64/crtn.S: New file.
27229 * sysdeps/x86_64/elf/initfini.c: Remove file.
27230
2a979d3a
JM
272312012-02-13 Joseph Myers <joseph@codesourcery.com>
27232
27233 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27234 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27235 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27236 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27237 <bits/inotify.h>.
27238 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27240 bits/inotify.h.
27241
2a418ac3
JM
272422012-02-13 Joseph Myers <joseph@codesourcery.com>
27243
27244 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27245 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27246 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27247 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27248 <bits/eventfd.h>.
27249 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27251 bits/eventfd.h.
27252
fb779be7
TS
272532012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27254
e19e83c5
RM
27255 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27256 __feraiseexcept instead of feraiseexcept.
7c35ffed 27257
fb779be7
TS
27258 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27259 nanosleep invocations.
27260 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27261 strings, and add error checking for a nanosleep invocations.
27262
59ba27a6
PE
272632012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27264
27265 Replace FSF snail mail address with URLs, as per GNU coding standards.
27266 Most of the snail mail addresses were wrong anyway, and omitting
27267 them makes the source code easier to maintain. Almost all of the
27268 changes are to license notices and to locale LC_IDENTIFICATION
27269 addresses, except for this one:
27270 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27271 not its snail mail address.
27272
57b957eb
RH
272732012-02-09 Richard Henderson <rth@twiddle.net>
27274
af850b1c
RH
27275 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27276 of kernel-features.h.
27277
57b957eb
RH
27278 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27279
6b73181a
MP
272802012-02-08 Marek Polacek <polacek@redhat.com>
27281
27282 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27283 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27284 * sysdeps/gnu/_G_config.h: Likewise.
27285 * sysdeps/generic/_G_config.h: Likewise.
27286
26ecc33a
AS
272872012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27288
6c6dbc63
AS
27289 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27290 tests.
27291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27292
e216c012
AS
27293 * sysdeps/powerpc/powerpc32/crti.S: New file.
27294 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27295 * sysdeps/powerpc/powerpc64/crti.S: New file.
27296 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27297
26ecc33a
AS
27298 * Makeconfig (have-initfini): Don't set.
27299 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27300 * configure.in (nopic_initfini): Don't substitute.
27301 * config.h.in (HAVE_INITFINI): Don't #undef.
27302 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27303 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27304
3add8e13
JM
273052012-02-08 Joseph Myers <joseph@codesourcery.com>
27306
27307 Support crti.S and crtn.S provided directly by architectures.
27308 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27309 [crti.S in sysdirs] (omit-deps): Likewise.
27310 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27311 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27312 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27313 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27314 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27315 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27316 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27317 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27318 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27319 compiler output for sysdeps/generic/initfini.c.
27320 * sysdeps/i386/elf/Makefile: Remove file.
27321 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27322
a22f12b4
MP
273232012-02-07 Marek Polacek <polacek@redhat.com>
27324
27325 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27326 * sysdeps/gnu/_G_config.h: Likewise.
27327 * sysdeps/mach/hurd/_G_config.h: Likewise.
27328
148cf100
MP
273292012-02-07 Marek Polacek <polacek@redhat.com>
27330
27331 * math/Makefile (tests): Add tst-CMPLX2.
27332 * math/tst-CMPLX2.c: New file.
27333
cfdc0dd7
AS
273342012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27335
84ba42c4
AS
27336 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27337
cfdc0dd7
AS
27338 * math/libm-test.inc (jn_test): Add missing L suffix.
27339
622c86f4
MP
273402012-02-06 Marek Polacek <polacek@redhat.com>
27341
27342 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27343 * sysdeps/i386/fpu/e_powf.S: Likewise.
27344 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27345 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27346 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27347 * sysdeps/i386/fpu/e_pow.S: Likewise.
27348 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27349 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27350 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27351 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27352 * sysdeps/i386/fpu/e_log2.S: Likewise.
27353 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27354 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27355 * sysdeps/i386/fpu/e_powl.S: Likewise.
27356 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27358 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27359 * sysdeps/i386/fpu/e_logl.S: Likewise.
27360 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27361 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27362 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27363 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27364 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27365 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27366 * sysdeps/i386/fpu/e_log.S: Likewise.
27367 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27368 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27369 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27370 * sysdeps/i386/fpu/e_logf.S: Likewise.
27371 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27372 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27373 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27374 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27375 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27376 * sysdeps/i386/fpu/e_log10.S: Likewise.
27377 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27379 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27380 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27381 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27382 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27383 * sysdeps/i386/asm-syntax.h: Likewise.
27384 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27385 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27386 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27387 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27388 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27389 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27390 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27391 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27392 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27393 * sysdeps/powerpc/sysdep.h: Likewise.
27394 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27395 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27396
d4a54ac6
JM
273972012-02-06 Joseph Myers <joseph@codesourcery.com>
27398
27399 [BZ #411]
27400 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27401
314054ea
JM
274022012-02-06 Joseph Myers <joseph@codesourcery.com>
27403
27404 * sysdeps/i386/sysdep.h: Include <features.h>.
27405 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27406 version.
27407
d8e0ca50
JM
274082012-02-05 Joseph Myers <joseph@codesourcery.com>
27409
27410 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27411 Define.
27412 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27413 LOAD_PIC_REG_STR.
27414
b1da7dd9
JM
274152012-02-03 Joseph Myers <joseph@codesourcery.com>
27416
27417 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27418 (SETUP_PIC_REG): Use GET_PC_THUNK.
27419 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27420 macro.
27421
9a1d9254
JM
274222012-02-03 Joseph Myers <joseph@codesourcery.com>
27423
27424 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27425 for non-PIC compilation.
27426 (SETUP_PIC_REG): Add .p2align directive.
27427 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27428 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27429 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27430 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27431 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27432 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27433 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27435 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27436 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27437 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27438 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27439 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27440 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27441 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27442 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27443 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27444 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27445 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27446 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27447 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27449 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27450 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27451 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27453 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27454 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27455 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27456 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27457 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27458 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27459 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27460 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27461 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27462 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27463 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27464 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27465 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27466 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27467 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27468
65dc3b75
JM
274692012-02-03 Joseph Myers <joseph@codesourcery.com>
27470
27471 * math/tst-CMPLX.c: Include <stdio.h>.
27472
d55bf177
JM
274732012-01-31 Joseph Myers <joseph@codesourcery.com>
27474
27475 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27476 float.
27477 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27478 * sysdeps/sparc/bits/mathdef.h: Likewise.
27479
69db4f8f
MP
274802012-01-31 Marek Polacek <polacek@redhat.com>
27481
27482 * libio/libio.h: Don't define _PARAMS.
27483 * locale/programs/config.h: Don't define PARAMS.
27484 * stdlib/strtol_l.c: Likewise.
27485 (__strtol_l): Remove PARAMS from the prototype.
27486
41b81892
UD
274872012-01-31 Ulrich Drepper <drepper@gmail.com>
27488
3b49edc0
UD
27489 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27490 names. Just use the correct names. Remove unnecessary wrapper
27491 functions.
27492 * malloc/arena.c: Likewise.
27493 * malloc/hooks.c: Likewise.
27494
41b81892
UD
27495 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27496 ARENA_TEST says not to. Simplify test for creation of a new arena.
27497 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27498
27a25b6e
UD
274992012-01-30 Ulrich Drepper <drepper@gmail.com>
27500
27501 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27502 into tail calls.
27503 (update_get_addr): New function.
27504 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27505 GET_ADDR_MODULE parameter.
27506
c8a89e7d
JM
275072012-01-30 Joseph Myers <joseph@codesourcery.com>
27508
27509 * crypt/cert.c: Remove __STDC__ conditionals.
27510 * crypt/crypt-entry.c: Likewise.
27511 * crypt/crypt_util.c: Likewise.
27512 * libio/filedoalloc.c: Likewise.
27513 * libio/fileops.c: Likewise.
27514 * libio/genops.c: Likewise.
27515 * libio/iofclose.c: Likewise.
27516 * libio/iofdopen.c: Likewise.
27517 * libio/iofopen.c: Likewise.
27518 * libio/iofopen64.c: Likewise.
27519 * libio/iogetdelim.c: Likewise.
27520 * libio/iopopen.c: Likewise.
27521 * libio/obprintf.c: Likewise.
27522 * libio/oldfileops.c: Likewise.
27523 * libio/oldiofclose.c: Likewise.
27524 * libio/oldiofdopen.c: Likewise.
27525 * libio/oldiofopen.c: Likewise.
27526 * libio/oldiopopen.c: Likewise.
27527 * libio/wfiledoalloc.c: Likewise.
27528 * libio/wgenops.c: Likewise.
27529 * locale/programs/xmalloc.c: Likewise.
27530 * misc/syslog.c: Likewise.
27531 * stdio-common/xbug.c: Likewise.
27532 * string/memchr.c: Likewise.
27533 * string/memcmp.c: Likewise.
27534 * string/memrchr.c: Likewise.
27535 * string/rawmemchr.c: Likewise.
27536 * sysdeps/posix/getcwd.c: Likewise.
27537 * time/strftime_l.c: Likewise.
27538
3b100462
JM
275392012-01-30 Joseph Myers <joseph@codesourcery.com>
27540
27541 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27542 * config.make.in (config-cflags-sse2avx): Define.
27543 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27544 Fix typo.
27545
607998af
CM
275462012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27547
27548 * scripts/config.guess: Update from upstream config git repository.
27549 * scripts/config.sub: Likewise.
27550
3601428f
CM
275512012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27552
3ac8b282
CM
27553 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27554 (EM_NUM): Update.
27555 (R_TILEPRO_*, R_TILEGX_*): New macros.
27556
e034841e
CM
27557 * scripts/firstversions.awk: Fix bug in version range handling.
27558
540d7568
CM
27559 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27560
3601428f
CM
27561 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27562
463de862
CM
27563 * include/sys/epoll.h: New file.
27564 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27565 libc_hidden_def.
27566
73139a76
UD
275672012-01-28 Ulrich Drepper <drepper@gmail.com>
27568
96bc5b45
UD
27569 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27570 Avoid unnecessary __WORDSIZE == 64 test.
27571 (fmaxf): Use VEX format if possible.
27572 (fmax): Likewise.
27573 (fminf): Likewise.
27574 (fmin): Likewise.
27575
56f6f6a2
UD
27576 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27577 * math/math_private.h: Remove libc_fegetround* and
27578 libc_fesetround*.
27579 * sysdeps/i386/configure.in: Check for -msse2avx.
27580 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27581 also if SSE2AVX is defined.
27582 Remove libc_fegetround* and libc_fesetround*.
27583 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27584 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27585 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27586 of HAS_YMM_USABLE.
27587 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27588 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27589 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27590 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27591 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27592
73139a76
UD
27593 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27594
d73f93a4
AZ
275952012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27596
27597 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27598 size is not set.
27599 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27600
6ee65ed6
UD
276012012-01-27 Ulrich Drepper <drepper@gmail.com>
27602
27603 [BZ #13618]
27604 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27605 relocation.
27606 * Makeconfig (libm): Define.
27607 * elf/Makefile: Add rules to build and run tst-relsort1.
27608 * elf/tst-relsort1.c: New file.
27609 * elf/tst-relsort1mod1.c: New file.
27610 * elf/tst-relsort1mod2.c: New file.
27611
8db21882
JM
276122012-01-27 Joseph Myers <joseph@codesourcery.com>
27613
27614 * math/s_ldexp.c: Remove __STDC__ conditionals.
27615 * math/s_ldexpf.c: Likewise.
27616 * math/s_ldexpl.c: Likewise.
27617 * math/s_nextafter.c: Likewise.
27618 * math/s_nexttowardf.c: Likewise.
27619 * math/s_significand.c: Likewise.
27620 * math/s_significandf.c: Likewise.
27621 * math/s_significandl.c: Likewise.
27622 * math/w_jnl.c: Likewise.
27623 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27624 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27625 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27626 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27627 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27629 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27630 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27631 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27632 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27633 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27634 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27635 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27636 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27637 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27638 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27639 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27640 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27642 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27643 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27644 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27645 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27646 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27647 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27648 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27649 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27650 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27651 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27652 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27653 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27654 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27655 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27656 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27657 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27658 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27659 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27660 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27661 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27662 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27663 * sysdeps/ieee754/k_standard.c: Likewise.
27664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27665 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27666 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27667 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27668 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27669 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27670 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27671 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27672 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27673 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27674 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27675 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27676 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27677 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27678 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27683 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27684 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27686 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27687 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27688 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27689 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27690 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27691 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27695 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27696 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27697 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27698 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27700 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27702 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27705 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27706 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27707 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27708 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27709 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27711 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27712 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27713 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27719 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27720 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27721 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27722 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27723 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27724 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27725 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27726 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27727 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27729 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27730 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27731 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27733 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27736 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27738 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27739 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27740 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27741 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27742 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27743 * sysdeps/ieee754/s_matherr.c: Likewise.
27744 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27745 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27746 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27747 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27748
965a54a4
JM
277492012-01-26 Joseph Myers <joseph@codesourcery.com>
27750
27751 * crypt/md5.h: Remove __STDC__ conditionals.
27752 * libio/libioP.h: Likewise.
27753 * locale/programs/config.h: Likewise.
27754 * sysdeps/generic/sysdep.h: Likewise.
27755 * sysdeps/i386/asm-syntax.h: Likewise.
27756 * sysdeps/s390/asm-syntax.h: Likewise.
27757 * sysdeps/unix/sysdep.h: Likewise.
27758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27760
7071ad79
JM
277612012-01-26 Joseph Myers <joseph@codesourcery.com>
27762
27763 * libio/libio.h: Remove __STDC__ conditionals.
27764 * malloc/obstack.h: Likewise.
27765 * math/complex.h: Likewise.
27766 * math/math.h: Likewise.
27767 * sysdeps/generic/_G_config.h: Likewise.
27768 * sysdeps/gnu/_G_config.h: Likewise.
27769 * sysdeps/mach/hurd/_G_config.h: Likewise.
27770 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27771 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27772 * sysdeps/sparc/bits/mathdef.h: Likewise.
27773
afc5ed09
UD
277742012-01-26 Ulrich Drepper <drepper@gmail.com>
27775
27776 [BZ #13583]
27777 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27778 Clean up HAS_* macros.
afc5ed09 27779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27780 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27781 possible.
27782 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27783 HAS_AVX.
27784 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27785 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27786 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27787 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27788 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27789
bdb6de1d
JM
277902012-01-25 Joseph Myers <joseph@codesourcery.com>
27791
27792 * elf/tst-unique3.cc (gets): Remove declaration.
27793 * elf/tst-unique3lib.cc (gets): Likewise.
27794 * elf/tst-unique3lib2.cc (gets): Likewise.
27795 * elf/tst-unique4.cc (gets): Likewise.
27796
b15549e6
UD
277972012-01-24 Ulrich Drepper <drepper@gmail.com>
27798
27799 * include/stdio.h: Add C++ protection. Add gets declarations and
27800 definitions.
27801 * debug/tst-chk1.c: Don't declare gets here.
27802 * stdio-common/tst-gets.c: Likewise.
27803
a037381f
JM
278042012-01-24 Joseph Myers <joseph@codesourcery.com>
27805
27806 * posix/glob: Remove directory.
27807
f1d4aa75
JM
278082012-01-24 Joseph Myers <joseph@codesourcery.com>
27809
27810 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27811
81c0c964
PT
278122012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27813
27814 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27815 of the non-standard EPFNOSUPPORT.
27816
0ea698ae
ST
278172011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27818
27819 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27820 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27821 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27822
d220b117
UD
278232012-01-21 Ulrich Drepper <drepper@gmail.com>
27824
27825 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27826
3e1aa84e
UD
278272012-01-20 Ulrich Drepper <drepper@gmail.com>
27828
27829 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27830 transient errors.
27831 * nscd/grpcache.c (cache_addgr): Likewise.
27832 * nscd/hstcache.c (cache_addhst): Likewise.
27833 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27834 * nscd/pwdcache.c (cache_addpw): Likewise.
27835 * nscd/servicescache.c (cache_addserv): Likewise.
27836
400aa020
UD
278372012-01-16 Ulrich Drepper <drepper@gmail.com>
27838
d77e7869
UD
27839 * malloc/malloc.c: Various cleanups.
27840 * malloc/hooks.c: Likewise.
27841
400aa020
UD
27842 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27843 * stdlib/bug-fmtmsg1.c: New file.
27844
27845 * stdlib/fmtmsg.c (init): Add missing unlock.
27846 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27847
e0a309cf
MP
278482012-01-12 Marek Polacek <polacek@redhat.com>
27849
27850 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27851 and _GNU_SOURCE.
27852
929d11c7
WS
278532012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27854
27855 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27856 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27857 macro to ensure uniqueness of label name.
27858 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27859 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27860
41d0e869
UD
278612012-01-11 Ulrich Drepper <drepper@gmail.com>
27862
0cc5ed3b
UD
27863 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27864
41d0e869
UD
27865 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27866 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27867 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27869
a47a831a
UD
278702012-01-10 Ulrich Drepper <drepper@gmail.com>
27871
daa891c0
UD
27872 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27873
27874 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27875 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27876 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27877
e58ef0f2
UD
27878 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27879
a47a831a 27880 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27881 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27882 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27884
27885 * math/bits/math-finite.h: Add ldexp support.
27886
a0bfc9c7
MP
278872012-01-10 Marek Polacek <polacek@redhat.com>
27888
27889 * locale/programs/localedef.h (show_archive_content): Add noreturn
27890 attribute.
27891
d6e97a1d
UD
278922012-01-09 Ulrich Drepper <drepper@gmail.com>
27893
27894 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27895
d5835c26
UD
278962012-01-08 Ulrich Drepper <drepper@gmail.com>
27897
e5f484c6
UD
27898 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27899
d5835c26
UD
27900 * io/Makefile (headers): Add bits/poll2.h.
27901
d1f741e9
WS
279022011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27903
27904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27905 typo #include statement.
27906
ec09c1c4
UD
279072012-01-08 Ulrich Drepper <drepper@gmail.com>
27908
27909 * include/sys/cdefs.h: Define __attribute_alloc_size.
27910 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27911 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27912 * elf/pldd.c: Likewise.
27913 * iconv/iconv_charmap.c: Likewise.
27914 * iconv/iconvconfig.c: Likewise.
27915 * iconv/strtab.c: Likewise.
27916 * locale/programs/locale.c: Likewise.
27917 * locale/programs/localedef.h: Likewise.
27918 * locale/programs/simple-hash.c: Likewise.
27919 * nscd/nscd.h: Likewise.
27920 * nss/makedb.c: Likewise.
27921 * sysdeps/generic/ldconfig.h: Likewise.
27922 * locale/programs/localedef.c: Remove xmalloc prototype.
27923 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27924
20b38e03
PP
279252012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27926
27927 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27928 appropriate.
27929
a0da5fe1
UD
279302012-01-08 Ulrich Drepper <drepper@gmail.com>
27931
1d5a644a 27932 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27933 * math/tst-CMPLX.c: New file.
1d5a644a 27934
8784a6db
UD
27935 * math/complex.h (CMPLXL): Fix typo.
27936
d9a216c0
UD
27937 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27938 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27939 GLIBC_2.16.
27940 * debug/tst-chk1.c: Add poll and ppoll tests.
27941 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27942 * include/sys/poll.h: Add hidden proto for ppoll.
27943 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27944 * sysdeps/mach/hurd/ppoll.c: Likewise.
27945 * io/ppoll.c: Likewise.
27946 * debug/poll_chk.c: New file.
27947 * debug/ppoll_chk.c: New file.
27948 * include/bits/poll2.h: New file.
27949 * io/bits/poll2.h: New file.
27950
ac097f5c
UD
27951 [BZ #1350]
27952 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27953
2119dcfa
UD
27954 * configure.in: static is always set to yes. Remove.
27955 * config.make.in: Don't set build-static.
27956 * Makeconfig: Remove use of build-static.
27957 * dlfcn/Makefile: Likewise.
27958 * elf/Makefile: Likewise.
27959 * math/Makefile: Likewise.
27960 * misc/Makefile: Likewise.
27961 * nptl/Makefile: Likewise.
27962 * sysdeps/mach/hurd/Makefile: Likewise.
27963
121766a9
UD
27964 * configure.in: PWD_P is not used anymore.
27965 * config.make.in: Remove PWD_P entry.
27966
51a1d39c 27967 * configure.in: Remove last remnants of RANLIB.
8720d066 27968 No need to check for signed size_t anymore.
215f4bdc
UD
27969 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27970 and IA-64.
3857022a 27971 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27972 * aclocal.m4: Likewise.
27973
d3ed7225
UD
27974 * wcsmbs/mbrtoc16.c: Implement using towc function.
27975 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27976 * wcsmbs/wcsmbsload.c: Likewise.
27977 * iconv/gconv_simple.c: Likewise.
27978 * iconv/gconv_int.h: Likewise.
27979 * iconv/gconv_builtin.h: Likewise.
27980 * iconv/iconv_prog.c: Remove CHAR16 handling.
27981
27982 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27983
27984 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27985
a0da5fe1
UD
27986 * configure.in: Remove --with-elf and --enable-bounded options.
27987 Dont set base_machine for ia64. More non-ELF conditions removed.
27988 Remove testing and setting of leading underscore information.
27989 * config.make.in (build-bounded): Set to no.
27990 * config.h.in: Remove NO_UNDERSCORES entry.
27991 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27992 them.
27993 * csu/start.c: Remove !NO_UNDERSCORE code.
27994 * locale/localeinfo.h: Likewise.
27995 * sysdeps/generic/machine-gmon.h: Likewise.
27996 * sysdeps/generic/sysdep.h: Likewise.
27997 * sysdeps/i386/sysdep.h: Likewise.
27998 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27999 * sysdeps/mach/sysdep.h: Likewise.
28000 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28002 * sysdeps/sh/sysdep.h: Likewise.
28003 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28004 * sysdeps/unix/i386/sysdep.S: Likewise.
28005 * sysdeps/unix/sparc/start.c: Likewise.
28006 * sysdeps/unix/sparc/sysdep.S: Likewise.
28007 * sysdeps/unix/sparc/sysdep.h: Likewise.
28008 * sysdeps/unix/start.c: Likewise.
28009 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28010 * sysdeps/x86_64/sysdep.h: Likewise.
28011
df78418a
UD
280122012-01-07 Ulrich Drepper <drepper@gmail.com>
28013
a784e502
UD
28014 [BZ #13553]
28015 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28016 for non-gcc.
28017 * argp/argp-fmtstream.h: Use const instead __const.
28018 * argp/argp.h: Likewise.
28019 * assert/assert.h: Likewise.
28020 * bits/fenv.h: Likewise.
28021 * bits/sched.h: Likewise.
28022 * bits/sigset.h: Likewise.
28023 * bits/sigthread.h: Likewise.
28024 * catgets/nl_types.h: Likewise.
28025 * conform/data/pthread.h-data: Likewise.
28026 * crypt/crypt-private.h: Likewise.
28027 * crypt/crypt.h: Likewise.
28028 * crypt/crypt_util.c: Likewise.
28029 * ctype/ctype.h: Likewise.
28030 * debug/execinfo.h: Likewise.
28031 * debug/mbsnrtowcs_chk.c: Likewise.
28032 * debug/mbsrtowcs_chk.c: Likewise.
28033 * debug/wcsnrtombs_chk.c: Likewise.
28034 * debug/wcsrtombs_chk.c: Likewise.
28035 * debug/wcstombs_chk.c: Likewise.
28036 * dirent/dirent.h: Likewise.
28037 * dlfcn/dlfcn.h: Likewise.
28038 * elf/neededtest4.c: Likewise.
28039 * grp/grp.h: Likewise.
28040 * gshadow/gshadow.h: Likewise.
28041 * iconv/gconv.h: Likewise.
28042 * iconv/gconv_int.h: Likewise.
28043 * iconv/gconv_simple.c: Likewise.
28044 * iconv/iconv.h: Likewise.
28045 * iconv/loop.c: Likewise.
28046 * iconv/skeleton.c: Likewise.
28047 * include/aio.h: Likewise.
28048 * include/aliases.h: Likewise.
28049 * include/argz.h: Likewise.
28050 * include/arpa/inet.h: Likewise.
28051 * include/assert.h: Likewise.
28052 * include/dirent.h: Likewise.
28053 * include/dlfcn.h: Likewise.
28054 * include/execinfo.h: Likewise.
28055 * include/fcntl.h: Likewise.
28056 * include/fenv.h: Likewise.
28057 * include/glob.h: Likewise.
28058 * include/grp.h: Likewise.
28059 * include/libintl.h: Likewise.
28060 * include/mntent.h: Likewise.
28061 * include/netdb.h: Likewise.
28062 * include/pwd.h: Likewise.
28063 * include/rpc/netdb.h: Likewise.
28064 * include/sched.h: Likewise.
28065 * include/search.h: Likewise.
28066 * include/shadow.h: Likewise.
28067 * include/signal.h: Likewise.
28068 * include/stdio.h: Likewise.
28069 * include/stdlib.h: Likewise.
28070 * include/string.h: Likewise.
28071 * include/sys/socket.h: Likewise.
28072 * include/sys/stat.h: Likewise.
28073 * include/sys/statfs.h: Likewise.
28074 * include/sys/statvfs.h: Likewise.
28075 * include/sys/syslog.h: Likewise.
28076 * include/sys/time.h: Likewise.
28077 * include/sys/uio.h: Likewise.
28078 * include/time.h: Likewise.
28079 * include/unistd.h: Likewise.
28080 * include/utmp.h: Likewise.
28081 * include/wchar.h: Likewise.
28082 * include/wctype.h: Likewise.
28083 * inet/aliases.h: Likewise.
28084 * inet/arpa/inet.h: Likewise.
28085 * inet/netinet/ether.h: Likewise.
28086 * inet/netinet/in.h: Likewise.
28087 * intl/libintl.h: Likewise.
28088 * io/bits/fcntl2.h: Likewise.
28089 * io/fcntl.h: Likewise.
28090 * io/ftw.h: Likewise.
28091 * io/sys/poll.h: Likewise.
28092 * io/sys/stat.h: Likewise.
28093 * io/sys/statfs.h: Likewise.
28094 * io/sys/statvfs.h: Likewise.
28095 * io/utime.h: Likewise.
28096 * libio/bits/stdio.h: Likewise.
28097 * libio/bits/stdio2.h: Likewise.
28098 * libio/libio.h: Likewise.
28099 * libio/libioP.h: Likewise.
28100 * libio/stdio.h: Likewise.
28101 * locale/lc-ctype.c: Likewise.
28102 * locale/locale.h: Likewise.
28103 * login/utmp.h: Likewise.
28104 * malloc/arena.c: Likewise.
28105 * malloc/malloc.c: Likewise.
28106 * malloc/malloc.h: Likewise.
28107 * malloc/mcheck.c: Likewise.
28108 * malloc/mtrace.c: Likewise.
28109 * math/bits/mathcalls.h: Likewise.
28110 * math/fenv.h: Likewise.
28111 * math/math_private.h: Likewise.
28112 * misc/bits/error.h: Likewise.
28113 * misc/bits/syslog.h: Likewise.
28114 * misc/err.h: Likewise.
28115 * misc/error.h: Likewise.
28116 * misc/fstab.h: Likewise.
28117 * misc/mntent.h: Likewise.
28118 * misc/regexp.h: Likewise.
28119 * misc/search.h: Likewise.
28120 * misc/sgtty.h: Likewise.
28121 * misc/sys/mman.h: Likewise.
28122 * misc/sys/syslog.h: Likewise.
28123 * misc/sys/uio.h: Likewise.
28124 * misc/sys/xattr.h: Likewise.
28125 * misc/ttyent.h: Likewise.
28126 * nis/rpcsvc/ypclnt.h: Likewise.
28127 * nss/nss.h: Likewise.
28128 * posix/bits/unistd.h: Likewise.
28129 * posix/fnmatch.h: Likewise.
28130 * posix/glob.h: Likewise.
28131 * posix/sched.h: Likewise.
28132 * posix/spawn.h: Likewise.
28133 * posix/sys/wait.h: Likewise.
28134 * posix/unistd.h: Likewise.
28135 * posix/wordexp.h: Likewise.
28136 * pwd/pwd.h: Likewise.
28137 * resolv/netdb.h: Likewise.
28138 * resource/sys/resource.h: Likewise.
28139 * rt/aio.h: Likewise.
28140 * rt/bits/mqueue2.h: Likewise.
28141 * rt/mqueue.h: Likewise.
28142 * shadow/shadow.h: Likewise.
28143 * signal/signal.h: Likewise.
28144 * socket/send.c: Likewise.
28145 * socket/sendto.c: Likewise.
28146 * socket/sys/socket.h: Likewise.
28147 * stdio-common/printf.h: Likewise.
28148 * stdlib/bits/stdlib.h: Likewise.
28149 * stdlib/fmtmsg.h: Likewise.
28150 * stdlib/monetary.h: Likewise.
28151 * stdlib/stdlib.h: Likewise.
28152 * stdlib/ucontext.h: Likewise.
28153 * streams/stropts.h: Likewise.
28154 * string/argz.h: Likewise.
28155 * string/bits/string2.h: Likewise.
28156 * string/string.h: Likewise.
28157 * string/strings.h: Likewise.
28158 * sunrpc/rpc/auth.h: Likewise.
28159 * sunrpc/rpc/auth_des.h: Likewise.
28160 * sunrpc/rpc/clnt.h: Likewise.
28161 * sunrpc/rpc/netdb.h: Likewise.
28162 * sunrpc/rpc/pmap_clnt.h: Likewise.
28163 * sunrpc/rpc/xdr.h: Likewise.
28164 * sysdeps/generic/inttypes.h: Likewise.
28165 * sysdeps/generic/net/if.h: Likewise.
28166 * sysdeps/generic/sys/swap.h: Likewise.
28167 * sysdeps/gnu/net/if.h: Likewise.
28168 * sysdeps/gnu/utmpx.h: Likewise.
28169 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28170 * sysdeps/i386/i486/bits/string.h: Likewise.
28171 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28172 * sysdeps/s390/bits/string.h: Likewise.
28173 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28174 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28175 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28176 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28177 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28178 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28179 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28180 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28181 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28182 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28183 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28184 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28185 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28186 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28187 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28188 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28189 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28191 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28192 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28193 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28194 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28195 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28196 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28197 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28198 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28199 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28200 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28201 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28202 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28203 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28204 * sysvipc/sys/ipc.h: Likewise.
28205 * sysvipc/sys/msg.h: Likewise.
28206 * sysvipc/sys/sem.h: Likewise.
28207 * sysvipc/sys/shm.h: Likewise.
28208 * termios/termios.h: Likewise.
28209 * time/sys/time.h: Likewise.
28210 * time/time.h: Likewise.
28211 * wcsmbs/bits/wchar2.h: Likewise.
28212 * wcsmbs/uchar.h: Likewise.
28213 * wcsmbs/wchar.h: Likewise.
28214 * wctype/wctype.h: Likewise.
28215
0269750c
UD
28216 [BZ #13551]
28217 * Makeconfig: Remove all but ELF support including AIX support.
28218 * Makerules: Likewise.
28219 * config.h.in: Likewise.
28220 * config.make.in: Likewise.
28221 * configure: Likewise.
28222 * configure.in: Likewise.
28223 * csu/Makefile: Likewise.
28224 * csu/version.c: Likewise.
28225 * debug/Makefile: Likewise.
28226 * dlfcn/Makefile: Likewise.
28227 * elf/Makefile: Likewise.
28228 * extra-lib.mk: Likewise.
28229 * iconv/Makefile: Likewise.
28230 * include/libc-symbols.h: Likewise.
28231 * include/shlib-compat.h: Likewise.
28232 * resolv/Makefile: Likewise.
28233 * resolv/res_libc.c: Likewise.
28234 * rt/Makefile: Likewise.
28235 * sysdeps/i386/asm-syntax.h: Likewise.
28236 * sysdeps/i386/sysdep.h: Likewise.
28237 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28238 * sysdeps/mach/sysdep.h: Likewise.
28239 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28240 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28241 * sysdeps/s390/asm-syntax.h: Likewise.
28242 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28243 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28244 * sysdeps/sh/sysdep.h: Likewise.
28245 * sysdeps/unix/sparc/sysdep.h: Likewise.
28246 * sysdeps/wordsize-32/divdi3.c: Likewise.
28247 * sysdeps/x86_64/sysdep.h: Likewise.
28248
00bbd29b
UD
28249 * argp/Versions: Remove _argp_unlock_xxx.
28250
28251 [BZ #13559]
28252 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28253 * abilist/libBrokenLocale.abilist: Likewise.
28254 * abilist/libanl.abilist: Likewise.
28255 * abilist/libc.abilist: Likewise.
28256 * abilist/libcrypt.abilist: Likewise.
28257 * abilist/libdl.abilist: Likewise.
28258 * abilist/libm.abilist: Likewise.
28259 * abilist/libnsl.abilist: Likewise.
28260 * abilist/libpthread.abilist: Likewise.
28261 * abilist/libresolv.abilist: Likewise.
28262 * abilist/librt.abilist: Likewise.
28263 * abilist/libthread_db.abilist: Likewise.
28264 * abilist/libutil.abilist: Likewise.
28265 * abilist/libnss_db.abilist: New file.
28266
28267 * scripts/abilist.awk: Add support for indirect functions.
28268
a2693a0e
UD
28269 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28270
3f05895f
UD
28271 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28272
ecb6fb48
UD
28273 * shlib-versions: Remove entries for ports architectures.
28274
664f8cb9
UD
28275 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28276 files in ports.
28277 * elf/stackguard-macros.h: Remove support for IA-64.
28278 * elf/tst-auditmod1.c: Likewise.
28279 * sysdeps/generic/ldsodefs.h: Likewise.
28280
7ae81d88
UD
28281 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28282 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28283 configure files.
28284
bdeba135
UD
28285 [BZ #13552]
28286 * configure.in: Remove --enable-omitfp support.
28287 * FAQ.in: Adjust.
28288 * config.make.in: Likewise.
28289 * Makeconfig: Likewise.
28290 * manual/install.texi: Likewise.
28291
d75a0a62
UD
28292 In case anyone cares, the IA-64 architecture could move to ports.
28293 * sysdeps/ia64/*: Removed.
28294 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28295 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28296
dcc9756b
UD
28297 [BZ #13555]
28298 * configure.in: Remove entries for unsupported architectures.
28299
d3761ebc 28300 [BZ #13533]
9954432e
UD
28301 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28302 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28303 routines.
28304 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28305 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28306 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28307 fall back to using wcrtomb.
28308 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28309 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28310 renaming.
28311 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28312 * wcsmbs/tst-c16c32-1.c: New file.
28313
28314 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28315 local variable.
28316
c3a87236
UD
28317 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28318
28926a1b
UD
28319 * elf/tst-unique3.cc: Add explicit declaration of gets.
28320 * elf/tst-unique3lib.cc: Likewise.
28321 * elf/tst-unique3lib2.cc: Likewise.
28322 * elf/tst-unique4.cc: Likewise.
28323
df78418a
UD
28324 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28325
8ecd6b2a
JM
283262012-01-06 Joseph Myers <joseph@codesourcery.com>
28327
28328 [BZ #13566]
28329 * assert/assert.h (static_assert): Don't define for C++.
28330 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28331 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28332
9f115170
UD
283332012-01-03 Ulrich Drepper <drepper@gmail.com>
28334
5e0d0300
UD
28335 * iconv/loop.c (single loop): Fix assertion in storing of
28336 remaining bytes.
28337
9f115170
UD
28338 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28339
81fb02b0
UD
283402012-01-01 Ulrich Drepper <drepper@gmail.com>
28341
28342 * posix/getconf.c: Update copyright year.
28343 * nss/getent.c: Likewise.
a316c1f6 28344 * nss/makedb.c: Likewise.
81fb02b0
UD
28345 * iconv/iconvconfig.c: Likewise.
28346 * iconv/iconv_prog.c: Likewise.
28347 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28348 * elf/pldd.c: Likewise.
28349 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28350 * catgets/gencat.c: Likewise.
28351 * csu/version.c: Likewise.
28352 * elf/ldd.bash.in: Likewise.
28353 * elf/sprof.c (print_version): Likewise.
28354 * locale/programs/locale.c: Likewise.
28355 * locale/programs/localedef.c: Likewise.
a316c1f6 28356 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28357 * nscd/nscd.c (print_version): Likewise.
28358 * debug/xtrace.sh: Likewise.
28359 * malloc/memusage.sh: Likewise.
28360 * malloc/mtrace.pl: Likewise.
28361 * debug/catchsegv.sh: Likewise.
28362
2ba92745
JJ
283632011-12-30 Jakub Jelinek <jakub@redhat.com>
28364
28365 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28366 pure attribute.
28367
dadebdae
UD
283682011-12-24 Ulrich Drepper <drepper@gmail.com>
28369
d3761ebc 28370 [BZ #13533]
db6af3eb
UD
28371 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28372 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28373 transformations.
28374 * iconv/gconv_int.h: Likewise.
28375 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28376 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28377 from libc for GLIBC_2.16.
28378 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28379 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28380 * wcsmbs/uchar.h: Really define mbstate_t.
28381 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28382 * wcsmbs/c16rtomb.c: New file.
28383 * wcsmbs/mbrtoc16.c: New file.
28384 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28385 for C/POSIX locale.
28386 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28387 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28388
dadebdae
UD
28389 * wcsmbs/wchar.h: Add missing __restrict.
28390
67371b56
UD
283912011-12-23 Ulrich Drepper <drepper@gmail.com>
28392
74033a25
UD
28393 [BZ #13532]
28394 * time/Makefile (routines): Add timespec_get.
28395 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28396 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28397 timespec for ISO C11.
28398 * time/timespec_get.c: New file.
28399 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28400 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28401
380d7e87
UD
28402 [BZ #13531]
28403 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28404 * stdlib/stdlib.h: Declare aligned_alloc.
28405 * Versions.def: Add GLIBC_2.16 for libc.
28406 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28407
4e9e7a35
UD
28408 [BZ 13527]
28409 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28410 ISO C11.
28411
380d7e87 28412 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28413 code.
28414
03a71829
UD
28415 [BZ #13528]
28416 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28417
839e283e
UD
28418 [BZ #13529]
28419 * assert/assert.h (static_assert): Define.
28420
ce5294e2 28421 * version.h: Update for 2.16 development version.
90fa7312 28422
8d44e150 28423 [BZ #13526]
d7809905
UD
28424 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28425 _ISOC11_SOURCE.
28426
c0da14cd
UD
28427 * version.h (RELEASE): Bump for 2.15 release.
28428 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28429
530a3249
MP
28430 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28431 Patch by Marek Polacek <mpolacek@redhat.com>.
28432
67371b56
UD
28433 * bits/byteswap.h: Protect long long constants with __extension__.
28434 * sysdeps/i386/bits/byteswap.h: Likewise.
28435 * sysdeps/ia64/bits/byteswap.h: Likewise.
28436 * sysdeps/s390/bits/byteswap.h: Likewise.
28437 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28438
15db4de1
LD
284392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28440
28441 [BZ #13540]
bbe315ea
LD
28442 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28443 destination buffer.
15db4de1
LD
28444 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28445
2b2596b1
MP
284462011-12-23 Marek Polacek <polacek@redhat.com>
28447
28448 * elf/dl-addr.c (determine_info): Add inline keyword.
28449 * elf/tst-auditmod4b.c (check_avx): Likewise.
28450 * elf/tst-auditmod6b.c (check_avx): Likewise.
28451 * elf/tst-auditmod6c.c (check_avx): Likewise.
28452 * elf/tst-auditmod7b.c (check_avx): Likewise.
28453
70c6c246
UD
284542011-12-23 Ulrich Drepper <drepper@gmail.com>
28455
28456 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28457 !__SSE_MATH__.
28458
c044cf14
LD
284592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28460
15db4de1 28461 [BZ #13540]
c044cf14
LD
28462 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28463 processing for last bytes.
28464
6b13d9d9
BH
284652011-08-06 Bruno Haible <bruno@clisp.org>
28466
d455f537
BH
28467 [BZ #13061]
28468 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28469 U+0385, not to U+1FEE.
28470
6b13d9d9
BH
28471 [BZ #13062]
28472 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28473 entry for U+00A5 U+0301.
28474
db910efd
UD
284752011-12-22 Ulrich Drepper <drepper@gmail.com>
28476
27deeafc
UD
28477 [BZ #13166]
28478 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28479 buffer for the output is too small.
28480
aed9d171
UD
28481 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28482 optimization.
28483
db910efd
UD
28484 [BZ #13185]
28485 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28486 SSE flags if possible.
28487
2bd779ae
LD
284882011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28489
e7f9dac3 28490 [BZ #13540]
2bd779ae
LD
28491 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28492 processing for last bytes.
28493
154bfc16
JM
284942011-12-22 Joseph Myers <joseph@codesourcery.com>
28495
28496 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28497 (syscall-list-default-options, syscall-list-default-condition)
28498 (syscall-list-includes): Define.
28499 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28500 list of ABIs and options and #if conditions for each ABI. Do not
28501 handle common syscalls between ABIs specially.
28502 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28503 Remove.
28504 (syscall-list-variants, syscall-list-32bit-options)
28505 (syscall-list-32bit-condition, syscall-list-64bit-options)
28506 (syscall-list-64bit-condition): Define.
28507 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28508 (syscall-list-variants, syscall-list-32bit-options)
28509 (syscall-list-32bit-condition, syscall-list-64bit-options)
28510 (syscall-list-64bit-condition): Define.
28511 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28512 Remove.
28513 (syscall-list-variants, syscall-list-32bit-options)
28514 (syscall-list-32bit-condition, syscall-list-64bit-options)
28515 (syscall-list-64bit-condition): Define.
28516 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28517 Remove.
28518 (syscall-list-variants, syscall-list-32bit-options)
28519 (syscall-list-32bit-condition, syscall-list-64bit-options)
28520 (syscall-list-64bit-condition): Define.
28521
21eaf3a5
UD
285222011-12-22 Ulrich Drepper <drepper@gmail.com>
28523
16c6f992
UD
28524 * locale/iso-639.def: Add brx entry.
28525
41043168
UD
28526 [BZ #13328]
28527 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28528 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28529
21eaf3a5
UD
28530 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28531 __feraiseexcept_renamed.
28532
e3a851a2
UD
285332011-12-21 Ulrich Drepper <drepper@gmail.com>
28534
4920765e
UD
28535 [BZ #13538]
28536 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28537 EPOLLET with unsigned values.
28538 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28539 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28540
e3a851a2
UD
28541 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28542 to large cancellation.
28543 * math/s_cacoshf.c: Likewise.
28544 * math/s_cacoshl.c: Likewise.
28545
b27e24b8
RK
285462011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28547
28548 [BZ #13305]
aebefeee 28549 [BZ #12786]
b27e24b8
RK
28550 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28551 * math/s_cacoshf.c: Likewise.
28552 * math/s_cacoshl.c: Likewise.
28553
ee190f67
UD
285542011-12-21 Ulrich Drepper <drepper@gmail.com>
28555
28556 [BZ #13439]
28557 * iconv/gconv.h: Define __GCONV_SWAP.
28558 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28559 * iconvdata/utf-16.c: Likewise.
28560 * iconvdata/utf-32.c: Likewise.
28561
707f25df
AS
285622011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28563
28564 [BZ #13524]
28565 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28566 numerator after shifting it by one limb.
28567
d2daaa1e
RÁE
285682011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28569
28570 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28571 under [__USE_EXTERN_INLINES].
28572
a4647e72
UD
285732011-12-17 Ulrich Drepper <drepper@gmail.com>
28574
28575 [BZ #13446]
28576 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28577
f0b264f1
AZ
285782011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28579
28580 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28581 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28582 optimized code.
28583 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28584 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28585 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28586 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28587 for strncasecmp/strncasecmp_l compilation.
28588 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28589 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28590
8ef4f244
MP
285912011-12-08 Marek Polacek <mpolacek@redhat.com>
28592
28593 [BZ #13484]
28594 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28595 of __asm__.
28596
97ac2654
UD
285972011-12-17 Ulrich Drepper <drepper@gmail.com>
28598
28599 [BZ #13506]
28600 * time/tzfile.c (__tzfile_read): Check values from file header.
28601
91d2a845
WS
286022011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28603
28604 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28605 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28606 * powerpc/powerpc32/dl-start.S: Likewise.
28607 * powerpc/powerpc32/elf/start.S: Likewise.
28608 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28609 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28610 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28611 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28612 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28613 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28614 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28615 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28616 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28617 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28618 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28619 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28620 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28621 * powerpc/powerpc32/memset.S: Likewise.
28622 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28623 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28624 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28625 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28626 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28627 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28628 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28629 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28630 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28631 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28632 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28633 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28634 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28635
a1267ba1
AZ
286362011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28637
28638 * math/libm-test.inc: Added more nearbyint tests.
28639 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28640 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28641 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28642 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28643
ad8ac1bd
RL
286442011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28645
28646 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28647 FD_CLOEXEC.
28648
1d3e4b61
UD
286492011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28650
28651 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28652 Add wcscpy-ssse3 wcscpy-c.
28653 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28654 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28655 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28656 * sysdeps/x86_64/wcschr.S: New file.
28657 * sysdeps/x86_64/wcsrchr.S: New file.
28658 * string/test-strcmp.c: Remove checking of wcscmp function for
28659 wrong alignments.
28660 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28661 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28662 wcsrchr-sse2 wcsrchr-c.
28663 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28664 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28665 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28666 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28667 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28668 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28669 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28670 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28671 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28672 * wcsmbc/wcschr.c (WCSCHR): New macro.
28673
5b330a2d
UD
286742011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28675
28676 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28677 * wcsmbs/test-wcsrchr.c: New file.
28678 * string/test-strrchr.c: Add wcsrchr support.
28679 (WIDE): New macro.
28680 * wcsmbs/test-wcscpy.c: New file.
28681 * string/test-strcpy.c: Add wcscpy support.
28682 (WIDE): New macro.
26428b7c 28683
f039c043
UD
286842011-12-10 Ulrich Drepper <drepper@gmail.com>
28685
28686 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28687 the inner loop.
28688
850fb039
AS
286892011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28690
28691 [BZ #13472]
28692 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28693
4efbd5cb
UD
286942011-12-04 Ulrich Drepper <drepper@gmail.com>
28695
52ff5dd0 28696 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28697 Minor optimizations.
52ff5dd0 28698
4efbd5cb
UD
28699 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28700 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28701 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28702
8a426e12
UD
287032011-12-03 Ulrich Drepper <drepper@gmail.com>
28704
aff2453d
UD
28705 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28706 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28707 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28708 for gcc to avoid warnings.
28709 * inet/Makefile (tests): Add tst-checks.
28710 * inet/tst-checks.c: New file.
28711
28712 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28713 warning.
28714
28715 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28716 __wmemcmp_sse2.
28717
28718 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28719 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28720
8a426e12
UD
28721 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28722
9bea3473
UD
287232011-12-02 Ulrich Drepper <drepper@gmail.com>
28724
3a965496
UD
28725 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28726 problem.
28727
9bea3473
UD
28728 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28729
f101631b
UD
287302011-11-29 Joseph Myers <joseph@codesourcery.com>
28731
28732 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28733 conditional on GCC version.
28734 (__arch_compare_and_exchange_val_8_acq)
28735 (__arch_compare_and_exchange_val_16_acq)
28736 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28737 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28738 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28739
a98275aa
UD
287402011-12-02 Joseph Myers <joseph@codesourcery.com>
28741
28742 * sysdeps/sh/backtrace.c: New file.
28743
d4cc29a2
AS
287442011-12-02 Andreas Schwab <schwab@redhat.com>
28745
28746 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28747 parenthesis.
28748
6257af2d
AS
287492011-12-01 Andreas Schwab <schwab@redhat.com>
28750
28751 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28752 falling back to utime.
28753
b5f44c1a
AS
287542011-11-30 Andreas Schwab <schwab@redhat.com>
28755
28756 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28757 expectations for float.
28758
f3a6cc0a
AS
287592011-11-29 Andreas Schwab <schwab@redhat.com>
28760
28761 * locale/weight.h (findidx): Add parameter len.
28762 * locale/weightwc.h (findidx): Likewise.
28763 * posix/fnmatch_loop.c (FCT): Adjust caller.
28764 * posix/regcomp.c (build_equiv_class): Likewise.
28765 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28766 * posix/regexec.c (check_node_accept_bytes): Likewise.
28767 * string/strcoll_l.c (STRCOLL): Likewise.
28768 * string/strxfrm_l.c (STRXFRM): Likewise.
28769
9d65ea3a
UD
287702011-11-17 Ulrich Drepper <drepper@gmail.com>
28771
28772 * Makefile.in: Remove CVSOPT handling.
28773 * configure.in: Remove use of AC_REVISION.
28774 * iconvdata/Makefile (distribute): No need to filter out CVS.
28775 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28776 handling.
28777
5583a086
AS
287782011-11-16 Andreas Schwab <schwab@redhat.com>
28779
28780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28781 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28782 [USE_AS_STRNCASECMP_L]: Likewise.
28783 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28784 NO_TLS_DIRECT_SEG_REFS.
28785 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28786 Fix argument offsets for non-PIC.
28787 [USE_AS_STRNCASECMP_L]: Likewise.
28788 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28789 NO_TLS_DIRECT_SEG_REFS.
28790
d62a8200
UD
287912011-11-15 Ulrich Drepper <drepper@gmail.com>
28792
9d65ea3a 28793 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28794 O_CLOEXEC.
28795 * locale/loadlocale.c (_nl_load_locale): Likewise.
28796
09f93bd3
AS
287972011-11-15 Andreas Schwab <schwab@redhat.com>
28798
446514f9
AS
28799 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28800 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28801 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28802 (SYSCALL_GETTIME): Set errno on error.
28803
09f93bd3
AS
28804 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28805 count references to noai6ai_cached.
28806
312be3f9
UD
288072011-11-15 Ulrich Drepper <drepper@gmail.com>
28808
28809 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28810
28811 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28812 FD_CLOEXEC for /proc/self/maps.
28813
28814 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28815 FD_CLOEXEC for /proc/meminfo.
28816
28817 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28818 gai.conf.
28819
28820 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28821 FD_CLOEXEC for given file.
28822
28823 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28824
28825 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28826 FD_CLOEXEC for /etc/hosts.
28827 (_gethtent): Likewise.
28828
28829 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28830
28831 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28832 cancellation and set FD_CLOEXEC for /etc/netgroup.
28833
28834 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28835 reading /etc/publickey.
28836
28837 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28838 allow cancellation when reading /etc/group.
28839
28840 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28841 cancellation.
28842 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28843
28844 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28845 when using data file.
28846
28847 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28848
28849 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28850 (write_nis_obj): Use "c" and "e" in fopen.
28851
28852 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28853
28854 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28855
28856 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28857
28858 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28859
28860 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28861 locale.alias.
28862
28863 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28864
28865 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28866
28867 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28868
28869 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28870 file parsing and set FD_CLOEXEC.
28871
82af0fa8
UD
288722011-11-14 Ulrich Drepper <drepper@gmail.com>
28873
28874 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28875
a5fb313c
AS
288762011-11-14 Andreas Schwab <schwab@redhat.com>
28877
28878 * malloc/arena.c (arena_get2): Don't call reused_arena when
28879 _int_new_arena failed.
28880
6abf3465
UD
288812011-11-14 Ulrich Drepper <drepper@gmail.com>
28882
28883 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28884 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28885 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28886 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28887 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28888 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28889 to compile strcasecmp and strncasecmp.
28890 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28891 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28892
28893 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28894
76e3966e
UD
288952011-11-13 Ulrich Drepper <drepper@gmail.com>
28896
28897 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28898 locale-defines.sym to gen-as-const-headers.
28899 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28900 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28902 to compile strcasecmp and strncasecmp.
28903 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28904 strcasecmp_l and strncasecmp_l.
28905 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28906 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28907 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28908 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28909 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28910 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28911 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28912 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28913 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28914 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28915 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28916
ab26144e
UD
289172011-11-12 Ulrich Drepper <drepper@gmail.com>
28918
7edb22ef
UD
28919 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28920 result of SYSDEP_GETTIME_CPU to retval.
28921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28922 parameter list to macro. Remove trailing semicolon. Adjust users.
28923
9694fc44
UD
28924 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28925 variable.
28926
8ad89ef8
UD
28927 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28928 mantissa words.
28929 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28930
0c822ef9
UD
28931 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28932 from unused variable.
28933
874e0564
UD
28934 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28935 DWARF definitions.
28936 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28937 for assembling.
28938
3a2edc79
UD
28939 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28940 over namespaces.
28941
f3c2577f
UD
28942 * sunrpc/rpc_prot.c (rejected): Fix case value.
28943
294ce126
UD
28944 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28945 unsigned long long int to avoid warnings in shift.
28946
5e2b63c6
UD
28947 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28948 of use of trans.
28949 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28950 variable tmp.
28951
e7f4b08e
UD
28952 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28953 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28954 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28955
ab26144e
UD
28956 * nis/nis_table.c (nis_list): Use variable of correct type for
28957 result of __follow_path call.
28958
8a6d5255
AZ
289592011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28960
28961 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28962 of math functions ceil, trunc, floor, round, and sqrt, when
28963 avaliable on the platform.
28964 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28965 name clash.
28966 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28967 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28968 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28969
aaddc98c
MP
289702011-10-30 Marek Polacek <mpolacek@redhat.com>
28971
28972 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28973 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28974
95b7042b
RM
289752011-11-11 Roland McGrath <roland@hack.frob.com>
28976
28977 * include/unistd.h: Fix __readlink return type.
28978 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28979
57769839
UD
289802011-11-11 Ulrich Drepper <drepper@gmail.com>
28981
28982 * stdlib/ucontext.h: Undo last change for makecontext.
28983
edc5984d
AS
289842011-11-11 Andreas Schwab <schwab@redhat.com>
28985
98591e58
AS
28986 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28987
edc5984d
AS
28988 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28989 * setjmp/setjmp.h: Mark functions as non-leaf.
28990 * setjmp/bits/setjmp2.h: Likewise.
28991 * stdlib/ucontext.h: Likewise.
28992
77cdc054
AS
289932011-11-10 Andreas Schwab <schwab@redhat.com>
28994
28995 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28996 (reused_arena): Don't check arena limit.
28997 (arena_get2): Atomically check arena limit.
28998
fe72eebd
UD
289992011-11-08 Ulrich Drepper <drepper@gmail.com>
29000
5f078c32
UD
29001 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29002 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29003
fe72eebd
UD
29004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29005 instructions.
29006
ae1bc2fa
AS
290072011-11-07 Andreas Schwab <schwab@redhat.com>
29008
7583a88d
AS
29009 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29010 handler when locking.
29011
ae1bc2fa
AS
29012 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29013 Fix size of allocated buffer.
29014
10fb0bfa
AS
290152011-11-04 Andreas Schwab <schwab@redhat.com>
29016
998832a4
AS
29017 [BZ #10103]
29018 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29019 declarations for long double functions.
29020 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29021
10fb0bfa
AS
29022 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29023
3d7ba52b
AS
290242011-11-03 Andreas Schwab <schwab@redhat.com>
29025
a9ae54a1
AS
29026 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29027 installed.
29028
3d7ba52b
AS
29029 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29030 is disabled.
29031
bc8db248
ST
290322011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29033
29034 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29035
45b96dd6
AS
290362011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29037
647776f6
AS
29038 * include/alloca.h (stackinfo_alloca_round): Define.
29039 (extend_alloca): Use it.
29040 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29041 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29042 here.
29043
d91a8b93
AS
29044 * scripts/check-local-headers.sh: Ignore libaudit.h.
29045
45b96dd6
AS
29046 * nscd/Makefile (extra-objs): Make recursively expanded.
29047
432d41ce
UD
290482011-11-01 Ulrich Drepper <drepper@gmail.com>
29049
34372fc6
UD
29050 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29051 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29052
fadb59f8
UD
29053 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29054 * posix/tst-rfc3484-2.c: Likewise.
29055 * posix/tst-rfc3484-3.c: Likewise.
29056
78239589
UD
29057 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29058 process_vm_writev.
29059 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29060 process_vm_writev.
29061 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29062 process_vm_writev from libc using GLIBC_2.15 version.
29063
432d41ce
UD
29064 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29065
02f9c6cf
PP
290662011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29067
29068 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29069 stack usage.
29070
3a2c0242
UD
290712011-10-31 Ulrich Drepper <drepper@gmail.com>
29072
f4ec4833
UD
29073 [BZ #13367]
29074 * nss/getent.c (initgroups_keys): Show error message in case no group
29075 names are given.
29076
3a2c0242
UD
29077 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29078 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29079 __bump_nl_timestamp.
29080 * nscd/connections (nscd_init): When host database is served open
29081 netlink socket and request notification about configuration changes.
29082 (main_loop_poll): Track netlink file descriptor and bump timestamp
29083 in case data becomes available.
29084 (main_loop_epoll): Likewise.
29085 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29086 (database_pers_head): Add extra_data fileds.
29087 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29088 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29089 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29090 Adjust caller.
29091 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29092 in6ai data, call __free_in6ai.
29093 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29094 Add -DHAVE_NETLINK.
29095 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29096 interface information. Reuse previous data if netlink timestamp
29097 is not changed.
29098 (__bump_nl_timestamp): New function.
29099 (__free_in6ai): New function.
29100
636064eb
UD
291012011-10-30 Ulrich Drepper <drepper@gmail.com>
29102
29103 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29104 close_not_cancel_no_status here.
29105 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29106
9beb2334
UD
291072011-10-29 Ulrich Drepper <drepper@gmail.com>
29108
6ef76f3b
UD
29109 [BZ #13276]
29110 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29111 return value.
29112
0ffc4f3e 29113 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29114 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29115 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29116
cb95113e
UD
291172011-07-03 Andreas Jaeger <aj@suse.de>
29118
29119 [BZ #10709]
29120 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29121 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29122 * math/libm-test.inc (sin_test): Add test case.
29123
a1b560ff
UD
291242011-10-29 Ulrich Drepper <drepper@gmail.com>
29125
c9aaface
UD
29126 [BZ #13337]
29127 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29128 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29129
d272e7f1
UD
29130 * elf/chroot_canon.c (chroot_canon): Cleanups.
29131
1bc33071
UD
29132 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29133
1760874d
TJ
29134 [BZ #13335]
29135 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29136 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29137
51d91b18
UD
29138 * string/test-strchr.c: Make usable for strchrnul testing.
29139 * string/test-strchrnul.c: New file.
29140 * string/Makefile (strop-tests): Add strchrnul.
29141
a1b560ff 29142 * po/it.po: Update from translation team.
b611fb81 29143 * po/es.po: Likewise.
a1b560ff 29144
a5b81e1f
UD
291452011-10-28 Ulrich Drepper <drepper@gmail.com>
29146
fd52bc6d
UD
29147 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29148 the three constants needed as parameters. Drop the others.
29149 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29150 __m128i_strloadu_tolower.
52e4b9eb
UD
29151 Create and initialize variable zero and use it in all the places
29152 where _mm_setzero_si128 was used.
fd52bc6d 29153
a5b81e1f
UD
29154 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29155 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29156 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29157 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29158 anymore.
29159 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29160 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29161 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29162 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29163 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29164 __mpranred, __mptan.
29165 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29166 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29167 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29168 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29169 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29170 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29172 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29173 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29174
b4343346
AS
291752011-10-28 Andreas Schwab <schwab@redhat.com>
29176
0c92d8a8
AS
29177 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29178 redefine if SHARED.
29179 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29180
b4343346
AS
29181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29182 wide char related routines to wcsmbs subdir.
29183
3871f58f
AS
291842011-10-27 Andreas Schwab <schwab@redhat.com>
29185
29186 [BZ #13344]
29187 * misc/sys/cdefs.h (__THROWNL): Define.
29188 * posix/unistd.h: Use __THREADNL instead of __THREAD
29189 for memory synchronization functions.
29190
94d44d9f
RM
291912011-10-26 Roland McGrath <roland@hack.frob.com>
29192
21b64b15 29193 [BZ #13349]
94d44d9f
RM
29194 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29195 doesn't exist.
29196 * manual/stdio.texi (Obstack Streams): Node removed.
29197
f6ce9294
AS
291982011-10-26 Andreas Schwab <schwab@redhat.com>
29199
80479147
AS
29200 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29201 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29202 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29203
f6ce9294
AS
29204 * math/math_private.h (math_force_eval): Allow non-addressable
29205 arguments.
29206 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29207
618280a1
UD
292082011-10-25 Ulrich Drepper <drepper@gmail.com>
29209
e0016b11
UD
29210 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29211 file is not needed.
29212
29213 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29214 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29215 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29216 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29217 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29218 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29219 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29220 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29221 Add AVX variants.
29222 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29223 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29224 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29225 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29226 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29227 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29228 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29229 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29230 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29231 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29232 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29233 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29234 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29235 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29236 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29237 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29238 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29239 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29240 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29241
29242 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29243 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29244
618280a1
UD
29245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29246 place. Use VEX encoding when compiling for AVX.
29247
37822576
AS
292482011-10-25 Andreas Schwab <schwab@redhat.com>
29249
1f1e1947
AS
29250 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29251 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29252
37822576
AS
29253 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29254
31ea014d
UD
292552011-10-25 Ulrich Drepper <drepper@gmail.com>
29256
d7826aa1 29257 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29258 useless if() expression.
d7826aa1
UD
29259 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29260 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29261 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29264 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29265 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29266 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29267 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29268 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29269 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29270 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29271 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29272 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29273 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29274 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29275 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29277 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29278
31ea014d
UD
29279 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29280
16437fec
AS
292812011-10-25 Andreas Schwab <schwab@redhat.com>
29282
29283 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29284 condition.
29285 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29286
31d3cc00
UD
292872011-10-25 Ulrich Drepper <drepper@gmail.com>
29288
29289 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29290 .text section. Avoid duplicate constants.
29291 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29292 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29293 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29295 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29299 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29300 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29301 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29302 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29303 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29304 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29305 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29306 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29307 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29308 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29309 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29310 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29311 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29312 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29313 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29314 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29315 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29316 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29317 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29318 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29319 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29320 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29321 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29322 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29323 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29324 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29325 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29326 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29327 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29328 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29329 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29330 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29331 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29332 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29333 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29334 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29335 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29336
58985aa9
UD
293372011-10-24 Ulrich Drepper <drepper@gmail.com>
29338
202c9deb
UD
29339 * sysdeps/x86_64/dla.h: Move to ...
29340 * sysdeps/x86_64/fpu/dla.h: ...here.
29341 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29342 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29343
af968f62
UD
29344 * config.make.in: Add have-mfma4 entry.
29345 * configure.in: Substitute libc_cv_cc_fma4.
29346 * math/Makefile (dbl-only-routines): Add sincostab.
29347 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29348 Use __sincostab not sincos.
29349 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29350 name is a macro.
29351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29354 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29355 using __copysign.
29356 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29357 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29358 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29359 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29360 and __inv.
29361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29362 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29363 __copysign.
29364 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29365 define aliases when function name is a macro.
29366 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29367 sysdeps/ieee754/dbl-64/sincos.tbl.
29368 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29369 fma4-enabled routines.
29370 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29371 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29372 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29373 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29374 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29375 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29377 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29378 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29379 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29380 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29381 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29382 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29383 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29384 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29385 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29386 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29387 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29388 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29389 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29390 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29391 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29392 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29393 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29394 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29395 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29396 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29397 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29398 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29399 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29400
58985aa9
UD
29401 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29402 rename.
29403 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29409 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29410 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29411
a201fbcf
AS
294122011-10-24 Andreas Schwab <schwab@redhat.com>
29413
29414 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29415
fc2ee42a
LD
294162011-10-23 Ulrich Drepper <drepper@gmail.com>
29417
bb3129bd
UD
29418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29419
0275fff8
UD
29420 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29421 prediction.
29422 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29423
2fa2ae85
UD
29424 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29425 Remove unused variable magic_bits.
29426 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29427
fc2ee42a
LD
29428 * string/strnlen.c: Define and use STRNLEN macro.
29429 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29430 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29431 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29432 * wcsmbs/wcslen.c: Define and use WCSLEN.
29433 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29434 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29435 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29436 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29437 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29438 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29439 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29440
ce7dd29f
LD
294412011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29442
29443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29444 strnlen-sse2-no-bsf.
29445 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29446 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29447 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29448 Add strnlen support.
29449 (USE_AS_STRNLEN): New macro.
29450 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29451 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29452 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29453 * sysdeps/x86_64/wcslen.S: New file.
29454
979c70a3
MZ
294552011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29456
29457 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29458 XMM-moves are used for copying on small sizes.
29459
2d09f82f
LD
294602011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29461
29462 * wcsmbs/Makefile (strop-tests): Add wcschr.
29463 * wcsmbs/test-wcschr.c: New file.
29464 * string/test-strchr.c: Update.
29465 Add wcschr support.
29466 (WIDE): New macro.
29467
619fccca
LD
294682011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29469
2d09f82f 29470 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29471 * wcsmbs/test-wcslen.c: New file.
29472 * string/test-strlen.c: Update.
29473 Add wcslen support.
29474 (WIDE): New macro.
29475
09f699ea
UD
294762011-10-23 Ulrich Drepper <drepper@gmail.com>
29477
29478 * po/it.po: Update from translation team.
29479
95584d3b
LD
294802011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29481
29482 * sysdeps/x86_64/wcscmp.S: Update.
29483 Fix wrong comparison semantics.
29484 wcscmp shall use signed comparison not unsigned.
29485 Don't use substraction to avoid overflow bug.
29486 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29487 * wcsmbc/wcscmp.c: Likewise.
29488 * string/test-strcmp.c: Likewise.
29489 Add new tests to check cases with negative values.
29490
c8b3296b
UD
294912011-10-23 Ulrich Drepper <drepper@gmail.com>
29492
29493 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29494 * sysdeps/x86_64/dla.h: ...here. New file.
29495 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29496 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29497 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29498 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29500 * sysdeps/ieee754/dbl-64/e_sqrt.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
246ad57a
AS
295052011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29506
29507 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29508 __ynl_finite aliases.
29509
a1a87169
UD
295102011-10-22 Ulrich Drepper <drepper@gmail.com>
29511
0d355eb7
UD
29512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29513
a1a87169
UD
29514 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29515 define DLA_FMA.
29516 [DLA_FMA] (EMULV): Use DLA_FMA.
29517 [DLA_FMA] (MUL12): Use EMULV.
29518 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29519 that are not needed.
29520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29522 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29524 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29526 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29527
ee2aafe0
AS
295282011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29529
29530 * math/s_nan.c: Undef __nan.
29531 * math/s_nanf.c: Undef __nanf.
29532 * math/s_nanl.c: Undef __nanl.
29533 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29534 "math_private.h".
29535
bc62c2fb
UD
295362011-10-22 Ulrich Drepper <drepper@gmail.com>
29537
77425c63
UD
29538 * math/s_catan.c: Add branch predictions.
29539 * math/s_catanf.c: Likewise.
29540 * math/s_catanh.c: Likewise.
29541 * math/s_catanhf.c: Likewise.
29542 * math/s_catanhl.c: Likewise.
29543 * math/s_catanl.c: Likewise.
29544 * math/s_cexp.c: Likewise.
29545 * math/s_cexpf.c: Likewise.
29546 * math/s_cexpl.c: Likewise.
29547 * math/s_clog.c: Likewise.
29548 * math/s_clog10.c: Likewise.
29549 * math/s_clog10f.c: Likewise.
29550 * math/s_clog10l.c: Likewise.
29551 * math/s_clogf.c: Likewise.
29552 * math/s_clogl.c: Likewise.
29553 * math/s_csqrt.c: Likewise.
29554 * math/s_csqrtf.c: Likewise.
29555 * math/s_csqrtl.c: Likewise.
29556 * math/s_ctanf.c: Likewise.
29557 * math/s_ctanh.c: Likewise.
29558 * math/s_ctanhf.c: Likewise.
29559 * math/s_ctanhl.c: Likewise.
29560 * math/s_ctanl.c: Likewise.
29561
bc62c2fb
UD
29562 * math/math_private.h: Define __nan, __nanf, __nanl.
29563 * math/s_cacosh.c: Include <math_private.h>.
29564 * math/s_cacoshl.c: Likewise.
29565 * math/s_casinh.c: Likewise.
29566 * math/s_casinhf.c: Likewise.
29567 * math/s_casinhl.c: Likewise.
29568 * math/s_ccos.c: Rely entire on ccosh.
29569 * math/s_ccosf.c: Rely entire on ccoshf.
29570 * math/s_ccosl.c: Rely entirely on ccoshl.
29571 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29572 Remove tests for FE_INVALID.
29573 * math/s_ccoshf.c: Likewise.
29574 * math/s_ccoshl.c: Likewise.
29575 * math/s_csin.c: Likewise.
29576 * math/s_csinf.c: Likewise.
29577 * math/s_csinh.c Likewise.
29578 * math/s_csinhf.c: Likewise.
29579 * math/s_csinhl.c: Likewise.
29580 * math/s_csinl.c: Likewise.
29581 * math/s_ctan.c: Likewise.
29582 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29583 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29584 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29585
8ec250a4
UD
295862011-10-21 Ulrich Drepper <drepper@gmail.com>
29587
c196fed8
UD
29588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29589 compilation problems.
29590
8ec250a4
UD
29591 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29592 __builtin_expect.
29593
8d4f46c6
UD
295942011-10-20 Ulrich Drepper <drepper@gmail.com>
29595
ed72b654
UD
29596 * sysdeps/i386/configure.in: Test for -mfma4 option.
29597 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29598 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29599 COMMON_CPUID_INDEX_80000001.
29600 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29601 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29602 use it if FMA3 is not supported.
29603 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29604
8d4f46c6
UD
29605 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29606 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29607
d45c60c2
AS
296082011-10-20 Andreas Schwab <schwab@redhat.com>
29609
29610 [BZ #12892]
29611 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29612 it would create a cycle with a link time dependency.
29613
d9a4d2ab
UD
296142011-10-19 Ulrich Drepper <drepper@gmail.com>
29615
855d1560
UD
29616 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29617 instruction.
29618 * string/Makefile (strop-tests): Add rawmemchr.
29619 * string/test-rawmemchr.c: New file.
29620
d9a4d2ab
UD
29621 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29622 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29623 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29624 when compiling str{,n}casecmp and when AVX is available. Hook up
29625 new optimized code in initializers.
29626
8f3b1ffe
AS
296272011-10-19 Andreas Schwab <schwab@redhat.com>
29628
29629 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29630 __feraiseexcept instead of feraiseexcept.
29631
d38f1dba
UD
296322011-10-18 Ulrich Drepper <drepper@gmail.com>
29633
d9a8d0ab
UD
29634 * math/math_private.h: Define defaults for libc_fetestexcept and
29635 libc_feupdateenv.
29636 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29637 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29638 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29639 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29640 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29641 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29642 libc_fetestexcept and libc_feupdateenv.
29643
4855e3dd
UD
29644 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29645 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29646 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29647 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29648 libc_feholdexcept_setround.
29649
581d30e3
UD
29650 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29651 Add s_nearbyint-c and s_nearbyintf-c.
29652 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29653 nearbyintf inlines.
29654 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29655 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29656 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29657 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29658
d38f1dba
UD
29659 * math/math_private.h: Define defaults for libc_fegetround,
29660 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29661 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29662 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29663 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29664 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29665 standard functions.
29666 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29667 Remove comments and hacks for old compiler versions.
29668 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29669 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29670 libc_feholdexceptl.
29671
caa6c9d8
AS
296722011-10-18 Andreas Schwab <schwab@redhat.com>
29673
29674 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29675 (__feraiseexcept_renamed): Add __NTH.
29676 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29677 namespace violations.
29678
97c066e6
UD
296792011-10-17 Ulrich Drepper <drepper@gmail.com>
29680
99ce7b04
UD
29681 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29682
1004d182
UD
29683 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29684
228a984d
UD
29685 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29686 recently added interfaces.
29687 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29688
c8553a6a
UD
29689 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29690 about macro parameter expansion.
29691
ed22dcf6
UD
29692 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29693 __NO_MATH_INLINES is defined. Cleanups.
29694
29695 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29696 and __floorf is target has SSE4.1.
29697 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29698 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29699 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29700 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29701
b171c137
UD
29702 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29703 name.
29704 (floorf): Likewise.
29705
97c066e6
UD
29706 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29707
629f62ef
AS
297082011-10-17 Andreas Schwab <schwab@redhat.com>
29709
49a43d80
AS
29710 * misc/sys/cdefs.h: Fix last change.
29711
629f62ef
AS
29712 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29713 database lookup.
29714
e453f6cd
UD
297152011-10-16 Ulrich Drepper <drepper@gmail.com>
29716
aa78043a
UD
29717 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29718
ad0f5cad
UD
29719 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29721 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29722 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29723 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29724 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29725 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29726 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29727 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29728 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29729 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29730 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29731 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29732 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29733 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29734 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29735 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29736 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29737 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29738 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29739 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29740 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29741
29742 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29743 ceil, ceilf, floor, floorf.
29744
29745 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29746 Perform IRELATIVE relocations last.
29747
e453f6cd
UD
29748 * elf/do-rel.h: Add another parameter nrelative, replacing the
29749 local variable with the same name. Change name of the function
29750 to end in Rel or Rela (uppercase).
29751 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29752 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29753 elf_dynamic_do_##reloc function.
29754
fd5bdc09
UD
297552011-10-15 Ulrich Drepper <drepper@gmail.com>
29756
79b195b5
UD
29757 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29758 is sufficient, at least on modern CPUs.
29759
d4a28569
UD
29760 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29761
b61099b5
UD
29762 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29763 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29764
bcf01e6d
UD
29765 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29766 __expl_finite.
29767 * math/bits/math-finite.h: Add entries for exp.
29768 * math/e_expl.c: Add __*_finite alias.
29769 * sysdeps/i386/fpu/e_exp.S: Likewise.
29770 * sysdeps/i386/fpu/e_expf.S: Likewise.
29771 * sysdeps/i386/fpu/e_expl.c: Likewise.
29772 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29773 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29774 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29776 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29777 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29778 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29779
ba1a0d59
UD
29780 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29781 is sufficient, at least on modern CPUs.
29782
fd5bdc09
UD
29783 * ctype/ctype-info.c (__ctype_init): Define.
29784 * include/ctype.h (__ctype_init): Declare.
29785 (__ctype_b_loc): The variable is always initialized.
29786 (__ctype_toupper_loc): Likewise.
29787 (__ctype_tolower_loc): Likewise.
29788 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29789 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29790
7872cfb0
AS
297912011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29792
b468825a
AS
29793 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29794
7872cfb0
AS
29795 * configure.in: Also look in $cxxmachine/include for C++ system
29796 headers.
29797
be13f7bf
LD
297982011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29799
29800 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29801 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29802 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29803 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29804 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29805 (USE_AS_WMEMCMP): New macro.
29806 Fixing indents.
29807 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29808 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29809 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29810 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29812 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29813 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29814 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29815 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29816 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29817 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29818 (USE_AS_WMEMCMP): New macro.
29819 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29820 * sysdeps/string/test-memcmp.c: Update.
29821 Fix simple_wmemcmp.
29822 Add new tests.
29823 * wcsmbs/wmemcmp.c: Update.
29824 (WMEMCMP): New macro.
29825 Fix overflow bug.
29826
556a2007
AJ
298272011-10-12 Andreas Jaeger <aj@suse.de>
29828
29829 [BZ #13268]
29830 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29831
538faaa7
UD
298322011-10-15 Ulrich Drepper <drepper@gmail.com>
29833
ab6737ff
UD
29834 * libio/iofwide.c (do_length): Avoid warning.
29835
538faaa7
UD
29836 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29837
396a21b1
UD
298382011-10-14 Ulrich Drepper <drepper@gmail.com>
29839
cdf2901f
UD
29840 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29841
38ad40ce
UD
29842 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29843 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29844 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29845 * sysdeps/i386/i686/fpu/e_log.S: New file.
29846 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29847 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29848
396a21b1
UD
29849 * ctype/ctype.h: Add support for inlined isXXX functions when
29850 compiling C++ code.
29851
6b1f68c9
AS
298522011-10-14 Andreas Schwab <schwab@redhat.com>
29853
349290c0
AS
29854 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29855
6b1f68c9
AS
29856 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29857
f2282d42
RM
298582011-10-13 Roland McGrath <roland@hack.frob.com>
29859
29860 [BZ #13291]
29861 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29862
5298ffa8
AS
298632011-10-13 Andreas Schwab <schwab@redhat.com>
29864
714fad23
AS
29865 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29866 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29867 feraiseexcept.
29868
81dcc7fb
AS
29869 * sysdeps/x86_64/memrchr.S: Check for zero size.
29870
5298ffa8
AS
29871 * string/stratcliff.c: Add memrchr tests.
29872
951fbcec
LD
298732011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29874
29875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29876 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29877 rawmemchr-sse2 rawmemchr-sse2-bsf.
29878 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29879 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29880 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29881 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29882 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29883 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29884 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29885 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29886 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29887 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29888 * string/memrchr.c (MEMRCHR): New macro.
29889
0ac5ae23
UD
298902011-10-12 Ulrich Drepper <drepper@gmail.com>
29891
29892 Add integration with gcc's -ffinite-math-only and optimize wrapper
29893 functions in libm.
29894 * Versions.def: Define GLIBC_2.15 version for libm.
29895 * math/Makefile (headers): Add bits/math-finite.h.
29896 * math/bits/math-finite.h: New file.
29897 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29898 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29899 * math/e_acoshl.c: Add __*_finite alias.
29900 * math/e_acosl.c: Likewise.
29901 * math/e_asinl.c: Likewise.
29902 * math/e_atan2l.c: Likewise.
29903 * math/e_atanhl.c: Likewise.
29904 * math/e_coshl.c: Likewise.
29905 * math/e_exp10.c: Likewise.
29906 * math/e_exp10f.c: Likewise.
29907 * math/e_exp10l.c: Likewise.
29908 * math/e_exp2l.c: Likewise.
29909 * math/e_fmodl.c: Likewise.
29910 * math/e_gammal_r.c: Likewise.
29911 * math/e_hypotl.c: Likewise.
29912 * math/e_j0l.c: Likewise.
29913 * math/e_j1l.c: Likewise.
29914 * math/e_jnl.c: Likewise.
29915 * math/e_lgammal_r.c: Likewise.
29916 * math/e_log10l.c: Likewise.
29917 * math/e_log2l.c: Likewise.
29918 * math/e_logl.c: Likewise.
29919 * math/e_powl.c: Likewise.
29920 * math/e_sinhl.c: Likewise.
29921 * math/e_sqrtl.c: Likewise.
29922 * math/e_scalb.c: Completely rewritten and optimized.
29923 * math/e_scalbf.c: Likewise.
29924 * math/e_scalbl.c: Likewise.
29925 * math/w_acos.c: Likewise.
29926 * math/w_acosf.c: Likewise.
29927 * math/w_acosl.c: Likewise.
29928 * math/w_acosh.c: Likewise.
29929 * math/w_acoshf.c: Likewise.
29930 * math/w_acoshl.c: Likewise.
29931 * math/w_asin.c: Likewise.
29932 * math/w_asinf.c: Likewise.
29933 * math/w_asinl.c: Likewise.
29934 * math/w_atan2.c: Likewise.
29935 * math/w_atan2f.c: Likewise.
29936 * math/w_atan2l.c: Likewise.
29937 * math/w_atanh.c: Likewise.
29938 * math/w_atanhf.c: Likewise.
29939 * math/w_atanhl.c: Likewise.
29940 * math/w_exp10.c: Likewise.
29941 * math/w_exp10f.c: Likewise.
29942 * math/w_exp10l.c: Likewise.
29943 * math/w_fmod.c: Likewise.
29944 * math/w_fmodf.c: Likewise.
29945 * math/w_fmodl.c: Likewise.
29946 * math/w_j0.c: Likewise.
29947 * math/w_j0f.c: Likewise.
29948 * math/w_j0l.c: Likewise.
29949 * math/w_j1.c: Likewise.
29950 * math/w_j1f.c: Likewise.
29951 * math/w_j1l.c: Likewise.
29952 * math/w_jn.c: Likewise.
29953 * math/w_jnf.c: Likewise.
29954 * math/w_log.c: Likewise.
29955 * math/w_logf.c: Likewise.
29956 * math/w_logl.c: Likewise.
29957 * math/w_log10.c: Likewise.
29958 * math/w_log10f.c: Likewise.
29959 * math/w_log10l.c: Likewise.
29960 * math/w_log2.c: Likewise.
29961 * math/w_log2f.c: Likewise.
29962 * math/w_log2l.c: Likewise.
29963 * math/w_pow.c: Likewise.
29964 * math/w_powf.c: Likewise.
29965 * math/w_powl.c: Likewise.
29966 * math/w_remainder.c: Likewise.
29967 * math/w_remainderf.c: Likewise.
29968 * math/w_remainderl.c: Likewise.
29969 * math/w_scalb.c: Likewise.
29970 * math/w_scalbf.c: Likewise.
29971 * math/w_scalbl.c: Likewise.
29972 * math/w_sqrt.c: Likewise.
29973 * math/w_sqrtf.c: Likewise.
29974 * math/w_sqrtl.c: Likewise.
29975 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29976 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29977 used.
29978 * math/math_private.h: Declare __kernel_standard_f.
29979 * math/w_cosh.c: Remove cruft and optimize a bit.
29980 * math/w_coshf.c: Likewise.
29981 * math/w_coshl.c: Likewise.
29982 * math/w_exp2.c: Likewise.
29983 * math/w_exp2f.c: Likewise.
29984 * math/w_exp2l.c: Likewise.
29985 * math/w_hypot.c: Likewise.
29986 * math/w_hypotf.c: Likewise.
29987 * math/w_hypotl.c: Likewise.
29988 * math/w_lgamma.c: Likewise.
29989 * math/w_lgamma_r.c: Likewise.
29990 * math/w_lgammaf.c: Likewise.
29991 * math/w_lgammaf_r.c: Likewise.
29992 * math/w_lgammal.c: Likewise.
29993 * math/w_lgammal_r.c: Likewise.
29994 * math/w_sinh.c: Likewise.
29995 * math/w_sinhf.c: Likewise.
29996 * math/w_sinhl.c: Likewise.
29997 * math/w_tgamma.c: Likewise.
29998 * math/w_tgammaf.c: Likewise.
29999 * math/w_tgammal.c: Likewise.
30000 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30001 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30002 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30003 Minor optimizations. Pretty printing. Remove cruft.
30004 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30005 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30006 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30007 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30008 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30009 * sysdeps/i386/fpu/e_asin.S: Likewise.
30010 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30011 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30012 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30013 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30014 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30015 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30016 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30017 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30018 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30019 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30020 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30021 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30022 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30023 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30024 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30025 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30026 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30027 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30028 * sysdeps/i386/fpu/e_log.S: Likewise.
30029 * sysdeps/i386/fpu/e_log10.S: Likewise.
30030 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30031 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30032 * sysdeps/i386/fpu/e_log2.S: Likewise.
30033 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30034 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30035 * sysdeps/i386/fpu/e_logf.S: Likewise.
30036 * sysdeps/i386/fpu/e_logl.S: Likewise.
30037 * sysdeps/i386/fpu/e_pow.S: Likewise.
30038 * sysdeps/i386/fpu/e_powf.S: Likewise.
30039 * sysdeps/i386/fpu/e_powl.S: Likewise.
30040 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30041 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30042 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30043 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30044 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30045 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30046 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30047 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30048 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30049 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30050 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30052 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30053 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30054 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30055 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30056 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30057 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30058 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30059 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30060 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30062 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30063 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30065 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30066 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30067 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30068 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30069 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30070 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30071 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30072 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30073 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30074 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30075 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30076 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30077 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30078 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30079 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30080 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30081 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30082 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30083 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30084 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30085 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30086 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30087 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30088 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30089 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30090 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30091 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30092 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30093 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30094 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30095 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30096 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30097 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30098 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30099 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30100 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30101 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30102 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30103 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30104 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30105 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30106 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30107 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30108 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30109 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30110 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30111 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30112 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30113 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30114 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30115 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30116 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30117 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30118 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30119 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30120 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30121 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30123 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30124 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30125 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30126 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30127 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30128 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30129 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30130 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30131 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30132 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30133 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30134 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30135 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30136 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30137 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30138 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30139 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30142 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30143 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30144 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30145 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30146 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30147 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30148 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30149 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30150 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30151 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30152 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30153 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30154 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30155 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30156 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30157 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30158 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30159 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30160 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30161 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30162 (__isnanf): Likewise.
30163 (__isinf_ns): Likewise.
30164 (__isinf_nsf): Likewise.
30165 (__finite): Likewise.
30166 (__finitef): Likewise.
30167 (__ieee754_sqrt): Define as macro.
30168 (__ieee754_sqrtf): Define as macro.
30169 (__ieee754_sqrtl): Define as macro.
30170 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30171 inlined copy.
30172 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30173 __FINITE_MATH_ONLY__ consistent.
30174 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30175
12cc2fcd
AS
301762011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30177
a843a204
AS
30178 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30179 of rawmemchr.
30180
12cc2fcd
AS
30181 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30182
c853acd5
UD
301832011-10-09 Ulrich Drepper <drepper@gmail.com>
30184
30185 * po/ja.po: Update from translation team.
30186
c658d255
RM
301872011-10-08 Roland McGrath <roland@hack.frob.com>
30188
110946e4
RM
30189 * locale/programs/locarchive.c (prepare_address_space): New function.
30190 (create_archive, enlarge_archive, open_archive): Use it.
30191
50604220
RM
30192 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30193 inside [SHARED], where it is used.
30194
c658d255
RM
30195 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30196
30197 * nss/getent.c (netgroup_keys): Remove unused variable.
30198 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30199
6a621eb7
UD
302002011-10-08 Ulrich Drepper <drepper@gmail.com>
30201
7edb55ce
UD
30202 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30203 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30204 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30205 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30206 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30207 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30208 * math/Makefile (libm-calls): Add s_isinf_ns.
30209 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30210 * math/multc3.c: Likewise.
30211 * math/s_casin.c: Likewise.
30212 * math/s_casinf.c: Likewise.
30213 * math/s_casinl.c: Likewise.
30214 * math/s_ccos.c: Likewise.
30215 * math/s_ccosf.c: Likewise.
30216 * math/s_ccosl.c: Likewise.
30217 * math/s_ctan.c: Likewise.
30218 * math/s_ctanf.c: Likewise.
30219 * math/s_ctanh.c: Likewise.
30220 * math/s_ctanhf.c: Likewise.
30221 * math/s_ctanhl.c: Likewise.
30222 * math/s_ctanl.c: Likewise.
30223 * math/w_fmod.c: Likewise.
30224 * math/w_fmodf.c: Likewise.
30225 * math/w_fmodl.c: Likewise.
30226 * math/w_remainder.c: Likewise.
30227 * math/w_remainderf.c: Likewise.
30228 * math/w_remainderl.c: Likewise.
30229 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30230 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30231 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30233 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30234 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30235 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30236 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30237
187da0ae
UD
30238 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30239 of the number.
30240 * stdio-common/printf_fphex.c: Likewise.
30241 * stdio-common/printf_size.c: Likewise.
30242
9277c064
UD
30243 * math/e_exp10.c: Include math_private.h using <...> not "...".
30244 * math/e_exp10f.c: Likewise.
30245 * math/e_exp10l.c: Likewise.
30246 * math/e_exp2l.c: Likewise.
30247 * math/e_j0l.c: Likewise.
30248 * math/e_j1l.c: Likewise.
30249 * math/e_jnl.c: Likewise.
30250 * math/e_lgammal_r.c: Likewise.
30251 * math/e_rem_pio2l.c: Likewise.
30252 * math/e_scalb.c: Likewise.
30253 * math/e_scalbf.c: Likewise.
30254 * math/e_scalbl.c: Likewise.
30255 * math/k_cosl.c: Likewise.
30256 * math/k_sinl.c: Likewise.
30257 * math/k_tanl.c: Likewise.
30258 * math/s_cacoshf.c: Likewise.
30259 * math/s_catan.c: Likewise.
30260 * math/s_catanf.c: Likewise.
30261 * math/s_catanh.c: Likewise.
30262 * math/s_catanhf.c: Likewise.
30263 * math/s_catanhl.c: Likewise.
30264 * math/s_catanl.c: Likewise.
30265 * math/s_ccosh.c: Likewise.
30266 * math/s_ccoshf.c: Likewise.
30267 * math/s_ccoshl.c: Likewise.
30268 * math/s_cexp.c: Likewise.
30269 * math/s_cexpf.c: Likewise.
30270 * math/s_cexpl.c: Likewise.
30271 * math/s_clog.c: Likewise.
30272 * math/s_clog10.c: Likewise.
30273 * math/s_clog10f.c: Likewise.
30274 * math/s_clog10l.c: Likewise.
30275 * math/s_clogf.c: Likewise.
30276 * math/s_clogl.c: Likewise.
30277 * math/s_csin.c: Likewise.
30278 * math/s_csinf.c: Likewise.
30279 * math/s_csinh.c: Likewise.
30280 * math/s_csinhf.c: Likewise.
30281 * math/s_csinhl.c: Likewise.
30282 * math/s_csinl.c: Likewise.
30283 * math/s_csqrt.c: Likewise.
30284 * math/s_csqrtf.c: Likewise.
30285 * math/s_csqrtl.c: Likewise.
30286 * math/s_ctan.c: Likewise.
30287 * math/s_ctanf.c: Likewise.
30288 * math/s_ctanh.c: Likewise.
30289 * math/s_ctanhf.c: Likewise.
30290 * math/s_ctanhl.c: Likewise.
30291 * math/s_ctanl.c: Likewise.
30292 * math/s_ldexp.c: Likewise.
30293 * math/s_ldexpf.c: Likewise.
30294 * math/s_ldexpl.c: Likewise.
30295 * math/s_significand.c: Likewise.
30296 * math/s_significandf.c: Likewise.
30297 * math/s_significandl.c: Likewise.
30298 * math/w_acos.c: Likewise.
30299 * math/w_acosf.c: Likewise.
30300 * math/w_acosh.c: Likewise.
30301 * math/w_acoshf.c: Likewise.
30302 * math/w_acoshl.c: Likewise.
30303 * math/w_acosl.c: Likewise.
30304 * math/w_asin.c: Likewise.
30305 * math/w_asinf.c: Likewise.
30306 * math/w_asinl.c: Likewise.
30307 * math/w_atan2.c: Likewise.
30308 * math/w_atan2f.c: Likewise.
30309 * math/w_atan2l.c: Likewise.
30310 * math/w_atanh.c: Likewise.
30311 * math/w_atanhf.c: Likewise.
30312 * math/w_atanhl.c: Likewise.
30313 * math/w_cosh.c: Likewise.
30314 * math/w_coshf.c: Likewise.
30315 * math/w_coshl.c: Likewise.
30316 * math/w_dremf.c: Likewise.
30317 * math/w_exp10.c: Likewise.
30318 * math/w_exp10f.c: Likewise.
30319 * math/w_exp10l.c: Likewise.
30320 * math/w_exp2.c: Likewise.
30321 * math/w_exp2f.c: Likewise.
30322 * math/w_fmod.c: Likewise.
30323 * math/w_fmodf.c: Likewise.
30324 * math/w_fmodl.c: Likewise.
30325 * math/w_hypot.c: Likewise.
30326 * math/w_hypotf.c: Likewise.
30327 * math/w_hypotl.c: Likewise.
30328 * math/w_j0.c: Likewise.
30329 * math/w_j0f.c: Likewise.
30330 * math/w_j0l.c: Likewise.
30331 * math/w_j1.c: Likewise.
30332 * math/w_j1f.c: Likewise.
30333 * math/w_j1l.c: Likewise.
30334 * math/w_jn.c: Likewise.
30335 * math/w_jnf.c: Likewise.
30336 * math/w_jnl.c: Likewise.
30337 * math/w_lgamma.c: Likewise.
30338 * math/w_lgamma_r.c: Likewise.
30339 * math/w_lgammaf.c: Likewise.
30340 * math/w_lgammaf_r.c: Likewise.
30341 * math/w_lgammal.c: Likewise.
30342 * math/w_lgammal_r.c: Likewise.
30343 * math/w_log.c: Likewise.
30344 * math/w_log10.c: Likewise.
30345 * math/w_log10f.c: Likewise.
30346 * math/w_log10l.c: Likewise.
30347 * math/w_log2.c: Likewise.
30348 * math/w_log2f.c: Likewise.
30349 * math/w_log2l.c: Likewise.
30350 * math/w_logf.c: Likewise.
30351 * math/w_logl.c: Likewise.
30352 * math/w_pow.c: Likewise.
30353 * math/w_powf.c: Likewise.
30354 * math/w_powl.c: Likewise.
30355 * math/w_remainder.c: Likewise.
30356 * math/w_remainderf.c: Likewise.
30357 * math/w_remainderl.c: Likewise.
30358 * math/w_scalb.c: Likewise.
30359 * math/w_scalbf.c: Likewise.
30360 * math/w_scalbl.c: Likewise.
30361 * math/w_sinh.c: Likewise.
30362 * math/w_sinhf.c: Likewise.
30363 * math/w_sinhl.c: Likewise.
30364 * math/w_sqrt.c: Likewise.
30365 * math/w_sqrtf.c: Likewise.
30366 * math/w_sqrtl.c: Likewise.
30367 * math/w_tgamma.c: Likewise.
30368 * math/w_tgammaf.c: Likewise.
30369 * math/w_tgammal.c: Likewise.
30370
6a621eb7
UD
30371 * po/ja.po: Update from translation team.
30372
bf582445
AJ
303732011-09-29 Andreas Jaeger <aj@suse.de>
30374
f9efbf3a
AJ
30375 [BZ #13179]
30376 * sunrpc/netname.c (netname2host): Fix logic.
30377
bf582445
AJ
30378 [BZ #6779]
30379 [BZ #6783]
30380 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30381 correctly.
30382 * math/w_remainder.c (__remainder): Likewise.
30383 * math/w_remainderf.c (__remainderf): Likewise.
30384 * math/libm-test.inc (remainder_test): Add test cases.
30385
48693bea
AK
303862011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30387
30388 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30389 sdiv_qrnnd.
30390
42622229
LD
303912011-10-07 Ulrich Drepper <drepper@gmail.com>
30392
30393 * string/test-memcmp.c: Avoid unncessary #defines.
30394 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30395
093ecf92
LD
303962011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30397
30398 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30399 Use new sse2 version for core i3 - i7 as it's faster
30400 than sse42 version.
30401 (bit_Prefer_PMINUB_for_stringop): New.
30402 * sysdeps/x86_64/rawmemchr.S: Update.
30403 Replace with faster SSE2 version.
30404 * sysdeps/x86_64/memrchr.S: New file.
30405 * sysdeps/x86_64/memchr.S: Update.
30406 Replace with faster SSE2 version.
30407
fde56e5c
MP
304082011-09-12 Marek Polacek <mpolacek@redhat.com>
30409
30410 * elf/dl-load.c (lose): Add cast to avoid warning.
30411
21fd49a9
UD
304122011-10-07 Ulrich Drepper <drepper@gmail.com>
30413
5a06e643
UD
30414 * po/ca.po: Update from translation team.
30415
684ae515
UD
30416 * inet/getnetgrent_r.c: Hook up nscd.
30417 * nscd/Makefile (routines): Add nscd_netgroup.
30418 (nscd-modules): Add netgroupcache.
30419 (CFLAGS-netgroupcache.c): Define.
30420 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30421 (cache_search): Add const to second parameter.
30422 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30423 INNETGR.
30424 (dbs): Add netgrdb entry.
30425 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30426 (verify_persistent_db): Handle netgrdb.
30427 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30428 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30429 GETFDNETGR.
30430 (netgroup_response_header): Define.
30431 (innetgroup_response_header): Define.
30432 (datahead): Add netgroup_response_header and innetgroup_response_header
30433 elements.
30434 * nscd/nscd.conf: Add entries for netgroup cache.
30435 * nscd/nscd.h (dbtype): Add netgrdb.
30436 (_PATH_NSCD_NETGROUP_DB): Define.
30437 (netgroup_iov_disabled): Declare.
30438 (xmalloc, xcalloc, xrealloc): Move declarations here.
30439 (cache_search): Adjust prototype.
30440 Add netgroup-related prototypes.
30441 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30442 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30443 (__nscd_innetgr): Declare.
30444 * nscd/selinux.c (perms): Use access_vector_t as element type and
30445 add netgroup-related initializers.
30446 * nscd/netgroupcache.c: New file.
30447 * nscd/nscd_netgroup.c: New file.
30448 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30449 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30450 For four parameters use innetgr.
30451 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30452 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30453 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30454 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30455
21fd49a9
UD
30456 * nscd/connections.c (register_traced_file): Don't register file
30457 for disabled databases.
30458
054c0457
UD
304592011-10-06 Ulrich Drepper <drepper@gmail.com>
30460
32b63198
UD
30461 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30462
054c0457
UD
30463 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30464 from tree and freeing node.
30465
64031225
JO
304662011-09-25 Jiri Olsa <jolsa@redhat.com>
30467
30468 * nss/nsswitch.c (__nss_database_lookup): Handle
30469 nss_parse_service_list out of memory case.
30470
0490345c
JO
304712011-09-15 Jiri Olsa <jolsa@redhat.com>
30472
30473 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30474 out of memory case.
30475
3a62d00d
AS
304762011-10-04 Andreas Schwab <schwab@redhat.com>
30477
30478 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30479 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30480 pass it down.
30481 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30482 elf_machine_rela, elf_machine_lazy_rel.
30483 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30484 (ELF_DYNAMIC_DO_REL): Likewise.
30485 (ELF_DYNAMIC_DO_RELA): Likewise.
30486 (ELF_DYNAMIC_RELOCATE): Likewise.
30487 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30488 to ELF_DYNAMIC_DO_REL.
30489 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30490 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30491 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30492 elf_machine_rela.
30493 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30494 skip_ifunc, don't call ifunc function if non-zero.
30495 (elf_machine_rela): Likewise.
30496 (elf_machine_lazy_rel): Likewise.
30497 (elf_machine_lazy_rela): Likewise.
30498 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30499 (elf_machine_lazy_rel): Likewise.
30500 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30501 Likewise.
30502 (elf_machine_lazy_rel): Likewise.
30503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30504 Likewise.
30505 (elf_machine_lazy_rel): Likewise.
30506 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30507 (elf_machine_lazy_rel): Likewise.
30508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30509 (elf_machine_lazy_rel): Likewise.
30510 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30511 (elf_machine_lazy_rel): Likewise.
30512 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30513 (elf_machine_lazy_rel): Likewise.
30514 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30515 (elf_machine_lazy_rel): Likewise.
30516 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30517 (elf_machine_lazy_rel): Likewise.
30518
68577918
UD
305192011-09-28 Ulrich Drepper <drepper@gmail.com>
30520
30521 * nss/nss_files/files-init.c (_nss_files_init): Use static
30522 initialization for all the *_traced_file variables.
30523
68822d74
AS
305242011-09-28 Andreas Schwab <schwab@redhat.com>
30525
30526 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30527
2056100b
RM
305282011-09-27 Roland McGrath <roland@hack.frob.com>
30529
30530 [BZ #13226]
30531 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30532
32c76b63
AS
305332011-09-27 Andreas Schwab <schwab@redhat.com>
30534
30535 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30536 Reread the line before reparsing it.
30537
bf972c9d
AS
305382011-09-26 Andreas Schwab <schwab@redhat.com>
30539
30540 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30541
e057a1b5
JM
305422011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30543 Maxim Kuvyrkov <maxim@codesourcery.com>
30544 Joseph Myers <joseph@codesourcery.com>
30545
30546 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30547 if needed for __stack_chk_guard.
30548
bc7e1c36
RM
305492011-09-19 Roland McGrath <roland@hack.frob.com>
30550
ecb1482f
RM
30551 * sysdeps/posix/spawni.c (script_execute): Always define it.
30552 It will be optimized away if unused.
30553 (maybe_script_execute): New function.
30554 (__spawni): Call it.
30555
bc7e1c36
RM
30556 * Makerules: Don't include tls.make.
30557 (config-tls): Always set to thread.
30558 * tls.make.c: File removed.
30559
1c3b002b
MF
305602011-09-19 Mike Frysinger <vapier@gentoo.org>
30561
30562 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30563 * config.make.in (CPPFLAGS-config): New substituted variable.
30564
2840865d
UD
305652011-09-15 Ulrich Drepper <drepper@gmail.com>
30566
88738eb6
UD
30567 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30568
cbf645a6 30569 [BZ #13192]
2840865d
UD
30570 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30571 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30572
b402e91a
RM
305732011-09-15 Roland McGrath <roland@hack.frob.com>
30574
30575 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30576 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30577 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30578 (CALL_FAIL): Likewise.
30579 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30580 (CALL_FAIL): Macro removed.
30581 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30582
4c1a1f71
UD
305832011-09-15 Ulrich Drepper <drepper@gmail.com>
30584
30585 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30586 for __FINITE_MATH_ONLY__ == 1.
30587
edc121be
AS
305882011-09-15 Andreas Schwab <schwab@redhat.com>
30589
30590 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30591 __ieee754_sqrt instead of sqrt.
30592 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30593 __ieee754_sqrtf instead of sqrtf.
30594 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30595 __floorf instead of floorf.
30596 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30597 __floorf, __truncf instead of floorf, truncf.
30598
cd205654
UD
305992011-09-14 Ulrich Drepper <drepper@gmail.com>
30600
ee4d0315
UD
30601 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30602
cd205654
UD
30603 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30604 __extern_always_inline.
30605 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30606 32-bit.
30607
48b67d71
AS
306082011-09-14 Andreas Schwab <schwab@redhat.com>
30609
30610 * elf/rtld.c (dl_main): Also relocate in dependency order when
30611 doing symbol dependency testing.
30612
1ae12c75
AS
306132011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30614
30615 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30616 Always define `refsym'.
30617
995a80df
AS
306182011-09-13 Andreas Schwab <schwab@redhat.com>
30619
e529793b
AS
30620 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30621 (__FD_ELT): Renamed from __FDELT.
30622 * misc/bits/select2.h (__FD_ELT): Likewise.
30623 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30624 __FD_MASK instead of __FDELT, __FDMASK.
30625 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30626 Likewise.
30627 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30628 Likewise.
30629
52d4fef8
AS
30630 * elf/Makefile (gen-ldd): Fix pattern.
30631
995a80df
AS
30632 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30633 (init_tls): Likewise.
30634
8682f8b0
UD
306352011-09-12 Ulrich Drepper <drepper@gmail.com>
30636
30637 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30638
de82006d
AS
306392011-09-12 Andreas Schwab <schwab@redhat.com>
30640
a7c8e6a1
AS
30641 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30642 `struct cmsghdr *' instead of `void *'.
30643 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30644 Likewise.
30645
0f31fe77
AS
306462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30647
30648 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30649 if non-absolute.
30650 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30651 ldd_rewrite_script.
0f31fe77 30652
32b4c839
UD
306532011-09-11 Ulrich Drepper <drepper@gmail.com>
30654
83cd1420
UD
30655 * configure.in: Remove --with-tls option.
30656 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30657 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30658 out in case it is missing.
30659 * sysdeps/ia64/elf/configure.in: Likewise.
30660 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30661 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30662 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30663 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30664 * sysdeps/sh/elf/configure.in: Likewise.
30665 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30666 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30667 * sysdeps/x86_64/elf/configure.in: Likewise.
30668 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30669 * sysdeps/mach/hurd/tls.h: Likewise.
30670
633f745d
UD
30671 [BZ #13067]
30672 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30673
f318beb8
UD
30674 [BZ #13090]
30675 * configure.in: Fix use of AC_INIT.
30676
32b4c839
UD
30677 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30678
3ce1f295
UD
306792011-09-10 Ulrich Drepper <drepper@gmail.com>
30680
bb016596
UD
30681 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30682 __set_errno.
8e58439c
UD
30683 * malloc/hooks.c: Likewise.
30684
aebae053 30685 [BZ #11929]
02d46fc4
UD
30686 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30687 variables statically.
30688 (narenas): Initialize.
30689 (list_lock): Initialize.
bb016596
UD
30690 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30691 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30692 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30693 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30694 Add initializers to main_arena and mp_.
30695 (malloc_state): Remove pagesize member. Change all users to use
30696 GLRO(dl_pagesize).
30697
30698 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30699 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30700 is always initialized.
30701
22a89187
UD
30702 * malloc/malloc.c: Removed unused configurations and dead code.
30703 * malloc/arena.c: Likewise.
30704 * malloc/hooks.c: Likewise.
02d46fc4 30705 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30706
d063d164
UD
30707 * include/tls.h: Removed. USE___THREAD must always be defined.
30708 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30709 * elf/dl-libc.c: Likewise.
30710 * elf/dl-tsd.c: Likewise.
30711 * include/errno.h: Likewise.
30712 * include/netdb.h: Likewise.
30713 * include/resolv.h: Likewise.
30714 * inet/herrno-loc.c: Likewise.
30715 * inet/herrno.c: Likewise.
30716 * malloc/arena.c: Likewise.
30717 * malloc/hooks.c: Likewise.
30718 * malloc/malloc.c: Likewise.
30719 * resolv/res-state.c: Likewise.
30720 * resolv/res_libc.c: Likewise.
30721 * sysdeps/i386/dl-machine.h: Likewise.
30722 * sysdeps/ia64/dl-machine.h: Likewise.
30723 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30724 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30725 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30726 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30727 * sysdeps/sh/dl-machine.h: Likewise.
30728 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30729 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30730 * sysdeps/unix/i386/sysdep.S: Likewise.
30731 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30732 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30733 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30737 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30741 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30742 * sysdeps/x86_64/dl-machine.h: Likewise.
30743 * tls.make.c: Likewise.
30744
3ce1f295
UD
30745 * configure.in: Remove --with-__thread option. Make tests for
30746 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30747 tls_model attribute fail if no support is available. Remove
30748 USE_IN_LIBIO.
30749 * Makeconfig: Adjust for dropped configure option. All features are
30750 now mandatory.
30751 * Makerules: Likewise.
30752 * Versions.def: Likewise.
30753 * argp/argp-fmtstream.c: Likewise.
30754 * argp/argp-fmtstream.h: Likewise.
30755 * argp/argp-help.c: Likewise.
30756 * assert/assert.c: Likewise.
30757 * config.h.in: Likewise.
30758 * config.make.in: Likewise.
30759 * configure: Likewise.
30760 * configure.in: Likewise.
30761 * csu/Versions: Likewise.
30762 * csu/init.c: Likewise.
30763 * elf/tst-audit2.c: Likewise.
30764 * elf/tst-tls10.c: Likewise.
30765 * elf/tst-tls10.h: Likewise.
30766 * elf/tst-tls11.c: Likewise.
30767 * elf/tst-tls12.c: Likewise.
30768 * elf/tst-tls14.c: Likewise.
30769 * elf/tst-tlsmod11.c: Likewise.
30770 * elf/tst-tlsmod12.c: Likewise.
30771 * elf/tst-tlsmod13.c: Likewise.
30772 * elf/tst-tlsmod13a.c: Likewise.
30773 * elf/tst-tlsmod14a.c: Likewise.
30774 * elf/tst-tlsmod15b.c: Likewise.
30775 * elf/tst-tlsmod16a.c: Likewise.
30776 * elf/tst-tlsmod16b.c: Likewise.
30777 * elf/tst-tlsmod7.c: Likewise.
30778 * elf/tst-tlsmod8.c: Likewise.
30779 * elf/tst-tlsmod9.c: Likewise.
30780 * gmon/gmon.c: Likewise.
30781 * grp/fgetgrent_r.c: Likewise.
30782 * grp/putgrent.c: Likewise.
30783 * hurd/fopenport.c: Likewise.
30784 * include/libc-symbols.h: Likewise.
30785 * include/tls.h: Likewise.
30786 * intl/gettextP.h: Likewise.
30787 * intl/loadinfo.h: Likewise.
30788 * locale/global-locale.c: Likewise.
30789 * locale/localeinfo.h: Likewise.
30790 * mach/devstream.c: Likewise.
30791 * malloc/arena.c: Likewise.
30792 * malloc/set-freeres.c: Likewise.
30793 * misc/err.c: Likewise.
30794 * misc/getttyent.c: Likewise.
30795 * misc/mntent_r.c: Likewise.
30796 * posix/getopt.c: Likewise.
30797 * posix/wordexp.c: Likewise.
30798 * pwd/fgetpwent_r.c: Likewise.
30799 * resolv/Versions: Likewise.
30800 * resolv/res_hconf.c: Likewise.
30801 * shadow/fgetspent_r.c: Likewise.
30802 * shadow/putspent.c: Likewise.
30803 * stdio-common/printf_fphex.c: Likewise.
30804 * stdio-common/tmpfile.c: Likewise.
30805 * stdlib/abort.c: Likewise.
30806 * stdlib/fmtmsg.c: Likewise.
30807 * sunrpc/auth_unix.c: Likewise.
30808 * sunrpc/clnt_perr.c: Likewise.
30809 * sunrpc/clnt_tcp.c: Likewise.
30810 * sunrpc/clnt_udp.c: Likewise.
30811 * sunrpc/clnt_unix.c: Likewise.
30812 * sunrpc/openchild.c: Likewise.
30813 * sunrpc/svc_simple.c: Likewise.
30814 * sunrpc/svc_tcp.c: Likewise.
30815 * sunrpc/svc_udp.c: Likewise.
30816 * sunrpc/svc_unix.c: Likewise.
30817 * sunrpc/xdr.c: Likewise.
30818 * sunrpc/xdr_array.c: Likewise.
30819 * sunrpc/xdr_rec.c: Likewise.
30820 * sunrpc/xdr_ref.c: Likewise.
30821 * sunrpc/xdr_stdio.c: Likewise.
30822
1248c1c4
PB
308232011-09-09 Ulrich Drepper <drepper@gmail.com>
30824
30825 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30826
308272011-07-03 Andreas Jaeger <aj@suse.de>
30828
30829 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30830 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30831 regenerate with gen-libm-tests.pl.
30832
308332010-05-12 Petr Baudis <pasky@suse.cz>
30834
30835 [BZ #11589]
30836 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30837 around j0() zero points by switching to j1().
30838 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30839 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30841 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30842
f22e1074
UD
308432011-09-09 Ulrich Drepper <drepper@gmail.com>
30844
f19009c1
UD
30845 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30846 instead of 0.
30847 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30848 instead of 0.
f19009c1
UD
30849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30850 Patch in part by Pavel Roskin <proski@gnu.org>.
30851
3f8cc204
UD
30852 [BZ #13138]
30853 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30854 realloc.
30855 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30856 Free memory block if necessary.
30857
f22e1074
UD
30858 [BZ #12847]
30859 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30860 be NULL. Don't lock in this case.
30861
0a2349f9
RM
308622011-09-09 Roland McGrath <roland@hack.frob.com>
30863
30864 * elf/elf.h (ELFOSABI_GNU): New macro.
30865 (ELFOSABI_LINUX): Define to that.
30866
f3cdd467
DZ
308672011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30868
30869 * string/strncat.c (strncat): Undef the symbol in case it has been
30870 defined in bits/string.h.
30871
74718d13
UD
308722011-09-09 Ulrich Drepper <drepper@gmail.com>
30873
633e9e0f
UD
30874 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30875
0a2349f9 30876 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30877 link map.
30878
f9924780
AJ
308792011-08-17 Andreas Jaeger <aj@suse.de>
30880
30881 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30882
7f5517aa
PP
308832011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30884 Ian Lance Taylor <iant@google.com>
30885
30886 * math/libm-test.inc (lround_test): New testcase.
30887 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30888
762011fe
UD
308892011-09-08 Ulrich Drepper <drepper@gmail.com>
30890
92963737
UD
30891 * Makefile: Remove support for automatic cvs check-ins.
30892 * Makerules: Likewise.
30893 * config.make.in: Likewise.
30894 * configure.in: Likewise.
30895 * intl/Makefile: Likewise.
30896 * locale/Makefile: Likewise.
30897 * po/Makefile: Likewise.
30898 * posix/Makefile: Likewise.
30899 * sysdeps/gnu/Makefile: Likewise.
30900 * sysdeps/mach/hurd/Makefile: Likewise.
30901 * sysdeps/sparc/sparc32/Makefile: Likewise.
30902
b0727fd8
JS
30903 [BZ #13118]
30904 * posix/Makefile (bug-regex32-ENV): Define.
30905 Patch by John Stanley <jpsinthemix@verizon.net>.
30906
a0f33f99
UD
30907 * misc/Makefile (headers): Add bits/select2.h.
30908 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30909 * misc/bits/select2.h: New file.
30910 * include/bits/select2.h: New file.
30911 * debug/Makefile (routines): Add fdelt_chk.
30912 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30913 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30914 FD_ISSET.
30915 * debug/fdelt_chk.c: New file.
30916
762011fe
UD
30917 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30918 * wcsmbs/test-wmemcmp.c: Likewise.
30919 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30920 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30921
309222011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30923
30924 * string/Makefile (strop-tests): Add memcmp.
30925 * string/test-wmemcmp.c: New file.
30926 * string/test-memcmp.c: Add wmemcmp support.
30927
7f513ec8
RM
309282011-09-08 Roland McGrath <roland@hack.frob.com>
30929
0442afb4
RM
30930 [BZ #13153]
30931 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30932 2011-07-19 change.
30933
7f513ec8
RM
30934 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30935 garbage value in a __mach_port_mod_refs call in the cases of the
30936 task-self and thread-self ports.
30937
a12b2239
ST
309382011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30939
30940 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30941
610f9ab4
AS
309422011-09-08 Andreas Schwab <schwab@redhat.com>
30943
7f513ec8 30944 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30945
48882a1a
LD
309462011-09-07 Ulrich Drepper <drepper@gmail.com>
30947
b49865be
UD
30948 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30949
fdc86bc9
UD
30950 * elf/dl-libc.c (dlerror_run): Pass back error code from
30951 dl_catch_error.
30952
c966526a
UD
30953 [BZ #13123]
30954 * elf/dl-load.c (lose): Free l_origin if it is valid.
30955
48882a1a
LD
30956 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30957 names.
30958 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30959 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30960 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30961 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30962 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30963 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30964
77a2a8b4
AZ
309652011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30966
30967 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30968 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30969 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30970 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30971 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30972 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30973 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30974 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30975 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30976 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30977
24f579d8
AM
309782011-08-15 Alan Modra <amodra@gmail.com>
30979
30980 [BZ #13092]
30981 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30982 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30983 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30984 ppc_mcount to static-only-routines.
30985 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30986 __mcount_internal.
30987 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30988 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30989
3d4837df
UD
309902011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30991
30992 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30993 for finite and infinity parameters.
30994
22700377
WS
309952011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30996
30997 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30998 and add nop instructions for throughput optimization.
30999 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31000
5025581e
WS
310012011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31002
31003 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31004 aligned copy for power7 with vector-scalar instructions.
31005 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31006
08a300c9
L
310072011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31008
31009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31010 AVX check.
31011
59178ef9
AS
310122011-09-07 Andreas Schwab <schwab@redhat.com>
31013
31014 [BZ #13144]
31015 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31016 last change.
31017
e38ba7ab
UD
310182011-09-07 Ulrich Drepper <drepper@gmail.com>
31019
31020 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31021 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31022 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31023 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31024 clock_gettime.
31025
d53a73ac
UD
310262011-09-06 Ulrich Drepper <drepper@gmail.com>
31027
fc8bffcc
UD
31028 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31029 Forgot to demangle the pointer.
31030
ceaa0c5d
UD
31031 * sysdeps/i386/sysdep.h: Define atom_text_section.
31032 * sysdeps/x86_64/sysdep.h: Likewise.
31033 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31034 section with atom_text_section.
31035 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31036 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31037 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31039 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31040
a77d3c17
UD
31041 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31042 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31043 already be defined. Change to take two parameters and don't assign
31044 result to variable. Adjust all users.
31045 Define INTERNAL_GETTIME if not already defined.
31046 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31047 call.
31048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31049 HAVE_CLOCK_GETTIME_VSYSCALL.
31050 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31051
d53a73ac
UD
31052 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31053 gettimeofday vsyscall, just use time.
31054
a8f84144
AS
310552011-09-06 Andreas Schwab <schwab@redhat.com>
31056
31057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31058 <errno.h>.
31059
ef606249
UD
310602011-09-06 Ulrich Drepper <drepper@gmail.com>
31061
31062 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31063 syscall on x86-64.
31064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31065 syscall.
31066 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31067 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31068 syscall if possible.
31069
6585cb60
UD
310702011-09-05 Ulrich Drepper <drepper@gmail.com>
31071
31072 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31073 e_ident. Don't pass to find_mapsXX.
31074 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31075
a5f524e4
LD
310762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31077
31078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31079 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31080 * sysdeps/x86_64/multiarch/strchr.S: Update.
31081 Check bit_slow_BSF bit.
31082 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31083 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31084 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31085
554881ef
UD
310862011-09-05 Ulrich Drepper <drepper@gmail.com>
31087
d96de963
UD
31088 [BZ #13134]
31089 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31090 before glibc 2.15.
31091 (tryshell): Define.
31092 (__spawni): Change last parameter to be flag. Test
31093 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31094 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31095 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31096 * posix/spawni.c: Likewise.
31097 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31098 * posix/spawnp.c: Likewise. Change normal version to use
31099 SPAWN_XFLAGS_USE_PATH.
31100 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31101 SPAWN_XFLAGS_TRY_SHELL.
31102
d48e5868
UD
31103 [BZ #13150]
31104 * posix/glob.h: Remove gcc 1.x support.
31105
554881ef
UD
31106 [BZ #13068]
31107 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31108
693fb948
LD
311092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31110
31111 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31112 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31113 strrchr-sse2-bsf
31114 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31115 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31116 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31118 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31119 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31120
1b48c537
UD
311212011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31122
49d42c37
UD
31123 * sysdeps/x86_64/wcscmp.S: New file.
31124
1b48c537
UD
31125 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31126 wcscmp-c wcscmp-sse2
31127 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31128 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31129 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31130 * wcsmbs/wcscmp.c: Allow renaming.
31131
15c95c5d
DM
311322011-09-05 David S. Miller <davem@davemloft.net>
31133
31134 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31135 stack slot, rather than the struct return pointer slot.
31136 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31137 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31139 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31140
2f0ad8f3
UD
311412011-09-05 Ulrich Drepper <drepper@gmail.com>
31142
d88ae418
UD
31143 * po/ja.po: Update from translation team.
31144
2f0ad8f3
UD
31145 [BZ #13144]
31146 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31147 kernel in 64-bit binaries.
31148
5f4318d1
DM
311492011-09-01 David S. Miller <davem@davemloft.net>
31150
31151 * elf/elf.h (HWCAP_SPARC_*): Move to..
31152 * sysdeps/sparc/sysdep.h: this new file and add new values.
31153 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31154 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31155 _DL_HWCAP_COUNT to 24.
31156 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31157 entries.
31158 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31159 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31160 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31162 instead of magic constants.
31163 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31164
3ba57516
DM
311652011-08-31 David S. Miller <davem@davemloft.net>
31166
31167 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31169 Reimplement to do errno handling inline.
31170 (SYSCALL_ERROR_HANDLER): New macro.
31171 (__SYSCALL_STRING): Do not do errno handling in asm.
31172 (__CLONE_SYSCALL_STRING): Delete.
31173 (__INTERNAL_SYSCALL_STRING): Delete.
31174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31175 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31176 (PSEUDO): Reimplement to do errno handling inline.
31177 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31178 (SYSCALL_ERROR_HANDLER): New macro.
31179 (__SYSCALL_STRING): Do not do errno handling in asm.
31180 (__CLONE_SYSCALL_STRING): Delete.
31181 (__INTERNAL_SYSCALL_STRING): Delete.
31182 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31183 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31184 i386.
31185 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31186 (inline_syscall*): Add 'err' argument.
31187 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31188 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31189 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31190 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31191
31192 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31193 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31194
2bc17433
AS
311952011-08-30 Andreas Schwab <schwab@redhat.com>
31196
31197 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31198
fbeb5f4d
JO
311992011-08-29 Jiri Olsa <jolsa@redhat.com>
31200
31201 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31202 directive.
31203
ad69cc26
DM
312042011-08-24 David S. Miller <davem@davemloft.net>
31205
31206 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31207
39dd69df
AS
312082011-08-24 Andreas Schwab <schwab@redhat.com>
31209
31210 * elf/Makefile: Add rules to build and run unload8 test.
31211 * elf/unload8.c: New file.
31212 * elf/unload8mod1.c: New file.
31213 * elf/unload8mod1x.c: New file.
31214 * elf/unload8mod2.c: New file.
31215 * elf/unload8mod3.c: New file.
31216
31217 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31218 it wasn't used.
31219
2c0b250a
DM
312202011-08-23 David S. Miller <davem@davemloft.net>
31221
31222 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31223 subtract stack bias.
31224 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31225 %sp not %fp in calculations.
31226 (_JMPBUF_UNWINDS_ADJ): Likewise.
31227
22044b48
DM
31228 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31229 (aio_suspend): Call it to force an exception region around the
31230 AIO_MISC_WAIT() invocation.
31231
2cae4995
AS
312322011-08-23 Andreas Schwab <schwab@redhat.com>
31233
31234 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31235 backslash.
31236
873a772e
AJ
312372011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31238
31239 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31240 protection macro.
31241 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31242 and <dl-machine.h>.
31243 (Elf64_FuncDesc): Remove.
31244
25ad0df1
DM
312452011-08-22 David S. Miller <davem@davemloft.net>
31246
31247 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31248 sigaltstack check, add missing cfi directives.
31249 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31250 missing cfi directives, and sigaltstack handling.
31251
e888bcbe
AS
312522011-08-16 Andreas Schwab <schwab@redhat.com>
31253
31254 [BZ #11724]
31255 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31256 object is seen twice.
31257 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31258
31259 * elf/Makefile (distribute): Add tst-initorder2.c.
31260 (tests): Add tst-initorder2.
31261 (modules-names): Add tst-initorder2a tst-initorder2b
31262 tst-initorder2c tst-initorder2d. Add rules to build them.
31263 ($(objpfx)tst-initorder2.out): New rule.
31264 * elf/tst-initorder2.c: New file.
31265 * elf/tst-initorder2.exp: New file.
31266
87162f46
AS
312672011-08-22 Andreas Schwab <schwab@redhat.com>
31268
70538b7f
AS
31269 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31270
f55ffe58
AS
31271 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31272 dependencies back to end of function.
31273
87162f46
AS
31274 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31275 $(elfobjdir)/ld.so.
31276
91b392a4
UD
312772011-08-21 Ulrich Drepper <drepper@gmail.com>
31278
31279 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31280 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31282 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31283 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31284 of __vdso_gettimeofday.
31285 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31286 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31287 attribute_hidden.
31288 (_libc_vdso_platform_setup): Remove initialization of
31289 __vdso_gettimeofday and __vdso_time.
31290
5c43483f
UD
312912011-08-20 Ulrich Drepper <drepper@gmail.com>
31292
775a77e7
UD
31293 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31294 and fgetc_unlocked.
31295 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31296 getc_unlocked.
89f447ed 31297
49c74ba9
UD
31298 * elf/dl-open.c (add_to_global): Report additions to the global scope
31299 for LD_DEBUG=scopes.
31300 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31301 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31302
5c43483f
UD
31303 [BZ #13114]
31304 * stdio-common/Makefile (tests): Add bug24.
31305 * stdio-common/bug24.c: New file.
31306
a101b025
AJ
313072011-08-19 Andreas Jaeger <aj@suse.de>
31308
31309 [BZ #13114]
31310 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31311 non-existant file when using close-on-exec mode.
31312
c88f1766
UD
313132011-08-20 Ulrich Drepper <drepper@gmail.com>
31314
0276a718
UD
31315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31316 the very first instruction.
31317
c88f1766
UD
31318 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31319 the CFI state in the end.
31320 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31321 inclusion of dl-trampoline.h.
31322 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31323
51ccffa0
AS
313242011-08-19 Andreas Schwab <schwab@redhat.com>
31325
94d7165f
AS
31326 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31327 expectations for long double.
31328
51ccffa0
AS
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31330 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31331
fd708658 313322011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31333
31334 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31335 artificual limit depends upon the system page size.
31336
44f0a71e
UD
313372011-08-17 Ulrich Drepper <drepper@gmail.com>
31338
31339 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31340 * resolv/Makefile: Define CFLAGS-libresolv.
31341
8de79a24
AS
313422011-08-17 Andreas Schwab <schwab@redhat.com>
31343
31344 * nss/makedb.c (compute_tables): Make variables used in nested
31345 function static.
31346
27724598
UD
313472011-08-17 Ulrich Drepper <drepper@gmail.com>
31348
c5305d88
UD
31349 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31350 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31351 if buffer was too small.
31352
27724598
UD
31353 * elf/pldd.c (main): Attach to all threads in the process.
31354 Rewrite /proc handling to use *at functions.
31355
076fe015
UD
313562011-08-16 Ulrich Drepper <drepper@gmail.com>
31357
174baab3
UD
31358 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31359 specifies first scope to show.
31360 (dl_open_worker): Update callers. Move printing scope of new
31361 object to before the relocation.
44f0a71e 31362 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31363 * sysdeps/generic/ldsodefs.h: Update declaration.
31364
076fe015
UD
31365 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31366 string for the scope number.
31367
a60df2c3
UD
313682011-08-14 Ulrich Drepper <drepper@gmail.com>
31369
31370 * nscd/servicescache.c (cache_addserv): Make sure written is always
31371 initialized.
31372
5e4287d1
RM
313732011-08-14 Roland McGrath <roland@hack.frob.com>
31374
85ae0589
RM
31375 * sysdeps/i386/i486/bits/atomic.h
31376 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31377 statement expression, so as to suppress "set but not used" warning.
31378 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31379
69f63097
RM
31380 * string/strncat.c (STRNCAT): Use prototype definition.
31381
675456ef
RM
31382 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31383 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31384 -Iprograms here.
31385 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31386 (localedef-modules): Add localedef.
31387 (locale-modules): Add locale.
31388
5e4287d1
RM
31389 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31390 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31391 to avoid a warning.
31392
9c96ff23
DM
313932011-08-14 David S. Miller <davem@davemloft.net>
31394
31395 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31396 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31397
f9ddf089
UD
313982011-08-13 Ulrich Drepper <drepper@gmail.com>
31399
44f0a71e 31400 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31401 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31402 * elf/rtld.c (dl_main): Set l_name of vDSO.
31403 Call _dl_show_scope when DL_DEBUG_SCOPES.
31404 (process_dl_debug): Recognize scopes flag and also set it for all.
31405 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31406 Declare _dl_show_scope.
31407
1dc27704
UD
31408 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31409 (do_dlopen): Pass caller_dlopen to dl_open.
31410 (__libc_dlopen_mode): Initialize caller_dlopen.
31411
f9ddf089
UD
31412 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31413 of libc. Make tolower call locale-independent. Optimize a bit by
31414 using isdigit instead of isalnum.
31415 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31416
9ac533d3
UD
314172011-08-12 Ulrich Drepper <drepper@gmail.com>
31418
31419 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31420 was a dependency or dynamically loaded.
31421
89edf2e9
UD
314222011-08-11 Ulrich Drepper <drepper@gmail.com>
31423
8e999d29
UD
31424 * intl/l10nflist.c: Allow architecture-specific pop function.
31425 * sysdeps/x86_64/l10nflist.c: New file.
31426
89edf2e9
UD
31427 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31428 classification.
31429
14d96785
AS
314302011-08-10 Andreas Schwab <schwab@redhat.com>
31431
31432 * include/dirent.h: Add libc_hidden_proto for scandirat and
31433 scandirat64. Don't declare __scandirat64.
31434 * dirent/scandirat.c: Add libc_hidden_def.
31435 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31436 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31437
6761ac04
DM
314382011-08-10 David S. Miller <davem@davemloft.net>
31439
31440 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31441 enum.
31442 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31443 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31444 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31445
c55fbd1e
UD
314462011-08-09 Ulrich Drepper <drepper@gmail.com>
31447
31448 * Versions.def [libc]: Add GLIBC_2.15.
31449 * dirent/Makefile (routines): Add scandirat and scandirat64.
31450 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31451 GLIBC_2.15.
31452 * dirent/dirent.h: Declare scandirat and scandirat64.
31453 * dirent/scandirat.c: New file.
31454 * dirent/scandirat64.c: New file.
31455 * sysdeps/wordsize-64/scandirat.c: New file.
31456 * sysdeps/wordsize-64/scandirat64.c: New file.
31457 * dirent/opendir.c: Define opendirat.
31458 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31459 using scandirat.
31460 * dirent/scandir64.c: Adjust for scandir.c change.
31461 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31462 __scandirat64, and __scandir_cancel_handler.
31463 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31464 additional parameter and use openat instead of open (outside of ld.so).
31465 Add new __opendir as wrapper around __opendirat.
31466 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31467 here without requiring old scandirat implementation.
31468
879165f2
UD
314692011-08-08 Ulrich Drepper <drepper@gmail.com>
31470
31471 * dirent/scandir.c (cancel_handler): Renamed to
31472 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31473 defined. Adjust users.
31474 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31475 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31476
cb7e923b
UD
314772011-08-04 Ulrich Drepper <drepper@gmail.com>
31478
16292edd
UD
31479 * string/test-string.h (IMPL): Use __STRING to expand name and then
31480 stringify it.
31481
cb7e923b
UD
31482 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31483 of cleanups.
31484
cff82933
LD
314852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31486
31487 * string/Makefile: Update.
31488 (strop-tests): Append strncat.
31489 * string/test-wcscmp.c: New file.
31490 New comprehensive test for wcscmp.
31491 * string/test-strcmp.c: Update.
31492 (WIDE): New define.
31493
9be9bfcc
AS
314942011-07-22 Andreas Schwab <schwab@redhat.com>
31495
31496 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31497 line.
31498
2e96f1c7
AS
314992011-07-26 Andreas Schwab <schwab@redhat.com>
31500
31501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31502 encoding to ACE if AI_IDN.
31503
85188888
JJ
315042011-08-01 Jakub Jelinek <jakub@redhat.com>
31505
31506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31507 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31508
5fa16e9b
LD
315092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31510
31511 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31512 Fix overflow bug in strncat.
31513 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31514
31515 * string/test-strncat.c: Update.
31516 Add new tests for checking overflow bugs.
31517
315182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31519
31520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31521 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31522 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31523 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31524 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31525 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31526 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31527 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31528 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31529
31530 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31531 (USE_AS_STRCAT): Define.
31532 Add strcat and strncat support.
31533 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31534
8c1a459f
AS
315352011-07-25 Andreas Schwab <schwab@redhat.com>
31536
31537 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31538 __n bigger than INT_MAX+1.
31539 (__strncmp_g): Likewise.
31540
bba33c28
UD
315412011-07-23 Ulrich Drepper <drepper@gmail.com>
31542
798be72d
UD
31543 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31544 * libio/stido.h: Likewise.
31545
8accd4dc
UD
31546 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31547 (AF_NFC): Define.
31548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31549 (AF_NFC): Define.
31550
cbff0d96
UD
31551 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31553 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31554 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31555 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31556
9191c04a
UD
31557 [BZ #13021]
31558 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31559 installed.
31560
bba33c28
UD
31561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31562 typo.
31563 (_dl_x86_64_save_sse): Likewise.
31564
90f139dd
UD
315652011-07-22 Ulrich Drepper <drepper@gmail.com>
31566
1aae088a
UD
31567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31568 OSXSAVE.
31569 (_dl_x86_64_save_sse): Likewise.
31570
8e2045f5
UD
31571 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31572
90f139dd
UD
31573 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31574
1d002f25
AS
315752011-07-21 Andreas Schwab <schwab@redhat.com>
31576
31577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31578 change.
31579 (_dl_x86_64_save_sse): Use correct AVX check.
31580
21137f89
UD
315812011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31582
31583 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31584 bug in strncpy/strncat.
31585 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31586
a65c0b7a
UD
315872011-07-21 Ulrich Drepper <drepper@gmail.com>
31588
31589 * string/tester.c (test_strcat): Add tests for different alignments
31590 of source and destination.
31591 (test_strncat): Likewise.
31592
6986b98a
UD
315932011-07-20 Ulrich Drepper <drepper@gmail.com>
31594
90bb2039
UD
31595 [BZ #12852]
31596 * posix/glob.c (glob): Check passed in values before using them in
31597 expressions to avoid some overflows.
31598 (glob_in_dir): Likewise.
31599
5644ef54
UD
31600 [BZ #13007]
31601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31602 check for AVX enablement so that we don't crash with old kernels and
31603 new hardware.
31604 * elf/tst-audit4.c: Add same checks here.
31605 * elf/tst-audit6.c: Likewise.
31606
31607 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31608
bfc9dc9b
AS
316092011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31610
31611 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31612
702e64bb
UD
316132011-07-20 Ulrich Drepper <drepper@gmail.com>
31614
31615 * po/cs.po: Update from translation team.
31616 * po/bg.po: Likewise.
31617
295e904f
MP
316182011-07-12 Marek Polacek <mpolacek@redhat.com>
31619
31620 * misc/sys/cdefs.h: Add support for const attribute.
31621 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31622 to gnu_dev_{major,minor,makedev} functions.
31623
3ff94596
MP
316242011-07-20 Marek Polacek <mpolacek@redhat.com>
31625
31626 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31627
28b59fca
AS
316282011-07-20 Andreas Schwab <schwab@redhat.com>
31629
31630 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31631 strlen results.
31632
19df733e
AK
316332011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31634
31635 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31636 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31637 register in order to avoid conflicts with the soft frame pointer
31638 being held in r11 when necessary.
31639 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31640 (INTERNAL_VSYSCALL_NCS): Likewise.
31641
c8835729
MP
316422011-07-14 Marek Polacek <mpolacek@redhat.com>
31643
31644 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31645 * elf/dl-fini.c (_dl_fini): Adjust caller.
31646 * elf/dl-close.c (_dl_close_worker): Likewise.
31647 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31648
b902330c
MP
316492011-07-15 Marek Polacek <mpolacek@redhat.com>
31650
8991e135
MP
31651 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31652 "aux_cache->nlibs < 0".
31653
b902330c
MP
31654 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31655 in the reload-count case.
31656
99710781
LD
316572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31658
31659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31660 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31661 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31662 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31663 * sysdeps/x86_64/multiarch/strcat.S: New file.
31664 * sysdeps/x86_64/multiarch/strncat.S: New file.
31665 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31666 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31667 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31668 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31670 (USE_AS_STRCAT): Define.
31671 Add strcat and strncat support.
31672 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31673 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31674 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31675 * string/strncat.c: Update.
31676 (USE_AS_STRNCAT): Define.
31677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31678 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31679 and i7.
31680 * sysdeps/x86_64/multiarch/init-arch.h
31681 (bit_Prefer_PMINUB_for_stringop): New.
31682 (index_Prefer_PMINUB_for_stringop): Likewise.
31683 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31684 bit_Prefer_PMINUB_for_stringop.
31685
7dc6bd90
UD
316862011-07-19 Ulrich Drepper <drepper@gmail.com>
31687
31688 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31689 buffer64.
31690 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31691 of casting of buffer.
31692 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31693 buffer32 and buffer64.
31694 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31695 writes instead of casting of buffer.
31696 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31697 buffer32.
31698 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31699 casting of buffer.
31700
e0e72284
AS
317012011-07-19 Andreas Schwab <schwab@redhat.com>
31702
31703 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31704
feb1eb0b
UD
317052011-07-19 Ulrich Drepper <drepper@gmail.com>
31706
31707 * nscd/nscd.c (termination_handler): Don't do anything for a database
31708 if it has not yet been initialized.
31709
298711ff
UD
317102011-07-18 Ulrich Drepper <drepper@gmail.com>
31711
31712 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31713
317142011-07-15 Marek Polacek <mpolacek@redhat.com>
31715
31716 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31717
f9d68389
UD
317182011-07-18 Ulrich Drepper <drepper@gmail.com>
31719
31720 * po/nl.po: Update from translation team.
31721 * po/sv.po: Likewise.
31722
db290cf5
RM
317232011-07-16 Roland McGrath <roland@hack.frob.com>
31724
31725 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31726 now disallowed by GCC.
5c550700 31727
fd5e21c7
RM
31728 * configure.in (use-default-link): Default to yes if a test -shared
31729 link meets our qualifications.
31730 * configure: Regenerated.
31731
5c550700
RM
31732 * config.make.in (output-format): New variable.
31733 * configure.in: Check for ld --print-output-format support.
31734 * configure: Regenerated.
31735 * Makerules ($(common-objpfx)format.lds)
31736 [$(output-format) != unknown]: Just use $(output-format),
31737 instead of the linker-script munging.
31738
9fa2c032
RM
317392011-07-14 Roland McGrath <roland@hack.frob.com>
31740
a6928d51
RM
31741 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31742 of $(common-objpfx)shlib.lds.
31743 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31744
661607b3
RM
31745 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31746 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31747
9fa2c032
RM
31748 * configure.in (-z relro check): Adjust test code to add a large
31749 writable data section after it.
31750 * configure: Regenerated.
31751
defe9061
RM
317522011-07-11 Roland McGrath <roland@hack.frob.com>
31753
31754 * configure.in (-z relro check): Fix test code to make the variable
31755 truly const.
31756 * configure: Regenerated.
31757
319b9ad4
UD
317582011-07-11 Ulrich Drepper <drepper@gmail.com>
31759
31760 * nscd/nscd.h (struct traced_file): Define.
31761 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31762 elements. Add traced_files.
31763 (inotify_fd): Declare.
31764 (register_traced_file): Declare.
31765 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31766 (inotify_fd): Export.
31767 (resolv_conf_descr): Remove.
31768 (nscd_init): Move inotify descriptor creation to main.
31769 Don't register files for notification here.
31770 (register_traced_file): New function.
31771 (invalidate_cache): Don't use reset_res to determine whether to call
31772 res_init, go through the list of registered files.
31773 (main_loop_poll): The inotify descriptors are now stored in the
31774 structures for the traced files.
31775 (main_loop_epoll): Likewise
31776 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31777 to __nss_disable_nscd.
31778 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31779 for a database anymore. Check the records for all the registered
31780 files instead.
31781 * nss/Makefile (libnss_files-routines): Add files-init.
31782 (libnss_db-routines): Add db-init.
31783 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31784 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31785 * nss/nss_db/db-init.c: New file.
31786 * nss/nss_files/files-init.c: New file.
31787 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31788 __nss_lookup_function.
31789 (__nss_lookup_function): Call nss_load_library.
31790 (nss_load_all_libraries): New function.
31791 (__nss_disable_nscd): Take parameter with callback function for files
31792 to register. Set is_nscd. Load all the DSOs for the NSS modules
31793 used for the cached services.
31794 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31795 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31796 options for features to all the files in nscd.
31797
31798 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31799
23bee3e8
RM
318002011-07-10 Roland McGrath <roland@hack.frob.com>
31801
31802 * csu/elf-init.c (__libc_csu_init): Comment typo.
31803
46a5b7f0
UD
318042011-07-09 Ulrich Drepper <drepper@gmail.com>
31805
31806 * po/pl.po: Update from translation team.
31807 * po/ja.po: Likewise.
31808 * po/ru.po: Likewise.
31809 * po/ko.po: Likewise.
31810 * po/fr.po: Likewise.
31811
d30cf5bb
RM
318122011-07-09 Roland McGrath <roland@hack.frob.com>
31813
113ddea4
RM
31814 * configure.in (.ctors/.dtors header and trailer check):
31815 Use an empirical test on a built program.
31816 * configure: Regenerated.
31817
574920b4
RM
31818 * configure.in (-z relro check): Use an empirical test on a built DSO.
31819 Detect, but do not require, on ia64.
31820 * configure: Regenerated.
31821
d30cf5bb
RM
31822 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31823 Update tests that use readelf to use $READELF instead.
31824 * configure: Regenerated.
31825
8538fdb3
UD
318262011-07-08 Ulrich Drepper <drepper@gmail.com>
31827
31828 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31829 if the result is not used.
31830
04d08991
AJ
318312011-07-05 Andreas Jaeger <aj@suse.de>
31832
31833 [BZ#9696]
31834 * stdlib/tst-strtod.c: Add testcase.
31835
de283087
AD
318362011-07-07 Ulrich Drepper <drepper@gmail.com>
31837
4e5f31c8 31838 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31839 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31840 The latter has a higher limit. Take additional parameter to pass to
31841 the new function.
31842 (__pathconf): Pass file to __statfs_link_max.
31843 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31844 __statfs_link_max.
31845 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31846 __statfs_link_max.
31847
de283087
AD
31848 [BZ #12868]
31849 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31850 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31851 Handle Lustre.
31852 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31853 (__statfs_filesize_max): Likewise.
31854 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31855
c75fa153
AJ
318562011-07-05 Andreas Jaeger <aj@suse.de>
31857
31858 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31859
1a544854
UD
318602011-07-06 Marek Polacek <mpolacek@redhat.com>
31861
31862 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31863 `status' variable.
31864 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31865 Likewise.
31866
6f0eec67
UD
318672011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31868
31869 * Makefile (strop-tests): Add strncat.
31870 * string/test-strncat.c: New file.
31871
aae30307
UD
318722011-06-30 Marek Polacek <mpolacek@redhat.com>
31873
31874 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31875
c0cfb5eb
UD
318762011-06-21 Andreas Jaeger <aj@suse.de>
31877
31878 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31879 Copy rule from iconvdata/Makefile.
31880
01636b21
UD
318812011-07-06 Ulrich Drepper <drepper@gmail.com>
31882
31883 [BZ #12922]
31884 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31885 but no long options are defined, just return 'W'.
31886
9895c8bc
UD
318872011-06-22 Marek Polacek <mpolacek@redhat.com>
31888
31889 [BZ #9696]
31890 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31891
5d4cf042
UD
318922011-07-06 Ulrich Drepper <drepper@gmail.com>
31893
31894 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31895 netgroups to read.
960e5535 31896 (innetgr): Likewise.
5d4cf042 31897
751eb97e
RM
318982011-07-05 Roland McGrath <roland@hack.frob.com>
31899
31900 * config.make.in (install_root): Default to $(DESTDIR).
31901
f15f1e45
UD
319022011-07-05 Ulrich Drepper <drepper@gmail.com>
31903
31904 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31905
4e34ac6a
RM
319062011-07-02 Roland McGrath <roland@hack.frob.com>
31907
5e9b6af4
RM
31908 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31909
84f9ea0f
RM
31910 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31911 containing directory rather than embedding absolute directory names.
31912
ea5ee9f7
RM
31913 * scripts/check-local-headers.sh: Rewritten using awk.
31914 Match by word, not by line. Print error messages for matches.
31915 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31916
1b74661a
RM
31917 * Makerules [shlib-lds-flags empty]:
31918 ($(common-objpfx)libc_pic.opts): New target.
31919 ($(common-objpfx)libc_pic.os.clean): New target.
31920 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31921
31922 * config.make.in (OBJCOPY): New variable.
31923 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31924 * configure: Regenerated.
31925
f781ef40
RM
31926 * config.make.in (use-default-link): New variable.
31927 * configure.in (use_default_link): Grok --with-default-link to set it.
31928 * configure: Regenerated.
31929 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31930 (shlib-lds, shlib-lds-flags): Define to empty.
31931
2d4fa81e
RM
31932 * Makerules (shlib-lds): New variable.
31933 (shlib-lds-flags): New variable.
31934 (build-shlib, build-moduile, build-module-asneeded): Use it.
31935 ($(common-objpfx)libc.so): Use $(shlib-lds).
31936 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31937 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31938
31fffa6b
RM
31939 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31940 DT_FLAGS/DT_FLAGS_1 with zero flags.
31941
4e34ac6a
RM
31942 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31943 linker script munging.
31944
fcfc776b
UD
319452011-07-02 Ulrich Drepper <drepper@gmail.com>
31946
31947 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31948 as 128-bit value.
31949 * crypt/sha512.c (sha512_process_block): Perform total addition using
31950 128-bit if possible.
31951 (__sha512_finish_ctx): Likewise.
31952 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31953 as 64-bit value.
31954 * crypt/sha256.c (SWAP64): Define.
31955 (sha256_process_block): Perform total addition using 64-bit if
31956 possible.
31957 (__sha256_finish_ctx): Likewise.
31958
99231d9a
UD
319592011-07-01 Ulrich Drepper <drepper@gmail.com>
31960
31961 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31962 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31963 * nscd/hstcache.c (cache_addhst): Likewise.
31964 * nscd/grpcache.c (cache_addgr): Likewise.
31965 * nscd/aicache.c (addhstaiX): Likewise
31966 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31967
445b4a53
TK
319682011-07-01 Thorsten Kukuk <kukuk@suse.de>
31969
31970 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31971 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31972 * nscd/hstcache.c (cache_addhst): Likewise.
31973 * nscd/grpcache.c (cache_addgr): Likewise.
31974 * nscd/aicache.c (addhstaiX): Likewise
31975
6d4d8e8e
AS
319762011-07-01 Andreas Schwab <schwab@redhat.com>
31977
31978 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31979 domain only when needed.
31980
89f654c5
AS
319812011-06-30 Andreas Schwab <schwab@redhat.com>
31982
31983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31984 is always restored.
31985
cf3b23ff
UD
319862011-06-29 Ulrich Drepper <drepper@gmail.com>
31987
31988 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31989 are re-adding the entry.
31990 * nscd/servicescache.c (cache_addserv): Likewise.
31991
751626f9
AJ
319922011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31993
31994 * sysdeps/generic/dl-irel.h: fix protection against multiple
31995 inclusions.
31996 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31997
9113ea1f
UD
319982011-06-28 Ulrich Drepper <drepper@gmail.com>
31999
5c0b8d90
UD
32000 [BZ #12935]
32001 * malloc/memusage.sh: Fix quoting in message.
32002 * debug/xtrace.sh: Likewise.
32003
9113ea1f
UD
32004 * configure.in: Remove support for --experimental-malloc option, make
32005 it the default.
32006 * config.make.in: Likewise.
32007 * malloc/Makefile: Likewise.
32008
a4172181
AS
320092011-06-27 Andreas Schwab <schwab@redhat.com>
32010
32011 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32012 two-byte characters.
32013
78a7eee7
RM
320142011-06-27 Roland McGrath <roland@hack.frob.com>
32015
62bede13
RM
32016 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32017 AC_CACHE_CHECK invocation.
32018 * configure: Regenerated.
32019
78a7eee7
RM
32020 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32021
5ce33a62
UD
320222011-06-27 Ulrich Drepper <drepper@gmail.com>
32023
034807a9
UD
32024 [BZ #12350]
32025 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32026 bit from old_res_options.
32027
4902da17
UD
32028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32029
5ce33a62
UD
32030 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32031 value type for setfct.
32032
c2344f56
L
320332011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32034
32035 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32036 __gettimeofday instead of gettimeofday.
32037
68468076
UD
320382011-06-26 Ulrich Drepper <drepper@gmail.com>
32039
32040 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32041
acb0d739
L
320422011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32043
32044 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32045
32046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32047 info.
32048
8912479f
L
320492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32050
32051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32052 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32053 strcpy-sse2-unaligned strncpy-sse2-unaligned
32054 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32055 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32056 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32057 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32058 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32059 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32060 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32061 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32062 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32063 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32064 (STRCPY): Support SSE2 and SSSE3 versions.
32065
d5495a11
UD
320662011-06-24 Ulrich Drepper <drepper@gmail.com>
32067
32068 [BZ #12874]
32069 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32070 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32071 kernels which artificially limit size of requests.
32072
0b1cbaae
L
320732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32074
32075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32076 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32077 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32078 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32079 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32080 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32081 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32082 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32083 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32085 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32086 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32087 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32088 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32089 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32091 Enable unaligned load optimization for Intel Core i3, i5 and i7
32092 processors.
32093 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32094 Define.
32095 (index_Fast_Unaligned_Load): Define.
32096 (HAS_FAST_UNALIGNED_LOAD): Define.
32097
07f494a0
MP
320982011-06-23 Marek Polacek <mpolacek@redhat.com>
32099
32100 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32101
fa3fc0fe
UD
321022011-06-22 Ulrich Drepper <drepper@gmail.com>
32103
32104 [BZ #12907]
32105 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32106 until it is clear that the information is realy needed.
32107 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32108
e12df166
AS
321092011-06-22 Andreas Schwab <schwab@redhat.com>
32110
32111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32112
852eb34d
UD
321132011-06-22 Ulrich Drepper <drepper@gmail.com>
32114
84e2a551
UD
32115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32116 /sys/devices/system/cpu/online if it is usable.
32117
852eb34d
UD
32118 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32119 reading the information from the /proc filesystem to once a second.
32120
6e502e19
UD
321212011-06-21 Andreas Jaeger <aj@suse.de>
32122
32123 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32124 NULL after inclusion of kernel headers.
32125
75d39ff2
UD
321262011-06-21 Ulrich Drepper <drepper@gmail.com>
32127
51f9aa6a
UD
32128 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32129 calls to internal_setent.
32130
c0244a9d
UD
32131 [BZ #12885]
32132 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32133 addresses using gethostbyname4_r ignore IPv4 addresses.
32134
c5e3c2ae
UD
32135 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32136 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32137
75d39ff2
UD
32138 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32139
42675c6f
DM
321402011-06-20 David S. Miller <davem@davemloft.net>
32141
32142 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32143 inclusions.
32144 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32145
32146 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32147 (elf_irel): Use it.
32148 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32149 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32150 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32151 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32152 * sysdeps/x86_64/dl-irel.h: Likewise.
32153
32154 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32155 * elf/dl-sym.c: Likewise.
32156
57912a71
UD
321572011-06-15 Ulrich Drepper <drepper@gmail.com>
32158
32159 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32160 need to dereference resplen2.
32161
ee22793d
AS
321622011-06-14 Andreas Schwab <schwab@redhat.com>
32163
32164 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32165
a9e836b0
UD
321662011-06-15 Ulrich Drepper <drepper@gmail.com>
32167
77fb9117
UD
32168 * Makeconfig: Define vardbdir and inst_vardbdir.
32169 * nss/Makefile: Add rules to install db-Makefile.
32170
40c1b22c
UD
32171 * nss/nss_db/db-XXX.c: Cleanup.
32172
9f2da732
UD
32173 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32174 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32175 GLIBC_PRIVATE.
32176 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32177 * nss/makedb.c: Implement -g option to specify that value strings
32178 are generated and should not be added to table iterated over for
32179 get*ent calls.
32180 * nss/nss_db/db-initgroups.c: New file.
32181
82e9a1f7
UD
32182 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32183 interface.
32184
c41af17e
UD
32185 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32186 (internal_getgrouplist): Adjust to name change.
32187 Update use_initgroups_entry if this is not the first call.
32188 * nss/databases.def: Add initgroups entry.
32189
a9e836b0
UD
32190 * nss/makedb.c (compute_tables): Check result of multiple hash table
32191 sizes to minimize maximum chain length.
32192
2666d441
UD
321932011-06-14 Ulrich Drepper <drepper@gmail.com>
32194
32195 * Versions.def: Add entry for libnss_db.
32196 * shlib-versions: Likewise.
32197 * nss/Makefile: Add rules to build libnss_db.
32198 * nss/Versions: Add libnss_db information. Organize libnss_files
32199 entries better.
32200 * nss/db-Makefile: Add gshadow support. Change rules for the new
32201 makedb progra. Some minor improvements to generate smaller files.
32202 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32203 here from...
32204 * nss/makedb.c: ...here.
32205 Improve database format to be smaller and require less memory at
32206 runtime.
32207 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32208 db anymore.
32209 * nss/nss_db/db-netgrp.c: Likewise.
32210 * nss/nss_db/db-open.c: Likewise.
32211 * nss/nss_files/flies-XXX.x: Adjust comments.
32212 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32213 * nss/nss_files/files-grp.c: Likewise.
32214 * nss/nss_files/files-hosts.c: Likewise.
32215 * nss/nss_files/files-network.c: Likewise.
32216 * nss/nss_files/files-proto.c: Likewise.
32217 * nss/nss_files/files-pwd.c: Likewise.
32218 * nss/nss_files/files-rpc.c: Likewise.
32219 * nss/nss_files/files-service.c: Likewise.
32220 * nss/nss_files/files-sgrp.c: Likewise.
32221 * nss/nss_files/files-spwd.c: Likewise.
32222 * nss/nss_db/db-alias.c: Removed.
32223 * nss/nss_db/dummy-db.h: Removed.
32224
9ee76b5a
UD
322252011-06-02 Ulrich Drepper <drepper@gmail.com>
32226
32227 * nss/makedb.c: Rewritten to not use database library.
32228 * nss/Makefile: Update to build new makedb program.
32229
c71ca1f8
AJ
322302011-06-14 Andreas Jaeger <aj@suse.de>
32231
32232 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32233 memset declaration.
32234
3154bfb8
UD
322352011-06-10 Andreas Schwab <schwab@redhat.com>
32236
32237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32238 tmpbuf.
32239
b350afab
RM
322402011-06-10 Roland McGrath <roland@hack.frob.com>
32241
decd4e50
RM
32242 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32243 * elf/Makefile ($(objpfx)ld.so): Likewise.
32244
5615eaf2
RM
32245 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32246 Don't list ld.so twice in dependencies.
32247
32248 * posix/bug-regex31.c: Include <stdlib.h>.
32249
32250 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32251
32252 * nis/nss_compat/compat-spwd.c
32253 (getspent_next_nss_netgr): Remove unused variable.
32254 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32255
32256 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32257 nonmembers" output to use the right array.
32258
32259 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32260
32261 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32262
32263 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32264 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32265 * catgets/gencat.c (read_input_file): Likewise.
32266 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32267
32268 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32269 variable definition inside #if's controlling its use.
32270
32271 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32272
32273 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32274
32275 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32276
32277 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32278 unreachable code.
32279
32280 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32281
b68e08db
RM
32282 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32283 * configure: Regenerated.
32284
b350afab
RM
32285 * Makerules: Revert last change.
32286 * elf/Makefile: Likewise.
32287
28368601
RM
322882011-06-09 Roland McGrath <roland@hack.frob.com>
32289
32290 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32291 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32292 (reloc-link): Likewise.
32293
11988f8f
UD
322942011-06-09 Ulrich Drepper <drepper@gmail.com>
32295
32296 * elf/Makefile: Add rules to build pldd.
32297 * elf/pldd.c: New file.
32298 * elf/pldd-xx.c: New file.
32299
e80fab37
UD
323002011-06-07 Ulrich Drepper <drepper@gmail.com>
32301
32302 * version.h: Update for 2.15 development version.
32303
9b849836
DM
323042011-06-07 David S. Miller <davem@davemloft.net>
32305
32306 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32307 ifuncs.
32308 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32309 elf_machine_lazy_rel): Likewise.
32310 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32311 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32312 elf_machine_lazy_rel): Likewise.
32313 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32314 dl_hwcap via passed in argument.
32315 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32316 Likewise.
32317
5a31b283
AK
323182011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32319
32320 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32321
069e52f8
RM
323222011-06-06 Roland McGrath <roland@hack.frob.com>
32323
32324 [BZ #12849]
32325 * manual/fdl-1.1.texi: New file, verbatim from:
32326 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32327 * manual/lgpl-2.1.texi: New file, verbatim from:
32328 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32329 * manual/Makefile (licenses): New variable, list those new file names.
32330 (texis): Use it.
32331 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32332
32333 * manual/fdl.texi: File removed.
32334 * manual/lesser.texi: File removed.
32335 * manual/libc.texinfo (Copying, Documentation License):
32336 Use new @include file names, put @appendix directive before @include.
32337
f16846a5
JJ
323382011-06-04 Jakub Jelinek <jakub@redhat.com>
32339
32340 [BZ #12841]
32341 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32342 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32343 (mq_open): Add __NTH.
32344
3d29045b
L
323452011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32346
32347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32348 Assume Intel Core i3/i5/i7 processor if AVX is available.
32349
8c297311
UD
323502011-05-31 Ulrich Drepper <drepper@gmail.com>
32351
32352 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32353 typo.
32354
c8fc0c91
UD
323552011-05-31 Andreas Schwab <schwab@redhat.com>
32356
32357 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32358 memory. Use alloca_account. Fix memory leak when retrying.
32359
5b27a807
UD
323602011-05-31 Ulrich Drepper <drepper@gmail.com>
32361
356f8bc6
UD
32362 * version.h (RELEASE): Bump for 2.14 release.
32363 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32364
5b27a807
UD
32365 * config.make.in (RANLIB): Remove entry.
32366
01f16ab0
UD
323672011-05-30 Ulrich Drepper <drepper@gmail.com>
32368
41fce8bd
UD
32369 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32370 (libc.pot): Work around missing support for .ksh extension in xgettext.
32371
4769ae77
UD
32372 [BZ #12684]
32373 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32374 if both request failed.
32375 (send_dg): In case of server errors clear resplen or *resplen2.
32376
6b1e7d19
UD
32377 [BZ #12454]
32378 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32379 when there are multiple maps.
32380 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32381 (_dl_fini): Remove test here.
32382
01f16ab0
UD
32383 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32384
b1ebd700
UD
323852011-05-29 Ulrich Drepper <drepper@gmail.com>
32386
7ae22829
UD
32387 [BZ #12350]
32388 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32389 bit from old_res_options.
32390 (gaih_inet): Likewise.
32391
553149f6 32392 [BZ #11099]
18a84741 32393 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32394 as signed.
32395
652ffab1
UD
32396 * resolv/res_init.c (res_setoptions): Make the code more compact.
32397
16985fd0
UD
32398 [BZ #11558]
32399 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32400 set RES_USEVC.
32401
0464f746
UD
32402 [BZ #11634]
32403 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32404
7d17596c
UD
32405 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32406
cf6bbbd7
UD
32407 [BZ #11781]
32408 * malloc/malloc.h: Declare malloc hook variables as volatile.
32409
13f1ab36
UD
32410 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32411 in last patch.
32412
b1ebd700
UD
32413 [BZ #11799]
32414 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32415 raise in the comment.
80e2212d
UD
32416 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32417 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32418 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32419
ce67228d
UD
324202011-05-28 Ulrich Drepper <drepper@gmail.com>
32421
8887a920
UD
32422 [BZ #12811]
32423 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32424 grow the buffers more if it already has to be sufficient.
32425 (build_wcs_upper_buffer): Likewise.
32426 * posix/regexec.c (check_matching): Likewise.
32427 (clean_state_log_if_needed): Likewise.
32428 (extend_buffers): Don't enlarge buffers beyond size of the input
32429 buffer.
32430 Patches mostly by Emil Wojak <emil@wojak.eu>.
32431 * posix/bug-regex32.c: New file.
32432 * posix/Makefile (tests): Add bug-regex32.
32433
4f031072
UD
32434 * locale/findlocale.c (_nl_find_locale): Return right away if
32435 _nl_explode_name failed.
32436 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32437
d0478f0c
UD
32438 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32439
de81b246
UD
32440 * debug/xtrace.sh: Unify messages.
32441 * malloc/memusage.sh: Likewise.
32442
c738465a
UD
32443 [BZ #12813]
32444 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32445 time symbol from vDSO. Substitute with vsyscall if not available.
32446 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32447 __vdso_time.
32448
f1f929d7
UD
32449 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32450 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32451 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32452 Add sendmmsg and internal_sendmmsg.
32453 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32454 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32455 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32456
ce67228d
UD
32457 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32458 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32459 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32460
e57420c6
UD
324612011-05-27 Ulrich Drepper <drepper@gmail.com>
32462
a8509ca5
UD
32463 [BZ #12813]
32464 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32465 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32466 available.
32467 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32468 __vdso_getcpu.
32469
e57420c6
UD
32470 [BZ #12814]
32471 * iconvdata/Makefile (tests): Add bug-iconv9.
32472 * iconvdata/bug-iconv9.c: New file.
32473
4d07db15
AS
324742011-05-27 Andreas Schwab <schwab@redhat.com>
32475
32476 [BZ #12814]
32477 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32478
ea486f69
JJ
324792011-05-25 Jakub Jelinek <jakub@redhat.com>
32480
32481 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32482 (struct user_regs_struct): Change intcs field back to cs.
32483
6f038433
UD
324842011-05-25 Ulrich Drepper <drepper@gmail.com>
32485
32486 * po/ja.po: Update from translation team.
32487
67f86a25
UD
324882011-05-23 Ulrich Drepper <drepper@gmail.com>
32489
32490 [BZ #12795]
32491 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32492 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32493
def7fbd6
AS
324942011-05-20 Andreas Schwab <schwab@redhat.com>
32495
32496 * stdlib/longlong.h: Update from GCC.
32497
f50ef8f1
AS
324982011-05-23 Andreas Schwab <schwab@redhat.com>
32499
32500 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32501 parameter name.
32502 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32503 Add parameter name.
32504 (__sysconf): Pass it down.
32505
de7ce8f1
UD
325062011-05-22 Ulrich Drepper <drepper@gmail.com>
32507
f2962a71
UD
32508 [BZ #12671]
32509 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32510 some situations.
32511 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32512 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32513 add in in __libc_use_alloca calls. Adjust callers.
32514 (glob): Use malloc in some situations.
32515
de7ce8f1
UD
32516 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32517 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32518 pltexit.
32519
aec84f53
UD
325202011-05-21 Ulrich Drepper <drepper@gmail.com>
32521
05bb4a68
UD
32522 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32523 and CLOCK_BOOTTIME_ALARM.
32524
7ea72f99
UD
32525 [BZ #12782]
32526 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32527 is returned.
32528
7e4afad5
UD
32529 * string/_strerror.c (__strerror_r): Print negative errors as signed
32530 numbers.
32531
8e211fec
UD
32532 [BZ #12777]
32533 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32534 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32535 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32536
f7d82dc9
UD
32537 * configure.in: Fix typo in redirection and correct removal of test
32538 files in two cases.
32539
cc9e536d
UD
32540 [BZ #12788]
32541 * locale/setlocale.c (new_composite_name): Fix test to check for
32542 identical name of all categories.
32543
aec84f53
UD
32544 [BZ #12792]
32545 * libio/filedoalloc.c (local_isatty): New function.
32546 (_IO_file_doallocate): Use local_isatty.
32547 * stdio-common/perror.c (perror): In case a new stream is used
32548 forward the stream error.
32549 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32550 error flag.
32551
78e64fdc
RT
325522011-05-20 Ulrich Drepper <drepper@gmail.com>
32553
34a9094f
UD
32554 [BZ #11869]
32555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32556 alloca.
32557 * include/alloca.h (extend_alloca_account): Define.
32558
78e64fdc
RT
32559 [BZ #11857]
32560 * posix/regex.h: Fix comments with documentation of user-accessible
32561 fields after compilation and describe correct free'ing of pattern
32562 after re_compile_pattern.
32563 Patch by Reuben Thomas <rrt@sc3d.org>.
32564
457bddfc
RA
325652011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32566
32567 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32568 and -mno-altivec to prevent the compiler from using Altivec and/or
32569 VSX instructions when the corresponding registers are not available.
32570
a4527b51
AS
325712011-05-19 Andreas Schwab <schwab@redhat.com>
32572
32573 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32574
ed690b2f
UD
325752011-05-19 Ulrich Drepper <drepper@gmail.com>
32576
32577 * libio/freopen.c (freopen): Use __dup2, not dup2.
32578 * libio/freopen64.c (freopen64): Likewise.
32579
8db73634
L
325802011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32581
32582 [BZ #12775]
32583 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32584 * math/Makefile (tests): Add test-powl.
32585 (CFLAGS-test-powl.c): Define.
32586 * math/test-powl.c: New file.
32587
0a197a9d
L
325882011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32589
32590 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32591
ee30c380
UD
325922011-05-17 Ulrich Drepper <drepper@gmail.com>
32593
32594 [BZ #11837]
32595 * iconvdata/gb18030.c: Update to GB18020-2005.
32596
6ce75379
UD
325972011-05-16 Ulrich Drepper <drepper@gmail.com>
32598
a4b89fd8
AR
32599 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32600 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32601 Patch by Aharon Robbins <arnold@skeeve.com>.
32602
ea389b12
UD
32603 [BZ #11892]
32604 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32605 on the stack.
32606
68a3f91f
UD
32607 [BZ #11895]
32608 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32609 through underflows.
32610
15cc7dd1
UD
32611 [BZ #12766]
32612 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32613 point to strings before performing equality test for error_one_per_line
32614 mode.
32615
f3799213
UD
32616 [BZ #11697]
32617 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32618
d79a9c94
UD
32619 [BZ #11820]
32620 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32621 (struct user_fpregs_struct): Avoid __uint*_t types.
32622
56e5eb46
UD
32623 [BZ #6420]
32624 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32625 symbol info. Use it instead of calling _dl_addr locally.
32626 (lock_and_info): New function.
32627 (tr_freehook): Call lock_and_info and pass symbol info as additional
32628 parameter to tr_where.
32629 (tr_mallochook): Likewise.
32630 (tr_reallochook): Likewise.
32631 (tr_memalignhook): Likewise.
32632
6ce75379
UD
32633 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32634 used and couldn't be at all thread-safe.
32635
f8a3b5bf
UD
326362011-05-15 Ulrich Drepper <drepper@gmail.com>
32637
94b7cc37
UD
32638 * libio/freopen.c (freopen): Don't close old file descriptor
32639 before the new one is opened. Instead dup the new file descriptor
32640 to the old one after the new stream is created.
32641 * libio/freopen64.c (freopen64): Likewise.
32642 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32643 * libio/fileops.c (_IO_new_file_close_it): Handle new
32644 _IO_FLAGS2_NOCLOSE flag.
32645 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32646 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32647 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32648 _IO_FLAGS2_NOCLOSE flag.
32649 * include/unistd.h: Add hidden_proto for dup3.
32650 Define __have_dup3.
32651 * io/dup3.c: Define hidden symbol.
32652 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32653
bd25564e
UD
32654 [BZ #7101]
32655 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32656 when an incomplete long option is used.
32657 * posix/tst-getopt_long1.c: New file.
32658 * posix/Makefile (tests): Add tst-getopt_long1.
32659
c84cfef4
UD
32660 [BZ #10138]
32661 * scripts/config.guess: Update from autoconf-2.68.
32662 * scripts/config.sub: Likewise.
32663
3b85df27
UD
32664 [BZ #10157]
32665 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32666 tests into ...
32667 (has_cpuclock): ...this. New function.
32668 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32669 macro here based on has_cpuclock code.
32670
15a856b1
UD
32671 [BZ #10149]
32672 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32673 First byte (not low byte) is now always NUL.
32674 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32675
05f399e6
UD
32676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32677 Use non-cancelable interfaces.
32678
10a52685 32679 [BZ #9809]
94ecc67d
UD
32680 * locale/iso-639.def: Add entry for Sorani.
32681
f8a3b5bf
UD
32682 [BZ #11901]
32683 * include/stdlib.h: Move include protection to the right place.
32684 Define abort_msg_s. Declare __abort_msg with it.
32685 * stdlib/abort.c (__abort_msg): Adjust type.
32686 * assert/assert.c (__assert_fail_base): New function. Majority
32687 of code from __assert_fail. Allocate memory for __abort_msg with
32688 mmap.
32689 (__assert_fail): Now call __assert_fail_base.
32690 * assert/assert-perr.c: Remove bulk of implementation. Use
32691 __assert_fail_base.
32692 * include/assert.hL Declare __assert_fail_base.
32693 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32694 mmap.
32695 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32696
1af4e298
UD
326972011-05-14 Ulrich Drepper <drepper@gmail.com>
32698
f8a3b5bf 32699 [BZ #11952]
d26dfc60
MG
32700 [BZ #12453]
32701 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32702 until all modules are registered in the DTV.
32703 * elf/Makefile: Add rules to build and run tst-tls19.
32704 * elf/tst-tls19.c: New file.
32705 * elf/tst-tls19mod1.c: New file.
32706 * elf/tst-tls19mod2.c: New file.
32707 * elf/tst-tls19mod3.c: New file.
32708 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32709
2fc54d6f
UD
32710 [BZ #12083]
32711 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32712 correctly.
32713
98d76b46
UD
32714 [BZ #12601]
32715 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32716 two-byte sequence errors.
32717 * iconvdata/Makefile (tests): Add bug-iconv8.
32718 * iconvdata/bug-iconv8.c: New file.
32719
da3c19ef
UD
32720 [BZ #12626]
32721 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32722 buf2 definition.
32723
ca408c15
UD
32724 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32725
d6f67f7d
UD
32726 [BZ #12432]
32727 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32728 (dummy_getcfa): New function.
32729 (init): Get _Unwind_GetCFA address, use dummy if not found.
32730 (backtrace_helper): In recursion check, also check whether CFA changes.
32731 (__backtrace): Completely initialize arg.
32732
1af4e298 32733 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32734 storing incomplete byte sequence in state object. Avoid testing for
32735 guaranteed too small input if we know there is enough data available.
1af4e298 32736
da62f81b
AS
327372011-05-11 Andreas Schwab <schwab@redhat.com>
32738
32739 * Makeconfig (+link-pie): Indent.
32740 * Rules (binaries-pie): Define if $(have-fpie) and
32741 $(build-shared).
32742 (binaries-shared): Also filter out $(binaries-pie).
32743 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32744 * nscd/Makefile (others-pie): Add nscd.
32745 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32746 ($(objpfx)nscd): Remove command override.
32747 * login/Makefile (others-pie): Add pt_chown.
32748 ($(objpfx)pt_chown): Remove command override.
32749 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32750 remove command overrides.
32751
fcabc0f8
UD
327522011-05-13 Ulrich Drepper <drepper@gmail.com>
32753
20030ae6
UD
32754 * libio/tst_putwc.c: Fix error messages.
32755
fcabc0f8
UD
32756 [BZ #12724]
32757 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32758 currently writing and seek to current position when not.
32759 * libio/Makefile (tests): Add bug-fclose1.
32760 * libio/bug-fclose1.c: New file.
32761
320a5dc0
PB
327622011-05-12 Ulrich Drepper <drepper@gmail.com>
32763
32764 [BZ #12511]
32765 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32766 don't set DF_1_NODELETE here.
32767 (do_lookup_x): When entering new entry test for copy relocation
32768 and if necessary set DF_1_NODELETE flag.
32769 * elf/tst-unique4.cc: New file.
32770 * elf/tst-unique4.h: New file.
32771 * elf/tst-unique4lib.cc: New file.
32772 * elf/Makefile: Add rules to build and run tst-unique4.
32773 Patch by Piotr Bury <pbury@goahead.com>.
32774
22836f52
UD
327752011-05-11 Ulrich Drepper <drepper@gmail.com>
32776
f574184a
UD
32777 [BZ #12052]
32778 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32779
e1fb097f
UD
32780 [BZ #12625]
32781 * misc/mntent_r.c (addmntent): Flush the stream after the output
32782
22836f52
UD
32783 [BZ #12393]
32784 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32785 (is_trusted_path_normalize): Skip initial colon. Append slash
32786 to empty buffer. Duplicate is_trusted_path code but allow
32787 constructed patch to be prefix.
32788 (is_dst): Allow $ORIGIN followed by /.
32789 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32790 Correct testing of result of is_trusted_path_normalize
32791 (decompose_rpath): Fix warning.
32792
7b3b0b2a
UD
327932011-05-10 Ulrich Drepper <drepper@gmail.com>
32794
32795 [BZ #11257]
32796 * grp/initgroups.c (internal_getgrouplist): When we found the service
32797 list through the initgroups entry in nsswitch.conf do not always
32798 continue on a successful lookup. Don't always use the
eac80ce2 32799 __nss_group_database value if it is set.
7b3b0b2a
UD
32800 * nss/nsswitch.conf (initgroups): Change action for successful db
32801 lookup to continue for compatibility.
32802
2a81eaa5
UD
328032011-05-09 Ulrich Drepper <drepper@gmail.com>
32804
be97a69e
UD
32805 [BZ #11532]
32806 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32807 and CP774 modules.
32808 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32809 and CP774 modules.
32810 * iconvdata/tst-tables.sh: Likewise.
32811 * iconvdata/cp770.c: New file.
32812 * iconvdata/cp771.c: New file.
32813 * iconvdata/cp772.c: New file.
32814 * iconvdata/cp773.c: New file.
32815 * iconvdata/cp774.c: New file.
32816 * iconvdata/testdata/CP770: New file.
32817 * iconvdata/testdata/CP770..UTF8: New file.
32818 * iconvdata/testdata/CP771: New file.
32819 * iconvdata/testdata/CP771..UTF8: New file.
32820 * iconvdata/testdata/CP772: New file.
32821 * iconvdata/testdata/CP772..UTF8: New file.
32822 * iconvdata/testdata/CP773: New file.
32823 * iconvdata/testdata/CP773..UTF8: New file.
32824 * iconvdata/testdata/CP774: New file.
32825 * iconvdata/testdata/CP774..UTF8: New file.
32826
32827 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32828 END CHARMAP line.
32829 * iconvdata/gen-8bit-gap.sh: Likewise.
32830 * iconvdata/gen-8bit.sh: Likewise.
32831
c1e9e399
UD
32832 * locale/iso-639.def: Add ary entry.
32833
24c55fb3 32834 [BZ #11258]
96b4b1b0
UD
32835 * locale/C-translit.h.in: Add U20A1 transliteration.
32836
bdc2f971
KB
32837 [BZ #12178]
32838 * locale/iso-639.def: Add wae entry.
32839 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32840
2952b117
UD
32841 [BZ #12545]
32842 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32843 for n.
32844
2a81eaa5
UD
32845 [BZ #12711]
32846 * locale/C-translit.h.in: Add entry for U20B9.
32847 Patch by pravin.d.s@gmail.com.
32848
28377d1b
UD
328492011-05-08 Ulrich Drepper <drepper@gmail.com>
32850
7fb90fb8
UD
32851 [BZ #12713]
32852 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32853 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32854 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32855 in rtld. Use *stat64.
7fb90fb8 32856 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32857 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32858 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32859 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32860 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32861 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32862 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32863 __fstatat64 macros.
7fb90fb8
UD
32864 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32865 * dirent/rewinddir.c: Add libc_hidden_def.
32866 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32867 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32868
28377d1b
UD
32869 * include/dirent.h (__alloc_dir): Add flags parameter.
32870 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32871 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32872 __alloc_dir.
32873 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32874 from fdopendir if O_CLOEXEC is already set.
32875
66bdbaa4
AM
328762011-03-15 Alan Modra <amodra@gmail.com>
32877
32878 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32879 l_tls_firstbyte_offset non-zero. Save padding offset in
32880 l_tls_firstbyte_offset for later use.
32881 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32882 freeing static tls block.
32883
95721191
JN
328842011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32885
32886 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32887 where #ifdef was intended. The intent is to prevent ARG_MAX from
32888 being defined by the kernel headers.
32889
f87dfb1f
UD
328902011-05-07 Ulrich Drepper <drepper@gmail.com>
32891
32892 [BZ #12734]
32893 * resolv/resolv.h: Define RES_NOTLDQUERY.
32894 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32895 no-tld-query and set RES_NOTLDQUERY.
32896 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32897 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32898 modern BIND to search name as TLD unless forbidden.
32899
47c3cd7a
UD
329002011-05-07 Petr Baudis <pasky@suse.cz>
32901 Ulrich Drepper <drepper@gmail.com>
32902
32903 [BZ #12393]
32904 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32905 (is_trusted_path): ...to here.
c1e9ea35 32906 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32907 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32908 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32909
8a35c912
PP
329102011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32911
32912 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32913 __BEGIN/__END_DECLS.
32914
acd41f47
UD
329152011-05-06 Ulrich Drepper <drepper@gmail.com>
32916
32917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32918 NSS_STATUS_NOTFOUND if no record was found.
32919
597df647
AS
329202011-05-05 Andreas Schwab <schwab@redhat.com>
32921
32922 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32923 (headers-not-in-tirpc): Remove rpc/netdb.h
32924 * resolv/netdb.h: Revert last change.
32925
b9af1301
PP
329262011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32927
32928 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32929 circular dependency between libgcc.a and libc.a.
32930
4e34d5f5
AS
329312011-05-05 Andreas Schwab <schwab@redhat.com>
32932
32933 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32934 * nis/Makefile: Don't install rpcsvc/*.
32935 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32936 instead of <rpc/types.h>.
32937 (MAXHOSTNAMELEN): Define.
32938
00ee369c
AS
329392011-05-03 Andreas Schwab <schwab@redhat.com>
32940
32941 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32942
0b592a30
MB
329432011-04-28 Maciej Babinski <mbabinski@google.com>
32944
32945 [BZ #12714]
32946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32947 gethostbyname4_r when IPv6 results are possible.
32948
6e04cbbe
UD
329492011-05-02 Ulrich Drepper <drepper@gmail.com>
32950
32951 [BZ #12723]
32952 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32953 _PC_PIPE_BUF handling.
32954
e4ecafe0
BH
329552011-04-30 Bruno Haible <bruno@clisp.org>
32956
32957 [BZ #12717]
32958 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32959 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32960 to 'int'.
32961 * inet/getnameinfo.c (getnameinfo): Likewise.
32962
125ee683
UD
329632011-04-29 Ulrich Drepper <drepper@gmail.com>
32964
32965 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32966 to groups setting in database lookup.
32967 * nss/nsswitch.conf: Add initgroups entry.
32968
b722481a
EB
329692011-04-22 Ulrich Drepper <drepper@gmail.com>
32970
32971 [BZ #12685]
32972 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32973 mode string.
32974 Patch by Eric Blake <eblake@redhat.com>.
32975
4df46dbd
L
329762011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32977
32978 * sunrpc/Makefile (need-export-routines): Add svc_run.
32979 (routines): Remove svc_run.
32980 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32981 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32982 * sunrpc/svc_run.c (svc_run): Likewise.
32983 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32984
e84142d2
UD
329852011-04-21 Ulrich Drepper <drepper@gmail.com>
32986
32987 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32988 problem in reallocation in last patch.
32989
877175d8
UD
329902011-04-20 Ulrich Drepper <drepper@gmail.com>
32991
32992 * sunrpc/Makefile: Move inclusion of Rules.
32993
ab8eed78
UD
329942011-04-19 Ulrich Drepper <drepper@gmail.com>
32995
32996 * nss/nss_files/files-initgroups.c: New file.
32997 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32998 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32999 _nss_files_initgroups_dyn.
33000
e3d8f584
RS
330012011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33002
33003 * elf/elf.h (R_ARM_IRELATIVE): Define.
33004
af190f45
UD
330052011-04-19 Ulrich Drepper <drepper@gmail.com>
33006
33007 * po/ru.po: Update from translation team.
33008
53cf59ef
UD
330092011-04-17 Ulrich Drepper <drepper@gmail.com>
33010
33011 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33012 dependencies.
33013
4c559bcd
MF
330142011-02-06 Mike Frysinger <vapier@gentoo.org>
33015
33016 [BZ #12653]
33017 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33018 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33019 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33020 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33021 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33022
4420675c
AS
330232011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33024
33025 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33026 differing bytes.
33027 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33028 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33029 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33030
75ea32ab
UD
330312011-04-17 Ulrich Drepper <drepper@gmail.com>
33032
33033 [BZ #12420]
33034 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33035 storing it.
33036 * stdlib/bug-getcontext.c: New file.
33037 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33038
27390476
AK
330392011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33040
33041 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33042 instructions into .machine "z9-109".
33043 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33044 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33045
10442705
AK
330462011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33047
33048 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33049 between environment variables and auxiliary vector.
33050
7b57bfe5
UD
330512011-04-16 Ulrich Drepper <drepper@gmail.com>
33052
33053 * Makefile: Add rules to build linkobj/libc.so.
33054 * include/libc-symbols.h: Define libc_hidden_nolink.
33055 * include/rpc/auth.h: Mark functions which are to be hidden.
33056 * include/rpc/auth_des.h: Likewise.
33057 * include/rpc/auth_unix.h: Likewise.
33058 * include/rpc/clnt.h: Likewise.
33059 * include/rpc/des_crypt.h: Likewise.
33060 * include/rpc/key_prot.h: Likewise.
33061 * include/rpc/pmap_clnt.h: Likewise.
33062 * include/rpc/pmap_prot.h: Likewise.
33063 * include/rpc/pmap_rmt.h: Likewise.
33064 * include/rpc/rpc_msg.h: Likewise.
33065 * include/rpc/svc.h: Likewise.
33066 * include/rpc/svc_auth.h: Likewise.
33067 * include/rpc/xdr.h: Likewise.
33068 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33069 * nss/Makefile: Likewise.
33070 * sunrpc/Makefile: Don't install headers. Build library with normal
33071 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33072 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33073 for the compat linking library. Remove use of INTDEF/INTUSE.
33074 * sunrpc/auth_none.c: Likewise.
33075 * sunrpc/auth_unix.c: Likewise.
33076 * sunrpc/authdes_prot.c: Likewise.
33077 * sunrpc/authuxprot.c: Likewise.
33078 * sunrpc/clnt_gen.c: Likewise.
33079 * sunrpc/clnt_perr.c: Likewise.
33080 * sunrpc/clnt_raw.c: Likewise.
33081 * sunrpc/clnt_simp.c: Likewise.
33082 * sunrpc/clnt_tcp.c: Likewise.
33083 * sunrpc/clnt_udp.c: Likewise.
33084 * sunrpc/clnt_unix.c: Likewise.
33085 * sunrpc/des_crypt.c: Likewise.
33086 * sunrpc/des_soft.c: Likewise.
33087 * sunrpc/get_myaddr.c: Likewise.
33088 * sunrpc/key_call.c: Likewise.
33089 * sunrpc/key_prot.c: Likewise.
33090 * sunrpc/netname.c: Likewise.
33091 * sunrpc/pm_getmaps.c: Likewise.
33092 * sunrpc/pm_getport.c: Likewise.
33093 * sunrpc/pmap_clnt.c: Likewise.
33094 * sunrpc/pmap_prot.c: Likewise.
33095 * sunrpc/pmap_prot2.c: Likewise.
33096 * sunrpc/pmap_rmt.c: Likewise.
33097 * sunrpc/publickey.c: Likewise.
33098 * sunrpc/rpc_cmsg.c: Likewise.
33099 * sunrpc/rpc_common.c: Likewise.
33100 * sunrpc/rpc_dtable.c: Likewise.
33101 * sunrpc/rpc_prot.c: Likewise.
33102 * sunrpc/rpc_thread.c: Likewise.
33103 * sunrpc/rtime.c: Likewise.
33104 * sunrpc/svc.c: Likewise.
33105 * sunrpc/svc_auth.c: Likewise.
33106 * sunrpc/svc_authux.c: Likewise.
33107 * sunrpc/svc_raw.c: Likewise.
33108 * sunrpc/svc_run.c: Likewise.
33109 * sunrpc/svc_simple.c: Likewise.
33110 * sunrpc/svc_tcp.c: Likewise.
33111 * sunrpc/svc_udp.c: Likewise.
33112 * sunrpc/svc_unix.c: Likewise.
33113 * sunrpc/svcauth_des.c: Likewise.
33114 * sunrpc/xcrypt.c: Likewise.
33115 * sunrpc/xdr.c: Likewise.
33116 * sunrpc/xdr_array.c: Likewise.
33117 * sunrpc/xdr_float.c: Likewise.
33118 * sunrpc/xdr_intXX_t.c: Likewise.
33119 * sunrpc/xdr_mem.c: Likewise.
33120 * sunrpc/xdr_rec.c: Likewise.
33121 * sunrpc/xdr_ref.c: Likewise.
33122 * sunrpc/xdr_sizeof.c: Likewise.
33123 * sunrpc/xdr_stdio.c: Likewise.
33124
e6c61494
UD
331252011-04-10 Ulrich Drepper <drepper@gmail.com>
33126
33127 [BZ #12650]
33128 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33129 * sysdeps/ia64/dl-tls.h: Likewise.
33130 * sysdeps/powerpc/dl-tls.h: Likewise.
33131 * sysdeps/s390/dl-tls.h: Likewise.
33132 * sysdeps/sh/dl-tls.h: Likewise.
33133 * sysdeps/sparc/dl-tls.h: Likewise.
33134 * sysdeps/x86_64/dl-tls.h: Likewise.
33135 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33136
34fe483e
AS
331372011-03-14 Andreas Schwab <schwab@redhat.com>
33138
33139 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33140 rpath element also skip the following colon.
33141 (expand_dynamic_string_token): Add is_path parameter and pass
33142 down to DL_DST_REQUIRED and _dl_dst_substitute.
33143 (decompose_rpath): Call expand_dynamic_string_token with
33144 non-zero is_path. Ignore empty rpaths.
33145 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33146 with zero is_path.
33147
f12a32e6
AS
331482011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33149
33150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33151 Make cancelable.
33152
38a7d692
UD
331532011-04-09 Ulrich Drepper <drepper@gmail.com>
33154
33155 [BZ #12655]
33156 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33157 Patch by Filipe David Manana <fdmanana@apache.org>.
33158
e451d22b
AS
331592011-04-07 Andreas Schwab <schwab@redhat.com>
33160
33161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33162 Maintain aligned stack.
33163 (CHECK_RSP): Remove unused macro.
33164
dedc7c7b
UD
331652011-04-03 Ulrich Drepper <drepper@gmail.com>
33166
33167 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33168 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33169
94521213
UD
331702011-04-02 Ulrich Drepper <drepper@gmail.com>
33171
33172 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33173
8cb700c0 33174 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33175
0354e355
L
331762011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33177
33178 [BZ #12518]
33179 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33180 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33181 * sysdeps/x86_64/memmove.c: New file.
33182 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33183 (memcpy): Renamed to ...
33184 (__new_memcpy): This.
33185 (memcpy): Provide GLIBC_2_14 memcpy.
33186 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33187 (memcpy): Provide GLIBC_2_2_5 memcpy.
33188
8593482f
UD
331892011-04-01 Ulrich Drepper <drepper@gmail.com>
33190
33191 [BZ #12631]
33192 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33193
81a5726b
AS
331942011-03-30 Andreas Schwab <schwab@redhat.com>
33195
33196 * misc/syncfs.c: New file.
33197 * misc/Makefile (routines): Add syncfs.
33198 * posix/unistd.h: Declare syncfs.
33199 * sysdeps/unix/syscalls.list: Add syncfs.
33200
00e5419f
AS
332012011-04-01 Andreas Schwab <schwab@redhat.com>
33202
33203 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33204 open_by_handle_at.
33205 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33206 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33208 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33209 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33210 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33211 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33212
748876bf
UD
332132011-04-01 Ulrich Drepper <drepper@gmail.com>
33214
658e451d
UD
33215 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33216 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33217 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33219 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33221 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33222
748876bf
UD
33223 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33224 sync_file_range.c with -fexceptions.
33225 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33226 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33227 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33228 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33229 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33230 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33232 sync_file_range as cancellation point
33233 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33234 now a wrapper around __call_sync_file_range with cancellation handling.
33235 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33236 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33237 function name to __call_sync_file_range.
33238 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33239 Add call_sync_file_range.
748876bf 33240
6e63d5e1
AS
332412011-04-01 Andreas Schwab <schwab@redhat.com>
33242
33243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33244 bits/timex.h.
6e63d5e1 33245
46998f74
UD
332462011-04-01 Ulrich Drepper <drepper@gmail.com>
33247
4c1423ed
UD
33248 * iconv/iconv.h: Fix typo in comment.
33249 * io/fcntl.h: Likewise.
33250 * libio/stdio.h: Likewise.
33251 * posix/spawn.h: Likewise.
33252 * posix/unistd.h: Likewise.
33253 * stdlib/stdlib.h: Likewise.
33254 * time/time.h: Likewise.
33255 * wcsmbs/wchar.h: Likewise.
33256
158648c0
UD
33257 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33258 open_by_handle): Add.
33259 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33260 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33261 Augment a few comments.
33262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33263 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33267 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33268 open_by_handle.
33269
46998f74
UD
33270 * io/fcntl.h (AT_EMPTY_PATH): Define.
33271
83fe108b
UD
332722011-03-30 Ulrich Drepper <drepper@gmail.com>
33273
33274 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33275 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33276 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33277 to...
33278 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33279 * Versions.def: Add GLIBC_2.14.
33280 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33281 Export.
83fe108b 33282
bb242059
UD
332832011-03-22 Ulrich Drepper <drepper@gmail.com>
33284
33285 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33286 round counter.
33287 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33288
c97a1282
L
332892011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33290
33291 [BZ #12597]
33292 * string/test-strncmp.c (do_page_test): New function.
33293 (check2): Likewise.
33294 (test_main): Call check2.
33295 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33296
2a115601
UD
332972011-03-20 Ulrich Drepper <drepper@gmail.com>
33298
33299 [BZ #12587]
33300 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33301 Handle cache information in CPU leaf 4.
33302 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33303
8126d904
UD
333042011-03-18 Ulrich Drepper <drepper@gmail.com>
33305
042c49c6 33306 [BZ #12583]
8126d904
UD
33307 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33308 character representation.
33309 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33310
ccfe366e
RA
333112011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33312
33313 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33314 END(__isnan) to END(__isnanf) to match function entry point/label
33315 EALIGN(__isnanf,...).
33316
c6e13027
JJ
333172011-03-10 Jakub Jelinek <jakub@redhat.com>
33318
33319 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33320
33f85a3f
UD
333212011-03-10 Ulrich Drepper <drepper@gmail.com>
33322
028478fa
UD
33323 [BZ #12510]
33324 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33325 copy from the symbol referenced in the relocation to initialize the
33326 used variable.
33327 Patch by Piotr Bury <pbury@goahead.com>.
33328 * elf/Makefile: Add rules to build and tst-unique3.
33329 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33330 * elf/tst-unique3.cc: New file.
33331 * elf/tst-unique3.h: New file.
33332 * elf/tst-unique3lib.cc: New file.
33333 * elf/tst-unique3lib2.cc: New file.
33334
33f85a3f
UD
33335 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33336
03592fc7
MF
333372011-03-10 Mike Frysinger <vapier@gentoo.org>
33338
33339 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33340 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33341 to _start.
03592fc7 33342
6a5ee102
UD
333432011-03-06 Ulrich Drepper <drepper@gmail.com>
33344
33345 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33346 to-be-loaded object along a path to loader is ld.so.
33347
7e4ba49c
HJ
333482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33349 Ulrich Drepper <drepper@gmail.com>
33350
33351 * sysdeps/x86_64/memset.S: After aligning destination, code
33352 branches to different locations depending on the value of
33353 misalignment, when multiarch is enabled. Fix this.
33354
333552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33356
33357 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33358 Set _x86_64_preferred_memory_instruction for AMD processsors.
33359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33360 Set bit_Prefer_SSE_for_memop for AMD processors.
33361
13a804de
UD
333622011-03-04 Ulrich Drepper <drepper@gmail.com>
33363
33364 * libio/fmemopen.c (fmemopen): Optimize a bit.
33365
9d25c392
AS
333662011-03-03 Andreas Schwab <schwab@redhat.com>
33367
33368 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33369
a5543c6a
RM
333702011-03-03 Roland McGrath <roland@redhat.com>
33371
33372 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33373
012d35f7
DM
333742011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33375
7e4ba49c 33376 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33377 __bzero_ultra1 instead of __memset_ultra1.
33378
4bff6e01
AS
333792011-02-23 Andreas Schwab <schwab@redhat.com>
33380 Ulrich Drepper <drepper@gmail.com>
33381
33382 [BZ #12509]
33383 * include/link.h (struct link_map): Add l_orig_initfini.
33384 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33385 returning unsuccessfully.
33386 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33387 close of a file loaded at startup, restore the original l_initfini
33388 list.
33389 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33390 list, store the pointer.
33391 * elf/Makefile ($(objpfx)noload-mem): New rule.
33392 (noload-ENV): Define.
33393 (tests): Add $(objpfx)noload-mem.
33394 * elf/noload.c: Include <memcheck.h>.
33395 (main): Call mtrace. Close all opened handles.
33396
f2092faf
AS
333972011-02-17 Andreas Schwab <schwab@redhat.com>
33398
33399 [BZ #12454]
33400 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33401 dependencies are missing.
33402
6c8a2e88
ST
334032011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33404
f2092faf 33405 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33406 Hurd needs munmap.
33407 * sysdeps/mach/hurd/ifreq.h: New file.
33408
84a42118
PB
334092011-01-27 Petr Baudis <pasky@suse.cz>
33410 Ulrich Drepper <drepper@gmail.com>
33411
071f805e 33412 [BZ 12445]#
84a42118
PB
33413 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33414 to extend_alloca().
33415 * stdio-common/bug23.c: New file.
33416 * stdio-common/Makefile (tests): Add bug23.
33417
e23fe25b
AS
334182010-09-28 Andreas Schwab <schwab@redhat.com>
33419 Ulrich Drepper <drepper@gmail.com>
33420
33421 [BZ #12489]
33422 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33423 before performing relro protection. At old place add assertion
33424 to make sure nothing changed.
33425
d3f02e10
NS
334262011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33427 Glauber de Oliveira Costa <glommer@gmail.com>
33428
33429 * elf/elf.h: Add new ARM TLS relocs.
33430
d55fd7a5
RA
334312011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33432
33433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33434 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33435 cast from r3.
33436 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33437 'tests' variable.
33438 * sysdeps/wordsize-64/tst-writev.c: New file.
33439
2206397e
RA
334402011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33441
33442 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33443 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33444 insns in _dl_start to prevent a TOC reference before relocs are
33445 resolved.
33446
e9433893
UD
334472011-02-15 Ulrich Drepper <drepper@gmail.com>
33448
33449 [BZ #12469]
33450 * Makeconfig: Remove RANLIB definition.
33451 * Makerules: Don't use RANLIB.
33452 * aclocal.m4: Remove ranlib test.
33453 * configure.in: No need to check for ranlib.
33454 * elf/rtld-Rules: Don't use RANLIB.
33455
f75286c6
ST
334562011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33457
8e31c82d
ST
33458 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33459 protection macro.
33460 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33461 inclusion protection macro.
33462
f75286c6
ST
33463 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33464 SIGRTMIN and SIGRTMAX and print information in that case only when
33465 SIGRTMIN is defined.
33466
c1d0e639
JJ
334672011-02-11 Jakub Jelinek <jakub@redhat.com>
33468
33469 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33470 arginfo fn returning -1.
33471
33472 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33473 and thousands string is zero terminated.
33474
edf9294e
AS
334752011-02-03 Andreas Schwab <schwab@redhat.com>
33476
33477 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33478 sysdeps/unix/sysv/linux/bits/socket.h.
33479
2b7e92df
ST
334802011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33481
edf9294e
AS
33482 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33483 (__CPU_COUNT): Remove old macros.
33484 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33485 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33486 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33487 (__sched_cpualloc, __sched_cpufree): Add declarations.
33488
a4c7ea7b
UD
334892011-02-05 Ulrich Drepper <drepper@gmail.com>
33490
33491 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33492 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33493 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33494 (readdhstai): Return value of addhstaiX call.
33495 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33496 (addgrbyX): Return value returned by cache_addgr.
33497 (readdgrbyname): Return value returned by addgrbyX.
33498 (readdgrbygid): Likewise.
33499 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33500 (addpwbyX): Return value returned by cache_addpw.
33501 (readdpwbyname): Return value returned by addhstbyX.
33502 (readdpwbyuid): Likewise.
33503 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33504 (addservbyX): Return value returned by cache_addserv.
33505 (readdservbyname): Return value returned by addservbyX:
33506 (readdservbyport): Likewise.
33507 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33508 (addhstbyX): Return value returned by cache_addhst.
33509 (readdhstbyname): Return value returned by addhstbyX.
33510 (readdhstbyaddr): Likewise.
33511 (readdhstbynamev6): Likewise.
33512 (readdhstbyaddrv6): Likewise.
33513 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33514 (readdinitgroups): Return value returned by addinitgroupsX.
33515 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33516 (prune_cache): Keep track of timeout value of re-added entries.
33517 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33518 * nscd/nscd.h: Adjust prototypes of readd* functions.
33519
a0bf67cc
RM
335202011-02-04 Roland McGrath <roland@redhat.com>
33521
33522 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33523 (nis_stats): Likewise.
33524 * nis/nis_modify.c (nis_modify): Likewise.
33525 * nis/nis_remove.c (nis_remove): Likewise.
33526 * nis/nis_add.c (nis_add): Likewise.
33527
33528 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33529
33530 * posix/fnmatch_loop.c: Add some consts.
33531
33532 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33533
435b95eb
L
335342011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33535
33536 [BZ #12460]
33537 * config.make.in (config-cflags-novzeroupper): Define.
33538 * configure.in: Substitute libc_cv_cc_novzeroupper.
33539 * elf/Makefile (AVX-CFLAGS): Define.
33540 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33541 (CFLAGS-tst-auditmod4a.c): Likewise.
33542 (CFLAGS-tst-auditmod4b.c): Likewise.
33543 (CFLAGS-tst-auditmod6b.c): Likewise.
33544 (CFLAGS-tst-auditmod6c.c): Likewise.
33545 (CFLAGS-tst-auditmod7b.c): Likewise.
33546 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33547
8517b15e
UD
335482011-02-02 Ulrich Drepper <drepper@gmail.com>
33549
33550 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33551 function to the callback.
33552 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33553
10a656fe
AS
335542011-02-02 Andreas Schwab <schwab@redhat.com>
33555
33556 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33557 of errno.
33558
968dad0a
UD
335592011-01-19 Ulrich Drepper <drepper@gmail.com>
33560
9f94d2ea 33561 [BZ #11724]
968dad0a
UD
33562 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33563 of constructors.
33564 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33565 of destructors.
33566 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33567
33568 [BZ #11724]
33569 * elf/Makefile: Add rules to build and run new test.
33570 * elf/tst-initorder.c: New file.
33571 * elf/tst-initorder.exp: New file.
33572 * elf/tst-initordera1.c: New file.
33573 * elf/tst-initordera2.c: New file.
33574 * elf/tst-initordera3.c: New file.
33575 * elf/tst-initordera4.c: New file.
33576 * elf/tst-initorderb1.c: New file.
33577 * elf/tst-initorderb2.c: New file.
33578 * elf/tst-order-a1.c: New file.
33579 * elf/tst-order-a2.c: New file.
33580 * elf/tst-order-a3.c: New file.
33581 * elf/tst-order-a4.c: New file.
33582 * elf/tst-order-b1.c: New file.
33583 * elf/tst-order-b2.c: New file.
33584 * elf/tst-order-main.c: New file.
33585 New test case by George Gensure <werkt0@gmail.com>.
33586
86e92359
UD
335872010-10-01 Andreas Schwab <schwab@redhat.com>
33588
33589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33590 decoding ACE if AI_CANONIDN.
33591
5d5732b0
UD
335922011-01-18 Ulrich Drepper <drepper@gmail.com>
33593
33594 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33595
a77e8cbc
UD
335962011-01-17 Ulrich Drepper <drepper@gmail.com>
33597
6392473f
UD
33598 * version.h (RELEASE): Bump for 2.13 release.
33599 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33600
620a0529
UD
33601 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33602
18ba70a5
UD
33603 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33604 MADV_NOHUGEPAGE.
32465c3e
UD
33605 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33606 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33607 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33608 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33609 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33610 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33611
c0dafcf1
UD
33612 * posix/getconf.c: Update copyright year.
33613 * catgets/gencat.c: Likewise.
33614 * csu/version.c: Likewise.
33615 * debug/catchsegv.sh: Likewise.
33616 * debug/xtrace.sh: Likewise.
33617 * elf/ldconfig.c: Likewise.
33618 * elf/ldd.bash.in: Likewise.
33619 * elf/sprof.c (print_version): Likewise.
33620 * iconv/iconv_prog.c: Likewise.
33621 * iconv/iconvconfig.c: Likewise.
33622 * locale/programs/locale.c: Likewise.
33623 * locale/programs/localedef.c: Likewise.
33624 * malloc/memusage.sh: Likewise.
33625 * malloc/mtrace.pl: Likewise.
33626 * nscd/nscd.c (print_version): Likewise.
33627 * nss/getent.c: Likewise.
33628
a77e8cbc
UD
33629 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33630 PF_CAIF, and PF_ALG.
33631 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33632
77e8bddf
AS
336332011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33634
1f20b93a
AS
33635 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33636 (modules-names): Use them.
33637 (ifunc-test-modules, ifunc-pie-tests): Define.
33638 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33639 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33640 (test-extras): Likewise.
33641 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33642 $(compile-command.c).
33643 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33644 (all-built-dso): Define.
33645 (check-textrel.out, check-execstack.out): Depend on it.
33646
77e8bddf
AS
33647 * configure.in: Don't override --enable-multi-arch.
33648
bc425b33
UD
336492011-01-15 Ulrich Drepper <drepper@gmail.com>
33650
33651 [BZ #6812]
33652 * nscd/hstcache.c (tryagain): Define.
33653 (cache_addhst): Return tryagain not notfound for temporary errors.
33654 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33655 failed.
33656
794c3ad3
UD
336572011-01-14 Ulrich Drepper <drepper@gmail.com>
33658
70181fdd
UD
33659 [BZ #10563]
33660 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33661 to make the syscall.
33662 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33663
794c3ad3
UD
33664 [BZ #12378]
33665 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33666 and fall back to matching as normal character if the string ends before
33667 the matching ']' is found. This is what POSIX requires.
33668 * posix/testfnm.c: Adjust test result.
33669 * posix/globtest.sh: Adjust test result. Add new test.
33670 * posix/tst-fnmatch.input: Likewise.
33671 * posix/tst-fnmatch2.c: Add new test.
33672
68dc9497
AS
336732010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33674
33675 * elf/Makefile (check-execstack): Revert last change. Depend on
33676 check-execstack.h.
33677 (check-execstack.h): New target.
33678 (generated): Add check-execstack.h.
33679 * elf/check-execstack.c: Include "check-execstack.h".
33680 (main): Revert last change.
33681 (handle_file): Return zero if GNU_STACK is absent and
33682 DEFAULT_STACK_PERMS doesn't include PF_X.
33683
451f001b
UD
336842011-01-13 Ulrich Drepper <drepper@gmail.com>
33685
cfa28e56
UD
33686 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33687 in child fails because the descriptor is already closed.
8cf8ce17
UD
33688 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33689 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33690 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33691
1086d70d
UD
33692 [BZ #12397]
33693 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33694 syscall.
33695
451f001b
UD
33696 [BZ #10484]
33697 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33698 temporary buffer used to handle multi lookups locally.
a85b5cb4 33699 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33700
08769175
UD
337012011-01-12 Ulrich Drepper <drepper@gmail.com>
33702
33703 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33704 loader is ld.so.
33705
5e49c52e
UD
337062011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33707
33708 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33709 alignment for SSE2.
33710
60522a5f
UD
337112011-01-12 Ulrich Drepper <drepper@gmail.com>
33712
33713 [BZ #12394]
33714 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33715 characters. When rounding increased number of integer digits recompute
33716 number of groups.
33717 * stdio-common/tst-grouping.c: New file.
33718 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33719
f257bbd7
UD
337202011-01-09 Ulrich Drepper <drepper@gmail.com>
33721
33722 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33723 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33724
33725 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33726 void.
33727 * bits/select.h: Likewise.
33728
fa9c15cb
UD
337292011-01-08 Ulrich Drepper <drepper@gmail.com>
33730
33731 * po/ja.po: Update from translation team.
33732
16c2895f
DM
337332011-01-04 David S. Miller <davem@sunset.davemloft.net>
33734
33735 [BZ #11155]
33736 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33737 implementation just like for lxstat, fxstatat, et al.
33738
2543fef2
JM
337392010-12-27 Jim Meyering <meyering@redhat.com>
33740
33741 [BZ #12348]
33742 * posix/regexec.c (build_trtable): Return failure indication upon
33743 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33744
98727dbe
UD
337452010-12-25 Ulrich Drepper <drepper@gmail.com>
33746
5bd6dc5c
UD
33747 [BZ #12201]
33748 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33749 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33750 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33751 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33752
97983464
UD
33753 [BZ #12207]
33754 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33755
98727dbe
UD
33756 [BZ #12204]
33757 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33758 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33759
4a531bb0
L
337602010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33761
33762 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33763 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33764 script has SORT_BY_INIT_PRIORITY.
33765 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33766 NO_CTORS_DTORS_SECTIONS is defined.
33767 * elf/soinit.c: Likewise.
33768 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33769 NO_CTORS_DTORS_SECTIONS is defined.
33770 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33771 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33772 * sysdeps/sh/init-first.c: Likewise.
33773 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33774
07eb4b71
UD
337752010-12-24 Ulrich Drepper <drepper@gmail.com>
33776
33777 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33778 always use the slow path.
33779
30950a5f
RA
337802010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33781
33782 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33783 similar rule which adds the sysdep directories to the header search in
33784 order to pick up the correct platform stackinfo.h.
33785 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33786 perform test if it is, otherwise return successfully without testing.
33787 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33788 DEFAULT_STACK_PERMS define in stackinfo.h.
33789 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33790 defined in stackinfo.h.
33791 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33792 DEFAULT_STACK_PERMS defined in stackinfo.h.
33793 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33794 * sysdeps/ia64/stackinfo.h: Likewise.
33795 * sysdeps/s390/stackinfo.h: Likewise.
33796 * sysdeps/sh/stackinfo.h: Likewise.
33797 * sysdeps/sparc/stackinfo.h: Likewise.
33798 * sysdeps/x86_64/stackinfo.h: Likewise.
33799 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33800 PF_X for powerpc64. Retain PF_X for powerpc32.
33801
db753e2c
UD
338022010-12-19 Ulrich Drepper <drepper@gmail.com>
33803
14b697f7
UD
33804 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33805 accurately.
db753e2c
UD
33806 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33807 GETDENTS_64BIT_ALIGNED.
33808
28300719
UD
338092010-12-14 Ulrich Drepper <dreper@gmail.com>
33810
14b697f7 33811 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33812
4f197237
AS
338132010-12-10 Andreas Schwab <schwab@redhat.com>
33814
dbb0472f
AS
33815 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33816 _GNU_SOURCE.
33817
4f197237
AS
33818 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33819 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33820 Remove __restrict.
33821 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33822 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33823
fb88ac72
UD
338242010-12-09 Ulrich Drepper <drepper@gmail.com>
33825
33826 [BZ #11655]
33827 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33828 are initialized.
33829
42acbb92
JJ
338302010-12-09 Jakub Jelinek <jakub@redhat.com>
33831
33832 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33833
c038d98d
UD
338342010-12-03 Ulrich Drepper <drepper@gmail.com>
33835
33836 * po/it.po: Update from translation team.
33837
3a4a2499
L
338382010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33839
33840 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33841 unused codes.
33842
1e24cf6e
UD
338432010-11-30 Ulrich Drepper <drepper@gmail.com>
33844
33845 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33846
a7690819
AS
338472010-11-24 Andreas Schwab <schwab@redhat.com>
33848
33849 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33850 specially.
33851 (gaih_getanswer_slice): Likewise.
33852
3bf8d1b1
JJ
338532010-10-20 Jakub Jelinek <jakub@redhat.com>
33854
33855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33856
6db52fbb
PB
338572010-05-31 Petr Baudis <pasky@suse.cz>
33858
33859 [BZ #11149]
33860 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33861 silently even in the chroot mode.
33862
eaca7569
UD
338632010-11-22 Ulrich Drepper <drepper@gmail.com>
33864
33865 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33866 last patch a bit. Pretty printing
33867
3056dcdb
UD
338682010-05-31 Petr Baudis <pasky@suse.cz>
33869
33870 [BZ #10085]
33871 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33872 initialization of skip_initgroups_dyn.
33873
cf7c9078
UD
338742010-11-19 Ulrich Drepper <drepper@gmail.com>
33875
33876 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33877 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33878
a1fb5e3e
UD
338792010-11-16 Ulrich Drepper <drepper@gmail.com>
33880
33881 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33882
3540d66b
AS
338832010-11-11 Andreas Schwab <schwab@redhat.com>
33884
33885 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33886 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33887 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33888 ($(objpfx)tst-fnmatch-mem): New rule.
33889 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33890 * posix/tst-fnmatch.c (main): Call mtrace.
33891
13b69574
L
338922010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33893
33894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33895 Support Intel processor model 6 and model 0x2c.
33896
da93d214
LM
338972010-11-10 Luis Machado <luisgpm@br.ibm.com>
33898
33899 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33900 signed comparison.
33901
8ca52c6e
L
339022010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33903
33904 [BZ #12205]
33905 * string/test-strncasecmp.c (check_result): New function.
33906 (do_one_test): Use it.
33907 (check1): New function.
33908 (test_main): Use it.
33909 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33910 Support strcasecmp and strncasecmp.
33911
69da074d
UD
339122010-11-08 Ulrich Drepper <drepper@gmail.com>
33913
33914 [BZ #12194]
33915 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33916 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33917
ff02d528
L
339182010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33919
33920 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33921 IFUNC support.
33922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33923 memset-x86-64.
33924 * sysdeps/x86_64/multiarch/bzero.S: New file.
33925 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33926 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33927 * sysdeps/x86_64/multiarch/memset.S: New file.
33928 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33930 Set bit_Prefer_SSE_for_memop for Intel processors.
33931 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33932 Define.
33933 (index_Prefer_SSE_for_memop): Define.
33934 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33935
344d0b54
LM
339362010-11-04 Luis Machado <luisgpm@br.ibm.com>
33937
33938 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33939 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33940
c0dde15b
UD
339412010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33942
33943 [BZ #12191]
33944 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33945 (__x86_64_raw_data_cache_size_half): Likewise.
33946 (__x86_64_raw_shared_cache_size): Likewise.
33947 (__x86_64_raw_shared_cache_size_half): Likewise.
33948
33949 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33950 (__x86_64_raw_data_cache_size_half): Likewise.
33951 (__x86_64_raw_shared_cache_size): Likewise.
33952 (__x86_64_raw_shared_cache_size_half): Likewise.
33953 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33954 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33955 and __x86_64_raw_shared_cache_size_half. Round
33956 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33957 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33958 to multiple of 256 bytes.
33959
0e516e0e
MS
339602010-11-03 Ulrich Drepper <drepper@gmail.com>
33961
33962 [BZ #12167]
33963 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33964 of inacessible symlinks. Verify result of symlink before returning it.
33965 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33966 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33967
0e012e87
ER
339682010-10-28 Erich Ritz <erichritz@gmail.com>
33969
33970 * math/math.h (isinf): Fix typo in comment.
33971
de0ff7bc
UD
339722010-11-01 Ulrich Drepper <drepper@gmail.com>
33973
33974 * po/da.po: Update from translation team.
33975
fa41c84d
UD
339762010-10-26 Ulrich Drepper <drepper@gmail.com>
33977
33978 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33979 is added to the list.
33980
f0967738
AK
339812010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33982 Ulrich Drepper <drepper@gmail.com>
33983
33984 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33985 the global list here. Move code to...
33986 (_dl_add_to_namespace_list): ...here. New function.
33987 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33988 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33989 * elf/dl-load.c (lose): Don't remove the element from the list.
33990 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33991 (_dl_map_object): Likewise.
33992
339932010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33994
33995 [BZ #12159]
33996 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33997 into all bytes of SSE register.
33998 Patch by Richard Li <richardpku@gmail.com>.
33999
f0967738 340002010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34001
34002 [BZ #12140]
34003 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34004 perturbing.
34005
d0b9e94f
MB
340062010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34007
34008 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34009 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34010 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34011 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34013 submachine.
34014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34015
8e9f92e9
AS
340162010-10-22 Andreas Schwab <schwab@redhat.com>
34017
34018 * include/dlfcn.h (__RTLD_SECURE): Define.
34019 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34020 mode & __RTLD_SECURE instead.
34021 (open_path): Rename preloaded parameter to secure.
34022 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34023 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34024 * elf/dl-deps.c (openaux): Likewise.
34025 * elf/rtld.c (struct map_args): Remove is_preloaded.
34026 (map_doit): Don't use it.
34027 (dl_main): Likewise.
34028 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34029 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34030
bc96fbda
AS
340312010-09-09 Andreas Schwab <schwab@redhat.com>
34032
34033 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34034 (sysd-rules-targets): Remove duplicates.
34035 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34036 rtld-%.$o dependency.
34037
22cd1c9b
AS
340382010-10-18 Andreas Schwab <schwab@redhat.com>
34039
34040 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34041 _dl_map_object do it.
34042
18edac48
UD
340432010-10-19 Ulrich Drepper <drepper@gmail.com>
34044
34045 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34046 fast fma builtins, define the macros in the C99 standard.
34047 (FP_FAST_FMAF): Likewise.
34048 (FP_FAST_FMAL): Likewise.
34049 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34050
34051 * bits/mathdef.h: Update copyright year.
34052 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34053
d2050124
MM
340542010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34055
34056 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34057 builtins, define the macros in the C99 standard.
34058 (FP_FAST_FMAF): Likewise.
34059 (FP_FAST_FMAL): Likewise.
34060 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34061 multiply/add.
34062 (FP_FAST_FMAF): Likewise.
34063
475facd1
JJ
340642010-10-15 Jakub Jelinek <jakub@redhat.com>
34065
34066 [BZ #3268]
34067 * math/libm-test.inc (fma_test): Some new testcases.
34068 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34069 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34070 y and infinite z. Do multiplication by C already in long double.
34071 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34073 y and infinite z. Do bitwise or of inexact bit into u.d.
34074 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34075 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34076 * sysdeps/i386/fpu/s_fma.S: Removed.
34077 * sysdeps/i386/fpu/s_fmal.S: Removed.
34078
7c08a05c
JJ
340792010-10-16 Jakub Jelinek <jakub@redhat.com>
34080
34081 [BZ #3268]
34082 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34084 computation is not scheduled after fetestexcept. Fix value
34085 of minimum denormal long double.
34086
f3f7372d
JJ
340872010-10-14 Jakub Jelinek <jakub@redhat.com>
34088
34089 [BZ #3268]
34090 * math/libm-test.inc (fma_test): Add some more tests.
34091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34092 correctly.
34093
14d43591
AS
340942010-10-15 Andreas Schwab <schwab@redhat.com>
34095
34096 * scripts/data/localplt-s390-linux-gnu.data: New file.
34097 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34098
5e908464
JJ
340992010-10-13 Jakub Jelinek <jakub@redhat.com>
34100
34101 [BZ #3268]
34102 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34103 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34104 instead of dbl-64.
34105 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34106 inlines.
34107 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34109 if one of x and y is very large and the other is subnormal.
34110 * sysdeps/s390/fpu/s_fmaf.c: New file.
34111 * sysdeps/s390/fpu/s_fma.c: New file.
34112 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34113 * sysdeps/powerpc/fpu/s_fma.S: New file.
34114 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34115 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34116 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34117
341182010-10-12 Jakub Jelinek <jakub@redhat.com>
34119
34120 [BZ #3268]
34121 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34122 fma tests.
34123 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34124 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34125 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34126 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34127 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34128 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34129 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34130
b833d51f
UD
341312010-10-12 Ulrich Drepper <drepper@redhat.com>
34132
34133 [BZ #12078]
34134 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34135 * posix/bug-regex31.input: Add test case.
34136
1751705d
UD
341372010-10-11 Ulrich Drepper <drepper@gmail.com>
34138
e9b9cbf5
UD
34139 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34140 * posix/bug-regex31.input: New file.
34141
34142 [BZ #12078]
34143 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34144 (parse_sub_exp): Fix last change, use postorder.
34145
ef06edbe
UD
34146 * posix/bug-regex31.c: New file.
34147 * posix/Makefile: Add rules to build and run bug-regex31.
34148
a129c80d
UD
34149 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34150
34151 [BZ #12078]
34152 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34153
b76b818e
UD
34154 [BZ #12108]
34155 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34156 to have entries in sys_siglist.
34157
1751705d
UD
34158 [BZ #12093]
34159 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34160 be NULL.
34161
9ff8d36f
JJ
341622010-10-07 Jakub Jelinek <jakub@redhat.com>
34163
34164 [BZ #3268]
34165 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34166 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34167 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34168 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34169 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34170 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34171 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34172 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34173 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34174 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34175 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34176 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34177 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34178 * math/ftestexcept.c (fetestexcept): Likewise.
34179 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34180 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34181 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34182 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34183 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34184 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34185 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34186
af325969
UD
341872010-10-11 Ulrich Drepper <drepper@gmail.com>
34188
c579b202 34189 [BZ #12107]
af325969
UD
34190 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34191 newline.
34192
67a67b95
UD
341932010-10-06 Ulrich Drepper <drepper@gmail.com>
34194
34195 * string/bug-strstr1.c: New file.
34196 * string/Makefile: Add rules to build and run bug-strstr1.
34197
5fb308bc
EB
341982010-10-05 Eric Blake <eblake@redhat.com>
34199
34200 [BZ #12092]
34201 * string/str-two-way.h (two_way_long_needle): Always clear memory
34202 when skipping input due to the shift table.
34203
45db99c7
UD
342042010-10-03 Ulrich Drepper <drepper@gmail.com>
34205
3b111893
UD
34206 [BZ #12005]
34207 * malloc/mcheck.c: Handle large requests.
34208
45db99c7
UD
34209 [BZ #12077]
34210 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34211 for strncmp and strncasecmp.
34212 * string/stratcliff.c: Add tests for strcmp and strncmp.
34213 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34214
cf7a1eb8
NI
342152010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34216
34217 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34218 __set_fpscr.
34219
6484ba5e
AJ
342202010-09-30 Andreas Jaeger <aj@suse.de>
34221
34222 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34223 (CGROUP_SUPER_MAGIC): Define.
34224 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34225 Handle btrfs and cgroup file systems.
34226 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34227 Likewise.
34228
91c42559
LM
342292010-09-27 Luis Machado <luisgpm@br.ibm.com>
34230
34231 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34232 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34233
87a97932
AK
342342010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34235
34236 [BZ #12067]
34237 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34238 trying to locate the ELF header.
34239
c21cc9bc
AS
342402010-09-27 Andreas Schwab <schwab@redhat.com>
34241
34242 [BZ #11611]
34243 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34244 Mask out sign-bit copies when constructing f_fsid.
34245
315970f6
PB
342462010-09-24 Petr Baudis <pasky@suse.cz>
34247
34248 * debug/stack_chk_fail_local.c: Add missing licence exception.
34249 * debug/warning-nop.c: Likewise.
34250
1ac7a2c7
JM
342512010-09-15 Joseph Myers <joseph@codesourcery.com>
34252
34253 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34254 implementing getdents64 using getdents syscall, set d_type if
34255 __ASSUME_GETDENTS32_D_TYPE.
34256
56801c50
AS
342572010-09-16 Andreas Schwab <schwab@redhat.com>
34258
34259 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34260 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34261
dda51327
UD
342622010-09-21 Ulrich Drepper <drepper@redhat.com>
34263
34264 [BZ #12037]
34265 * posix/unistd.h: Undo change of feature selection for ftruncate from
34266 2010-01-11.
34267
8ffcee4a
UD
342682010-09-20 Ulrich Drepper <drepper@redhat.com>
34269
a545ecd9 34270 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34271 detection.
34272
e24f0a8b
AS
342732010-09-20 Andreas Schwab <schwab@redhat.com>
34274
34275 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34276 fanotify_mark.
34277 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34278
7291c56f
AS
342792010-09-14 Andreas Schwab <schwab@redhat.com>
34280
34281 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34282 variables after CHECK_SP call.
34283 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34284
bc5fb037
AS
342852010-09-13 Andreas Schwab <schwab@redhat.com>
34286 Ulrich Drepper <drepper@redhat.com>
34287
34288 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34289 re-relocationg ld.so.
34290 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34291 _dl_init_paths call.
34292 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34293 here anymore.
34294
e66e7419
UD
342952010-09-14 Ulrich Drepper <drepper@redhat.com>
34296
34297 * resolv/res_init.c (__res_vinit): Count the default server we added.
34298
c044aa75
CLT
342992010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34300 Ulrich Drepper <drepper@redhat.com>
34301
34302 [BZ #11968]
34303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34304 (____longjmp_chk): Use %ebx for saving value across system call.
34305 Add unwind info.
34306
32cf4069
AS
343072010-09-06 Andreas Schwab <schwab@redhat.com>
34308
34309 * manual/Makefile: Don't mix pattern rules with normal rules.
34310
817328ee
AS
343112010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34312
34313 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34314 operation.
34315 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34316 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34317 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34318 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34320 Likewise.
34321
29fddf61
UD
343222010-09-04 Ulrich Drepper <drepper@redhat.com>
34323
34324 [BZ #11979]
34325 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34326 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34327
0959ffc9
UD
343282010-09-02 Ulrich Drepper <drepper@redhat.com>
34329
34330 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34331 * sysdeps/x86_64/addmul_1.S: Likewise.
34332 * sysdeps/x86_64/lshift.S: Likewise.
34333 * sysdeps/x86_64/mul_1.S: Likewise.
34334 * sysdeps/x86_64/rshift.S: Likewise.
34335 * sysdeps/x86_64/sub_n.S: Likewise.
34336 * sysdeps/x86_64/submul_1.S: Likewise.
34337
ece29840
ST
343382010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34339
0959ffc9
UD
34340 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34341 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34342 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34343 * bits/sched.h [__need_schedparam]
ece29840 34344 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34345 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34346 (__defined_schedparam): Define to 1.
ece29840
ST
34347 (__sched_param): New structure, identical to sched_param.
34348 (__need_schedparam): Undefine.
34349
e53a31fe
MF
343502010-08-31 Mike Frysinger <vapier@gentoo.org>
34351
fdc0c10d
MF
34352 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34353 (epoll_create1): Declare.
34354
e53a31fe
MF
34355 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34356
a726d796
AS
343572010-08-31 Andreas Schwab <schwab@redhat.com>
34358
34359 [BZ #7066]
34360 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34361 shifting retval into place.
34362
2f3e3dc7
UD
343632010-09-01 Ulrich Drepper <drepper@redhat.com>
34364
f2933da9
UD
34365 * nis/rpcsvc/nis.h: Update copyright notice.
34366 * nis/rpcsvc/nis.x: Likewise.
34367 * nis/rpcsvc/nis_callback.h: Likewise.
34368 * nis/rpcsvc/nis_callback.x: Likewise.
34369 * nis/rpcsvc/nis_object.x: Likewise.
34370 * nis/rpcsvc/nis_tags.h: Likewise.
34371 * nis/rpcsvc/yp.h: Likewise.
34372 * nis/rpcsvc/yp.x: Likewise.
34373 * nis/rpcsvc/ypupd.h: Likewise.
34374 * nis/yp_xdr.c: Likewise.
34375 * nis/ypupdate_xdr.c: Likewise.
34376
2f3e3dc7
UD
34377 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34378 mainly the body of pmap_getport. Add parameters to specify timeouts.
34379 (pmap_getport): Use __libc_rpc_getport.
34380 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34381 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34382 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34383
f3dcc2f9
AS
343842010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34385
34386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34387 fanotify_mark.
34388
6d34eb5b
RM
343892010-08-27 Roland McGrath <roland@redhat.com>
34390
34391 * sysdeps/i386/i686/multiarch/Makefile
34392 (CFLAGS-varshift.c): New variable.
34393
9ea3de11
UD
343942010-08-27 Ulrich Drepper <drepper@redhat.com>
34395
c96d23fc
UD
34396 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34397 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34398
9ea3de11
UD
34399 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34400
34401 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34402
623aac7f
L
344032010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34404
34405 * sysdeps/x86_64/strlen.S: Unroll the loop.
34406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34407 strlen-sse2 strlen-sse2-bsf.
34408 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34409 __strlen_no_bsf if bit_Slow_BSF is set.
34410 (__strlen_sse42): Removed.
34411 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34412 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34413
8b2b7715
RM
344142010-08-25 Roland McGrath <roland@redhat.com>
34415
34416 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34417 * sysdeps/x86_64/multiarch/varshift.c: New file.
34418 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34419 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34420 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34421 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34422
e73015f2
L
344232010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34424
34425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34426 strlen-sse2 strlen-sse2-bsf.
34427 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34428 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34429 (__strlen_sse2): Removed.
34430 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34431 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34433 bit_Slow_BSF for Atom.
34434 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34435 (index_Slow_BSF): Define.
34436 (HAS_SLOW_BSF): Define.
34437
df24a73e
UD
344382010-08-25 Ulrich Drepper <drepper@redhat.com>
34439
34440 [BZ #10851]
34441 * resolv/res_init.c (__res_vinit): When no server address at all
34442 is given default to loopback.
34443
f2ac4868
RM
344442010-08-24 Roland McGrath <roland@redhat.com>
34445
09055553
RM
34446 * configure.in: Remove config-name.h generation.
34447 * configure: Regenerated.
34448 * config-name.in: File removed.
34449 * scripts/config-uname.sh: New file.
34450 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34451 ($(objdir)config-name.h): New target.
34452
f2ac4868
RM
34453 * sunrpc/rpc_parse.h: Avoid nested comment.
34454
73f27d5e
RH
344552010-08-24 Richard Henderson <rth@redhat.com>
34456 Ulrich Drepper <drepper@redhat.com>
34457 H.J. Lu <hongjiu.lu@intel.com>
34458
34459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34461 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34462 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34463 _mm_alignr_epi8 with _mm_loadu_si128.
34464 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34465 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34466 (__m128i_shift_right): Removed.
34467 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34468 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34469 * sysdeps/x86_64/multiarch/varshift.h: New file.
34470 * sysdeps/x86_64/multiarch/varshift.S: New file.
34471
84b9230c
MF
344722010-08-21 Mike Frysinger <vapier@gentoo.org>
34473
34474 * configure.in: Move assembler checks to before sysdep dir checking.
34475
9bbd0ddc
PB
344762010-08-20 Petr Baudis <pasky@suse.cz>
34477
34478 * LICENSES: Sync the sunrpc license.
34479
9da4bb31
UD
344802010-08-19 Ulrich Drepper <drepper@redhat.com>
34481
a7ab6ec8
UD
34482 * sunrpc/auth_des.c: Update copyright notice once again.
34483 * sunrpc/auth_none.c: Likewise.
34484 * sunrpc/auth_unix.c: Likewise.
34485 * sunrpc/authdes_prot.c: Likewise.
34486 * sunrpc/authuxprot.c: Likewise.
34487 * sunrpc/bindrsvprt.c: Likewise.
34488 * sunrpc/clnt_gen.c: Likewise.
34489 * sunrpc/clnt_perr.c: Likewise.
34490 * sunrpc/clnt_raw.c: Likewise.
34491 * sunrpc/clnt_simp.c: Likewise.
34492 * sunrpc/clnt_tcp.c: Likewise.
34493 * sunrpc/clnt_udp.c: Likewise.
34494 * sunrpc/clnt_unix.c: Likewise.
34495 * sunrpc/des_crypt.c: Likewise.
34496 * sunrpc/des_soft.c: Likewise.
34497 * sunrpc/get_myaddr.c: Likewise.
34498 * sunrpc/getrpcport.c: Likewise.
34499 * sunrpc/key_call.c: Likewise.
34500 * sunrpc/key_prot.c: Likewise.
34501 * sunrpc/openchild.c: Likewise.
34502 * sunrpc/pm_getmaps.c: Likewise.
34503 * sunrpc/pm_getport.c: Likewise.
34504 * sunrpc/pmap_clnt.c: Likewise.
34505 * sunrpc/pmap_prot.c: Likewise.
34506 * sunrpc/pmap_prot2.c: Likewise.
34507 * sunrpc/pmap_rmt.c: Likewise.
34508 * sunrpc/rpc/auth.h: Likewise.
34509 * sunrpc/rpc/auth_unix.h: Likewise.
34510 * sunrpc/rpc/clnt.h: Likewise.
34511 * sunrpc/rpc/des_crypt.h: Likewise.
34512 * sunrpc/rpc/key_prot.h: Likewise.
34513 * sunrpc/rpc/netdb.h: Likewise.
34514 * sunrpc/rpc/pmap_clnt.h: Likewise.
34515 * sunrpc/rpc/pmap_prot.h: Likewise.
34516 * sunrpc/rpc/pmap_rmt.h: Likewise.
34517 * sunrpc/rpc/rpc.h: Likewise.
34518 * sunrpc/rpc/rpc_des.h: Likewise.
34519 * sunrpc/rpc/rpc_msg.h: Likewise.
34520 * sunrpc/rpc/svc.h: Likewise.
34521 * sunrpc/rpc/svc_auth.h: Likewise.
34522 * sunrpc/rpc/types.h: Likewise.
34523 * sunrpc/rpc/xdr.h: Likewise.
34524 * sunrpc/rpc_clntout.c: Likewise.
34525 * sunrpc/rpc_cmsg.c: Likewise.
34526 * sunrpc/rpc_common.c: Likewise.
34527 * sunrpc/rpc_cout.c: Likewise.
34528 * sunrpc/rpc_dtable.c: Likewise.
34529 * sunrpc/rpc_hout.c: Likewise.
34530 * sunrpc/rpc_main.c: Likewise.
34531 * sunrpc/rpc_parse.c: Likewise.
34532 * sunrpc/rpc_parse.h: Likewise.
34533 * sunrpc/rpc_prot.c: Likewise.
34534 * sunrpc/rpc_sample.c: Likewise.
34535 * sunrpc/rpc_scan.c: Likewise.
34536 * sunrpc/rpc_scan.h: Likewise.
34537 * sunrpc/rpc_svcout.c: Likewise.
34538 * sunrpc/rpc_tblout.c: Likewise.
34539 * sunrpc/rpc_util.c: Likewise.
34540 * sunrpc/rpc_util.h: Likewise.
34541 * sunrpc/rpcinfo.c: Likewise.
34542 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34543 * sunrpc/rpcsvc/key_prot.x: Likewise.
34544 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34545 * sunrpc/rpcsvc/mount.x: Likewise.
34546 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34547 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34548 * sunrpc/rpcsvc/rex.x: Likewise.
34549 * sunrpc/rpcsvc/rstat.x: Likewise.
34550 * sunrpc/rpcsvc/rusers.x: Likewise.
34551 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34552 * sunrpc/rpcsvc/spray.x: Likewise.
34553 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34554 * sunrpc/rtime.c: Likewise.
34555 * sunrpc/svc.c: Likewise.
34556 * sunrpc/svc_auth.c: Likewise.
34557 * sunrpc/svc_authux.c: Likewise.
34558 * sunrpc/svc_raw.c: Likewise.
34559 * sunrpc/svc_run.c: Likewise.
34560 * sunrpc/svc_simple.c: Likewise.
34561 * sunrpc/svc_tcp.c: Likewise.
34562 * sunrpc/svc_udp.c: Likewise.
34563 * sunrpc/svc_unix.c: Likewise.
34564 * sunrpc/svcauth_des.c: Likewise.
34565 * sunrpc/xcrypt.c: Likewise.
34566 * sunrpc/xdr.c: Likewise.
34567 * sunrpc/xdr_array.c: Likewise.
34568 * sunrpc/xdr_float.c: Likewise.
34569 * sunrpc/xdr_mem.c: Likewise.
34570 * sunrpc/xdr_rec.c: Likewise.
34571 * sunrpc/xdr_ref.c: Likewise.
34572 * sunrpc/xdr_sizeof.c: Likewise.
34573 * sunrpc/xdr_stdio.c: Likewise.
34574
9da4bb31
UD
34575 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34576 handling.
34577
bdaa77bc
AS
345782010-08-19 Andreas Schwab <schwab@redhat.com>
34579
34580 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34581
fe2f79db
LM
345822010-08-19 Luis Machado <luisgpm@br.ibm.com>
34583
34584 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34585 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34586 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34587 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34588 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34589 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34590 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34591 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34592 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34593 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34594 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34595 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34596 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34597 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34598
b9b42ee0
AB
345992010-07-26 Anton Blanchard <anton@samba.org>
34600
34601 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34602 * malloc/arena.c (heap_trim): Likewise.
34603
1c06ba31
UD
346042010-08-16 Ulrich Drepper <drepper@redhat.com>
34605
34606 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34607 here. Not...
34608 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34609 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34610
f8392f40
L
346112010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34612
34613 * sysdeps/i386/elf/Makefile: New file.
34614
3162f12e
AS
346152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34616
34617 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34618 from fanotify_init.
34619 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34621
28c90b2c
UD
346222010-08-15 Ulrich Drepper <drepper@redhat.com>
34623
34624 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34625 of strncasecmp_l.
1feccb6c 34626 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34627
ca6bb004
UD
346282010-08-14 Ulrich Drepper <drepper@redhat.com>
34629
e9f82e0d
UD
34630 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34631 strncase_l-nonascii.
34632 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34633 Add strncase_l-ssse3.
34634 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34635 * sysdeps/x86_64/strcmp.S: Likewise.
34636 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34637 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34638 * sysdeps/x86_64/strncase.S: New file.
34639 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34640 * sysdeps/x86_64/strncase_l.S: New file.
34641 * string/Makefile (strop-tests): Add strncasecmp.
34642 * string/test-strncasecmp.c: New file.
34643
34644 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34645 warning.
34646
ca6bb004
UD
34647 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34648 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34649
052fa7b3
AS
346502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34651
34652 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34653
962dba78
UD
346542010-08-12 Ulrich Drepper <drepper@redhat.com>
34655
34656 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34657 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34658 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34659
bebff237
AM
346602010-05-01 Alan Modra <amodra@gmail.com>
34661
34662 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34663 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34664 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34665 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34666 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34667 tidying. Don't tail-call __sigjmp_save for static lib.
34668 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34669 save location.
34670 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34671 (CALL_MCOUNT): Add eh info, and nop after bl.
34672 (TAIL_CALL_SYSCALL_ERROR): New macro.
34673 (PSEUDO_RET): Use it.
34674 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34675 Correct save location of integer regs and cr.
34676 (_dl_profile_resolve): Correct cr save location. Delete nops
34677 after bl when SHARED. Reduce cfi size a little by better
34678 placement of cfi directives.
34679 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34680 make a stack frame. Instead use parm save area as a temp.
34681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34682 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34684 Don't make a stack frame for parent, use parm save area.
34685 Increase child stack frame to 112 bytes. Don't save unused reg,
34686 and adjust reg usage. Set up cfi on error recovery and
34687 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34689 (__makecontext): Add dummy nop after jump to exit.
34690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34691 Use correct parm save area and cr save, reduce stack frame.
34692 Correct cfi for possible PSEUDO_RET frame setup.
34693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34694 Branch to local label emitted by PSEUDO_RET rather than
34695 __syscall_error.
34696
02637374
AS
346972010-08-12 Andreas Schwab <schwab@redhat.com>
34698
34699 [BZ #11904]
34700 * locale/programs/locale.c (print_assignment): New function.
34701 (show_locale_vars): Use it.
34702
c3e2f19b
UD
347032010-08-11 Ulrich Drepper <drepper@redhat.com>
34704
3cdaa6ad
UD
34705 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34706 field.
34707 (struct statfs64): Likewise.
34708 (_STATFS_F_FLAGS): Define.
34709 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34710 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34711 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34712 (ST_VALID): Define locally.
34713 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34714 __statvfs_getflags, use the provided value.
34715 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34716 __ASSUME_STATFS_F_FLAGS.
34717
754f7da3
UD
34718 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34719
10b3bedc
UD
34720 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34721 Add sys/fanotify.h.
34722 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34723 fanotify_mask for GLIBC_2.13.
34724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34725 fanotify_init and fanotify_mark.
34726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34727 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34728
c08fb0d7
UD
34729 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34730 Add prlimit.
34731 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34732 prlimit64 for GLIBC_2.13.
34733 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34734 prlimit64.
34735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34736 syscall.
34737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34738 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34739 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34740 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34741 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34742 add prlimit alias.
34743 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34744
15bac72b
UD
34745 [BZ #11903]
34746 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34747 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34748
c3e2f19b
UD
34749 * nss/Makefile: Add rules to build and run tst-nss-test1.
34750 * shlib-versions: Add entry for libnss_test1.
34751 * nss/nss_test1.c: New file.
34752 * nss/tst-nss-test1.c: New file.
34753
34754 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34755 (__nss_configure_lookup): Set appropriate entry in
34756 __nss_configure_lookup to true.
34757 * nss/nsswitch.h: Define enum with indeces of databases in
34758 databases and __nss_database_custom arrays. Declare
34759 __nss_database_custom.
34760 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34761 to avoid using nscd when custom rules are installed.
34762 * nss/getXXbyYY_r.c: Likewise.
34763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34764
34765 * nss/nss_files/files-parse.c: Whitespace fixes.
34766
f15ce4d8
UD
347672010-08-09 Ulrich Drepper <drepper@redhat.com>
34768
34769 [BZ #11883]
34770 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34771 * posix/fnmatch_loop.c: Likewise.
34772
d22e4cc9
AK
347732010-07-17 Andi Kleen <ak@linux.intel.com>
34774
34775 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34776 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34777 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34778 * Versions.def [GLIBC_2.13]: Add.
34779
805bc17d
UD
347802010-08-06 Ulrich Drepper <drepper@redhat.com>
34781
34782 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34783 Also fail if tpwd after pwuid call is NULL.
34784
5a42321d
ST
347852010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34786
34787 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34788 when converting to ms.
34789
fd3ebeda
ST
347902010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34791
34792 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34793 EOPNOTSUPP errors with ENOTTY.
34794 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34795 EOPNOTSUPP errors with ENOTTY.
34796
73507d3a
UD
347972010-07-31 Ulrich Drepper <drepper@redhat.com>
34798
34799 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34800 Add strcasecmp_l-ssse3.
34801 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34802 strcasecmp.
34803 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34804 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34805 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34806
fe36dd02
UD
348072010-07-30 Ulrich Drepper <drepper@redhat.com>
34808
66f6765a
UD
34809 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34810
42e08a54
UD
34811 * string/Makefile (strop-tests): Add strcasecmp.
34812 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34813 strcasecmp_l-nonascii.
34814 (gen-as-const-headers): Add locale-defines.sym.
34815 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34816 * sysdeps/x86_64/strcasecmp.S: New file.
34817 * sysdeps/x86_64/strcasecmp_l.S: New file.
34818 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34819 * sysdeps/x86_64/locale-defines.sym: New file.
34820 * string/test-strcasecmp.c: New file.
34821
fe36dd02
UD
34822 * string/test-strcasestr.c: Test both ends of the range of characters.
34823 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34824
48cbc0d6
RM
348252010-07-29 Roland McGrath <roland@redhat.com>
34826
76e6d6bc 34827 [BZ #11856]
48cbc0d6
RM
34828 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34829
880113d9
UD
348302010-07-27 Ulrich Drepper <drepper@redhat.com>
34831
34832 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34833 for ld.so.
34834
deb9cabb
AS
348352010-07-27 Andreas Schwab <schwab@redhat.com>
34836
34837 * manual/memory.texi (Malloc Tunable Parameters): Document
34838 M_PERTURB.
34839
1c7570ff
RM
348402010-07-26 Roland McGrath <roland@redhat.com>
34841
34842 [BZ #11840]
34843 * configure.in (-fgnu89-inline check): Set and substitute
34844 gnu89_inline, not libc_cv_gnu89_inline.
34845 * configure: Regenerated.
34846 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34847
24fb0f88
UD
348482010-07-26 Ulrich Drepper <drepper@redhat.com>
34849
34850 * string/test-strnlen.c: New file.
34851 * string/Makefile (strop-tests): Add strnlen.
34852 * string/tester.c (test_strnlen): Add a few more test cases.
34853 * string/tst-strlen.c: Better error reporting.
34854
34855 * sysdeps/x86_64/strnlen.S: New file.
34856
8e96b93a
UD
348572010-07-24 Ulrich Drepper <drepper@redhat.com>
34858
34859 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34860 lower-latency instructions.
34861
dbc676d4
UD
348622010-07-23 Ulrich Drepper <drepper@redhat.com>
34863
34864 * string/test-strcasestr.c: New file.
34865 * string/test-strstr.c: New file.
34866 * string/Makefile (strop-tests): Add strstr and strcasestr.
34867 * string/str-two-way.h: Don't undefine MAX.
34868 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34869
f6a31e0e
AS
348702010-07-21 Andreas Schwab <schwab@redhat.com>
34871
34872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34873 strcasestr-nonascii.
34874 (CFLAGS-strcasestr-nonascii.c): Define.
34875 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34876 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34877 Remove unused attribute.
34878
5dbc3b6c
RM
348792010-07-20 Roland McGrath <roland@redhat.com>
34880
34881 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34882 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34883 ld.so.cache was broken. With it, there is no way to disable dsocaps
34884 like LD_HWCAP_MASK can disable hwcaps.
34885
23d101d8
EPM
348862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34887
34888 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34889
cc9f2e47
UD
348902010-07-16 Ulrich Drepper <drepper@redhat.com>
34891
34892 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34893 call in strcasestr.
34894 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34895 __strcasestr_sse42_nonascii.
34896 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34897 strcasestr-nonascii.c.
34898 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34899
77c1b069
LM
349002010-06-15 Luis Machado <luisgpm@br.ibm.com>
34901
34902 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34903 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34904 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34905 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34906
440566c3
UD
349072010-07-09 Ulrich Drepper <drepper@redhat.com>
34908
34909 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34910 fcntl.
34911
5be9d05d
AS
349122010-07-06 Andreas Schwab <schwab@redhat.com>
34913
c30b7ee2 34914 [BZ #11577]
5be9d05d
AS
34915 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34916 dl_signal_cerror.
34917
8a492a67
UD
349182010-07-06 Ulrich Drepper <drepper@redhat.com>
34919
34920 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34921 _PC_PIPE_BUF using F_GETPIPE_SZ.
34922
713df3d5
RM
349232010-07-05 Roland McGrath <roland@redhat.com>
34924
34925 * manual/arith.texi (Rounding Functions): Fix rint description
34926 implicit in round description.
34927
702e8f14
UD
349282010-07-02 Ulrich Drepper <drepper@redhat.com>
34929
34930 * elf/Makefile: Fix linking for a few tests to make recent linker
34931 happy.
34932
52ed8be9
AS
349332010-06-30 Andreas Schwab <schwab@redhat.com>
34934
34935 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34936 $(common-objpfx)libc_nonshared.a.
34937
f47c9a11
LM
349382010-06-21 Luis Machado <luisgpm@br.ibm.com>
34939
34940 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34941 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34942 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34943 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34944 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34945 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34946 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34947 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34962 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34963 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34964 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34965 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34966 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34967 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34968 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34969 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34970 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34971 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34972 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34973 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34988
6fb8cbcb
L
349892010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34990
34991 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34992 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34993 * string/memmove.c (memmove): Renamed to ...
34994 (MEMMOVE): ...this. Default to memmove.
34995 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34996 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34997 (END_CHK): Define.
34998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34999 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35000 mempcpy-ssse3-back memmove-ssse3-back.
35001 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35002 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35004 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35005 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35006 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35007 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35008 * sysdeps/x86_64/multiarch/memmove.c: New file.
35009 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35010 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35011 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35012 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35013 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35014 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35015 Define.
35016 (index_Fast_Copy_Backward): Define.
35017 (HAS_ARCH_FEATURE): Define.
35018 (HAS_FAST_REP_STRING): Define.
35019 (HAS_FAST_COPY_BACKWARD): Define.
35020
4e733bac 350212010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35022
35023 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35024 Restore proper fallback handling.
35025
63c4ed22
UD
350262010-06-19 Ulrich Drepper <drepper@redhat.com>
35027
ac2b484c
UD
35028 [BZ #11701]
35029 * posix/group_member.c (__group_member): Correct checking loop.
35030
63c4ed22
UD
35031 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35032 OOM in getpwuid_r correctly. Return error number when the caller
35033 should return, otherwise -1.
35034 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35035 call returning > 0 value.
35036 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35037
765ade4b
AS
350382010-06-07 Andreas Schwab <schwab@redhat.com>
35039
35040 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35041 libc_nonshared.a from targets in modules-names.
35042
80da2e09
KS
350432010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35044
35045 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35046 requires it.
35047
158db122
LM
350482010-06-10 Luis Machado <luisgpm@br.ibm.com>
35049
35050 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35051 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35054
caa78cf8
AS
350552010-06-02 Andreas Schwab <schwab@redhat.com>
35056
35057 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35058
b2ef2c01
UD
350592010-06-14 Ulrich Drepper <drepper@redhat.com>
35060
35061 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35062 and F_GETPIPE_SZ.
35063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35067 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35068 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35069
fbd643b6
RM
350702010-06-14 Roland McGrath <roland@redhat.com>
35071
35072 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35073
f32f2869
JJ
350742010-06-07 Jakub Jelinek <jakub@redhat.com>
35075
35076 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35077 __REDIRECT followed by __THROW.
35078 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35079 * posix/getopt.h (getopt): Likewise.
35080
2a50c078
EPM
350812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35082
35083 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35084 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35085 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35086 in AT_FLAGS.
35087 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35088 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35089
eb5ad2eb
LM
350902010-05-28 Luis Machado <luisgpm@br.ibm.com>
35091
35092 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35093
3c88fe1e
L
350942010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35095
35096 [BZ #11640]
35097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35098 Properly check family and model.
35099
d2f73151
TY
351002010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35101
35102 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35103
ebd2e13d
LM
351042010-05-24 Luis Machado <luisgpm@br.ibm.com>
35105
35106 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35107
b32b8b45
UD
351082010-05-21 Ulrich Drepper <drepper@redhat.com>
35109
35110 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35111 symbol reference.
35112
9acbe24d
AS
351132010-05-19 Andreas Schwab <schwab@redhat.com>
35114
35115 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35116 symbol reference.
35117
f0ccf6ea
AS
351182010-05-21 Andreas Schwab <schwab@redhat.com>
35119
3d04ff3a
AS
35120 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35121 and internal_recvmmsg.
35122 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35123 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35124 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35125 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35126
f0ccf6ea
AS
35127 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35128 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35129 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35130
5b08ac57
AS
351312010-05-20 Andreas Schwab <schwab@redhat.com>
35132
35133 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35134
4828935d
LM
351352010-05-17 Luis Machado <luisgpm@br.ibm.com>
35136
35137 POWER7 optimizations.
35138 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35139 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35140
373d545e
UD
351412010-05-19 Ulrich Drepper <drepper@redhat.com>
35142
35143 * version.h: Update for 2.13 development version.
35144
21a2b1ae
AS
351452010-05-12 Andrew Stubbs <ams@codesourcery.com>
35146
35147 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35148 exceptions. Return 0.
35149
3f7dcb2b
RM
351502010-05-07 Roland McGrath <roland@redhat.com>
35151
35152 * elf/ldconfig.c (main): Add a const.
35153
5f24d53a 351542010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35155
a160f8d8
UD
35156 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35157 (args_options): Add no-idn option.
35158 (ahosts_keys_int): Add idn_flags to ai_flags.
35159 (parse_option): Handle 'i' option to clear idn_flags.
35160
5f24d53a
UD
35161 * malloc/malloc.c (_int_free): Possible race in the most recently
35162 added check. Only act on the data if no current modification
35163 happened.
265bb1ce
UD
35164
35165See ChangeLog.17 for earlier changes.