]> sourceware.org Git - glibc.git/blame - ChangeLog
Adjust generic swapon prototype to match Linux version.
[glibc.git] / ChangeLog
CommitLineData
6851bd4d
RM
12013-11-21 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
4
84ae135d
MI
52013-11-21 Meador Inge <meadori@codesourcery.com>
6
7 [BZ #11157]
8 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9 (encrypt_r): Likewise.
10 * malloc/obstack.h (obstack_free): Likewise.
11 * posix/unistd.h (encrypt): Likewise.
12
daf75146
GM
132013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14
15 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
16 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17 DL_CALL_DT_FINI() that call the functions directly.
18 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20 * elf/dl-fini.c: Likewise.
21
10ad46bc
OB
222013-11-20 Ondřej Bílka <neleai@seznam.cz>
23
24 * malloc/hooks.c (memalign_check): Add alignment rounding.
25 * malloc/malloc.c (_mid_memalign): New function.
26 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
27 Implement by calling _mid_memalign.
28 * manual/probes.texi (Memory Allocation Probes): Remove
29 memory_valloc_retry and memory_pvalloc_retry.
30
f3fd2628
SP
312013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32
4712799f
SP
33 * locale/programs/locarchive.c (open_archive): Add const
34 qualifier to ARCHIVEFNAME and copy default fname to
35 DEFAULT_FNAME.
36
0417b20f
SP
37 [BZ #15601]
38 * libio/tst-widetext.input: Rename Oriya to Odia.
39 * locale/iso-639.def: Likewise.
40
f3fd2628
SP
41 * manual/probes.texi (Mathematical Function Probes): Add
42 documentation for sin, cos, asin and acos probes.
43 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44 (__sin32): Add slowasin probe.
45 (__cos32): Add slowacos probe.
46 (__mpsin): Add slowsin probe.
47 (__mpcos): Add slowcos probe.
48
73c1ce4f
JM
492013-11-19 Joseph Myers <joseph@codesourcery.com>
50
51 [BZ #15483]
52 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53 thread-local __sim_exceptions_thread and global
54 __sim_exceptions_global.
55 (__sim_disabled_exceptions): Change to thread-local
56 __sim_disabled_exceptions_thread and global
57 __sim_disabled_exceptions_global.
58 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
59 and global __sim_round_mode_global.
60 (__simulate_exceptions): Use thread-local floating-point state and
61 set global state from it as needed.
62 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
63 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
64 __sim_round_mode_thread.
65 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
66 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
67 and global __sim_exceptions_global.
68 (__sim_disabled_exceptions): Change to thread-local
69 __sim_disabled_exceptions_thread and global
70 __sim_disabled_exceptions_global.
71 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
72 and global __sim_round_mode_global.
73 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
74 (SIM_SET_GLOBAL): Likewise.
75 * sysdeps/powerpc/soft-fp/sfp-machine.h
76 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
77 __sim_round_mode_thread.
78 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
79 __sim_disabled_exceptions_thread.
80 (__sim_exceptions): Change to __sim_exceptions_thread.
81 (__sim_disabled_exceptions): Change to
82 __sim_disabled_exceptions_thread.
83 (__sim_round_mode): Change to __sim_round_mode_thread.
84 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
85 thread-local floating-point state and set global state from it as
86 needed.
87 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
88 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
89 (__sim_disabled_exceptions): Remove extern declaration.
90 (feenableexcept): Use thread-local floating-point state and set
91 global state from it as needed.
92 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
93 extern declaration.
94 (__sim_disabled_exceptions): Likewise.
95 (__sim_round_mode): Likewise.
96 (__fegetenv): Use thread-local floating-point state.
97 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
98 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
99 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
100 floating-point state and set global state from it as needed.
101 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
102 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
103 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
104 Likewise.
105 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
106 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
107 Likewise.
108 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
109 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
110 Use __sim_round_mode_thread.
111 * math/test-fenv-tls.c: New file.
112 * math/Makefile (tests): Add test-fenv-tls.
113 ($(objpfx)test-fenv-tls): Depend on
114 $(common-objpfx)nptl/libpthread.so.
115
b5449b12
AS
1162013-11-19 Andreas Schwab <schwab@suse.de>
117
118 * locale/programs/locale.c (show_info): Decode wordarray elements.
119 * locale/categories.def (LC_MONETARY): Add element for
120 _NL_MONETARY_CRNCYSTR.
121 * locale/C-monetary.c (conversion_rate): New variable.
122 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
123 element.
124
e186536b
CM
1252013-11-18 Chris Metcalf <cmetcalf@tilera.com>
126
127 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
128 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
129
5c349950
PP
1302013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
131
132 * elf/Makefile (tst-auxv): New test.
133 * elf/tst-auxv.c: New
134 * elf/rtld.c (dl_main): Adjust AT_EXECFN
135
699df45b
JM
1362013-11-18 Joseph Myers <joseph@codesourcery.com>
137
138 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
139 (hidden_proto): Caller changed.
140 (hidden_tls_proto): New macro.
141 (libc_hidden_tls_proto): Likewise.
142 (rtld_hidden_tls_proto): Likewise.
143 (libm_hidden_tls_proto): Likewise.
144 (libresolv_hidden_tls_proto): Likewise.
145 (librt_hidden_tls_proto): Likewise.
146 (libdl_hidden_tls_proto): Likewise.
147 (libnss_files_hidden_tls_proto): Likewise.
148 (libnsl_hidden_tls_proto): Likewise.
149 (libnss_nisplus_hidden_tls_proto): Likewise.
150 (libutil_hidden_tls_proto): Likewise.
151
b7589107
OB
1522013-11-18 Ondřej Bílka <neleai@seznam.cz>
153
154 [BZ #10253]
155 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
156 (decompose_rpath): Defer expansion to fillin_rpath.
157 (_dl_init_paths): Pass linkmap to fillin_rpath.
158
250c23bd
RS
1592013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
160
161 * benchtests/Makefile: Add strsep.
162 * benchtests/bench-strsep.c: New file: strsep benchtest.
163 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
164
a7931fcf
AS
1652013-11-18 Andreas Schwab <schwab@suse.de>
166
167 * locale/programs/locale.c (show_info) [case byte]: Check for
168 '\377' instead of '\177'.
169 * locale/C-monetary.c (not_available): Always use "\377".
170 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
171 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
172 detect unavailable sign_posn locale elements.
173 * locale/localeconv.c (__localeconv): For grouping and
174 mon_grouping handle "\177" and "\377" like no grouping.
175 (INT_ELEM): New macro. Use it to set all numeric members.
176 * locale/programs/ld-monetary.c (monetary_read)
177 <tok_mon_grouping>: Normalize single -1 to the empty string.
178 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
179 Likewise.
180
728dab0e
OB
1812013-11-07 Ondřej Bílka <neleai@seznam.cz>
182
183 [BZ #16055]
184 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
185 when we match (nil).
186 * stdio-common/tst-sscanf.c (struct test): Add testcase.
187
66294491
JM
1882013-11-16 Joseph Myers <joseph@codesourcery.com>
189
ce665817
JM
190 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
191 (NO_TEST_INLINE): Update value.
192 (ERRNO_UNCHANGED): Likewise.
193 (ERRNO_EDOM): Likewise.
194 (ERRNO_ERANGE): Likewise.
195 (IGNORE_RESULT): Likewise.
196 (check_float_internal): Check signs of NaN results if
197 TEST_NAN_SIGN used.
198 (check_complex): Pass TEST_NAN_SIGN flag through to second
199 check_float_internal call.
200 (copysign_test_data): Add tests with quiet NaNs as second
201 argument. Use TEST_NAN_SIGN.
202 (fabs_test_data): Add test of negative quiet NaN argument. Use
203 TEST_NAN_SIGN.
204 (signbit_test_data): Add tests of quiet NaN argument.
205 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
206
ee1466a9
JM
207 * math/gen-libm-test.pl (show_exceptions): Take extra argument
208 $ignore_result.
209 (parse_args): Handle function results specified as IGNORE.
210 * math/libm-test.inc (IGNORE_RESULT): New macro.
211 (check_float_internal): Do not check numerical result if flag
212 IGNORE_RESULT set.
213 (check_complex): Pass through IGNORE_RESULT to second
214 check_float_internal call.
215 (check_int): Do not check numerical result if flag IGNORE_RESULT
216 set.
217 (check_long): Likewise.
218 (check_bool): Likewise.
219 (check_longlong): Likewise.
220 (lrint_test_data): Add tests of infinite and NaN arguments.
221 (lrint_tonearest_test_data): Likewise.
222 (lrint_towardzero_test_data): Likewise.
223 (lrint_downward_test_data): Likewise.
224 (lrint_upward_test_data): Likewise.
225 (llrint_test_data): Likewise.
226 (llrint_tonearest_test_data): Likewise.
227 (llrint_towardzero_test_data): Likewise.
228 (llrint_downward_test_data): Likewise.
229 (llrint_upward_test_data): Likewise.
230 (lround_test_data): Likewise.
231 (llround_test_data): Likewise.
232
14407b7e
JM
233 * math/libm-test.inc (NO_TEST_INLINE): New macro.
234 (ERRNO_UNCHANGED): Update value.
235 (ERRNO_EDOM): Likewise.
236 (ERRNO_ERANGE): Likewise.
237 (NO_TEST_INLINE_FLOAT): New macro.
238 (NO_TEST_INLINE_DOUBLE): Likewise.
239 (enable_test): New function.
240 (RUN_TEST_f_f): Check enable_test before running test.
241 (RUN_TEST_2_f): Likewise.
242 (RUN_TEST_fff_f): Likewise.
243 (RUN_TEST_c_f): Likewise.
244 (RUN_TEST_f_f1): Likewise.
245 (RUN_TEST_fF_f1): Likewise.
246 (RUN_TEST_fI_f1): Likewise.
247 (RUN_TEST_ffI_f1): Likewise.
248 (RUN_TEST_c_c): Likewise.
249 (RUN_TEST_cc_c): Likewise.
250 (RUN_TEST_f_i): Likewise.
251 (RUN_TEST_f_i_tg): Likewise.
252 (RUN_TEST_ff_i_tg): Likewise.
253 (RUN_TEST_f_b): Likewise.
254 (RUN_TEST_f_b_tg): Likewise.
255 (RUN_TEST_f_l): Likewise.
256 (RUN_TEST_f_L): Likewise.
257 (RUN_TEST_fFF_11): Likewise.
258 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
259 conditionals.
260 (cosh_test_data): Likewise.
261 (exp_test_data): Likewise.
262 (expm1_test_data): Likewise.
263 (hypot_test_data): Likewise.
264 (pow_test_data): Likewise.
265 (sinh_test_data): Likewise.
266 (tanh_test_data): Likewise.
267 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
268 flags argument.
269
ca07f197
JM
270 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
271 tests with quiet NaN input and output.
272 (acosh_test_data): Likewise.
273 (asin_test_data): Likewise.
274 (asinh_test_data): Likewise.
275 (atan_test_data): Likewise.
276 (atanh_test_data): Likewise.
277 (atan2_test_data): Likewise.
278 (cbrt_test_data): Likewise.
279 (cos_test_data): Likewise.
280 (cosh_test_data): Likewise.
281 (erf_test_data): Likewise.
282 (erfc_test_data): Likewise.
283 (exp_test_data): Likewise.
284 (exp10_test_data): Likewise.
285 (exp2_test_data): Likewise.
286 (expm1_test_data): Likewise.
287 (hypot_test_data): Likewise.
288 (j0_test_data): Likewise.
289 (j1_test_data): Likewise.
290 (jn_test_data): Likewise.
291 (lgamma_test_data): Likewise.
292 (log_test_data): Likewise.
293 (log10_test_data): Likewise.
294 (log1p_test_data): Likewise.
295 (log2_test_data): Likewise.
296 (pow_test_data): Likewise.
297 (scalb_test_data): Likewise.
298 (sin_test_data): Likewise.
299 (sincos_test_data): Likewise.
300 (sinh_test_data): Likewise.
301 (tan_test_data): Likewise.
302 (tanh_test_data): Likewise.
303 (tgamma_test_data): Likewise.
304 (y0_test_data): Likewise.
305 (y1_test_data): Likewise.
306 (yn_test_data): Likewise.
307
66294491
JM
308 [BZ #16167]
309 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
310 argument being NaN and avoid computations with second argument in
311 that case.
312 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
313 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
314 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
315
1820b143
CL
3162013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
317
318 * locale/iso-639.def: Add Chitwani Tharu (the).
319
714bd261
AS
3202013-11-14 Andreas Schwab <schwab@suse.de>
321
322 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
323 word instead of empty string.
324
7ab44563
AZ
3252013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
326
327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
328 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
330 (__fe_nomask_env): Likewise.
331
e8470ea2
SE
3322013-11-13 Steve Ellcey <sellcey@mips.com>
333
334 * benchtests/bench-timing.h: Include time.h.
335
17c1d9f0
L
3362013-11-13 H.J. Lu <hongjiu.lu@intel.com>
337
338 [BZ #15997]
339 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
340 to 3.4.0 for x32.
341 * sysdeps/unix/sysv/linux/configure: Regenerated.
342
9310c284
JM
3432013-11-13 Joseph Myers <joseph@codesourcery.com>
344
345 [BZ #16151]
346 * stdlib/strtod_l.c (round_and_return): Do not consider
347 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
348 exponent one less than half the least subnormal exponent.
349 * stdlib/test-strtod-round-data: Add more tests.
350 * stdlib/tst-strtod-round.c (tests): Regenerated.
351
7a2ad8cf
AZ
3522013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
353
354 [BZ #14143]
355 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
356 (__fe_mask_env): Likewise.
357 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
358 libm_hidden_proto and add function prototype.
359 (__fe_mask_env): Add function prototype.
360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
361 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
363 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
365 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
366
50727aa7
MS
3672013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
368
b2f386c1 369 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
370 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
371
a615be46
MS
3722013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
373
374 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
375 of htab_find_slot().
376
7ddace62
DM
3772013-11-11 David S. Miller <davem@davemloft.net>
378
379 [BZ #16150]
380 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
381 symbol in the non-vis3 case in static builds.
382 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
383 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
384 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
385 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
386
9182aa67
JK
3872013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
388
389 [BZ #387]
390 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
391 it is empty.
392
450a2e2d
AZ
3932013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
394
b2f386c1
SP
395 * benchtests/Makefile: Add bench-strtod.
396 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 397
8ec3f656
AS
3982013-11-11 Andreas Schwab <schwab@suse.de>
399
400 [BZ #16153]
401 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
402 terminating NUL in key length.
403
76a9b998
AZ
4042013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
405
406 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
407 Add artificial ODP entry for vDSO symbol for PPC64.
408 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
409 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
410
e4368156
OB
4112013-11-07 Ondřej Bílka <neleai@seznam.cz>
412
413 [BZ #15374]
414 * nss/getent.c (services_keys): Recognize services starting with digit.
415
8d6bb57c
DM
4162013-11-06 David S. Miller <davem@davemloft.net>
417
418 [BZ #15985]
419 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
420 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
421
e256c421
WN
4222013-11-06 Will Newton <will.newton@linaro.org>
423
424 * manual/memory.texi (Malloc Examples): Remove register
425 keyword from examples.
426
f6e12daa 4272013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 428
f6e12daa 429 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 430
9d880655
AS
4312013-11-04 Joseph Myers <joseph@codesourcery.com>
432
433 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
434 depending on [__GCC_IEC_559 > 0].
435 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
436 depending on [__GCC_IEC_559_COMPLEX > 0].
437
ae129d3c
CL
4382013-11-03 Chris Leonard <cjl@sugarlabs.org>
439
440 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
441 to iso-639.def.
442
4a15c2a4 4432013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
444
445 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
446
8b35e35d
OB
4472013-11-01 Ondřej Bílka <neleai@seznam.cz>
448
449 [BZ #16112]
450 * malloc/malloc (malloc_info): Do not handle first bin as
451 special case.
452
1d70fd6c
CL
4532013-11-01 Chris Leonard <cjl@sugarlabs.org>
454
455 * locale/iso-639.def: Add Central Nahuatl (nhn).
456
8c5c2600
BH
4572013-11-01 Bruno Haible <bruno@clisp.org>
458
459 [BZ #7003]
460 * manual/math.texi (BSD Random): Specify range upper bound as
461 in POSIX.
462
da5579c2
CL
4632013-10-31 Chris Leonard <cjl@sugarlabs.org>
464
465 * locale/iso-639.def: Add Meadow Mari (mhr).
466
5d30d853
OB
4672013-10-31 Ondřej Bílka <neleai@seznam.cz>
468
469 [BZ #14752], [BZ #15763]
470 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
471 Validate name.
472 * rt/tst_shm.c: Add test for escaping directory.
473
a4966c61
AS
4742013-10-31 Andreas Schwab <schwab@suse.de>
475
8a43e768 476 [BZ #15917]
a4966c61
AS
477 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
478 followed by 'x' as part of digit sequence.
479 * stdio-common/tst-sscanf.c (double_tests2): New tests.
480
28d708c4
MAP
4812013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
482
483 [BZ #16037]
484 * configure.ac: allow GNU Make 4.0 and greater.
485 * configure: Regenerated.
486
a56ee40b
WN
4872013-10-30 Will Newton <will.newton@linaro.org>
488
489 [BZ #16038]
490 * malloc/hooks.c (memalign_check): Limit alignment to the
491 maximum representable power of two.
492 * malloc/malloc.c (__libc_memalign): Likewise.
493 * malloc/tst-memalign.c (do_test): Add test for very
494 large alignment values.
495 * malloc/tst-posix_memalign.c (do_test): Likewise.
496
c6e4925d
OB
4972013-10-30 Ondřej Bílka <neleai@seznam.cz>
498
499 [BZ #11087]
500 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
501 (munmap_chunk): Likewise.
502 (mremap_chunk): Likewise.
503
5042013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 505
8a43e768 506 [BZ #15799]
bbea82f7
OB
507 * stdlib/div.c (div): Remove obsolete code.
508 * stdlib/ldiv.c (ldiv): Likewise.
509 * stdlib/lldiv.c (lldiv): Likewise.
510
977f4b31
SP
5112013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
512
513 [BZ #16071]
514 * nss/nss_files/files-XXX.c (get_contents_ret): New
515 enumerator.
516 (get_contents): New function.
517 (internal_getent): Use it. Expand size of LINEBUFLEN.
518
cb8a6dbd
MF
5192013-10-30 Mike Frysinger <vapier@gentoo.org>
520
521 * configure.in: Moved to ...
522 * configure.ac: ... here. Change reference to configure.in
523 to configure.ac.
524 * sysdeps/arm/preconfigure.ac: ... here.
525 configure.in to configure.ac.
526 * sysdeps/gnu/configure.in: Moved to ...
527 * sysdeps/gnu/configure.ac: ... here.
528 * sysdeps/i386/configure.in: Moved to ...
529 * sysdeps/i386/configure.ac: ... here.
530 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
531 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
532 * sysdeps/mach/configure.in: Moved to ...
533 * sysdeps/mach/configure.ac: ... here.
534 * sysdeps/mach/hurd/configure.in: Moved to ...
535 * sysdeps/mach/hurd/configure.ac: ... here.
536 * sysdeps/powerpc/configure.in: Moved to ...
537 * sysdeps/powerpc/configure.ac: ... here.
538 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
539 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
540 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
541 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
542 * sysdeps/s390/s390-32/configure.in: Moved to ...
543 * sysdeps/s390/s390-32/configure.ac: ... here.
544 * sysdeps/s390/s390-64/configure.in: Moved to ...
545 * sysdeps/s390/s390-64/configure.ac: ... here.
546 * sysdeps/sh/configure.in: Moved to ...
547 * sysdeps/sh/configure.ac: ... here.
548 * sysdeps/sparc/configure.in: Moved to ...
549 * sysdeps/sparc/configure.ac: ... here.
550 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
551 * sysdeps/unix/sysv/linux/configure.ac: ... here.
552 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
553 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
554 * sysdeps/x86_64/configure.in: Moved to ...
555 * sysdeps/x86_64/configure.ac: ... here.
556 * sysdeps/x86_64/preconfigure.in: Moved to ...
557 * sysdeps/x86_64/preconfigure.ac: ... here.
558 * aclocal.m4: Change reference to configure.in to configure.ac.
559 * config.h.in: Likewise.
560 * manual/install.texi: Likewise.
561 * manual/maint.texi: Likewise.
562 * Makefile: Likewise.
563 * malloc/Makefile: Likewise.
564 * nscd/Makefile: Likewise.
565 * Makeconfig: Change reference to configure.in and
566 preconfigure.in to configure.ac and preconfigure.ac
567 respectively.
568 * INSTALL: Regenerated.
569 * configure: Likewise.
570 * sysdeps/gnu/configure: Likewise.
571 * sysdeps/i386/configure: Likewise.
572 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
573 * sysdeps/mach/configure: Likewise.
574 * sysdeps/mach/hurd/configure: Likewise.
575 * sysdeps/powerpc/configure: Likewise.
576 * sysdeps/powerpc/powerpc32/configure: Likewise.
577 * sysdeps/powerpc/powerpc64/configure: Likewise.
578 * sysdeps/s390/s390-32/configure: Likewise.
579 * sysdeps/s390/s390-64/configure: Likewise.
580 * sysdeps/sh/configure: Likewise.
581 * sysdeps/sparc/configure: Likewise.
582 * sysdeps/unix/sysv/linux/configure: Likewise.
583 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
584 * sysdeps/x86_64/configure: Likewise.
585 * sysdeps/x86_64/preconfigure: Likewise.
586
36a4953a
AS
5872013-10-29 Andreas Schwab <schwab@suse.de>
588
589 * stdio-common/Makefile (tst-swscanf-ENV): Define.
590
c79a1204
SP
5912013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
592
dfa1b402
SP
593 * benchtests/pow-inputs: Add new inputs.
594
54f73d9c
SP
595 * benchtests/exp-inputs: Add new inputs.
596
c79a1204
SP
597 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
598 conditional check for return value.
599 (__cos32): Likewise.
600
67beb545 6012013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
602
603 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
604 to provide a boost for large inputs with word alignment.
605 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
606 implementation based on optimized PPC64 strcpy.
607 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
608 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
609 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
610 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
611
151659f6
OB
6122013-10-25 Ondřej Bílka <neleai@seznam.cz>
613
482a077e 614 [BZ #2801]
151659f6
OB
615 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
616
10b0f26b
OB
6172013-10-25 Ondřej Bílka <neleai@seznam.cz>
618
619 [BZ #14876]
620 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
621 * time/tst-strptime.c (day_tests): Add testcase.
622
ca42d35e
OB
6232013-10-25 Ondřej Bílka <neleai@seznam.cz>
624
482a077e 625 [BZ #14029]
ca42d35e
OB
626 * manual/pattern.texi: Acknowledge that fnmatch can fail.
627
52e6d801
FB
6282013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
629
630 [BZ #16074]
631 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
632 MAP_FAILED on error.
633
7cbcdb36
SP
6342013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
635
636 [BZ #16072]
637 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
638 heap for large requests.
639
894f3f10
AM
6402013-10-25 Aurelien Jarno <aurelien@aurel32.net>
641
642 [BZ #9954]
643 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
644 result if the result has no associated interface.
645 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
646 interface for all 127.X.Y.Z addresses.
647
b85545a6
CL
6482013-10-24 Chris Leonard <cjl@sugarlabs.org>
649
650 * locale/iso-639.def: Add Ligurian (lij)
651
d1f23d46
OB
6522013-10-21 Ondřej Bílka <neleai@seznam.cz>
653
654 [BZ #15825]
655 * sunrpc/rpc_main.c: Document rpcgen -5.
656
4db5b08f
MS
6572013-10-19 Michael Stahl <mstahl@redhat.com>
658
659 * elf/rtld.c (do_preload): Print the reason why preloading failed.
660
a471e96a
OB
6612013-10-19 Ondřej Bílka <neleai@seznam.cz>
662
d1f23d46 663 [BZ #10278]
a471e96a
OB
664 * posix/glob.c: Match only directories when trailing slash is present.
665 * posix/tst-gnuglob.c (my_opendir): Do not open files.
666 (main): Add testcase.
667
45c30c61
OB
6682013-10-19 Ondřej Bílka <neleai@seznam.cz>
669
670 [BZ #15670]
671 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
672
484c12fb
CD
6732013-10-18 Carlos O'Donell <carlos@redhat.com>
674
3d7dc513
CD
675 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
676 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
677 AUTH_DES and cindex for FIPS 140-2.
678 (DES Encryption): Add cindex FIPS 46-3.
679
484c12fb
CD
680 * locale/locarchive.h (struct locarhandle): Add fname.
681 * locale/programs/localedef.c (main): Pass ARGV[remaining]
682 if an optional argument was specified to --list-archive,
683 otherwise NULL.
684 * locale/programs/locarchive.c (show_archive_content): Take new
685 argument fname and pass it via ah.fname to open_archive.
686 * locale/programs/localedef.h: Update decl.
687 (open_archive): If AH->fname is non-null, open that file
688 rather than the default file name, and don't ignore ENOENT.
689 (create_archive): Set AH.fname to NULL.
690 (delete_locales_from_archive): Likewise.
691 (add_locales_to_archive): Likewise.
692 * locale/programs/locfile.c (write_all_categories): Likewise.
693
3c8325fb
JM
6942013-10-18 Joseph Myers <joseph@codesourcery.com>
695 Aldy Hernandez <aldyh@redhat.com>
696
697 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
698 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
699 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
700 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
701 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
702 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
703 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
704 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
705 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
706 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
707 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
708 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
709 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
710 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
711 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
712 Likewise.
713 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
714 Likewise.
715 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
716 Likewise.
717 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
718 Likewise.
719 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
720 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
721 Likewise.
722 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
723 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
724 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
725 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
726 Likewise.
727 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
728 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
729 * sysdeps/powerpc/preconfigure: Likewise.
730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
731 Likewise.
732 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
733 Replace contents of file by #include of <fenv_libc.h>.
734 * sysdeps/powerpc/soft-fp/sfp-machine.h
735 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
736 and <sys/prctl.h>.
737 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
738 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
739 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
740 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
741 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
742 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
743 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
744 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
745 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
746 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
747 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
748 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
750 Allow copysignl PLT reference to be missing.
751
5abe0682
RS
7522013-10-18 Richard Sandiford <richard@codesourcery.com>
753 Joseph Myers <joseph@codesourcery.com
754
755 [BZ #15948]
756 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
757 single character.
758 (add_to_tablewc): Assert sequence of wide characters is nonempty.
759
c7738d08
SP
7602013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
761
762 * elf/tst-tls-dlinfo.c: Don't include tls.h.
763 * elf/tst-tls1.c: Likewise.
764 * elf/tst-tls10.h: Likewise.
765 * elf/tst-tls14.c: Likewise.
766 * elf/tst-tls2.c: Likewise.
767 * elf/tst-tls3.c: Likewise.
768 * elf/tst-tls4.c: Likewise.
769 * elf/tst-tls5.c: Likewise.
770 * elf/tst-tls6.c: Likewise.
771 * elf/tst-tls7.c: Likewise.
772 * elf/tst-tls8.c: Likewise.
773 * elf/tst-tls9.c: Likewise.
774 * elf/tst-tlsmod1.c: Likewise.
775 * elf/tst-tlsmod13.c: Likewise.
776 * elf/tst-tlsmod13a.c: Likewise.
777 * elf/tst-tlsmod14a.c: Likewise.
778 * elf/tst-tlsmod16a.c: Likewise.
779 * elf/tst-tlsmod16b.c: Likewise.
780 * elf/tst-tlsmod2.c: Likewise.
781 * elf/tst-tlsmod3.c: Likewise.
782 * elf/tst-tlsmod4.c: Likewise.
783 * elf/tst-tlsmod5.c: Likewise.
784 * elf/tst-tlsmod6.c: Likewise.
785
0bfcf2c7
OB
7862013-10-18 Ondřej Bílka <neleai@seznam.cz>
787
788 [BZ #12486]
789 * malloc/malloc.c: remove checks for statistics.
790
264aad1e
OB
7912013-10-17 Ondřej Bílka <neleai@seznam.cz>
792
793 [BZ #15277]
794 * inet/inet_net.c (inet_network): Detect additional invalid strings.
795 * inet/tst-network.c: Add testcase.
796
b957ced8
AS
7972013-10-17 Andreas Schwab <schwab@suse.de>
798
799 [BZ #15218]
800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
801 to determine canonical name.
802
c5d5d574
OB
8032013-10-17 Ondřej Bílka <neleai@seznam.cz>
804
805 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
806 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
807 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
808 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
810 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
811 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
812 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
813 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
814 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
815 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
816 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
817 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
818 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
819 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
820 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
821 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
822 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
823 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
824 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
827 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
828 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
829 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
830 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
831 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
832 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
833 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
834 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
835 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
836 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
837 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
838 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
839 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
840 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
841 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
842 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
843 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
844 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
845 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
846 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
847 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
848 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
849 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
850 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
851 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
852 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
853 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
854 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
855 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
856 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
857 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
858 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
859 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
860 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
861 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
862 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
863
e5c2c2d0
JM
8642013-10-17 Joseph Myers <joseph@codesourcery.com>
865
866 [BZ #16041]
867 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
868 make result into a quiet NaN.
869
51ca9e29
JM
8702013-10-16 Joseph Myers <joseph@codesourcery.com>
871
872 * soft-fp/adddf3.c: Fix horizontal whitespace.
873 * soft-fp/addsf3.c: Likewise.
874 * soft-fp/addtf3.c: Likewise.
875 * soft-fp/divdf3.c: Likewise.
876 * soft-fp/divsf3.c: Likewise.
877 * soft-fp/divtf3.c: Likewise.
878 * soft-fp/double.h: Likewise.
879 * soft-fp/eqdf2.c: Likewise.
880 * soft-fp/eqsf2.c: Likewise.
881 * soft-fp/eqtf2.c: Likewise.
882 * soft-fp/extenddftf2.c: Likewise.
883 * soft-fp/extended.h: Likewise.
884 * soft-fp/extendsfdf2.c: Likewise.
885 * soft-fp/extendsftf2.c: Likewise.
886 * soft-fp/extendxftf2.c: Likewise.
887 * soft-fp/fixdfdi.c: Likewise.
888 * soft-fp/fixdfsi.c: Likewise.
889 * soft-fp/fixdfti.c: Likewise.
890 * soft-fp/fixsfdi.c: Likewise.
891 * soft-fp/fixsfsi.c: Likewise.
892 * soft-fp/fixsfti.c: Likewise.
893 * soft-fp/fixtfdi.c: Likewise.
894 * soft-fp/fixtfsi.c: Likewise.
895 * soft-fp/fixtfti.c: Likewise.
896 * soft-fp/fixunsdfdi.c: Likewise.
897 * soft-fp/fixunsdfsi.c: Likewise.
898 * soft-fp/fixunsdfti.c: Likewise.
899 * soft-fp/fixunssfdi.c: Likewise.
900 * soft-fp/fixunssfsi.c: Likewise.
901 * soft-fp/fixunssfti.c: Likewise.
902 * soft-fp/fixunstfdi.c: Likewise.
903 * soft-fp/fixunstfsi.c: Likewise.
904 * soft-fp/fixunstfti.c: Likewise.
905 * soft-fp/floatdidf.c: Likewise.
906 * soft-fp/floatdisf.c: Likewise.
907 * soft-fp/floatditf.c: Likewise.
908 * soft-fp/floatsidf.c: Likewise.
909 * soft-fp/floatsisf.c: Likewise.
910 * soft-fp/floatsitf.c: Likewise.
911 * soft-fp/floattidf.c: Likewise.
912 * soft-fp/floattisf.c: Likewise.
913 * soft-fp/floattitf.c: Likewise.
914 * soft-fp/floatundidf.c: Likewise.
915 * soft-fp/floatundisf.c: Likewise.
916 * soft-fp/floatunditf.c: Likewise.
917 * soft-fp/floatunsidf.c: Likewise.
918 * soft-fp/floatunsisf.c: Likewise.
919 * soft-fp/floatunsitf.c: Likewise.
920 * soft-fp/floatuntidf.c: Likewise.
921 * soft-fp/floatuntisf.c: Likewise.
922 * soft-fp/floatuntitf.c: Likewise.
923 * soft-fp/fmadf4.c: Likewise.
924 * soft-fp/fmasf4.c: Likewise.
925 * soft-fp/fmatf4.c: Likewise.
926 * soft-fp/gedf2.c: Likewise.
927 * soft-fp/gesf2.c: Likewise.
928 * soft-fp/getf2.c: Likewise.
929 * soft-fp/ledf2.c: Likewise.
930 * soft-fp/lesf2.c: Likewise.
931 * soft-fp/letf2.c: Likewise.
932 * soft-fp/muldf3.c: Likewise.
933 * soft-fp/mulsf3.c: Likewise.
934 * soft-fp/multf3.c: Likewise.
935 * soft-fp/negdf2.c: Likewise.
936 * soft-fp/negsf2.c: Likewise.
937 * soft-fp/negtf2.c: Likewise.
938 * soft-fp/op-1.h: Likewise.
939 * soft-fp/op-2.h: Likewise.
940 * soft-fp/op-4.h: Likewise.
941 * soft-fp/op-8.h: Likewise.
942 * soft-fp/op-common.h: Likewise.
943 * soft-fp/quad.h: Likewise.
944 * soft-fp/single.h: Likewise.
945 * soft-fp/soft-fp.h: Likewise.
946 * soft-fp/sqrtdf2.c: Likewise.
947 * soft-fp/sqrtsf2.c: Likewise.
948 * soft-fp/sqrttf2.c: Likewise.
949 * soft-fp/subdf3.c: Likewise.
950 * soft-fp/subsf3.c: Likewise.
951 * soft-fp/subtf3.c: Likewise.
952 * soft-fp/truncdfsf2.c: Likewise.
953 * soft-fp/trunctfdf2.c: Likewise.
954 * soft-fp/trunctfsf2.c: Likewise.
955 * soft-fp/trunctfxf2.c: Likewise.
956 * soft-fp/unorddf2.c: Likewise.
957 * soft-fp/unordsf2.c: Likewise.
958 * soft-fp/unordtf2.c: Likewise.
959
9ebb0332
JM
9602013-10-15 Joseph Myers <joseph@codesourcery.com>
961
962 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
963 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
964
4b1a6d8b
OB
9652013-10-15 Ondřej Bílka <neleai@seznam.cz>
966
967 * elf/dl-libc.c: Clear initfini list after freeing.
968
1e145589
JM
9692013-10-14 Joseph Myers <joseph@codesourcery.com>
970
971 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
972 * soft-fp/addsf3.c: Likewise.
973 * soft-fp/addtf3.c: Likewise.
974 * soft-fp/divdf3.c: Likewise.
975 * soft-fp/divsf3.c: Likewise.
976 * soft-fp/divtf3.c: Likewise.
977 * soft-fp/double.h: Likewise.
978 * soft-fp/eqdf2.c: Likewise.
979 * soft-fp/eqsf2.c: Likewise.
980 * soft-fp/eqtf2.c: Likewise.
981 * soft-fp/extenddftf2.c: Likewise.
982 * soft-fp/extended.h: Likewise.
983 * soft-fp/extendsfdf2.c: Likewise.
984 * soft-fp/extendsftf2.c: Likewise.
985 * soft-fp/extendxftf2.c: Likewise.
986 * soft-fp/fixdfdi.c: Likewise.
987 * soft-fp/fixdfsi.c: Likewise.
988 * soft-fp/fixdfti.c: Likewise.
989 * soft-fp/fixsfdi.c: Likewise.
990 * soft-fp/fixsfsi.c: Likewise.
991 * soft-fp/fixsfti.c: Likewise.
992 * soft-fp/fixtfdi.c: Likewise.
993 * soft-fp/fixtfsi.c: Likewise.
994 * soft-fp/fixtfti.c: Likewise.
995 * soft-fp/fixunsdfdi.c: Likewise.
996 * soft-fp/fixunsdfsi.c: Likewise.
997 * soft-fp/fixunsdfti.c: Likewise.
998 * soft-fp/fixunssfdi.c: Likewise.
999 * soft-fp/fixunssfsi.c: Likewise.
1000 * soft-fp/fixunssfti.c: Likewise.
1001 * soft-fp/fixunstfdi.c: Likewise.
1002 * soft-fp/fixunstfsi.c: Likewise.
1003 * soft-fp/fixunstfti.c: Likewise.
1004 * soft-fp/floatdidf.c: Likewise.
1005 * soft-fp/floatdisf.c: Likewise.
1006 * soft-fp/floatditf.c: Likewise.
1007 * soft-fp/floatsidf.c: Likewise.
1008 * soft-fp/floatsisf.c: Likewise.
1009 * soft-fp/floatsitf.c: Likewise.
1010 * soft-fp/floattidf.c: Likewise.
1011 * soft-fp/floattisf.c: Likewise.
1012 * soft-fp/floattitf.c: Likewise.
1013 * soft-fp/floatundidf.c: Likewise.
1014 * soft-fp/floatundisf.c: Likewise.
1015 * soft-fp/floatunsidf.c: Likewise.
1016 * soft-fp/floatunsisf.c: Likewise.
1017 * soft-fp/floatuntidf.c: Likewise.
1018 * soft-fp/floatuntisf.c: Likewise.
1019 * soft-fp/floatuntitf.c: Likewise.
1020 * soft-fp/fmadf4.c: Likewise.
1021 * soft-fp/fmasf4.c: Likewise.
1022 * soft-fp/fmatf4.c: Likewise.
1023 * soft-fp/gedf2.c: Likewise.
1024 * soft-fp/gesf2.c: Likewise.
1025 * soft-fp/getf2.c: Likewise.
1026 * soft-fp/ledf2.c: Likewise.
1027 * soft-fp/lesf2.c: Likewise.
1028 * soft-fp/letf2.c: Likewise.
1029 * soft-fp/muldf3.c: Likewise.
1030 * soft-fp/mulsf3.c: Likewise.
1031 * soft-fp/multf3.c: Likewise.
1032 * soft-fp/negdf2.c: Likewise.
1033 * soft-fp/negsf2.c: Likewise.
1034 * soft-fp/negtf2.c: Likewise.
1035 * soft-fp/op-1.h: Likewise.
1036 * soft-fp/op-2.h: Likewise.
1037 * soft-fp/op-4.h: Likewise.
1038 * soft-fp/op-8.h: Likewise.
1039 * soft-fp/op-common.h: Likewise.
1040 * soft-fp/quad.h: Likewise.
1041 * soft-fp/single.h: Likewise.
1042 * soft-fp/soft-fp.h: Likewise.
1043 * soft-fp/sqrtdf2.c: Likewise.
1044 * soft-fp/sqrtsf2.c: Likewise.
1045 * soft-fp/sqrttf2.c: Likewise.
1046 * soft-fp/subdf3.c: Likewise.
1047 * soft-fp/subsf3.c: Likewise.
1048 * soft-fp/subtf3.c: Likewise.
1049 * soft-fp/truncdfsf2.c: Likewise.
1050 * soft-fp/trunctfdf2.c: Likewise.
1051 * soft-fp/trunctfsf2.c: Likewise.
1052 * soft-fp/trunctfxf2.c: Likewise.
1053 * soft-fp/unorddf2.c: Likewise.
1054 * soft-fp/unordsf2.c: Likewise.
1055 * soft-fp/unordtf2.c: Likewise.
1056
17c48a60
OB
10572013-10-14 Ondřej Bílka <neleai@seznam.cz>
1058
1059 [BZ #15672]
1060 * misc/error.c (error_tail): Fix possible buffer overflow.
1061
cabba934
OB
10622013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1063
1064 [BZ #13028]
1065 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1066 address.
1067
94bf958a
PM
10682013-10-14 P. J. McDermott <pj@pehjota.net>
1069
1070 [BZ #832]
1071 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1072 testing pipefail option.
1073
71b4dea7
JM
10742013-10-12 Joseph Myers <joseph@codesourcery.com>
1075
1076 * soft-fp/double.h: Indent preprocessor directives inside #if.
1077 * soft-fp/extended.h: Likewise.
1078 * soft-fp/op-2.h: Likewise.
1079 * soft-fp/op-4.h: Likewise.
1080 * soft-fp/op-common.h: Likewise.
1081 * soft-fp/quad.h: Likewise.
1082 * soft-fp/single.h: Likewise.
1083 * soft-fp/soft-fp.h: Likewise.
1084
55602758
YC
10852013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1086
1087 * iconv/iconv_prog.c: Fix typos.
1088 * stdio-common/psiginfo-data.h: Likewise.
1089
9cd83302
RT
10902013-10-12 Reuben Thomas <rrt@sc3d.org>
1091
1092 [BZ #15764]
1093 * locale/setlocale.c: Fix typo.
1094
99fd9f47
JM
10952013-10-12 Joseph Myers <joseph@codesourcery.com>
1096
b7ea74f0
JM
1097 [BZ #16036]
1098 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1099 signaling NaN arguments.
1100 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1101 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1102
8a509447
JM
1103 [BZ #14910]
1104 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1105 unordered operands.
1106 * soft-fp/gesf2.c (__gesf2): Likewise.
1107 * soft-fp/getf2.c (__getf2): Likewise.
1108 * soft-fp/ledf2.c (__ledf2): Likewise.
1109 * soft-fp/lesf2.c (__lesf2): Likewise.
1110 * soft-fp/letf2.c (__letf2): Likewise.
1111
98998e9f
JM
1112 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1113 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1114 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1115 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1116 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1117 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1118 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1119 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1120 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1121 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1122 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1123 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1124 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1125 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1126 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1127 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1128 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1129 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1130 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1131 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1132 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1133 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1134 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1135 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1136 * soft-fp/floattidf.c (__floattidf): Likewise.
1137 * soft-fp/floattisf.c (__floattisf): Likewise.
1138 * soft-fp/floattitf.c (__floattitf): Likewise.
1139 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1140 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1141 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1142 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1143 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1144 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1145 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1146 * soft-fp/gesf2.c (__gesf2): Likewise.
1147 * soft-fp/getf2.c (__getf2): Likewise.
1148 * soft-fp/ledf2.c (__ledf2): Likewise.
1149 * soft-fp/lesf2.c (__lesf2): Likewise.
1150 * soft-fp/letf2.c (__letf2): Likewise.
1151
8edc4a11
JM
1152 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1153 Undefine and redefine.
1154 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1155 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1156 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1157 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1158 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1159 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1160 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1161 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1162 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1163 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1164 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1165 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1166 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1167 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1168 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1169
8399acaf
JM
1170 [BZ #16032]
1171 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1172 without decrementing exponent if mantissa >= that for the
1173 denominator, not >.
1174 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1175 denominator, not >. Decrement exponent in < case instead of
1176 incrementing in >= case.
1177 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1178 without decrementing exponent if mantissa >= that for the
1179 denominator, not >.
1180
99fd9f47
JM
1181 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1182 computing saturated result for unsigned overflow.
1183
10e1cf6b
SP
11842013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1185 Jeff Law <law@redhat.com>
1186
1187 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1188 (atan2Mp): Add systemtap probe marker.
1189 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1190 (__ieee754_log): Add systemtap probe marker.
1191 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1192 (atanMp): Add systemtap probe marker.
1193 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1194 (tanMp): Add systemtap probe marker.
1195 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1196 (__slowexp): Add systemtap probe marker.
1197 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1198 (__slowpow): Add systemtap probe marker.
1199 * manual/probes.texi: Document probes.
1200
3d110c7c
EB
12012013-10-11 Eric Biggers <ebiggers3@gmail.com>
1202
1203 [BZ #15362]
1204 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1205 written.
1206 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1207 written.
1208 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1209 written to buffer but not flushed.
1210 * libio/iofwrite_u.c: Likewise.
1211 * libio/iopadn.c: Return bytes returned even if EOF was
1212 encountered.
1213 * libio/iowpadn.c: Likewise.
1214 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1215 if _IO_padn does not write the whole buffer.
1216 [!COMPILE_WPRINTF] (PAD): Likewise.
1217
75b4202a
DM
12182013-10-10 David S. Miller <davem@davemloft.net>
1219
1220 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1221 directory block.
1222
6c6352e6
JM
12232013-10-10 Joseph Myers <joseph@codesourcery.com>
1224
33b853c3
JM
1225 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1226 instead of FSF address.
1227 * soft-fp/fixdfti.c: Likewise.
1228 * soft-fp/fixsfti.c: Likewise.
1229 * soft-fp/fixtfti.c: Likewise.
1230 * soft-fp/fixunsdfti.c: Likewise.
1231 * soft-fp/fixunssfti.c: Likewise.
1232 * soft-fp/fixunstfti.c: Likewise.
1233 * soft-fp/floattidf.c: Likewise.
1234 * soft-fp/floattisf.c: Likewise.
1235 * soft-fp/floattitf.c: Likewise.
1236 * soft-fp/floatuntidf.c: Likewise.
1237 * soft-fp/floatuntisf.c: Likewise.
1238 * soft-fp/floatuntitf.c: Likewise.
1239 * soft-fp/trunctfxf2.c: Likewise.
1240
6c6352e6
JM
1241 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1242 * soft-fp/fixdfti.c: Likewise.
1243 * soft-fp/fixsfti.c: Likewise.
1244 * soft-fp/fixtfti.c: Likewise.
1245 * soft-fp/fixunsdfti.c: Likewise.
1246 * soft-fp/fixunssfti.c: Likewise.
1247 * soft-fp/fixunstfti.c: Likewise.
1248 * soft-fp/floattidf.c: Likewise.
1249 * soft-fp/floattisf.c: Likewise.
1250 * soft-fp/floattitf.c: Likewise.
1251 * soft-fp/floatuntidf.c: Likewise.
1252 * soft-fp/floatuntisf.c: Likewise.
1253 * soft-fp/floatuntitf.c: Likewise.
1254 * soft-fp/trunctfxf2.c: Likewise.
1255
3bf78b71
DM
12562013-10-10 David S. Miller <davem@davemloft.net>
1257
1258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1259
6f10289e
JM
12602013-10-10 Joseph Myers <joseph@codsourcery.com>
1261
bd878fc0
JM
1262 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1263 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1264 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1265 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1266 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1267 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1268 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1269
6f10289e
JM
1270 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1271 for NaNs before doing comparisons on argument.
1272 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1273 Likewise.
1274
321e2684
WN
12752013-10-10 Will Newton <will.newton@linaro.org>
1276
1277 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1278 passed to _int_memalign does not overflow.
1279
40fefba1
TR
12802013-10-10 Torvald Riegel <triegel@redhat.com>
1281
1282 * scripts/bench.pl: Add include-sources directive.
1283 * benchtests/README: Update documentation.
1284
2ae21ed2
JM
12852013-10-10 Joseph Myers <joseph@codesourcery.com>
1286
dcc2dd3f
JM
1287 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1288 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1289 instead of FP_INIT_ROUNDMODE.
1290 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1291 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1292
2ae21ed2
JM
1293 [BZ #16034]
1294 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1295 copy class of input value.
1296 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1297 not handle exceptions.
1298 * soft-fp/negsf2.c (__negsf2): Likewise.
1299 * soft-fp/negtf2.c (__negtf2): Likewise.
1300 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1301
cb8f9562
JM
13022013-10-09 Joseph Myers <joseph@codesourcery.com>
1303
1304 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1305 semicolon. From Linux kernel.
1306
5b60c59d
AB
13072013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1308
1309 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1310
b86835ca
YC
13112013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1312
1313 [BZ #156]
1314 * manual/socket.texi: Added statement about buffer
1315 for gethostbyname2_r.
1316
e7044ea7
OB
13172013-10-08 Ondřej Bílka <neleai@seznam.cz>
1318
1319 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1320 Use .p2align directive instead, throughout.
1321 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1322 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1323 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1324 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1325 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1326 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1327 * sysdeps/x86_64/strchr.S: Likewise.
1328 * sysdeps/x86_64/strrchr.S: Likewise.
1329
09544cbc
SP
13302013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1331
88576635
SP
1332 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1333
e7b2d1dd
SP
1334 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1335
09544cbc
SP
1336 * sysdeps/generic/math_private.h (__mpsin1): Remove
1337 declaration.
1338 (__mpcos1): Likewise.
1339 (__mpsin): New argument __range_reduce.
1340 (__mpcos): Likewise.
1341 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1342 (slow): Use __mpsin and __mpcos.
1343 (slow1): Likewise.
1344 (slow2): Likewise.
1345 (sloww): Likewise.
1346 (sloww1): Likewise.
1347 (sloww2): Likewise.
1348 (bsloww): Likewise.
1349 (bsloww1): Likewise.
1350 (bsloww2): Likewise.
1351 (cslow2): Likewise.
1352 (csloww): Likewise.
1353 (csloww1): Likewise.
1354 (csloww2): Likewise.
1355 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1356 range_reduce. Merge in __mpsin1.
1357 (__mpcos): Likewise.
1358 (__mpsin1): Remove.
1359 (__mpcos1): Likewise.
1360
7602d070
JM
13612013-10-07 Joseph Myers <joseph@codesourcery.com>
1362
1363 * locale/loadlocale.c (_nl_intern_locale_data): Use
1364 LOCFILE_ALIGNED_P.
1365 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1366 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1367 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1368 obstack data is appropriately aligned.
1369 (obstack_int32_grow_fast): Likewise.
1370 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1371 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1372 (add_locale_uint32_array): Likewise.
1373
a357259b
SP
13742013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1375
1376 * benchtests/Makefile: Remove ARGLIST and RET variables.
1377 ($(objpfx)bench-%.c): Pass only function name to the script.
1378 * benchtests/README: Update documentation.
1379 * benchtests/acos-inputs: Add new directives.
1380 * benchtests/acosh-inputs: Likewise.
1381 * benchtests/asin-inputs: Likewise.
1382 * benchtests/asinh-inputs: Likewise.
1383 * benchtests/atan-inputs: Likewise.
1384 * benchtests/atanh-inputs: Likewise.
1385 * benchtests/cos-inputs: Likewise.
1386 * benchtests/cosh-inputs: Likewise.
1387 * benchtests/exp-inputs: Likewise.
1388 * benchtests/log-inputs: Likewise.
1389 * benchtests/pow-inputs: Likewise.
1390 * benchtests/rint-inputs: Likewise.
1391 * benchtests/sin-inputs: Likewise.
1392 * benchtests/sinh-inputs: Likewise.
1393 * benchtests/tan-inputs: Likewise.
1394 * benchtests/tanh-inputs: Likewise.
1395 * scripts/bench.pl: Add support for new directives.
1396
9ec1b13d
AM
13972013-10-07 Alan Modra <amodra@gmail.com>
1398
1399 * README: Fix careless merge.
1400
8b7d57cd
AM
14012013-10-05 Alan Modra <amodra@gmail.com>
1402
1403 * NEWS: Mention powerpc64le support and bugs fixed.
1404 * README: Both big-endian and little-endian powerpc64 supported.
1405
7b7bab13
ST
14062013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1407
1408 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1409 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1410 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1411 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1412
d39baad1
RA
14132013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1414
1415 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1416 match prototype.
1417
cd78f7e7
JM
14182013-10-04 Joseph Myers <joseph@codesourcery.com>
1419
29d73d86
JM
1420 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1421 Move -mhard-float appending from
1422 ports/sysdeps/powerpc/powerpc32/Makefile.
1423 [$(with-fp) = yes] (ASFLAGS): Likewise.
1424 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1425 * sysdeps/powerpc/nofpu: Move directory from
1426 ports/sysdeps/powerpc/nofpu.
1427 * sysdeps/powerpc/soft-fp: Move directory from
1428 ports/sysdeps/powerpc/soft-fp.
1429 * sysdeps/powerpc/powerpc32/405: Move directory from
1430 ports/sysdeps/powerpc/powerpc32/405.
1431 * sysdeps/powerpc/powerpc32/440: Move directory from
1432 ports/sysdeps/powerpc/powerpc32/440.
1433 * sysdeps/powerpc/powerpc32/464: Move directory from
1434 ports/sysdeps/powerpc/powerpc32/464.
1435 * sysdeps/powerpc/powerpc32/476: Move directory from
1436 ports/sysdeps/powerpc/powerpc32/476.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1438 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1440 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1442 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1444 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1446 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1447 * README: Update for powerpc-*-linux-gnu software floating point
1448 support in libc.
1449
e246b347
JM
1450 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1451 case to powerpc/powerpc32*.
1452 * sysdeps/unix/sysv/linux/configure: Regenerated.
1453
89c2003e
JM
1454 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1455 (_FPU_MASK_OM): Define as 0x04.
1456 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1457 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1458 0x00c10080.
1459 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1460 0x0000003c.
1461 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1462
cd78f7e7
JM
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1464 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1465 getcontext_e500.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1467 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1468 setcontext_e500.
1469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1470 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1471 and setcontext_e500.
1472
c755294d
CL
14732013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1474
1475 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1476
e16d221c
SP
14772013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1478
1479 * manual/threads.texi (Default Thread Attributes): Fix typo.
1480
215c7d43
WN
14812013-10-04 Will Newton <will.newton@linaro.org>
1482
1483 * malloc/Makefile: Add tst-memalign.
1484 * malloc/tst-memalign.c: New file.
1485
27d0461b
WN
1486 * malloc/tst-posix_memalign.c: Add comments.
1487 (do_test): Add comments and call free on all potentially
1488 allocated pointers. Add space after cast.
1489
1bc92709
WN
1490 * malloc/tst-pvalloc.c: Add comments.
1491 (do_test): Add comments and call free on all potentially
1492 allocated pointers. Remove duplicate check for NULL pointer.
1493 Add space after cast.
1494
66a9be9d
WN
1495 * malloc/tst-valloc.c: Add comments.
1496 (do_test): Add comments and call free on all potentially
1497 allocated pointers. Remove duplicate check for NULL pointer.
1498 Add space after cast.
1499
4cb81307
AM
15002013-10-04 Alan Modra <amodra@gmail.com>
1501
1502 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1503 Use stdint types in rather than __attribute__((mode())).
1504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1505
f8e3e9f3
AM
15062013-10-04 Alan Modra <amodra@gmail.com>
1507
1508 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1509 Correct handling of unaligned relocs for little-endian.
1510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1511
8f9ebb08
AM
15122013-10-04 Alan Modra <amodra@gmail.com>
1513
1514 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1515 * configure: Regenerate.
1516 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1517 * shlib-versions: Likewise.
1518
0edf96c2
AM
15192013-10-04 Alan Modra <amodra@gmail.com>
1520
1521 * string/tester.c (test_memrchr): Increment reported test cycle.
1522
e0f7a380
AM
15232013-10-04 Alan Modra <amodra@gmail.com>
1524
1525 * string/test-memcpy.c (do_one_test): When reporting errors, print
1526 string address and don't overrun end of string.
1527
466b0393
AM
15282013-10-04 Alan Modra <amodra@gmail.com>
1529
1530 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1531 insrdi. Make better use of reg selection to speed exit slightly.
1532 Schedule entry path a little better. Remove useless "are we done"
1533 checks on entry to main loop. Handle wrapping around zero address.
1534 Correct main loop count. Handle single left-over word from main
1535 loop inline rather than by using loop_small. Remove extra word
1536 case in loop_small caused by wrong loop count. Add little-endian
1537 support.
1538 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1539 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1540 cache hint.
1541 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1542 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1543 support. Avoid rlwimi.
1544 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1545
3be87c77
AM
15462013-10-04 Alan Modra <amodra@gmail.com>
1547
1548 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1549 insrdi. Formatting.
3be87c77
AM
1550 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1551 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1552 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1553 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1554 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1555 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1556
759cfef3
AM
15572013-10-04 Alan Modra <amodra@gmail.com>
1558
1559 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1560 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1561 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1562 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1563 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1564 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1565 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1566 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1567 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1568 use of regs. Use power7 mtocrf. Tidy function tails.
1569
fe6e95d7
AM
15702013-10-04 Alan Modra <amodra@gmail.com>
1571
1572 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1573 Formatting. Consistently use rXXX register defines or rN defines.
1574 Use early exit labels that avoid restoring unused non-volatile regs.
1575 Make cr field use more consistent with rWORDn compares. Rename
1576 regs used as shift registers for unaligned loop, using rN defines
1577 for short lifetime/multiple use regs.
1578 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1579 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1580 addi 1,1,64 to pop stack frame. Simplify return value code.
1581 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1582
664318c3
AM
15832013-10-04 Alan Modra <amodra@gmail.com>
1584
1585 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1586 support. Correct typos, formatting. Optimize tail. Use insrdi
1587 rather than rlwimi.
1588 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1589 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1590 little-endian support. Correct typos.
1591 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1592 rather than rlwimi.
1593 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1594 in loop and entry code to keep "and." results.
1595 (strchr): Add little-endian support. Comment. Move cntlzd
1596 earlier in tail.
1597 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1598
43b84013
AM
15992013-10-04 Alan Modra <amodra@gmail.com>
1600
1601 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1602 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1603 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1604 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1605
8a7413f9
AM
16062013-10-04 Alan Modra <amodra@gmail.com>
1607
1608 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1609 (rTMP): Define as r11.
1610 (strcmp): Add little-endian support. Optimise tail.
1611 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1612 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1613 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1614 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1615 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1616 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1617 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1618
33ee81de
AM
16192013-10-04 Alan Modra <amodra@gmail.com>
1620
1621 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1622 little-endian support. Remove unnecessary "are we done" tests.
1623 Handle "s" wrapping around zero and extremely large "size".
1624 Correct main loop count. Handle single left-over word from main
1625 loop inline rather than by using small_loop. Correct comments.
1626 Delete "zero" tail, use "end_max" instead.
1627 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1628
db9b4570
AM
16292013-10-04 Alan Modra <amodra@gmail.com>
1630
1631 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1632 support. Don't branch over align.
1633 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1634 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1635 support. Rearrange tmp reg use to suit. Comment.
1636 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1637
f7c399cf
AM
16382013-10-04 Alan Modra <amodra@gmail.com>
1639
1640 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1641
0b2c2ace
AM
16422013-10-04 Alan Modra <amodra@gmail.com>
1643
1644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1645 conditional form of branch and link when obtaining pc.
1646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1647
02f04a6c
AM
16482013-10-04 Alan Modra <amodra@gmail.com>
1649
1650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1651 HIWORD/LOWORD.
1652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1654
9b874b2f
AM
16552013-10-04 Alan Modra <amodra@gmail.com>
1656
1657 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1658 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1659 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1660 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1661 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1662 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1663 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1664 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1665 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1666 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1667
be1e5d31
AB
16682013-10-04 Anton Blanchard <anton@au1.ibm.com>
1669 Alistair Popple <alistair@ozlabs.au.ibm.com>
1670 Alan Modra <amodra@gmail.com>
1671
1672 [BZ #15723]
1673 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1674 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1675 _dl_hwcap access for little-endian.
1676 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1677 destroy vmx regs when saving unaligned.
1678 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1679 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1680 destroy vmx regs when saving unaligned.
1681
fef13a78
AM
16822013-10-04 Alan Modra <amodra@gmail.com>
1683
1684 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1685 Don't use a union to pack hi/low value.
1686
76a66d51
AB
16872013-10-04 Anton Blanchard <anton@au1.ibm.com>
1688
1689 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1690 for little-endian.
1691 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1692 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1693 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1694 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1695 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1696
6a31fe7f
AM
16972013-10-04 Alan Modra <amodra@gmail.com>
1698
1699 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1700 constants to usual value for .cst8 section, and remove redundant
1701 high address load.
1702 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1703 constant for 0x1p52. Load little-endian words of double from
1704 correct stack offsets.
1705
7b88401f
AM
17062013-10-04 Alan Modra <amodra@gmail.com>
1707
1708 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1709 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1710 words of double from correct stack offsets.
1711 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1712 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1713 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1714 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1715 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1716 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1717 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1718 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1719 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1720 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1721 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1722 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1723 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1724 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1725 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1726 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1727 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1728
9c008155
AM
17292013-10-04 Alan Modra <amodra@gmail.com>
1730
1731 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1732 64-bit int/double union.
1733 (_FPU_SETCW): Likewise.
1734 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1735 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1736
da13146d
AM
17372013-10-04 Alan Modra <amodra@gmail.com>
1738
1739 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1740 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1741
603e8410
AM
17422013-10-04 Alan Modra <amodra@gmail.com>
1743
1744 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1745 use vector int constants.
1746 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1747
4a28b3ca
AB
17482013-10-04 Anton Blanchard <anton@au1.ibm.com>
1749
1750 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1751 array with long long.
1752 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1753 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1754 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1755 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1756 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1757 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1758 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1759 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1760 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1761 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1762 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1763 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1764 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1765
2ca85d2b
AB
17662013-10-04 Anton Blanchard <anton@au1.ibm.com>
1767
1768 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1769 (__signbit): Likewise. Correct for little-endian.
1770 (__signbitl): Call __signbit.
1771 (lrint): Correct for little-endian.
1772 (lrintf): Call lrint.
1773
62a728ae
AM
17742013-10-04 Alan Modra <amodra@gmail.com>
1775
1776 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1777 union 32-bit int array member with 64-bit int array.
1778 (t515, tm256): Double rather than long double.
1779 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1780
32c301df
AM
17812013-10-04 Alan Modra <amodra@gmail.com>
1782
1783 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1784 Delete.
1785 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1786 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1787 version of math_ldbl.h.
1788
650ef4bd
AM
17892013-10-04 Alan Modra <amodra@gmail.com>
1790
1791 [BZ #15734], [BZ #15735]
1792 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1793 all uses of ieee875 long double macros and unions. Simplify test
1794 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1795 ldbl_extract_mantissa value for ix,iy exponents. Properly
1796 normalize after ldbl_extract_mantissa, and don't add hidden bit
1797 already handled. Don't treat low word of ieee854 mantissa like
1798 low word of IBM long double and mask off bit when testing for
1799 zero.
1800 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1801 all uses of ieee875 long double macros and unions. Simplify tests
1802 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1803 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1804 two1022, instead use their values. Recognise that tests for large
1805 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1806 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1807 Rewrite all uses of ieee875 long double macros and unions. Simplify
1808 test for 0.0L and nan. Correct negation.
1809 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1810 ieee875 long double macros and unions. Correct output for large
1811 magnitude x. Correct absolute value calculation.
1812 (__erfcl): Likewise.
1813 * math/libm-test.inc: Add tests for errors discovered in IBM long
1814 double versions of fmodl, remainderl, erfl and erfcl.
1815
765714ca
AM
18162013-10-04 Alan Modra <amodra@gmail.com>
1817
1818 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1819 all uses of ieee854 long double macros and unions. Simplify tests
1820 for long doubles that are fully specified by the high double.
1821 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1822 Likewise.
1823 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1824 Remove dead code too.
1825 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1826 (__ieee754_ynl): Likewise.
1827 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1828 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1829 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1830 Remove dead code too.
1831 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1832 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1833 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1834 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1835 Simplify.
1836 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1837 Simplify.
1838 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1839 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1840 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1841 Comment on variable precision.
1842 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1843 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1844 Likewise.
1845 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1846 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1847 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1848 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1849 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1850
4ebd120c
AM
18512013-10-04 Alan Modra <amodra@gmail.com>
1852
1853 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1854 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1855 all uses of ieee854 long double macros and unions.
1856 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1857 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1858 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1859 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1860 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1861 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1862 Likewise.
1863 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1864 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1865 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1866 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1867 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1868 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1869 Simplify sign and nan test too.
1870 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1871 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1872 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1873 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1874 Likewise.
1875 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1876 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1877 Likewise.
1878 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1879 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1880 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1881 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1882 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1884
1b6adf88
AM
18852013-10-04 Alan Modra <amodra@gmail.com>
1886
1887 * stdio-common/printf_size.c (__printf_size): Don't use
1888 union ieee854_long_double in fpnum union.
1889 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1890 signbit macro to retrieve sign from long double.
1891 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1892 retrieve sign from long double.
1893 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1894 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1895 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1896 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1897 * math/test-misc.c (main): Don't use union ieee854_long_double.
1898
4cf69995
AM
18992013-10-04 Alan Modra <amodra@gmail.com>
1900
1901 [BZ #15680]
1902 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1903 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1904 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1905 calculation. Remove unnecessary test for denormal exponent.
1906 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1907 Correct handling of denormals. Avoid undefined shift behaviour.
1908 Correct normalisation of low mantissa when low double is denormal.
1909 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1910 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1911 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1912 Correct normalisation of low mantissa. Test for overflow of high
1913 mantissa and normalise.
1914 (ldbl_nearbyint): Use more readable constant for two52.
1915 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1916 (__mpn_construct_long_double): Fix test for overflow of high
1917 mantissa and correct normalisation. Avoid undefined shift.
1918
9605ca6c
AM
19192013-10-04 Alan Modra <amodra@gmail.com>
1920
1921 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1922 (union ibm_extended_long_double): Define as an array of ieee754_double.
1923 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1924 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1925 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1926 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1929 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1930 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1932 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1933 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1934
975569d0
JM
19352013-10-03 Joseph Myers <joseph@codesourcery.com>
1936
d3d23756
JM
1937 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1938 page size instead of calling getpagesize.
1939
975569d0
JM
1940 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1941 (LOCFILE_ALIGN_MASK): Likewise.
1942 (LOCFILE_ALIGN_UP): Likewise.
1943 (LOCFILE_ALIGNED_P): Likewise.
1944 * locale/programs/ld-collate.c (collate_output): Use the new
1945 macros instead of __alignof__ (int32_t).
1946 * locale/weight.h (findidx): Likewise.
1947
b1fe1f2b
OB
19482013-10-03 Ondřej Bílka <neleai@seznam.cz>
1949
1950 [BZ #431]
1951 * manual/string.texi: Fix strncat and wcsncat.
1952
5f855e35
BM
19532013-10-03 Brooks Moses <bmoses@google.com>
1954
1955 [BZ #15915]
1956 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1957 * Makerules: ...here, and adjust associated comments.
1958
3cef6009
WN
19592013-10-02 Will Newton <will.newton@linaro.org>
1960
1961 * malloc/Makefile: Add tst-pvalloc.
1962 * malloc/tst-pvalloc.c: New file.
1963
7815420b
WN
19642013-10-02 Will Newton <will.newton@linaro.org>
1965
1966 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1967 improve test coverage.
1968
4868b204
WN
19692013-10-02 Will Newton <will.newton@linaro.org>
1970
1971 * malloc/Makefile: Add tst-posix_memalign.
1972 * malloc/tst-posix_memalign.c: New file.
1973
29c793b3
EB
19742013-10-01 Eric Blake <eblake@redhat.com>
1975
1976 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1977 Use __THROWNL rather than __THROW on static functions.
1978
fd967522
PM
19792013-09-30 Petr Machata <pmachata@redhat.com>
1980
1981 * elf/elf.h (R_AARCH64_ABS16): New macro.
1982 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1983 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1984 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1985 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1986 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1987 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1988 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1989 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1990 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1991 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1992 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1993 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1994 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1995 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1996 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1997 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1998 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1999 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2000 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2001 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2002 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2003 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2004 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2005 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2006 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2007 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2008 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2009 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2010 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2011 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2012 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2013 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2014 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2015 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2016 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2017 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2018 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2019 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2020 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2021 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2022 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2023 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2024 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2025 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2026 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2027 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2028 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2029 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2030 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2031 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2032 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2033 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2034 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2035 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2036 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2037 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2038 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2039 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2040 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2041 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2042 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2043 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2044 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2045 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2046 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2047 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2048 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2049 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2050 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2051 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2052 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2053 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2054 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2055 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2056 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2057 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2058 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2059 (R_AARCH64_TLSDESC_LDR): Likewise.
2060 (R_AARCH64_TLSDESC_ADD): Likewise.
2061 (R_AARCH64_TLSDESC_CALL): Likewise.
2062
b2179107
AS
20632013-09-30 Andreas Schwab <schwab@suse.de>
2064
2065 [BZ #15048]
2066 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2067 the nss database lookup.
2068 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2069 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2070
47f28d0a
MF
20712013-09-28 Mike Frysinger <vapier@gentoo.org>
2072
2073 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2074
20752013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
2076
2077 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2078 ${Bash-specific parameter/pattern/string} parameter expansion.
2079 * sysdeps/unix/make-syscalls.sh: Likewise.
2080
f4518a17
KK
20812013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2082
2083 * sysdeps/sh/stackguard-macros.h: New file.
2084
dc1a95c7
OB
20852013-09-26 Ondřej Bílka <neleai@seznam.cz>
2086
2087 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2088 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2089 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2090 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2091 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2092 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2093
5ebbff8f
AZ
20942013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2095
2096 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2097 Fix thread ID register.
2098
4fd2cf9f
JM
20992013-09-25 Joseph Myers <joseph@codesourcery.com>
2100
2101 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2102 [POSIX || UNIX98]: Require rather than permitting all symbols from
2103 <time.h>.
2104 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2105 element of struct sched_param.
2106 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2107 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2108 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2109 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2110 constant.
2111
12c22bc4
OL
21122013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2113
2114 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2115 argument calculation.
2116
a03d8ea7
JM
21172013-09-24 Joseph Myers <joseph@codesourcery.com>
2118
2119 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2120 Expect macro.
2121 [POSIX] (pthread_attr_t): Do not require type.
2122 [POSIX] (pthread_cond_t): Likewise.
2123 [POSIX] (pthread_condattr_t): Likewise.
2124 [POSIX] (pthread_key_t): Likewise.
2125 [POSIX] (pthread_mutex_t): Likewise.
2126 [POSIX] (pthread_mutexattr_t): Likewise.
2127 [POSIX] (pthread_once_t): Likewise.
2128 [POSIX] (pthread_t): Likewise.
2129 [POSIX-based standards] (pthread_atfork): Expect function.
2130
6055173a
JM
21312013-09-24 Joseph Myers <joseph@codesourcery.com>
2132 Richard Sandiford <richard@codesourcery.com>
2133
2134 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2135 (swap_endianness_p): New extern variable.
2136 (set_big_endian): New inline function.
2137 (maybe_swap_uint32): Likewise.
2138 (maybe_swap_uint32_array): Likewise.
2139 (maybe_swap_uint32_obstack): Likewise.
2140 * locale/programs/locfile.c: Include <stdbool.h>.
2141 (swap_endianness_p): New variable.
2142 (add_locale_uint32): Call maybe_swap_uint32.
2143 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2144 (write_locale_data): Call maybe_swap_uint32_array.
2145 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2146 maybe_swap_uint32.
2147 (obstack_int32_grow_fast): Likewise.
2148 (output_weightwc): Call maybe_swap_uint32_obstack.
2149 (collate_output): Likewise.
2150 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2151 (OPT_LITTLE_ENDIAN): Likewise.
2152 (options): Add --little-endian and --big-endian options.
2153 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2154 * locale/programs/locarchive.c: Include "locfile.h".
2155 (GET): New macro.
2156 (SET): Likewise.
2157 (INC): Likewise.
2158 (create_archive): Use the new macros to access fields of
2159 structures directly mapped from or written to locale archives.
2160 (oldlocrecentcmp): Likewise.
2161 (enlarge_archive): Likewise.
2162 (insert_name): Likewise.
2163 (add_alias): Likewise.
2164 (add_locale): Likewise.
2165 (delete_locales_from_archive): Likewise.
2166 (show_archive_content): Likewise.
2167 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2168 locale data.
2169
39bf0bb4
RM
21702013-09-24 Roland McGrath <roland@hack.frob.com>
2171
2172 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2173 http://www.gnu.org/doc/freemanuals.texi.
2174 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2175
f02eed10
WN
21762013-09-24 Will Newton <will.newton@linaro.org>
2177
2178 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2179 macro.
2180
a3a6c312
JM
21812013-09-23 Joseph Myers <joseph@codesourcery.com>
2182
2183 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2184 unsigned char.
2185
107375ac
MR
21862013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2187
2188 * manual/threads.texi (POSIX Threads): Fix a typo.
2189
141f3a77
SP
21902013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2191
303e567a
SP
2192 [BZ #14547]
2193 * string/tst-strcoll-overflow.c: New test case.
2194 * string/Makefile (xtests): Add tst-strcoll-overflow.
2195 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2196 cache if string sizes may cause integer overflow.
2197
141f3a77
SP
2198 [BZ #14547]
2199 * string/strcoll_l.c (coll_seq): New members rule, idx,
2200 save_idx and back_us.
2201 (get_next_seq_nocache): New function.
2202 (do_compare_nocache): New function.
2203 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2204 when malloc fails.
2205
c61b4d41
CD
22062013-09-23 Carlos O'Donell <carlos@redhat.com>
2207
0b1f8e35
CD
2208 [BZ #15754]
2209 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2210 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2211 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2212
c61b4d41
CD
2213 [BZ #15754]
2214 * elf/Makefile (tests): Add tst-ptrguard1.
2215 (tests-static): Add tst-ptrguard1-static.
2216 (tst-ptrguard1-ARGS): Define.
2217 (tst-ptrguard1-static-ARGS): Define.
2218 * elf/tst-ptrguard1.c: New file.
2219 * elf/tst-ptrguard1-static.c: New file.
2220 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2221 * sysdeps/i386/stackguard-macros.h: Likewise.
2222 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2223 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2224 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2225 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2226 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2227 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2228
22292013-09-23 Hector Marco <hecmargi@upv.es>
2230 Ismael Ripoll <iripoll@disca.upv.es>
2231 Carlos O'Donell <carlos@redhat.com>
2232
2233 [BZ #15754]
2234 * sysdeps/generic/stackguard-macros.h: Define
2235 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2236 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2237 Define __pointer_chk_guard_local.
2238 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2239 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2240
f5f4e7b4
VV
22412013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2242
2243 [BZ #15859]
2244 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2245
5bb43a43
AS
22462013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2247
2248 * include/string.h (__ffs): Declare as hidden.
2249 * string/ffs.c (__ffs): Define as hidden.
2250 * sysdeps/i386/ffs.c (__ffs): Likewise.
2251 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2252 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2253 * sysdeps/s390/ffs.c (__ffs): Likewise.
2254 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2255
3ea5be54
AO
22562013-09-20 Alexandre Oliva <aoliva@redhat.com>
2257
ffb89e53
AO
2258 * NEWS: Mention malloc probes.
2259
322dea08
AO
2260 * malloc/arena.c (new_heap): New memory_heap_new probe.
2261 (grow_heap): New memory_heap_more probe.
2262 (shrink_heap): New memory_heap_less probe.
2263 (heap_trim): New memory_heap_free probe.
2264 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2265 (systrim): New memory_sbrk_less probe.
2266 * manual/probes.texi: Document them.
2267
655673f3
AO
2268 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2269 * manual/probes.texi: Document it.
2270
35fed6f1
AO
2271 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2272 (__libc_realloc): Add memory_realloc_retry probe.
2273 (__libc_memalign): Add memory_memalign_retry probe.
2274 (__libc_valloc): Add memory_valloc_retry probe.
2275 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2276 (__libc_calloc): Add memory_calloc_retry probe.
2277 * manual/probes.texi: Document them.
2278
6999d38c
AO
2279 * malloc/arena.c (get_free_list): Add probe
2280 memory_arena_reuse_free_list.
2281 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2282 and memory_arena_reuse.
2283 (arena_get2) [!PER_THREAD]: Likewise.
2284 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2285 memory_arena_reuse_realloc.
2286 * manual/probes.texi: Document them.
2287
0653427f
AO
2288 * malloc/malloc.c (__libc_free): Add
2289 memory_mallopt_free_dyn_thresholds probe.
2290 (__libc_mallopt): Add multiple memory_mallopt probes.
2291 * manual/probes.texi: Document them.
2292
3ea5be54
AO
2293 * malloc/malloc.c: Include stap-probe.h.
2294 (__libc_mallopt): Add memory_mallopt probe.
2295 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2296 * manual/probes.texi: New.
2297 * manual/Makefile (chapters): Add probes.
2298 * manual/threads.texi: Set next node.
2299
e35696c3 23002013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2301
e35696c3
CL
2302 [BZ #15963, #13985]
2303 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2304 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2305 Add `Chinese' to `nan' entry name.
2306
4aafb73c
SP
23072013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2308
2309 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2310 (POLYNOMIAL): Likewise.
2311 (TAYLOR_SINCOS): Likewise.
2312 (TAYLOR_SLOW): Likewise.
2313 (__sin): Use TAYLOR_SINCOS.
2314 (__cos): Likewise.
2315 (slow): Use TAYLOR_SLOW.
2316 (sloww): Likewise.
2317 (bsloww): Likewise.
2318 (csloww): Likewise.
2319
d84f25c7
LD
23202013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2321
2322 * stdlib/strtod_l.c: Fix buffer overrun.
2323
5eea0404
SP
23242013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2325
7849ff93
SP
2326 * benchtests/Makefile (bench): Add sincos.
2327 * benchtests/bench-sincos.c: New file.
2328
cfa3c886
SP
2329 * math/libm-test.inc (cos_test_data): New test inputs.
2330 (sin_test_data): Likewise.
2331
b348e1e3
SP
2332 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2333 macro.
2334 (__sin): Use it.
2335 (__cos): Likewise.
2336 (slow1): Likewise.
2337 (slow2): Likewise.
2338 (sloww1): Likewise.
2339 (sloww2): Likewise.
2340 (bsloww1): Likewise.
2341 (bsloww2): Likewise.
2342 (cslow2): Likewise.
2343 (csloww1): Likewise.
2344 (csloww2): Likewise.
2345
6cce25f8
SP
2346 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2347 function.
2348 (__sin): Use it.
2349 (__cos): Likewise.
2350
5eea0404
SP
2351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2352 gotos.
2353 (__cos): Likewise.
2354
9c21573c
MR
23552013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2356
2357 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2358 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2359 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2360 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2361 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2362 * elf/cache.c (print_entry): Handle the new cache flags.
2363
24d22e65
JM
23642013-09-18 Joseph Myers <joseph@codesourcery.com>
2365 Aldy Hernandez <aldyh@redhat.com>
2366
2367 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2368 Change condition to [_SOFT_FLOAT].
2369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2372 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2373 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2374 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2377 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2379 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2381 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2382 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2383 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2384 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2385 declaration.
2386
d13ef066
JM
23872013-09-18 Joseph Myers <joseph@codesourcery.com>
2388
2e071de0
JM
2389 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2390 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2391 (__longjmp): Use LOAD_GP to load saved GPRs.
2392 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2393 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2394 (__sigsetjmp): Use SAVE_GP to save GPRs.
2395
d13ef066
JM
2396 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2397 Do not append -msoft-float.
2398 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2399
97a0650b
SP
24002013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2401
2402 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2403
11ca09e9
JM
24042013-09-17 Joseph Myers <joseph@codesourcery.com>
2405
2406 [BZ #15966]
2407 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2408 (_FPU_GETCW): Use initial "__" on variable and field names but not
2409 on macro parameter name.
2410 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2411 parentheses around reference to macro parameter.
2412
08ffcf34
RS
24132013-09-13 Richard Sandiford <richard@codesourcery.com>
2414
2415 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2416 prototype.
2417 (ctype_startup): Use uint32_t in cast and sizeof for
2418 ctype->charnames.
2419
ae7080d3
JL
24202013-09-11 Jia Liu <proljc@gmail.com>
2421
2422 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2423 __daddr_t_defined.
2424 [__FreeBSD__]: Likewise.
2425
5905e7b3
OB
24262013-09-11 Ondřej Bílka <neleai@seznam.cz>
2427
2428 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2429 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2430 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2431 (strchr): Remove __strchr_sse42 ifunc selection.
2432 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2433 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2434
b987c776
WN
24352013-09-11 Will Newton <will.newton@linaro.org>
2436
2437 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2438 parameter to RES. Remove hardcoded 1000 value.
2439 * benchtests/bench-skeleton.c (main): Pass RES parameter
2440 to TIMING_INIT and multiply result by 1000.
2441
ddf985af
AZ
24422013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2443
2444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2445
ffdd3181
AS
24462013-09-11 Andreas Schwab <schwab@suse.de>
2447
2448 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2449 if not defined.
2450 (O_TMPFILE) [__USE_GNU]: Define.
2451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2452 Define.
2453
b73ed247
WN
24542013-09-11 Will Newton <will.newton@linaro.org>
2455
2456 [BZ #15857]
2457 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2458 does not overflow.
2459
55e17aad
WN
24602013-09-11 Will Newton <will.newton@linaro.org>
2461
2462 [BZ #15856]
2463 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2464 does not overflow.
2465
1159a193
WN
24662013-09-11 Will Newton <will.newton@linaro.org>
2467
2468 [BZ #15855]
2469 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2470 does not overflow.
2471
5905e7b3 24722013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2473
2474 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2475 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2476 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2477 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2478 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2479
cdfc721b
AM
24802013-09-10 Allan McRae <allan@archlinux.org>
2481
aa04af00
AM
2482 [BZ #15748]
2483 * manual/arith.texi (Parsing of Floats): Clarify
2484 cross-reference.
2485
cdfc721b
AM
2486 [BZ #15849]
2487 * manual/install.texi (Running make install): Mention
2488 --enable-pt-chown.
2489 * INSTALL: Regenerated.
2490
95e7cf29
MR
24912013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2492
2493 * csu/init-first.c (_init): Remove the !SHARED condition around
2494 FPU control word initialization.
2495 * elf/dl-support.c (_dl_fpu_control): New variable.
2496 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2497 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2498 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2499 * math/test-fpucw-static.c: New file.
2500 * math/test-fpucw-ieee.c: New file.
2501 * math/test-fpucw-ieee-static.c: New file.
2502 * math/Makefile (tests): Add `test-fpucw-ieee' and
2503 `$(tests-static)'.
2504 (tests-static): New variable.
2505 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2506 dependency to...
2507 [($(build-shared),yes)]
2508 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2509 ... this.
2510 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2511 New dependency.
2512
83e43bf0
AM
25132013-09-09 Allan McRae <allan@archlinux.org>
2514
a9f5ce09
AM
2515 [BZ #15939]
2516 * manual/string.texi (Collation Functions): Fix typo in
2517 strcoll example.
2518 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2519
34829bc2
AM
2520 [BZ #15893]
2521 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2522
3932737d
AM
2523 [BZ #15892]
2524 * libio/memstream.c (open_memstream): Fix memory leak.
2525 * libio/wmemstream.c (open_wmemstream): Likewise.
2526
83e43bf0
AM
2527 [BZ #15895]
2528 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2529
0c66b8e9
WN
25302013-09-09 Will Newton <will.newton@linaro.org>
2531
2532 * malloc/Makefile: Add tst-realloc to tests.
2533 * malloc/tst-realloc.c: New file.
2534
f6b00fd1
AM
25352013-09-09 Allan McRae <allan@archlinux.org>
2536
2537 [BZ #15844]
2538 * COPYING: Update from GNU website to fix FSF address.
2539 * COPYING.LIB: Likewise.
2540
eec55e16
DM
25412013-09-06 David S. Miller <davem@davemloft.net>
2542
2543 * po/zh_TW.po: Update Chinese (traditional) translation from
2544 translation project.
2545
1ecbb381
RS
25462013-09-06 Richard Sandiford <richard@codesourcery.com>
2547 Joseph Myers <joseph@codesourcery.com>
2548
2549 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2550 "localeinfo.h".
2551 (obstack_chunk_alloc): New macro.
2552 (obstack_chunk_free): Likewise.
2553 (record_offset): New function.
2554 (init_locale_data): Likewise.
2555 (align_locale_data): Likewise.
2556 (add_locale_empty): Likewise.
2557 (add_locale_raw_data): Likewise.
2558 (add_locale_raw_obstack): Likewise.
2559 (add_locale_string): Likewise.
2560 (add_locale_wstring): Likewise.
2561 (add_locale_uint32): Likewise.
2562 (add_locale_uint32_array): Likewise.
2563 (add_locale_char): Likewise.
2564 (start_locale_structure): Likewise.
2565 (end_locale_structure): Likewise.
2566 (start_locale_prelude): Likewise.
2567 (end_locale_prelude): Likewise.
2568 (write_locale_data): Take locale_file structure rather than an
2569 iovec.
2570 * locale/programs/locfile.h: Include "obstack.h".
2571 (struct locale_file): Change to store locale file contents instead
2572 of header.
2573 (init_locale_data): New prototype.
2574 (align_locale_data): Likewise.
2575 (add_locale_empty): Likewise.
2576 (add_locale_raw_data): Likewise.
2577 (add_locale_raw_obstack): Likewise.
2578 (add_locale_string): Likewise.
2579 (add_locale_wstring): Likewise.
2580 (add_locale_uint32): Likewise.
2581 (add_locale_uint32_array): Likewise.
2582 (add_locale_char): Likewise.
2583 (start_locale_structure): Likewise.
2584 (end_locale_structure): Likewise.
2585 (start_locale_prelude): Likewise.
2586 (end_locale_prelude): Likewise.
2587 (write_locale_data): Update prototype.
2588 * locale/programs/3level.h (struct TABLE): Remove result field.
2589 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2590 Use new locale_file interface.
2591 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2592 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2593 * locale/programs/ld-address.c (address_output): Use new
2594 locale_file interface.
2595 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2596 NO_ADD_LOCALE.
2597 (collate_finish): Don't call collseq_table_finalize.
2598 (collate_output): Use new locale_file interface.
2599 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2600 in file.
2601 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2602 (TABLE): Move defines earlier in file.
2603 (ELEMENT): Likewise.
2604 (DEFAULT): Likewise.
2605 (wctrans_table_add): Move macro and inline function earlier in
2606 file.
2607 (struct wctype_table): Move type earlier in file.
2608 (add_locale_wctype_table): New static prototype.
2609 (struct locale_ctype_t): Use logical types instead of struct iovec
2610 pointers for members.
2611 (ctype_output): Use new locale_file interface.
2612 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2613 new locale_file interface.
2614 (allocate_arrays): Update for use of new locale_file interface.
2615 * locale/programs/ld-identification.c (identification_output): Use
2616 new locale_file interface.
2617 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2618 * locale/programs/ld-messages.c (messages_output): Likewise.
2619 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2620 * locale/programs/ld-name.c (name_output): Likewise.
2621 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2622 * locale/programs/ld-paper.c (paper_output): Likewise.
2623 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2624 * locale/programs/ld-time.c (time_output): Likewise.
2625
e029e2e5
AZ
26262013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2627
2628 * benchtests/Makefile: Add memrchr benchmark.
2629 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2630 benchmark as memrchr.
2631 * benchtests/bench-memrchr-ifunc.c: New file.
2632 * benchtests/bench-memrchr.c: New file.
2633
bbf6e8e4
WN
26342013-09-06 Will Newton <will.newton@linaro.org>
2635
2636 * benchtests/Makefile (string-bench): Add memcpy.
2637
6c82a2f8
CD
26382013-09-05 Carlos O'Donell <carlos@redhat.com>
2639 Cong Wang <amwang@redhat.com>
2640
2641 * sysdeps/unix/sysv/linux/bits/in.h
2642 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2643 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2644 before __USE_KERNEL_IPV6_DEFS uses.
2645 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2646 IPPROTO_BEETPH.
2647 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2648 sockaddr_in6, or ipv6_mreq.
2649
5430fc65
AZ
26502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2651
2652 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2653 memory access for final bytes in some large inputs.
2654 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2655
4660856c
AZ
26562013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2657
2658 * string/test-memrchr.c: New file.
2659 * string/test-memrchr-ifunc.c: New file.
2660 * string/Makefile: Add new memrchr testcase.
2661
bb8ea713
MF
26622013-09-05 Mike Frysinger <vapier@gentoo.org>
2663
2664 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2665 fanotify_init returns EPERM.
2666
b92a20b5
JM
26672013-09-04 Joseph Myers <joseph@codesourcery.com>
2668
2669 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2670 errors.
2671 (top level): Treat second token from macro or constant entries for
2672 allowed headers as allowed.
2673 * include/complex.h: Condition internal declarations on
2674 [!_ISOMAC].
2675 * include/fenv.h: Condition include of <stdbool.h> and internal
2676 declarations on [!_ISOMAC].
7447ccd9
CL
2677
26782013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2679
3e181dda 2680 [BZ #15923]
7447ccd9
CL
2681 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2682
3f2e46a4
JM
26832013-09-04 Joseph Myers <joseph@codesourcery.com>
2684
2685 * configure.in (--enable-versioning): Remove configure option.
2686 (libc_cv_asm_symver_directive): Remove configure test.
2687 (libc_cv_ld_version_script_option): Likewise.
2688 (VERSIONING): Remove variable and AC_SUBST.
2689 (DO_VERSIONING): Remove AC_DEFINE.
2690 * configure: Regenerated.
2691 * config.h.in (DO_VERSIONING): Remove macro.
2692 * Makerules [$(versioning) = yes]: Change conditionals to
2693 [$(build-shared) = yes].
2694 * config.make.in (versioning): Remove variable.
2695 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2696 [$(build-shared) = yes].
2697 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2698 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2699 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2700 [$(build-shared) = yes].
2701 * extra-lib.mk [$(versioning) = yes]: Likewise.
2702 * hurd/Makefile [$(versioning) = yes]: Likewise.
2703 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2704 [SHARED].
2705 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2706 [SHARED].
2707 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2708 [SHARED && !NO_HIDDEN].
2709 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2710 [SHARED].
2711 [SHARED && DO_VERSIONING]: Likewise..
2712 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2713 [$(build-shared) = yes].
2714 * manual/install.texi (--disable-versioning): Remove
2715 documentation.
2716 * INSTALL: Regenerated.
2717 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2718 to [SHARED].
2719 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2720 [$(build-shared) = yes].
2721 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2722 * sysdeps/i386/i686/multiarch/strstr-c.c
2723 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2724 [SHARED && !NO_HIDDEN].
2725 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2726 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2727 * sysdeps/powerpc/powerpc32/dl-machine.c
2728 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2729 * sysdeps/powerpc/powerpc32/sysdep.h
2730 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2731 to [SHARED && PIC && !NO_HIDDEN].
2732 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2733 conditional to [SHARED].
2734
44558701
WN
27352013-09-04 Will Newton <will.newton@linaro.org>
2736
2737 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2738 * benchtests/bench-string.h: Include bench-timing.h instead
2739 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2740 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2741 call to HP_TIMING_DIFF_INIT.
2742 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2743 instead of hp-timing.h macros.
2744 * benchtests/bench-memchr.c: Likewise.
2745 * benchtests/bench-memcmp.c: Likewise.
2746 * benchtests/bench-memcpy.c: Likewise.
2747 * benchtests/bench-memmem.c: Likewise.
2748 * benchtests/bench-memmove.c: Likewise.
2749 * benchtests/bench-memset.c: Likewise.
2750 * benchtests/bench-rawmemchr.c: Likewise.
2751 * benchtests/bench-strcasecmp.c: Likewise.
2752 * benchtests/bench-strcasestr.c: Likewise.
2753 * benchtests/bench-strcat.c: Likewise.
2754 * benchtests/bench-strchr.c: Likewise.
2755 * benchtests/bench-strcmp.c: Likewise.
2756 * benchtests/bench-strcpy.c: Likewise.
2757 * benchtests/bench-strcpy_chk.c: Likewise.
2758 * benchtests/bench-strlen.c: Likewise.
2759 * benchtests/bench-strncasecmp.c: Likewise.
2760 * benchtests/bench-strncat.c: Likewise.
2761 * benchtests/bench-strncmp.c: Likewise.
2762 * benchtests/bench-strncpy.c: Likewise.
2763 * benchtests/bench-strnlen.c: Likewise.
2764 * benchtests/bench-strpbrk.c: Likewise.
2765 * benchtests/bench-strrchr.c: Likewise.
2766 * benchtests/bench-strspn.c: Likewise.
2767 * benchtests/bench-strstr.c: Likewise.
2768
cae16d66
WN
27692013-09-04 Will Newton <will.newton@linaro.org>
2770
2771 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2772
ffa3cd7f
JM
27732013-09-03 Joseph Myers <joseph@codesourcery.com>
2774
2775 [BZ #15427]
2776 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2777 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2778 * math/libm-test.inc (lgamma_test_data): Add more tests.
2779 * sysdeps/i386/fpu/libm-test-ulps: Update.
2780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2781
8f02859f
OB
27822013-09-03 Ondřej Bílka <neleai@seznam.cz>
2783
2784 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2786 Add ifunc.
2787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2788 Add strcmp-sse2-unaligned
2789 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2790
18d43716
MF
27912013-09-02 Mike Frysinger <vapier@gentoo.org>
2792
2793 * Versions.def (libc): Add GLIBC_2.19.
2794
ac444012
MF
27952013-09-02 Mike Frysinger <vapier@gentoo.org>
2796
2797 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2798 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2799
b7835e32
JM
28002013-09-02 Joseph Myers <joseph@codesourcery.com>
2801
2802 [BZ #14155]
2803 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2804 intermediate calculations in recurrence.
2805 (__ieee754_ynf): Likewise.
2806 * math/libm-test.inc (jn_test_data): Do not allow spurious
2807 underflow exception. Add more tests.
2808 (yn_test_data): Add more tests.
2809 * sysdeps/i386/fpu/libm-test-ulps: Update.
2810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2811
8220f4f0
OB
28122013-09-02 Ondřej Bílka <neleai@seznam.cz>
2813
2814 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2815
f24a6d08
OB
28162013-08-30 Ondřej Bílka <neleai@seznam.cz>
2817
2818 * csu/init-first.c: Fix then/than typos.
2819 * locale/programs/ld-collate.c: Likewise.
2820 * locale/programs/linereader.h: Likewise.
2821 * manual/charset.texi: Likewise.
2822 * manual/filesys.texi: Likewise.
2823 * manual/stdio.texi: Likewise.
2824 * manual/string.texi: Likewise.
2825 * stdlib/fmtmsg.c: Likewise.
2826 * sysdeps/i386/stpncpy.S: Likewise.
2827 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2828 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2829 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2830 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2831
382466e0
OB
28322013-08-30 Ondřej Bílka <neleai@seznam.cz>
2833
2834 * elf/dl-open.c: Fix typos.
2835 * iconvdata/gbbig5.c: Likewise.
2836 * iconvdata/iso-2022-jp.c: Likewise.
2837 * iconv/gconv_int.h: Likewise.
2838 * iconv/loop.c: Likewise.
2839 * nis/rpcsvc/nis.h: Likewise.
2840 * resolv/ns_name.c: Likewise.
2841 * stdio-common/vfscanf.c: Likewise.
2842 * streams/stropts.h: Likewise.
2843 * sunrpc/rpc_thread.c: Likewise.
2844 * sysdeps/i386/strpbrk.S: Likewise.
2845 * sysdeps/ieee754/k_standard.c: Likewise.
2846 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2847 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2848 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2849 * sysdeps/mach/hurd/profil.c: Likewise.
2850 * sysdeps/s390/dl-procinfo.h: Likewise.
2851 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2852 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2853 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2854 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2855 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2856
0186c6e9
OB
28572013-08-30 Ondřej Bílka <neleai@seznam.cz>
2858
2859 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2860 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2861
d4e16af1
OB
28622013-08-29 Ondřej Bílka <neleai@seznam.cz>
2863
2864 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2865 aix specific files.
2866 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2867 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2868 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2869 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2870 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2871 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2872 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2873 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2874
88335980
TS
28752013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2876 Roland McGrath <roland@hack.frob.com>
2877
2878 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2879 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2880
ed479b02
ST
28812013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2882
2883 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2884 __executable_start symbol instead of _start.
2885
f1cc4c86
TS
28862013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2887
d821f07c
TS
2888 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2889 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2890 Move macros to...
2891 * sysdeps/gnu/ldsodefs.h: ... this new file.
2892
c54290cf
TS
2893 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2894 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2895 instead of ELFOSABI_LINUX.
2896
0007fc9b 2897 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2898 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2899 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2900 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2901 Likewise.
2902 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2903 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2904 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2905 Likewise.
2906 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2907 (ibm_extended_long_double): Add ieee_nan member.
2908 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2909 (do_test): New function.
2910
f1cc4c86
TS
2911 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2912 TEST_TRUNC.
2913 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2914 functions, renamed from truncdfsf_test, trunctfsf_test,
2915 trunctfdf_test.
2916 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2917 functions.
2918 (do_test): Run all these.
2919
6f65e668
OB
29202013-08-29 Ondřej Bílka <neleai@seznam.cz>
2921
2922 * argp/argp-help.c: Fix typos.
2923 * argp/argp-parse.c: Likewise.
2924 * debug/backtracesyms.c: Likewise.
2925 * elf/elf.h: Likewise.
2926 * malloc/malloc.c: Likewise.
2927 * nis/nis_print.c: Likewise.
2928 * resolv/res_comp.c: Likewise.
2929 * stdlib/stdlib.h: Likewise.
2930 * sunrpc/clnt_tcp.c: Likewise.
2931 * sunrpc/clnt_udp.c: Likewise.
2932 * sunrpc/clnt_unix.c: Likewise.
2933 * sysdeps/unix/bsd/ptsname.c: Likewise.
2934 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2935 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2937 Likewise.
2938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2939 Likewise.
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2941 Likewise.
6f65e668
OB
2942 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2943
3a309239
SP
29442013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2945
2946 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2947 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2948
3b813b29
MF
29492013-08-27 Mike Frysinger <vapier@gentoo.org>
2950
2951 [BZ #15897]
2952 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2953 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2954 ($(objpfx)bug-dl-leaf): New rule.
2955 ($(objpfx)bug-dl-leaf.so): Likewise.
2956 ($(objpfx)bug-dl-leaf.out): Likewise.
2957 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2958 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2959 * dlfcn/bug-dl-leaf.c: New test.
2960 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2961 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2962 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2963 (dlclose): Likewise.
2964 (dlmopen): Likewise.
2965
8cc3269f
RM
29662013-08-27 Roland McGrath <roland@hack.frob.com>
2967
7f9d0034
RM
2968 * include/netdb.h [!_ISOMAC]:
2969 Don't include <tls.h>.
2970 (h_errno, __libc_h_errno): Move declaration and macros out of
2971 [_LIBC_REENTRANT].
2972
fb431262
RM
2973 * include/resolv.h [_RESOLV_H_]:
2974 Don't include <tls.h>.
2975 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2976 * resolv/res_libc.c: Don't include <tls.h>.
2977 (_res): Use __attribute__ ((nocommon)) in place of
2978 __attribute__ ((section (".bss"))).
2979
bd81123a
RM
2980 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2981 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2982
c4e42566
RM
2983 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2984
f890a59b
RM
2985 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2986 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2987
2988 * resolv/res_mkquery.c: Include <sys/time.h>.
2989
5d1f0a09
RM
2990 * inet/ifreq.c: Moved to ...
2991 * sysdeps/unix/ifreq.c: ... here.
2992 * inet/ifreq.c: New file, true stub version.
2993
6fcf28b3
RM
2994 * socket/sa_len.c: New file.
2995 * socket/Makefile (aux): Add it.
2996 * sysdeps/unix/sysv/linux/Makefile
2997 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2998 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2999 and #include <socket/sa_len.c>.
3000 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3001 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3002
e041fb8b
RM
3003 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3004 * bits/socket.h: ... here.
3005
8cc3269f
RM
3006 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3007 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3008 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3009
5d228a43
AS
30102013-08-27 Andreas Schwab <schwab@suse.de>
3011
45b8accc
AS
3012 [BZ #15736]
3013 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3014 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3015 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3016 * string/test-strcasecmp.c (test_main): Run tests in several
3017 locales.
3018 * string/test-strncasecmp.c (test_main): Likewise.
3019
5d228a43
AS
3020 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3021 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3022 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3024 (__strncasecmp_ssse3) [PIC]: Likewise.
3025
59d112a4
RM
30262013-08-26 Roland McGrath <roland@hack.frob.com>
3027
53234cc3
RM
3028 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3029
59d112a4
RM
3030 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3031 instead of explicitly declaring xdecrypt.
3032 * nis/nss_nis/nis-publickey.c: Likewise.
3033
595aba70
SP
30342013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3035
3036 [BZ #15890]
3037 * nscd/aicache.c: Include res_hconf.h.
3038 (addhstaiX): Initialize res_hconf.
3039
ffabd393
AS
30402013-08-26 Andreas Schwab <schwab@suse.de>
3041
3042 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3043 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3044
e0a69f5c
SP
30452013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3046
3047 * nscd/aicache.c (addhstaiX): Fix indentation.
3048
8c12f01d
MF
30492013-08-25 Mike Frysinger <vapier@gentoo.org>
3050
3051 * configure.ac: Quote $build_pt_chown test.
3052 * configure: Regenerated.
3053
8fe89494
JM
30542013-08-23 Joseph Myers <joseph@codesourcery.com>
3055
3056 [BZ #15532]
3057 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3058 * math/s_cexpf.c (__cexpf): Likewise.
3059 * math/s_cexpl.c (__cexpl): Likewise.
3060 * math/libm-test.inc (cexp_test_data): Correct expected return
3061 value for NaN + i0. Add another test.
3062
75b181d6
DM
30632013-08-22 David S. Miller <davem@davemloft.net>
3064
3065 * po/ca.po: Update Catalan translation from translation project.
936241e4 3066 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 3067
acd06bb1
JM
30682013-08-21 Joseph Myers <joseph@codesourcery.com>
3069
3070 [BZ #15797]
3071 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3072 is infinite, not alongside NaN test.
3073 * math/s_fdimf.c (__fdimf): Likewise.
3074 * math/s_fdiml.c (__fdiml): Likewise.
3075 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3076 errno is unchanged.
3077
c0c3f78a
OB
30782013-08-21 Ondřej Bílka <neleai@seznam.cz>
3079
3080 * argp/argp-help.c: Fix typos.
3081 * crypt/speeds.c: Likewise.
3082 * csu/check_fds.c: Likewise.
3083 * elf/dl-load.c: Likewise.
3084 * elf/dl-open.c: Likewise.
3085 * elf/reldep3.c: Likewise.
3086 * elf/reldep.c: Likewise.
3087 * elf/sprof.c: Likewise.
3088 * iconv/iconv_charmap.c: Likewise.
3089 * iconv/skeleton.c: Likewise.
3090 * iconv/strtab.c: Likewise.
3091 * io/lockf64.c: Likewise.
3092 * libio/libioP.h: Likewise.
3093 * resolv/gai_notify.c: Likewise.
3094 * resolv/ns_name.c: Likewise.
3095 * resolv/ns_samedomain.c: Likewise.
3096 * resolv/res_send.c: Likewise.
3097 * stdlib/random.c: Likewise.
3098 * sunrpc/rpc/xdr.h: Likewise.
3099 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3100 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3101 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3102 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3103 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3104 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3105 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3106 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3107 * sysdeps/mach/hurd/check_fds.c: Likewise.
3108 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3109 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3110 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3111 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3112 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3113 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3114 * sysdeps/pthread/aio_notify.c: Likewise.
3115 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3116 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3117 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3118 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3119 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3120
46ed1038
LD
31212013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3122
3123 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3124 version if bit_Slow_SSE4_2 is set.
3125 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3126 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3127
d400dcac
AZ
31282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3129
3130 [BZ #15867]
3131 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3132 trampoline stack frame information.
3133 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3134 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3135 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3136 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3137 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3138 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3139 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3140 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3141 sa_flags value.
3142 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3143 interrupting a syscall and set with option SA_SIGINFO.
3144
42c8fdd8
JM
31452013-08-20 Joseph Myers <joseph@codesourcery.com>
3146
c980f2f4
JM
3147 [BZ #15531]
3148 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3149 argument is infinite.
3150 * math/s_cprojf.c (__cprojf): Likewise.
3151 * math/s_cprojl.c (__cprojl): Likewise.
3152 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3153 * math/libm-test.inc (cproj_test_data): Add more tests.
3154
0716c4fc
JM
3155 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3156
42c8fdd8
JM
3157 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3158 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3159 size. Use __ffs to determine corresponding shift.
3160
b31469d0
JM
31612013-08-20 Joseph Myers <joseph@codesourcery.com>
3162 Roland McGrath <roland@hack.frob.com>
3163
3164 * Makefile (INSTALL): Remove trailing blank lines from output of
3165 makeinfo.
3166
4e39af6e
AK
31672013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3168
3169 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3170 Align 32 bit compat elf_greg to 8 bytes.
3171
f315524e
AA
31722013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3173
3174 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3175
1326ba1a
SP
31762013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3177
3178 * string/strcoll_l.c (coll_seq): New structure.
3179 (get_next_seq_cached): New function.
3180 (get_next_seq): New function.
3181 (do_compare): New function.
3182 (STRCOLL): Use GNU style definition. Simplify implementation
3183 by using get_next_seq, get_next_seq_cached and do_compare.
3184
91ce4085
FW
31852013-08-16 Florian Weimer <fweimer@redhat.com>
3186
3187 [BZ #14699]
3188 CVE-2013-4237
3189 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3190 member.
3191 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3192 member.
3193 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3194 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3195 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3196 conditional.
3197 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3198 GETDENTS_64BIT_ALIGNED.
3199 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3200 * manual/filesys.texi (Reading/Closing Directory): Document
3201 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3202 strongly.
3203 * manual/conf.texi (Limits for Files): Add portability note to
3204 NAME_MAX, PATH_MAX.
3205 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3206
ca0a6bc4
AS
32072013-08-13 Andreas Schwab <schwab@suse.de>
3208
3209 [BZ #15749]
3210 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3211 of fabs.
3212 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3213 LDBL_MAX_EXP >= 16384]: Add tests for it.
3214
6c1fd795
DM
32152013-08-12 David S. Miller <davem@davemloft.net>
3216
3217 * version.h (RELEASE): Set to "development".
3218 (VERSION): Set to "2.18.90".
3219 * NEWS: Add 2.19 section.
3220
31ad488d
DM
32212013-08-03 David S. Miller <davem@davemloft.net>
3222
3223 * po/ko.po: Update Korean translation from translation project.
3224
db24e684
DM
32252013-08-01 David S. Miller <davem@davemloft.net>
3226
3227 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3228 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3229 Bilka.
3230
f723285b
DM
32312013-07-30 David S. Miller <davem@davemloft.net>
3232
3233 * po/fr.po: Update French translation from translation project.
3234
3cbc52db
DM
32352013-07-28 David S. Miller <davem@davemloft.net>
3236
30bbc0cc
DM
3237 * po/cs.po: Update Czech translation from translation project.
3238
3cbc52db
DM
3239 * po/sv.po: Update Swedish translation from translation project.
3240
d492e6d0
DM
32412013-07-27 David S. Miller <davem@davemloft.net>
3242
f1a7f492
DM
3243 * po/eo.po: Update Esperanto translation from translation project.
3244
90e62a4a
DM
3245 * po/vi.po: Update Vietnamese translation from translation project.
3246
d492e6d0
DM
3247 * po/de.po: Update German translation from translation project.
3248
d4baa62d
DM
32492013-07-26 David S. Miller <davem@davemloft.net>
3250
641aa7b4
DM
3251 * po/bg.po: Update Bulgarian translation from translation project.
3252
d4baa62d
DM
3253 * po/nl.po: Update Dutch translation from translation project.
3254 * po/pl.po: Update Polish translation from translation project.
3255 * po/ru.po: Update Russian translation from translation project.
3256
61a9dcb9
DM
32572013-07-24 David S. Miller <davem@davemloft.net>
3258
3259 * po/libc.pot: Update.
3260
7b1f8b58
AZ
32612013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3262
3263 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3264 variable page size.
3265 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3266 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3267 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3268
a8fc7a03
AK
32692013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3270
3271 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3272
e4608715
CD
32732013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3274 Andreas Schwab <schwab@suse.de>
3275 Roland McGrath <roland@hack.frob.com>
3276 Joseph Myers <joseph@codesourcery.com>
3277 Carlos O'Donell <carlos@redhat.com>
3278
3279 [BZ #15755]
3280 * config.h.in: Define HAVE_PT_CHOWN.
3281 * config.make.in (build-pt-chown): New variable.
3282 * configure.in (--enable-pt_chown): New configure option.
3283 * configure: Regenerate.
3284 * login/Makefile: Include Makeconfig. Build pt_chown only if
3285 build-pt-chown is enabled.
3286 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3287 pt_chown to fix pty ownership.
3288 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3289 CLOSE_ALL_FDS.
3290 * manual/install.texi (Configuring and compiling): Mention
3291 --enable-pt_chown. Add @findex for grantpt.
3292 * INSTALL: Regenerate.
3293
da2d62df
DM
32942013-07-20 David S. Miller <davem@davemloft.net>
3295
3296 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3297 difference between 32-bit and 64-bit.
3298
d7e06450
CD
32992013-07-15 Carlos O'Donell <carlos@redhat.com>
3300
3301 [BZ #15711]
3302 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3303 Avoid system header dependency with -ffreestanding.
3304 ($(objpfx)bits/syscall%d): Likewise.
3305
f959cfd7
DM
33062013-07-13 David S. Miller <davem@davemloft.net>
3307
3308 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3309 underflows from atanl/atan2l due to bug 15319.
3310 (casinh_test_data): Likewise.
3311
c61f8513
DM
33122013-07-07 David S. Miller <davem@davemloft.net>
3313
3314 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3315
72c90ed0
JA
33162013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3317
3318 * sysdeps/i386/fpu/libm-test-ulps: Update.
3319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3320
52dfbe13
SP
33212013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3322
3323 * configure.in (--enable-lock-elision): Fix message text.
3324 * INSTALL: Regenerate.
3325 * configure: Regenerate.
3326
3f169543
AZ
33272013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3328
3329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3330
521c6785
AJ
33312013-07-03 Andreas Jaeger <aj@suse.de>
3332
3333 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3334 define.
3335 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3336 (ptrace_peeksiginfo_args): Add.
3337 (__ptrace_peeksiginfo_flags): Add.
3338 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3339 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3340 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3341
d2cc15cb
AM
33422013-07-03 Allan McRae <allan@archlinux.org>
3343
3344 * sysdeps/i386/fpu/libm-test-ulps: Update.
3345
3aaeeca7
DM
33462013-07-02 David S. Miller <davem@davemloft.net>
3347
3348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3349
5314ed1a
MT
33502013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3351
3352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3353
67338156
JM
33542013-07-02 Joseph Myers <joseph@codesourcery.com>
3355
3356 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3358
1717da59
AK
33592013-07-02 Andi Kleen <ak@linux.intel.com>
3360
3361 * config.h.in (ENABLE_LOCK_ELISION): Add.
3362 * configure.in (--enable-lock-elision): Add option.
3363 * manual/install.texi: Document --enable lock elision.
3364 * configure: Regenerate
3365 * INSTALL: Regenerate.
3366
1c81621c
L
33672013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3368
3369 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3370 SSE4.2 strcasecmp for libc.a.
3371 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3372
77f01ab5
JM
33732013-07-02 Joseph Myers <joseph@codesourcery.com>
3374
3375 [BZ #13304]
3376 * soft-fp/op-common.h (_FP_FMA): New macro.
3377 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3378 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3379 (_FP_MUL_MEAT_1_imm): ... here.
3380 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3381 (_FP_MUL_MEAT_1_wide): ... here.
3382 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3383 (_FP_MUL_MEAT_1_hard): ... here.
3384 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3385 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3386 (_FP_MUL_MEAT_2_wide): ... here.
3387 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3388 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3389 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3390 (_FP_MUL_MEAT_2_gmp): ... here.
3391 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3392 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3393 (_FP_MUL_MEAT_4_wide): ... here.
3394 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3395 (_FP_MUL_MEAT_4_gmp): ... here.
3396 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3397 (_FP_WFRACBITS_DW_S): Likewise.
3398 (_FP_WFRACXBITS_DW_S): Likewise.
3399 (_FP_HIGHBIT_DW_S): Likewise.
3400 (FP_FMA_S): Likewise.
3401 (_FP_FRAC_HIGH_DW_S): Likewise.
3402 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3403 (_FP_WFRACBITS_DW_D): Likewise.
3404 (_FP_WFRACXBITS_DW_D): Likewise.
3405 (_FP_HIGHBIT_DW_D): Likewise.
3406 (FP_FMA_D): Likewise.
3407 (_FP_FRAC_HIGH_DW_D): Likewise.
3408 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3409 (_FP_WFRACBITS_DW_E): Likewise.
3410 (_FP_WFRACXBITS_DW_E): Likewise.
3411 (_FP_HIGHBIT_DW_E): Likewise.
3412 (FP_FMA_E): Likewise.
3413 (_FP_FRAC_HIGH_DW_E): Likewise.
3414 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3415 (_FP_WFRACBITS_DW_Q): Likewise.
3416 (_FP_WFRACXBITS_DW_Q): Likewise.
3417 (_FP_HIGHBIT_DW_Q): Likewise.
3418 (FP_FMA_Q): Likewise.
3419 (_FP_FRAC_HIGH_DW_Q): Likewise.
3420 * soft-fp/fmasf4.c: New file.
3421 * soft-fp/fmadf4.c: Likewise.
3422 * soft-fp/fmatf4.c: Likewise.
3423
6308fd9a
LD
34242013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3425
3426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3427 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3428 Silvermont.
3429 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3430 macro.
3431 (index_Slow_SSE4_2): Likewise.
3432 (index_Prefer_PMINUB_for_stringop): Likewise.
3433 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3434 bit_Slow_SSE4_2 is set.
3435 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3436 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3437
89cd9569
RA
34382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3439
3440 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3441 rtld_global._dl_hwcap2.
3442 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3443 POWER8.
3444 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3445 POWER8 feature descriptions defined in _dl_hwcap2.
3446 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3447 string handling for POWER8 feature bits.
3448 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3449 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3450 _dl_powerpc_cap_flags.
3451 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3452 * sysdeps/powerpc/rtld-global-offsets.sym
3453 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3454 _dl_hwcap2 in the rtld_global_ro structure.
3455
1ae8bfe0
RA
34562013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3457
3458 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3459 hardware capabilities in support of AT_HWCAP2.
3460 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3461 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3462 GLRO(dl_hwcap2).
3463 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3464 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3465 explicitly the unknown a_type display mechanism is used.
3466 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3467 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3468 struct member.
3469 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3470 to macro prototype for AT_HWCAP2 support.
3471 * sysdeps/i386/dl-procinfo.h: Likewise.
3472 * sysdeps/s390/dl-procinfo.h: Likewise.
3473 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3474 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3475 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3476 return -1 for unknown a_type display fallback.
3477 * sysdeps/sparc/dl-procinfo.h: Likewise.
3478 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3479 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3480
8fbec010
JM
34812013-06-28 Joseph Myers <joseph@codesourcery.com>
3482
3483 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3484 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3485
0432680e
PY
34862013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3487
3488 [BZ #12492]
3489 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3490 mprotect making __stack_prot writable.
3491
ce61a2ad
NF
34922013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3493 Joseph Myers <joseph@codesourcery.com>
3494
3495 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3496 as being properly aligned.
3497
f91f1c0f
MR
34982013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3499
3d0f5d0c
MR
3500 * dlfcn/modstatic5.c: New file.
3501 * dlfcn/tststatic5.c: New file.
3502 * dlfcn/Makefile (tests): Add tststatic5.
3503 (tests-static): Likewise.
3504 (modules-names): Add modstatic5.
3505 (tststatic5-ENV): New variable.
3506 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3507
f91f1c0f
MR
3508 [BZ #15022]
3509 * elf/dl-support.c (_dl_main_map): New variable.
3510 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3511 (_dl_nns, _dl_load_adds): Set to 1.
3512 (_dl_initial_searchlist): Refer to _dl_main_map.
3513 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3514 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3515 call to _dl_get_origin.
3516 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3517 around call_map.
3518 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3519 * dlfcn/modstatic3.c: New file.
3520 * dlfcn/tststatic3.c: New file.
3521 * dlfcn/tststatic4.c: New file.
3522 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3523 (tests-static): Likewise.
3524 (modules-names): Add modstatic3.
3525 (tststatic3-ENV, tststatic4-ENV): New variables.
3526 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3527 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3528
cbe7d24b
JM
35292013-06-26 Joseph Myers <joseph@codesourcery.com>
3530
3531 * configure.in (CC): Require GCC version 4.4 or later.
3532 * configure: Regenerated.
3533 * manual/install.texi (Tools for Compilation): Update GCC version
3534 requirement.
3535 * INSTALL: Regenerated.
3536
11b8a0e1
LD
35372013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3538
3539 [BZ #15674]
bb5bb87c
L
3540 * string/test-memcmp.c (check2): New.
3541 (main): Call check2.
3542
11b8a0e1
LD
3543 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3544
b0037103
MR
35452013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3546
3547 [BZ #15022]
3548 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3549 over to...
3550 (dl_open_worker) [!SHARED]: ... here.
3551
c18c701d
RA
35522013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3553
3554 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3555
1d17fa5f
RH
35562013-06-25 Richard Henderson <rth@redhat.com>
3557
3558 * locale/programs/locarchive.c: Include <libc-internal.h>
3559
8fcb833a
JM
35602013-06-25 Joseph Myers <joseph@codesourcery.com>
3561
3562 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3563 trailing whitespace removed.
3564
17db6e8d
MF
35652013-06-24 Mike Frysinger <vapier@gentoo.org>
3566
3567 [BZ #10283]
17db6e8d
MF
3568 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3569 * locale/programs/locarchive.c: Include libc-mmap.h.
3570 (prepare_address_space): Take two new outputs (the mmap base and len).
3571 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3572 values.
3573 (create_archive): Declare new mmap base and len values for
3574 prepare_address_space, and store the result in ah.
3575 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3576 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3577 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3578 Declare new mmap base and len values for
3579 prepare_address_space, and store the result in new_ah.
3580 (open_archive): Declare new mmap base and len values for
3581 prepare_address_space, and store the result in ah.
3582 (close_archive): If ah->mmap_base is not NULL, use that and
3583 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3584 * sysdeps/generic/libc-mmap.h: New file.
3585
d605071e
MF
35862013-06-24 Mike Frysinger <vapier@gentoo.org>
3587
3588 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3589 (ALIGN_UP): Likewise.
3590 (PTR_ALIGN_DOWN): Likewise.
3591 (PTR_ALIGN_UP): Likewise.
3592
2f063a6e
RA
35932013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3594
3595 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3596 entry mapped to PPC_PLATFORM_POWER8.
3597 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3598 POWER8.
3599 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3600 (_dl_string_platform): Add case for exporting platform position for
3601 POWER8.
3602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3603 search path to sysdeps/powerpc/powerpc32/power8 directory.
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3605 search path to sysdeps/powerpc/powerpc64/power8 directory.
3606 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3607 power7 directories.
3608 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3609 power7 directories.
3610
a31ee4b3
SP
36112013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3612
a74ca98f
SP
3613 * INSTALL: Regenerate.
3614
a31ee4b3
SP
3615 * nscd/connections.c (nscd_init): Fix comment.
3616
695c378f
JM
36172013-06-22 Joseph Myers <joseph@codesourcery.com>
3618
d8412221
JM
3619 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3620
695c378f
JM
3621 [BZ #15667]
3622 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3623 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3624
d1d54715
MR
36252013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3626
3627 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3628 DL_DST_REQ_STATIC.
3629 (DL_DST_REQ_STATIC): Remove macro.
3630
8fdda7af
JM
36312013-06-21 Joseph Myers <joseph@codesourcery.com>
3632
3633 [BZ #7006]
3634 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3635 with a shift of 0 bits.
3636
f3bc5e5a
MR
36372013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3638
3639 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3640 $(tststatic-ENV).
3641
be09e8c9
KK
36422013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3643
3644 [BZ #15655]
3645 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3646
85c2e611
AZ
36472013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3648
3649 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3650 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3651 accepts -fno-tree-loop-distribute-patterns.
3652 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3653 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3654 recursive call.
3655 * string/memset.c (memset): Likewise.
3656 * string/test-memmove.c (simple_memmove): Disable loop transformation
3657 to library calls.
3658 * string/test-memset.c (simple_memset): Likewise.
3659 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3660 * benchtests/bench-memset.c (simple_memset): Likewise.
3661 * configure: Regenerated.
3662
c91e0825
JM
36632013-06-20 Joseph Myers <joseph@codesourcery.com>
3664
b8c792af
JM
3665 * math/test-misc.c (main): Ignore fesetround failure when failures
3666 of subsequent rounding tests would be ignored.
3667
c91e0825
JM
3668 [BZ #15654]
3669 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3670 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3671 * math/fegetenv.c (__fegetenv): Return 0.
3672 * math/fegetexcept.c (fegetexcept): Return 0.
3673 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3674 FE_TONEAREST.
3675 * math/feholdexcpt.c (feholdexcept): Return 0.
3676 * math/fesetenv.c (__fesetenv): Return 0.
3677 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3678 argument FE_TONEAREST.
3679 * math/feupdateenv.c (__feupdateenv): Return 0.
3680 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3681
bfcacbde
RM
36822013-06-18 Roland McGrath <roland@hack.frob.com>
3683
3684 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3685 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3686 ($(objpfx)rtld-%.os rules): Use them.
3687
e55a9b25
AZ
36882013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3689
3690 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3691 fields.
3692
346d65b3
RM
36932013-06-17 Roland McGrath <roland@hack.frob.com>
3694
12086fb4
RM
3695 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3696 length of target pattern, then descending length of dependency pattern.
3697 * configure.in (AWK): Require gawk 3.1.2 or newer.
3698 * manual/install.texi (Tools for Compilation): Say that we do.
3699 * configure: Regenerated.
3700
346d65b3
RM
3701 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3702 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3703 * scripts/sysd-rules.awk: ... this new script.
3704 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3705 than a glob-style pattern.
3706
1a846317
JM
37072013-06-17 Joseph Myers <joseph@codesourcery.com>
3708
3709 * math/test-misc.c (main): Do not treat incorrectly rounded
3710 conversions as failure unless ROUNDING_TESTS passes.
3711
8fc75e6f
JM
37122013-06-15 Joseph Myers <joseph@codesourcery.com>
3713
3711a167
JM
3714 [BZ #15631]
3715 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3716 restore exception state around main square root computation, then
3717 check for inexactness explicitly.
3718
8fc75e6f
JM
3719 * math/libm-test.inc (fma_test_data): Add another test.
3720
61dd6208
SP
37212013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3722
adf23d2c
SP
3723 * manual/threads.texi (Non-POSIX Extensions): New document
3724 node. Document pthread_getattr_default_np and
3725 pthread_setattr_default_np.
3726
61dd6208
SP
3727 * Versions.def (libpthread): Add GLIBC_2.18.
3728 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3730 Likewise.
3731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3732 Likewise.
3733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3734 Likewise.
3735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3736 Likewise.
3737 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3738 Likewise.
3739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3740 Likewise.
3741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3742 Likewise.
3743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3744 Likewise.
3745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3746 Likewise.
3747
d086fc7b
LD
37482013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3749
3750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3751 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3752
747ef469
SP
37532013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3754 H.J. Lu <hjl.tools@gmail.com>
3755
3756 [BZ #15627]
3757 * sysdeps/x86_64/rtld-memset.c: Remove file.
3758 * sysdeps/x86_64/rtld-memset.S: New file.
3759
1b2feed2
JM
37602013-06-14 Joseph Myers <joseph@codesourcery.com>
3761
3762 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3763 (test_in_one_mode): Take arguments for whether the rounding mode
3764 is supported for each floating-point type.
3765 (do_test): Pass new arguments to test_in_one_mode using
3766 ROUNDING_TESTS.
3767
a58ad3f8
RM
37682013-06-13 Roland McGrath <roland@hack.frob.com>
3769
3770 * posix/tst-waitid.c (do_test): Distinguish different instances of
3771 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3772 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3773 before entering the kernel for waitpid.
3774
c204ab28
SP
37752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3776
3777 * NEWS: Fix note on clock function precision. Text by Roland
3778 McGrath.
3779
f4a29fba
RM
37802013-06-13 Roland McGrath <roland@hack.frob.com>
3781
3782 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3783 it into place only when and if the sanity check passes.
3784
1f24b9ad
JM
37852013-06-13 Joseph Myers <joseph@codesourcery.com>
3786
3787 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3788 output for whether conversion result is exact. Take argument
3789 indicating whether type is IBM long double.
3790 (round_for_all): Change need_exact field to ibm_ld.
3791 * stdlib/tst-strtod-round.c (struct exactness): New type.
3792 (struct test): Change bool ld_ok field to struct exactness exact.
3793 (TEST): Update all definitions for change to field.
3794 (tests): Regenerate array contents.
3795 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3796 field value. Check for IBM long double here.
3797 (do_test): Update calls to test_in_one_mode.
3798
58206c68
SP
37992013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3800
3801 [BZ #12515]
3802 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3803 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3804
2d6f4c5b 38052013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3806
3807 [BZ #15605]
3808 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3809 generated by the compiler on loop optimizations.
3810 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3811 general definitions.
3812
94f2c076
JM
38132013-06-12 Joseph Myers <joseph@codesourcery.com>
3814
3815 * math/bug-nextafter.c: Include <math-tests.h>.
3816 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3817 the relevant type.
3818 * math/bug-nexttoward.c: Include <math-tests.h>.
3819 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3820 the relevant type.
3821 * math/test-misc.c: Include <math-tests.h>.
3822 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3823 the relevant type.
3824
e0e50a0a
AJ
38252013-06-12 Andreas Jaeger <aj@suse.de>
3826
3827 * po/ia.po: Update Interlingua translation from translation
3828 project.
3829
25061094
SP
38302013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3831
3832 * include/fenv.h: Include stdbool.h.
3833 (struct rm_ctx): New structure.
3834 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3835 Define macro.
3836 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3837 (SET_RESTORE_ROUNDF): Likewise.
3838 (SET_RESTORE_ROUNDL): Likewise.
3839 (SET_RESTORE_ROUND_NOEX): Likewise.
3840 (SET_RESTORE_ROUND_NOEXF): Likewise.
3841 (SET_RESTORE_ROUND_NOEXL): Likewise.
3842 (SET_RESTORE_ROUND_53BIT): Likewise.
3843 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3844 (libc_feresetround_noexf_ctx): Likewise.
3845 (libc_feresetround_noexl_ctx): Likewise.
3846 (libc_feholdsetround_53bit_ctx): Likewise.
3847 (libc_feresetround_53bit_ctx): Likewise.
3848 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3849 (libc_feholdexcept_setround_sse_ctx): New function.
3850 (libc_fesetenv_sse_ctx): Likewise.
3851 (libc_feupdateenv_sse_ctx): Likewise.
3852 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3853 (libc_feholdexcept_setround_387_ctx): Likewise.
3854 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3855 (libc_feholdsetround_387_prec_ctx): Likewise.
3856 (libc_feholdsetround_387_ctx): Likewise.
3857 (libc_feholdsetround_387_53bit_ctx): Likewise.
3858 (libc_feholdsetround_sse_ctx): Likewise.
3859 (libc_feresetround_sse_ctx): Likewise.
3860 (libc_feresetround_387_ctx): Likewise.
3861 (libc_feupdateenv_387_ctx): Likewise.
3862 (libc_feholdexcept_setroundf_ctx): Define macro.
3863 (libc_fesetenvf_ctx): Likewise.
3864 (libc_feupdateenvf_ctx): Likewise.
3865 (libc_feholdsetroundf_ctx): Likewise.
3866 (libc_feresetroundf_ctx): Likewise.
3867 (libc_feholdexcept_setround_ctx): Likewise.
3868 (libc_fesetenv_ctx): Likewise.
3869 (libc_feupdateenv_ctx): Likewise.
3870 (libc_feholdsetround_ctx): Likewise.
3871 (libc_feresetround_ctx): Likewise.
3872 (libc_feholdexcept_setroundl_ctx): Likewise.
3873 (libc_feupdateenvl_ctx): Likewise.
3874 (libc_feholdsetroundl_ctx): Likewise.
3875 (libc_feresetroundl_ctx): Likewise.
3876 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3877 (libc_feresetround_53bit_ctx): Likewise.
3878
59b30555
SP
38792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3880
3881 * locale/iso-639.def: Convert to UTF-8.
3882
f1d73d30
JM
38832013-06-11 Joseph Myers <joseph@codesourcery.com>
3884
3885 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3886 (EXCEPTION_TESTS_double): Likewise.
3887 (EXCEPTION_TESTS_long_double): Likewise.
3888 (EXCEPTION_TESTS): Likewise.
3889 * math/libm-test.inc (test_exceptions): Only test exceptions if
3890 EXCEPTION_TESTS (FLOAT).
3891
94aca5e7
SP
38922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3893
3894 * benchtests/Makefile (string-bench): Add strcpy_chk and
3895 stpcpy_chk.
3896 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3897 * benchtests/bench-stpcpy_chk.c: New file.
3898 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3899 * benchtests/bench-strcpy_chk.c: New file.
3900 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3901 code.
3902 (do_test): Likewise.
3903
fac0c5f2
RA
39042013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3905
3906 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3907 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3908 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3909 with tabs where appropriate.
3910 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3911 dl-procinfo.h.
3912 [PPC_PLATFORM_PPC440]: Likewise.
3913 [PPC_PLATFORM_PPC464]: Likewise.
3914 [PPC_PLATFORM_PPC476]: Likewise.
3915 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3916 ppc464, and ppc476 platform strings merging from ports/
3917 dl-procinfo.h.
3918
f22bc486
AS
39192013-06-11 Andreas Schwab <schwab@suse.de>
3920
3921 [BZ #14991]
3922 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3923 (from_ucs4_idx): Regenerate.
3924 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3925 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3926 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3927 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3928 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3929 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3930 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3931 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3932 from FROM_LOOP and TO_LOOP specific macros.
3933 (BODY): Handle combining characters.
3934 * iconvdata/BIG5HKSCS.irreversible: Update.
3935 * iconvdata/BIG5HKSCS.precomposed: New file.
3936 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3937 characters.
3938 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3939
c1f75dc3
SP
39402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3941
4eacded2
SP
3942 * include/sys/time.h: Fix indentation and add copyright header.
3943
fec799f8
SP
3944 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3945 (do_test): Likewise.
3946 * string/test-memchr.c (do_one_test): Likewise.
3947 (do_test): Likewise.
3948 * string/test-memcmp.c (do_one_test): Likewise.
3949 (do_test): Likewise.
3950 * string/test-memcpy.c (do_one_test): Likewise.
3951 (do_test): Likewise.
3952 * string/test-memmem.c (do_one_test): Likewise.
3953 (do_test): Likewise.
3954 (do_random_tests): Likewise.
3955 * string/test-memmove.c (do_one_test): Likewise.
3956 (do_test): Likewise.
3957 * string/test-memset.c (do_one_test): Likewise.
3958 (do_test): Likewise.
3959 * string/test-rawmemchr.c (do_one_test): Likewise.
3960 (do_test): Likewise.
3961 * string/test-strcasecmp.c (do_one_test): Likewise.
3962 (do_test): Likewise.
3963 * string/test-strcasestr.c (do_one_test): Likewise.
3964 (do_test): Likewise.
3965 * string/test-strcat.c (do_one_test): Likewise.
3966 (do_test): Likewise.
3967 * string/test-strchr.c (do_one_test): Likewise.
3968 (do_test): Likewise.
3969 * string/test-strcmp.c (do_one_test): Likewise.
3970 (do_test): Likewise.
3971 * string/test-strcpy.c (do_one_test): Likewise.
3972 (do_test): Likewise.
3973 * string/test-string.h: Likewise.
3974 (test_init): Likewise.
3975 * string/test-strlen.c (do_one_test): Likewise.
3976 (do_test): Likewise.
3977 * string/test-strncasecmp.c (do_one_test): Likewise.
3978 (do_test): Likewise.
3979 * string/test-strncat.c (do_one_test): Likewise.
3980 (do_test): Likewise.
3981 * string/test-strncmp.c (do_one_test): Likewise.
3982 (do_test_limit): Likewise.
3983 (do_test): Likewise.
3984 * string/test-strncpy.c (do_one_test): Likewise.
3985 (do_test): Likewise.
3986 * string/test-strnlen.c (do_one_test): Likewise.
3987 (do_test): Likewise.
3988 * string/test-strpbrk.c (do_one_test): Likewise.
3989 (do_test): Likewise.
3990 * string/test-strrchr.c (do_one_test): Likewise.
3991 (do_test): Likewise.
3992 * string/test-strspn.c (do_one_test): Likewise.
3993 (do_test): Likewise.
3994 * string/test-strstr.c (do_one_test): Likewise.
3995 (do_test): Likewise.
3996
97020474
SP
3997 * benchtests/Makefile (string-bench): Add string benchmarks.
3998 * benchtests/bench-bcopy-ifunc.c: New file.
3999 * benchtests/bench-bcopy.c: New file.
4000 * benchtests/bench-bzero-ifunc.c: New file.
4001 * benchtests/bench-bzero.c: New file.
4002 * benchtests/bench-memccpy-ifunc.c: New file.
4003 * benchtests/bench-memccpy.c: New file.
4004 * benchtests/bench-memchr-ifunc.c: New file.
4005 * benchtests/bench-memchr.c: New file.
4006 * benchtests/bench-memcmp-ifunc.c: New file.
4007 * benchtests/bench-memcmp.c: New file.
4008 * benchtests/bench-memmem-ifunc.c: New file.
4009 * benchtests/bench-memmem.c: New file.
4010 * benchtests/bench-memmove-ifunc.c: New file.
4011 * benchtests/bench-memmove.c: New file.
4012 * benchtests/bench-mempcpy-ifunc.c: New file.
4013 * benchtests/bench-mempcpy.c: New file.
4014 * benchtests/bench-memset-ifunc.c: New file.
4015 * benchtests/bench-memset.c: New file.
4016 * benchtests/bench-rawmemchr-ifunc.c: New file.
4017 * benchtests/bench-rawmemchr.c: New file.
4018 * benchtests/bench-stpcpy-ifunc.c: New file.
4019 * benchtests/bench-stpcpy.c: New file.
4020 * benchtests/bench-stpncpy-ifunc.c: New file.
4021 * benchtests/bench-stpncpy.c: New file.
4022 * benchtests/bench-strcasecmp-ifunc.c: New file.
4023 * benchtests/bench-strcasecmp.c: New file.
4024 * benchtests/bench-strcasestr-ifunc.c: New file.
4025 * benchtests/bench-strcasestr.c: New file.
4026 * benchtests/bench-strcat-ifunc.c: New file.
4027 * benchtests/bench-strcat.c: New file.
4028 * benchtests/bench-strchr-ifunc.c: New file.
4029 * benchtests/bench-strchr.c: New file.
4030 * benchtests/bench-strchrnul-ifunc.c: New file.
4031 * benchtests/bench-strchrnul.c: New file.
4032 * benchtests/bench-strcmp-ifunc.c: New file.
4033 * benchtests/bench-strcmp.c: New file.
4034 * benchtests/bench-strcpy-ifunc.c: New file.
4035 * benchtests/bench-strcpy.c: New file.
4036 * benchtests/bench-strcspn-ifunc.c: New file.
4037 * benchtests/bench-strcspn.c: New file.
4038 * benchtests/bench-strlen-ifunc.c: New file.
4039 * benchtests/bench-strlen.c: New file.
4040 * benchtests/bench-strncasecmp-ifunc.c: New file.
4041 * benchtests/bench-strncasecmp.c: New file.
4042 * benchtests/bench-strncat-ifunc.c: New file.
4043 * benchtests/bench-strncat.c: New file.
4044 * benchtests/bench-strncmp-ifunc.c: New file.
4045 * benchtests/bench-strncmp.c: New file.
4046 * benchtests/bench-strncpy-ifunc.c: New file.
4047 * benchtests/bench-strncpy.c: New file.
4048 * benchtests/bench-strnlen-ifunc.c: New file.
4049 * benchtests/bench-strnlen.c: New file.
4050 * benchtests/bench-strpbrk-ifunc.c: New file.
4051 * benchtests/bench-strpbrk.c: New file.
4052 * benchtests/bench-strrchr-ifunc.c: New file.
4053 * benchtests/bench-strrchr.c: New file.
4054 * benchtests/bench-strspn-ifunc.c: New file.
4055 * benchtests/bench-strspn.c: New file.
4056 * benchtests/bench-strstr-ifunc.c: New file.
4057 * benchtests/bench-strstr.c: New file.
4058
c1f75dc3
SP
4059 * benchtests/Makefile: Disable parallel execution of targets.
4060 (string-bench): Add memcpy.
4061 (benchset): New variable to store a list of benchmark sets.
4062 (bench-func): Renamed from bench.
4063 (bench-set): New target.
4064 (bench): Depend on bench-func and bench-set.
4065 * benchtests/README: Add section on benchmark sets.
4066 * benchtests/bench-memcpy-ifunc.c: New file.
4067 * benchtests/bench-memcpy.c: New file.
4068 * benchtests/bench-string.h: New file.
4069
50fd745b
AS
40702013-06-11 Andreas Schwab <schwab@suse.de>
4071
4072 [BZ #15577]
4073 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4074 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4075 values in the triple.
4076 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4077 terminator in the group key.
4078
3ee7e9fe
AJ
40792013-06-11 Andreas Jaeger <aj@suse.de>
4080
4081 * po/zh_TW.po: Update Chinese (traditional) translation from
4082 translation project.
4083
89fb6835
SP
40842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4085
4086 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4087 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4088 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4089 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4090 (clock_getcpuclockid): Likewise.
4091 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4092 Add weak_alias and libc_hidden_def.
4093 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4094 * rt/clock_gettime.c (clock_gettime): Rename to
4095 __clock_gettime. Add weak_alias and libc_hidden_def.
4096 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4097 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4098 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4099 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4100 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4101 Likewise.
4102 * rt/clock_settime.c (clock_settime): Rename to
4103 __clock_settime. Add weak_alias and libc_hidden_def.
4104 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4105
0efa6f8b
JM
41062013-06-10 Joseph Myers <joseph@codesourcery.com>
4107
b8c61b4b
JM
4108 * mach/err_boot.sub: Remove trailing whitespace.
4109 * mach/err_ipc.sub: Likewise.
4110 * mach/err_mach.sub: Likewise.
4111
0efa6f8b
JM
4112 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4113 (ROUNDING_TESTS_double): Likewise.
4114 (ROUNDING_TESTS_long_double): Likewise.
4115 (ROUNDING_TESTS): Likewise.
4116 * math/libm-test.inc: Include <math-tests.h>.
4117 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4118 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4119 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4120 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4121
50b818bf
SP
41222013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4123
4124 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4125 of assigning.
4126
60d2f8f3
JM
41272013-06-08 Joseph Myers <joseph@codesourcery.com>
4128
4902d2c3
JM
4129 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4130 otherwise empty TRANS lines.
4131 * sysdeps/gnu/errlist.c: Regenerated.
4132
60d2f8f3
JM
4133 * catgets/gencat.c (error_print): Use (void) in function
4134 definition.
4135 * crypt/crypt_util.c (__init_des): Likewise.
4136 * crypt/speeds.c (Stop): Likewise.
4137 (main): Likewise.
4138 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4139 * inet/ruserpass.c (token): Likewise.
4140 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4141 * intl/localealias.c (extend_alias_table): Likewise.
4142 * intl/plural-exp.c (init_germanic_plural): Likewise.
4143 * libio/fcloseall.c (__fcloseall): Likewise.
4144 * libio/genops.c (_IO_flush_all): Likewise.
4145 (_IO_flush_all_linebuffered): Likewise.
4146 (_IO_cleanup): Likewise.
4147 (_IO_iter_begin): Likewise.
4148 (_IO_iter_end): Likewise.
4149 (_IO_list_lock): Likewise.
4150 (_IO_list_unlock): Likewise.
4151 (_IO_list_resetlock): Likewise.
4152 * libio/getchar.c (getchar): Likewise.
4153 * libio/getchar_u.c (getchar_unlocked): Likewise.
4154 * libio/getwchar.c (getwchar): Likewise.
4155 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4156 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4157 * login/getpt.c (__getpt): Likewise.
4158 * login/tst-utmp.c (main): Likewise.
4159 * malloc/hooks.c (__malloc_check_init): Likewise.
4160 * malloc/malloc.c (__malloc_stats): Likewise.
4161 * malloc/mtrace.c (tr_break): Likewise.
4162 (mtrace): Likewise.
4163 (muntrace): Likewise.
4164 * misc/fstab.c (endfsent): Likewise.
4165 * misc/getclktck.c (__getclktck): Likewise.
4166 * misc/getdtsz.c (__getdtablesize): Likewise.
4167 * misc/gethostid.c (gethostid): Likewise.
4168 * misc/getpagesize.c (__getpagesize): Likewise.
4169 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4170 (__get_nprocs): Likewise.
4171 (__get_phys_pages): Likewise.
4172 (__get_avphys_pages): Likewise.
4173 * misc/getttyent.c (getttyent): Likewise.
4174 (setttyent): Likewise.
4175 (endttyent): Likewise.
4176 * misc/getusershell.c (getusershell): Likewise.
4177 (endusershell): Likewise.
4178 (setusershell): Likewise.
4179 (initshells): Likewise.
4180 * misc/hsearch.c (__hdestroy): Likewise.
4181 * misc/sync.c (sync): Likewise.
4182 * misc/syslog.c (closelog_internal): Likewise.
4183 (closelog): Likewise.
4184 * misc/ttyslot.c (ttyslot): Likewise.
4185 * misc/vhangup.c (vhangup): Likewise.
4186 * posix/fork.c (__fork): Likewise.
4187 * posix/getegid.c (__getegid): Likewise.
4188 * posix/geteuid.c (__geteuid): Likewise.
4189 * posix/getgid.c (__getgid): Likewise.
4190 * posix/getpid.c (__getpid): Likewise.
4191 * posix/getppid.c (__getppid): Likewise.
4192 * posix/getuid.c (__getuid): Likewise.
4193 * posix/pause.c (pause): Likewise.
4194 * posix/setpgrp.c (setpgrp): Likewise.
4195 * posix/setsid.c (__setsid): Likewise.
4196 * posix/test-vfork.c (noop): Likewise.
4197 * resolv/gethnamaddr.c (_endhtent): Likewise.
4198 (_gethtent): Likewise.
4199 (ht_endhostent): Likewise.
4200 (gethostent): Likewise.
4201 (dns_service): Likewise.
4202 * stdlib/drand48.c (drand48): Likewise.
4203 * stdlib/lrand48.c (lrand48): Likewise.
4204 * stdlib/mrand48.c (mrand48): Likewise.
4205 * stdlib/rand.c (rand): Likewise.
4206 * stdlib/random.c (__random): Likewise.
4207 * stdlib/setenv.c (clearenv): Likewise.
4208 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4209 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4210 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4211 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4212 (__get_nprocs): Likewise.
4213 (__get_phys_pages): Likewise.
4214 (__get_avphys_pages): Likewise.
4215 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4216 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4217 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4218 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4219 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4220 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4221 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4222 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4223 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4224 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4225 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4226 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4227 * sysdeps/posix/clock.c (clock): Likewise.
4228 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4229 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4230 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4231 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4232 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4233 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4234 (__get_nprocs_conf): Likewise.
4235 (__get_phys_pages): Likewise.
4236 (__get_avphys_pages): Likewise.
4237 * time/clock.c (clock): Likewise.
4238 * time/tzset.c (__tzname_max): Likewise.
4239
2e09a79a
JM
42402013-06-07 Joseph Myers <joseph@codesourcery.com>
4241
4242 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4243 (__bswap_32): Do not use "register".
4244 * crypt/crypt.c (_ufc_doit_r): Likewise.
4245 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4246 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4247 * gmon/gmon.c (__monstartup): Likewise.
4248 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4249 * hurd/hurdmalloc.c (more_memory): Likewise.
4250 (malloc): Likewise.
4251 (free): Likewise.
4252 (realloc): Likewise.
4253 (malloc_fork_prepare): Likewise.
4254 (malloc_fork_parent): Likewise.
4255 (malloc_fork_child): Likewise.
4256 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4257 (_svcauth_des): Likewise.
4258 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4259 * inet/inet_net.c (inet_network): Likewise.
4260 * inet/inet_netof.c (inet_netof): Likewise.
4261 * inet/rcmd.c (__validuser2_sa): Likewise.
4262 * io/fts.c (fts_open): Likewise.
4263 (fts_load): Likewise.
4264 (fts_close): Likewise.
4265 (fts_read): Likewise.
4266 (fts_children): Likewise.
4267 (fts_build): Likewise.
4268 (fts_stat): Likewise.
4269 (fts_sort): Likewise.
4270 (fts_alloc): Likewise.
4271 (fts_lfree): Likewise.
4272 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4273 (_IO_file_xsgetn): Likewise.
4274 (_IO_file_xsgetn_mmap): Likewise.
4275 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4276 (_IO_cookie_write): Likewise.
4277 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4278 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4279 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4280 * malloc/obstack.c (_obstack_begin): Likewise.
4281 (_obstack_begin_1): Likewise.
4282 (_obstack_newchunk): Likewise.
4283 (_obstack_allocated_p): Likewise.
4284 (obstack_free): Likewise.
4285 (_obstack_memory_used): Likewise.
4286 * misc/getttyent.c (getttynam): Likewise.
4287 (getttyent): Likewise.
4288 (skip): Likewise.
4289 (value): Likewise.
4290 * misc/getusershell.c (initshells): Likewise.
4291 * misc/syslog.c (__vsyslog_chk): Likewise.
4292 * misc/ttyslot.c (ttyslot): Likewise.
4293 * nis/nis_hash.c (__nis_hash): Likewise.
4294 * posix/fnmatch_loop.c (FCT): Likewise.
4295 * posix/getconf.c (print_all): Likewise.
4296 (main): Likewise.
4297 * posix/getopt.c (exchange): Likewise.
4298 * posix/glob.c (globfree): Likewise.
4299 (prefix_array): Likewise.
4300 (__glob_pattern_type): Likewise.
4301 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4302 (NS_GET32): Likewise.
4303 (NS_PUT16): Likewise.
4304 (NS_PUT32): Likewise.
4305 * resolv/gethnamaddr.c (getanswer): Likewise.
4306 (gethostbyname2): Likewise.
4307 (gethostbyaddr): Likewise.
4308 (_gethtent): Likewise.
4309 (_gethtbyname2): Likewise.
4310 (_gethtbyaddr): Likewise.
4311 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4312 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4313 * resolv/res_init.c (__res_vinit): Likewise.
4314 (net_mask): Likewise.
4315 * resolv/res_mkquery.c (outchar): Likewise.
4316 (PRINT): Likewise.
4317 * stdio-common/printf_fp.c (outchar): Likewise.
4318 (PRINT): Likewise.
4319 * stdio-common/printf_fphex.c (outchar): Likewise.
4320 (PRINT): Likewise.
4321 * stdio-common/printf_size.c (outchar): Likewise.
4322 (PRINT): Likewise.
4323 * stdio-common/test_rdwr.c (main): Likewise.
4324 * stdio-common/tfformat.c (matches): Likewise.
4325 * stdio-common/vfprintf.c (outchar): Likewise.
4326 (printf_unknown): Likewise.
4327 (buffered_vfprintf): Likewise.
4328 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4329 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4330 (ReadFile): Likewise.
4331 * stdlib/qsort.c (SWAP): Likewise.
4332 (_quicksort): Likewise.
4333 * stdlib/setenv.c (__add_to_environ): Likewise.
4334 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4335 * stdlib/strtol_l.c (__strtol_l): Likewise.
4336 * stdlib/tst-strtod.c (main): Likewise.
4337 * stdlib/tst-strtol.c (main): Likewise.
4338 * stdlib/tst-strtoll.c (main): Likewise.
4339 * string/bits/string2.h (__strcmp_cc): Likewise.
4340 (__strcmp_cg): Likewise.
4341 (__strcspn_c1): Likewise.
4342 (__strcspn_c2): Likewise.
4343 (__strcspn_c3): Likewise.
4344 (__strspn_c1): Likewise.
4345 (__strspn_c2): Likewise.
4346 (__strspn_c3): Likewise.
4347 (__strsep_1c): Likewise.
4348 (__strsep_2c): Likewise.
4349 (__strsep_3c): Likewise.
4350 * string/memccpy.c (__memccpy): Likewise.
4351 * string/stpcpy.c (__stpcpy): Likewise.
4352 * string/strcmp.c (strcmp): Likewise.
4353 * string/strrchr.c (strrchr): Likewise.
4354 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4355 Likewise.
4356 * sysdeps/mach/hurd/getcwd.c
4357 (_hurd_canonicalize_directory_name_internal): Likewise.
4358 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4359 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4360 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4361 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4362 Likewise, in both definitions.
4363 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4364 definitions.
4365 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4366 64] (__bswap_64): Likewise.
4367 * time/test_time.c (main): Likewise.
4368 * time/tzfile.c (__tzfile_read): Likewise.
4369 (__tzfile_compute): Likewise.
4370 * time/tzset.c (__tzset_parse_tz): Likewise.
4371 (tzset_internal): Likewise.
4372 (compute_change): Likewise.
4373 * wcsmbs/wcscat.c (__wcscat): Likewise.
4374 * wcsmbs/wcschr.c (wcschr): Likewise.
4375 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4376 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4377 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4378 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4379 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4380 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4381 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4382 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4383 * wcsmbs/wmemset.c (wmemset): Likewise.
4384
9e54314b
JM
43852013-06-06 Joseph Myers <joseph@codesourcery.com>
4386
4387 * scripts/config.guess: Update to version 2013-05-16.
4388 * scripts/config.sub: Update to version 2013-04-24.
4389 * scripts/install-sh: Update to version 2011-11-20.07.
4390 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4391 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4392
350635a5
OB
43932013-06-06 Ondřej Bílka <neleai@seznam.cz>
4394
4395 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4396 * elf/sln.c: Likewise.
4397 * hurd/hurd/ioctl.h: Likewise.
4398 * hurd/hurdmalloc.c: Likewise.
4399 * hurd/xattr.c: Likewise.
4400 * include/shlib-compat.h: Likewise.
4401 * inet/ruserpass.c: Likewise.
4402 * libio/iofgets_u.c: Likewise.
4403 * libio/iofgetws_u.c: Likewise.
4404 * locale/programs/ld-identification.c: Likewise.
4405 * locale/programs/ld-time.c: Likewise.
4406 * mach/msg-destroy.c: Likewise.
4407 * nss/nss_files/files-netgrp.c: Likewise.
4408 * resolv/res_data.c: Likewise.
4409 * soft-fp/op-1.h: Likewise.
4410 * soft-fp/op-2.h: Likewise.
4411 * soft-fp/op-4.h: Likewise.
4412 * soft-fp/op-common.h: Likewise.
4413 * stdio-common/printf_fphex.c: Likewise.
4414 * stdlib/strtod_l.c: Likewise.
4415 * sunrpc/rpc/clnt.h: Likewise.
4416 * sysdeps/generic/framestate.c: Likewise.
4417 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4418 * sysdeps/i386/bsd-setjmp.S: Likewise.
4419 * sysdeps/i386/__longjmp.S: Likewise.
4420 * sysdeps/i386/setjmp.S: Likewise.
4421 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4422 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4423 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4431 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4433 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4437 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4438 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4439 * sysdeps/ieee754/support.c: Likewise.
4440 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4441 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4442 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4443 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4444 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4445 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4446 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4447 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4448 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4449 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4450 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4451 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4452 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4453 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4454 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4455 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4456 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4458
44a988af
OB
44592013-06-05 Ondřej Bílka <neleai@seznam.cz>
4460
25506f09 4461 * posix/transbug.c: Remove executable mode.
44a988af 4462
9c84384c
JM
44632013-06-05 Joseph Myers <joseph@codesourcery.com>
4464
4465 * crypt/speeds.c: Remove trailing whitespace.
4466 * dlfcn/default.c: Likewise.
4467 * elf/ifuncdep2.c: Likewise.
4468 * elf/ifuncmain1.c: Likewise.
4469 * elf/ifuncmain1vis.c: Likewise.
4470 * elf/testobj.h: Likewise.
4471 * elf/tst-stackguard1.c: Likewise.
4472 * gmon/sys/gmon.h: Likewise.
4473 * hurd/hurdmsg.c: Likewise.
4474 * hurd/new-fd.c: Likewise.
4475 * hurd/ports-get.c: Likewise.
4476 * iconvdata/ibm1008_420.c: Likewise.
4477 * inet/tst-getni1.c: Likewise.
4478 * inet/tst-getni2.c: Likewise.
4479 * libio/ioungetc.c: Likewise.
4480 * libio/wfiledoalloc.c: Likewise.
4481 * manual/libm-err-tab.pl: Likewise.
4482 * math/w_dremf.c: Likewise.
4483 * misc/ftruncate.c: Likewise.
4484 * posix/bug-glob2.c: Likewise.
4485 * posix/tst-pcre.c: Likewise.
4486 * posix/wait4.c: Likewise.
4487 * resolv/README: Likewise.
4488 * resolv/res_debug.h: Likewise.
4489 * resolv/tst-inet_ntop.c: Likewise.
4490 * setjmp/bug269-setjmp.c: Likewise.
4491 * soft-fp/extended.h: Likewise.
4492 * soft-fp/op-1.h: Likewise.
4493 * soft-fp/op-2.h: Likewise.
4494 * soft-fp/op-4.h: Likewise.
4495 * soft-fp/op-8.h: Likewise.
4496 * soft-fp/testit.c: Likewise.
4497 * stdio-common/bug16.c: Likewise.
4498 * stdlib/random.c: Likewise.
4499 * sunrpc/rpcsvc/rquota.x: Likewise.
4500 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4501 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4502 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4503 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4504 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4505 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4506 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4507 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4508 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4509 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4510 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4511 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4512 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4513 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4514 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4515 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4516 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4517 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4518 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4521 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4524 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4525 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4526 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4527 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4528 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4529 * sysdeps/ieee754/s_lib_version.c: Likewise.
4530 * sysdeps/mach/hurd/check_fds.c: Likewise.
4531 * sysdeps/mach/hurd/getsockname.c: Likewise.
4532 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4533 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4534 * sysdeps/powerpc/bits/link.h: Likewise.
4535 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4536 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4537 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4538 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4539 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4540 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4541 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4542 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4543 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4544 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4545 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4546 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4547 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4548 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4549 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4550 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4551 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4552 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4553 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4554 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4555 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4556 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4557 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4558 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4559 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4560 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4561 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4562 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4563 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4564 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4565 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4566 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4567 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4568 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4569 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4570 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4571 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4572 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4573 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4574 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4575 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4576 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4577 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4578 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4579 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4580 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4581 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4582 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4583 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4584 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4585 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4587 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4588 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4589 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4590 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4591 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4592 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4593 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4594 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4595 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4596 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4597 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4598 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4599 * sysdeps/powerpc/sysdep.h: Likewise.
4600 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4601 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4602 * sysdeps/sh/dl-trampoline.S: Likewise.
4603 * sysdeps/sh/memset.S: Likewise.
4604 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4605 * sysdeps/sh/strlen.S: Likewise.
4606 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4607 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4608 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4609 * sysdeps/sparc/sparc32/rem.S: Likewise.
4610 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4611 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4612 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4613 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4614 * sysdeps/sparc/sparc32/urem.S: Likewise.
4615 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4616 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4617 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4618 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4619 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4620 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4621 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4622 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4623 * sysdeps/unix/bsd/times.c: Likewise.
4624 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4625 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4629 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4630 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4631 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4632 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4633 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4634 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4635 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4636 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4637 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4638 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4639 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4640 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4641 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4642 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4643 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4644 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4645 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4646 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4647 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4648 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4649 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4650 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4651 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4652 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4653 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4654 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4655 * sysdeps/x86_64/strcspn.S: Likewise.
4656
869378a5
RA
46572013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4658
4659 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4660 generated file. Regenerate properly from gen-translit.pl.
4661 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4662 locale/C-translit.h.
4663
840e2943
AS
46642013-06-05 Andreas Schwab <schwab@suse.de>
4665
4666 [BZ #15100]
4667 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4668 week as 6 instead of -1.
4669 * time/tst-strptime.c (day_tests): Add test case.
4670
4c60cb0c
SP
46712013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4672
4673 * sysdeps/generic/math_private.h
4674 (libc_feholdexcept_setround_53bit): Replace with
4675 libc_feholdsetround_53bit.
4676 (libc_feupdateenv_53bit): Replace with
4677 libc_feresetround_53bit.
4678 (SET_RESTORE_ROUND_53BIT): Adjust.
4679
d180203e
SP
46802013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4681
96df079a
SP
4682 * string/test-strchrnul.c: Add copyright header.
4683
d180203e
SP
4684 * posix/tst-getaddrinfo4.c: Increase test timeout.
4685
8b0ccb2d
CD
46862013-06-03 Carlos O'Donell <carlos@redhat.com>
4687
4688 [BZ #15536]
4689 * math/libm-test.inc (MAX_EXP): Remove
4690 (MIN_EXP): Define.
4691 (ulp): Use MIN_EXP - MANT_DIG.
4692 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4693
3b3c4d40
CD
46942013-05-31 Carlos O'Donell <carlos@redhat.com>
4695
4696 * po/be.po: Revert last change.
4697 * po/zh_CN.po: Likewise.
4698 * po/header.pot: Likewise.
4699
fab7ce3f
JM
47002013-05-31 Joseph Myers <joseph@codesourcery.com>
4701
4702 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4703 link-libc-deps to empty as target-specific variable.
4704 * Makerules (link-libc-args): New variable.
4705 (libc-for-link): Likewise.
4706 (link-libc-deps): Likewise.
4707 (lib%.so): Depend on $(link-libc-deps). Link with
4708 $(link-libc-args).
4709 (build-module): Link with $(link-libc-args).
4710 (build-module-asneeded): Likewise.
4711 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4712 list of objects.
4713 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4714 target-specific variable.
4715 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4716 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4717 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4718 libc.
4719 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4720 libc and ld.so.
4721 ($(objpfx)libpcprofile.so): Likewise.
4722 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4723 libc_nonshared.a.
4724 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4725 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4726 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4727 $(link-libc-deps).
4728 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4729 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4730 * login/Makefile ($(objpfx)libutil.so): Likewise.
4731 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4732 * math/Makefile ($(objpfx)libm.so): Likewise.
4733 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4734 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4735 variable instead of depending directly on libc.
4736 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4737 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4738 $(link-libc-deps).
4739 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4740 libc.
4741 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4742 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4743 ($(objpfx)libanl.so): Likewise.
4744 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4745 ld.so.
4746 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4747 $(link-libc-deps).
4748 * sysdeps/i386/fpu/Makefile: Remove file.
4749 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4750 ($(objpfx)libm.so): Remove dependency on ld.so.
4751
eca5920c
PF
47522013-05-30 Patsy Franklin <pfrankli@redhat.com>
4753
4754 [BZ # 15553]
4755 * nis/yp_xdr.c (XDRMAXNAME): Define.
4756 (XDRMAXRECORD): Define.
4757 (xdr_domainname): Use XDRMAXNAME.
4758 (xdr_mapname): Likewise.
4759 (xdr_peername): Likewise.
4760 (xdr_keydat): Use XDRMAXRECORD.
4761 (xdr_valdat): Likewise.
4762
47632013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4764
4765 [BZ #14256]
4766 * manual/errno.texi (ESTALE): Update to account for more than
4767 just NFS file systems.
4768 * sysdeps/gnu/errlist.c: Regenerated.
4769
b9375348
SP
47702013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4771
4772 [BZ #15465]
4773 * elf/Makefile (tests): Add tst-null-argv.
4774 (modules-names): Add tst-null-argv-lib.
4775 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4776 (tst-null-argv-ENV): Set environment for tst-null-argv.
4777 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4778 (RTLD_PROGNAME): New macro.
4779 * elf/tst-null-argv.c: New test case.
4780 * elf/tst-null-argv-lib.c: Library for test case.
4781 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4782 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4783 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4784 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4785 * elf/dl-init.c (call_init): Likewise.
4786 (_dl_init): Likewise.
4787 * elf/dl-load.c (print_search_path): Likewise.
4788 (_dl_map_object): Likewise.
4789 * elf/dl-lookup.c (do_lookup_x): Likewise.
4790 (add_dependency): Likewise.
4791 (_dl_lookup_symbol_x): Likewise.
4792 (_dl_debug_bindings): Likewise.
4793 * elf/dl-open.c (_dl_show_scope): Likewise.
4794 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4795 * elf/dl-version.c (match_symbol): Likewise.
4796 (_dl_check_map_versions): Likewise.
4797 * elf/rtld.c (dl_main): Likewise.
4798 (print_unresolved): Use RTLD_PROGNAME.
4799 (print_missing_version): Likewise.
4800 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4801 (elf_machine_rela): Likewise.
4802 * sysdeps/powerpc/powerpc32/dl-machine.c
4803 (__process_machine_rela): Likewise.
4804 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4805 Likewise.
4806 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4807 Likewise.
4808 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4809 Likewise.
4810 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4812 Likewise.
4813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4814 Likewise.
4815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4816
8a9f20c8
CD
48172013-05-28 Carlos O'Donell <carlos@redhat.com>
4818
4819 * po/be.po: Add descriptive title.
4820 * po/zh_CN.po: Likewise.
4821 * po/header.pot: Likewise.
4822
0e60d68e
MF
48232013-05-28 Mike Frysinger <vapier@gentoo.org>
4824
4825 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4826 error message.
4827 (enlarge_archive): Likewise.
4828
56b672e9
BN
48292013-05-28 Ben North <ben@redfrontdoor.org>
4830
4831 * manual/arith.texi (frexp): It is the magnitude of the return
4832 value which lies in [0.5, 1), not the return value itself.
4833
5e056687
AZ
48342013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4835
4836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4837
2b66ef5d
TS
48382013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4839
528c2405
TS
4840 * stdio-common/bug26.c (main): Correct fscanf template.
4841
07b4c13d
TS
4842 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4843 declare _dl_skip_args.
4844
ec9dd97c
TS
4845 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4846 Don't declare.
4847
2b66ef5d
TS
4848 * manual/platform.texi: Add missing @end deftypefun.
4849
4f8dfe27
JM
48502013-05-24 Joseph Myers <joseph@codesourcery.com>
4851
0323d086
JM
4852 [BZ #15529]
4853 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4854 bit of mantissa of 2^16382.
4855 * math/libm-test.inc (hypot_test_data): Add more tests.
4856
dd4259b9
JM
4857 * math/libm-test.inc: Add drem and pow10 to list of tested
4858 functions.
4859 (pow10_test): New function.
4860 (drem_test): Likewise.
4861 (drem_test_tonearest): Likewise.
4862 (drem_test_towardzero): Likewise.
4863 (drem_test_downward): Likewise.
4864 (drem_test_upward): Likewise.
4865 (main): Call the new functions.
4866
4f8dfe27
JM
4867 * math/libm-test.inc (finite_test_data): Remove.
4868 (finite_test): Run tests from isfinite_test_data.
4869 (gamma_test_data): Remove.
4870 (gamma_test): Run tests from lgamma_test_data.
4871 * sysdeps/i386/fpu/libm-test-ulps: Update.
4872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4873
d116b7c4
AZ
48742013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4875
4876 * manual/platform.texi: Add PowerPC PPR function set documentation.
4877 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4878 implementation.
4879
e96e3767
CD
48802013-05-24 Carlos O'Donell <carlos@redhat.com>
4881
4882 * math/libm-test.inc (MAX_EXP): Define.
4883 (ULPDIFF): Define.
4884 (ulp): New function.
4885 (check_float_internal): Use ULPDIFF.
4886 (cpow_test): Disable failing test.
4887 (check_ulp): Test ulp() implemetnation.
4888 (main): Call check_ulp before starting tests.
4889
b679a606
JM
48902013-05-24 Joseph Myers <joseph@codesourcery.com>
4891
e8bdba36
JM
4892 * math/gen-libm-test.pl (generate_testfile): Do not handle
4893 START_DATA and END_DATA.
4894 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4895 END_DATA.
4896 (acos_tonearest_test_data): Likewise.
4897 (acos_towardzero_test_data): Likewise.
4898 (acos_downward_test_data): Likewise.
4899 (acos_upward_test_data): Likewise.
4900 (acosh_test_data): Likewise.
4901 (asin_test_data): Likewise.
4902 (asin_tonearest_test_data): Likewise.
4903 (asin_towardzero_test_data): Likewise.
4904 (asin_downward_test_data): Likewise.
4905 (asin_upward_test_data): Likewise.
4906 (asinh_test_data): Likewise.
4907 (atan_test_data): Likewise.
4908 (atanh_test_data): Likewise.
4909 (atan2_test_data): Likewise.
4910 (cabs_test_data): Likewise.
4911 (cacos_test_data): Likewise.
4912 (cacosh_test_data): Likewise.
4913 (carg_test_data): Likewise.
4914 (casin_test_data): Likewise.
4915 (casinh_test_data): Likewise.
4916 (catan_test_data): Likewise.
4917 (catanh_test_data): Likewise.
4918 (cbrt_test_data): Likewise.
4919 (ccos_test_data): Likewise.
4920 (ccosh_test_data): Likewise.
4921 (ceil_test_data): Likewise.
4922 (cexp_test_data): Likewise.
4923 (cimag_test_data): Likewise.
4924 (clog_test_data): Likewise.
4925 (clog10_test_data): Likewise.
4926 (conj_test_data): Likewise.
4927 (copysign_test_data): Likewise.
4928 (cos_test_data): Likewise.
4929 (cos_tonearest_test_data): Likewise.
4930 (cos_towardzero_test_data): Likewise.
4931 (cos_downward_test_data): Likewise.
4932 (cos_upward_test_data): Likewise.
4933 (cosh_test_data): Likewise.
4934 (cosh_tonearest_test_data): Likewise.
4935 (cosh_towardzero_test_data): Likewise.
4936 (cosh_downward_test_data): Likewise.
4937 (cosh_upward_test_data): Likewise.
4938 (cpow_test_data): Likewise.
4939 (cproj_test_data): Likewise.
4940 (creal_test_data): Likewise.
4941 (csin_test_data): Likewise.
4942 (csinh_test_data): Likewise.
4943 (csqrt_test_data): Likewise.
4944 (ctan_test_data): Likewise.
4945 (ctan_tonearest_test_data): Likewise.
4946 (ctan_towardzero_test_data): Likewise.
4947 (ctan_downward_test_data): Likewise.
4948 (ctan_upward_test_data): Likewise.
4949 (ctanh_test_data): Likewise.
4950 (ctanh_tonearest_test_data): Likewise.
4951 (ctanh_towardzero_test_data): Likewise.
4952 (ctanh_downward_test_data): Likewise.
4953 (ctanh_upward_test_data): Likewise.
4954 (erf_test_data): Likewise.
4955 (erfc_test_data): Likewise.
4956 (exp_test_data): Likewise.
4957 (exp_tonearest_test_data): Likewise.
4958 (exp_towardzero_test_data): Likewise.
4959 (exp_downward_test_data): Likewise.
4960 (exp_upward_test_data): Likewise.
4961 (exp10_test_data): Likewise.
4962 (exp2_test_data): Likewise.
4963 (expm1_test_data): Likewise.
4964 (fabs_test_data): Likewise.
4965 (fdim_test_data): Likewise.
4966 (finite_test_data): Likewise.
4967 (floor_test_data): Likewise.
4968 (fma_test_data): Likewise.
4969 (fma_towardzero_test_data): Likewise.
4970 (fma_downward_test_data): Likewise.
4971 (fma_upward_test_data): Likewise.
4972 (fmax_test_data): Likewise.
4973 (fmin_test_data): Likewise.
4974 (fmod_test_data): Likewise.
4975 (fpclassify_test_data): Likewise.
4976 (frexp_test_data): Likewise.
4977 (gamma_test_data): Likewise.
4978 (hypot_test_data): Likewise.
4979 (ilogb_test_data): Likewise.
4980 (isfinite_test_data): Likewise.
4981 (isgreater_test_data): Likewise.
4982 (isgreaterequal_test_data): Likewise.
4983 (isinf_test_data): Likewise.
4984 (isless_test_data): Likewise.
4985 (islessequal_test_data): Likewise.
4986 (islessgreater_test_data): Likewise.
4987 (isnan_test_data): Likewise.
4988 (isnormal_test_data): Likewise.
4989 (issignaling_test_data): Likewise.
4990 (isunordered_test_data): Likewise.
4991 (j0_test_data): Likewise.
4992 (j1_test_data): Likewise.
4993 (jn_test_data): Likewise.
4994 (ldexp_test_data): Likewise.
4995 (lgamma_test_data): Likewise.
4996 (lrint_test_data): Likewise.
4997 (lrint_tonearest_test_data): Likewise.
4998 (lrint_towardzero_test_data): Likewise.
4999 (lrint_downward_test_data): Likewise.
5000 (lrint_upward_test_data): Likewise.
5001 (llrint_test_data): Likewise.
5002 (llrint_tonearest_test_data): Likewise.
5003 (llrint_towardzero_test_data): Likewise.
5004 (llrint_downward_test_data): Likewise.
5005 (llrint_upward_test_data): Likewise.
5006 (log_test_data): Likewise.
5007 (log10_test_data): Likewise.
5008 (log1p_test_data): Likewise.
5009 (log2_test_data): Likewise.
5010 (logb_test_data): Likewise.
5011 (logb_downward_test_data): Likewise.
5012 (lround_test_data): Likewise.
5013 (llround_test_data): Likewise.
5014 (modf_test_data): Likewise.
5015 (nearbyint_test_data): Likewise.
5016 (nextafter_test_data): Likewise.
5017 (nexttoward_test_data): Likewise.
5018 (pow_test_data): Likewise.
5019 (pow_tonearest_test_data): Likewise.
5020 (pow_towardzero_test_data): Likewise.
5021 (pow_downward_test_data): Likewise.
5022 (pow_upward_test_data): Likewise.
5023 (remainder_test_data): Likewise.
5024 (remainder_tonearest_test_data): Likewise.
5025 (remainder_towardzero_test_data): Likewise.
5026 (remainder_downward_test_data): Likewise.
5027 (remainder_upward_test_data): Likewise.
5028 (remquo_test_data): Likewise.
5029 (rint_test_data): Likewise.
5030 (rint_tonearest_test_data): Likewise.
5031 (rint_towardzero_test_data): Likewise.
5032 (rint_downward_test_data): Likewise.
5033 (rint_upward_test_data): Likewise.
5034 (round_test_data): Likewise.
5035 (scalb_test_data): Likewise.
5036 (scalbn_test_data): Likewise.
5037 (scalbln_test_data): Likewise.
5038 (signbit_test_data): Likewise.
5039 (sin_test_data): Likewise.
5040 (sin_tonearest_test_data): Likewise.
5041 (sin_towardzero_test_data): Likewise.
5042 (sin_downward_test_data): Likewise.
5043 (sin_upward_test_data): Likewise.
5044 (sincos_test_data): Likewise.
5045 (sinh_test_data): Likewise.
5046 (sinh_tonearest_test_data): Likewise.
5047 (sinh_towardzero_test_data): Likewise.
5048 (sinh_downward_test_data): Likewise.
5049 (sinh_upward_test_data): Likewise.
5050 (sqrt_test_data): Likewise.
5051 (tan_test_data): Likewise.
5052 (tan_tonearest_test_data): Likewise.
5053 (tan_towardzero_test_data): Likewise.
5054 (tan_downward_test_data): Likewise.
5055 (tan_upward_test_data): Likewise.
5056 (tanh_test_data): Likewise.
5057 (tgamma_test_data): Likewise.
5058 (trunc_test_data): Likewise.
5059 (y0_test_data): Likewise.
5060 (y1_test_data): Likewise.
5061 (yn_test_data): Likewise.
5062 (significand_test_data): Likewise.
5063
b679a606
JM
5064 * math/gen-libm-test.pl (@functions): Remove variable.
5065 (generate_testfile): Don't handle START and END lines.
5066 * math/libm-test.inc (START): New macro.
5067 (END): Likewise.
5068 (END_COMPLEX): Likewise.
5069 (acos_test): Use END macro without arguments.
5070 (acos_test_tonearest): Likewise.
5071 (acos_test_towardzero): Likewise.
5072 (acos_test_downward): Likewise.
5073 (acos_test_upward): Likewise.
5074 (acosh_test): Likewise.
5075 (asin_test): Likewise.
5076 (asin_test_tonearest): Likewise.
5077 (asin_test_towardzero): Likewise.
5078 (asin_test_downward): Likewise.
5079 (asin_test_upward): Likewise.
5080 (asinh_test): Likewise.
5081 (atan_test): Likewise.
5082 (atanh_test): Likewise.
5083 (atan2_test): Likewise.
5084 (cabs_test): Likewise.
5085 (cacos_test): Use END_COMPLEX macro without arguments.
5086 (cacosh_test): Likewise.
5087 (carg_test): Use END macro without arguments.
5088 (casin_test): Use END_COMPLEX macro without arguments.
5089 (casinh_test): Likewise.
5090 (catan_test): Likewise.
5091 (catanh_test): Likewise.
5092 (cbrt_test): Use END macro without arguments.
5093 (ccos_test): Use END_COMPLEX macro without arguments.
5094 (ccosh_test): Likewise.
5095 (ceil_test): Use END macro without arguments.
5096 (cexp_test): Use END_COMPLEX macro without arguments.
5097 (cimag_test): Use END macro without arguments.
5098 (clog_test): Use END_COMPLEX macro without arguments.
5099 (clog10_test): Likewise.
5100 (conj_test): Likewise.
5101 (copysign_test): Use END macro without arguments.
5102 (cos_test): Likewise.
5103 (cos_test_tonearest): Likewise.
5104 (cos_test_towardzero): Likewise.
5105 (cos_test_downward): Likewise.
5106 (cos_test_upward): Likewise.
5107 (cosh_test): Likewise.
5108 (cosh_test_tonearest): Likewise.
5109 (cosh_test_towardzero): Likewise.
5110 (cosh_test_downward): Likewise.
5111 (cosh_test_upward): Likewise.
5112 (cpow_test): Use END_COMPLEX macro without arguments.
5113 (cproj_test): Likewise.
5114 (creal_test): Use END macro without arguments.
5115 (csin_test): Use END_COMPLEX macro without arguments.
5116 (csinh_test): Likewise.
5117 (csqrt_test): Likewise.
5118 (ctan_test): Likewise.
5119 (ctan_test_tonearest): Likewise.
5120 (ctan_test_towardzero): Likewise.
5121 (ctan_test_downward): Likewise.
5122 (ctan_test_upward): Likewise.
5123 (ctanh_test): Likewise.
5124 (ctanh_test_tonearest): Likewise.
5125 (ctanh_test_towardzero): Likewise.
5126 (ctanh_test_downward): Likewise.
5127 (ctanh_test_upward): Likewise.
5128 (erf_test): Use END macro without arguments.
5129 (erfc_test): Likewise.
5130 (exp_test): Likewise.
5131 (exp_test_tonearest): Likewise.
5132 (exp_test_towardzero): Likewise.
5133 (exp_test_downward): Likewise.
5134 (exp_test_upward): Likewise.
5135 (exp10_test): Likewise.
5136 (exp2_test): Likewise.
5137 (expm1_test): Likewise.
5138 (fabs_test): Likewise.
5139 (fdim_test): Likewise.
5140 (finite_test): Likewise.
5141 (floor_test): Likewise.
5142 (fma_test): Likewise.
5143 (fma_test_towardzero): Likewise.
5144 (fma_test_downward): Likewise.
5145 (fma_test_upward): Likewise.
5146 (fmax_test): Likewise.
5147 (fmin_test): Likewise.
5148 (fmod_test): Likewise.
5149 (fpclassify_test): Likewise.
5150 (frexp_test): Likewise.
5151 (gamma_test): Likewise.
5152 (hypot_test): Likewise.
5153 (ilogb_test): Likewise.
5154 (isfinite_test): Likewise.
5155 (isgreater_test): Likewise.
5156 (isgreaterequal_test): Likewise.
5157 (isinf_test): Likewise.
5158 (isless_test): Likewise.
5159 (islessequal_test): Likewise.
5160 (islessgreater_test): Likewise.
5161 (isnan_test): Likewise.
5162 (isnormal_test): Likewise.
5163 (issignaling_test): Likewise.
5164 (isunordered_test): Likewise.
5165 (j0_test): Likewise.
5166 (j1_test): Likewise.
5167 (jn_test): Likewise.
5168 (ldexp_test): Likewise.
5169 (lgamma_test): Likewise.
5170 (lrint_test): Likewise.
5171 (lrint_test_tonearest): Likewise.
5172 (lrint_test_towardzero): Likewise.
5173 (lrint_test_downward): Likewise.
5174 (lrint_test_upward): Likewise.
5175 (llrint_test): Likewise.
5176 (llrint_test_tonearest): Likewise.
5177 (llrint_test_towardzero): Likewise.
5178 (llrint_test_downward): Likewise.
5179 (llrint_test_upward): Likewise.
5180 (log_test): Likewise.
5181 (log10_test): Likewise.
5182 (log1p_test): Likewise.
5183 (log2_test): Likewise.
5184 (logb_test): Likewise.
5185 (logb_test_downward): Likewise.
5186 (lround_test): Likewise.
5187 (llround_test): Likewise.
5188 (modf_test): Likewise.
5189 (nearbyint_test): Likewise.
5190 (nextafter_test): Likewise.
5191 (nexttoward_test): Likewise.
5192 (pow_test): Likewise.
5193 (pow_test_tonearest): Likewise.
5194 (pow_test_towardzero): Likewise.
5195 (pow_test_downward): Likewise.
5196 (pow_test_upward): Likewise.
5197 (remainder_test): Likewise.
5198 (remainder_test_tonearest): Likewise.
5199 (remainder_test_towardzero): Likewise.
5200 (remainder_test_downward): Likewise.
5201 (remainder_test_upward): Likewise.
5202 (remquo_test): Likewise.
5203 (rint_test): Likewise.
5204 (rint_test_tonearest): Likewise.
5205 (rint_test_towardzero): Likewise.
5206 (rint_test_downward): Likewise.
5207 (rint_test_upward): Likewise.
5208 (round_test): Likewise.
5209 (scalb_test): Likewise.
5210 (scalbn_test): Likewise.
5211 (scalbln_test): Likewise.
5212 (signbit_test): Likewise.
5213 (sin_test): Likewise.
5214 (sin_test_tonearest): Likewise.
5215 (sin_test_towardzero): Likewise.
5216 (sin_test_downward): Likewise.
5217 (sin_test_upward): Likewise.
5218 (sincos_test): Likewise.
5219 (sinh_test): Likewise.
5220 (sinh_test_tonearest): Likewise.
5221 (sinh_test_towardzero): Likewise.
5222 (sinh_test_downward): Likewise.
5223 (sinh_test_upward): Likewise.
5224 (sqrt_test): Likewise.
5225 (tan_test): Likewise.
5226 (tan_test_tonearest): Likewise.
5227 (tan_test_towardzero): Likewise.
5228 (tan_test_downward): Likewise.
5229 (tan_test_upward): Likewise.
5230 (tanh_test): Likewise.
5231 (tgamma_test): Likewise.
5232 (trunc_test): Likewise.
5233 (y0_test): Likewise.
5234 (y1_test): Likewise.
5235 (yn_test): Likewise.
5236 (significand_test): Likewise.
5237
bae143d2
OB
52382013-05-24 Ondřej Bílka <neleai@seznam.cz>
5239
5240 [BZ #15381]
5241 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5242
9323d39b
EM
52432013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5244
d4ea44a0 5245 [BZ #14894]
9323d39b
EM
5246 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5247 __ppc_mdoio and __ppc_mdoom.
5248 * manual/platform.texi: Document new functions __ppc_yield,
5249 __ppc_mdoio and __ppc_mdoom.
5250
13e23af7
CD
52512013-05-22 Carlos O'Donell <carlos@redhat.com>
5252
5253 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5254 (main): Mention "tls" pseudo-hwcap is legacy.
5255 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5256
351fe550
JM
52572013-05-22 Joseph Myers <joseph@codesourcery.com>
5258
5259 * math/gen-libm-test.pl (parse_args): Output only string of
5260 arguments as text for test name, not full call or descriptions of
5261 tests for extra outputs.
5262 (generate_testfile): Do not pass function name to parse_args.
5263 Generate this_func variable from START.
5264 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5265 field to arg_str.
5266 (struct test_ff_f_data): Likewise.
5267 (test_ff_f_data_nexttoward): Likewise.
5268 (struct test_fi_f_data): Likewise.
5269 (struct test_fl_f_data): Likewise.
5270 (struct test_if_f_data): Likewise.
5271 (struct test_fff_f_data): Likewise.
5272 (struct test_c_f_data): Likewise.
5273 (struct test_f_f1_data): Likewise. Remove field extra_name.
5274 (struct test_fF_f1_data): Likewise.
5275 (struct test_ffI_f1_data): Likewise.
5276 (struct test_c_c_data): Rename test_name field to arg_str.
5277 (struct test_cc_c_data): Likewise.
5278 (struct test_f_i_data): Likewise.
5279 (struct test_ff_i_data): Likewise.
5280 (struct test_f_l_data): Likewise.
5281 (struct test_f_L_data): Likewise.
5282 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5283 and extra2_name.
5284 (COMMON_TEST_SETUP): New macro.
5285 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5286 (COMMON_TEST_CLEANUP): Likewise.
5287 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5288 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5289 macros.
5290 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5291 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5292 macros.
5293 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5294 (RUN_TEST_fff_f): Take argument string. Call new setup and
5295 cleanup macros.
5296 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5297 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5298 macros.
5299 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5300 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5301 macros.
5302 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5303 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5304 cleanup macros.
5305 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5306 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5307 cleanup macros.
5308 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5309 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5310 cleanup macros.
5311 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5312 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5313 macros.
5314 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5315 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5316 macros.
5317 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5318 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5319 macros.
5320 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5321 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5322 cleanup macros.
5323 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5324 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5325 cleanup macros.
5326 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5327 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5328 macros.
5329 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5330 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5331 cleanup macros.
5332 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5333 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5334 macros.
5335 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5336 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5337 macros.
5338 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5339 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5340 cleanup macros.
5341 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5342
85118d4d
EBM
53432013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5344
5345 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5346 to _sifields.sigfault.
5347 (si_addr_lsb): Define new macro.
5348 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5349 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5350 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5351
7a44c18f
CD
53522013-05-03 Carlos O'Donell <carlos at redhat.com>
5353
5354 [BZ #15441]
5355 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5356 returns -1.
5357 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5358 null return -1.
5359 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5360 loading the domain.
5361
b50a7181
JM
53622013-05-22 Joseph Myers <joseph@codesourcery.com>
5363
5364 * math/gen-libm-test.pl (parse_args): Do not include expected
5365 result in test name.
5366 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5368 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5369 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5370 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5372
051063c8
SP
53732013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5374
3ce9e010
SP
5375 * benchtests/Makefile: Sort function entries.
5376
051063c8
SP
5377 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5378 tanh, asinh, acosh, atanh.
5379 * benchtests/acos-inputs: New file.
5380 * benchtests/acosh-inputs: New file.
5381 * benchtests/asin-inputs: New file.
5382 * benchtests/asinh-inputs: New file.
5383 * benchtests/atanh-inputs: New file.
5384 * benchtests/cosh-inputs: New file.
5385 * benchtests/log-inputs: New file.
5386 * benchtests/sinh-inputs: New file.
5387 * benchtests/tanh-inputs: New file.
5388
47c22455
DL
53892013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5390
5391 [BZ #15339]
5392 * posix/tst-getaddrinfo4.c: New test.
5393 * posix/Makefile (tests): Add it.
5394
3d04f5db
SP
53952013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5396
5397 [BZ #15339]
5398 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5399 when no services were used.
5400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5401 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5402
d5dd6189
AS
54032013-05-21 Andreas Schwab <schwab@suse.de>
5404
5405 [BZ #15014]
5406 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5407 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5408 successful.
5409 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5410 redundant variable declarations and reallocation of buffer when
5411 parsing as IPv6 address. Always set NSS status when called from
5412 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5413 buffer too small. Correct computation of needed size.
5414 * nss/Makefile (tests): Add test-digits-dots.
5415 * nss/test-digits-dots.c: New test.
5416
fef94eab
SP
54172013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5418
5419 * benchtests/Makefile: Remove instructions for adding
5420 benchmark tests.
5421 * benchtests/README: New file to explain how to execute and
5422 enhance the benchmark tests.
5423
e39adf43
AS
54242013-05-21 Andreas Schwab <schwab@suse.de>
5425
5426 [BZ #15493]
5427 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5428 * setjmp/tst-sigsetjmp.c: New test.
5429
b2b671b6
OB
54302013-05-20 Ondřej Bílka <neleai@seznam.cz>
5431
5432 * sysdeps/x86_64/memset.S (memset): New implementation.
5433 (__bzero): Likewise.
5434 (__memset_tail): New function.
5435
2d48b41c
OB
54362013-05-20 Ondřej Bílka <neleai@seznam.cz>
5437
5438 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5439 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5440 __memcpy_sse2_unaligned ifunc selection.
5441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5442 Add memcpy-sse2-unaligned.S.
5443 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5444 Add: __memcpy_sse2_unaligned.
5445
f16cc3eb
JM
54462013-05-19 Joseph Myers <joseph@codesourcery.com>
5447
3e694268
JM
5448 [BZ #15490]
5449 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5450 math_force_eval before restoring floating-point envrionment.
5451 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5452 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5453 Likewise.
5454 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5455 <math_private.h>.
5456 (__nearbyintl): Use math_force_eval before restoring
5457 floating-point environment.
5458 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5459
db62a907
JM
5460 * math/gen-libm-test.pl (special_functions): Remove.
5461 (parse_args): Don't handle TEST_extra. Handle functions with no
5462 return value.
5463 * math/libm-test.inc (struct test_sincos_data): Replace with
5464 struct test_fFF_11_data.
5465 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5466 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5467 (sincos_test_data): Change element type to struct
5468 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5469 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5470 RUN_TEST_LOOP_sincos.
5471 * math/README.libm-test: Don't mention special handling of
5472 individual functions.
5473 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5474 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5475 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5476 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5477 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5479
f16cc3eb
JM
5480 * math/gen-libm-test.pl (get_variable): Remove function.
5481 (parse_args): Don't show pointer parameters to call in test
5482 names. Use "extra output N" in test names for extra outputs
5483 rather than naming variables.
5484
3779b5b6
JM
54852013-05-18 Joseph Myers <joseph@codesourcery.com>
5486
2ee094ff
JM
5487 [BZ #15488]
5488 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5489 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5490 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5491 double tests.
5492 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5493 disable.
5494 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5495 check_long_double.
5496
3779b5b6
JM
5497 * math/gen-libm-test.pl (@tests): Remove variable.
5498 ($count): Likewise.
5499 (new_test): Remove function.
5500 (show_exceptions): New function.
5501 (special_functions): Use show_exceptions instead of new_test.
5502 (parse_args): Likewise.
5503 (generate_testfile): Pass only function name in generated call to
5504 print_max_error or print_complex_max_error.
5505 (get_ulps): Do not handle complex tests specially.
5506 (output_test): Rename to ...
5507 (get_all_ulps_for_test): ... this. Return a string rather than
5508 printing to a file. Require ulps to be present.
5509 (output_ulps): Generate arrays rather than #defines.
5510 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5511 (struct ulp_data): New type.
5512 (BUILD_COMPLEX_ULP): Remove macro.
5513 (compare_ulp_data): New function.
5514 (find_ulps): Likewise.
5515 (find_test_ulps): Likewise.
5516 (find_function_ulps): Likewise.
5517 (find_complex_function_ulps): Likewise.
5518 (print_max_error): Determine allowed ulps using
5519 find_function_ulps.
5520 (print_complex_max_error): Determine allowed ulps using
5521 find_complex_function_ulps.
5522 (check_float_internal): Determine max ulps using find_test_ulps.
5523 (check_float): Do not take max_ulp parameter. Update call to
5524 check_float_internal.
5525 (check_complex): Likewise.
5526 (check_int): Do not take max_ulp parameter.
5527 (check_long): Likewise.
5528 (check_bool): Likewise.
5529 (check_longlong): Likewise.
5530 (struct test_f_f_data): Remove max_ulp field.
5531 (struct test_ff_f_data): Likewise.
5532 (struct test_ff_f_data_nexttoward): Likewise.
5533 (struct test_fi_f_data): Likewise.
5534 (struct test_fl_f_data): Likewise.
5535 (struct test_if_f_data): Likewise.
5536 (struct test_fff_f_data): Likewise.
5537 (struct test_c_f_data): Likewise.
5538 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5539 (struct test_fF_f1_data): Likewise.
5540 (struct test_ffI_f1_data): Likewise.
5541 (struct test_c_c_data): Remove max_ulp field.
5542 (struct test_cc_c_data): Likewise.
5543 (struct test_f_i_data): Likewise.
5544 (struct test_ff_i_data): Likewise.
5545 (struct test_f_l_data): Likewise.
5546 (struct test_f_L_data): Likewise.
5547 (struct test_sincos_data): Likewise.
5548 (RUN_TEST_f_f): Do not handle ulps.
5549 (RUN_TEST_LOOP_f_f): Likewise.
5550 (RUN_TEST_2_f): Likewise.
5551 (RUN_TEST_LOOP_2_f): Likewise.
5552 (RUN_TEST_fff_f): Likewise.
5553 (RUN_TEST_LOOP_fff_f): Likewise.
5554 (RUN_TEST_c_f): Likewise.
5555 (RUN_TEST_LOOP_c_f): Likewise.
5556 (RUN_TEST_f_f1): Likewise.
5557 (RUN_TEST_LOOP_f_f1): Likewise.
5558 (RUN_TEST_fF_f1): Likewise.
5559 (RUN_TEST_LOOP_fF_f1): Likewise.
5560 (RUN_TEST_fI_f1): Likewise.
5561 (RUN_TEST_LOOP_fI_f1): Likewise.
5562 (RUN_TEST_ffI_f1): Likewise.
5563 (RUN_TEST_LOOP_ffI_f1): Likewise.
5564 (RUN_TEST_c_c): Likewise.
5565 (RUN_TEST_LOOP_c_c): Likewise.
5566 (RUN_TEST_cc_c): Likewise.
5567 (RUN_TEST_LOOP_cc_c): Likewise.
5568 (RUN_TEST_f_i): Likewise.
5569 (RUN_TEST_LOOP_f_i): Likewise.
5570 (RUN_TEST_f_i_tg): Likewise.
5571 (RUN_TEST_LOOP_f_i_tg): Likewise.
5572 (RUN_TEST_ff_i_tg): Likewise.
5573 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5574 (RUN_TEST_f_b): Likewise.
5575 (RUN_TEST_LOOP_f_b): Likewise.
5576 (RUN_TEST_f_b_tg): Likewise.
5577 (RUN_TEST_LOOP_f_b_tg): Likewise.
5578 (RUN_TEST_f_l): Likewise.
5579 (RUN_TEST_LOOP_f_l): Likewise.
5580 (RUN_TEST_f_L): Likewise.
5581 (RUN_TEST_LOOP_f_L): Likewise.
5582 (RUN_TEST_sincos): Likewise.
5583 (RUN_TEST_LOOP_sincos): Likewise.
5584
8269107f
JM
55852013-05-17 Joseph Myers <joseph@codesourcery.com>
5586
bb38759d
JM
5587 [BZ #15480]
5588 [BZ #15485]
5589 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5590 main case of finite arguments, set rounding mode to FE_TONEAREST
5591 and discard exceptions.
5592 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5593 exceptions.
5594 (remainder_tonearest_test_data): New variable.
5595 (remainder_test_tonearest): New function.
5596 (remainder_towardzero_test_data): New variable.
5597 (remainder_test_towardzero): New function.
5598 (remainder_downward_test_data): New variable.
5599 (remainder_test_downward): New function.
5600 (remainder_upward_test_data): New variable.
5601 (remainder_test_upward): New function.
5602 (main): Call the new test functions.
5603
a00bdcf0
JM
5604 * math/libm-test.inc (struct test_f_f1_data): Remove field
5605 extra_init.
5606 (struct test_fF_f1_data): Likewise.
5607 (struct test_ffI_f1_data): Likewise.
5608 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5609 based on value of EXTRA_EXPECTED.
5610 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5611 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5612 EXTRA_VAR based on value of EXTRA_EXPECTED.
5613 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5614 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5615 EXTRA_VAR based on value of EXTRA_EXPECTED.
5616 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5617 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5618 EXTRA_VAR based on value of EXTRA_EXPECTED.
5619 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5620 * math/gen-libm-test.pl (parse_args): Don't output initializers
5621 for extra output values.
5622
de407f79
JM
5623 * math/libm-test.inc (check_int): Expect result to be exactly
5624 equal to expected value and do not handle ulps.
5625 (check_long): Likewise.
5626 (check_longlong): Likewise.
5627
8269107f
JM
5628 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5629 exceptions.
5630 (cimag_test_data): Likewise.
5631 (conj_test_data): Likewise.
5632 (copysign_test_data): Likewise.
5633 (cproj_test_data): Likewise.
5634 (creal_test_data): Likewise.
5635 (fabs_test_data): Likewise.
5636 (fdim_test_data): Likewise.
5637 (finite_test_data): Likewise.
5638 (floor_test_data): Likewise.
5639 (fmax_test_data): Likewise.
5640 (fmin_test_data): Likewise.
5641 (fmod_test_data): Likewise.
5642 (fpclassify_test_data): Likewise.
5643 (frexp_test_data): Likewise.
5644 (ilogb_test_data): Likewise.
5645 (isfinite_test_data): Likewise.
5646 (isgreater_test_data): Likewise.
5647 (isgreaterequal_test_data): Likewise.
5648 (isinf_test_data): Likewise.
5649 (isless_test_data): Likewise.
5650 (islessequal_test_data): Likewise.
5651 (islessgreater_test_data): Likewise.
5652 (isnan_test_data): Likewise.
5653 (isnormal_test_data): Likewise.
5654 (issignaling_test_data): Likewise.
5655 (isunordered_test_data): Likewise.
5656 (ldexp_test_data): Likewise.
5657 (lrint_test_data): Likewise.
5658 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5659 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5660 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5661 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5662 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5663 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5664 test input.
5665 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5666 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5667 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5668 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5669 that test input.
5670 (lrint_downward_test_data): Test for "inexact" exceptions.
5671 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5672 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5673 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5674 test input.
5675 (lrint_upward_test_data): Test for "inexact" exceptions.
5676 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5677 test input.
5678 (llrint_test_data): Test for "inexact" exceptions.
5679 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5680 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5681 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5682 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5683 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5684 (llrint_downward_test_data): Test for "inexact" exceptions.
5685 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5686 (llrint_upward_test_data): Test for "inexact" exceptions.
5687 (logb_test_data): Likewise.
5688 (logb_downward_test_data): Likewise.
5689 (nextafter_test_data): Likewise.
5690 (nexttoward_test_data): Likewise.
5691 (remainder_test_data): Likewise.
5692 (remquo_test_data): Likewise.
5693 (scalbn_test_data): Likewise.
5694 (scalbln_test_data): Likewise.
5695 (signbit_test_data): Likewise.
5696 (sqrt_test_data): Likewise.
5697 (significand_test_data): Likewise.
5698
48a18de1
SP
56992013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5700
5701 [BZ #15424]
5702 * benchtests/bench-modf.c (struct args): Mark arg0 as
5703 volatile.
5704 * scripts/bench.pl: Mark members of struct args as volatile.
5705
13d3b41a
AZ
57062013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5707
68191c1d 5708 [BZ # 15497]
13d3b41a
AZ
5709 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5710 negative infinity on POWER6 or lower.
5711 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5712
2848b105
MR
57132013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5714
5715 [BZ #15442]
5716 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5717 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5718 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5719 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5720 (_FP_SETQNAN): New macro.
5721 (_FP_SETQNAN_SEMIRAW): Likewise.
5722 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5723 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5724 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5725 (FP_EXTEND): Use _FP_FRAC_SNANP.
5726 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5727 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5728 into account.
5729 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5730 New macro.
5731 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5732 Likewise.
5733
323e5cb7
JM
57342013-05-16 Joseph Myers <joseph@codesourcery.com>
5735
c58b274f
JM
5736 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5737 with DIVIDE_BY_ZERO_EXCEPTION.
5738 (gamma_test_data): Likewise.
5739 (lgamma_test_data): Likewise.
5740 (log_test_data): Likewise.
5741 (log10_test_data): Likewise.
5742 (log2_test_data): Likewise.
5743 (tgamma_test_data): Likewise.
5744
0ab34904
JM
5745 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5746 (acos_test_tonearest): Likewise.
5747 (acos_test_towardzero): Likewise.
5748 (acos_test_downward): Likewise.
5749 (acos_test_upward): Likewise.
5750 (acosh_test): Likewise.
5751 (asin_test): Likewise.
5752 (asin_test_tonearest): Likewise.
5753 (asin_test_towardzero): Likewise.
5754 (asin_test_downward): Likewise.
5755 (asin_test_upward): Likewise.
5756 (asinh_test): Likewise.
5757 (atan_test): Likewise.
5758 (atanh_test): Likewise.
5759 (atan2_test): Likewise.
5760 (cabs_test): Likewise.
5761 (cacos_test): Likewise.
5762 (cacosh_test): Likewise.
5763 (casin_test): Likewise.
5764 (casinh_test): Likewise.
5765 (catan_test): Likewise.
5766 (catanh_test): Likewise.
5767 (cbrt_test): Likewise.
5768 (ccos_test): Likewise.
5769 (ccosh_test): Likewise.
5770 (cexp_test): Likewise.
5771 (clog_test): Likewise.
5772 (clog10_test): Likewise.
5773 (cos_test): Likewise.
5774 (cos_test_tonearest): Likewise.
5775 (cos_test_towardzero): Likewise.
5776 (cos_test_downward): Likewise.
5777 (cos_test_upward): Likewise.
5778 (cosh_test): Likewise.
5779 (cosh_test_tonearest): Likewise.
5780 (cosh_test_towardzero): Likewise.
5781 (cosh_test_downward): Likewise.
5782 (cosh_test_upward): Likewise.
5783 (cpow_test): Likewise.
5784 (csin_test): Likewise.
5785 (csinh_test): Likewise.
5786 (csqrt_test): Likewise.
5787 (ctan_test): Likewise.
5788 (ctan_test_tonearest): Likewise.
5789 (ctan_test_towardzero): Likewise.
5790 (ctan_test_downward): Likewise.
5791 (ctan_test_upward): Likewise.
5792 (ctanh_test): Likewise.
5793 (ctanh_test_tonearest): Likewise.
5794 (ctanh_test_towardzero): Likewise.
5795 (ctanh_test_downward): Likewise.
5796 (ctanh_test_upward): Likewise.
5797 (erf_test): Likewise.
5798 (erfc_test): Likewise.
5799 (exp_test): Likewise.
5800 (exp_test_tonearest): Likewise.
5801 (exp_test_towardzero): Likewise.
5802 (exp_test_downward): Likewise.
5803 (exp_test_upward): Likewise.
5804 (exp10_test): Likewise.
5805 (exp2_test): Likewise.
5806 (expm1_test): Likewise.
5807 (fmod_test): Likewise.
5808 (gamma_test): Likewise.
5809 (hypot_test): Likewise.
5810 (j0_test): Likewise.
5811 (j1_test): Likewise.
5812 (jn_test): Likewise.
5813 (lgamma_test): Likewise.
5814 (log_test): Likewise.
5815 (log10_test): Likewise.
5816 (log1p_test): Likewise.
5817 (log2_test): Likewise.
5818 (logb_test_downward): Likewise.
5819 (pow_test): Likewise.
5820 (pow_test_tonearest): Likewise.
5821 (pow_test_towardzero): Likewise.
5822 (pow_test_downward): Likewise.
5823 (pow_test_upward): Likewise.
5824 (remainder_test): Likewise.
5825 (remquo_test): Likewise.
5826 (sin_test): Likewise.
5827 (sin_test_tonearest): Likewise.
5828 (sin_test_towardzero): Likewise.
5829 (sin_test_downward): Likewise.
5830 (sin_test_upward): Likewise.
5831 (sincos_test): Likewise.
5832 (sinh_test): Likewise.
5833 (sinh_test_tonearest): Likewise.
5834 (sinh_test_towardzero): Likewise.
5835 (sinh_test_downward): Likewise.
5836 (sinh_test_upward): Likewise.
5837 (sqrt_test): Likewise.
5838 (tan_test): Likewise.
5839 (tan_test_tonearest): Likewise.
5840 (tan_test_towardzero): Likewise.
5841 (tan_test_downward): Likewise.
5842 (tan_test_upward): Likewise.
5843 (tanh_test): Likewise.
5844 (tgamma_test): Likewise.
5845 (y0_test): Likewise.
5846 (y1_test): Likewise.
5847 (yn_test): Likewise.
5848
323e5cb7
JM
5849 * math/gen-libm-test.pl (adjust_arg): Remove function.
5850 (special_function): Remove argument $in_func. Only handle
5851 generating output for tables of tests, not inside functions.
5852 (parse_args): Likewise.
5853 (generate_testfile): Remove variable $in_func. Update call to
5854 parse_args.
5855 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5856 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5857 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5858 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5859 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5860 (MAX_VALUE_INIT): Rename macro to max_value.
5861 (MIN_VALUE_INIT): Rename macro to min_value.
5862 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5863 (plus_zero): Remove variable.
5864 (minus_zero): Likewise.
5865 (plus_infty): Likewise.
5866 (minus_infty): Likewise.
5867 (qnan_value): Likewise.
5868 (max_value): Likewise.
5869 (min_value): Likewise.
5870 (min_subnorm_value): Likewise.
5871
e054f494
RA
58722013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5873
5874 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5875 uint64_t or uint32_t usage.
5876 * crypt/sha256-block.c: Likewise.
5877 * crypt/sha256-crypt.c: Likewise.
5878 * crypt/sha256.c: Likewise.
5879 * crypt/sha512-block.c: Likewise.
5880 * crypt/sha512-crypt.c: Likewise.
5881 * crypt/sha512.c: Likewise.
5882 * debug/backtrace-tst.c: Likewise.
5883 * debug/pcprofiledump.c: Likewise.
5884 * elf/cache.c: Likewise.
5885 * elf/dl-cache.c: Likewise.
5886 * elf/dl-misc.c: Likewise.
5887 * elf/dl-profile.c: Likewise.
5888 * elf/dl-support.c: Likewise.
5889 * elf/ldconfig.c: Likewise.
5890 * elf/sprof.c: Likewise.
5891 * iconv/dummy-repertoire.c: Likewise.
5892 * iconv/iconv_charmap.c: Likewise.
5893 * iconv/skeleton.c: Likewise.
5894 * iconvdata/8bit-generic.c: Likewise.
5895 * iconvdata/cp737.h: Likewise.
5896 * iconvdata/cp775.h: Likewise.
5897 * iconvdata/ibm1008.h: Likewise.
5898 * iconvdata/ibm1025.h: Likewise.
5899 * iconvdata/ibm1046.h: Likewise.
5900 * iconvdata/ibm1097.h: Likewise.
5901 * iconvdata/ibm1112.h: Likewise.
5902 * iconvdata/ibm1122.h: Likewise.
5903 * iconvdata/ibm1123.h: Likewise.
5904 * iconvdata/ibm1124.h: Likewise.
5905 * iconvdata/ibm1129.h: Likewise.
5906 * iconvdata/ibm1130.h: Likewise.
5907 * iconvdata/ibm1132.h: Likewise.
5908 * iconvdata/ibm1133.h: Likewise.
5909 * iconvdata/ibm1137.h: Likewise.
5910 * iconvdata/ibm1140.h: Likewise.
5911 * iconvdata/ibm1141.h: Likewise.
5912 * iconvdata/ibm1142.h: Likewise.
5913 * iconvdata/ibm1143.h: Likewise.
5914 * iconvdata/ibm1144.h: Likewise.
5915 * iconvdata/ibm1145.h: Likewise.
5916 * iconvdata/ibm1146.h: Likewise.
5917 * iconvdata/ibm1147.h: Likewise.
5918 * iconvdata/ibm1148.h: Likewise.
5919 * iconvdata/ibm1149.h: Likewise.
5920 * iconvdata/ibm1153.h: Likewise.
5921 * iconvdata/ibm1154.h: Likewise.
5922 * iconvdata/ibm1155.h: Likewise.
5923 * iconvdata/ibm1156.h: Likewise.
5924 * iconvdata/ibm1157.h: Likewise.
5925 * iconvdata/ibm1158.h: Likewise.
5926 * iconvdata/ibm1160.h: Likewise.
5927 * iconvdata/ibm1161.h: Likewise.
5928 * iconvdata/ibm1162.h: Likewise.
5929 * iconvdata/ibm1163.h: Likewise.
5930 * iconvdata/ibm1164.h: Likewise.
5931 * iconvdata/ibm1166.h: Likewise.
5932 * iconvdata/ibm1167.h: Likewise.
5933 * iconvdata/ibm12712.h: Likewise.
5934 * iconvdata/ibm1390.h: Likewise.
5935 * iconvdata/ibm1399.h: Likewise.
5936 * iconvdata/ibm16804.h: Likewise.
5937 * iconvdata/ibm4517.h: Likewise.
5938 * iconvdata/ibm4899.h: Likewise.
5939 * iconvdata/ibm4909.h: Likewise.
5940 * iconvdata/ibm4971.h: Likewise.
5941 * iconvdata/ibm5347.h: Likewise.
5942 * iconvdata/ibm803.h: Likewise.
5943 * iconvdata/ibm856.h: Likewise.
5944 * iconvdata/ibm901.h: Likewise.
5945 * iconvdata/ibm902.h: Likewise.
5946 * iconvdata/ibm9030.h: Likewise.
5947 * iconvdata/ibm9066.h: Likewise.
5948 * iconvdata/ibm921.h: Likewise.
5949 * iconvdata/ibm922.h: Likewise.
5950 * iconvdata/ibm9448.h: Likewise.
5951 * iconvdata/isiri-3342.h: Likewise.
5952 * iconvdata/jis0201.h: Likewise.
5953 * include/link.h: Likewise.
5954 * include/netdb.h: Likewise.
5955 * inet/check_native.c: Likewise.
5956 * inet/check_pf.c: Likewise.
5957 * inet/getipv4sourcefilter.c: Likewise.
5958 * inet/getnameinfo.c: Likewise.
5959 * inet/getsourcefilter.c: Likewise.
5960 * inet/htonl.c: Likewise.
5961 * inet/setipv4sourcefilter.c: Likewise.
5962 * inet/setsourcefilter.c: Likewise.
5963 * inet/test-inet6_opt.c: Likewise.
5964 * inet/tst-network.c: Likewise.
5965 * locale/C-collate.c: Likewise.
5966 * locale/C-ctype.c: Likewise.
5967 * locale/C-time.c: Likewise.
5968 * locale/C-translit.h: Likewise.
5969 * locale/loadarchive.c: Likewise.
5970 * locale/programs/3level.h: Likewise.
5971 * locale/programs/charmap.c: Likewise.
5972 * locale/programs/charmap.h: Likewise.
5973 * locale/programs/ld-address.c: Likewise.
5974 * locale/programs/ld-collate.c: Likewise.
5975 * locale/programs/ld-ctype.c: Likewise.
5976 * locale/programs/ld-identification.c: Likewise.
5977 * locale/programs/ld-measurement.c: Likewise.
5978 * locale/programs/ld-messages.c: Likewise.
5979 * locale/programs/ld-monetary.c: Likewise.
5980 * locale/programs/ld-name.c: Likewise.
5981 * locale/programs/ld-numeric.c: Likewise.
5982 * locale/programs/ld-paper.c: Likewise.
5983 * locale/programs/ld-telephone.c: Likewise.
5984 * locale/programs/ld-time.c: Likewise.
5985 * locale/programs/linereader.c: Likewise.
5986 * locale/programs/locale.c: Likewise.
5987 * locale/programs/locarchive.c: Likewise.
5988 * locale/programs/locfile.h: Likewise.
5989 * locale/programs/repertoire.c: Likewise.
5990 * locale/programs/simple-hash.c: Likewise.
5991 * locale/programs/simple-hash.h: Likewise.
5992 * malloc/memusage.c: Likewise.
5993 * malloc/memusagestat.c: Likewise.
5994 * nis/nis_defaults.c: Likewise.
5995 * nis/nis_hash.c: Likewise.
5996 * nis/nis_print.c: Likewise.
5997 * nis/nis_xdr.c: Likewise.
5998 * nscd/connections.c: Likewise.
5999 * nscd/hstcache.c: Likewise.
6000 * nscd/nscd_gethst_r.c: Likewise.
6001 * nscd/nscd_getserv_r.c: Likewise.
6002 * nscd/nscd_helper.c: Likewise.
6003 * nscd/servicescache.c: Likewise.
6004 * nss/makedb.c: Likewise.
6005 * nss/nss_db/db-XXX.c: Likewise.
6006 * nss/nss_db/db-initgroups.c: Likewise.
6007 * nss/nss_db/db-netgrp.c: Likewise.
6008 * nss/nss_files/files-network.c: Likewise.
6009 * nss/nss_files/files-parse.c: Likewise.
6010 * posix/bug-regex5.c: Likewise.
6011 * posix/fnmatch_loop.c: Likewise.
6012 * posix/regcomp.c: Likewise.
6013 * posix/regexec.c: Likewise.
6014 * posix/tst-rfc3484-2.c: Likewise.
6015 * posix/tst-rfc3484-3.c: Likewise.
6016 * posix/tst-rfc3484.c: Likewise.
6017 * resolv/nss_dns/dns-canon.c: Likewise.
6018 * resolv/nss_dns/dns-network.c: Likewise.
6019 * resolv/res_init.c: Likewise.
6020 * resolv/res_mkquery.c: Likewise.
6021 * resolv/tst-aton.c: Likewise.
6022 * stdlib/cxa_atexit.c: Likewise.
6023 * stdlib/cxa_finalize.c: Likewise.
6024 * stdlib/gen-fpioconst.c: Likewise.
6025 * stdlib/strtol_l.c: Likewise.
6026 * string/tst-endian.c: Likewise.
6027 * sunrpc/auth_des.c: Likewise.
6028 * sunrpc/clnt_udp.c: Likewise.
6029 * sunrpc/rtime.c: Likewise.
6030 * sunrpc/svcauth_des.c: Likewise.
6031 * sunrpc/xdr.c: Likewise.
6032 * sunrpc/xdr_intXX_t.c: Likewise.
6033 * sunrpc/xdr_rec.c: Likewise.
6034 * sysdeps/generic/ldconfig.h: Likewise.
6035 * sysdeps/generic/ldsodefs.h: Likewise.
6036 * sysdeps/generic/memusage.h: Likewise.
6037 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6038 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6039 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6040 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6043 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6045 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6047 * sysdeps/posix/getaddrinfo.c: Likewise.
6048 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6049 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6050 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6051 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6052 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6053 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6054 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6055 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6056 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6057 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6058 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6059 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6060 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6061 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6062 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6063 * sysdeps/x86_64/dl-tls.h: Likewise.
6064 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6065 * time/alt_digit.c: Likewise.
6066 * time/era.c: Likewise.
6067 * wcsmbs/tst-c16c32-1.c: Likewise.
6068
8c75f674
JM
60692013-05-16 Joseph Myers <joseph@codesourcery.com>
6070
6071 * math/libm-test.inc (struct test_sincos_data): New type.
6072 (RUN_TEST_LOOP_sincos): New macro.
6073 (sincos_test_data): New variable.
6074 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6075
e6e49e59
RH
60762013-05-16 Richard Henderson <rth@redhat.com>
6077
6078 * math/atest-exp2.c (LIMB64): New macro.
6079 (CONSTSZ): New macro.
6080 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6081 (hexdig): Move ...
6082 (print_mpn_fp): ... to function scope.
6083 (read_mpn_hex): Remove.
6084 (get_log2): Remove.
6085 (exp2_mpn): Use mp_log2.
6086 (main): Use mp_exp1.
6087
15c7c18d
JM
60882013-05-16 Joseph Myers <joseph@codesourcery.com>
6089
105a07df
JM
6090 * math/libm-test.inc: Remove comment about not testing "inexact"
6091 exceptions.
6092 (INEXACT_EXCEPTION): New macro.
6093 (NO_INEXACT_EXCEPTION): Likewise.
6094 (INVALID_EXCEPTION_OK): Update value.
6095 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6096 (OVERFLOW_EXCEPTION_OK): Likewise.
6097 (UNDERFLOW_EXCEPTION_OK): Likewise.
6098 (IGNORE_ZERO_INF_SIGN): Likewise.
6099 (ERRNO_UNCHANGED): Likewise.
6100 (ERRNO_EDOM): Likewise.
6101 (ERRNO_ERANGE): Likewise.
6102 (test_exceptions): Handle testing "inexact" exceptions.
6103 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6104 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6105 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6106 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6107 INEXACT_EXCEPTION.
6108 (rint_towardzero_test_data): Likewise.
6109 (rint_downward_test_data): Likewise.
6110 (rint_upward_test_data): Likewise.
6111
e9eee333
JM
6112 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6113 with OVERFLOW_EXCEPTION.
6114 (exp10_test_data): Likewise.
6115 (exp2_test_data): Likewise.
6116 (expm1_test_data): Likewise.
6117 (lgamma_test_data): Likewise.
6118 (pow_test_data): Likewise.
6119 (tgamma_test_data): Likewise.
6120 (yn_test_data): Remove duplicate test of overflow.
6121
1c38ff73
JM
6122 * math/libm-test.inc (struct test_cc_c_data): New type.
6123 (RUN_TEST_LOOP_cc_c): New macro.
6124 (cpow_test_data): New variable.
6125 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6126
15c7c18d
JM
6127 * math/libm-test.inc (struct test_f_L_data): New type.
6128 (RUN_TEST_LOOP_f_L): New macro.
6129 (llrint_test_data): New variable.
6130 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6131 (llrint_tonearest_test_data): New variable.
6132 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6133 (llrint_towardzero_test_data): New variable.
6134 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6135 (llrint_downward_test_data): New variable.
6136 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6137 (llrint_upward_test_data): New variable.
6138 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6139 (llround_test_data): New variable.
6140 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6141
f137ff13
PC
61422013-05-13 Peter Collingbourne <pcc@google.com>
6143
6144 * math/atest-exp2.c (get_log2): Remove const attribute.
6145
3608cb24
JM
61462013-05-15 Joseph Myers <joseph@codesourcery.com>
6147
6148 * math/libm-test.inc (struct test_f_l_data): New type.
6149 (RUN_TEST_LOOP_f_l): New macro.
6150 (lrint_test_data): New variable.
6151 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6152 (lrint_tonearest_test_data): New variable.
6153 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6154 (lrint_towardzero_test_data): New variable.
6155 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6156 (lrint_downward_test_data): New variable.
6157 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6158 (lrint_upward_test_data): New variable.
6159 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6160 (lround_test_data): New variable.
6161 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6162
39b1f617
PC
61632013-05-15 Peter Collingbourne <pcc@google.com>
6164
1deff3dc
PC
6165 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6166 (EXTRACT_WORDS64) Use where appropriate.
6167 (INSERT_WORDS64) Likewise.
6168
791f3ba0
PC
6169 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6170 constraints with x constraints.
6171 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6172
39b1f617
PC
6173 * malloc/obstack.c (_obstack_compat): Add initializer.
6174
12fba011
EM
61752013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6176
6177 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6178 si_trapno and add si_addr_lsb to _sifields.sigfault.
6179 (si_trapno): Remove macro.
6180 (si_addr_lsb): Define new macro.
6181 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6182
d369f531
JM
61832013-05-15 Joseph Myers <joseph@codesourcery.com>
6184
b861c6c4
JM
6185 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6186 instead of TEST_f_l.
6187 (llrint_test_tonearest): Likewise.
6188 (llrint_test_towardzero): Likewise.
6189 (llrint_test_downward): Likewise.
6190 (llrint_test_upward): Likewise.
6191 (llround_test): Likewise.
6192
7abeee12
JM
6193 * math/libm-test.inc (struct test_f_i_data): Add comment.
6194 (RUN_TEST_LOOP_f_b): New macro.
6195 (RUN_TEST_LOOP_f_b_tg): Likewise.
6196 (finite_test_data): New variable.
6197 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6198 (isfinite_test_data): New variable.
6199 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6200 (isinf_test_data): New variable.
6201 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6202 (isnan_test_data): New variable.
6203 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6204 (isnormal_test_data): New variable.
6205 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6206 (issignaling_test_data): New variable.
6207 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6208 (signbit_test_data): New variable.
6209 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6210
cbe8c4d3
JM
6211 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6212 with INVALID_EXCEPTION.
6213 (acosh_test_data): Likewise.
6214 (asin_test_data): Likewise.
6215 (atanh_test_data): Likewise.
6216 (fmod_test_data): Likewise.
6217 (log_test_data): Likewise.
6218 (log10_test_data): Likewise.
6219 (log2_test_data): Likewise.
6220 (pow_test_data): Likewise.
6221 (sqrt_test_data): Likewise.
6222 (y0_test_data): Likewise.
6223 (y1_test_data): Likewise.
6224 (yn_test_data): Likewise.
6225
5575c0e5
JM
6226 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6227 function contents.
6228
d369f531
JM
6229 * math/libm-test.inc (struct test_ff_i_data): New type.
6230 (RUN_TEST_LOOP_ff_i_tg): New macro.
6231 (isgreater_test_data): New variable.
6232 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6233 (isgreaterequal_test_data): New variable.
6234 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6235 (isless_test_data): New variable.
6236 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6237 (islessequal_test_data): New variable.
6238 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6239 (islessgreater_test_data): New variable.
6240 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6241 (isunordered_test_data): New variable.
6242 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6243
781fd748
DM
62442013-05-14 David S. Miller <davem@davemloft.net>
6245
6246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6247
87aa21df
JM
62482013-05-14 Joseph Myers <joseph@codesourcery.com>
6249
5e908270
JM
6250 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6251
f71172e5
JM
6252 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6253 extra_test to int.
6254 (struct test_f_i_data): Change type of max_ulp to int.
6255
8cfa635a
JM
6256 * math/libm-test.inc (test_ffI_f1_data): New type.
6257 (RUN_TEST_LOOP_ffI_f1): New macro.
6258 (remquo_test_data): New variable.
6259 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6260
2bcb36b2
JM
6261 * setjmp/tst-setjmp-fp.c: New file.
6262 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6263 (link-libm): New variable.
6264 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6265
acbd839a
JM
6266 * math/libm-test.inc (struct test_f_i_data): New type.
6267 (RUN_TEST_LOOP_f_i): New macro.
6268 (RUN_TEST_LOOP_f_i_tg): Likewise.
6269 (fpclassify_test_data): New variable.
6270 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6271 (ilogb_test_data): New variable.
6272 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6273
e414d745
JM
6274 * math/libm-test.inc (scalbln_test): Correct function name in END
6275 call.
6276
d9c2a0fd
JM
6277 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6278 (RUN_TEST_LOOP_fI_f1): New macro.
6279 (frexp_test_data): New variable.
6280 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6281
9dc9095d
JM
6282 * math/libm-test.inc (struct test_fF_f1_data): New type.
6283 (RUN_TEST_LOOP_fF_f1): New macro.
6284 (modf_test_data): New variable.
6285 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6286
87aa21df
JM
6287 * math/libm-test.inc (struct test_f_f1_data): New type.
6288 (RUN_TEST_LOOP_f_f1): New macro.
6289 (gamma_test_data): New variable.
6290 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6291 (lgamma_test_data): New variable.
6292 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6293
141af660
CD
62942013-05-13 Carlos O'Donell <carlos@redhat.com>
6295
6296 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6297 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6298 (main): Comment "tls" pseudo-hwcap.
6299
6d33265c
JM
63002013-05-13 Joseph Myers <joseph@codesourcery.com>
6301
68fc074c
JM
6302 * math/libm-test.inc (struct test_fl_f_data): New type.
6303 (RUN_TEST_LOOP_fl_f): New variable.
6304 (scalbln_test_data): New variable.
6305 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6306
243216e1
JM
6307 * math/libm-test.inc (struct test_fi_f_data): New type.
6308 (RUN_TEST_LOOP_fi_f): New macro.
6309 (ldexp_test_data): New variable.
6310 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6311 (scalbn_test_data): New variable.
6312 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6313
6a1992e2
JM
6314 * math/libm-test.inc (struct test_c_f_data): New type.
6315 (RUN_TEST_LOOP_c_f): New macro.
6316 (cabs_test_data): New variable.
6317 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6318 (carg_test_data): New variable.
6319 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6320 (cimag_test_data): New variable.
6321 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6322 (creal_test_data): New variable.
6323 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6324
0e400df5
JM
6325 * math/libm-test.inc (struct test_if_f_data): New type.
6326 (RUN_TEST_LOOP_if_f): New macro.
6327 (jn_test_data): New variable.
6328 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6329 (yn_test_data): New variable.
6330 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6331
6d33265c
JM
6332 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6333
f98ece5f
AZ
63342013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6335
6336 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6337 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6338
0f7d347b
SP
63392013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6340
43fe811b
SP
6341 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6342 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6343 (bench-deps): Add bench-timing.h.
6344 * benchtests-bench-skeleton.c: Include bench-timing.h.
6345 (main): Use TIMING_* macros instead of clock_gettime.
6346 * benchtests/bench-timing.h: New file.
6347
0f7d347b
SP
6348 [BZ #14582]
6349 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6350 Renamed from _LIB_VERSION.
6351 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6352
601a3a5f
JM
63532013-05-12 Joseph Myers <joseph@codesourcery.com>
6354
4f184d30
JM
6355 * math/libm-test.inc (struct test_fff_f_data): New type.
6356 (RUN_TEST_LOOP_fff_f): New macro.
6357 (fma_test_data): New variable.
6358 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6359 (fma_towardzero_test_data): New variable.
6360 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6361 (fma_downward_test_data): New variable.
6362 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6363 (fma_upward_test_data): New variable.
6364 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6365
08198877
JM
6366 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6367 (struct test_c_c_data): New type.
6368 (RUN_TEST_LOOP_c_c): New macro.
6369 (cacos_test_data): New variable.
6370 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6371 (cacosh_test_data): New variable.
6372 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6373 (casin_test_data): New variable.
6374 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6375 (casinh_test_data): New variable.
6376 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6377 (catan_test_data): New variable.
6378 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6379 (catanh_test_data): New variable.
6380 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6381 (ccos_test_data): New variable.
6382 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6383 (ccosh_test_data): New variable.
6384 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6385 (cexp_test_data): New variable.
6386 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6387 (clog_test_data): New variable.
6388 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6389 (clog10_test_data): New variable.
6390 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6391 (conj_test_data): New variable.
6392 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6393 (cproj_test_data): New variable.
6394 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6395 (csin_test_data): New variable.
6396 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6397 (csinh_test_data): New variable.
6398 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6399 (csqrt_test_data): New variable.
6400 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6401 (ctan_test_data): New variable.
6402 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6403 (ctan_tonearest_test_data): New variable.
6404 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6405 (ctan_towardzero_test_data): New variable.
6406 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6407 (ctan_downward_test_data): New variable.
6408 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6409 (ctan_upward_test_data): New variable.
6410 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6411 (ctanh_test_data): New variable.
6412 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6413 (ctanh_tonearest_test_data): New variable.
6414 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6415 (ctanh_towardzero_test_data): New variable.
6416 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6417 (ctanh_downward_test_data): New variable.
6418 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6419 (ctanh_upward_test_data): New variable.
6420 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6421 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6422 of BUILD_COMPLEX.
6423
601a3a5f
JM
6424 * math/libm-test.inc (struct test_ff_f_data): New type.
6425 (struct test_ff_f_data_nexttoward): Likewise.
6426 (RUN_TEST_LOOP_2_f): New macro.
6427 (RUN_TEST_LOOP_ff_f): Likewise.
6428 (atan2_test_data): New variable.
6429 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6430 (copysign_test_data): New variable.
6431 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6432 (fdim_test_data): New variable.
6433 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6434 (fmax_test_data): New variable.
6435 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6436 (fmin_test_data): New variable.
6437 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6438 (fmod_test_data): New variable.
6439 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6440 (hypot_test_data): New variable.
6441 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6442 (nextafter_test_data): New variable.
6443 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6444 (nexttoward_test_data): New variable.
6445 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6446 (pow_test_data): New variable.
6447 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6448 (pow_tonearest_test_data): New variable.
6449 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6450 (pow_towardzero_test_data): New variable.
6451 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6452 (pow_downward_test_data): New variable.
6453 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6454 (pow_upward_test_data): New variable.
6455 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6456 (remainder_test_data): New variable.
6457 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6458 (scalb_test_data): New variable.
6459 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6460 * sysdeps/i386/fpu/libm-test-ulps: Update.
6461
74c57478
JM
64622013-05-11 Joseph Myers <joseph@codesourcery.com>
6463
8329e4da
JM
6464 * math/libm-test.inc (fma_test): Use max_value instead of local
6465 variable fltmax.
6466 (nextafter_test): Likewise.
6467
74c57478
JM
6468 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6469 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6470 (acos_downward_test_data): New variable.
6471 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6472 (acos_upward_test_data): New variable.
6473 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6474 (acosh_test_data): New variable.
6475 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6476 (asin_test_data): New variable.
6477 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6478 (asin_tonearest_test_data): New variable.
6479 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6480 (asin_towardzero_test_data): New variable.
6481 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6482 (asin_downward_test_data): New variable.
6483 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6484 (asin_upward_test_data): New variable.
6485 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6486 (asinh_test_data): New variable.
6487 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6488 (atan_test_data): New variable.
6489 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6490 (atanh_test_data): New variable.
6491 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6492 (cbrt_test_data): New variable.
6493 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6494 (ceil_test_data): New variable.
6495 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6496 (cos_test_data): New variable.
6497 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6498 (cos_tonearest_test_data): New variable.
6499 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6500 (cos_towardzero_test_data): New variable.
6501 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6502 (cos_downward_test_data): New variable.
6503 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6504 (cos_upward_test_data): New variable.
6505 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6506 (cosh_test_data): New variable.
6507 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6508 (cosh_tonearest_test_data): New variable.
6509 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6510 (cosh_towardzero_test_data): New variable.
6511 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6512 (cosh_downward_test_data): New variable.
6513 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6514 (cosh_upward_test_data): New variable.
6515 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6516 (erf_test_data): New variable.
6517 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6518 (erfc_test_data): New variable.
6519 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6520 (exp_test_data): New variable.
6521 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6522 (exp_tonearest_test_data): New variable.
6523 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6524 (exp_towardzero_test_data): New variable.
6525 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6526 (exp_downward_test_data): New variable.
6527 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6528 (exp_upward_test_data): New variable.
6529 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6530 (exp10_test_data): New variable.
6531 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6532 (exp2_test_data): New variable.
6533 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6534 (expm1_test_data): New variable.
6535 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6536 (fabs_test_data): New variable.
6537 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6538 (floor_test_data): New variable.
6539 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6540 (j0_test_data): New variable.
6541 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6542 (j1_test_data): New variable.
6543 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6544 (log_test_data): New variable.
6545 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6546 (log10_test_data): New variable.
6547 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6548 (log1p_test_data): New variable.
6549 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6550 (log2_test_data): New variable.
6551 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6552 (logb_test_data): New variable.
6553 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6554 (logb_downward_test_data): New variable.
6555 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6556 (nearbyint_test_data): New variable.
6557 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6558 (rint_test_data): New variable.
6559 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6560 (rint_tonearest_test_data): New variable.
6561 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6562 (rint_towardzero_test_data): New variable.
6563 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6564 (rint_downward_test_data): New variable.
6565 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6566 (rint_upward_test_data): New variable.
6567 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6568 (round_test_data): New variable.
6569 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6570 (sin_test_data): New variable.
6571 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6572 (sin_tonearest_test_data): New variable.
6573 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6574 (sin_towardzero_test_data): New variable.
6575 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6576 (sin_downward_test_data): New variable.
6577 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6578 (sin_upward_test_data): New variable.
6579 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6580 (sinh_test_data): New variable.
6581 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6582 (sinh_tonearest_test_data): New variable.
6583 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6584 (sinh_towardzero_test_data): New variable.
6585 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6586 (sinh_downward_test_data): New variable.
6587 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6588 (sinh_upward_test_data): New variable.
6589 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6590 (sqrt_test_data): New variable.
6591 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6592 (tan_test_data): New variable.
6593 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6594 (tan_tonearest_test_data): New variable.
6595 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6596 (tan_towardzero_test_data): New variable.
6597 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6598 (tan_downward_test_data): New variable.
6599 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6600 (tan_upward_test_data): New variable.
6601 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6602 (tanh_test_data): New variable.
6603 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6604 (tgamma_test_data): New variable.
6605 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6606 (trunc_test_data): New variable.
6607 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6608 (y0_test_data): New variable.
6609 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6610 (y1_test_data): New variable.
6611 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6612 (significand_test_data): New variable.
6613 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6614
7187d844
CG
66152013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6616
6617 [BZ #12387]
6618 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6619
f63fae73
PT
66202013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6621
6622 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6623
8a67a4b3
AJ
66242013-05-10 Andreas Jaeger <aj@suse.de>
6625
6626 [BZ #15448]
6627 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6628 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6629
51df539d
JM
66302013-05-10 Joseph Myers <joseph@codesourcery.com>
6631
6632 * math/gen-libm-test.pl (adjust_arg): New function.
6633 (special_functions): Handle generating output in both functions
6634 and arrays.
6635 (parse_args): Likewise.
6636 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6637 $in_func argument to parse_args.
6638 * math/libm-test.inc (struct test_f_f_data): New type.
6639 (IF_ROUND_INIT_): New macro.
6640 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6641 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6642 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6643 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6644 (ROUND_RESTORE_): Likewise.
6645 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6646 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6647 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6648 (ROUND_RESTORE_FE_UPWARD): Likewise.
6649 (RUN_TEST_LOOP_f_f): New macro.
6650 (acos_test_data): New variable.
6651 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6652 (acos_tonearest_test_data): New variable.
6653 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6654
5c637fe5
SP
66552013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6656
6657 * benchtests/bench-skeleton.c (startup): Fix coding style.
6658
ab2b9461
JM
66592013-05-10 Joseph Myers <joseph@codesourcery.com>
6660
6661 [BZ #6809]
6662 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6663 negative infinity argument.
6664 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6665 negative infinity argument.
6666 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6667 negative infinity argument.
6668 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6669 domain errors.
6670
4c0fe6fe
FW
66712013-05-10 Florian Weimer <fweimer@redhat.com>
6672
6673 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6674 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6675 * iconv/iconv_prog.c (main): Likewise.
6676 * locale/programs/charmap-dir.c (charmap_readdir)
6677 (fopen_uncompressed): Likewise.
6678 * locale/programs/locfile.c (siblings_uncached)
6679 (write_locale_data): Use lstat64 instead of lstat.
6680 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6681 stat.
6682
a3375d29
AJ
66832013-05-10 Andreas Jaeger <aj@suse.de>
6684
6685 [BZ #15395]
6686 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6687 localization.
6688 Include <locale.h>.
6689
36129722
CD
66902013-05-09 Carlos O'Donell <carlos@redhat.com>
6691
6692 * elf/dl-close.c (_dl_close_worker): Add comments.
6693
faa7f811
JM
66942013-05-09 Joseph Myers <joseph@codesourcery.com>
6695
ed41ffef
JM
6696 [BZ #15359]
6697 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6698 high part of pi/2.
6699 (__ieee754_rem_pio2l): Update comments.
6700
d0213cd0
JM
6701 [BZ #15429]
6702 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6703 high part of pi/2.
6704 (__ieee754_rem_pio2l): Update comments.
6705
0d3e777a
JM
6706 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6707 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6708
24f56066
JM
6709 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6710 M_PI_4l.
6711
faa7f811
JM
6712 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6713 (M_PI_34_LOG10El): Likewise.
6714 (M_PI2_LOG10El): Likewise.
6715 (M_PI4_LOG10El): Likewise.
6716 (M_PI_LOG10El): Likewise.
6717
e9a5e0fd
AZ
67182013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6719
6720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6721
d8cd06db
JM
67222013-05-08 Joseph Myers <joseph@codesourcery.com>
6723
a0d9f9d7
JM
6724 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6725 (MINUS_ZERO_INIT): Likewise.
6726 (PLUS_INFTY_INIT): Likewise.
6727 (MINUS_INFTY_INIT): Likewise.
6728 (QNAN_VALUE_INIT): Likewise.
6729 (MAX_VALUE_INIT): Likewise.
6730 (MIN_VALUE_INIT): Likewise.
6731 (MIN_SUBNORM_VALUE_INIT): Likewise.
6732 (plus_zero): Initialize with PLUS_ZERO_INIT.
6733 (minus_zero): Initialize with MINUS_ZERO_INIT.
6734 (plus_infty): Initialize with PLUS_INFTY_INIT.
6735 (minus_infty): Initialize with MINUS_INFTY_INIT.
6736 (qnan_value): Initialize with QNAN_VALUE_INIT.
6737 (max_value): Initialize with MAX_VALUE_INIT.
6738 (min_value): Initialize with MIN_VALUE_INIT.
6739 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6740
ae08db3b
JM
6741 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6742 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6743 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6744 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6745
f44bf14a
JM
6746 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6747 (RUN_TEST_2_f): Likewise.
6748 (RUN_TEST_ff_f): Likewise.
6749 (RUN_TEST_fi_f): Likewise.
6750 (RUN_TEST_fl_f): Likewise.
6751 (RUN_TEST_fff_f): Likewise.
6752 (RUN_TEST_c_f): Likewise.
6753 (RUN_TEST_f_f1): Likewise.
6754 (RUN_TEST_fF_f1): Likewise.
6755 (RUN_TEST_fI_f1): Likewise.
6756 (RUN_TEST_ffI_f1): Likewise.
6757 (RUN_TEST_c_c): Likewise.
6758 (RUN_TEST_cc_c): Likewise.
6759 (RUN_TEST_f_i): Likewise.
6760 (RUN_TEST_f_i_tg): Likewise.
6761 (RUN_TEST_ff_i_tg): Likewise.
6762 (RUN_TEST_f_b): Likewise.
6763 (RUN_TEST_f_b_tg): Likewise.
6764 (RUN_TEST_f_l): Likewise.
6765 (RUN_TEST_f_L): Likewise.
6766 (RUN_TEST_sincos): Likewise.
6767 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6768 whether to show exceptions. Do not include ");\n" in return
6769 value.
6770 (special_functions): Output call to RUN_TEST_sincos instead of
6771 check_float calls. Update calls to new_test.
6772 (parse_args): Output call to single RUN_TEST_* macro instead of
6773 check_* calls and other assignments. Update calls to new_test.
6774
d8cd06db
JM
6775 [BZ #2546]
6776 [BZ #2560]
6777 [BZ #5159]
6778 [BZ #15426]
6779 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6780 input to result for tgamma overflow.
6781 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6782 (gamma_coeff): New variable.
6783 (NCOEFF): New macro.
6784 (gamma_positive): New function.
6785 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6786 underflow here. Use gamma_positive instead of exp (lgamma) for
6787 other arguments.
6788 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6789 (gamma_coeff): New variable.
6790 (NCOEFF): New macro.
6791 (gammaf_positive): New function.
6792 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6793 underflow here. Use gamma_positive instead of exp (lgamma) for
6794 other arguments.
6795 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6796 (gamma_coeff): New variable.
6797 (NCOEFF): New macro.
6798 (gammal_positive): New function.
6799 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6800 underflow here. Use gamma_positive instead of exp (lgamma) for
6801 other arguments.
6802 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6803 (gamma_coeff): New variable.
6804 (NCOEFF): New macro.
6805 (gammal_positive): New function.
6806 (__ieee754_gammal_r): Handle positive infinity, overflow and
6807 underflow here. Handle NaN the same as positive infinity. Remove
6808 check x < 0xffffffff for negative integers. Use gamma_positive
6809 instead of exp (lgamma) for other arguments.
6810 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6811 (gamma_coeff): New variable.
6812 (NCOEFF): New macro.
6813 (gammal_positive): New function.
6814 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6815 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6819 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6820 * sysdeps/generic/math_private.h (__gamma_productf): New
6821 prototype.
6822 (__gamma_product): Likewise.
6823 (__gamma_productl): Likewise.
6824 * math/Makefile (libm-calls): Add gamma_product.
6825 * math/libm-test.inc (tgamma_test): Add more tests.
6826 * sysdeps/i386/fpu/libm-test-ulps: Update.
6827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6828
bb7cf681
OB
68292013-05-08 Ondřej Bílka <neleai@seznam.cz>
6830
6831 * benchtests/bench-skeleton.c (main): Preheat CPU.
6832
ba853947
AJ
68332013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6834
6835 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6836
8347c74c
RM
68372013-05-07 Roland McGrath <roland@hack.frob.com>
6838
6839 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6840 and _dl_skip_args_internal.
6841
e8dd4791
CD
68422013-05-07 Carlos O'Donell <carlos@redhat.com>
6843
6844 * manual/message.texi (Message Translation): Talk about users.
6845 Message to key mapping impacts design.
6846
c7405830
RM
68472013-05-06 Roland McGrath <roland@hack.frob.com>
6848
a9173057
RM
6849 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6850
976e2f03
RM
6851 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6852
9723ffc5
RM
6853 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6854 * sysdeps/wordsize-64/glob64.c: ... here.
6855
962e6658
RM
6856 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6857 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6858 New macros.
6859
ee586a6d
RM
6860 * debug/getlogin_r_chk.c: Moved to ...
6861 * login/getlogin_r_chk.c: ... here.
6862 * debug/Makefile (routines): Move getlogin_r_chk to ...
6863 * login/Makefile (routines): ... here.
6864 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6865 * login/Versions (libc: GLIBC_2.4): ... here.
6866
355f9165
RM
6867 * io/poll.c (__poll): Renamed from poll.
6868 Add libc_hidden_def.
6869 (poll): Define as weak alias.
6870
bd9ffde6
RM
6871 * debug/ptsname_r_chk.c: Moved to ...
6872 * login/ptsname_r_chk.c: ... here.
6873 * debug/Makefile (routines): Move ptsname_r_chk to ...
6874 * login/Makefile (routines): ... here.
6875 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6876 * login/Versions (libc: GLIBC_2.4): ... here.
6877
8fb16a04
RM
6878 * posix/getlogin.c: Moved to ...
6879 * login/getlogin.c: ... here.
6880 * posix/getlogin_r.c: Moved to ...
6881 * login/getlogin_r.c: ... here.
6882 * posix/getlogin_r.c: Moved to ...
6883 * login/getlogin_r.c: ... here.
6884 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6885 * login/Makefile (routines): ... here.
6886 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6887 * login/Versions (libc: GLIBC_2.0): ... here.
6888
b99b892f
RM
6889 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6890 (setrlimit): Define as weak alias.
6891
c7405830
RM
6892 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6893 Call __ names for open, ftruncate, and close.
6894 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6895 (truncate): Define as weak alias.
6896
5bf96de5
JM
68972013-05-06 Joseph Myers <joseph@codesourcery.com>
6898
9ea3513c
JM
6899 * math/gen-libm-test.pl (parse_args): Initialize x before each
6900 test of frexp, modf and remquo.
6901
5bf96de5
JM
6902 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6903 test signgam value.
6904
16e616a7
AZ
69052013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6906
6907 [BZ #15418]
6908 [BZ #15419]
6909 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6910 internal tests.
6911 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6912
d5e82754
RM
69132013-05-06 Roland McGrath <roland@hack.frob.com>
6914
6915 * elf/dl-writev.h: New file.
6916 * elf/dl-misc.c: Include it.
6917 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6918 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6919
a7548d41
JM
69202013-05-04 Joseph Myers <joseph@codesourcery.com>
6921
b7dab1e4
JM
6922 * math/libm-test.inc (noXFails): Remove variable.
6923 (noXPasses): Likewise.
6924 (BUILD_COMPLEX_INT): Remove macro.
6925 (print_screen): Remove xfail argument.
6926 (print_screen_max_error): Likewise.
6927 (update_stats): Likewise.
6928 (print_max_error): Likewise. Update calls to other affected
6929 functions.
6930 (print_complex_max_error): Likewise.
6931 (test_single_exception): Update calls to print_screen.
6932 (test_single_errno): Likewise.
6933 (check_float_internal): Remove xfail argument. Update calls to
6934 other affected functions.
6935 (check_float): Likewise.
6936 (check_complex): Likewise.
6937 (check_int): Likewise.
6938 (check_long): Likewise.
6939 (check_bool): Likewise.
6940 (check_longlong): Likewise.
6941 (main): Don't print noXFails and noXPasses.
6942 * math/gen-libm-test.pl (top level): Don't mention expected
6943 failure handling in comment.
6944 (new_test): Don't handle expected failures.
6945 (parse_args): Don't mention expected failure handling in comment.
6946 (generate_testfile): Don't handle expected failures.
6947 (parse_ulps): Likewise.
6948 (print_ulps_file): Likewise.
6949 (get_failure): Remove function.
6950 (output_test): Don't handle expected failures.
6951 * make/README.libm-test: Don't mention expected failure handling.
6952
a7548d41
JM
6953 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6954 (minus_zero): Likewise.
6955 (plus_infty): Likewise.
6956 (minus_infty): Likewise.
6957 (qnan_value): Likewise.
6958 (max_value): Likewise.
6959 (min_value): Likewise.
6960 (min_subnorm_value): Likewise.
6961 (initialize): Do not initialize those variables dynamically.
6962
60bfd54c
RM
69632013-05-03 Roland McGrath <roland@hack.frob.com>
6964
cc0e6ed8
RM
6965 * io/open.c (__open_2): Moved to ...
6966 * io/open_2.c: ... this new file.
6967 * io/open64.c (__open64_2): Moved to ...
6968 * io/open64_2.c: ... this new file.
6969 * io/openat.c (__openat_2): Moved to ...
6970 * io/openat_2.c: ... this new file.
6971 * io/openat64.c (__openat64_2): Moved to ...
6972 * io/openat64_2.c: ... this new file.
6973 * io/Makefile (routines): Add them.
6974 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6975 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6976 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6977 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6978 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6979 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6980 (__openat64): Add hidden_ver.
6981 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6982 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6983
60bfd54c
RM
6984 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6985 Separately conditionalize setting of GLRO(dl_sysinfo) so
6986 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6987 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6988
83e7640f
AZ
69892013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6990
6991 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6992 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6993 definition.
6994 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6995 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6996 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6997 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6998 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6999
d5dc2af3
JM
70002013-05-03 Joseph Myers <joseph@codesourcery.com>
7001
c31a5b1e
JM
7002 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7003 test signgam value.
7004
d5dc2af3
JM
7005 * math/libm-test.inc (hypot_test): Do not use
7006 IGNORE_ZERO_INF_SIGN.
7007
164fd39d
AJ
70082013-05-03 Andreas Jaeger <aj@suse.de>
7009
7010 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7011 Linux 3.9.
7012 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7013 (PF_MAX): Adjust for VSOCK change.
7014
8237f48c
AZ
70152013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7016
7017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7018
9df02941
CD
70192013-05-02 Carlos O'Donell <carlos@redhat.com>
7020
7021 [BZ #15264]
7022 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7023 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7024 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7025
d422395e
DM
70262013-05-02 David S. Miller <davem@davemloft.net>
7027
7028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7029
a07c5731
OB
70302013-05-01 Ondřej Bílka <neleai@seznam.cz>
7031
7032 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7033
1324e37f
RM
70342013-05-01 Roland McGrath <roland@hack.frob.com>
7035
7036 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7037
0695940b
RS
70382013-05-01 Richard Smith <richard@metafoo.co.uk>
7039
bb5f27ad 7040 [BZ #14952]
0695940b
RS
7041 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7042 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7043 Use __attribute__ ((__gnu_inline__)).
7044 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7045 Don't use __attribute__ ((__gnu_inline__)).
7046
10de07f5
JM
70472013-05-01 Joseph Myers <joseph@codesourcery.com>
7048
7049 [BZ #15423]
7050 * math/s_catan.c (__catan): Handle small real or imaginary part of
7051 input specially to avoid spurious underflow.
7052 * math/s_catanf.c (__catanf): Likewise.
7053 * math/s_catanh.c (__catanh): Likewise.
7054 * math/s_catanhf.c (__catanhf): Likewise.
7055 * math/s_catanhl.c (__catanhl): Likewise.
7056 * math/s_catanl.c (__catanl): Likewise.
7057 * math/libm-test.inc (catan_test): Add more tests.
7058 (catanh_test): Likewise.
7059 * sysdeps/i386/fpu/libm-test-ulps: Update.
7060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7061
cb4d5414
AZ
70622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7063
7064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7065
caf84319
JM
70662013-04-30 Joseph Myers <joseph@codesourcery.com>
7067
7068 [BZ #15416]
7069 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7070 accurately for denominator in atan2.
7071 * math/s_catanf.c (__catanf): Likewise.
7072 * math/s_catanh.c (__catanh): Likewise.
7073 * math/s_catanhf.c (__catanhf): Likewise.
7074 * math/s_catanhl.c (__catanhl): Likewise.
7075 * math/s_catanl.c (__catanl): Likewise.
7076 * math/libm-test.inc (catan_test): Add more tests.
7077 (catanh_test): Likewise.
7078 * sysdeps/i386/fpu/libm-test-ulps: Update.
7079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7080
d569c6ee
SP
70812013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7082
6dbe713d
SP
7083 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7084
f0ee064b
SP
7085 * benchtests/Makefile (bench): Remove slow benchmarks.
7086 * benchtests/atan-inputs: Add slow benchmark inputs.
7087 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7088 (BENCH_FUNC): Accept variant offset.
7089 (VARIANT): Define.
7090 * benchtests/bench-skeleton.c (main): Run benchmark for each
7091 variant.
7092 * benchtests/cos-inputs: Add slow benchmark inputs.
7093 * benchtests/exp-inputs: Likewise.
7094 * benchtests/pow-inputs: Likewise.
7095 * benchtests/sin-inputs: Likewise.
7096 * benchtests/slowatan-inputs: Remove.
7097 * benchtests/slowatan.c: Remove.
7098 * benchtests/slowcos-inputs: Remove.
7099 * benchtests/slowcos.c: Remove.
7100 * benchtests/slowexp-inputs: Remove.
7101 * benchtests/slowexp.c: Remove.
7102 * benchtests/slowpow-inputs: Remove.
7103 * benchtests/slowpow.c: Remove.
7104 * benchtests/slowsin-inputs: Remove.
7105 * benchtests/slowsin.c: Remove.
7106 * benchtests/slowtan-inputs: Remove.
7107 * benchtests/slowtan.c: Remove.
7108 * benchtests/tan-inputs: Add slow benchmark inputs.
7109 * scripts/bench.pl: Parse comments and directives.
7110
d569c6ee
SP
7111 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7112 in CPPFLAGS.
7113 ($(objpfx)bench-%.c): Remove *-ITER.
7114 * benchtests/bench-modf.c: Remove definition of ITER.
7115 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7116 (main): Loop for DURATION seconds instead of fixed number of
7117 iterations.
7118 * scripts/bench.pl: Don't expect iterations in parameters.
7119
a6a242fe
RM
71202013-04-29 Roland McGrath <roland@hack.frob.com>
7121
7122 * io/fchdir.c (__fchdir): Renamed from fchdir.
7123 (fchdir): Define as weak alias.
7124
f2da7793
JM
71252013-04-29 Joseph Myers <joseph@codesourcery.com>
7126
7127 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7128 (ERRNO_EDOM): Likewise.
7129 (ERRNO_ERANGE): Likewise.
7130 (noErrnoTests): New variable.
7131 (init_max_error): Set errno to 0.
7132 (test_single_errno): New function.
7133 (test_errno): Likewise.
7134 (check_float_internal): Call test_errno. Set errno to 0.
7135 (check_complex): Refer to errno tests in comment.
7136 (check_int): Call test_errno. Set errno to 0.
7137 (check_long): Likewise.
7138 (check_bool): Likewise.
7139 (check_longlong): Likewise.
7140 (cos_test): Use ERRNO_* flags for errno tests instead of
7141 check_int.
7142 (expm1_test): Likewise.
7143 (fmod_test): Likewise.
7144 (ilogb_test): Likewise.
7145 (lgamma_test): Likewise.
7146 (pow_test): Likewise.
7147 (remainder_test): Likewise.
7148 (sin_test): Likewise.
7149 (tan_test): Likewise.
7150 (yn_test): Likewise.
7151 (initialize): Set errno to 0.
7152 (main): Print number of errno tests.
7153 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7154
b1a36ceb
AJ
71552013-04-29 Andreas Jaeger <aj@suse.de>
7156
c3ed8088
AJ
7157 [BZ #15084]
7158 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7159 and RES_USEVC.
7160
f1a24198
AJ
7161 [BZ #15085]
7162 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7163 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7164 unimplemented.
7165
9ce3b2cb
AJ
7166 [BZ #15380]
7167 * stdlib/random.c (__initstate): Return NULL if
7168 __initstate fails.
7169
f1a24198 7170 [BZ #15086]
b1a36ceb
AJ
7171 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7172 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7173 RES_SNGLKUPREOP.
7174
7e7b6f36
AZ
71752013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7176
7177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7178
4d14f449
JM
71792013-04-29 Joseph Myers <joseph@codesourcery.com>
7180
7181 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7182 of individual tests.
7183 (casin_test): Likewise.
7184 (casinh_test): Likewise.
7185
5b4217d7
JM
71862013-04-27 Joseph Myers <joseph@codesourcery.com>
7187
7188 [BZ #15409]
7189 * math/s_catan.c (__catan): Handle arguments with large real or
7190 imaginary part separately without squaring.
7191 * math/s_catanf.c (__catanf): Likewise.
7192 * math/s_catanh.c (__catanh): Likewise.
7193 * math/s_catanhf.c (__catanhf): Likewise.
7194 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7195 and redefine.
7196 (__catanhl): Handle arguments with large real or imaginary part
7197 separately without squaring.
7198 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7199 and redefine.
7200 (__catanl): Handle arguments with large real or imaginary part
7201 separately without squaring.
7202 * math/libm-test.inc (catan_test): Add more tests.
7203 (catanh_test): Likewise.
7204 * sysdeps/i386/fpu/libm-test-ulps: Update.
7205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7206
4220c3ef
AJ
72072013-04-27 Andreas Jaeger <aj@suse.de>
7208
7209 [BZ #15007]
7210 * stdlib/stdlib.h: Update guards for qecvt.
7211 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7212 <stdlib.h>.
7213
4721b2d1
AM
72142013-04-27 Allan McRae <allan@archlinux.org>
7215
7216 * sysdeps/i386/fpu/libm-test-ulps: Update.
7217
f0302940
JM
72182013-04-26 Joseph Myers <joseph@codesourcery.com>
7219
9457fd95
JM
7220 [BZ #15406]
7221 * math/s_catan.c: Include <float.h>.
7222 (__catan): Ensure underflow exception occurs for underflowed
7223 result.
7224 * math/s_catanf.c: Include <float.h>.
7225 (__catanf): Ensure underflow exception occurs for underflowed
7226 result.
7227 * math/s_catanh.c: Include <float.h>.
7228 (__catanh): Ensure underflow exception occurs for underflowed
7229 result.
7230 * math/s_catanhf.c: Include <float.h>.
7231 (__catanhf): Ensure underflow exception occurs for underflowed
7232 result.
7233 * math/s_catanhl.c: Include <float.h>.
7234 (__catanhl): Ensure underflow exception occurs for underflowed
7235 result.
7236 * math/s_catanl.c: Include <float.h>.
7237 (__catanl): Ensure underflow exception occurs for underflowed
7238 result.
7239 * math/libm-test.inc (catan_test): Add more tests.
7240 (catanh_test): Likewise.
7241
f0302940
JM
7242 [BZ #15405]
7243 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7244 underflowed result.
7245 * math/s_ccoshf.c (__ccoshf): Likewise.
7246 * math/s_ccoshl.c (__ccoshl): Likewise.
7247 * math/s_csin.c (__csin): Likewise.
7248 * math/s_csinf.c (__csinf): Likewise.
7249 * math/s_csinh.c (__csinh): Likewise.
7250 * math/s_csinhf.c (__csinhf): Likewise.
7251 * math/s_csinhl.c (__csinhl): Likewise.
7252 * math/s_csinl.c (__csinl): Likewise.
7253 * math/libm-test.inc (ccos_test): Add more tests.
7254 (ccosh_test): Likewise.
7255 (csin_test): Likewise.
7256 (csinh_test): Likewise.
7257
aa630f59
AZ
72582013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7259
7260 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7261 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7262 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7263 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7264 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7265 powerpc/power5+/fpu folders.
7266 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7267
7268
1b835983
MT
72692013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7270
7271 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7272
73709b26
JM
72732013-04-25 Joseph Myers <joseph@codesourcery.com>
7274
7275 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7276 additions to variable.
7277 [$(config-machine) = x86_64] (modules-names): Likewise.
7278 ($(objpfx)tst-audit3): Remove dependency.
7279 ($(objpfx)tst-audit3.out): Likewise.
7280 ($(objpfx)tst-audit4): Likewise.
7281 ($(objpfx)tst-audit4.out): Likewise.
7282 ($(objpfx)tst-audit5): Likewise.
7283 ($(objpfx)tst-audit5.out): Likewise.
7284 ($(objpfx)tst-audit6): Likewise.
7285 ($(objpfx)tst-audit6.out): Likewise.
7286 ($(objpfx)tst-audit7): Likewise.
7287 ($(objpfx)tst-audit7.out): Likewise.
7288 (tst-audit3-ENV): Remove variable.
7289 (tst-audit4-ENV): Likewise.
7290 (tst-audit5-ENV): Likewise.
7291 (tst-audit6-ENV): Likewise.
7292 (tst-audit7-ENV): Likewise.
7293 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7294 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7295 addition to variable.
7296 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7297 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7298 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7299 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7300 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7301 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7302 tst-audit3, tst-audit4 and tst-audit5.
7303 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7304 tst-audit6 and tst-audit7.
7305 [$(subdir) = elf] (modules-names): Add audit modules for those
7306 tests.
7307 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7308 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7309 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7310 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7311 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7312 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7313 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7314 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7315 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7316 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7317 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7318 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7319 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7320 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7321 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7322 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7323 Likewise.
7324 [$(subdir) = elf && $(config-cflags-avx) = yes]
7325 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7326 [$(subdir) = elf && $(config-cflags-avx) = yes]
7327 (CFLAGS-tst-auditmod4a.c): Likewise.
7328 [$(subdir) = elf && $(config-cflags-avx) = yes]
7329 (CFLAGS-tst-auditmod4b.c): Likewise.
7330 [$(subdir) = elf && $(config-cflags-avx) = yes]
7331 (CFLAGS-tst-auditmod6b.c): Likewise.
7332 [$(subdir) = elf && $(config-cflags-avx) = yes]
7333 (CFLAGS-tst-auditmod6c.c): Likewise.
7334 [$(subdir) = elf && $(config-cflags-avx) = yes]
7335 (CFLAGS-tst-auditmod7b.c): Likewise.
7336 * elf/tst-audit3.c: Move to ...
7337 * sysdeps/x86_64/tst-audit3.c: ... here.
7338 * elf/tst-audit4.c: Move to ...
7339 * sysdeps/x86_64/tst-audit4.c: ... here.
7340 * elf/tst-audit5.c: Move to ...
7341 * sysdeps/x86_64/tst-audit5.c: ... here.
7342 * elf/tst-audit6.c: Move to ...
7343 * sysdeps/x86_64/tst-audit6.c: ... here.
7344 * elf/tst-audit7.c: Move to ...
7345 * sysdeps/x86_64/tst-audit7.c: ... here.
7346 * elf/tst-auditmod3a.c: Move to ...
7347 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7348 * elf/tst-auditmod3b.c: Move to ...
7349 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7350 * elf/tst-auditmod4a.c: Move to ...
7351 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7352 * elf/tst-auditmod4b.c: Move to ...
7353 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7354 * elf/tst-auditmod5a.c: Move to ...
7355 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7356 * elf/tst-auditmod5b.c: Move to ...
7357 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7358 * elf/tst-auditmod6a.c: Move to ...
7359 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7360 * elf/tst-auditmod6b.c: Move to ...
7361 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7362 * elf/tst-auditmod6c.c: Move to ...
7363 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7364 * elf/tst-auditmod7a.c: Move to ...
7365 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7366 * elf/tst-auditmod7b.c: Move to ...
7367 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7368
1ef74943
PP
73692013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7370
7371 [BZ #15366]
7372 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7373 define unconditionally.
7374 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7375 define unconditionally.
7376 (INT8_C, INT16_C, etc.): Likewise.
7377
93fd48c5
MR
73782013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7379
ae9552cf
MR
7380 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7381 __ehdr_start with hidden visibility.
7382
93fd48c5
MR
7383 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7384
418601aa
CD
73852013-04-24 Carlos O'Donell <carlos@redhat.com>
7386
7387 * math/libm-test.inc (cos_test): Use accurate hex constants.
7388 (sincost_test): Likewise.
7389
2f38fbfe
JM
73902013-04-24 Joseph Myers <joseph@codesourcery.com>
7391
5e221800
JM
7392 * math/libm-test.inc (catan_test): Add more tests.
7393 (catanh_test): Likewise.
7394
77f143fd
JM
7395 * math/s_catanf.c (__catanf): Use suffixed floating-point
7396 constants.
7397 * math/s_catanhf.c (__catanhf): Likewise.
7398 * math/s_catanhl.c (__catanhl): Likewise.
7399 * math/s_catanl.c (__catanl): Likewise.
7400
2f38fbfe
JM
7401 [BZ #15394]
7402 * math/s_catan.c (__catan): Calculate imaginary part of result
7403 with log1p not log unless computing log of number close to 0.
7404 * math/s_catanf.c (__catanf): Likewise.
7405 * math/s_catanl.c (__catanl): Likewise.
7406 * math/s_catanh.c (__catanh): Calculate real part of result with
7407 log1p not log unless computing log of number close to 0.
7408 * math/s_catanhf.c (__catanhf): Likewise.
7409 * math/s_catanhl.c (__catanhl): Likewise.
7410 * math/libm-test.inc (catan_test): Add more tests.
7411 (catanh_test): Likewise.
7412 * sysdeps/i386/fpu/libm-test-ulps: Update.
7413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7414
45d69176
SP
74152013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7416
7417 * benchtests/Makefile: Mention files in which fast and slow
7418 paths of math functions are implemented.
7419
87f51853
RM
74202013-04-23 Roland McGrath <roland@hack.frob.com>
7421
7422 * sysdeps/posix/timespec_get.c: New file.
7423
3c026539
AZ
74242013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7425
7426 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7427 POWER.
7428 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7429 for POWER.
7430 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7431 powerpc/power5/fpu folders.
7432 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7433 * benchtests/Makefile: Add modf testcase.
7434 * benchtests/bench-modf.c: New file: Benchmark test for mo
7435
ff491d14
SP
74362013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7437
7438 [BZ #14888]
7439 * time/Makefile (tests): Add tst-strptime-whitespace.
7440 * time/strptime_l.c (get_number): Use ISSPACE.
7441 (__strptime_internal): Likewise.
7442 * time/tst-strptime-whitespace.c: New test case.
7443
7ed3f4e8
AS
74442013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7445
7446 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7447 member.
7448 (_nss_files_init): Set it here.
7449
5c95f7b6
HC
74502013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7451
7452 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7453 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7454 unsigned.
7455
d34c9158
JBG
74562013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7457
7458 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7459
2169712d
SP
74602013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7461
7462 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7463 size just once.
7464
29c5de99
DM
74652013-04-21 David S. Miller <davem@davemloft.net>
7466
7467 * po/ru.po: Update Russion translation from translation project.
7468
ccdad15d
AC
74692013-04-17 Adam Conrad <adconrad@0c3.net>
7470
7471 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7472 and setfsgid.
7473
0f122b8d
CD
74742013-04-17 Carlos O'Donell <carlos@redhat.com>
7475
5c5b07da 7476 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7477 * configure: Regenerate.
5c5b07da 7478 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7479 Add example to error message.
7480 * sysdeps/i386/configure: Regenerate.
7481
037714dd
SP
74822013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7483
7484 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7485 slowtan.
7486 * benchtests/cos-inputs: New file.
7487 * benchtests/slowcos-inputs: New file.
7488 * benchtests/slowcos.c: New file.
7489 * benchtests/slowtan-inputs: New file.
7490 * benchtests/slowtan.c: New file.
7491 * benchtests/tan-inputs: New file.
7492
e913141d
RM
74932013-04-16 Roland McGrath <roland@hack.frob.com>
7494
7495 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7496 considered kosher.
7497
a2964074
SP
74982013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7499
4856bcd2
SP
7500 * benchtests/Makefile: Include cppflags-iterator.mk to add
7501 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7502
a2964074
SP
7503 * Makefile.in (bench-clean): New target.
7504 * benchtests/Makefile (bench-clean): Likewise.
7505
9fbf9aca
DH
75062013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7507
7508 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7509
207d1e2a
TS
75102013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7511
7512 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7513
306dfba9
AS
75142013-04-15 Andreas Schwab <schwab@suse.de>
7515
7516 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7518 * nscd/pwdcache.c (cache_addpw): Likewise.
7519 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7520 more than recsize.
7521
206a6699
SP
75222013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7523
7524 * benchtests/Makefile (bench): Write all output to
7525 bench-out.tmp together.
7526
0582f6b3
AS
75272013-04-15 Andreas Schwab <schwab@suse.de>
7528
7529 * nscd/nscd.c (main): Don't fork again after closing files.
7530
acb4325f
SP
75312013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7532
5cb26d0a
SP
7533 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7534
acb4325f
SP
7535 * benchtests/Rules (bench-deps): Collect dependencies into a
7536 single variable. Add Makefile to dependencies.
7537 ($(objpfx)bench-%.c): Depend on bench-deps.
7538
47792506
RM
75392013-04-12 Roland McGrath <roland@hack.frob.com>
7540 Xavier Roche <roche+kml2@exalead.com>
7541
7542 [BZ #15361]
7543 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7544 just that it's a file descriptor.
7545 * manual/llio.texi (Synchronizing AIO Operations): Update description
7546 for EBADF error from aio_fsync.
7547
8fc1bee5
SP
75482013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7549
7550 * Rules (bench): Move target definition...
7551 * benchtests/Makefile: ... here.
7552
aba5e333
CD
75532013-04-11 Carlos O'Donell <carlos@redhat.com>
7554
7555 * math/libm-test.inc (cos_test): Fix PI/2 test.
7556 (sincos_test): Likewise.
7557 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7558 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7559
273cdee8
AS
75602013-04-11 Andreas Schwab <schwab@suse.de>
7561
6ecec3b6
AS
7562 [BZ #13988]
7563 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7564 accept exponent character only when digits were seen.
7565 * stdio-common/Makefile (tests): Add bug26.
7566 * stdio-common/bug26.c: New file.
7567
273cdee8
AS
7568 [BZ #14293]
7569 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7570 non-freeable.
7571
8da491f5
SP
75722013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7573
01dc6df9
SP
7574 * Makeconfig (rtld-prefix): Define built linker prefix.
7575 * Rules (run-bench): Use it.
7576 * math/Makefile (run-regen-ulps): Likewise.
7577
8da491f5
SP
7578 * Rules (bench): Remove eval.
7579
abe7f530
SP
75802013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7581 Roland McGrath <roland@hack.frob.com>
7582 Ondrej Bilka <neleai@seznam.cz>
7583
7584 [BZ #15346]
7585 * time/getdate.c: Include ctype.h and alloca.h.
7586 (__getdate_r): Trim leading and trailing spaces of input.
7587 * time/tst-getdate.c (tests): Add tests with leading and
7588 trailing spaces.
7589
61c23e62
RM
75902013-04-08 Roland McGrath <roland@hack.frob.com>
7591
7592 [BZ #14280]
7593 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7594 when computing value.
7595
7208a313
CD
75962013-04-06 Carlos O'Donell <carlos@redhat.com>
7597
085b2d41
CD
7598 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7599 Use testrun.sh to run libm tests.
7600
7208a313
CD
7601 [BZ #15309]
7602 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7603
872c0acd
MM
76042013-04-06 Marko Myllynen <myllynen@redhat.com>
7605
7606 [BZ #15264]
7607 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7608
26510bdd
CD
76092013-04-06 Carlos O'Donell <carlos@redhat.com>
7610
7611 * Makefile.in (regen-ulps): New target.
7612 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7613 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7614 [ifneq (no,$(PERL)] (regen-ulps): New target.
7615 [ifeq (no,$(PERL)] (regen-ulps): New target.
7616 * math/libm-test.inc (ulps_file_name): Define.
7617 (output_dir): New variable.
7618 (options): Add "output-dir" option.
7619 (parse_opt): Handle 'o' case.
7620 (main): If output_dir is non-NULL use it as a prefix
7621 otherwise use "".
7622 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7623
a01f19c8
CD
76242013-04-06 Carlos O'Donell <carlos@redhat.com>
7625
7626 [BZ #10060, #10062]
7627 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7628 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7629 fail configure if __sync_val_compare_and_swap is not inlined.
7630 * sysdeps/i386/configure: Regenerate.
7631 * configure.in: Build for i686 when configured for i386.
7632 * configure: Regenerate.
7633 * README: Remove i386 reference.
7634
b7a329a5
CD
76352013-04-06 Carlos O'Donell <carlos@redhat.com>
7636
7637 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7639
bf0f50df
TS
76402013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7641
ee091edf
TS
7642 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7643 (lmsnanval): New variables.
7644 (F): Add conversion tests.
7645 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7646 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7647
a8b792d6
TS
7648 * stdio-common/tstdiomisc.c (F): Properly collect individual
7649 tests' results.
7650
a1cbf437
TS
7651 [BZ #14686, #15336]
7652 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7653 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7654 Instead, use input NaN values or generate a qNaN by arithmetic
7655 operation. Also fix bugs to comply with the standard.
7656 * math/libm-test.inc (remainder_test): Add more tests.
7657
8b43a0c9
TS
7658 [BZ #15335, #15342]
7659 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7661 input NaN values or generate a qNaN by arithmetic operation.
7662
d91da4ce
TS
7663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7664 unreachable code.
7665
bf0f50df
TS
7666 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7667 definitions.
7668
05e166c8
JM
76692013-04-03 Joseph Myers <joseph@codesourcery.com>
7670
7671 [BZ #14478]
7672 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7673 underflowed result.
7674 * math/s_cexpf.c (__cexpf): Likewise.
7675 * math/s_cexpl.c (__cexpl): Likewise.
7676 * math/libm-test.inc (cexp_test): Add more tests.
7677
1cef1b19
AS
76782013-04-03 Andreas Schwab <schwab@suse.de>
7679
7680 [BZ #15330]
7681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7682 order arrays from heap if bigger than alloca cutoff.
7683
74d87055
TS
76842013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7685
7686 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7687 (SNAN_TESTS_double): Refer to GCC PR56831.
7688 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7689 GCC PR56828.
7690
d755bba4
SP
76912013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7692
90d5d5bb
SP
7693 * Rules (bench): Move bench.out after the run is complete.
7694
73e0cd5d
SP
7695 * Rules (bench): Echo currently running benchmark.
7696
64aabd4b
SP
7697 * benchtests/Makefile (bench): Add atan and slowatan.
7698 * benchtests/atan-inputs: New file.
7699 * benchtests/slowatan-inputs: New file.
7700 * benchtests/slowatan.c: New file.
7701
c871eccd
SP
7702 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7703 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7704 its value.
7705
d755bba4
SP
7706 [BZ #15305]
7707 * sysdeps/unix/sysv/linux/kernel-features.h
7708 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7709 __ASSUME_XFS_RESTRICTED_CHOWN.
7710 * sysdeps/unix/sysv/linux/pathconf.c
7711 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7712 Save and restore errno.
7713
52ce4860
JM
77142013-04-02 Joseph Myers <joseph@codesourcery.com>
7715
7716 [BZ #15327]
7717 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7718 arguments using __kernel_casinh.
7719 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7720 arguments using __kernel_casinhf.
7721 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7722 arguments using __kernel_casinhl.
7723 * math/libm-test.inc (cacosh_test): Add more tests.
7724 * sysdeps/i386/fpu/libm-test-ulps: Update.
7725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7726
81f311c2
SP
77272013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7728
e7906a47
SP
7729 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7731
92e3664b
SP
7732 * bench/Makefile (bench): Add sin and slowsin.
7733 * benchtests/sin-inputs: New file.
7734 * benchtests/slowsin-inputs: New file.
7735 * benchtests/slowsin.c: New file.
7736
81f311c2
SP
7737 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7738 (bench): Add slowexp and slowpow.
7739 (exp-ITER): Increase iterations.
7740 (pow-ITER): Likewise.
7741 * benchtests/exp-inputs: Change input.
7742 * benchtests/pow-inputs: Likewise.
7743 * benchtests/slowexp-inputs: New file.
7744 * benchtests/slowexp.c: New file.
7745 * benchtests/slowpow-inputs: New file.
7746 * benchtests/slowpow.c: New file.
7747
ab0f1aa9
AZ
77482013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7749
7750 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7751 instructions.
7752 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7753 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7754 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7755 * benchtests/Makefile: Add rint benchtest.
7756 * benchtests/rint-inputs: Input for rint benchtest.
7757
57267616
TS
77582013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7759
7760 * Versions.def (libm): Add GLIBC_2.18.
7761 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7762 hidden libm prototypes.
7763 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7764 * math/Makefile (libm-calls): Add s_issignaling.
7765 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7766 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7767 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7768 declaration.
7769 * math/math.h [__USE_GNU] (issignaling): New macro.
7770 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7771 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7772 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7773 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7776 * manual/arith.texi (issignaling): New section.
7777 * manual/libm-err-tab.pl (@all_functions): Update comment.
7778 * math/gen-libm-test.pl (parse_args): Apply special handling for
7779 issignaling.
7780 * math/libm-test.inc (print_float, issignaling_test): New
7781 functions.
7782 (check_float_internal): Add issignaling checks.
7783 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7784 default definition.
7785 * sysdeps/powerpc/math-tests.h: New file.
7786 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7787 tests.
7788 * math/test-snan.c (TEST_FUNC): Likewise.
7789
6142896d
DM
77902013-03-30 David S. Miller <davem@davemloft.net>
7791
7792 * po/de.po: Update from translation team.
7793
ccc8cadf
JM
77942013-03-30 Joseph Myers <joseph@codesourcery.com>
7795
7796 [BZ #10357]
7797 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7798 imaginary part less than 1.0 and real part less than 0.5
7799 specially.
7800 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7801 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7802 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7803 (cacos_test): Add more tests.
7804 (casin_test): Likewise.
7805 (casinh_test): Likewise.
7806 * sysdeps/i386/fpu/libm-test-ulps: Update.
7807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7808
0f6a8d4b
SP
78092013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7810
0d1029de
SP
7811 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7812 ONE with its value.
7813
c2d94018
SP
7814 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7815 (__pow_mp): Replace ONE and MONE with their values.
7816 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7817 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7818 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7819 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7820 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7821 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7822
27ec37f1
SP
7823 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7824
a64d7e0e
SP
7825 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7826 (__pow_mp): Replace ZERO and MZERO with their values.
7827 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7828 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7829 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7830 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7831 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7832 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7833 (__sqr): Likewise.
7834
d26dd3eb
SP
7835 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7836
0f6a8d4b
SP
7837 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7838
e57b0c61
RM
78392013-03-28 Roland McGrath <roland@hack.frob.com>
7840
7841 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7842 Declare with __attribute__ ((weak)).
7843 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7844 Call __call_tls_dtors only if it's not NULL.
7845
356b3480
RM
78462013-03-28 Roland McGrath <roland@hack.frob.com>
7847
288f7d79
RM
7848 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7849 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7850 magic __ehdr_start linker symbol if it's defined.
7851 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7852 them up here if it was already done.
7853
dc0a0263
RM
7854 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7855 (_dl_aux_init): Use const in cast when setting it.
7856 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7857 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7858 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7859
3d3436ae
RM
7860 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7861 Declare them here.
7862 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7863 * csu/libc-tls.c: Nor here.
7864 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7865
356b3480
RM
7866 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7867 (__libc_message): Never call vsyslog.
7868
b0f1246a
AM
78692013-03-28 Alan Modra <amodra@gmail.com>
7870
7871 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7872 Define as empty.
7873 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7874 Likewise.
7875
fbbe2b9a
AZ
78762013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7877
7878 [BZ #15214]
7879 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7880 underflow.
7881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7882
1728ab37
SP
78832013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7884
7a86be6e
SP
7885 [BZ #15304]
7886 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7887 Don't add gid passed as argument.
7888
1728ab37
SP
7889 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7890
3a7182a1
JM
78912013-03-27 Joseph Myers <joseph@codesourcery.com>
7892
7893 [BZ #15307]
7894 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7895 imaginary part between 1.0 and 1.5 and real part less than 0.5
7896 specially.
7897 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7898 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7899 * math/libm-test.inc (cacos_test): Add more tests.
7900 (casin_test): Likewise.
7901 (casinh_test): Likewise.
7902 * sysdeps/i386/fpu/libm-test-ulps: Update.
7903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7904
6f2e90e7
SP
79052013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7906
5739f705
SP
7907 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7908 constants.
7909 (norm): Likewise.
7910 (denorm): Likewise.
7911 (__dbl_mp): Likewise.
7912 (add_magnitudes): Likewise.
7913 (sub_magnitudes): Likewise.
7914 (__add): Likewise.
7915 (__sub): Likewise.
7916 (__mul): Likewise.
7917 (__sqr): Likewise.
7918 (__inv): Likewise.
7919 (__dvd): Likewise.
7920
e375e83d
SP
7921 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7922 commented code.
7923 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7924 (__dubcos): Likewise.
7925 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7926 (__ieee754_acos): Likewise.
7927 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7928 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7929 (__exp1): Likewise.
7930 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7931 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7932 (log1): Likewise.
7933 (my_log2): Likewise.
7934 (checkint): Likewise.
7935 * sysdeps/ieee754/dbl-64/e_remainder.c
7936 (__ieee754_remainder): Likewise.
7937 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7938 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7939 (bsloww): Likewise.
7940 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7941
6f2e90e7
SP
7942 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7943 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7944 MANTISSA_STORE_T to store computations on mantissa. Use
7945 macros for rounding and division.
7946 (denorm): Likewise.
7947 (__dbl_mp): Likewise.
7948 (add_magnitudes): Likewise.
7949 (sub_magnitudes): Likewise.
7950 (__mul): Likewise.
7951 (__sqr): Likewise.
7952 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7953 powers of two in terms of TWOPOW macro.
7954 (mp_no): Make type of mantissa as MANTISSA_T.
7955 [!RADIXI]: Define RADIXI.
7956 [!TWO52]: Define TWO52.
7957 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7958
fce14d4e
AZ
79592013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7960
7961 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7962 llroundl symbol when building for PPC32.
7963
9ad027fb
MW
79642013-03-24 Mark H Weaver <mhw@netris.org>
7965
7966 * manual/arith.texi (Normalization Functions): Fix prototypes for
7967 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7968
e42a38dd
AZ
79692013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7970
7971 [BZ #13889]
7972 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7973 high value to check if expl overflow.
7974 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7975 to check for underflow and overflow.
7976 * math/libm-test.inc: Add exp test.
7977
2e0fb521
DL
79782013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7979
7980 [BZ #11120]
7981 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7982 with NOT_IN_libc.
7983
b5784d95
AZ
79842013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7985
7986 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7987 symbol.
7988
5aa4a1a1
TS
79892013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7990
bdef0be7
TS
7991 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7992 wrap blocks consisting of several statements.
7993
5aa4a1a1
TS
7994 * sysdeps/generic/math-tests.h: New file.
7995 * sysdeps/i386/fpu/math-tests.h: Likewise.
7996 * math/test-snan.c: Include it.
7997 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7998
98c48fe5
JM
79992013-03-21 Joseph Myers <joseph@codesourcery.com>
8000
8001 [BZ #15285]
8002 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8003 (__ieee754_j0l): Do not improve calculations using cos of twice
8004 input for inputs above LDBL_MAX / 2.0L.
8005 (__ieee754_y0l): Likewise.
8006 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8007 (__ieee754_j1l): Do not improve calculations using cos of twice
8008 input for inputs above LDBL_MAX / 2.0L.
8009 (__ieee754_y1l): Likewise.
8010 * math/libm-test.inc (j0_test): Add another test.
8011 (j1_test): Likewise.
8012 (y0_test): Likewise.
8013 (y1_test): Likewise.
8014 * sysdeps/i386/fpu/libm-test-ulps: Update.
8015
3775a8bc
SP
80162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8017
8018 * Rules ($(objpfx)bench-%.c): Include code from a C source
8019 file.
8020
0a1b2ae6
JM
80212013-03-21 Joseph Myers <joseph@codesourcery.com>
8022
8023 [BZ #15287]
8024 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8025 imaginary part 1.0 and real part less than 0.5 specially.
8026 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8027 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8028 * math/libm-test.inc (cacos_test): Add more tests.
8029 (casin_test): Likewise.
8030 (casinh_test): Likewise.
8031 * sysdeps/i386/fpu/libm-test-ulps: Update.
8032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8033
b33d4ce4
SP
80342013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8035
8036 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8037 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8038
bef0b507
JM
80392013-03-20 Joseph Myers <joseph@codesourcery.com>
8040
8041 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8042 * config.make.in (config-cflags-sse4): Remove variable.
8043 (config-cflags-avx): Likewise.
8044 (config-cflags-sse2avx): Likewise.
8045 (config-cflags-novzeroupper): Likewise.
8046 (config-asflags-i686): Likewise.
8047 (have-mfma4): Likewise.
8048 (have-as-vis3): Likewise.
8049 (MIG): Likewise.
8050 * configure.in (MIG): Do not AC_SUBST.
8051 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8052 (libc_cv_cc_sse4): Do not AC_SUBST.
8053 (libc_cv_cc_avx): Likewise.
8054 (libc_cv_cc_sse2avx): Likewise.
8055 (libc_cv_cc_novzeroupper): Likewise.
8056 (libc_cv_cc_fma4): Likewise.
8057 (libc_cv_as_i686): Likewise.
8058 (libc_cv_sparc_as_vis3): Likewise.
8059 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8060 LIBC_CONFIG_VAR.
8061 (config-asflags-i686): Likewise.
8062 (config-cflags-avx): Likewise.
8063 (config-cflags-sse2avx): Likewise.
8064 (have-mfma4): Likewise.
8065 (config-cflags-novzeroupper): Likewise.
8066 * sysdeps/mach/configure.in (MIG): Likewise.
8067 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8068 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8069 LIBC_CONFIG_VAR.
8070 (config-cflags-avx): Likewise.
8071 (config-cflags-sse2avx): Likewise.
8072 (have-mfma4): Likewise.
8073 (config-cflags-novzeroupper): Likewise.
8074 * configure: Regenerated.
8075 * sysdeps/i386/configure: Likewise.
8076 * sysdeps/mach/configure: Likewise.
8077 * sysdeps/sparc/configure: Likewise.
8078 * sysdeps/x86_64/configure: Likewise.
8079
912cc4b3
RM
80802013-03-20 Roland McGrath <roland@hack.frob.com>
8081
8082 [BZ #14812]
8083 * locale/programs/localedef.c (options): Put N_ translation marker
8084 on argument names, not just descriptions.
8085
04eed2b0
MS
80862013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8087
8088 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8089
a065ceff
OB
80902013-03-20 Ondřej Bílka <neleai@seznam.cz>
8091
9bb2a810 8092 [BZ #14176]
a065ceff
OB
8093 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8094
a600e5ce
RM
80952013-03-19 Roland McGrath <roland@hack.frob.com>
8096
8097 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8098 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8099 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8100 [!BEFORE_ABORT] (before_abort): New function.
8101 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8102 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8103 (writev_for_fatal): New function.
8104 (WRITEV_FOR_FATAL): New macro; call that.
8105 (backtrace_and_maps): New function.
8106 (BEFORE_ABORT): New macro; call that.
8107 (struct str_list): Type removed.
8108 (__libc_message, __libc_fatal): Functions removed.
8109 Include <sysdeps/posix/libc_fatal.c> instead.
8110
6b18bea6
JM
81112013-03-19 Joseph Myers <joseph@codesourcery.com>
8112
8113 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8114 constants.
8115 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8116 double constants.
8117
aaa8cb4b
AS
81182013-03-19 Andreas Schwab <schwab@suse.de>
8119
44673770
AS
8120 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8121 * sysdeps/gnu/configure: Regenerate.
8122
aaa8cb4b
AS
8123 * configure.in: Substitute libc_cv_rtlddir.
8124 * configure: Regenerate.
8125 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8126 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8127 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8128 * elf/Makefile (install-others, CFLAGS-interp.c)
8129 (ldso_install, common-ldd-rewrite): Likewise.
8130 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8131 $(inst_slibdir)/$(rtld-installed-name).
8132 * scripts/rellns-sh: Add -p option.
8133 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8134 for source.
8135
d3cfc668
SP
81362013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8137
8138 * manual/nptl.texi: Renamed to ...
8139 * manual/threads.texi: ... this.
8140 * manual/Makefile (chapters): Update.
8141
0e2b9cdd
RM
81422013-03-18 Roland McGrath <roland@hack.frob.com>
8143
8144 [BZ #14812]
8145 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8146 on argument names, not just descriptions.
0e2b9cdd
RM
8147 * malloc/memusagestat.c (options): Likewise.
8148 * nss/getent.c (options): Likewise.
63270c24
RM
8149
81502013-03-18 Benno Schulenberg <bensberg@justemail.net>
8151
8152 [BZ #14812]
8153 * iconv/iconv_prog.c (options): Put N_ translation marker
8154 on argument names, not just descriptions.
8155 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8156
b2e1393c
OB
81572013-03-18 Ondrej Bilka <neleai@seznam.cz>
8158
8159 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8160 implementation which is faster on all x86_64 architectures.
8161 Tested on AMD, Intel Nehalem, SNB, IVB.
8162 * sysdeps/x86_64/strnlen.S: Likewise.
8163
8164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8165 Remove all multiarch strlen and strnlen versions.
8166 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8167 Remove strlen and strnlen related parts.
8168
8169 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8170 Inline strlen part.
8171 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8172
8173 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8174 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8175 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8176 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8177 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8178 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8179
ec4ff04d
CD
81802013-03-17 Carlos O'Donell <carlos@redhat.com>
8181
8182 * manual/memory.texi (Malloc Tunable Parameters):
8183 Sort parameters alphabetically. Add comments for missing entries.
8184
cd18e90a
DM
81852013-03-17 David S. Miller <davem@davemloft.net>
8186
8187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8188
2a185d32
JM
81892013-03-16 Joseph Myers <joseph@codesourcery.com>
8190
d2f9799e
JM
8191 [BZ #15283]
8192 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8193 for arguments at most half maximum finite value.
8194 * math/libm-test.inc (j0_test): Add more tests.
8195 (j1_test): Likewise.
8196 (y0_test): Likewise.
8197 (y1_test): Likewise.
8198 * sysdeps/i386/fpu/libm-test-ulps: Update.
8199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8200
2a185d32
JM
8201 [BZ #14155]
8202 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8203 1 / x and functions P and Q for arguments above 0x1p256L.
8204 (__ieee754_y0l): Likewise.
8205 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8206 (__ieee754_y1l): Likewise.
8207 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8208 (j1_test): Likewise.
8209 (y0_test): Likewise.
8210 (y1_test): Likewise.
8211
6cbec759
TS
82122013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8213
8214 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8215 variable.
8216
bc16e260
RM
82172013-03-15 Roland McGrath <roland@hack.frob.com>
8218
aefc9b8c
RM
8219 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8220 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8221 zero since it's initialized to EXEC_PAGESIZE.
8222
bc16e260
RM
8223 * sysdeps/unix/sysv/linux/ldsodefs.h
8224 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8225 * sysdeps/generic/ldsodefs.h: ... here.
8226
a57da955
TS
82272013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8228
af00a34d
TS
8229 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8230
495ded2c
TS
8231 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8232 math/test-snan.c.
8233 * math/test-snan.c: Renamed from
8234 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8235 * math/Makefile (tests): Add test-snan.
8236 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8237 test-powerpc-snan.
8238
777b0332
TS
8239 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8240 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8241 functions.
8242 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8243 __builtin_nan family of functions.
8244 * math/libm-test.inc (initialize): Initialize qnan_value with
8245 __builtin_nan family of functions.
8246 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8247 Remove variables.
8248 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8249 Remove functions.
8250 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8251 storage class. Initialize qNaN_var and sNaN_var with
8252 __builtin_nan and __builtin_nans families of functions,
8253 respectively.
8254
64d063b8
TS
8255 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8256 (sqrt_test): Remove duplicate test with qNaN input.
8257 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8258 (round_test, signbit_test, significand_test): Note missing +/-Inf
8259 as well as qNaN tests.
8260
67e971f1
TS
8261 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8262 qNaN_var. Fix a few strings, too.
8263 * math/libm-test.inc (nan_value): Rename to qnan_value.
8264 * math/gen-libm-test.pl (%beautify): Adjust to that.
8265 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8266 * math/test-misc.c (main): Likewise.
8267 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8268 to __qnan_bytes, and __qnan_union, respectively.
8269 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8270 Likewise.
8271 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8272 and lqnanval, respectively.
8273 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8274 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8275 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8276 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8277
64487e12
TS
8278 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8279 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8280 doubles.
8281
e015e27b
TS
8282 * math/test-misc.c (main): Fix copy'n'pastos.
8283 * misc/tst-efgcvt.c (special): Likewise.
8284
a57da955
TS
8285 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8286 Remove declarations.
8287
1e380345
SP
82882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8289
8290 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8291 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8292 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8293 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8294
ef26eece
AZ
82952013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8296
8297 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8298 macro to return vdso values correctly in IFUNC implementations.
8299 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8300 Optimization by using IFUNC.
8301
8cfdb7e0
SP
83022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8303 Richard Henderson <rth@redhat.com>
8304 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8305
8306 * Makefile.in (bench): New target.
8307 * NEWS: Mention the benchmark framework.
8308 * Rules (bench): Likewise.
8309 (binaries-bench): Generate binaries for functions to
8310 benchmark.
8311 * benchtests/Makefile: New makefile for benchmark tests.
8312 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8313 programs.
8314 * benchtests/exp-inputs: New input file for EXP function.
8315 * benchtests/pow-inputs: New input file for POW function.
8316 * scripts/bench.pl: New script to generate source files for
8317 benchmark programs.
8318
bcda9880
SP
83192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8320
d22ca8cd
SP
8321 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8322 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8323 computations on mantissa. Use macros for rounding and
8324 division.
8325 (denorm): Likewise.
8326 (__dbl_mp): Likewise.
8327 (add_magnitudes): Likewise.
8328 (sub_magnitudes): Likewise.
8329 (__mul): Likewise.
8330 (__sqr): Likewise.
8331 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8332 powers of two in terms of TWOPOW macro.
8333 (mp_no): Make type of mantissa as MANTISSA_T.
8334 [!RADIXI]: Define RADIXI.
8335 [!TWO52]: Define TWO52.
8336 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8337
bcda9880
SP
8338 * manual/nptl.texi (cindex): Modify threads to pthreads.
8339
06d5adfb
JM
83402013-03-15 Joseph Myers <joseph@codesourcery.com>
8341
8342 * sysdeps/x86_64/preconfigure: Regenerated.
8343
41c7328e
JM
83442013-03-14 Joseph Myers <joseph@codesourcery.com>
8345
8346 [BZ #14155]
8347 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8348 0x1p28 and above.
8349 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8350 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8351 0x1p28 and above.
8352 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8353 * math/libm-test.inc (j0_test): Do not allow one spurious
8354 underflow exception.
8355 (y1_test): Likewise.
8356
e25cfa60
SP
83572013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8358
0409959c
SP
8359 * manual/Makefile (chapters): Add nptl.
8360 * manual/debug.texi (Debugging Support): Add link to Threads
8361 chapter.
8362 * manual/nptl.texi: New file.
8363
e25cfa60
SP
8364 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8365
58a1335e
PB
83662013-03-14 Petr Baudis <pasky@ucw.cz>
8367
8368 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8369 for non-NULL pointer before the memory validity test. Pointed
8370 out by Holger Brunck <holger.brunck@keymile.com>.
8371
9dc7c64f
AS
83722013-03-13 Andreas Schwab <schwab@suse.de>
8373
8374 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8375 instead of .os.
8376
54206aa6
JM
83772013-03-13 Joseph Myers <joseph@codesourcery.com>
8378
8379 * timezone/zic.c: Update from tzcode 2013b.
8380
e98cdb38
CD
83812013-03-12 Carlos O'Donell <carlos@redhat.com>
8382
8383 * manual/install.texi (Configuring and compiling):
8384 Mention i686 and i586.
8385 * INSTALL: Regenerate.
8386
9967e003
RM
83872013-03-12 Roland McGrath <roland@hack.frob.com>
8388
8389 * sysdeps/init_array/elf-init.c: New file.
8390 * csu/elf-init.c
8391 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8392 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8393
8394 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8395 __gmon_start__ as global, but as static with a .preinit_array pointer.
8396 * sysdeps/init_array/gmon-start.c: New file. Use that.
8397 * sysdeps/init_array/crti.S: New file, empty except for comments.
8398 * sysdeps/init_array/crtn.S: Likewise.
8399
e6b5a293 84002013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8401
8402 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8403 definining bcopy.
80f844c9
OB
8404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8405 Remove Prefer_SSE_for_memop.
8406 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8407 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8408 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8409 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8410 memset-x86-64.
80f844c9 8411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8412 Remove bzero, memset ifunc support.
80f844c9
OB
8413 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8414 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8415 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8416 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8417
fb6b0fcb
AS
84182013-03-11 Andreas Schwab <schwab@suse.de>
8419
8420 [BZ #15234]
8421 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8422 by SHLIB_COMPAT.
8423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8424 (GLIBC_2.16): Remove pthread_atfork.
8425
3e6bd4b1
PP
84262013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8427
8428 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8429 (ptestcases.h): Likewise.
8430
222d7f00
RM
84312013-03-08 Roland McGrath <roland@hack.frob.com>
8432
8433 * Makeconfig ($(common-objpfx)config.status): Depend on
8434 sysdeps/*/preconfigure{,.in} too.
8435
1ba4f030
JM
84362013-03-08 Joseph Myers <joseph@codesourcery.com>
8437
a222d91a
JM
8438 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8439 (__free_hook): Use void * instead of __malloc_ptr_t.
8440 (__malloc_hook): Likewise.
8441 (__realloc_hook): Likewise.
8442 (__memalign_hook): Likewise.
8443 (__after_morecore_hook): Likewise.
8444 * malloc/arena.c (save_malloc_hook): Likewise.
8445 (save_free_hook): Likewise.
8446 * malloc/hooks.c (malloc_hook_ini): Likewise.
8447 (realloc_hook_ini): Likewise.
8448 (memalign_hook_ini): Likewise.
8449 * malloc/malloc.c (malloc_hook_ini): Likewise.
8450 (realloc_hook_ini): Likewise.
8451 (memalign_hook_ini): Likewise.
8452 (__free_hook): Likewise.
8453 (__malloc_hook): Likewise.
8454 (__realloc_hook): Likewise.
8455 (__memalign_hook): Likewise.
8456 (__libc_malloc): Likewise.
8457 (__libc_free): Likewise.
8458 (__libc_realloc): Likewise.
8459 (__libc_memalign): Likewise.
8460 (__libc_valloc): Likewise.
8461 (__libc_pvalloc): Likewise.
8462 (__libc_calloc): Likewise.
8463 (__posix_memalign): Likewise.
8464 * malloc/morecore.c (__sbrk): Likewise.
8465 (__default_morecore): Likewise.
8466
5cc45e10
JM
8467 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8468
dd54b864
JM
8469 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8470 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8471 __malloc_ptrdiff_t.
8472
1ba4f030
JM
8473 * malloc/malloc.h (__malloc_size_t): Remove macro.
8474 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8475 __malloc_size_t.
8476 (old_memalign_hook): Likewise.
8477 (old_realloc_hook): Likewise.
8478 (struct hdr): Likewise.
8479 (flood): Likewise.
8480 (mallochook): Likewise.
8481 (memalignhook): Likewise.
8482 (reallochook): Likewise.
8483 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8484 (tr_old_realloc_hook): Likewise.
8485 (tr_old_memalign_hook): Likewise.
8486 (tr_mallochook): Likewise.
8487 (tr_reallochook): Likewise.
8488 (tr_memalignhook): Likewise.
8489
edf66e57
AZ
84902013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8491
8492 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8493 default_ldbl_pack and using as default implementation.
8494 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8495 implementation.
8496 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8497 redundant definition.
8498 (ldbl_insert_mantissa): Likewise.
8499 (ldbl_canonicalize): Likewise.
8500 (ldbl_nearbyint): Likewise.
8501 (ldbl_pack): Rename to ldbl_pack_ppc.
8502 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8503 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8504 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8505
6d9145d8
SP
85062013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8507
8508 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8509 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8510 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8511 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8512 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8513 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8514 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8515 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8516
4dd4e157
AJ
85172013-03-07 Andreas Jaeger <aj@suse.de>
8518
8519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8520 bits/mman-linux.h.
8521
adbb8027
SP
85222013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8523
ce544b5b
SP
8524 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8525 Include mpa.h and declare __MPEXP.
8526 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8528 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8529 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8530 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8531 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8532 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8533
4cc149fd
SP
8534 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8535 (__slowpow): Use long double EXPL and LOGL functions to
8536 compute POW.
8537 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8538 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8539 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8540 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8541 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8542 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8543
e6ebd4a7
SP
8544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8545 intermediate variable to calculate exponent.
8546 (__sqr): Likewise.
8547 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8548 Likewise.
8549 (__sqr): Likewise.
8550
82a9811d
SP
8551 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8552 [!NO__SQR]: Define __sqr.
8553 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8554 and NO__SQR. Remove all code except __mul and __sqr. Include
8555 sysdeps/ieee754/dbl-64/mpa.c.
8556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8557
adbb8027
SP
8558 [BZ #12723]
8559 * posix/Makefile (tests): Add tst-pathconf.
8560 * posix/tst-pathconf.c: New test case.
8561 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8562 _PC_PIPE_BUF.
8563 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8564
39120df9
PF
85652013-03-06 Patsy Franklin <pfrankli@redhat.com>
8566
8567 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8568
67525cb8
AJ
85692013-03-06 Andreas Jaeger <aj@suse.de>
8570
664a9ce4
AJ
8571 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8572 definition via __MAP_ANONYMOUS.
8573
8e39047d
AJ
8574 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8575 it's not part of Linux headers.
8576
67525cb8
AJ
8577 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8578 (MAP_HUGE_MASK): Define.
8579
8580 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8581 Define.
8582 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8583 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8584 Define.
8585 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8586 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8587 Define.
8588 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8590 Define.
8591 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8592
8593 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8594 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8595 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8596 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8597 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8598 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8599
8600 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8601 Handle f2fs.
8602
8603 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8604 Handle f2fs and efivarfs.
8605
8606 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8607 f2fs.
8608
8609 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8610 (EFIVARFS_MAGIC): Add.
8611 (F2FS_LINK_MAX): Add.
8612
e1b42695
PP
86132013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8614
8615 * stdio-common/vfprintf.c: Replace __builtin_expect with
8616 __glibc_unlikely.
8617
2d67d91a
JM
86182013-03-06 Joseph Myers <joseph@codesourcery.com>
8619
8620 [BZ #13550]
8621 * sysdeps/generic/bp-sym.h: Remove file.
8622 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8623 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8624 <bp-sym.h> and <bp-asm.h>.
8625 (__longjmp): Don't use BP_SYM.
8626 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8627 and <bp-asm.h>.
8628 (memcpy): Don't use BP_SYM.
8629 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8630 <bp-sym.h> and <bp-asm.h>.
8631 (memcpy): Don't use BP_SYM.
8632 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8633 <bp-asm.h>.
8634 (memcpy): Don't use BP_SYM.
8635 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8636 <bp-asm.h>.
8637 (memset): Don't use BP_SYM.
8638 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8639 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8640 (__bzero): Don't use BP_SYM.
8641 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8642 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8643 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8644 <bp-sym.h> and <bp-asm.h>.
8645 (memcmp): Don't use BP_SYM. Remove comment about bounded
8646 pointers.
8647 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8648 <bp-sym.h> and <bp-asm.h>.
8649 (memcpy): Don't use BP_SYM.
8650 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8651 <bp-sym.h> and <bp-asm.h>.
8652 (memset): Don't use BP_SYM.
8653 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8654 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8655 (__bzero): Don't use BP_SYM.
8656 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8657 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8658 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8659 <bp-sym.h> and <bp-asm.h>.
8660 (strncmp): Don't use BP_SYM. Remove comment about bounded
8661 pointers.
8662 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8663 <bp-sym.h> and <bp-asm.h>.
8664 (memcpy): Don't use BP_SYM.
8665 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8666 <bp-sym.h> and <bp-asm.h>.
8667 (memset): Don't use BP_SYM.
8668 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8669 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8670 (__bzero): Don't use BP_SYM.
8671 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8672 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8673 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8674 <bp-sym.h> and <bp-asm.h>.
8675 (__memchr): Don't use BP_SYM.
8676 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8677 <bp-sym.h> and <bp-asm.h>.
8678 (memcmp): Don't use BP_SYM. Remove comment about bounded
8679 pointers.
8680 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8681 <bp-sym.h> and <bp-asm.h>.
8682 (memcpy): Don't use BP_SYM.
8683 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8684 <bp-sym.h> and <bp-asm.h>.
8685 (__mempcpy): Don't use BP_SYM.
8686 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8687 <bp-sym.h> and <bp-asm.h>.
8688 (__memrchr): Don't use BP_SYM.
8689 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8690 <bp-sym.h> and <bp-asm.h>.
8691 (memset): Don't use BP_SYM.
8692 (__bzero): Likewise.
8693 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8694 <bp-sym.h> and <bp-asm.h>.
8695 (__rawmemchr): Don't use BP_SYM.
8696 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8697 <bp-sym.h> and <bp-asm.h>.
8698 (__STRCMP): Don't use BP_SYM.
8699 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8700 <bp-sym.h> and <bp-asm.h>.
8701 (strchr): Don't use BP_SYM.
8702 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8703 <bp-sym.h> and <bp-asm.h>.
8704 (__strchrnul): Don't use BP_SYM.
8705 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8706 <bp-sym.h> and <bp-asm.h>.
8707 (strlen): Don't use BP_SYM.
8708 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8709 <bp-sym.h> and <bp-asm.h>.
8710 (strncmp): Don't use BP_SYM. Remove comment about bounded
8711 pointers.
8712 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8713 <bp-sym.h> and <bp-asm.h>.
8714 (__strnlen): Don't use BP_SYM.
8715 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8716 <bp-sym.h> and <bp-asm.h>.
8717 (__GI__setjmp): Don't use BP_SYM.
8718 (_setjmp): Likewise.
8719 (__sigsetjmp): Likewise.
8720 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8721 (L(start_addresses)): Don't use BP_SYM.
8722 (_start): Likewise.
8723 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8724 <bp-asm.h>.
8725 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8726 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8727 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8728 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8729 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8730 <bp-asm.h>.
8731 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8732 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8733 about bounded pointers.
8734 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8735 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8736 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8737 <bp-asm.h>.
8738 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8739 about bounded pointers. Remove GKM FIXME comments.
8740 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8741 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8742 <bp-asm.h>.
8743 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8744 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8745 Remove GKM FIXME comments.
8746 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8747 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8748 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8749 <bp-asm.h>.
8750 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8751 about bounded pointers. Remove GKM FIXME comment.
8752 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8753 and <bp-asm.h>.
8754 (strncmp): Don't use BP_SYM. Remove comment about bounded
8755 pointers.
8756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8757 <bp-sym.h> and <bp-asm.h>.
8758 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8760 <bp-sym.h> and <bp-asm.h>.
8761 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8762 comment.
8763
cdcf361f
PP
87642013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8765
8766 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8767 call free(NULL).
8768
3c4a2b15
DM
87692013-03-05 David S. Miller <davem@davemloft.net>
8770
8771 * po/es.po: Update from translation team.
8772
cdcf361f 87732013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8774
8775 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8776 <bits/mman-linux.h>.
8777 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8778 is fine.
8779 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8780 <bits/mman-linux.h> to end of file.
8781 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8782 is fine.
8783 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8784 <bits/mman-linux.h> to end of file.
8785 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8786 is fine.
8787 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8788 <bits/mman-linux.h> to end of file.
8789
8790 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8791 (MCL_CURRENT, MCL_FUTURE): Define here.
8792
5f67c04f
AK
87932013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8794
8a4473cc 8795 [BZ #15232]
5f67c04f
AK
8796 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8797 attribute_hidden.
8798 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8799
c3e94a95
AK
88002013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8801
8802 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8803 fourth parameter needed for rt_sigprocmask syscall.
8804 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8805 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8806 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8807 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8808 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8809 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8810
cfb6382a
JM
88112013-03-04 Joseph Myers <joseph@codesourcery.com>
8812
8813 [BZ #13550]
8814 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8815 comment about bounded pointers.
8816 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8817 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8818
539d8e01
AJ
88192013-03-04 Andreas Jaeger <aj@suse.de>
8820
8821 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8822 common definitions.
8823
8824 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8825 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8826 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8827 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8828 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8829 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8830
2e167a70 88312013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8832
8833 [BZ #15055]
8834 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8835 __ieee754_sqrl instead of __sqrl.
8836
68508633
JM
88372013-03-01 Joseph Myers <joseph@codesourcery.com>
8838
8839 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8840 * sysdeps/powerpc/fpu_control.h: ... here.
8841 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8842 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8843 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8844 * sysdeps/powerpc/bits/mathinline.h: ... here.
8845
7775448e
RM
88462013-03-01 Roland McGrath <roland@hack.frob.com>
8847
8848 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8849 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8850 to just [NEED_DL_SYSINFO_DSO].
8851 * elf/dl-support.c: Likewise.
8852 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8853 * elf/rtld.c (dl_main): Likewise.
8854 * elf/setup-vdso.h (setup_vdso): Likewise.
8855 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8856 * sysdeps/unix/sysv/linux/dl-sysdep.c
8857 (_dl_discover_osversion): Likewise.
8858
4e9b5995
CD
88592013-03-01 Carlos O'Donell <carlos@redhat.com>
8860
8861 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8862 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8863
e23872c8
SP
88642013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8865
e5c74c63
SP
8866 * NEWS: Mention libm performance improvements and non-x86 PI
8867 futex support.
8868
e23872c8
SP
8869 * csu/libc-start.c (__pthread_initialize_minimal): Change
8870 function arguments.
8871 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8872
b5510883
JM
88732013-02-28 Joseph Myers <joseph@codesourcery.com>
8874
8875 [BZ #13550]
8876 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8877 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8878 <bp-sym.h> and <bp-asm.h>.
8879 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8880 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8881 and <bp-asm.h>.
8882 (memcpy): Don't use BP_SYM.
8883 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8884 <bp-asm.h>.
8885 (__mpn_add_n): Don't use BP_SYM.
8886 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8887 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8888 and <bp-asm.h>.
8889 (__mpn_addmul_1): Don't use BP_SYM.
8890 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8891 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8892 <bp-sym.h>.
8893 (_setjmp): Don't use BP_SYM.
8894 (__novmx_setjmp): Likewise.
8895 (__GI__setjmp): Likewise.
8896 (__vmx_setjmp): Likewise.
8897 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8898 <bp-sym.h>.
8899 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8900 (__bzero): Don't use BP_SYM.
8901 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8902 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8903 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8904 <bp-sym.h> and <bp-asm.h>.
8905 (memcpy): Don't use BP_SYM.
8906 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8907 <bp-sym.h> and <bp-asm.h>.
8908 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8909 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8910 <bp-sym.h> and <bp-asm.h>.
8911 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8912 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8913 <bp-asm.h>.
8914 (__mpn_lshift): Don't use BP_SYM.
8915 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8916 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8917 <bp-asm.h>.
8918 (memset): Don't use BP_SYM.
8919 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8920 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8921 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8922 <bp-asm.h>.
8923 (__mpn_mul_1): Don't use BP_SYM.
8924 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8925 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8926 <bp-sym.h> and <bp-asm.h>.
8927 (memcmp): Don't use BP_SYM.
8928 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8929 <bp-sym.h> and <bp-asm.h>.
8930 (memcpy): Don't use BP_SYM.
8931 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8932 <bp-sym.h> and <bp-asm.h>.
8933 (memset): Don't use BP_SYM.
8934 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8935 <bp-sym.h> and <bp-asm.h>.
8936 (strncmp): Don't use BP_SYM.
8937 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8938 <bp-sym.h> and <bp-asm.h>.
8939 (memcpy): Don't use BP_SYM.
8940 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8941 <bp-sym.h> and <bp-asm.h>.
8942 (memset): Don't use BP_SYM.
8943 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8944 <bp-sym.h> and <bp-asm.h>.
8945 (__memchr): Don't use BP_SYM.
8946 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8947 <bp-sym.h> and <bp-asm.h>.
8948 (memcmp): Don't use BP_SYM.
8949 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8950 <bp-sym.h> and <bp-asm.h>.
8951 (memcpy): Don't use BP_SYM.
8952 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8953 <bp-sym.h> and <bp-asm.h>.
8954 (__mempcpy): Don't use BP_SYM.
8955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8956 <bp-sym.h> and <bp-asm.h>.
8957 (__memrchr): Don't use BP_SYM.
8958 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8959 <bp-sym.h> and <bp-asm.h>.
8960 (memset): Don't use BP_SYM.
8961 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8962 <bp-sym.h> and <bp-asm.h>.
8963 (__rawmemchr): Don't use BP_SYM.
8964 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8965 <bp-sym.h> and <bp-asm.h>.
8966 (__STRCMP): Don't use BP_SYM.
8967 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8968 <bp-sym.h> and <bp-asm.h>.
8969 (strchr): Don't use BP_SYM.
8970 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8971 <bp-sym.h> and <bp-asm.h>.
8972 (__strchrnul): Don't use BP_SYM.
8973 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8974 <bp-sym.h> and <bp-asm.h>.
8975 (strlen): Don't use BP_SYM.
8976 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8977 <bp-sym.h> and <bp-asm.h>.
8978 (strncmp): Don't use BP_SYM.
8979 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8980 <bp-sym.h> and <bp-asm.h>.
8981 (__strnlen): Don't use BP_SYM.
8982 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8983 <bp-asm.h>.
8984 (__mpn_rshift): Don't use BP_SYM.
8985 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8986 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8987 <bp-sym.h> and <bp-asm.h>.
8988 (__sigsetjmp): Don't use BP_SYM.
8989 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8990 (L(start_addresses)): Don't use BP_SYM.
8991 (_start): Likewise.
8992 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8993 <bp-asm.h>.
8994 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8995 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8996 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8997 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8998 <bp-asm.h>.
8999 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9000 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9001 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9002 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9003 <bp-asm.h>.
9004 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9005 comments.
9006 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9007 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9008 <bp-asm.h>.
9009 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9010 FIXME comments.
9011 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9012 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9013 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9014 <bp-asm.h>.
9015 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9016 comment.
9017 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9018 and <bp-asm.h>.
9019 (strncmp): Don't use BP_SYM,
9020 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9021 <bp-asm.h>.
9022 (__mpn_sub_n): Don't use BP_SYM.
9023 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9024 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9025 and <bp-asm.h>.
9026 (__mpn_submul_1): Don't use BP_SYM.
9027 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9029 <bp-sym.h> and <bp-asm.h>.
9030 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9032 <bp-sym.h> and <bp-asm.h>.
9033 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9034 comment.
9035
8d19fe64
SP
90362013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9037
9038 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9039 Use ZK to minimize writes to Z.
9040 (sub_magnitudes): Simplify code a bit.
9041 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9042 Use ZK to minimize writes to Z.
9043 (sub_magnitudes): Simplify code a bit.
9044
85bd816a
RM
90452013-02-27 Roland McGrath <roland@hack.frob.com>
9046
9047 * csu/gmon-start.c: Add special exception to license text.
9048
b5977bf2
RH
90492013-02-27 Richard Henderson <rth@redhat.com>
9050
9051 * scripts/config.guess: Update from config.git.
9052 * scripts/config.sub: Likewise.
9053
11d6e2f2
SP
90542013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9055
09c14ed2
SP
9056 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9057
a688864e
SP
9058 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9059
6295157a
SP
9060 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9061
b8de2202
SP
9062 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9063
11d6e2f2
SP
9064 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9065
7e80ddb8
RM
90662013-02-26 Roland McGrath <roland@hack.frob.com>
9067
9068 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9069 [$(build-shared = yes].
7e80ddb8 9070
7da6d9ed
SP
90712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9072
45f05884
SP
9073 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9074 (__mul): Reduce iterations for calculating mantissa.
9075
2236d359
SP
9076 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9077 MPTWO.
9078 (__mpranred): Likewise.
9079
7da6d9ed
SP
9080 [BZ #15160]
9081 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9082 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9083
b7688c42
PE
90842013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9085
9086 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9087 Define __attribute__.
9088
53a5c423
SP
90892013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9090
9091 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9092 unused.
9093 * posix/regex_internal.h (__attribute): Remove.
9094 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9095 (re_string_context_at): Likewise.
9096 (bitset_not): Use __attribute__ and mark function as possibly
9097 unused.
9098 (bitset_merge): Likewise.
9099 (bitset_mask): Likewise.
9100 (re_string_char_size_at): Likewise.
9101 (re_string_wchar_at): Likewise.
9102 (re_string_elem_size_at): Likewise.
9103
60f5a8b5
SP
91042013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9105
2a983a2e
SP
9106 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9107 code.
9108 (cc32): Likewise.
9109
e69804d1
SP
9110 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9111 (__acr): Likewise.
9112 (__cpy): Likewise.
9113 (norm): Likewise.
9114 (denorm): Likewise.
9115 (__dbl_mp): Likewise.
9116 (add_magnitudes): Likewise.
9117 (sub_magnitudes): Likewise.
9118 (__mul): Likewise.
9119 (__inv): Likewise.
9120
2f22a1e8
SP
9121 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9122 style.
9123
8930ddc7
SP
9124 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9125 style.
9126
dc60cb11
SP
9127 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9128 code.
9129
60f5a8b5
SP
9130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9131 up changes with default code.
9132 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9133 Likewise.
9134
b4d1fd33
AM
91352013-02-24 Allan McRae <allan@archlinux.org>
9136
faf6f8bc
AM
9137 * manual/socket.texi (The Internet Namespace): Order menu items
9138 to match that in the file.
9139
b4d1fd33
AM
9140 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9141 node listing of the info page menu.
9142
2366713d
JM
91432013-02-21 Joseph Myers <joseph@codesourcery.com>
9144
9145 [BZ #13550]
9146 * sysdeps/i386/bp-asm.h: Remove file.
9147 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9148 (PARMS): Do not use macros from bp-asm.h.
9149 (S1): Likewise.
9150 (S2): Likewise.
9151 (SIZE): Likewise.
9152 (__mpn_add_n): Do not use BP_SYM
9153 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9154 "bp-asm.h".
9155 (PARMS): Do not use macros from bp-asm.h.
9156 (S1): Likewise.
9157 (SIZE): Likewise.
9158 (__mpn_addmul_1): Do not use BP_SYM
9159 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9160 "bp-asm.h".
9161 (PARMS): Do not use macros from bp-asm.h.
9162 (SIGMSK): Likewise.
9163 (_setjmp): Likewise. Do not use BP_SYM.
9164 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9165 "bp-asm.h".
9166 (PARMS): Do not use macros from bp-asm.h.
9167 (SIGMSK): Likewise.
9168 (setjmp): Likewise. Do not use BP_SYM.
9169 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9170 "bp-asm.h".
9171 (PARMS): Do not use macros from bp-asm.h.
9172 (__frexp): Do not use BP_SYM.
9173 (frexp): Likewise.
9174 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9175 "bp-asm.h".
9176 (PARMS): Do not use macros from bp-asm.h.
9177 (__frexpf): Do not use BP_SYM.
9178 (frexpf): Likewise.
9179 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9180 "bp-asm.h".
9181 (PARMS): Do not use macros from bp-asm.h.
9182 (__frexpl): Do not use BP_SYM.
9183 (frexpl): Likewise.
9184 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9185 "bp-asm.h".
9186 (PARMS): Do not use macros from bp-asm.h.
9187 (__remquo): Do not use BP_SYM.
9188 (remquo): Likewise.
9189 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9190 "bp-asm.h".
9191 (PARMS): Do not use macros from bp-asm.h.
9192 (__remquof): Do not use BP_SYM.
9193 (remquof): Likewise.
9194 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9195 "bp-asm.h".
9196 (PARMS): Do not use macros from bp-asm.h.
9197 (__remquol): Do not use BP_SYM.
9198 (remquol): Likewise.
9199 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9200 "bp-asm.h".
9201 (PARMS): Do not use macros from bp-asm.h.
9202 (DEST): Likewise.
9203 (SRC): Likewise.
9204 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9205 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9206 "bp-asm.h".
9207 (PARMS): Do not use macros from bp-asm.h.
9208 (strlen): Do not use BP_SYM.
9209 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9210 "bp-asm.h".
9211 (PARMS): Do not use macros from bp-asm.h.
9212 (S1): Likewise.
9213 (S2): Likewise.
9214 (SIZE): Likewise.
9215 (__mpn_add_n): Do not use BP_SYM.
9216 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9217 "bp-asm.h".
9218 (PARMS): Do not use macros from bp-asm.h.
9219 (S1): Likewise.
9220 (SIZE): Likewise.
9221 (__mpn_addmul_1): Do not use BP_SYM.
9222 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9223 weak_alias.
9224 (bzero): Likewise.
9225 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9226 "bp-asm.h".
9227 (PARMS): Do not use macros from bp-asm.h.
9228 (S): Likewise.
9229 (SIZE): Likewise.
9230 (__mpn_lshift): Do not use BP_SYM.
9231 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9232 "bp-asm.h".
9233 (PARMS): Do not use macros from bp-asm.h.
9234 (DEST): Likewise.
9235 (SRC): Likewise.
9236 (LEN): Likewise.
9237 (memcpy): Likewise. Do not use BP_SYM.
9238 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9239 libc_hidden_def and weak_alias.
9240 (mempcpy): Do not use BP_SYM in weak_alias.
9241 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9242 "bp-asm.h".
9243 (PARMS): Do not use macros from bp-asm.h.
9244 (DEST): Likewise.
9245 (LEN): Likewise.
9246 [!BZERO_P] (CHR): Likewise.
9247 (memset): Likewise. Do not use BP_SYM.
9248 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9249 "bp-asm.h".
9250 (PARMS): Do not use macros from bp-asm.h.
9251 (S1): Likewise.
9252 (SIZE): Likewise.
9253 (__mpn_mul_1): Do not use BP_SYM.
9254 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9255 "bp-asm.h".
9256 (PARMS): Do not use macros from bp-asm.h.
9257 (S): Likewise.
9258 (SIZE): Likewise.
9259 (__mpn_rshift): Do not use BP_SYM.
9260 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9261 "bp-asm.h".
9262 (PARMS): Do not use macros from bp-asm.h.
9263 (STR): Likewise.
9264 (CHR): Likewise.
9265 (strchr): Likewise. Do not use BP_SYM.
9266 (index): Do not use BP_SYM in weak_alias.
9267 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9268 "bp-asm.h".
9269 (PARMS): Do not use macros from bp-asm.h.
9270 (DEST): Likewise.
9271 (SRC): Likewise.
9272 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9273 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9274 "bp-asm.h".
9275 (PARMS): Do not use macros from bp-asm.h.
9276 (strlen): Do not use BP_SYM.
9277 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9278 "bp-asm.h".
9279 (PARMS): Do not use macros from bp-asm.h.
9280 (S1): Likewise.
9281 (S2): Likewise.
9282 (SIZE): Likewise.
9283 (__mpn_sub_n): Do not use BP_SYM.
9284 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9285 "bp-asm.h".
9286 (PARMS): Do not use macros from bp-asm.h.
9287 (S1): Likewise.
9288 (SIZE): Likewise.
9289 (__mpn_submul_1): Do not use BP_SYM.
9290 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9291 "bp-asm.h".
9292 (PARMS): Do not use macros from bp-asm.h.
9293 (S1): Likewise.
9294 (S2): Likewise.
9295 (SIZE): Likewise.
9296 (__mpn_add_n): Do not use BP_SYM.
9297 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9298 weak_alias.
9299 (bzero): Likewise.
9300 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9301 "bp-asm.h".
9302 (PARMS): Do not use macros from bp-asm.h.
9303 (BLK2): Likewise.
9304 (LEN): Likewise.
9305 (memcmp): Do not use BP_SYM.
9306 (bcmp): Do not use BP_SYM in weak_alias.
9307 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9308 "bp-asm.h".
9309 (PARMS): Do not use macros from bp-asm.h.
9310 (DEST): Likewise.
9311 (SRC): Likewise.
9312 (LEN): Likewise.
9313 (memcpy): Likewise. Do not use BP_SYM.
9314 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9315 "bp-asm.h".
9316 (PARMS): Do not use macros from bp-asm.h.
9317 (DEST): Likewise.
9318 (SRC): Likewise.
9319 (LEN): Likewise.
9320 (memmove): Likewise. Do not use BP_SYM.
9321 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9322 "bp-asm.h".
9323 (PARMS): Do not use macros from bp-asm.h.
9324 (DEST): Likewise.
9325 (SRC): Likewise.
9326 (LEN): Likewise.
9327 (__mempcpy): Likewise. Do not use BP_SYM.
9328 (mempcpy): Do not use BP_SYM in weak_alias.
9329 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9330 "bp-asm.h".
9331 (PARMS): Do not use macros from bp-asm.h.
9332 (DEST): Likewise.
9333 (LEN): Likewise.
9334 [!BZERO_P] (CHR): Likewise.
9335 (memset): Likewise. Do not use BP_SYM.
9336 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9337 "bp-asm.h".
9338 (PARMS): Do not use macros from bp-asm.h.
9339 (STR2): Likewise.
9340 (strcmp): Do not use BP_SYM.
9341 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9342 "bp-asm.h".
9343 (PARMS): Do not use macros from bp-asm.h.
9344 (STR): Likewise.
9345 (DELIM): Likewise.
9346 [USE_AS_STRTOK_R] (SAVE): Likewise.
9347 (FUNCTION): Likewise. Do not use BP_SYM.
9348 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9349 aliases.
9350 (strtok_r): Likewise.
9351 (__GI___strtok_r): Likewise.
9352 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9353 (PARMS): Do not use macros from bp-asm.h.
9354 (S): Likewise.
9355 (SIZE): Likewise.
9356 (__mpn_lshift): Do not use BP_SYM.
9357 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9358 (PARMS): Do not use macros from bp-asm.h.
9359 (STR): Likewise.
9360 (CHR): Likewise.
9361 (__memchr): Do not use BP_SYM.
9362 (memchr): Do not use BP_SYM in weak_alias.
9363 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9364 (PARMS): Do not use macros from bp-asm.h.
9365 (BLK2): Likewise.
9366 (LEN): Likewise.
9367 (memcmp): Do not use BP_SYM.
9368 (bcmp): Do not use BP_SYM in weak_alias.
9369 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9370 (PARMS): Do not use macros from bp-asm.h.
9371 (S1): Likewise.
9372 (SIZE): Likewise.
9373 (__mpn_mul_1): Do not use BP_SYM.
9374 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9375 "bp-asm.h".
9376 (PARMS): Do not use macros from bp-asm.h.
9377 (STR): Likewise.
9378 (CHR): Likewise.
9379 (__rawmemchr): Do not use BP_SYM.
9380 (rawmemchr): Do not use BP_SYM in weak_alias.
9381 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9382 (PARMS): Do not use macros from bp-asm.h.
9383 (S): Likewise.
9384 (SIZE): Likewise.
9385 (__mpn_rshift): Do not use BP_SYM.
9386 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9387 (PARMS): Do not use macros from bp-asm.h.
9388 (SIGMSK): Likewise.
9389 (__sigsetjmp): Likewise. Do not use BP_SYM.
9390 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9391 (_start): Do not use BP_SYM.
9392 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9393 (PARMS): Do not use macros from bp-asm.h.
9394 (DEST): Likewise.
9395 (SRC): Likewise.
9396 (__stpcpy): Likewise. Do not use BP_SYM.
9397 (stpcpy): Do not use BP_SYM in weak_alias.
9398 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9399 "bp-asm.h".
9400 (PARMS): Do not use macros from bp-asm.h.
9401 (DEST): Likewise.
9402 (SRC): Likewise.
9403 (LEN): Likewise.
9404 (__stpncpy): Likewise. Do not use BP_SYM.
9405 (stpncpy): Do not use BP_SYM in weak_alias.
9406 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9407 (PARMS): Do not use macros from bp-asm.h.
9408 (STR): Likewise.
9409 (CHR): Likewise.
9410 (strchr): Likewise. Do not use BP_SYM.
9411 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9412 "bp-asm.h".
9413 (PARMS): Do not use macros from bp-asm.h.
9414 (STR): Likewise.
9415 (CHR): Likewise.
9416 (__strchrnul): Likewise. Do not use BP_SYM.
9417 (strchrnul): Do not use BP_SYM in weak_alias.
9418 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9419 "bp-asm.h".
9420 (PARMS): Do not use macros from bp-asm.h.
9421 (STOP): Likewise.
9422 (strcspn): Do not use BP_SYM.
9423 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9424 "bp-asm.h".
9425 (PARMS): Do not use macros from bp-asm.h.
9426 (STR): Likewise.
9427 (STOP): Likewise.
9428 (strpbrk): Likewise. Do not use BP_SYM.
9429 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9430 "bp-asm.h".
9431 (PARMS): Do not use macros from bp-asm.h.
9432 (STR): Likewise.
9433 (CHR): Likewise.
9434 (strrchr): Likewise. Do not use BP_SYM.
9435 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9436 (PARMS): Do not use macros from bp-asm.h.
9437 (SKIP): Likewise.
9438 (strspn): Do not use BP_SYM.
9439 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9440 (PARMS): Do not use macros from bp-asm.h.
9441 (STR): Likewise.
9442 (DELIM): Likewise.
9443 (SAVE): Likewise.
9444 (FUNCTION): Likewise. Do not use BP_SYM.
9445 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9446 aliases.
9447 (strtok_r): Likewise.
9448 (__GI___strtok_r): Likewise.
9449 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9450 (PARMS): Do not use macros from bp-asm.h.
9451 (S1): Likewise.
9452 (S2): Likewise.
9453 (SIZE): Likewise.
9454 (__mpn_sub_n): Do not use BP_SYM.
9455 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9456 "bp-asm.h".
9457 (PARMS): Do not use macros from bp-asm.h.
9458 (S1): Likewise.
9459 (SIZE): Likewise.
9460 (__mpn_submul_1): Do not use BP_SYM.
9461 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9462 <bp-sym.h>.
9463 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9464 and <bp-asm.h>.
9465 (PARMS): Do not use macros from bp-asm.h.
9466 (FLAGS): Likewise.
9467 (PTID): Likewise.
9468 (TLS): Likewise.
9469 (CTID): Likewise.
9470 (__clone): Do not use BP_SYM.
9471 (clone): Do not use BP_SYM in weak_alias.
9472 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9473 and <bp-asm.h>.
9474 (PARMS): Do not use macros from bp-asm.h.
9475 (LEN): Likewise.
9476 (__mmap64): Do not use BP_SYM.
9477 (mmap64): Do not use BP_SYM in weak_alias.
9478 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9479 <bp-sym.h> and <bp-asm.h>.
9480 (PARMS): Do not use macros from bp-asm.h.
9481 (__posix_fadvise64_l64): Do not use BP_SYM.
9482 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9483 (PARMS): Do not use macros from bp-asm.h.
9484 (NSOPS): Likewise.
9485 (semtimedop): Do not use BP_SYM.
9486 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9487 and <bp-asm.h>.
9488
582a3cff
AM
94892013-02-21 Allan McRae <allan@archlinux.org>
9490
9491 * manual/message.texi (Charset conversion in gettext):
9492 Move @end statement to beginning of line.
9493
bab8a695
SP
94942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9495
80945231
SP
9496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9497 static.
9498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9499 Likewise.
9500
bab8a695
SP
9501 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9502 (denorm): Likewise.
9503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9504 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9505
e21d7aa7
AK
95062013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9507
9508 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9509 tail-call to the resolved function if pltexit isn't needed.
9510
4c7a4263
SP
95112013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9512
9513 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9514 or Y being zero as being unlikely.
9515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9516 Likewise.
9517
41f49342
CD
95182013-02-20 Carlos O'Donell <carlos@redhat.com>
9519
9520 * manual/nss.texi (System Databases and Name Service Switch):
9521 Remove frobnicate @pxref.
9522
50022a93
TS
95232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9524
9525 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9526 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9527
08cbd996
PM
95282013-02-20 Petr Machata <pmachata@redhat.com>
9529
9530 * elf/elf.h (R_ARM_TARGET1): New macro.
9531 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9532 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9533 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9534 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9535 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9536 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9537 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9538 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9539 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9540 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9541 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9542 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9543 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9544 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9545 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9546 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9547 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9548 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9549 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9550 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9551 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9552 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9553 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9554 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9555 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9556 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9557 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9558 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9559 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9560 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9561 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9562 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9563 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9564 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9565 (R_ARM_THM_GOT_BREL12): Likewise.
9566 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9567 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9568 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9569 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9570 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9571 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9572 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9573 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9574 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9575
c7b275d6
TS
95762013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9577
9578 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9579 __attribute_used__ to __attribute__ ((unused)).
9580
20cd7fb3
SP
95812013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9582
9583 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9584 powerpc mpa.c.
9585 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9586 comment formatting.
9587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9588
92945b52
JM
95892013-02-19 Joseph Myers <joseph@codesourcery.com>
9590
9591 [BZ #13550]
9592 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9593 Remove macro.
9594 (ENTER): Remove both macro definitions.
9595 (LEAVE): Likewise.
9596 (CHECK_BOUNDS_LOW): Likewise.
9597 (CHECK_BOUNDS_HIGH): Likewise.
9598 (CHECK_BOUNDS_BOTH): Likewise.
9599 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9600 (RETURN_BOUNDED_POINTER): Likewise.
9601 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9602 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9603 (POP_ERRNO_LOCATION_RETURN): Likewise.
9604 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9605 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9606 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9607 macros.
9608 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9609 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9610 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9611 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9612 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9613 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9614 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9615 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9616 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9617 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9618 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9619 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9620 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9621 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9622 removed macros.
9623 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9624 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9625 macros.
9626 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9627 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9628 * sysdeps/i386/i586/memset.S (memset): Likewise.
9629 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9630 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9631 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9632 macros.
9633 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9634 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9635 Change uses of L(2) to L(out).
9636 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9637 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9638 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9639 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9640 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9641 removed macros.
9642 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9643 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9644 macros.
9645 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9646 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9647 (RETURN): Do not use macro LEAVE.
9648 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9649 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9650 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9651 * sysdeps/i386/i686/memset.S (memset): Likewise.
9652 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9653 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9654 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9655 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9656 Likewise.
9657 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9658 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9659 L(1_2) and L(1_3) into L(1).
9660 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9661 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9662 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9663 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9664 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9665 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9666 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9667 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9668 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9669 macros.
9670 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9671 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9672 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9673 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9674 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9675 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9676 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9677 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9678 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9679 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9680 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9681 * sysdeps/i386/strspn.S (strspn): Likewise.
9682 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9683 conditional code.
9684 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9685 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9686 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9687 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9688 L(1_3) into L(1_1).
9689 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9690 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9691 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9692 macros.
9693 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9694
2389741a
JJ
96952013-02-19 Jakub Jelinek <jakub@redhat.com>
9696
9697 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9698 macro.
9699
2016b3cd
SP
97002013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9701
e4f22324
SP
9702 * math/atest-exp.c (exp_mpn): Remove ROUND.
9703 * math/atest-exp2.c (exp_mpn): Likewise.
9704 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9705
2016b3cd
SP
9706 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9707 * stdlib/tst-tls-atexit-lib.c: Likewise.
9708 * stdlib/tst-tls-atexit.c: Likewise.
9709
4be9b544
MF
97102013-02-18 Mike Frysinger <vapier@gentoo.org>
9711
9712 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9713 and __attribute_alloc_size__.
9714
2f62b9ee
MF
97152013-02-18 Mike Frysinger <vapier@gentoo.org>
9716
9717 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9718 __attribute_alloc_size__.
9719 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9720 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9721
6ff444c4
MF
97222013-02-18 Mike Frysinger <vapier@gentoo.org>
9723
9724 * include/programs/xmalloc.h: New file.
9725 * catgets/gencat.c: Include it.
9726 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9727 * elf/pldd.c: Likewise.
9728 * iconv/iconv_charmap.c: Likewise.
9729 * iconv/iconvconfig.c: Likewise.
9730 * iconv/strtab.c: Likewise.
9731 * locale/programs/locale.c: Likewise.
9732 * locale/programs/localedef.h: Likewise.
9733 * locale/programs/simple-hash.c: Likewise.
9734 * nscd/nscd.h: Likewise.
9735 * nss/makedb.c: Likewise.
9736 * sysdeps/generic/ldconfig.h: Likewise.
9737
be179c8a
SP
97382013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9739
ba384f6e
SP
9740 * Versions.def: Add GLIBC_2.18.
9741 * include/link.h (struct link_map): New member l_tls_dtor_count.
9742 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9743 (__call_tls_dtors): Likewise.
9744 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9745 __cxa_thread_atexit_impl.
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9747 Likewise.
9748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9749 Likewise.
9750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9751 Likewise.
9752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9753 Likewise.
9754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9755 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9756 Likewise.
9757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9758 Likewise.
9759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9761 Likewise.
9762 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9763 (tests): Add test case tst-tls-atexit.
9764 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9765 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9766 (GLIBC_PRIVATE): Add __call_tls_dtors.
9767 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9768 for libstdc++.
9769 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9770 * stdlib/tst-tls-atexit.c: New test case.
9771 * stdlib/tst-tls-atexit-lib.c: New test case.
9772
ffaa74cf 9773 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9774
be179c8a
SP
9775 * elf/Versions (ld): Add _dl_find_dso_for_object.
9776 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9777 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9778 (dl_open_worker): Use _dl_find_dso_for_object.
9779 * elf/dl-sym.c (do_sym): Likewise.
9780 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9781
f78b5caa
AK
97822013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9783
9784 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9785 Syntactic changes only.
9786 (_dl_runtime_profile): Do a tail-call to the resolved function.
9787
29691210
JM
97882013-02-17 Joseph Myers <joseph@codesourcery.com>
9789
9790 [BZ #13550]
9791 * sysdeps/x86_64/bp-asm.h: Remove file.
9792 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9793 <bp-sym.h> and <bp-asm.h>.
9794 (__clone): Do not use BP_SYM.
9795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9796 <bp-sym.h> and <bp-asm.h>.
9797 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9798 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9799 "bp-asm.h".
9800 (_setjmp): Do not use BP_SYM.
9801 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9802 "bp-asm.h".
9803 (setjmp): Do not use BP_SYM.
9804 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9805 libc_hidden_def.
9806 (mempcpy): Do not use BP_SYM in weak_alias.
9807 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9808 "bp-asm.h".
9809 (strchr): Do not use BP_SYM.
9810 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9811 "bp-asm.h".
9812 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9813 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9814 (_start): Do not use BP_SYM.
9815 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9816 "bp-asm.h".
9817 (strcat): Do not use BP_SYM.
9818 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9819 "bp-asm.h".
9820 (STRCMP): Do not use BP_SYM.
9821 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9822 "bp-asm.h".
9823 (STRCPY): Do not use BP_SYM.
9824 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9825 "bp-asm.h".
9826 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9827 "bp-asm.h".
9828 (FUNCTION): Do not use BP_SYM.
9829 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9830 weak_alias.
9831 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9832
f238fd19
AJ
98332013-02-17 Andreas Jaeger <aj@suse.de>
9834
9835 * time/Versions: Sort entries.
9836 * string/Versions: Likewise.
9837 * resolv/Versions: Likewise.
9838 * posix/Versions: Likewise.
9839 * iconv/Versions: Likewise.
9840 * elf/Versions: Likewise.
9841 * wcsmbs/Versions: Likewise.
9842
bd07f23c 98432013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9844
22af19f9
SP
9845 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9846 loop termination condition.
9847
4709fe76
SP
9848 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9849 variable to calculate EZ.
9850 (__sqr): Likewise.
2d0e0f29
SP
9851
9852 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9853 the lower precision input.
9854
daaa7713
JM
98552013-02-15 Joseph Myers <joseph@codesourcery.com>
9856
9857 [BZ #13550]
9858 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9859 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9860 (run-via-rtld-prefix): Do not handle %-bp tests.
9861 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9862 (all-object-suffixes): Remove .ob.
9863 (bppfx): Remove variable.
9864 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9865 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9866 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9867 [$(build-bounded) = yes] (libtype.ob): Likewise.
9868 * Makerules (elide-routines.ob): Remove variable.
9869 (do-tests-clean): Do not handle *-bp.out.
9870 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9871 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9872 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9873 (tests): Do not include $(tests-bp.out).
9874 (xtests): Do not include $(xtests-bp.out).
9875 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9876 [$(build-bounded) = yes] ($(addprefix
9877 $(objpfx),$(binaries-bounded))): Remove rule.
9878 ($(objpfx)%-bp.out): Remove rule.
9879 * config.make.in (build-bounded): Remove variable.
9880 * crypt/Makefile [$(build-bounded) = yes]
9881 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9882 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9883 append to variable.
9884 [$(build-bounded) = yes] (install-lib): Likewise.
9885 [$(build-bounded) = yes] (generated): Likewise.
9886 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9887 Remove rule.
9888 * intl/Makefile [$(build-bounded) = yes]
9889 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9890 * math/Makefile [$(build-bounded) = yes]
9891 ($(tests:%=$(objpfx)%-bp): Likewise.
9892 * misc/Makefile [$(build-bounded) = yes]
9893 ($(objpfx)tst-tsearch-bp): Likewise.
9894 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9895 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9896 Remove dependency.
9897 * string/Makefile (o-objects.ob): Remove variable.
9898 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9899 (CFLAGS-.ob): Remove variable.
9900 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9901 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9902 both definitions of variable.
9903 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9904 (ASFLAGS-.ob): Remove variable.
9905
e97ed6dd
JM
99062013-02-14 Joseph Myers <joseph@codesourcery.com>
9907
2bdd4ca6
JM
9908 [BZ #13550]
9909 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9910 Remove __BOUNDED_POINTERS__ from condition.
9911 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9912 * string/bits/string2.h [!__NO_STRING_INLINES &&
9913 !__BOUNDED_POINTERS__]: Likewise.
9914 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9915 Likewise.
9916 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9917 Remove conditional code.
9918 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9919 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9920 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9921 condition.
9922
e97ed6dd
JM
9923 [BZ #13550]
9924 * csu/libc-start.c: Do not include <bp-sym.h>.
9925 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9926 * elf/dl-open.c: Do not include <bp-sym.h>.
9927 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9928 * math/fegetenv.c: Do not include <bp-sym.h>.
9929 (fegetenv): Do not use BP_SYM in versioned symbols.
9930 * nptl/sysdeps/pthread/bits/libc-lockP.h
9931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9932 <bp-sym.h>.
9933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9934 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9936 (__pthread_mutex_destroy): Likewise.
9937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9938 (__pthread_mutex_lock): Likewise.
9939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9940 (__pthread_mutex_trylock): Likewise.
9941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9942 (__pthread_mutex_unlock): Likewise.
9943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9944 (__pthread_mutexattr_init): Likewise.
9945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9946 (__pthread_mutexattr_destroy): Likewise.
9947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9948 (__pthread_mutexattr_settype): Likewise.
9949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9950 (__pthread_rwlock_init): Likewise.
9951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9952 (__pthread_rwlock_destroy): Likewise.
9953 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9954 (__pthread_rwlock_rdlock): Likewise.
9955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9956 (__pthread_rwlock_tryrdlock): Likewise.
9957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9958 (__pthread_rwlock_wrlock): Likewise.
9959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9960 (__pthread_rwlock_trywrlock): Likewise.
9961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9962 (__pthread_rwlock_unlock): Likewise.
9963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9964 (__pthread_key_create): Likewise.
9965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9966 (__pthread_setspecific): Likewise.
9967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9968 (__pthread_getspecific): Likewise.
9969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9970 Likewise.
9971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9972 (_pthread_cleanup_push_defer): Likewise.
9973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9974 (_pthread_cleanup_pop_restore): Likewise.
9975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9976 (pthread_setcancelstate): Likewise.
9977 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9978 <bp-sym.h>.
9979 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9980 (memchr): Do not use BP_SYM in weak_alias.
9981 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9982 (fegetenv): Do not use BP_SYM in versioned symbols.
9983 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9984 (fesetenv): Do not use BP_SYM in versioned symbols.
9985 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9986 (feupdateenv): Do not use BP_SYM in versioned symbols.
9987 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9988 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9989 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9990 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9991 (open64): Do not use BP_SYM in weak_alias.
9992 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9993 (fegetenv): Do not use BP_SYM in versioned symbols.
9994 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9995 (fesetenv): Do not use BP_SYM in versioned symbols.
9996 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9997 (feupdateenv): Do not use BP_SYM in versioned symbols.
9998 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9999 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10000 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10001 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10002 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10003 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10004 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10005 <bp-sym.h>.
10006 (__libc_start_main): Do not use BP_SYM.
10007
d6752ccd
SP
100082013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10009
cb57ce60
SP
10010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10011 redundant return line.
10012 (norm): Likewise.
10013 (denorm): Likewise.
10014 (dbl_mp): Likewise.
10015 (sub_magnitudes): Likewise.
10016 (__add): Likewise.
10017 (__sub): Likewise.
10018 (__mul): Likewise.
10019 (__inv): Likewise.
10020 (__dvd): Likewise.
10021 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10022 (norm): Likewise.
10023 (denorm): Likewise.
10024 (dbl_mp): Likewise.
10025 (sub_magnitudes): Likewise.
10026 (__add): Likewise.
10027 (__sub): Likewise.
10028 (__mul): Likewise.
10029 (__inv): Likewise.
10030 (__dvd): Likewise.
10031
f414520d
SP
10032 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10033 instead of __mul.
10034 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10035 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10036 (cc32): Likewise.
10037
d6752ccd
SP
10038 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10039 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10041 of __mul for squares.
10042 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10043 function
10044 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10045 Likewise.
10046 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10047 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10048
70d9946a
JM
100492013-02-13 Joseph Myers <joseph@codesourcery.com>
10050
10051 [BZ #13550]
10052 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10053 code.
10054 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10055 prototype or function definition. Rename ubp_* variables and
10056 parameters. Remove argv definitions conditional on
10057 [__BOUNDED_POINTERS__].
10058 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10059 * elf/dl-runtime.c (_dl_fixup): Likewise.
10060 * include/set-hooks.h (RUN_HOOK): Likewise.
10061 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10062 definition.
10063 * string/strcpy.c (strcpy): Do not use __unbounded.
10064 * sysdeps/generic/frame.h (struct layout): Likewise.
10065 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10066 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10067 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10068 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10069 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10070 (__backtrace): Likewise.
10071 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10072 use __ptrvalue.
10073 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10074 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10075 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10076 Likewise.
10077 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10078 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10079 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10080 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10081 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10082 Do not use __unbounded.
10083 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10084 Rename __unboundedrlimits parameter to rlimits in prototype.
10085 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10086 Do not use __unbounded.
10087 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10088 not use __ptrvalue.
10089 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10090 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10091 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10092 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10093 __ptrvalue or __unbounded.
10094 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10095 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10096 use __unbounded.
10097 (__new_msgctl): Do not use __ptrvalue.
10098 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10099 __unbounded.
10100 (__libc_msgrcv): Do not use __ptrvalue.
10101 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10102 startup_info): Do not use __unbounded.
10103 (__libc_start_main): Likewise. Rename ubp_* variables and
10104 parameters. Remove argv definitions conditional on
10105 [__BOUNDED_POINTERS__].
10106 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10107 __ptrvalue.
10108 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10109 use __unbounded.
10110 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10111 or __ptrvalue.
10112 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10113 use __unbounded.
10114 (__new_shmctl): Do not use __ptrvalue.
10115 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10116 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10117 Likewise.
10118 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10119 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10120 (__libc_sigaction): Likewise.
10121 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10122 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10123 Likewise.
10124 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10125
cc7834d6
OB
101262013-02-13 Ondřej Bílka <neleai@seznam.cz>
10127
ffb1ec7b 10128 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10129
10130 * string/mempcpy.c: Implement by calling memcpy.
10131
bdf02814
SP
101322013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10133
c2af38aa
SP
10134 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10135
4e92d59e
SP
10136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10137 evaluation.
10138
909279a5
SP
10139 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10140 values in the mantissa.
10141
bdf02814
SP
10142 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10143 minimize writes to Z.
10144 (sub_magnitudes): Simplify code a bit.
10145
cd525923
RM
101462013-02-12 Roland McGrath <roland@hack.frob.com>
10147
10148 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10149 from the message. The linker prefixes all warnings with that already.
10150
7e2f0d2d
AS
101512013-02-12 Andreas Schwab <schwab@suse.de>
10152
a445af0b
AS
10153 [BZ #15078]
10154 * posix/regexec.c (extend_buffers): Add parameter min_len.
10155 (check_matching): Pass minimum needed length.
10156 (clean_state_log_if_needed): Likewise.
10157 (get_subexp): Likewise.
10158 * posix/Makefile (tests): Add bug-regex34.
10159 (bug-regex34-ENV): Define.
10160 * posix/bug-regex34.c: New file.
10161
7e2f0d2d
AS
10162 [BZ #11561]
10163 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10164 elements compare against the byte sequence of it, not its name.
10165 * posix/Makefile (tests): Add bug-regex35.
10166 (bug-regex35-ENV): Define.
10167 * posix/bug-regex35.c: New file.
10168
a175b684
TV
101692013-02-11 Tom de Vries <tom@codesourcery.com>
10170
10171 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10172 comment.
10173 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10174 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10175 (CHECK_EOL): Add undef.
10176
310998fe 101772013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10178
10179 * bits/stdlib-bsearch.h: New file.
10180 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10181 * stdlib/stdlib.h: Likewise.
41eda41d 10182
8ded91fb
RM
101832013-02-11 Roland McGrath <roland@hack.frob.com>
10184
10185 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10186 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10187 declaration.
10188 * manual/search.texi (Array Search Function): Add missing const in
10189 lfind prototype.
10190 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10191 declaration to use rlim_t.
10192 (Basic Scheduling Functions): Remove erroneous const from
10193 sched_getparam prototype. Remove erroneous * from
10194 sched_get_priority_max and sched_get_priority_min prototypes.
10195 (Resource Usage): Fix summary @comment on vtimes to refer to
10196 sys/vtimes.h rather than vtimes.h.
10197 Add missing *s in vtimes prototype.
10198 (Limits on Resources): Fix ulimit prototype to return long int.
10199 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10200 prototypes to use long int rather than double.
10201 (BSD Random): Fix initstate and setstate to use char *, not void *.
10202 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10203 prototype to make second argument 'struct aiocb64 *const[]'.
10204 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10205 (Status of AIO Operations): Remove erroneous const in aio_return and
10206 aio_return64 prototypes.
10207 (Synchronizing I/O): Fix sync prototype to return void.
10208 * manual/startup.texi (Suboptions): Remove an erroneous const in
10209 getsubopt prototype.
10210 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10211 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10212 use size_t rather than int.
10213 (Scanning All Users): Likewise for getpwent_r.
10214 (Setting Groups): Add missing const to setgroups prototype.
10215 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10216 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10217 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10218 'const void *' rather than 'const char *'.
10219 (Host Address Functions): Likewise for inet_ntop.
10220 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10221 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10222 ssize_t for return value.
10223 (Sending Data): Likewise for send, sendto, sendmsg.
10224 (Socket Option Functions): Add a missing const in setsockopt prototype.
10225 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10226 use wchar_t for the argument.
10227 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10228 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10229 take no arguments.
10230 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10231 double/float/long double for second argument.
10232 Fix return types of significand, significandf, significandl.
10233 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10234 argument in fchmod prototype.
10235 (File Owner): Use uid_t and gid_t in fchown prototype.
10236 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10237 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10238 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10239 use 'const struct dirent **' as argument types to CMP function pointer
10240 argument.
10241 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10242 (File Times): Fix summary magic @comment for struct utimbuf and utime
10243 to refer to utime.h, not time.h.
10244 * manual/string.texi (Argz Functions): Add missing const in
10245 argz_extract and argz_next prototypes.
10246 (Finding Tokens in a String): Likewise for basename.
10247 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10248 (Copying and Concatenation): Fix typo in wmemmove prototype.
10249 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10250 (Signal Stack): Remove erroneous const in sigstack prototype.
10251 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10252 prototype.
10253 (Simple Calendar Time): Likewise for stime.
10254 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10255 prototype.
10256 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10257 say sys/sysctl.h instead.
10258 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10259 and vsyslog prototypes.
10260
fe77fe6d
TV
102612013-02-11 Tom de Vries <tom@codesourcery.com>
10262
10263 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10264 Remove.
10265
3a09b620
RM
102662013-02-11 Roland McGrath <roland@hack.frob.com>
10267
10268 * misc/sys/mman.h: Fix typo in mremap comment.
10269
550a0b89
RM
102702013-02-08 Roland McGrath <roland@hack.frob.com>
10271
10272 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10273 the '\0' terminator.
10274
a2da1673
JM
102752013-02-08 Joseph Myers <joseph@codesourcery.com>
10276
10277 [BZ #13550]
10278 * debug/segfault.c: Don't include <bp-checks.h>.
10279 * sysdeps/generic/bp-checks.h: Remove file.
10280 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10281 (__GETDENTS): Don't use CHECK_N.
10282 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10283 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10284 (__getgroups): Don't use CHECK_N.
10285 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10286 (setgroups): Don't use CHECK_N.
10287 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10288 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10289 (__libc_msgrcv): Don't use CHECK_N.
10290 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10291 (__libc_msgsnd): Don't use CHECK_N.
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10293 <bp-checks.h>.
10294 (__libc_pread): Don't use CHECK_N.
10295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10296 include <bp-checks.h>.
10297 (__libc_pread64): Don't use CHECK_N.
10298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10299 include <bp-checks.h>.
10300 (__libc_pwrite): Don't use CHECK_N.
10301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10302 include <bp-checks.h>.
10303 (__libc_pwrite64): Don't use CHECK_N.
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10305 <bp-checks.h>.
10306 (__libc_pread): Don't use CHECK_N.
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10308 include <bp-checks.h>.
10309 (__libc_pread64): Don't use CHECK_N.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10311 include <bp-checks.h>.
10312 (__libc_pwrite): Don't use CHECK_N.
10313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10314 include <bp-checks.h>.
10315 (__libc_pwrite64): Don't use CHECK_N.
10316 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10317 (do_pread): Don't use CHECK_N.
10318 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10319 (do_pread64): Don't use CHECK_N.
10320 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10321 (do_pwrite): Don't use CHECK_N.
10322 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10323 (do_pwrite64): Don't use CHECK_N.
10324 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10325 (__libc_readv): Don't use CHECK_N.
10326 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10327 (semop): Don't use CHECK_N.
10328 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10329 <bp-checks.h>.
10330 (semtimedop): Don't use CHECK_N.
10331 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10332 (__libc_pread): Don't use CHECK_N.
10333 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10334 <bp-checks.h>.
10335 (__libc_pread64): Don't use CHECK_N.
10336 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10337 <bp-checks.h>.
10338 (__libc_pwrite): Don't use CHECK_N.
10339 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10340 <bp-checks.h>.
10341 (__libc_pwrite64): Don't use CHECK_N.
10342 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10343 <bp-checks.h>.
10344 (__libc_msgrcv): Don't use CHECK_N.
10345 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10346 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10347 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10348 (__libc_writev): Don't use CHECK_N.
10349
b84660a8
RM
103502013-02-08 Roland McGrath <roland@hack.frob.com>
10351
7f3e75f8
RM
10352 * string/strcpy.c: Removed unused variable.
10353
b84660a8
RM
10354 * Makeconfig (+sysdep-includes): Define with := rather than =.
10355 Use an existing include/ subdir of each sysdeps dir before it.
10356
471514d3
CD
103572013-02-08 Carlos O'Donell <carlos@redhat.com>
10358
10359 * nscd/connection.c (register_traced_file): Comment function.
10360 [HAVE_INOTIFY] (union __inev): Define.
10361 [HAVE_INOTIFY] (inotify_check_files): New function.
10362 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10363 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10364 clear_db_cache.
10365 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10366
b2d3c3be
CD
103672013-02-08 Carlos O'Donell <carlos@redhat.com>
10368
10369 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10370 loaded if not already and that a failure is permanent.
10371
b39949d2
CD
103722013-02-08 Carlos O'Donell <carlos@redhat.com>
10373
ddacd1db 10374 [BZ #15006]
b39949d2
CD
10375 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10376 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10377
b2c9eff4
JM
103782013-02-08 Joseph Myers <joseph@codesourcery.com>
10379
f3aae3f3
JM
10380 [BZ #13550]
10381 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10382 (CHECK_1_NULL_OK): Likewise.
10383 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10384 (__fxstat): Do not use CHECK_1.
10385 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10386 <bp-checks.h>.
10387 (___fxstat64): Do not use CHECK_1.
10388 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10389 <bp-checks.h>.
10390 (__fxstatat): Do not use CHECK_1.
10391 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10392 <bp-checks.h>.
10393 (__fxstatat64): Do not use CHECK_1.
10394 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10395 <bp-checks.h>.
10396 (__fxstat): Do not use CHECK_1.
10397 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10398 <bp-checks.h>.
10399 (__fxstatat): Do not use CHECK_1.
10400 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10401 <bp-checks.h>.
10402 (__getresgid): Do not use CHECK_1.
10403 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10404 <bp-checks.h>.
10405 (__getresuid): Do not use CHECK_1.
10406 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10407 <bp-checks.h>.
10408 (__lxstat): Do not use CHECK_1.
10409 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10410 <bp-checks.h>.
10411 (__old_msgctl): Do not use CHECK_1.
10412 (__new_msgctl): Likewise.
10413 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10414 <bp-checks.h>.
10415 (__new_setrlimit): Do not use CHECK_1.
10416 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10417 <bp-checks.h>.
10418 (__old_shmctl): Do not use CHECK_1.
10419 (__new_shmctl): Likewise.
10420 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10421 <bp-checks.h>.
10422 (__xstat): Do not use CHECK_1.
10423 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10424 (__lxstat): Do not use CHECK_1.
10425 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10426 <bp-checks.h>.
10427 (___lxstat64): Do not use CHECK_1.
10428 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10429 (__old_msgctl): Do not use CHECK_1.
10430 (__new_msgctl): Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10432 <bp-checks.h>.
10433 (__gettimeofday): Do not use CHECK_1.
10434 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10435 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10436 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10437 <bp-checks.h>.
10438 (__gettimeofday): Do not use CHECK_1.
10439 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10440 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10441 (__new_shmctl): Do not use CHECK_1.
10442 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10443 <bp-checks.h>.
10444 (do_sigtimedwait): Do not use CHECK_1.
10445 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10446 <bp-checks.h>.
10447 (do_sigwaitinfo): Do not use CHECK_1.
10448 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10449 <bp-checks.h>.
10450 (msgctl): Do not use CHECK_1.
10451 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10452 <bp-checks.h>.
10453 (shmctl): Do not use CHECK_1.
10454 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10455 (ustat): Do not use CHECK_1.
10456 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10457 <bp-checks.h>.
10458 (__fxstat): Do not use CHECK_1.
10459 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10460 <bp-checks.h>.
10461 (__fxstatat): Do not use CHECK_1.
10462 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10463 <bp-checks.h>.
10464 (__lxstat): Do not use CHECK_1.
10465 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10466 <bp-checks.h>.
10467 (__xstat): Do not use CHECK_1.
10468 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10469 (__xstat): Do not use CHECK_1.
10470 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10471 (___xstat64): Do not use CHECK_1.
10472
b2c9eff4
JM
10473 [BZ #13550]
10474 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10475 definitions.
10476 (CHECK_BOUNDS_HIGH): Likewise.
10477 * string/strcpy.c: Do not include <bp-checks.h>.
10478 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10479
f1d70dad
RM
104802013-02-07 Roland McGrath <roland@hack.frob.com>
10481
10482 * nscd/nscd-client.h (__nscd_drop_map_ref):
10483 Add __attribute__ ((unused)).
10484 * nis/nss-nisplus.h (niserr2nss): Likewise.
10485
10486 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10487 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10488
10489 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10490 Remove inline keyword.
10491 * include/rounding-mode.h (round_away): Likewise.
10492 * libio/wfileops.c (adjust_wide_data): Likewise.
10493 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10494 (__m128i_strloadu_tolower): Likewise.
10495 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10496 (__m128i_strloadu_tolower): Likewise.
10497 * time/mktime.c (ydhms_diff): Likewise.
10498 * locale/elem-hash.h (elem_hash): Likewise.
10499 * locale/setlocale.c (setdata): Likewise.
10500 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10501 (re_string_wchar_at): Likewise.
10502 (bitset_not, bitset_merge, bitset_mask): Likewise.
10503 [!(__GNUC__ > 3)] (inline): Remove macro.
10504 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10505 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10506 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10507 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10508 * string/memcmp.c (memcmp_bytes): Likewise.
10509 * locale/programs/locarchive.c (compute_hashval): Likewise.
10510 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10511 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10512 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10513 * nss/getent.c (print_rpc, print_protocols): Likewise.
10514 (print_passwd, print_group, print_aliases): Likewise.
10515 * nis/nss-nisplus.h (niserr2nss): Likewise.
10516 * nscd/connections.c (restart_p): Likewise.
10517 Change return type to bool.
10518
eab55bfb
RM
105192013-02-05 Roland McGrath <roland@hack.frob.com>
10520
7bd642f5
RM
10521 * Makeconfig (all-Depend-files): Add existing
10522 $(sorted-subdirs:=/Depend) files.
10523 (all-subdirs): Remove nss.
10524 * sysdeps/unix/inet/Subdirs: Add it here instead.
10525 * hesiod/Depend: New file.
10526
573c29b2
RM
10527 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10528 instead of calling alloca.
10529
b2e25af0
RM
10530 * io/lseek.c (__lseek): Rename to __libc_lseek.
10531 Define __lseek as an alias.
10532
eab55bfb
RM
10533 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10534
9a0d1941
CD
105352013-02-04 Carlos O'Donell <carlos@redhat.com>
10536
10537 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10538 else clause and remove check for non-standard endianness.
10539
b83bbec4
DM
105402013-02-04 David S. Miller <davem@davemloft.net>
10541
10542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10543
6277fdab
JM
105442013-02-04 Joseph Myers <joseph@codesourcery.com>
10545
10546 [BZ #13550]
10547 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10548 (__ubp_memchr): Remove prototype.
10549 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10550 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10551 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10552 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10553 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10554 Remove alias.
10555 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10556 (__ubp_memchr): Likewise.
10557 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10558 (__ubp_memchr): Likewise.
10559 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10560 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10561 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10562 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10563 CHECK_STRING.
10564 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10565 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10566 (__getcwd): Do not use CHECK_STRING.
10567 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10568 <bp-checks.h>.
10569 (__real_chown): Do not use CHECK_STRING.
10570 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10571 <bp-checks.h>.
10572 (fchownat): Do not use CHECK_STRING.
10573 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10574 CHECK_STRING.
10575 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10576 <bp-checks.h>.
10577 (__lchown): Do not use CHECK_STRING.
10578 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10579 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10580 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10581 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10583 include <bp-checks.h>.
10584 (truncate64): Do not use CHECK_STRING.
10585 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10586 <bp-checks.h>.
10587 (__real_chown): Do not use CHECK_STRING.
10588 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10589 <bp-checks.h>.
10590 (__lchown): Do not use CHECK_STRING.
10591 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10592 <bp-checks.h>.
10593 (__chown): Do not use CHECK_STRING.
10594 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10595 <bp-checks.h>.
10596 (truncate64): Do not use CHECK_STRING.
10597 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10598 Likewise.
10599 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10600 (__xmknod): Do not use CHECK_STRING.
10601 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10602 <bp-checks.h>.
10603 (__xmknodat): Do not use CHECK_STRING.
10604 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10605 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10606
903ae060
AS
106072013-02-04 Andreas Schwab <schwab@suse.de>
10608
10609 [BZ #14142]
10610 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10611 * include/netdb.h: Likewise for h_errno.
10612 * elf/tst-stackguard1.c: Include <tls.h>.
10613
542f9466
JK
106142013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10615
10616 * elf/link.h (struct link_map): Extend the l_addr comment.
10617 * include/link.h (struct link_map): Likewise.
10618
e782a927
JM
106192013-02-01 Joseph Myers <joseph@codesourcery.com>
10620
10621 [BZ #13550]
10622 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10623 (BOUNDED_1): Remove macro.
10624 * debug/backtrace.c: Don't include <bp-checks.h>.
10625 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10626 (__backtrace): Likewise.
10627 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10628 <bp-checks.h>.
10629 (__backtrace): Don't use BOUNDED_1.
10630 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10631 <bp-checks.h>.
10632 (__backtrace): Don't use BOUNDED_1.
10633 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10634 (__backtrace): Don't use BOUNDED_1.
10635 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10636 (shmat): Don't use BOUNDED_N.
10637
8cf28c5e
JM
106382013-01-31 Joseph Myers <joseph@codesourcery.com>
10639
3a7ac8a0
JM
10640 [BZ #13550]
10641 * sysdeps/generic/bp-start.h: Remove file.
10642 * csu/libc-start.c: Don't include <bp-start.h>.
10643 (LIBC_START_MAIN): Set up __environ directly instead of using
10644 INIT_ARGV_and_ENVIRON.
10645 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10646 <bp-start.h>.
10647
f3499f95
JM
10648 [BZ #13550]
10649 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10650 definitions.
10651 (CHECK_FCNTL): Likewise.
10652 (CHECK_N_PAGES): Likewise.
10653
32a45bea
JM
10654 [BZ #13550]
10655 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10656 definitions.
10657 (CHECK_SIGSET_NULL_OK): Likewise.
10658 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10659 <bp-checks.h>.
10660 (sigpending): Don't use CHECK_SIGSET.
10661 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10662 <bp-checks.h>.
10663 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10664 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10665 <bp-checks.h>.
10666 (do_sigsuspend): Don't use CHECK_SIGSET.
10667 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10668 use CHECK_SIGSET.
10669 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10670 (do_sigwait): Don't use CHECK_SIGSET.
10671 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10672 use CHECK_SIGSET.
10673 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10674 include <bp-checks.h>.
10675 (sigpending): Don't use CHECK_SIGSET.
10676 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10677 include <bp-checks.h>.
10678 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10679 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10680 <bp-checks.h>.
10681 (sigpending): Don't use CHECK_SIGSET.
10682 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10683 <bp-checks.h>.
10684 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10685
2e8a5c8c
JM
10686 [BZ #13550]
10687 * sysdeps/generic/bp-semctl.h: Remove file.
10688 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10689 <bp-checks.h> and <bp-semctl.h>.
10690 (__old_semctl): Don't use CHECK_SEMCTL.
10691 (__new_semctl): Likewise.
10692 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10693 and <bp-semctl.h>.
10694 (__old_semctl): Don't use CHECK_SEMCTL.
10695 (__new_semctl): Likewise.
10696 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10697 <bp-checks.h> and <bp-semctl.h>.
10698 (__old_semctl): Don't use CHECK_SEMCTL.
10699 (__new_semctl): Likewise.
10700 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10701 <bp-checks.h> and <bp-semctl.h>.
10702 (semctl): Don't use CHECK_SEMCTL.
10703
c2d54929
JM
10704 [BZ #13550]
10705 * Makerules (elide-bp-thunks): Remove variable.
10706 (elide-routines.oS): Don't use $(elide-bp-thunks).
10707 (elide-routines.os): Likewise.
10708 (elide-routines.o): Likewise.
10709 (elide-routines.op): Likewise.
10710 (elide-routines.og): Likewise.
10711 (objects): Don't use $(bp-thunks).
10712 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10713 include.
10714 (common-generated): Do not add s-proto-bp.d.
10715 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10716 (int): Likewise.
10717 (typ): Likewise.
10718 Do not generate makefile rules for bounded-pointer thunks.
10719 * sysdeps/generic/bp-thunks.h: Remove file.
10720 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10721 * sysdeps/unix/s-proto-bp.S: Likewise.
10722
8cf28c5e
JM
10723 [BZ #15062]
10724 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10725 parts of result separately when argument is not close to line from
10726 -i to i and one part of argument is small.
10727 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10728 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10729 * math/libm-test.inc (cacos_test): Add more tests.
10730 (casin_test): Likewise.
10731 (casinh_test): Likewise.
10732 * sysdeps/i386/fpu/libm-test-ulps: Update.
10733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10734
c4e33b8d
DM
107352013-01-31 David S. Miller <davem@davemloft.net>
10736
10737 * po/de.po: Update from translation team.
10738
3b60b421
MK
107392013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10740
10741 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10742
bb931195
TS
107432013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10744
b5a5da23
TS
10745 * configure.in (_AC_PROG_CC_C89): New definition.
10746 * configure: Regenerate.
10747
bb931195
TS
10748 * configure.in (AC_PROG_CPP): New definition.
10749 * configure: Regenerate.
10750
8c53a12c
JM
107512013-01-23 Joseph Myers <joseph@codesourcery.com>
10752
10753 * debug/tst-backtrace.h: New file.
10754 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10755 (ret): Remove variable.
10756 (x): Likewise.
10757 (FAIL): Remove macro.
10758 (NO_INLINE): Likewise.
10759 (fn1): Use match function instead of strstr.
10760 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10761 (ret): Remove variable.
10762 (x): Likewise.
10763 (FAIL): Remove macro.
10764 (NO_INLINE): Likewise.
10765 (fn): Use match function instead of strstr.
10766 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10767 (ret): Remove variable.
10768 (x): Likewise.
10769 (FAIL): Remove macro.
10770 (NO_INLINE): Likewise.
10771 (handle_signal): Use match function instead of strstr.
10772 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10773 (ret): Remove variable.
10774 (x): Likewise.
10775 (FAIL): Remove macro.
10776 (NO_INLINE): Likewise.
10777 (handle_signal): Use match function instead of strstr.
10778
4858fa2a
RM
107792013-01-23 Roland McGrath <roland@hack.frob.com>
10780
10781 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10782
bae8e7f5
DM
107832013-01-23 David S. Miller <davem@davemloft.net>
10784
10785 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10786 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10787 argument of CAS if possible.
10788 * sysdeps/sparc/sparc64/bits/atomic.h
10789 (__arch_compare_and_exchange_val_32_acq): Likewise.
10790 (__arch_compare_and_exchange_val_64_acq): Likewise.
10791
9cbbc4ae
PT
107922013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10793
10794 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10795 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10796 Include <limits.h>.
67b3f58c 10797 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10798
5655a0b5
AC
107992013-01-23 Adam Conrad <adconrad@0c3.net>
10800
10801 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10802 (LDFLAGS-tst-array5): Likewise.
10803
052aff95
JM
108042013-01-23 Joseph Myers <joseph@codesourcery.com>
10805
10806 [BZ #15036]
10807 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10808 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10809 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10810 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10811
7c1e01aa
DM
108122013-01-21 David S. Miller <davem@davemloft.net>
10813
10814 * sysdeps/sparc/backtrace.c: New file.
10815 * sysdeps/sparc/sparc32/backtrace.h: New file.
10816 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10817 * sysdeps/sparc/sparc64/backtrace.h: New file.
10818 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10819 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10820 -funwind-tables.
10821
ab087e0a
AS
108222013-01-21 Andreas Schwab <schwab@suse.de>
10823
10824 [BZ #15020]
10825 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10826 closed its stdout.
10827
ed689c2f
AS
108282013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10829
10830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10831 "mpa2.h".
10832 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10833
31d470ac
JM
108342013-01-18 Joseph Myers <joseph@codesourcery.com>
10835 Mark Mitchell <mark@codesourcery.com>
10836 Tom de Vries <tom@codesourcery.com>
10837 Paul Pluzhnikov <ppluzhnikov@google.com>
10838
10839 * debug/tst-backtrace2.c: New file.
10840 * debug/tst-backtrace3.c: Likewise.
10841 * debug/tst-backtrace4.c: Likewise.
10842 * debug/tst-backtrace5.c: Likewise.
10843 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10844 (CFLAGS-tst-backtrace3.c): Likewise.
10845 (CFLAGS-tst-backtrace4.c): Likewise.
10846 (CFLAGS-tst-backtrace5.c): Likewise.
10847 (LDFLAGS-tst-backtrace2): Likewise.
10848 (LDFLAGS-tst-backtrace3): Likewise.
10849 (LDFLAGS-tst-backtrace4): Likewise.
10850 (LDFLAGS-tst-backtrace5): Likewise.
10851 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10852 tst-backtrace4 and tst-backtrace5.
10853
90567f30 108542013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10855 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10856
10857 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10858 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10859 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10860 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10862 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10863 "+r" and remove output regs list as redundant. Add explicit inline
10864 asm to specify register of return val to work around compiler codegen
10865 bug. Remove (int) cast on return value. Add return type parameter to
10866 use in macro so that this macro does not truncate return value for
10867 64-bit values.
10868 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10869 pass to INTERNAL_VSYSCALL_NCS.
10870 (INLINE_VSYSCALL): Add 'long int' as return type to
10871 INTERNAL_VSYSCALL_NCS macro invocation.
10872 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10873 INTERNAL_VSYSCALL_NCS macro invocation.
10874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10875
d3b9ea61
SP
108762013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10877
0b57daeb
SP
10878 [BZ #14496]
10879 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10880 Fix application of SIMD FP exception mask.
10881
caa99d06
SP
10882 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10883 mp_no from a power of two.
10884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10885 __mpexp_twomm1. Use __pow_mp.
10886
d3b9ea61
SP
10887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10888 multiplication.
10889
1dbaee3c
DM
108902013-01-17 David S. Miller <davem@davemloft.net>
10891
10892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10893
728d7b43
JM
108942013-01-17 Joseph Myers <joseph@codesourcery.com>
10895
10896 [BZ #15023]
10897 * include/complex.h: Condition contents on [!_COMPLEX_H].
10898 (__kernel_casinhf): New prototype.
10899 (__kernel_casinh): Likewise.
10900 (__kernel_casinhl): Likewise.
10901 * math/Makefile (libm_calls): Add k_casinh.
10902 * math/k_casinh.c: New file.
10903 * math/k_casinhf.c: Likewise.
10904 * math/k_casinhl.c: Likewise.
10905 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10906 finite nonzero arguments.
10907 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10908 finite nonzero arguments.
10909 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10910 finite nonzero arguments.
10911 * math/s_casinh.c: Do not include <float.h>.
10912 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10913 * math/s_casinhf.c: Do not include <float.h>.
10914 (__casinhf): Move code for finite nonzero arguments to
10915 k_casinhf.c.
10916 * math/s_casinhl.c: Do not include <float.h>.
10917 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10918 redefine.
10919 (__casinhl): Move code for finite nonzero arguments to
10920 k_casinhl.c.
10921 * math/libm-test.inc (cacos_test): Add more tests.
10922 * sysdeps/i386/fpu/libm-test-ulps: Update.
10923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10924
2a26ef3a
PT
109252013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10926
10927 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10928 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10929 [!HAVE_MREMAP]: Remove [defined linux] case.
10930 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10931
a897655d
SP
109322013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10933
10934 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10935
881ebe89 109362013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10937
10938 * elf/elf.h (R_386_SIZE32): New relocation.
10939 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10940 R_386_SIZE32.
10941 (elf_machine_rela): Likewise.
10942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10943 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10944
59981e9b
JM
109452013-01-17 Joseph Myers <joseph@codesourcery.com>
10946
10947 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10948 (FP_FAST_FMA): Do not define.
10949 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10950 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10951 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10952 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10953 !_SOFT_FLOAT]: Likewise.
10954 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10955 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10956 value.
10957 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10958 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10959 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10960 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10961 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10962 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10963 file.
10964
cfa8054f
AS
109652013-01-16 Andreas Schwab <schwab@suse.de>
10966
10967 [BZ #14327]
10968 * include/stdlib.h (__mktemp): Add declaration.
10969 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10970 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10971
dd930cc5
SP
109722013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10973
881ebe89
SP
10974 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10975 definitions.
10976 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10977 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10978 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10979 definitions here.
10980 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10981 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10982 definitions.
10983 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10984 and ONE.
10985 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10986 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10987 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10988 definitions.
10989 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10990 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10991 definitions.
10992 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10993
dd930cc5
SP
10994 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10995
c19a9f89
DM
109962013-01-15 David S. Miller <davem@davemloft.net>
10997
1aa61767
DM
10998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10999 trunc{,f} to libm-sysdep_routes.
11000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11002 file.
11003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11005 file.
11006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11007 file.
11008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11010 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11011 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11012 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11013 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11014 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11015 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11016
c42d5e98
DM
11017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11018 nearbyint{,f} to libm-sysdep_routes.
11019 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11021 New file.
11022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11023 file.
11024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11025 New file.
11026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11027 file.
11028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11030 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11031 file.
11032 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11033 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11034 file.
11035 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11036 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11037 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11038
c19a9f89
DM
11039 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11040 libc_feholdexcept and libc_fesetenv.
11041
357679d2
MF
110422013-01-15 Mike Frysinger <vapier@gentoo.org>
11043
11044 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11045
65a82e3d
DM
110462013-01-14 David S. Miller <davem@davemloft.net>
11047
8b954ab9
DM
11048 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11049 (SPARC_ASM_VIS2_IFUNC): Likewise.
11050 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11052 use of 'siam' instruction.
11053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11054 Likewise.
11055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11056 Likewise.
11057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11058 Likewise.
11059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11060 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11064 file.
11065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11066 file.
11067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11068 file.
11069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11070 file.
11071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11073 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11074 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11076 new VIS2 routines.
11077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11080 Likewise.
11081 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11082 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11084 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11086 routines to libm-sysdep_routines.
11087 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11088
65a82e3d
DM
11089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11090 fdim/fdimf to libm-sysdep_routines.
11091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11092 file.
11093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11095 file.
11096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11099 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11100 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11101 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11102 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11103
e34ab705
SP
111042013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11105
2a91b573
SP
11106 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11107 to optimize copies.
11108
1066a534
SP
11109 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11110 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11112
e34ab705
SP
11113 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11114 local variable MPTWO.
11115 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11116 Likewise.
11117
aba5e596
MF
111182013-01-13 Mike Frysinger <vapier@gentoo.org>
11119
11120 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11121 GLOB_NOESCAPE.
11122
e557e9e5
MF
111232013-01-13 Mike Frysinger <vapier@gentoo.org>
11124
11125 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11126
0428cec9
MF
111272013-01-13 Mike Frysinger <vapier@gentoo.org>
11128
11129 * manual/pattern.texi (glob_t): Document gl_flags.
11130 (glob64_t): Likewise.
11131
8794a964
DM
111322013-01-11 David S. Miller <davem@davemloft.net>
11133
66438c3f
RM
11134 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11135 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11136 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11137 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11138 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11139 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11140 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11141 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11142 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11143 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11144 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11145 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11146 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11147
4ae4244d
DM
11148 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11149 sparc V9 rather than using V8 code.
11150 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11151 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11152
8794a964
DM
11153 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11154 Move to...
11155 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11156 Here.
11157
6270516e
RM
111582013-01-11 Roland McGrath <roland@hack.frob.com>
11159
11160 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11161 not in the main loop.
11162 * configure: Regenerated.
11163
6a57d931
JM
111642013-01-11 Joseph Myers <joseph@codesourcery.com>
11165
11166 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11167 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11168 to just #else.
11169 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11170 [!__GLIBC_HAVE_LONG_LONG] case.
11171 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11172 condition to just #else.
11173 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11174 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11175 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11176 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11177 unconditional.
11178 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11179 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11180 #elif condition to just #else.
11181 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11182 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11183 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11184 #elif condition to just #else.
11185
0e8529e9
SE
111862013-01-11 Steve Ellcey <sellcey@mips.com>
11187
11188 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11189 (EF_MIPS_ARCH_64): Fix value.
11190 (EF_MIPS_ARCH_32R2): New.
11191 (EF_MIPS_ARCH_64R2): New.
11192
740b3dbe
L
111932013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11194
11195 * Makeconfig (+link-pie-before-libc): New.
11196 (+link-pie-after-libc): Likewise.
11197 (+link-pie-tests): Likewise.
11198 (+link-pie): Rewritten.
11199 (link-before-libc): Remove $(config-LDFLAGS).
11200 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11201 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11202 (config-LDFLAGS): Renamed to ...
11203 (rtld-LDFLAGS): This.
11204 (rtld-tests-LDFLAGS): New macro.
11205 (link-libc-rpath-link): Likewise.
11206 (link-libc-tests-rpath-link): Likewise.
11207 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11208 (link-libc): Prepand $(link-libc-rpath-link).
11209 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11210 (test-program-prefix): New macro.
11211 (test-via-rtld-prefix): Likewise.
11212 (test-program-cmd): Likewise.
11213 (host-test-program-cmd): Likewise.
11214 * Makefile ($(common-objpfx)testrun.sh): Replace
11215 $(run-program-prefix) with $(test-program-prefix).
11216 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11217 $(rtld-LDFLAGS).
11218 ($(common-objpfx)shlib.lds): Likewise.
11219 (build-module-helper): Likewise.
11220 ($(common-objpfx)format.lds): Likewise.
11221 * Rules (binaries-pie-tests): New.
11222 (binaries-pie-notests): Likewise.
11223 (binaries-pie): Rewritten.
11224 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11225 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11226 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11227 (make-test-out): Replace $(host-built-program-cmd) with
11228 $(host-test-program-cmd).
11229 * config.make.in (build-hardcoded-path-in-tests): New variable.
11230 * configure.in (--enable-hardcoded-path-in-tests): New configure
11231 option.
11232 (hardcoded_path_in_tests): New AC_SUBST.
11233 * configure: Regenerated.
11234 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11235 $(built-program-cmd) with $(test-program-cmd).
11236 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11237 (test_program_cmd): This.
11238 * elf/Makefile ($(objpfx)order.out): Run test with
11239 $(test-program-prefix).
11240 ($(objpfx)order2.out): Likewise.
11241 ($(objpfx)tst-initorder.out): Likewise.
11242 ($(objpfx)tst-initorder2.out): Likewise.
11243 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11244 $(test-program-cmd).
11245 ($(objpfx)tst-array1-static.out): Likewise.
11246 ($(objpfx)tst-array2.out): Likewise.
11247 ($(objpfx)tst-array3.out): Likewise.
11248 ($(objpfx)tst-array4.out): Likewise.
11249 ($(objpfx)tst-array5.out): Likewise.
11250 ($(objpfx)tst-array5-static.out): Likewise.
11251 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11252 $(test-program-cmd).
11253 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11254 $(run-program-prefix) with $(test-program-prefix).
11255 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11256 (test_program_prefix): This.
11257 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11258 $(run-program-prefix) with $(test-program-prefix).
11259 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11260 (test_program_prefix): This.
11261 * iconvdata/tst-tables.sh: Likewise.
11262 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11263 $(run-program-prefix) with $(test-program-prefix).
11264 ($(objpfx)tst-translit.out): Likewise.
11265 ($(objpfx)tst-gettext2.out): Likewise.
11266 ($(objpfx)tst-gettext4.out): Likewise.
11267 ($(objpfx)tst-gettext6.out): Likewise.
11268 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11269 (test_program_prefix): This.
11270 * intl/tst-gettext2.sh: Likewise.
11271 * intl/tst-gettext4.sh Likewise.
11272 * intl/tst-gettext6.sh: Likewise.
11273 * intl/tst-translit.sh: Likewise.
11274 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11275 with $(test-program-cmd).
11276 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11277 $(run-program-prefix) with $(test-program-prefix).
11278 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11279 (test_program_prefix): This.
11280 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11281 $(run-program-prefix) with $(test-program-prefix).
11282 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11283 (test_program_prefix): This.
11284 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11285 * posix/Makefile ($(objpfx)globtest.out): Replace
11286 $(run-via-rtld-prefix) and $(test-wrapper) with
11287 $(test-program-prefix) and $(test-via-rtld-prefix).
11288 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11289 $(test-program-prefix).
11290 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11291 $(host-test-program-cmd).
11292 (tst-spawn-ARGS): Likewise.
11293 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11294 $(test-program-prefix).
11295 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11296 (test_via_rtld_prefix): This.
11297 (test_wrapper): Renamed to ...
11298 (test_program_prefix): This.
11299 (run_program_prefix): Replaced by test_program_prefix.
11300 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11301 (test_program_prefix): This.
11302 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11303 with $(host-test-program-cmd).
11304 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11305 $(run-program-prefix) with $(test-program-prefix).
11306 ($(objpfx)tst-printf.out): Likewise.
11307 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11308 $(test-program-cmd).
11309 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11310 (test_program_prefix): This.
11311 * stdio-common/tst-unbputc.sh: Likewise.
11312 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11313 $(run-program-prefix) with $(test-program-prefix).
11314 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11315 (test_program_prefix): This.
11316 * string/Makefile ($(objpfx)tst-svc.out): Replace
11317 $(built-program-cmd) with $(test-program-cmd).
11318
c6fe55cf
AJ
113192013-01-11 Andreas Jaeger <aj@suse.de>
11320
11321 [BZ #15003]
11322 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11323 value. Sync with Linux 3.7.
11324
9e6919c8
DM
113252013-01-10 David S. Miller <davem@davemloft.net>
11326
11327 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11328 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11329 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11330
1c9f1a02
RM
113312013-01-10 Roland McGrath <roland@hack.frob.com>
11332
11333 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11334 never set.
11335 * configure: Regenerated.
11336
b9de2dde
DM
113372013-01-10 David S. Miller <davem@davemloft.net>
11338
11339 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11340 sparc V9 rather than using V8 code.
11341 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11342 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11343
e7f68ef4
RM
113442013-01-10 Roland McGrath <roland@hack.frob.com>
11345
11346 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11347 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11348 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11349 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11350 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11351 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11352 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11353 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11354 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11355 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11356 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11357 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11358 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11359 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11360 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11361 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11362 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11363 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11364 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11365 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11366 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11367 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11368 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11369 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11370 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11371 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11372 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11373
5a47cc9c
DM
113742013-01-10 David S. Miller <davem@davemloft.net>
11375
11376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11377
4cf8f209
L
113782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11379
11380 * posix/Makefile (tests-static): New variable.
11381 (tests): Add $(tests-static).
11382 (tst-exec-static-ARGS): New variable.
11383 (tst-spawn-static-ARGS): Likewise.
11384 * posix/tst-exec-static.c: New file.
11385 * posix/tst-spawn-static.c: Likewise.
11386 * posix/tst-exec.c: Support run directly.
11387 * posix/tst-spawn.c: Likewise.
11388
fed0faa1
JM
113892013-01-10 Joseph Myers <joseph@codesourcery.com>
11390
828beb13
JM
11391 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11392 long.
11393 * math/bits/mathcalls.h (llrint): Likewise.
11394 (llround): Likewise.
11395 * stdlib/stdlib.h (struct drand48_data): Likewise.
11396 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11397 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11398 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11399 Likewise.
11400 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11401 Likewise.
11402 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11403 (elf_greg_t): Likewise.
11404 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11405 (__jmp_buf): Likewise.
11406 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11407 definitions.
11408 (llrint): Likewise, for all definitions.
11409 (llrintl): Likewise.
11410
fed0faa1
JM
11411 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11412 Remove [__GNUC__] condition.
11413 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11414 condition to just [__USE_ISOC99].
11415 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11416
1a20cb20
L
114172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11418
11419 [BZ #14200]
11420 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11421 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11422 defined.
11423 (_POSIX_V6_ILP32_OFF32): Likewise.
11424 (_XBS5_ILP32_OFF32): Likewise.
11425 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11426 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11427
751b85f7
SP
114282013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11429
7490eb81
SP
11430 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11431
751b85f7
SP
11432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11433 doubles __mpexp_twomm1. Adjust usage.
11434 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11435 Remove.
11436
988197f0
AS
114372013-01-10 Andreas Schwab <schwab@suse.de>
11438
11439 [BZ #14964]
11440 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11441 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11442
e83d7298
DM
114432013-01-09 David S. Miller <davem@davemloft.net>
11444
034ed64b 11445 [BZ #15003]
e83d7298
DM
11446 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11447 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11448 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11449 TCP_FASTOPEN): Define.
11450 (tcp_repair_opt): New structure.
11451 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11452 enum values.
11453 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11454 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11455 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11456 (tcp_cookie_transactions): New structure.
11457
d5e0b9bd
AB
114582013-01-09 Anton Blanchard <anton@samba.org>
11459
11460 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11461 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11462 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11463 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11464
0c07e3ea
JM
114652013-01-09 Joseph Myers <joseph@codesourcery.com>
11466
11467 * include/features.h (__USE_ANSI): Remove.
11468
232f7002
RM
114692013-01-09 Roland McGrath <roland@hack.frob.com>
11470
ad98e30c
RM
11471 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11472
232f7002
RM
11473 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11474
950c99ca
SP
114752013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11476
b5792741
SP
11477 * sysdeps/s390/fpu/libm-test-ulps: Update.
11478
47cf2278
SP
11479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11480
950c99ca
SP
11481 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11482 (__acr): Likewise.
11483 (__cpy): Likewise.
11484 (norm): Likewise.
11485 (denorm): Likewise.
11486 (__mp_dbl): Likewise.
11487 (__dbl_mp): Likewise.
11488 (add_magnitudes): Likewise.
11489 (sub_magnitudes): Likewise.
11490 (__add): Likewise.
11491 (__sub): Likewise.
11492 (__mul): Likewise.
11493 (__inv): Likewise.
11494 (__dvd): Likewise.
11495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11496 (__acr): Likewise.
11497 (__cpy): Likewise.
11498 (norm): Likewise.
11499 (denorm): Likewise.
11500 (__mp_dbl): Likewise.
11501 (__dbl_mp): Likewise.
11502 (add_magnitudes): Likewise.
11503 (sub_magnitudes): Likewise.
11504 (__add): Likewise.
11505 (__sub): Likewise.
11506 (__mul): Likewise.
11507 (__inv): Likewise.
11508 (__dvd): Likewise.
11509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11510 (__acr): Likewise.
11511 (__cpy): Likewise.
11512 (norm): Likewise.
11513 (denorm): Likewise.
11514 (__mp_dbl): Likewise.
11515 (__dbl_mp): Likewise.
11516 (add_magnitudes): Likewise.
11517 (sub_magnitudes): Likewise.
11518 (__add): Likewise.
11519 (__sub): Likewise.
11520 (__mul): Likewise.
11521 (__inv): Likewise.
11522 (__dvd): Likewise.
11523
eede9df9
JM
115242013-01-08 Joseph Myers <joseph@codesourcery.com>
11525
11526 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11527 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11528 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11529 2 && __USE_EXTERN_INLINES]: Likewise.
11530
c40ea3d9
AJ
115312013-01-08 Andreas Jaeger <aj@suse.de>
11532
11533 [BZ# 14985]
11534 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11535 Remove.
11536 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11537 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11538
2ccdea26
AB
115392013-01-07 Anton Blanchard <anton@samba.org>
11540
11541 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11542 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11543 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11544 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11545 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11546 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11547 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11548 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11549 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11550 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11551 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11552 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11553 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11554 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11555 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11556 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11557 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11558 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11559 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11560 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11561 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11562 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11563 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11564 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11565 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11566 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11567 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11568 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11569 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11570 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11571 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11572 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11573 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11574 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11575 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11576 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11577 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11578 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11579 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11580 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11581 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11583 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11584
a9708fed
JM
115852013-01-07 Joseph Myers <joseph@codesourcery.com>
11586
375607b9
JM
11587 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11588 (__MALLOC_PMT): Likewise.
11589 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11590 [__GNUC__], only on [_LIBC].
11591 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11592 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11593 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11594 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11595 forward declaration.
11596 (realloc_hook_ini): Likewise.
11597 (memalign_hook_ini): Likewise.
11598 (__libc_memalign): Do not use __MALLOC_PMT in variable
11599 declaration.
11600 (__libc_valloc): Likewise.
11601 (__libc_pvalloc): Likewise.
11602 (__libc_calloc): Likewise.
11603 (__posix_memalign): Likewise.
11604
a9708fed
JM
11605 [BZ #14996]
11606 * math/s_casinh.c: Include <float.h>.
11607 (__casinh): Do not do computation with squaring and square root
11608 for large arguments.
11609 * math/s_casinhf.c: Include <float.h>.
11610 (__casinhf): Do not do computation with squaring and square root
11611 for large arguments.
11612 * math/s_casinhl.c: Include <float.h>.
11613 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11614 (__casinhl): Do not do computation with squaring and square root
11615 for large arguments.
11616 * math/libm-test.inc (casin_test): Add more tests.
11617 (casinh_test): Likewise.
11618 * sysdeps/i386/fpu/libm-test-ulps: Update.
11619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11620
afec409a
L
116212013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11622
11623 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11624 (__x86_64_raw_data_cache_size): Likewise.
11625 (__x86_64_data_cache_size_half): Likewise.
11626 (__x86_64_raw_data_cache_size_half): Likewise.
11627 (__x86_64_shared_cache_size): Likewise.
11628 (__x86_64_raw_shared_cache_size): Likewise.
11629 (__x86_64_shared_cache_size_half): Likewise.
11630 (__x86_64_raw_shared_cache_size_half): Likewise.
11631 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11632 to ...
11633 (__x86_data_cache_size): This.
11634 (__x86_64_raw_data_cache_size): Renamed to ...
11635 (__x86_raw_data_cache_size): This.
11636 (__x86_64_data_cache_size_half): Renamed to ...
11637 (__x86_data_cache_size_half): This.
11638 (__x86_64_raw_data_cache_size_half): Renamed to ...
11639 (__x86_raw_data_cache_size_half): This.
11640 (__x86_64_shared_cache_size): Renamed to ...
11641 (__x86_shared_cache_size): This.
11642 (__x86_64_raw_shared_cache_size): Renamed to ...
11643 (__x86_raw_shared_cache_size): This.
11644 (__x86_64_shared_cache_size_half): Renamed to ...
11645 (__x86_shared_cache_size_half): This.
11646 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11647 (__x86_raw_shared_cache_size_half): This.
11648 * sysdeps/x86_64/memcpy.S: Updated.
11649 * sysdeps/x86_64/memset.S: Likewise.
11650 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11651 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11652 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11653
0b3986d0
DM
116542013-01-04 David S. Miller <davem@davemloft.net>
11655
11656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11657
e47686e9
AS
116582013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11659
d643bac1
AS
11660 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11661 1 to avoid redefinition warning.
11662 (__USE_GNU): Don't define.
11663 (init_signaling_nan): Protoize.
11664
e47686e9
AS
11665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11666
b18decba
SP
116672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11668
fffb407f
SP
11669 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11670 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11671 (__cpymn): Likewise.
11672 (norm): Remove commented code.
11673 (denorm): Likewise.
11674 (__mp_dbl): Likewise.
11675 (__inv): Likewise.
11676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11677 (__cpymn): Likewise.
11678 (norm): Remove commented code.
11679 (denorm): Likewise.
11680 (__mp_dbl): Likewise.
11681 (__inv): Likewise.
11682
b18decba
SP
11683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11684 mp_no value for 1.0 and 2.0.
11685 (norm): Use RADIXI instead of radixi.d.
11686 (denorm): Likewise.
11687 (__mul): Use 0.0 instead of zero.d.
11688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11689 mp_no value for 1.0 and 2.0.
11690 (norm): Use RADIXI instead of radixi.d.
11691 (denorm): Likewise.
11692 (__mul): Use 0.0 instead of zero.d.
11693
cdc1c96f
JM
116942013-01-04 Joseph Myers <joseph@codesourcery.com>
11695
11696 [BZ #14994]
11697 * math/s_casinh.c (__casinh): Reduce finite argument to first
11698 quadrant then set signs of results at the end.
11699 * math/s_casinhf.c (__casinhf): Likewise.
11700 * math/s_casinhl.c (__casinhl): Likewise.
11701 * math/libm-test.inc (casin_test): Add more tests.
11702 (casinh_test): Likewise.
11703 * sysdeps/i386/fpu/libm-test-ulps: Update.
11704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11705
302913e1
SP
117062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11707
6420d207
SP
11708 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11709
a9e48ab4
SP
11710 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11711
b7837264
SP
11712 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11713 declarations.
11714 (denorm): Likewise.
11715 (__mp_dbl): Likewise.
11716 (__inv): Likewise.
11717
f8af25d2
SP
11718 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11719 and adjust the header comment.
11720
302913e1
SP
11721 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11722 variable name from declaration.
11723
5d7dd1ca
L
117242013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11725
11726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11727 Initialize COMMON_CPUID_INDEX_7 element.
11728 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11729 (CPUID_RTM): Likewise.
11730 (HAS_RTM): Likewise.
11731 (COMMON_CPUID_INDEX_7): New enum.
11732
2f5f40f4
AS
117332013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11734
11735 [BZ #14981]
11736 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11737 size is zero, record memory as freed.
11738
4056f4a0
AJ
117392013-01-03 Andreas Jaeger <aj@suse.de>
11740
11741 * po/ia.po: Add new Interlingua translation.
11742
ab15736f 117432012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11744
11745 * locale/programs/localedef.c: Fix description of '--posix' flag.
11746
568035b7
JM
117472013-01-02 Joseph Myers <joseph@codesourcery.com>
11748
e6898b8d
JM
11749 * NEWS: Update dates in second copyright notice.
11750 * README: Update copyright dates in example.
11751 * manual/libc.texinfo: Update copyright dates.
11752 * scripts/test-installation.pl: Update copyright date in --version
11753 output.
11754
0e2f9562
JM
11755 * hurd/ctty-input.c: Fix copyright notice formatting.
11756 * hurd/ctty-output.c: Likewise.
11757 * hurd/dtable.c: Likewise.
11758 * hurd/hurd-raise.c: Likewise.
11759 * hurd/hurdprio.c: Likewise.
11760 * hurd/msgportdemux.c: Likewise.
11761 * misc/sys/file.h: Likewise.
11762 * misc/sys/ioctl.h: Likewise.
11763 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11764 * sysdeps/mach/hurd/chdir.c: Likewise.
11765 * sysdeps/mach/hurd/fchdir.c: Likewise.
11766 * sysdeps/mach/hurd/rename.c: Likewise.
11767 * sysdeps/mach/hurd/rmdir.c: Likewise.
11768 * sysdeps/mach/hurd/seekdir.c: Likewise.
11769 * sysdeps/mach/hurd/setsid.c: Likewise.
11770 * sysdeps/posix/wait3.c: Likewise.
11771
568035b7
JM
11772 * All files with FSF copyright notices: Update copyright dates
11773 using scripts/update-copyrights.
11774 * intl/plural.c: Regenerated.
11775 * locale/programs/charmap-kw.h: Likewise.
11776 * locale/programs/locfile-kw.h: Likewise.
11777
da08f647
SP
117782013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11779
0f5477af
SP
11780 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11781 four values.
11782
44e0d4c2
SP
11783 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11784 calculation loop and add branch prediction.
11785
4d55b4e5
SP
11786 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11787 check access beyond bounds of m1np.
11788
da08f647
SP
11789 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11790 MPTWO.
11791 (__inv): Remove local variable MPTWO to use the global
11792 constant.
11793 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11794 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11795 variable MPTWO.
11796 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11797 MP3HALFS static const.
11798
8e051029
DM
117992013-01-01 David S. Miller <davem@davemloft.net>
11800
11801 * po/ca.po: Update from translation team.
11802
f4cf5f2d
JM
118032013-01-01 Joseph Myers <joseph@codesourcery.com>
11804
11805 * scripts/update-copyrights: New file.
11806 * Makeconfig: Reformat copyright notice.
11807 * ctype/ctype.h: Likewise.
11808 * debug/swprintf_chk.c: Likewise.
11809 * elf/dl-cache.c: Likewise.
11810 * elf/dl-debug.c: Likewise.
11811 * elf/dl-object.c: Likewise.
11812 * grp/initgroups.c: Likewise.
11813 * hurd/Makefile: Likewise.
11814 * hurd/hurd/signal.h: Likewise.
11815 * hurd/hurdfault.c: Likewise.
11816 * hurd/hurdioctl.c: Likewise.
11817 * hurd/hurdlookup.c: Likewise.
11818 * hurd/intr-msg.c: Likewise.
11819 * iconv/gconv_open.c: Likewise.
11820 * libio/swprintf.c: Likewise.
11821 * locale/lc-ctype.c: Likewise.
11822 * locale/nl_langinfo.c: Likewise.
11823 * mach/Machrules: Likewise.
11824 * mach/Makefile: Likewise.
11825 * malloc/obstack.h: Likewise.
11826 * manual/Makefile: Likewise.
11827 * manual/tsort.awk: Likewise.
11828 * misc/bits/stab.def: Likewise.
11829 * nis/nis_print_group_entry.c: Likewise.
11830 * nis/nis_table.c: Likewise.
11831 * nis/nss_compat/compat-pwd.c: Likewise.
11832 * nis/nss_compat/compat-spwd.c: Likewise.
11833 * po/Makefile: Likewise.
11834 * posix/fnmatch.c: Likewise.
11835 * posix/regex.h: Likewise.
11836 * resolv/Makefile: Likewise.
11837 * resolv/nss_dns/dns-network.c: Likewise.
11838 * resolv/res_hconf.c: Likewise.
11839 * scripts/gen-sorted.awk: Likewise.
11840 * soft-fp/soft-fp.h: Likewise.
11841 * stdio-common/printf.h: Likewise.
11842 * stdlib/monetary.h: Likewise.
11843 * stdlib/random.c: Likewise.
11844 * stdlib/random_r.c: Likewise.
11845 * sysdeps/generic/Makefile: Likewise.
11846 * sysdeps/gnu/Makefile: Likewise.
11847 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11849 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11850 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11851 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11853 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11854 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11855 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11857 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11858 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11859 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11860 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11861 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11862 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11863 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11865 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11866 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11867 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11868 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11869 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11870 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11871 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11872 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11873 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11874 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11875 * sysdeps/mach/hurd/errnos.awk: Likewise.
11876 * sysdeps/mach/hurd/fork.c: Likewise.
11877 * sysdeps/mach/hurd/getcwd.c: Likewise.
11878 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11879 * sysdeps/mach/hurd/mmap.c: Likewise.
11880 * sysdeps/mach/hurd/utimes.c: Likewise.
11881 * sysdeps/mach/hurd/xmknod.c: Likewise.
11882 * sysdeps/posix/profil.c: Likewise.
11883 * sysdeps/posix/readdir_r.c: Likewise.
11884 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11885 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11886 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11887 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11889 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11890 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11891 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11893 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11894 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11895 * sysdeps/pthread/lio_listio.c: Likewise.
11896 * sysdeps/sparc/dl-procinfo.h: Likewise.
11897 * sysdeps/unix/i386/sysdep.S: Likewise.
11898 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11899 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11900 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11901 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11903 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11904 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11905 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11906 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11907 * sysdeps/wordsize-32/divdi3.c: Likewise.
11908 * time/sys/time.h: Likewise.
11909 * wcsmbs/Makefile: Likewise.
11910
0549fbba
DM
119112013-01-01 David S. Miller <davem@davemloft.net>
11912
a141f1a7
DM
11913 * po/fr.po: Update from translation team.
11914
0549fbba
DM
11915 * catgets/gencat.c: Update copyright year.
11916 * csu/version.c: Likewise.
11917 * debug/catchsegv.sh: Likewise.
11918 * debug/pcprofiledump.c: Likewise.
11919 * debug/xtrace.sh: Likewise.
11920 * elf/ldconfig.c: Likewise.
11921 * elf/ldd.bash.in: Likewise.
11922 * elf/pldd.c: Likewise.
11923 * elf/sotruss.ksh: Likewise.
11924 * elf/sprof.c: Likewise.
11925 * iconv/iconv_prog.c: Likewise.
11926 * iconv/iconvconfig.c: Likewise.
11927 * locale/programs/locale.c: Likewise.
11928 * locale/programs/localedef.c: Likewise.
11929 * login/programs/pt_chown.c: Likewise.
11930 * malloc/memusage.sh: Likewise.
11931 * malloc/memusagestat.c: Likewise.
11932 * malloc/mtrace.pl: Likewise.
11933 * nscd/nscd.c: Likewise.
11934 * nss/getent.c: Likewise.
11935 * nss/makedb.c: Likewise.
11936 * posix/getconf.c: Likewise.
11937
18ea052c
SP
119382012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11939
11940 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11941 numbers.
11942
9c89fca6
MF
119432012-12-30 Mike Frysinger <vapier@gentoo.org>
11944
11945 * math/bits/mathcalls.h (modf): Use __nonnull.
11946
085ec079
SP
119472012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11948
11949 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11950 (split): Use macro CN instead of the bare value.
11951 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11952 could be used.
11953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11954 instead of the bare value.
11955 (power1): Likewise.
11956
6d9f97e1
SP
119572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11958
d63f73be
SP
11959 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11960 __ATAN_TWOM.
11961 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11962
6d9f97e1
SP
11963 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11964 their values.
11965 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11966 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11967 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11968 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11969
4c4febf5
AJ
119702012-12-28 Andreas Jaeger <aj@suse.de>
11971
af5843ef
AJ
11972 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11973 values are from Linux 3.7.
11974
4c4febf5
AJ
11975 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11976 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11977
99136f82
SP
119782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11979
2f216c3c 11980 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11981 TRUE case.
11982
99136f82
SP
11983 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11984 (norm): Likewise.
11985 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11986 variables with preprocessor constants.
11987 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11988 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11989 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11990
7fffbdff
BH
119912012-12-27 Bruno Haible <bruno@clisp.org>
11992
11993 [BZ #14317]
11994 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11995 only if needed.
11996
b76eb5f0
SP
119972012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11998
31a7fe5c
SP
11999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12000 and use variable directly.
12001 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12002
b76eb5f0
SP
12003 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12004 MPONE.
12005 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12006 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12007 variable MPONE.
12008 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12010 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12011 include directive. Remove local variable MPONE.
12012 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12013 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12014 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12015
2c8bfe7d
DM
120162012-12-25 David S. Miller <davem@davemloft.net>
12017
12018 * version.h (RELEASE): Set to "development".
12019 (VERSION): Set to "2.17.90".
12020 * NEWS: Add 2.18 section.
12021
147d03b0
DM
120222012-12-21 David S. Miller <davem@davemloft.net>
12023
12024 * po/hr.po: Update from translation team.
12025
a8ebb2b9
AK
120262012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12027
12028 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12029
95b4f1b6
SE
120302012-12-19 Steve Ellcey <sellcey@mips.com>
12031
b2d94007 12032 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12033
cedb2a90
MS
120342012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12035
12036 * manual/contrib.texi (Contributors): Spelling correction.
12037
bbf527d6
DM
120382012-12-15 David S. Miller <davem@davemloft.net>
12039
12040 * po/ru.po: Update from translation team.
12041
bc38c906
DM
120422012-12-13 David S. Miller <davem@davemloft.net>
12043
85429b1a
DM
12044 * NEWS: Mention IFUNC testsuite enhancements.
12045
d283e353
DM
12046 * po/pl.po: Update from translation team.
12047 * po/bg.po: Likewise.
12048
bc38c906
DM
12049 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12050 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12051
a181b0d7
DM
120522012-12-11 David S. Miller <davem@davemloft.net>
12053
4641d57e
DM
12054 * po/sv.po: Update from translation team.
12055
f7bc6495
DM
12056 * po/vi.po: Update from translation team.
12057
6fc9048f
DM
12058 * po/cs.po: Update from translation team.
12059
a181b0d7
DM
12060 * po/de.po: Update from translation team.
12061 * po/eo.po: Likewise.
12062 * po/nl.po: Likewise.
12063
f70bfe80
SP
120642012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12065
3c8b4190
SP
12066 [BZ #14246]
12067 * manual/argp.texi (Argp Helper Functions): Move node to follow
12068 Argp Parsing State.
12069
f70bfe80
SP
12070 [BZ #14872]
12071 * manual/conf.texi (Limits on File System Capacity): Mention if
12072 terminating null is included in the max size.
12073
188f0adf
AJ
120742012-12-10 Andreas Jaeger <aj@suse.de>
12075
12076 * po/cs.po: Update from translation team.
12077
56e7d3ad
SP
120782012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12079
12080 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12081 void pointer and cast to uintptr_t.
12082 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12083 path.
12084 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12085 * sysdeps/s390/s390-64/memset.S: Likewise.
12086
76f2d2ea 120872012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
12088
12089 [BZ #14833]
12090 * menual/message.texi (Message Translation): Fix typos.
12091 (Helper programs for gettext): Likewise.
12092
67cbf9a2
AS
120932012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12094
12095 [BZ #14898]
12096 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12097 Change to -1.
12098
682d0e9a
DM
120992012-12-07 David S. Miller <davem@davemloft.net>
12100
12101 * po/libc.pot: Update.
12102
573cd484
RH
121032012-12-07 Richard Henderson <rth@redhat.com>
12104
7e9da188 12105 [BZ #10114]
573cd484
RH
12106 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12107 normal/normal case to before the switch.
12108 (_FP_DIV): Likewise.
12109
e933a943
MF
121102012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12111 Mike Frysinger <vapier@gentoo.org>
12112
12113 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12114 check for __NR_fadvise64_64.
12115
82123268
CM
121162012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12117
12118 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12119 0, not just to plain "0" as a statement.
12120 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12121 with cw.
12122
d9814526
JM
121232012-12-06 Joseph Myers <joseph@codesourcery.com>
12124
12125 * NEWS: Use sourceware.org in Bugzilla URL.
12126
7728c574
SP
121272012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12128
f16946dd
SP
12129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12130 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12131
5704bbcb
SP
12132 * stdio-common/tst-put-error.c (do_test): Add newline to the
12133 padded test to ensure flush.
12134
17aa0516
JL
121352012-12-05 Jeff Law <law@redhat.com>
12136
12137 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12138
363313b5
JM
121392012-12-05 Joseph Myers <joseph@codesourcery.com>
12140
effbd42a
JM
12141 * README: Don't refer to ports add-on as distributed separately.
12142 Mention AArch64 in list of systems supported in the ports add-on.
12143
87600365
JM
12144 * LICENSES: Add more non-FSF copyright and license notices.
12145
a0d7066a
JM
12146 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12147 ((unused)).
12148
66ca5a5b
JM
12149 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12150
363313b5
JM
12151 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12152 10000 as width of padded output.
12153
b37984ad
JM
121542012-12-04 Joseph Myers <joseph@codesourcery.com>
12155
9003570a
JM
12156 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12157
b37984ad
JM
12158 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12159 variable LX with __attribute__ ((unused)).
12160 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12161 Likewise.
12162 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12163 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12164 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12165 with __attribute__ ((unused)).
12166
c8df52ec
DM
121672012-12-04 David S. Miller <davem@abraco.davemloft.net>
12168
12169 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12170
b3b099af
JM
121712012-12-04 Joseph Myers <joseph@codesourcery.com>
12172
c33aa6e3
JM
12173 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12174 (CFLAGS-nldbl-acos.c): New variable.
12175 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12176 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12177 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12178 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12179 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12180 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12181 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12182 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12183 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12184 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12185 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12186 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12187 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12188 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12189 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12190 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12191 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12192 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12193 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12194 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12195 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12196 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12197 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12198 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12199 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12200 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12201 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12202 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12203 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12204 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12205 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12206 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12207 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12208 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12209 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12210 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12211 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12212 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12213 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12214 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12215 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12216 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12217 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12218 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12219 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12220 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12221 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12222 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12223 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12224 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12225 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12226 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12227 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12228 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12229 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12230 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12231 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12232 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12233 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12234 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12235 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12236 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12237 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12238 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12239 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12240 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12241 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12242 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12243 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12244 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12245 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12246 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12247 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12248 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12249 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12250 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12251 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12252 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12253 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12254 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12255 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12256 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12257 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12258 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12259 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12260 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12261 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12262 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12263 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12264 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12265 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12266 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12267 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12268 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12269 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12270 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12271 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12272
20f0018d
JM
12273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12274 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12275
b3b099af
JM
12276 [BZ #14914]
12277 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12278 whole low double instead of just low 47 bits when splitting values
12279 into two parts.
12280
029264d1
AM
122812012-12-03 Allan McRae <allan@archlinux.org>
12282
12283 * manual/stdio.texi (Predefined Printf Handlers): Remove
12284 @hsep and @vsep usage.
12285
c9d6789e
MF
122862012-12-03 Mike Frysinger <vapier@gentoo.org>
12287
12288 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12289 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12290
4b7634a5
JL
122912012-12-03 Jeff Law <law@redhat.com>
12292
12293 * time/sys/time.h (settimeofday): Do not mark TV argument
12294 as __nonnull.
12295
eb6cbd24
MF
122962012-12-01 Mike Frysinger <vapier@gentoo.org>
12297
12298 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12299 when currently writing and seek to current position when not.
12300 * libio/Makefile (tests): Remove bug-fclose1.
12301 * libio/bug-fclose1.c: Delete.
12302
f638872a
JM
123032012-12-01 Joseph Myers <joseph@codesourcery.com>
12304
12305 * manual/arith.texi (feenableexcept): Fix typo.
12306 (fedisableexcept): Likewise.
12307
48085d14
RM
123082012-11-30 Roland McGrath <roland@hack.frob.com>
12309
12310 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12311 second, differently-typed declaration, rather than a cast.
12312
1a538b9f
SP
123132012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12314
12315 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12316 * include/rpc/svc.h: ... here.
12317
d07f2ff1 123182012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12319
12320 [BZ #13013]
12321 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12322 depending n and resplen2 to catch cases where answer
12323 equals answerp2.
12324
c93ec1f0
CD
123252012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12326
12327 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12328 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12329
37db69de
MF
123302012-11-29 Mike Frysinger <vapier@gentoo.org>
12331
12332 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12333
e10c4e4f
RM
123342012-11-29 Roland McGrath <roland@hack.frob.com>
12335
12336 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12337
2af1b328
JL
123382012-11-28 Jeff Law <law@redhat.com>
12339
12340 [BZ #13761]
12341 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12342 dataset_temporary. Track alloca usage into alloca_used.
12343 If dataset is large allocate and release it via malloc/free.
12344
111db5b1
FW
123452012-06-04 Florian Weimer <fweimer@redhat.com>
12346
f06cc227 12347 [BZ #14197]
111db5b1
FW
12348 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12349
dd694abd
DM
123502012-11-28 David S. Miller <davem@davemloft.net>
12351
12352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12353
9984dd01
JM
123542012-11-28 Joseph Myers <joseph@codesourcery.com>
12355
12356 [BZ #14803]
12357 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12358 of pi/2 rounded to nearest to 64 bits.
12359 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12360 nearest to 64 bits.
12361 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12362 bits.
12363
14bc93a9
JL
123642012-11-28 Jeff Law <law@redhat.com>
12365 Martin Osvald <mosvald@redhat.com>
12366
12367 [BZ #14889]
12368 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12369 * sunrpc/svc.c: Include time.h.
12370 (__svc_accept_failed): New function.
12371 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12372 any reason other than EINTR, call __svc_accept_failed.
12373 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12374 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12375
e3c6aa3a
AS
123762012-11-28 Andreas Schwab <schwab@suse.de>
12377
12378 * scripts/abilist.awk: Also handle indirect functions in .opd
12379 section.
12380
1bead169
JM
123812012-11-28 Joseph Myers <joseph@codesourcery.com>
12382
12383 [BZ #13881]
12384 * sysdeps/x86/fpu/powl_helper.c: New file.
12385 * sysdeps/x86/fpu/Makefile: Likewise.
12386 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12387 (p3): New object.
12388 (__ieee754_powl): Use __powl_helper for finite arguments except
12389 integer exponents below 8.
12390 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12391 (p3): New object.
12392 (__ieee754_powl): Use __powl_helper for finite arguments except
12393 integer exponents below 8.
12394 * math/libm-test.inc (pow_test): Add more tests and enable some
12395 previously disabled tests.
12396 * sysdeps/i386/fpu/libm-test-ulps: Update.
12397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12398
0817d63d
SP
123992012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12400 Carlos O'Donell <carlos_odonell@mentor.com>
12401
12402 * nss/makedb.c (is_prime): Assert that input is odd and greater
12403 than 4. Note that fact in a comment too.
12404 (next_prime): Add 4 to input.
12405
de2fd463
SP
124062012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12407
12408 [BZ #11741]
12409 * libio/Makefile (tests): Add test case tst-fwrite-error.
12410 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12411 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12412 * libio/tst-fwrite-error.c: New test case.
12413
c515fb51
L
124142012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12415
12416 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12417 before casting to void *.
12418 * include/libc-internal.h (__pointer_type): New macro.
12419 (__integer_if_pointer_type_sub): Likewise.
12420 (__integer_if_pointer_type): Likewise.
12421 (cast_to_integer): Likewise.
12422 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12423 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12424 before casting to atomic64_t.
12425 (atomic_exchange_acq): Likewise.
12426 (__arch_exchange_and_add_body): Likewise.
12427 (__arch_add_body): Likewise.
12428 (atomic_add_negative): Likewise.
12429 (atomic_add_zero): Likewise.
12430
4cf77aa9
JM
124312012-11-26 Joseph Myers <joseph@codesourcery.com>
12432
12433 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12434 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12435 (add_fdes): Likewise.
12436 (linear_search_fdes): Likewise.
12437 (binary_search_unencoded_fdes): Likewise.
12438
d260b3b4
AS
124392012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12440
12441 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12442
67060746
AC
124432012-11-24 Adam Conrad <adconrad@0c3.net>
12444
12445 * configure.in: Autodetect C++ header directories.
12446 * configure: Regenerated.
12447
800938a1
MF
124482012-11-23 Mike Frysinger <vapier@gentoo.org>
12449
12450 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12451
4e6e34e6
AS
124522012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12453
12454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12455
7c7feb47
JM
124562012-11-22 Joseph Myers <joseph@codesourcery.com>
12457
7184dcdf
JM
12458 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12459 LDBL_MANT_DIG == 106]: Disable some tests.
12460 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12461 Likewise.
12462 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12463 Likewise.
12464
0a42601f
JM
12465 [BZ #14871]
12466 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12467 input for small inputs. Return +/- pi/2 for large inputs.
12468 * math/libm-test.inc (atan_test): Add more tests.
12469
79c9b9fe
JM
12470 * sysdeps/generic/unwind-dw2-fde-glibc.c
12471 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12472 __attribute__ ((unused)).
12473
c60d3bf2
JM
12474 [BZ #14645]
12475 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12476 x * y if x and y are nonzero and z is zero.
12477
ef1e0867
JM
12478 [BZ #14811]
12479 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12480 nonzero exponents with absolute value below 0x1p-117 to +/-
12481 0x1p-117.
12482
1468ded3
JM
12483 [BZ #14869]
12484 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12485 up arguments below 2**-450, not just those below 2**-500.
12486 * math/libm-test.inc (hypot_test): Add another test.
12487
8e27e3cc
JM
12488 [BZ #14868]
12489 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12490 Return a+b for ratio over 2**120, not 2**60.
12491 * math/libm-test.inc (hypot_test): Add another test.
12492
c9c0279b
JM
12493 * math/libm-test.inc (clog_test): Use
12494 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12495 (clog10_test): Likewise.
12496
7c7feb47
JM
12497 [BZ #6778]
12498 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12499
fff1530e
AS
125002012-11-22 Andreas Schwab <schwab@suse.de>
12501
12502 * sysdeps/i386/fpu/libm-test-ulps: Update.
12503
94558d30
PT
125042012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12505
12506 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12507 printf output with newline.
12508
7e1be741
L
125092012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12510
6bfea974
L
12511 [BZ #14865]
12512 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12513 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12514 -z nodlopen, -z initfirst and -z execstack support.
12515 * configure: Regenerated.
12516
7e1be741
L
12517 * elf/elf.h (DF_1_NODIRECT): New macro.
12518 (DF_1_IGNMULDEF): Likewise.
12519 (DF_1_NOKSYMS): Likewise.
12520 (DF_1_NOHDR): Likewise.
12521 (DF_1_EDITED): Likewise.
12522 (DF_1_NORELOC): Likewise.
12523 (DF_1_SYMINTPOSE): Likewise.
12524 (DF_1_GLOBAUDIT): Likewise.
12525 (DF_1_SINGLETON): Likewise.
12526 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12527 DT_1_SUPPORTED_MASK bits.
12528 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12529
105ce2ce
CD
125302012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12531
12532 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12533
123be9de
TS
125342012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12535
d072f3f7
TS
12536 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12537 macro.
12538
123be9de
TS
12539 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12540 (sendmmsg): Move declarations...
12541 * socket/sys/socket.h: ... here.
12542 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12543 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12544 include it from...
12545 * socket/recvmmsg.c: ... this new file.
12546 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12547 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12548 definition of __sendmmsg hidden.
12549 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12550 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12551 Move ENOSYS stub into and include it from...
12552 * socket/sendmmsg.c: ... this new file.
12553 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12554 (sysdep_routines): Move recvmmsg and sendmmsg...
12555 * socket/Makefile (routines): ... here.
12556 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12557 (GLIBC_PRIVATE): Add __sendmmsg.
12558 * include/sys/socket.h (__sendmmsg): Add declarations.
12559 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12560 sendmmsg.
12561
cf9a5d18
JM
125622012-11-20 Joseph Myers <joseph@codesourcery.com>
12563
12564 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12565 variable I1 with __attribute__ ((unused)).
12566 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12567
ecd4caf9
JM
125682012-11-19 Joseph Myers <joseph@codesourcery.com>
12569
be14d48f
JM
12570 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12571 DUMMY variables with __attribute__ ((unused)).
12572
ecd4caf9
JM
12573 * bits/byteswap.h: Include <bits/types.h>.
12574 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12575
986cab95
PT
125762012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12577
12578 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12579 string_t. Do not manually set errno.
12580 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12581 length with __strnlen. Make sure to both set errno and return it on
12582 failure.
12583
6d33cc9d
DM
125842012-11-19 David S. Miller <davem@davemloft.net>
12585
12586 With help from Joseph Myers.
12587 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12588 very large arguments properly.
12589 * math/libm-test.inc (atan_test): New tests.
12590 (atan2_test): New tests.
12591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12593
ee663277
JM
125942012-11-19 Joseph Myers <joseph@codesourcery.com>
12595
877f2d8e
JM
12596 [BZ #14856]
12597 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12598 Define to 3.
12599
116fc08a
JM
12600 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12601 [POSIX] (EADDRNOTAVAIL): Likewise.
12602 [POSIX] (EAFNOSUPPORT): Likewise.
12603 [POSIX] (EALREADY): Likewise.
12604 [POSIX] (ECONNABORTED): Likewise.
12605 [POSIX] (ECONNREFUSED): Likewise.
12606 [POSIX] (ECONNRESET): Likewise.
12607 [POSIX] (EDESTADDRREQ): Likewise.
12608 [POSIX] (EDQUOT): Likewise.
12609 [POSIX] (EHOSTUNREACH): Likewise.
12610 [POSIX] (EIDRM): Likewise.
12611 [POSIX] (EISCONN): Likewise.
12612 [POSIX] (ELOOP): Likewise.
12613 [POSIX] (EMULTIHOP): Likewise.
12614 [POSIX] (ENETDOWN): Likewise.
12615 [POSIX] (ENETUNREACH): Likewise.
12616 [POSIX] (ENOBUFS): Likewise.
12617 [POSIX] (ENODATA): Likewise.
12618 [POSIX] (ENOLINK): Likewise.
12619 [POSIX] (ENOMSG): Likewise.
12620 [POSIX] (ENOPROTOOPT): Likewise.
12621 [POSIX] (ENOSR): Likewise.
12622 [POSIX] (ENOSTR): Likewise.
12623 [POSIX] (ENOTCONN): Likewise.
12624 [POSIX] (ENOTSOCK): Likewise.
12625 [POSIX] (EOPNOTSUPP): Likewise.
12626 [POSIX] (EOVERFLOW): Likewise.
12627 [POSIX] (EPROTO): Likewise.
12628 [POSIX] (EPROTONOSUPPORT): Likewise.
12629 [POSIX] (EPROTOTYPE): Likewise.
12630 [POSIX] (ESTALE): Likewise.
12631 [POSIX] (ETIME): Likewise.
12632 [POSIX] (ETXTBSY): Likewise.
12633 [POSIX] (EWOULDBLOCK): Likewise.
12634 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12635 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12636 [POSIX] (SEEK_CUR): Likewise.
12637 [POSIX] (SEEK_END): Likewise.
12638 [POSIX || UNIX98] (mode_t): Do not require.
12639 [POSIX] (off_t): Likewise.
12640 [POSIX] (pid_t): Likewise.
12641 [POSIX] (sys/stat.h): Do not allow header.
12642 [POSIX] (unistd.h): Likewise.
12643 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12644 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12645 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12646 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12647 require.
12648 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12649 sigevent): Specify elements.
12650 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12651 entry.
12652 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12653 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12654
a483863f
JM
12655 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12656 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12657 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12658 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12659 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12660 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12661 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12662 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12663 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12664 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12665 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12666 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12667 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12668 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12669 Likewise.
12670 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12671 Likewise.
12672 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12673 Likewise.
12674 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12675 Likewise.
12676 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12677 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12678 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12679 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12680 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12681 Specify lower bound on value.
12682 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12683 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12684 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12685 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12686 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12687 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12688 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12689 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12690 value.
12691 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12692 as optional.
12693 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12694 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12695 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12696 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12697 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12698 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12699 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12700 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12701 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12702 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12703 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12704 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12705 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12706 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12707 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12708 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12709 entry.
12710 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12711 optional.
12712 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12713 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12714 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12715 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12716 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12717 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12718 Likewise.
12719 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12720 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12721 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12722 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12723 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12724 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12725 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12726 as optional.
12727 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12728 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12729 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12730 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12731 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12732 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12733 specify as optional.
12734 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12735 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12736 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12737 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12738 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12739 [XPG3] (NL_LANGMAX): Likewise.
12740 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12741 [POSIX || XPG3] (NL_NMAX): Likewise.
12742 [POSIX || XPG3] (NL_SETMAX): Likewise.
12743 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12744 [XPG3] (NZERO): Likewise.
12745 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12746 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12747 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12748 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12749 (REG_ERANGE): Expect.
12750 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12751 optional-constant.
12752 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12753 Use (void) in prototype.
12754 [POSIX] (*_t): Allow.
12755 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12756 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12757 (WRDE_BADVAL): Expect.
12758
5ba924e3
JM
12759 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12760 expect.
12761 [XPG3 || XPG4] (O_RSYNC): Likewise.
12762 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12763 Likewise.
12764 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12765 [XPG3 || XPG4] (sigqueue): Likewise.
12766 [XPG3 || XPG4] (sigtimedwait): Likewise.
12767 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12768 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12769 [XPG3 || XPG4] (vsnprintf): Likewise.
12770 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12771 Likewise.
12772 [XPG3 || XPG4] (blksize_t): Likewise.
12773 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12774 Likewise.
12775 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12776 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12777 [XPG3 || XPG4] (struct itimerspec): Likewise.
12778 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12779 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12780 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12781 [XPG3 || XPG4] (clockid_t): Likewise.
12782 [XPG3 || XPG4] (timer_t): Likewise.
12783 [XPG3 || XPG4] (clock_getres): Likewise.
12784 [XPG3 || XPG4] (clock_gettime): Likewise.
12785 [XPG3 || XPG4] (clock_settime): Likewise.
12786 [XPG3 || XPG4] (nanosleep): Likewise.
12787 [XPG3 || XPG4] (timer_create): Likewise.
12788 [XPG3 || XPG4] (timer_delete): Likewise.
12789 [XPG3 || XPG4] (timer_gettime): Likewise.
12790 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12791 [XPG3 || XPG4] (timer_settime): Likewise.
12792 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12793 [XPG3 || XPG4] (getlogin_r): Likewise.
12794 [XPG3 || XPG4] (pread): Likewise.
12795 [XPG3 || XPG4] (pthread_atfork): Likewise.
12796 [XPG3 || XPG4] (pwrite): Likewise.
12797
ee663277
JM
12798 [BZ #14835]
12799 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12800 <bits/siginfo.h>.
12801
942caa16
PT
128022012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12803
e19af380
PT
12804 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12805 finalizing MALLSTREAM.
12806
942caa16
PT
12807 * sysdeps/mach/hurd/syncfs.c: New file.
12808
cfde9b46
SP
128092012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12810
12811 [BZ #14719]
12812 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12813 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12814 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12815 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12816 (_nss_dns_gethostbyname4_r): Likewise.
12817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12818 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12819
f6da27e5
PH
128202012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12821
12822 [BZ #13763]
12823 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12824
6665d4a2
SM
128252012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12826
1f51ee92
SM
12827 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12828 * elf/cache.c (print_entry): Print ",AArch64" for
12829 FLAG_AARCH64_LIB64
12830
6665d4a2
SM
12831 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12832 * elf/cache.c (print_entry): Print ",hard-float" for
12833 FLAG_ARM_LIBHF.
12834
05b227bd
DM
128352012-11-18 David S. Miller <davem@davemloft.net>
12836
12837 With help from Joseph Myers.
12838 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12839 cutoff to 2**-13.
12840 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12841 cutoff to 2**-25.
12842 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12843 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12844 small.
12845 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12846 * math/libm-test.inc (y0_test): New tests.
12847 (y1_test): New tests.
12848 * sysdeps/i386/fpu/libm-test-ulps: Update.
12849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12851
786b0b67
AS
128522012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12853
12854 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12855 64-bit targets.
12856 * configure: Regenerated.
12857
8e18b86d
DM
128582012-11-17 David S. Miller <davem@davemloft.net>
12859
12860 [BZ #14811]
12861 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12862 nonzero exponents with absolute value below 0x1p-128 to +/-
12863 0x1p-128.
12864
531f1ae0
JM
128652012-11-17 Joseph Myers <joseph@codesourcery.com>
12866
12df29e2
JM
12867 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12868
150dc1a0
JM
12869 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12870
531f1ae0
JM
12871 * posix/getconf-speclist.c: New file.
12872 * posix/posix-envs.def: Likewise.
12873 * posix/confstr.c (START_ENV_GROUP): New macro.
12874 (END_ENV_GROUP): Likewise.
12875 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12876 (KNOWN_PRESENT_ENV_STRING): Likewise.
12877 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12878 (UNKNOWN_ENVIRONMENT): Likewise.
12879 (confstr): Include posix-envs.def instead of handling
12880 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12881 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12882 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12883 (END_ENV_GROUP): Likewise.
12884 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12885 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12886 (UNKNOWN_ENVIRONMENT): Likewise.
12887 (__sysconf): Include posix-envs.def instead of handling associated
12888 cases directly here.
12889 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12890 preprocessing getconf-speclist.c rather than running getconf or
12891 generating empty file.
12892
a93f9cbc
PT
128932012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12894
12895 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12896
d64d9f87
AL
128972012-11-16 Andrej Lajovic <natrij@gmail.com>
12898
12899 [BZ #14672]
12900 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12901
447885eb
DM
129022012-11-16 David S. Miller <davem@davemloft.net>
12903
12904 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12905 smaller than LDBL_EPSILON/2.0L, just return xm1.
12906
bcbf9830
L
129072012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12908
12909 * elf/tst-array1.c (init): Set constructor priority to 1000.
12910 (fini): Set destructor priority to 1000.
12911 * elf/tst-array2dep.c: Likewise.
12912
2b766585
SP
129132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12914
12915 [BZ #11741]
12916 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12917 (_IO_new_file_xsputn): Also return EOF if none of the input
12918 data was written when overflow failed.
12919 * libio/iopadn.c (_IO_padn): Likewise.
12920 * libio/iowpadn.c (_IO_wpadn): Likewise.
12921 * stdio-common/tst-put-error.c: Add copyright notice.
12922 (do_test): Add case for printing padded string.
12923 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12924 _IO_padn returned error.
12925 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12926 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12927 return EOF.
12928
b1848fde
SP
129292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12930
12931 * libio/libioP.h: Add comment note that the references to C++
12932 bits are now obsolete.
12933
2fd89785
MS
129342012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12935
12936 * math/libm-test.inc (check_complex): Use asprintf.
12937
e3ea5409
JM
129382012-11-14 Joseph Myers <joseph@codesourcery.com>
12939
12940 * debug/pcprofiledump.c (print_version): Update copyright year.
12941 * malloc/memusagestat.c (print_version): Likewise.
12942
2e64d265
L
129432012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12944
12945 [BZ #14831]
12946 * elf/Makefile (tests): Add tst-audit8.
12947 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12948 ($(objpfx)tst-audit8.out): New target.
12949 (tst-audit8-ENV): New variable.
12950 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12951 audit if l_reloc_result is NULL.
12952 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12953 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12954 * elf/tst-audit8.c: New file.
12955
c485e4d2
MS
129562012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12957
12958 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12959 * misc/Makefile (CFLAGS-select.c): Define.
12960 * posix/Makefile (CFLAGS-pause.c): Define.
12961
3a0d900a
DM
129622012-11-13 David S. Miller <davem@davemloft.net>
12963
12964 * crypt/Makefile: Move test targets after toplevel Rules
12965 inclusion. Grab any necessary sysdep routines when linking.
12966 * crypt/md5.c (md5_process_block): Remove define, we will always
12967 name it __md5_process_block.
12968 (md5_finish_ctx): Update md5_process_block call.
12969 (md5_stream): Likewise.
12970 (md5_process_bytes): Likewise.
12971 (md5_process_block): Rename to __md5_process_block and move to ...
12972 * crypt/md5-block.c: ... here.
12973 * crypt/sha256.c (sha256_process_block): Move to ...
12974 * crypt/sha256-block.c: ... here.
12975 * crypt/sha512.c (sha512_process_block): Move to ...
12976 * crypt/sha512-block.c: ... here.
12977 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12978 path.
12979 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12980 * sysdeps/sparc/sparc64/multiarch/Makefile
12981 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12982 crypt subdir.
12983 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12984 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12985 multiarch changes.
12986 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12987 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12988 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12989 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12990 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12991 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12992 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12993 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12994 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12995 file.
12996 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12997 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12998 file.
12999 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13000
8ca89318
JM
130012012-11-13 Joseph Myers <joseph@codesourcery.com>
13002
e27d476a
JM
13003 * timezone/tzselect.ksh: Update from tzcode git revision
13004 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13005 * timezone/zdump.c: Likewise.
13006 * timezone/zic.c: Likewise.
13007 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13008 in TZVERSION setting, not $(PKGVERSION).
13009 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13010 REPORT_BUGS_TO settings.
13011
8ca89318
JM
13012 [BZ #14838]
13013 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13014 macro.
13015
47594329
MS
130162012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13017
13018 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13019 detection to immediately after _FP_ROUND().
13020 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13021 bits are 0.
13022
640ac3f1
DM
130232012-11-11 David S. Miller <davem@davemloft.net>
13024
13025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13026 inttypes.h
13027 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13028 __close rather than their public counterparts.
13029
3d2577bb
JM
130302012-11-10 Joseph Myers <joseph@codesourcery.com>
13031
13032 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13033 file.
13034 [UNIX98] (sem_timedwait): Do not expect.
13035 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13036 [XPG4 || UNIX98] (sockatmark): Do not expect.
13037 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13038 (clock_getcpuclockid): Do not expect.
13039 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13040 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13041 Do not expect.
13042 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13043 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13044 [UNIX98] (vwscanf): Likewise.
13045 [UNIX98] (vswscanf): Likewise.
13046
fb1ae1ee
JM
130472012-11-09 Joseph Myers <joseph@codesourcery.com>
13048
9ec6f8bd
JM
13049 * timezone/version.h: Remove file.
13050 * timezone/README: Do not refer to version.h.
13051 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13052 $(objpfx)version.h.
13053 ($(objpfx)zdump.o): Likewise.
c3f81911 13054 ($(objpfx)version.h): New target.
9ec6f8bd 13055
0aa8f8a1
JM
13056 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13057 2012i.
13058 * timezone/README: Don't mention modification to tzselect.ksh.
13059 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13060 work on unmodified tzselect.ksh. Substitute version numbers in
13061 tzselect.ksh.
13062
4e87147f
JM
13063 * Makefile (format-me): Remove.
13064 (INSTALL): Adjust indentation. Use commands directly instead of
13065 using $(format-me).
13066
8b748aed
JM
13067 * aclocal.m4 (ACX_PKGVERSION): New macro.
13068 (ACX_BUGURL): Likewise.
13069 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13070 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13071 (REPORT_BUGS_TO): Likewise.
13072 * configure: Regenerated.
13073 * config.h.in (PKGVERSION): New macro.
13074 (REPORT_BUGS_TO): Likewise.
13075 * config.make.in (PKGVERSION): New variable.
13076 (PKGVERSION_TEXI): Likewise.
13077 (REPORT_BUGS_TO): Likewise.
13078 (REPORT_BUGS_TEXI): Likewise.
13079 * Makefile (format-me): Use -I$(common-objpfx)manual.
13080 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13081 ($(common-objpfx)manual/%): New target.
13082 (manual/%): Remove target.
13083 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13084 (print_version): Use PKGVERSION.
13085 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13086 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13087 and REPORT_BUGS_TO.
13088 ($(objpfx)xtrace): Likewise.
13089 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13090 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13091 (print_version): Use PKGVERSION.
13092 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13093 (do_version): Use PKGVERSION.
13094 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13095 REPORT_BUGS_TO.
13096 (common-ldd-rewrite): Likewise.
13097 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13098 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13099 (print_version): Use PKGVERSION.
13100 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13101 * elf/pldd.c (argp_program_bug_address): Remove variable.
13102 (more_help): New function.
13103 (argp): Use more_help.
13104 (print_version): Use PKGVERSION.
13105 * elf/sln.c (main): Use PKGVERSION.
13106 (usage): Use REPORT_BUGS_TO.
13107 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13108 (top level): Use PKGVERSION.
13109 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13110 (print_version): Use PKGVERSION.
13111 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13112 (print_version): Use PKGVERSION.
13113 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13114 (print_version): Use PKGVERSION.
13115 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13116 (print_version): Use PKGVERSION.
13117 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13118 (print_version): Use PKGVERSION.
13119 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13120 (print_version): Use PKGVERSION.
13121 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13122 and BUGURL.
13123 ($(objpfx)memusage): Likewise.
13124 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13125 (do_version): Use PKGVERSION.
13126 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13127 (print_version): Use PKGVERSION.
13128 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13129 ($PKGVERSION): New variable.
13130 ($REPORT_BUGS_TO): Likewise.
13131 (usage): Use $REPORT_BUGS_TO.
13132 (top level): Use $PKGVERSION.
13133 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13134 ($(objpfx)pkgvers.texi): New rule.
13135 ($(objpfx)stamp-pkgvers): Likewise.
13136 * manual/install.texi: Include pkgvers.texi.
13137 (--with-pkgversion): Document new configure option.
13138 (--with-bugurl): Likewise.
13139 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13140 than necessarily for this particular distribution. Use
13141 REPORT_BUGS_TO for where to report bugs.
13142 * INSTALL: Regenerated.
13143 * manual/libc.texinfo: Include pkgvers.texi.
13144 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13145 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13146 (print_version): Use PKGVERSION.
13147 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13148 (print_version): Use PKGVERSION.
13149 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13150 (print_version): Use PKGVERSION.
13151 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13152 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13153 macro.
13154 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13155 (print_version): Use PKGVERSION.
13156 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13157 (print_version): Use PKGVERSION.
13158 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13159 and PKGVERSION.
13160
92e4b6a9
JM
13161 * timezone/checktab.awk: Update from tzcode 2012i.
13162 * timezone/ialloc.c: Likewise.
13163 * timezone/private.h: Likewise.
13164 * timezone/scheck.c: Likewise.
13165 * timezone/tzfile.h: Likewise.
13166 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13167 (TZVERSION): Hardcode tzcode version number.
13168 * timezone/zdump.c: Update from tzcode 2012i.
13169 * timezone/zic.c: Likewise.
13170 * timezone/version.h: New file.
13171 * timezone/README: Describe version.h. Update upstream location.
13172
9bde902c
JM
13173 [BZ #14824]
13174 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13175 (mktemp): Enable declaration.
13176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13177 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13178 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13179 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13180 Likewise.
13181 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13182 Likewise.
13183 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13184 Likewise.
13185 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13186 Likewise.
13187 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13188 Likewise.
13189 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13190 Likewise.
13191
fb1ae1ee
JM
13192 [BZ #14821]
13193 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13194 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13195 for copies of such integer values.
13196 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13197 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13198
2c1adbcb
AJ
131992012-11-09 Andreas Jaeger <aj@suse.de>
13200
13201 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13202 definitions and declarations that are provided by
13203 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13204
d0f8457e
AK
132052012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13206
3a235abb 13207 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13208 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13209 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13210 definition.
13211
57241e26
MS
132122012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13213
13214 * elf/elf.h: Update comment before AArch64 relocations.
13215
60e8270d
DM
132162012-11-07 David S. Miller <davem@davemloft.net>
13217
13218 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13219 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13220 (__start_context): Declare.
13221 (__makecontext_ret): Delete.
13222 (__makecontext): Hook up __start_context instead of
13223 __makecontext_ret.
13224 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13225 (sysdep_routines): Add __start_context when in stdlib.
13226
0fbb0fbc
JM
132272012-11-07 Joseph Myers <joseph@codesourcery.com>
13228
13229 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13230 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13231 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13232 hardcoded "nm".
13233 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13234 (READELF): New variable. Use it instead of hardcoded "readelf".
13235
eb48db7e
L
132362012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13237
13238 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13239 * sysdeps/x86/Makefile: Here.
13240 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13241 * sysdeps/x86/tst-xmmymm.sh: This.
13242
05bcf62a
JM
132432012-11-07 Joseph Myers <joseph@codesourcery.com>
13244
c4b6cf53
JM
13245 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13246 expectations.
13247 [UNIX98] (pthread_barrier_t): Do not expect.
13248 [UNIX98] (pthread_barrierattr_t): Likewise.
13249 [UNIX98] (pthread_spinlock_t): Likewise.
13250 [UNIX98] (pthread_barrier_destroy): Likewise.
13251 [UNIX98] (pthread_barrier_init): Likewise.
13252 [UNIX98] (pthread_barrier_wait): Likewise.
13253 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13254 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13255 [UNIX98] (pthread_barrierattr_init): Likewise.
13256 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13257 [UNIX98] (pthread_getcpuclockid): Likewise.
13258 [UNIX98] (pthread_mutex_timedlock): Likewise.
13259 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13260 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13261 [UNIX98] (pthread_sigmask): Likewise.
13262 [UNIX98] (pthread_spin_destroy): Likewise.
13263 [UNIX98] (pthread_spin_init): Likewise.
13264 [UNIX98] (pthread_spin_lock): Likewise.
13265 [UNIX98] (pthread_spin_trylock): Likewise.
13266 [UNIX98] (pthread_spin_unlock): Likewise.
13267 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13268 Do not expect.
13269 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13270 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13271 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13272 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13273 [XPG3 || XPG4] (pthread_key_t): Likewise.
13274 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13275 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13276 [XPG3 || XPG4] (pthread_once_t): Likewise.
13277 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13278 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13279 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13280 [XPG3 || XPG4] (pthread_t): Likewise.
13281
cbe6e120
JM
13282 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13283 not expect.
13284 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13285
1b126443
JM
13286 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13287 Change function return type to int.
13288
b961a573
JM
13289 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13290 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13291 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13292 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13293 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13294 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13295 [!POSIX] (posix_madvise): Likewise.
13296 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13297 && !UNIX98].
13298 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13299 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13300 (mode_t): Likewise.
13301 (posix_mem_offset): Likewise.
13302 (posix_typed_mem_get_info): Likewise.
13303 (posix_typed_mem_open): Likewise.
13304
9e188909
JM
13305 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13306 Change condition to [XOPEN2K8].
13307
05bcf62a
JM
13308 * conform/conformtest.pl: Preprocess allow-header data with -x c
13309 instead of from stdin.
13310 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13311 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13312 [C99-based standards] (cerfc): Likewise.
13313 [C99-based standards] (cexp2): Likewise.
13314 [C99-based standards] (cexpm1): Likewise.
13315 [C99-based standards] (clog10): Likewise.
13316 [C99-based standards] (clog1p): Likewise.
13317 [C99-based standards] (clog2): Likewise.
13318 [C99-based standards] (clgamma): Likewise.
13319 [C99-based standards] (ctgamma): Likewise.
13320 [C99-based standards] (cerff): Likewise.
13321 [C99-based standards] (cerfcf): Likewise.
13322 [C99-based standards] (cexp2f): Likewise.
13323 [C99-based standards] (cexpm1f): Likewise.
13324 [C99-based standards] (clog10f): Likewise.
13325 [C99-based standards] (clog1pf): Likewise.
13326 [C99-based standards] (clog2f): Likewise.
13327 [C99-based standards] (clgammaf): Likewise.
13328 [C99-based standards] (ctgammaf): Likewise.
13329 [C99-based standards] (cerfl): Likewise.
13330 [C99-based standards] (cerfcl): Likewise.
13331 [C99-based standards] (cexp2l): Likewise.
13332 [C99-based standards] (cexpm1l): Likewise.
13333 [C99-based standards] (clog10l): Likewise.
13334 [C99-based standards] (clog1pl): Likewise.
13335 [C99-based standards] (clog2l): Likewise.
13336 [C99-based standards] (clgammal): Likewise.
13337 [C99-based standards] (ctgammal): Likewise.
13338 * conform/data/inttypes.h-data [C99-based standards]: Include
13339 stdint.h-data. Remove all expectations for stdint.h contents.
13340 [C99-based standards] (PRI*): Do not allow.
13341 [C99-based standards] (SCN*): Likewise.
13342 [C99-based standards] (*_t): Likewise.
13343 [C99-based-standards] (PRId8): Expect macro.
13344 [C99-based-standards] (PRIi8): Likewise.
13345 [C99-based-standards] (PRIo8): Likewise.
13346 [C99-based-standards] (PRIu8): Likewise.
13347 [C99-based-standards] (PRIx8): Likewise.
13348 [C99-based-standards] (PRIX8): Likewise.
13349 [C99-based-standards] (SCNd8): Likewise.
13350 [C99-based-standards] (SCNi8): Likewise.
13351 [C99-based-standards] (SCNo8): Likewise.
13352 [C99-based-standards] (SCNu8): Likewise.
13353 [C99-based-standards] (SCNx8): Likewise.
13354 [C99-based-standards] (PRIdLEAST8): Likewise.
13355 [C99-based-standards] (PRIiLEAST8): Likewise.
13356 [C99-based-standards] (PRIoLEAST8): Likewise.
13357 [C99-based-standards] (PRIuLEAST8): Likewise.
13358 [C99-based-standards] (PRIxLEAST8): Likewise.
13359 [C99-based-standards] (PRIXLEAST8): Likewise.
13360 [C99-based-standards] (SCNdLEAST8): Likewise.
13361 [C99-based-standards] (SCNiLEAST8): Likewise.
13362 [C99-based-standards] (SCNoLEAST8): Likewise.
13363 [C99-based-standards] (SCNuLEAST8): Likewise.
13364 [C99-based-standards] (SCNxLEAST8): Likewise.
13365 [C99-based-standards] (PRIdFAST8): Likewise.
13366 [C99-based-standards] (PRIiFAST8): Likewise.
13367 [C99-based-standards] (PRIoFAST8): Likewise.
13368 [C99-based-standards] (PRIuFAST8): Likewise.
13369 [C99-based-standards] (PRIxFAST8): Likewise.
13370 [C99-based-standards] (PRIXFAST8): Likewise.
13371 [C99-based-standards] (SCNdFAST8): Likewise.
13372 [C99-based-standards] (SCNiFAST8): Likewise.
13373 [C99-based-standards] (SCNoFAST8): Likewise.
13374 [C99-based-standards] (SCNuFAST8): Likewise.
13375 [C99-based-standards] (SCNxFAST8): Likewise.
13376 [C99-based-standards] (PRId16): Likewise.
13377 [C99-based-standards] (PRIi16): Likewise.
13378 [C99-based-standards] (PRIo16): Likewise.
13379 [C99-based-standards] (PRIu16): Likewise.
13380 [C99-based-standards] (PRIx16): Likewise.
13381 [C99-based-standards] (PRIX16): Likewise.
13382 [C99-based-standards] (SCNd16): Likewise.
13383 [C99-based-standards] (SCNi16): Likewise.
13384 [C99-based-standards] (SCNo16): Likewise.
13385 [C99-based-standards] (SCNu16): Likewise.
13386 [C99-based-standards] (SCNx16): Likewise.
13387 [C99-based-standards] (PRIdLEAST16): Likewise.
13388 [C99-based-standards] (PRIiLEAST16): Likewise.
13389 [C99-based-standards] (PRIoLEAST16): Likewise.
13390 [C99-based-standards] (PRIuLEAST16): Likewise.
13391 [C99-based-standards] (PRIxLEAST16): Likewise.
13392 [C99-based-standards] (PRIXLEAST16): Likewise.
13393 [C99-based-standards] (SCNdLEAST16): Likewise.
13394 [C99-based-standards] (SCNiLEAST16): Likewise.
13395 [C99-based-standards] (SCNoLEAST16): Likewise.
13396 [C99-based-standards] (SCNuLEAST16): Likewise.
13397 [C99-based-standards] (SCNxLEAST16): Likewise.
13398 [C99-based-standards] (PRIdFAST16): Likewise.
13399 [C99-based-standards] (PRIiFAST16): Likewise.
13400 [C99-based-standards] (PRIoFAST16): Likewise.
13401 [C99-based-standards] (PRIuFAST16): Likewise.
13402 [C99-based-standards] (PRIxFAST16): Likewise.
13403 [C99-based-standards] (PRIXFAST16): Likewise.
13404 [C99-based-standards] (SCNdFAST16): Likewise.
13405 [C99-based-standards] (SCNiFAST16): Likewise.
13406 [C99-based-standards] (SCNoFAST16): Likewise.
13407 [C99-based-standards] (SCNuFAST16): Likewise.
13408 [C99-based-standards] (SCNxFAST16): Likewise.
13409 [C99-based-standards] (PRId32): Likewise.
13410 [C99-based-standards] (PRIi32): Likewise.
13411 [C99-based-standards] (PRIo32): Likewise.
13412 [C99-based-standards] (PRIu32): Likewise.
13413 [C99-based-standards] (PRIx32): Likewise.
13414 [C99-based-standards] (PRIX32): Likewise.
13415 [C99-based-standards] (SCNd32): Likewise.
13416 [C99-based-standards] (SCNi32): Likewise.
13417 [C99-based-standards] (SCNo32): Likewise.
13418 [C99-based-standards] (SCNu32): Likewise.
13419 [C99-based-standards] (SCNx32): Likewise.
13420 [C99-based-standards] (PRIdLEAST32): Likewise.
13421 [C99-based-standards] (PRIiLEAST32): Likewise.
13422 [C99-based-standards] (PRIoLEAST32): Likewise.
13423 [C99-based-standards] (PRIuLEAST32): Likewise.
13424 [C99-based-standards] (PRIxLEAST32): Likewise.
13425 [C99-based-standards] (PRIXLEAST32): Likewise.
13426 [C99-based-standards] (SCNdLEAST32): Likewise.
13427 [C99-based-standards] (SCNiLEAST32): Likewise.
13428 [C99-based-standards] (SCNoLEAST32): Likewise.
13429 [C99-based-standards] (SCNuLEAST32): Likewise.
13430 [C99-based-standards] (SCNxLEAST32): Likewise.
13431 [C99-based-standards] (PRIdFAST32): Likewise.
13432 [C99-based-standards] (PRIiFAST32): Likewise.
13433 [C99-based-standards] (PRIoFAST32): Likewise.
13434 [C99-based-standards] (PRIuFAST32): Likewise.
13435 [C99-based-standards] (PRIxFAST32): Likewise.
13436 [C99-based-standards] (PRIXFAST32): Likewise.
13437 [C99-based-standards] (SCNdFAST32): Likewise.
13438 [C99-based-standards] (SCNiFAST32): Likewise.
13439 [C99-based-standards] (SCNoFAST32): Likewise.
13440 [C99-based-standards] (SCNuFAST32): Likewise.
13441 [C99-based-standards] (SCNxFAST32): Likewise.
13442 [C99-based-standards] (PRId64): Likewise.
13443 [C99-based-standards] (PRIi64): Likewise.
13444 [C99-based-standards] (PRIo64): Likewise.
13445 [C99-based-standards] (PRIu64): Likewise.
13446 [C99-based-standards] (PRIx64): Likewise.
13447 [C99-based-standards] (PRIX64): Likewise.
13448 [C99-based-standards] (SCNd64): Likewise.
13449 [C99-based-standards] (SCNi64): Likewise.
13450 [C99-based-standards] (SCNo64): Likewise.
13451 [C99-based-standards] (SCNu64): Likewise.
13452 [C99-based-standards] (SCNx64): Likewise.
13453 [C99-based-standards] (PRIdLEAST64): Likewise.
13454 [C99-based-standards] (PRIiLEAST64): Likewise.
13455 [C99-based-standards] (PRIoLEAST64): Likewise.
13456 [C99-based-standards] (PRIuLEAST64): Likewise.
13457 [C99-based-standards] (PRIxLEAST64): Likewise.
13458 [C99-based-standards] (PRIXLEAST64): Likewise.
13459 [C99-based-standards] (SCNdLEAST64): Likewise.
13460 [C99-based-standards] (SCNiLEAST64): Likewise.
13461 [C99-based-standards] (SCNoLEAST64): Likewise.
13462 [C99-based-standards] (SCNuLEAST64): Likewise.
13463 [C99-based-standards] (SCNxLEAST64): Likewise.
13464 [C99-based-standards] (PRIdFAST64): Likewise.
13465 [C99-based-standards] (PRIiFAST64): Likewise.
13466 [C99-based-standards] (PRIoFAST64): Likewise.
13467 [C99-based-standards] (PRIuFAST64): Likewise.
13468 [C99-based-standards] (PRIxFAST64): Likewise.
13469 [C99-based-standards] (PRIXFAST64): Likewise.
13470 [C99-based-standards] (SCNdFAST64): Likewise.
13471 [C99-based-standards] (SCNiFAST64): Likewise.
13472 [C99-based-standards] (SCNoFAST64): Likewise.
13473 [C99-based-standards] (SCNuFAST64): Likewise.
13474 [C99-based-standards] (SCNxFAST64): Likewise.
13475 [C99-based-standards] (PRIdMAX): Likewise.
13476 [C99-based-standards] (PRIiMAX): Likewise.
13477 [C99-based-standards] (PRIoMAX): Likewise.
13478 [C99-based-standards] (PRIuMAX): Likewise.
13479 [C99-based-standards] (PRIxMAX): Likewise.
13480 [C99-based-standards] (PRIXMAX): Likewise.
13481 [C99-based-standards] (SCNdMAX): Likewise.
13482 [C99-based-standards] (SCNiMAX): Likewise.
13483 [C99-based-standards] (SCNoMAX): Likewise.
13484 [C99-based-standards] (SCNuMAX): Likewise.
13485 [C99-based-standards] (SCNxMAX): Likewise.
13486 [C99-based-standards] (PRIdPTR): Likewise.
13487 [C99-based-standards] (PRIiPTR): Likewise.
13488 [C99-based-standards] (PRIoPTR): Likewise.
13489 [C99-based-standards] (PRIuPTR): Likewise.
13490 [C99-based-standards] (PRIxPTR): Likewise.
13491 [C99-based-standards] (PRIXPTR): Likewise.
13492 [C99-based-standards] (SCNdPTR): Likewise.
13493 [C99-based-standards] (SCNiPTR): Likewise.
13494 [C99-based-standards] (SCNoPTR): Likewise.
13495 [C99-based-standards] (SCNuPTR): Likewise.
13496 [C99-based-standards] (SCNxPTR): Likewise.
13497 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13498 allow.
13499 * conform/data/stdint.h-data: Update comments to clarify
13500 requirements.
13501 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13502 type.
13503 [C99-based standards] (INT8_MAX): Likewise.
13504 [C99-based standards] (INT16_MIN): Likewise.
13505 [C99-based standards] (INT16_MAX): Likewise.
13506 [C99-based standards] (INT32_MIN): Likewise.
13507 [C99-based standards] (INT32_MAX): Likewise.
13508 [C99-based standards] (INT64_MIN): Likewise.
13509 [C99-based standards] (INT64_MAX): Likewise.
13510 [C99-based standards] (UINT8_MAX): Likewise.
13511 [C99-based standards] (UINT16_MAX): Likewise.
13512 [C99-based standards] (UINT32_MAX): Likewise.
13513 [C99-based standards] (UINT64_MAX): Likewise.
13514 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13515 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13516 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13517 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13518 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13519 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13520 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13521 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13522 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13523 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13524 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13525 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13526 [C99-based standards] (INT_FAST8_MIN): Likewise.
13527 [C99-based standards] (INT_FAST8_MAX): Likewise.
13528 [C99-based standards] (INT_FAST16_MIN): Likewise.
13529 [C99-based standards] (INT_FAST16_MAX): Likewise.
13530 [C99-based standards] (INT_FAST32_MIN): Likewise.
13531 [C99-based standards] (INT_FAST32_MAX): Likewise.
13532 [C99-based standards] (INT_FAST64_MIN): Likewise.
13533 [C99-based standards] (INT_FAST64_MAX): Likewise.
13534 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13535 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13536 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13537 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13538 [C99-based standards] (INTPTR_MIN): Likewise.
13539 [C99-based standards] (INTPTR_MAX): Likewise.
13540 [C99-based standards] (UINTPTR_MAX): Likewise.
13541 [C99-based standards] (INTMAX_MIN): Likewise.
13542 [C99-based standards] (INTMAX_MAX): Likewise.
13543 [C99-based standards] (UINTMAX_MAX): Likewise.
13544 [C99-based standards] (PTRDIFF_MIN): Likewise.
13545 [C99-based standards] (PTRDIFF_MAX): Likewise.
13546 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13547 [C99-based standards] (SIZE_MAX): Likewise.
13548 [C99-based standards] (WCHAR_MAX): Likewise.
13549 [C99-based standards] (WINT_MAX): Likewise.
13550 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13551 constraint on value.
13552 [C99-based standards] (WCHAR_MIN): Likewise.
13553 [C99-based standards] (WINT_MIN): Likewise.
13554 [C99-based standards] (*_t): Allow.
13555 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13556 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13557 Include math.h-data and complex.h-data. Remove all expectations
13558 of math.h and complex.h contents.
13559 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13560 at end of line.
13561 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13562 (struct tm): Expect tag.
13563 [C99-based-standards] (wcstof): Expect function.
13564 [C99-based-standards] (wcstold): Likewise.
13565 [C99-based-standards] (wcstoll): Likewise.
13566 [C99-based-standards] (wcstoull): Likewise.
13567 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13568 macro-int-constant. Specify type.
13569 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13570 constraint on value.
13571 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13572 Specify type.
13573 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13574 Specify value.
13575 [ISO C standards]: Do not allow headers.
13576 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13577 wcs[abcdefghijklmnopqrstuvwxyz]*.
13578 [ISO C standards] (*_t): Do not allow.
13579 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13580 Expect function.
13581 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13582 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13583 Specify type.
13584 [ISO C standards]: Do not allow headers.
13585 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13586 is[abcdefghijklmnopqrstuvwxyz]*.
13587 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13588 to[abcdefghijklmnopqrstuvwxyz]*.
13589 [ISO C standards] (*_t): Do not allow.
13590 * conform/data/stdalign.h-data: New file.
13591 * conform/data/stdbool.h-data: Likewise.
13592 * conform/data/stdnoreturn.h-data: Likewise.
13593
7514feb8
RM
135942012-11-07 Roland McGrath <roland@hack.frob.com>
13595
13596 [BZ #14815]
13597 * manual/filesys.texi (Directory Entries): Typo fix.
13598 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13599
19b2ecfc
MS
136002012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13601
13602 * elf/elf.h (EM_AARCH64): New macro.
13603 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13604 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13605 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13606 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13607 (R_AARCH64_TLSDESC): Likewise.
13608 (NT_ARM_TLS): Likewise.
13609 (NT_ARM_HW_BREAK): Likewise.
13610 (NT_ARM_HW_WATCH): Likewise.
13611
60e235ee
JM
136122012-11-07 Joseph Myers <joseph@codesourcery.com>
13613
13614 [BZ #14811]
13615 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13616 (__ieee754_powl): Saturate nonzero exponents with absolute value
13617 below 0x1p-79 to +/- 0x1p-79.
13618 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13619 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13620 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13621 nonzero exponents with absolute value below 0x1p-32 to +/-
13622 0x1p-32.
13623 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13624 (__ieee754_powl): Saturate nonzero exponents with absolute value
13625 below 0x1p-79 to +/- 0x1p-79.
13626 * math/libm-test.inc (pow_test): Add more tests.
13627
0ab234b7
AK
136282012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13629
13630 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13631 _dl_s390_cap_flags with kernel. Increase string length.
13632 (_dl_s390_platforms): Add z196 and zEC12.
13633
45832f74
JM
136342012-11-07 Joseph Myers <joseph@codesourcery.com>
13635
13636 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13637 Change XOPEN21K to XOPEN2K.
13638
19218757
MK
136392012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13640
13641 * string/memmove.c: Use memcpy when possible.
13642
c5f45721
AJ
136432012-11-06 Andreas Jaeger <aj@suse.de>
13644
13645 * po/eo.po: Update from translation team.
13646
82477c28
JM
136472012-11-06 Joseph Myers <joseph@codesourcery.com>
13648
13649 [BZ #14793]
13650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13651 exponent and small x and y exponents, scale x or y up. Increase
13652 by 2 the exponent used in scaling up.
13653 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13654 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13655 * math/libm-test.inc (fma_test): Add more tests.
13656 (fma_test_towardzero): Likewise.
13657 (fma_test_downward): Likewise.
13658 (fma_test_upward): Likewise.
13659
99252c8c
JM
136602012-11-05 Joseph Myers <joseph@codesourcery.com>
13661
acfa885f
JM
13662 [BZ #14805]
13663 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13664 fenv_t *.
13665
99252c8c
JM
13666 [BZ #14801]
13667 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13668 namespace for names of struct fields.
13669 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13670 fenv_t fields.
13671 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13672 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13673
d6d98dea
ST
136742012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13675
13676 [BZ #3665]
13677 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13678
e10bb107
TS
136792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13680
13681 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13682 PTR_DEMANGLE.
13683
13684 [BZ #5246]
13685 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13686 PTR_DEMANGLE.
13687
a0c2940d
JM
136882012-11-04 Joseph Myers <joseph@codesourcery.com>
13689
13690 [BZ #14797]
13691 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13692 definitely overflow as x * y not x * y + z.
13693 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13694 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13695 * math/libm-test.inc (fma_test): Add more tests.
13696 (fma_test_towardzero): Likewise.
13697 (fma_test_downward): Likewise.
13698 (fma_test_upward): Likewise.
13699
b830319d
TS
137002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13701
13702 [BZ #157]
13703
13704 * include/stub-tag.h: Remove file.
13705 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13706 '#include' of it.
13707 * manual/maint.texi (Porting): Don't reference it.
13708 * Makerules ($(objpfx)stubs): Likewise.
13709 * dirent/closedir.c: Don't include <stub-tag.h>.
13710 * dirent/dirfd.c: Likewise.
13711 * dirent/fdopendir.c: Likewise.
13712 * dirent/getdents.c: Likewise.
13713 * dirent/getdents64.c: Likewise.
13714 * dirent/opendir.c: Likewise.
13715 * dirent/readdir.c: Likewise.
13716 * dirent/readdir64.c: Likewise.
13717 * dirent/readdir64_r.c: Likewise.
13718 * dirent/readdir_r.c: Likewise.
13719 * dirent/rewinddir.c: Likewise.
13720 * dirent/seekdir.c: Likewise.
13721 * dirent/telldir.c: Likewise.
13722 * gmon/profil.c: Likewise.
13723 * grp/setgroups.c: Likewise.
13724 * inet/if_index.c: Likewise.
13725 * io/access.c: Likewise.
13726 * io/chdir.c: Likewise.
13727 * io/chmod.c: Likewise.
13728 * io/chown.c: Likewise.
13729 * io/close.c: Likewise.
13730 * io/dup.c: Likewise.
13731 * io/dup2.c: Likewise.
13732 * io/dup3.c: Likewise.
13733 * io/euidaccess.c: Likewise.
13734 * io/faccessat.c: Likewise.
13735 * io/fchdir.c: Likewise.
13736 * io/fchmod.c: Likewise.
13737 * io/fchmodat.c: Likewise.
13738 * io/fchown.c: Likewise.
13739 * io/fchownat.c: Likewise.
13740 * io/fcntl.c: Likewise.
13741 * io/flock.c: Likewise.
13742 * io/fstatfs.c: Likewise.
13743 * io/fstatfs64.c: Likewise.
13744 * io/fstatvfs.c: Likewise.
13745 * io/fstatvfs64.c: Likewise.
13746 * io/futimens.c: Likewise.
13747 * io/fxstat.c: Likewise.
13748 * io/fxstat64.c: Likewise.
13749 * io/fxstatat.c: Likewise.
13750 * io/fxstatat64.c: Likewise.
13751 * io/getcwd.c: Likewise.
13752 * io/isatty.c: Likewise.
13753 * io/lchmod.c: Likewise.
13754 * io/lchown.c: Likewise.
13755 * io/link.c: Likewise.
13756 * io/linkat.c: Likewise.
13757 * io/lseek.c: Likewise.
13758 * io/lseek64.c: Likewise.
13759 * io/lxstat64.c: Likewise.
13760 * io/mkdir.c: Likewise.
13761 * io/mkdirat.c: Likewise.
13762 * io/mkfifo.c: Likewise.
13763 * io/mkfifoat.c: Likewise.
13764 * io/open.c: Likewise.
13765 * io/open64.c: Likewise.
13766 * io/openat.c: Likewise.
13767 * io/openat64.c: Likewise.
13768 * io/pipe.c: Likewise.
13769 * io/pipe2.c: Likewise.
13770 * io/poll.c: Likewise.
13771 * io/posix_fadvise.c: Likewise.
13772 * io/posix_fadvise64.c: Likewise.
13773 * io/posix_fallocate.c: Likewise.
13774 * io/posix_fallocate64.c: Likewise.
13775 * io/read.c: Likewise.
13776 * io/readlink.c: Likewise.
13777 * io/readlinkat.c: Likewise.
13778 * io/rmdir.c: Likewise.
13779 * io/sendfile.c: Likewise.
13780 * io/sendfile64.c: Likewise.
13781 * io/statfs.c: Likewise.
13782 * io/statfs64.c: Likewise.
13783 * io/statvfs.c: Likewise.
13784 * io/statvfs64.c: Likewise.
13785 * io/symlink.c: Likewise.
13786 * io/symlinkat.c: Likewise.
13787 * io/ttyname.c: Likewise.
13788 * io/ttyname_r.c: Likewise.
13789 * io/umask.c: Likewise.
13790 * io/unlink.c: Likewise.
13791 * io/unlinkat.c: Likewise.
13792 * io/utime.c: Likewise.
13793 * io/utimensat.c: Likewise.
13794 * io/write.c: Likewise.
13795 * io/xmknod.c: Likewise.
13796 * io/xmknodat.c: Likewise.
13797 * io/xstat.c: Likewise.
13798 * io/xstat64.c: Likewise.
13799 * login/getpt.c: Likewise.
13800 * login/grantpt.c: Likewise.
13801 * login/unlockpt.c: Likewise.
13802 * math/e_acoshl.c: Likewise.
13803 * math/e_acosl.c: Likewise.
13804 * math/e_asinl.c: Likewise.
13805 * math/e_atan2l.c: Likewise.
13806 * math/e_atanhl.c: Likewise.
13807 * math/e_coshl.c: Likewise.
13808 * math/e_expl.c: Likewise.
13809 * math/e_fmodl.c: Likewise.
13810 * math/e_gammal_r.c: Likewise.
13811 * math/e_hypotl.c: Likewise.
13812 * math/e_j0l.c: Likewise.
13813 * math/e_j1l.c: Likewise.
13814 * math/e_jnl.c: Likewise.
13815 * math/e_lgammal_r.c: Likewise.
13816 * math/e_log10l.c: Likewise.
13817 * math/e_log2l.c: Likewise.
13818 * math/e_logl.c: Likewise.
13819 * math/e_powl.c: Likewise.
13820 * math/e_rem_pio2l.c: Likewise.
13821 * math/e_sinhl.c: Likewise.
13822 * math/e_sqrtl.c: Likewise.
13823 * math/fclrexcpt.c: Likewise.
13824 * math/fedisblxcpt.c: Likewise.
13825 * math/feenablxcpt.c: Likewise.
13826 * math/fegetenv.c: Likewise.
13827 * math/fegetexcept.c: Likewise.
13828 * math/fegetround.c: Likewise.
13829 * math/feholdexcpt.c: Likewise.
13830 * math/fesetenv.c: Likewise.
13831 * math/fesetround.c: Likewise.
13832 * math/feupdateenv.c: Likewise.
13833 * math/fgetexcptflg.c: Likewise.
13834 * math/fraiseexcpt.c: Likewise.
13835 * math/fsetexcptflg.c: Likewise.
13836 * math/ftestexcept.c: Likewise.
13837 * math/k_cosl.c: Likewise.
13838 * math/k_rem_pio2l.c: Likewise.
13839 * math/k_sinl.c: Likewise.
13840 * math/k_tanl.c: Likewise.
13841 * math/s_asinhl.c: Likewise.
13842 * math/s_atanl.c: Likewise.
13843 * math/s_cbrtl.c: Likewise.
13844 * math/s_erfl.c: Likewise.
13845 * math/s_expm1l.c: Likewise.
13846 * math/s_log1pl.c: Likewise.
13847 * math/s_tanhl.c: Likewise.
13848 * misc/acct.c: Likewise.
13849 * misc/brk.c: Likewise.
13850 * misc/chflags.c: Likewise.
13851 * misc/chroot.c: Likewise.
13852 * misc/fchflags.c: Likewise.
13853 * misc/fgetxattr.c: Likewise.
13854 * misc/flistxattr.c: Likewise.
13855 * misc/fremovexattr.c: Likewise.
13856 * misc/fsetxattr.c: Likewise.
13857 * misc/fsync.c: Likewise.
13858 * misc/ftruncate.c: Likewise.
13859 * misc/futimes.c: Likewise.
13860 * misc/futimesat.c: Likewise.
13861 * misc/getdomain.c: Likewise.
13862 * misc/getdtsz.c: Likewise.
13863 * misc/gethostid.c: Likewise.
13864 * misc/gethostname.c: Likewise.
13865 * misc/getloadavg.c: Likewise.
13866 * misc/getpagesize.c: Likewise.
13867 * misc/getsysstats.c: Likewise.
13868 * misc/getxattr.c: Likewise.
13869 * misc/gtty.c: Likewise.
13870 * misc/ioctl.c: Likewise.
13871 * misc/lgetxattr.c: Likewise.
13872 * misc/listxattr.c: Likewise.
13873 * misc/llistxattr.c: Likewise.
13874 * misc/lremovexattr.c: Likewise.
13875 * misc/lsetxattr.c: Likewise.
13876 * misc/lutimes.c: Likewise.
13877 * misc/madvise.c: Likewise.
13878 * misc/mincore.c: Likewise.
13879 * misc/mlock.c: Likewise.
13880 * misc/mlockall.c: Likewise.
13881 * misc/mmap.c: Likewise.
13882 * misc/mprotect.c: Likewise.
13883 * misc/msync.c: Likewise.
13884 * misc/munlock.c: Likewise.
13885 * misc/munlockall.c: Likewise.
13886 * misc/munmap.c: Likewise.
13887 * misc/preadv.c: Likewise.
13888 * misc/preadv64.c: Likewise.
13889 * misc/ptrace.c: Likewise.
13890 * misc/pwritev.c: Likewise.
13891 * misc/pwritev64.c: Likewise.
13892 * misc/readv.c: Likewise.
13893 * misc/reboot.c: Likewise.
13894 * misc/remap_file_pages.c: Likewise.
13895 * misc/removexattr.c: Likewise.
13896 * misc/revoke.c: Likewise.
13897 * misc/select.c: Likewise.
13898 * misc/setdomain.c: Likewise.
13899 * misc/setegid.c: Likewise.
13900 * misc/seteuid.c: Likewise.
13901 * misc/sethostid.c: Likewise.
13902 * misc/sethostname.c: Likewise.
13903 * misc/setregid.c: Likewise.
13904 * misc/setreuid.c: Likewise.
13905 * misc/setxattr.c: Likewise.
13906 * misc/sstk.c: Likewise.
13907 * misc/stty.c: Likewise.
13908 * misc/swapoff.c: Likewise.
13909 * misc/swapon.c: Likewise.
13910 * misc/sync.c: Likewise.
13911 * misc/syncfs.c: Likewise.
13912 * misc/syscall.c: Likewise.
13913 * misc/truncate.c: Likewise.
13914 * misc/ualarm.c: Likewise.
13915 * misc/usleep.c: Likewise.
13916 * misc/ustat.c: Likewise.
13917 * misc/utimes.c: Likewise.
13918 * misc/vhangup.c: Likewise.
13919 * misc/writev.c: Likewise.
13920 * posix/_exit.c: Likewise.
13921 * posix/alarm.c: Likewise.
13922 * posix/execve.c: Likewise.
13923 * posix/fexecve.c: Likewise.
13924 * posix/fork.c: Likewise.
13925 * posix/fpathconf.c: Likewise.
13926 * posix/getaddrinfo.c: Likewise.
13927 * posix/getegid.c: Likewise.
13928 * posix/geteuid.c: Likewise.
13929 * posix/getgid.c: Likewise.
13930 * posix/getgroups.c: Likewise.
13931 * posix/getlogin.c: Likewise.
13932 * posix/getlogin_r.c: Likewise.
13933 * posix/getpgid.c: Likewise.
13934 * posix/getpid.c: Likewise.
13935 * posix/getppid.c: Likewise.
13936 * posix/getresgid.c: Likewise.
13937 * posix/getresuid.c: Likewise.
13938 * posix/getsid.c: Likewise.
13939 * posix/getuid.c: Likewise.
13940 * posix/glob64.c: Likewise.
13941 * posix/nanosleep.c: Likewise.
13942 * posix/pathconf.c: Likewise.
13943 * posix/pause.c: Likewise.
13944 * posix/posix_madvise.c: Likewise.
13945 * posix/pread.c: Likewise.
13946 * posix/pread64.c: Likewise.
13947 * posix/pwrite.c: Likewise.
13948 * posix/pwrite64.c: Likewise.
13949 * posix/sched_getaffinity.c: Likewise.
13950 * posix/sched_getp.c: Likewise.
13951 * posix/sched_gets.c: Likewise.
13952 * posix/sched_primax.c: Likewise.
13953 * posix/sched_primin.c: Likewise.
13954 * posix/sched_rr_gi.c: Likewise.
13955 * posix/sched_setaffinity.c: Likewise.
13956 * posix/sched_setp.c: Likewise.
13957 * posix/sched_sets.c: Likewise.
13958 * posix/sched_yield.c: Likewise.
13959 * posix/setgid.c: Likewise.
13960 * posix/setlogin.c: Likewise.
13961 * posix/setpgid.c: Likewise.
13962 * posix/setresgid.c: Likewise.
13963 * posix/setresuid.c: Likewise.
13964 * posix/setsid.c: Likewise.
13965 * posix/setuid.c: Likewise.
13966 * posix/sleep.c: Likewise.
13967 * posix/spawni.c: Likewise.
13968 * posix/sysconf.c: Likewise.
13969 * posix/times.c: Likewise.
13970 * posix/wait.c: Likewise.
13971 * posix/wait3.c: Likewise.
13972 * posix/wait4.c: Likewise.
13973 * posix/waitpid.c: Likewise.
13974 * resolv/gai_sigqueue.c: Likewise.
13975 * resource/getpriority.c: Likewise.
13976 * resource/getrlimit.c: Likewise.
13977 * resource/getrusage.c: Likewise.
13978 * resource/nice.c: Likewise.
13979 * resource/setpriority.c: Likewise.
13980 * resource/setrlimit.c: Likewise.
13981 * resource/ulimit.c: Likewise.
13982 * rt/aio_cancel.c: Likewise.
13983 * rt/aio_fsync.c: Likewise.
13984 * rt/aio_read.c: Likewise.
13985 * rt/aio_sigqueue.c: Likewise.
13986 * rt/aio_suspend.c: Likewise.
13987 * rt/aio_write.c: Likewise.
13988 * rt/clock_getres.c: Likewise.
13989 * rt/clock_gettime.c: Likewise.
13990 * rt/clock_nanosleep.c: Likewise.
13991 * rt/clock_settime.c: Likewise.
13992 * rt/lio_listio.c: Likewise.
13993 * rt/mq_close.c: Likewise.
13994 * rt/mq_getattr.c: Likewise.
13995 * rt/mq_notify.c: Likewise.
13996 * rt/mq_open.c: Likewise.
13997 * rt/mq_receive.c: Likewise.
13998 * rt/mq_send.c: Likewise.
13999 * rt/mq_setattr.c: Likewise.
14000 * rt/mq_timedreceive.c: Likewise.
14001 * rt/mq_timedsend.c: Likewise.
14002 * rt/mq_unlink.c: Likewise.
14003 * rt/shm_open.c: Likewise.
14004 * rt/shm_unlink.c: Likewise.
14005 * rt/timer_create.c: Likewise.
14006 * rt/timer_delete.c: Likewise.
14007 * rt/timer_getoverr.c: Likewise.
14008 * rt/timer_gettime.c: Likewise.
14009 * rt/timer_settime.c: Likewise.
14010 * setjmp/__longjmp.c: Likewise.
14011 * setjmp/setjmp.c: Likewise.
14012 * signal/kill.c: Likewise.
14013 * signal/killpg.c: Likewise.
14014 * signal/raise.c: Likewise.
14015 * signal/sigaction.c: Likewise.
14016 * signal/sigaltstack.c: Likewise.
14017 * signal/sigblock.c: Likewise.
14018 * signal/sigignore.c: Likewise.
14019 * signal/sigintr.c: Likewise.
14020 * signal/signal.c: Likewise.
14021 * signal/sigpause.c: Likewise.
14022 * signal/sigpending.c: Likewise.
14023 * signal/sigqueue.c: Likewise.
14024 * signal/sigreturn.c: Likewise.
14025 * signal/sigset.c: Likewise.
14026 * signal/sigsetmask.c: Likewise.
14027 * signal/sigstack.c: Likewise.
14028 * signal/sigsuspend.c: Likewise.
14029 * signal/sigtimedwait.c: Likewise.
14030 * signal/sigvec.c: Likewise.
14031 * signal/sigwait.c: Likewise.
14032 * signal/sigwaitinfo.c: Likewise.
14033 * signal/sysv_signal.c: Likewise.
14034 * socket/accept.c: Likewise.
14035 * socket/accept4.c: Likewise.
14036 * socket/bind.c: Likewise.
14037 * socket/connect.c: Likewise.
14038 * socket/getpeername.c: Likewise.
14039 * socket/getsockname.c: Likewise.
14040 * socket/getsockopt.c: Likewise.
14041 * socket/isfdtype.c: Likewise.
14042 * socket/listen.c: Likewise.
14043 * socket/recv.c: Likewise.
14044 * socket/recvfrom.c: Likewise.
14045 * socket/recvmsg.c: Likewise.
14046 * socket/send.c: Likewise.
14047 * socket/sendmsg.c: Likewise.
14048 * socket/sendto.c: Likewise.
14049 * socket/setsockopt.c: Likewise.
14050 * socket/shutdown.c: Likewise.
14051 * socket/sockatmark.c: Likewise.
14052 * socket/socket.c: Likewise.
14053 * socket/socketpair.c: Likewise.
14054 * stdio-common/ctermid.c: Likewise.
14055 * stdio-common/cuserid.c: Likewise.
14056 * stdio-common/remove.c: Likewise.
14057 * stdio-common/rename.c: Likewise.
14058 * stdio-common/renameat.c: Likewise.
14059 * stdio-common/tempname.c: Likewise.
14060 * stdlib/getcontext.c: Likewise.
14061 * stdlib/makecontext.c: Likewise.
14062 * stdlib/setcontext.c: Likewise.
14063 * stdlib/swapcontext.c: Likewise.
14064 * stdlib/system.c: Likewise.
14065 * streams/fattach.c: Likewise.
14066 * streams/fdetach.c: Likewise.
14067 * streams/getmsg.c: Likewise.
14068 * streams/getpmsg.c: Likewise.
14069 * streams/putmsg.c: Likewise.
14070 * streams/putpmsg.c: Likewise.
14071 * sysdeps/unix/bsd/getpt.c: Likewise.
14072 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14073 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14074 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14076 Likewise.
14077 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14078 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14079 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14080 * sysvipc/msgctl.c: Likewise.
14081 * sysvipc/msgget.c: Likewise.
14082 * sysvipc/msgrcv.c: Likewise.
14083 * sysvipc/msgsnd.c: Likewise.
14084 * sysvipc/semctl.c: Likewise.
14085 * sysvipc/semget.c: Likewise.
14086 * sysvipc/semop.c: Likewise.
14087 * sysvipc/semtimedop.c: Likewise.
14088 * sysvipc/shmat.c: Likewise.
14089 * sysvipc/shmctl.c: Likewise.
14090 * sysvipc/shmdt.c: Likewise.
14091 * sysvipc/shmget.c: Likewise.
14092 * termios/tcdrain.c: Likewise.
14093 * termios/tcflow.c: Likewise.
14094 * termios/tcflush.c: Likewise.
14095 * termios/tcgetattr.c: Likewise.
14096 * termios/tcgetpgrp.c: Likewise.
14097 * termios/tcsendbrk.c: Likewise.
14098 * termios/tcsetattr.c: Likewise.
14099 * termios/tcsetpgrp.c: Likewise.
14100 * time/adjtime.c: Likewise.
14101 * time/clock.c: Likewise.
14102 * time/getitimer.c: Likewise.
14103 * time/gettimeofday.c: Likewise.
14104 * time/setitimer.c: Likewise.
14105 * time/settimeofday.c: Likewise.
14106 * time/stime.c: Likewise.
14107 * time/time.c: Likewise.
14108
141092012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 14110
a20492cf
PT
14111 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14112 /usr/old/bin.
14113
72e182e3
PT
14114 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14115 instead of spaces.
14116 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14117
fbeafede
JM
141182012-11-03 Joseph Myers <joseph@codesourcery.com>
14119
5b5b04d6
JM
14120 [BZ #14796]
14121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14122 FE_TONEAREST before applying Dekker multiplication and Knuth
14123 addition. Clear inexact exceptions and check for exact zero
14124 results afterwards.
14125 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14126 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14128 * math/libm-test.inc (fma_test): Add more tests.
14129 (fma_test_towardzero): Likewise.
14130 (fma_test_downward): Likewise.
14131 (fma_test_upward): Likewise.
14132 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14133 function.
14134 (libc_fesetround): New macro.
14135 (libc_fesetroundf): Likewise.
14136 (libc_fesetroundl): Likewise.
14137 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14138 function.
14139 (libc_fesetround_387): Likewise.
14140 (libc_fesetroundf): New macro.
14141 (libc_fesetround): Likewise.
14142 (libc_fesetroundl): Likewise.
14143 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14144 function.
14145 (libc_fesetroundf): New macro.
14146 (libc_fesetround): Likewise.
14147 (libc_fesetroundl): Likewise.
14148 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14149 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14150 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14151 libm_hidden_ver.
14152 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14153 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14154 libm_hidden_def.
14155 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14156 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14157 libm_hidden_ver.
14158 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14159 libm_hidden_def.
14160
fbeafede
JM
14161 [BZ #3439]
14162 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14163 integer constant usable in #if and use that to give value to enum
14164 constant.
14165 (FE_DIVBYZERO): Likewise.
14166 (FE_UNDERFLOW): Likewise.
14167 (FE_OVERFLOW): Likewise.
14168 (FE_INVALID): Likewise.
14169 (FE_INVALID_SNAN): Likewise.
14170 (FE_INVALID_ISI): Likewise.
14171 (FE_INVALID_IDI): Likewise.
14172 (FE_INVALID_ZDZ): Likewise.
14173 (FE_INVALID_IMZ): Likewise.
14174 (FE_INVALID_COMPARE): Likewise.
14175 (FE_INVALID_SOFTWARE): Likewise.
14176 (FE_INVALID_SQRT): Likewise.
14177 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14178 (FE_TONEAREST): Likewise.
14179 (FE_TOWARDZERO): Likewise.
14180 (FE_UPWARD): Likewise.
14181 (FE_DOWNWARD): Likewise.
14182 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14183 (FE_DIVBYZERO): Likewise.
14184 (FE_OVERFLOW): Likewise.
14185 (FE_UNDERFLOW): Likewise.
14186 (FE_INEXACT): Likewise.
14187 (FE_TONEAREST): Likewise.
14188 (FE_DOWNWARD): Likewise.
14189 (FE_UPWARD): Likewise.
14190 (FE_TOWARDZERO): Likewise.
14191 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14192 (FE_UNDERFLOW): Likewise.
14193 (FE_OVERFLOW): Likewise.
14194 (FE_DIVBYZERO): Likewise.
14195 (FE_INVALID): Likewise.
14196 (FE_TONEAREST): Likewise.
14197 (FE_TOWARDZERO): Likewise.
14198 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14199 (FE_OVERFLOW): Likewise.
14200 (FE_UNDERFLOW): Likewise.
14201 (FE_DIVBYZERO): Likewise.
14202 (FE_INEXACT): Likewise.
14203 (FE_TONEAREST): Likewise.
14204 (FE_TOWARDZERO): Likewise.
14205 (FE_UPWARD): Likewise.
14206 (FE_DOWNWARD): Likewise.
14207 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14208 (FE_DIVBYZERO): Likewise.
14209 (FE_OVERFLOW): Likewise.
14210 (FE_UNDERFLOW): Likewise.
14211 (FE_INEXACT): Likewise.
14212 (FE_TONEAREST): Likewise.
14213 (FE_DOWNWARD): Likewise.
14214 (FE_UPWARD): Likewise.
14215 (FE_TOWARDZERO): Likewise.
14216
105ca950
CM
142172012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14218
14219 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14220
a542b389
AS
142212012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14222
14223 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14224 commands. Quote $PWD.
14225 (blacklist_exports): Don't use remove_newlines. Replace "declare
14226 -x" by "export".
14227 (remove_newlines): Remove.
14228
f62c8abc
L
142292012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14230
14231 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14232 * stdlib/stdlib.h (atof): Moved to ...
14233 * include/bits/stdlib-float.h: Here. New file.
14234 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14235 * stdlib/bits/stdlib-float.h: New file.
14236 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14237 -mno-sse -mno-mmx.
14238 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14239 <xmmintrin.h>.
14240
0155d5b2
JM
142412012-11-02 Joseph Myers <joseph@codesourcery.com>
14242
a68d0680
JM
14243 * conform/conformtest.pl (@headers): Add fenv.h.
14244 * conform/data/fenv.h-data: New file.
14245 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14246 include of <math/fenv.h>.
14247
caf7f573
JM
14248 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14249 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14250 && !UNIX98]. Enables tests for XOPEN2K8.
14251 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14252 POSIX2008]: Likewise.
14253
6c073ad6
JM
14254 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14255 (struct rusage): Do not expect type or its members.
14256
0155d5b2
JM
14257 [BZ #3439]
14258 * math/math.h (FP_NAN): Define macro to integer constant usable in
14259 #if and use that to give value to enum constant.
14260 (FP_INFINITE): Likewise.
14261 (FP_ZERO): Likewise.
14262 (FP_SUBNORMAL): Likewise.
14263 (FP_NORMAL): Likewise.
14264
b5dcacb4
AS
142652012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14266
14267 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14268 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14269 arguments.
14270
f7934be8
RM
142712012-11-02 Roland McGrath <roland@hack.frob.com>
14272
14273 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14274 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14275 autoconf-time if not.
14276 * configure.in: Remove AC_PREREQ.
14277
d7d08bde
TMQMF
142782012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14279
14280 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14281 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14282 of the internal implementation.
14283
dcdae19a
JM
142842012-11-02 Joseph Myers <joseph@codesourcery.com>
14285
14286 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14287 except include of <misc/sys/syslog.h>.
14288
d6cffd3e
AS
142892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14290
14291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14292 function returns with a NULL context exit with zero.
14293
b3563932
TMQMF
142942012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14295
14296 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14297
b288a93d
L
142982012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14299
14300 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14301 (run_program_cmd): This.
14302 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14303 (tst_langinfo): New variable. Use it.
14304
a2421a68
SAS
143052012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14306
14307 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14308 floating point opcodes.
14309
6f796e1b
TS
143102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14311
7402596b
TS
14312 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14313 variable.
14314
d0d4f868
TS
14315 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14316
6f796e1b
TS
14317 * sysdeps/mach/hurd/powerpc: Remove directory.
14318 * sysdeps/mach/powerpc: Likewise.
14319
4da224a2
AS
143202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14321
14322 * scripts/check-local-headers.sh: Ignore c++ headers.
14323
341dd673
TS
143242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14325
14326 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14327 __libc_cleanup_region_start argument.
14328
473611b2
JM
143292012-11-01 Joseph Myers <joseph@codesourcery.com>
14330
14331 [BZ #14784]
14332 [BZ #14785]
14333 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14334 x * y using scaling, not as x * y + z.
14335 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14336 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14337 * math/libm-test.inc (fma_test): Add more tests.
14338 (fma_test_towardzero): Likewise.
14339 (fma_test_downward): Likewise.
14340 (fma_test_upward): Likewise.
14341
4078da3d
TS
143422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14343
14344 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14345
903252aa
JM
143462012-10-31 Joseph Myers <joseph@codesourcery.com>
14347
14348 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14349 New variable.
14350
cbc818d0
TS
143512012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14352
14353 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14354
5a03cb1e
AS
143552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14356
14357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14358 Fix sort order.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14360 Likewise.
14361
90aff2ff
TMQMF
143622012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14363
14364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14365 Fix the order of the list for glibc 2.17.
14366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14367 Likewise.
14368
1818fcb7
AS
143692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14370
14371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14372
ef82f4da
JM
143732012-10-31 Joseph Myers <joseph@codesourcery.com>
14374
16a0e2ec
JM
14375 [BZ #14610]
14376 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14377 for low part of x being zero before using __atanl (y).
14378 * math/libm-test.inc (atan2_test): Add another test.
14379
0eb69512
JM
14380 * manual/install.texi (Configuring and compiling): Document
14381 general use of test-wrapper and test-wrapper-env.
14382 * INSTALL: Regenerated.
14383
ef82f4da
JM
14384 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14385 (__fma): Do not extract and scale down low bits on after-rounding
14386 systems when result rounded to normal precision would have normal
14387 exponent.
14388 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14389 (__fmal): Do not extract and scale down low bits on after-rounding
14390 systems when result rounded to normal precision would have normal
14391 exponent.
14392 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14393 (__fmal): Do not extract and scale down low bits on after-rounding
14394 systems when result rounded to normal precision would have normal
14395 exponent.
14396 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14397 macro.
14398 (fma_test): Add more tests.
14399 (fma_test_towardzero): Likewise.
14400 (fma_test_downward): Likewise.
14401 (fma_test_upward): Likewise.
14402
954ef0d9
L
144032012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14404
14405 * sysdeps/i386/tininess.h: Renamed to ...
14406 * sysdeps/x86/tininess.h: This.
14407 * sysdeps/x86_64/tininess.h: Removed.
14408
df61ffb2
JM
144092012-10-30 Joseph Myers <joseph@codesourcery.com>
14410
14411 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14412 input. Use $(build-program-cmd).
14413 ($(objpfx)tst-array1-static.out): Likewise.
14414 ($(objpfx)tst-array2.out): Likewise.
14415 ($(objpfx)tst-array3.out): Likewise.
14416 ($(objpfx)tst-array4.out): Likewise.
14417 ($(objpfx)tst-array5.out): Likewise.
14418 ($(objpfx)tst-array5-static.out): Likewise.
14419
01767843
CM
144202012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14421
47cc1490
CM
14422 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14423 if defined.
14424
01767843
CM
14425 * nss/nsswitch.h (nss_interface_function): Provide new
14426 macro for use with NSS functions.
14427 * grp/initgroups.c: Use new macro.
14428 * nss/getXXbyYY.c: Likewise.
14429 * nss/getXXbyYY_r.c: Likewise.
14430 * nss/getXXent.c: Likewise.
14431 * nss/getXXent_r.c: Likewise.
14432 * sysdeps/posix/getaddrinfo.c: Likewise.
14433
8321aa97
AJ
144342012-10-30 Andreas Jaeger <aj@suse.de>
14435
14436 * po/ru.po: Update Russion translation from translation project.
14437
2a27fd6d
JM
144382012-10-30 Joseph Myers <joseph@codesourcery.com>
14439
8627a232
JM
14440 [BZ #14152]
14441 [BZ #14783]
14442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14443 result and shift together with sticky bit instead of replicating
14444 round-to-nearest rounding.
14445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14447 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14448 missing underflow exceptions.
14449 (fma_test_towardzero): Add more tests.
14450 (fma_test_downward): Likewise.
14451 (fma_test_upward): Likewise.
14452
2a27fd6d
JM
14453 [BZ #14047]
14454 * sysdeps/generic/tininess.h: New file.
14455 * sysdeps/i386/tininess.h: Likewise.
14456 * sysdeps/sh/tininess.h: Likewise.
14457 * sysdeps/x86_64/tininess.h: Likewise.
14458 * stdlib/tst-strtod-underflow.c: Likewise.
14459 * stdlib/tst-tininess.c: Likewise.
14460 * stdlib/strtod_l.c: Include <tininess.h>.
14461 (round_and_return): Do not set errno for exact underflow cases.
14462 Force an underflow exception when setting errno for underflow.
14463 Determine underflow based on rounding to normal precision if
14464 TININESS_AFTER_ROUNDING.
14465 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14466 ERANGE for exact underflow cases.
14467 * stdlib/Makefile (tests): Add tst-tininess and
14468 tst-strtod-underflow.
14469 ($(objpfx)tst-tininess): Use $(link-libm).
14470 ($(objpfx)tst-strtod-underflow): Likewise.
14471
e7170363
AJ
144722012-10-30 Andreas Jaeger <aj@suse.de>
14473
e5088dc6
AJ
14474 [BZ#14767]
14475 * elf/Makefile (tests): Remove conditional for have-initfini-array
14476 since this is now always required and the variable does not exist
14477 anymore.
14478 (tests-static): Likewise.
14479 (modules-names): Likewise.
14480
e7170363 14481 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14482
14483 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14484 merged with constructor/destructor.
14485 (init_array): Likewise.
14486 * elf/tst-array2dep.c (fini_array): Likewise.
14487 (init_array): Likewise.
14488
60457d8a
MF
144892012-10-29 Mike Frysinger <vapier@gentoo.org>
14490
14491 * manual/message.texi: Delete @cartouche tags.
14492
8bece752
PT
144932012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14494
94ce799f
PT
14495 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14496 EOPNOTSUPP.
14497 * sysdeps/mach/hurd/fsync.c: Likewise.
14498
8bece752
PT
14499 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14500 [_POSIX_REALTIME_SIGNALS]: Change condition to
14501 [_POSIX_REALTIME_SIGNALS > 0].
14502
86ebe6b1
AJ
145032012-10-27 Andreas Jaeger <aj@suse.de>
14504
14505 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14506 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14508 [__WORDSIZE != 64]: Likewise.
14509
54399c08
L
145102012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14511
14512 * iconvdata/tst-table.sh: Remove ${SHELL}.
14513 * iconvdata/tst-tables.sh: Likewise.
14514
e2211bed
DM
145152012-10-25 David S. Miller <davem@davemloft.net>
14516
14517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14518 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14519 of strtoull.
14520
f303f97c
DM
14521 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14522 ifunc-impl-list.c
14523 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14524 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14525 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14526 file.
14527
1e9d84cd
RM
145282012-10-25 Roland McGrath <roland@hack.frob.com>
14529
14530 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14531 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14532 __getdirentries.
14533
df381762
JM
145342012-10-25 Joseph Myers <joseph@codesourcery.com>
14535 Jim Blandy <jimb@codesourcery.com>
14536
14537 * scripts/cross-test-ssh.sh: New file.
14538 * manual/install.texi (Configuring and compiling): Document use of
14539 cross-test-ssh.sh.
14540 * INSTALL: Regenerated.
14541
bff64913
PT
145422012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14543
14544 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14545 EOPNOTSUPP.
14546
25fe8932
JM
145472012-10-25 Joseph Myers <joseph@codesourcery.com>
14548
14549 * Makeconfig (run-program-prefix): Fix comment.
14550
cc1290d0
JM
145512012-10-24 Joseph Myers <joseph@codesourcery.com>
14552 Jim Blandy <jimb@codesourcery.com>
14553
14554 * Makeconfig (test-wrapper): New variable,
14555 (test-wrapper-env): Likewise.
14556 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14557 (run-built-tests): Define to yes.
14558 (run-program-prefix): Use $(test-wrapper).
14559 (built-program-cmd): Likewise.
14560 * Rules (make-test-out): Use $(test-wrapper-env) and
14561 $(host-built-program-cmd).
14562 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14563 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14564 tst-pathopt.sh.
14565 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14566 $(test-wrapper-env) to tst-rtld-load-self.sh.
14567 ($(objpfx)order2.out): Use $(test-wrapper).
14568 ($(objpfx)tst-initorder.out): Likewise.
14569 ($(objpfx)tst-initorder2.out): Likewise.
14570 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14571 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14572 (test_wrapper_env): New variable. Use it to run ld.so.
14573 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14574 Use it to run ld.so.
14575 (test_wrapper_env): Likewise.
14576 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14577 $(test-wrapper) to run-iconv-test.sh.
14578 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14579 (ICONV): Use $test_wrapper.
14580 * posix/Makefile ($(objpfx)globtest.out): Pass
14581 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14582 globtest.sh, not $(run-program-prefix).
14583 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14584 (test_wrapper): Likewise.
14585 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14586 set together with run_via_rtld_prefix.
14587 (run_program_prefix): Define in terms of test_wrapper and
14588 run_via_rtld_prefix.
14589
6e6249d0
RM
145902012-10-24 Roland McGrath <roland@hack.frob.com>
14591
14592 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14593 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14594 Targets removed.
14595
14596 [BZ #14743]
14597 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14598 Declare __clock_getres, __clock_gettime, __clock_settime,
14599 __clock_nanosleep, and __clock_getcpuclockid.
14600 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14601 Remove librt_hidden_def (clock_gettime).
14602 * sysdeps/unix/clock_gettime.c: Likewise.
14603 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14604 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14605 * rt/clock_getres.c: Define __clock_getres as an alias.
14606 * sysdeps/posix/clock_getres.c: Likewise.
14607 * rt/clock_settime.c: Define __clock_settime as an alias.
14608 * sysdeps/unix/clock_settime.c: Likewise.
14609 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14610 * sysdeps/unix/clock_nanosleep.c: Likewise.
14611 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14612 * rt/clock-compat.c: New file.
14613 * rt/Makefile (librt-routines): Add clock-compat and move
14614 $(clock-routines) to ...
14615 (routines): ... here, new variable.
14616 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14617 Don't add get_clockfreq here.
14618 * rt/Versions (libc: GLIBC_2.17): New version set.
14619 Add clock_* symbols here.
14620 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14622 (GLIBC_2.17): Add clock_* symbols.
14623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14627 Likewise.
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14629 Likewise.
14630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14634 * NEWS: Mention the move.
14635
14636 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14637 Use __open, __read, __close rather than their public counterparts.
14638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14639 (__get_clockfreq_via_cpuinfo): Likewise.
14640 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14641 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14642
14643 * config.h.in (HAVE_IFUNC): New #undef.
14644 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14645 was successful.
14646 * configure: Regenerated.
14647
0cae3f4b
MF
146482012-10-24 Mike Frysinger <vapier@gentoo.org>
14649
14650 * configure.in: Move READELF check to start of file.
14651 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14652 libc_cv_asm_gnu_indirect_function in the process.
14653 * configure: Regenerated.
14654
8175a253
MF
146552012-10-24 Mike Frysinger <vapier@gentoo.org>
14656
14657 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14658 send the output to /dev/null.
14659 (libc_cv_cc_with_libunwind): Likewise.
14660 (libc_cv_as_noexecstack): Likewise.
14661 * configure: Regenerate.
14662
0708a7d1
JM
146632012-10-24 Joseph Myers <joseph@codesourcery.com>
14664
10b40d85
JM
14665 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14666
0708a7d1
JM
14667 * posix/globtest.sh (TMPDIR): Do not set.
14668 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14669 (testout): Likewise.
14670
9fddec1a
AJ
146712012-10-24 Andreas Jaeger <aj@suse.de>
14672
3a8db22f
AJ
14673 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14674 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14675 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14676 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14677 posix_fadvise64, posix_fallocate64.
14678
9fddec1a
AJ
14679 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14680 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14681 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14682 Likewise.
14683 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14684 Likewise.
14685 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14686
14687 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14688 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14689 <bits/fcntl-linux.h>.
14690 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14691
14692 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14693 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14694 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14695 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14696 [__WORDSIZE != 64]: Likewise.
14697
ebfd1bbd
JM
146982012-10-23 Joseph Myers <joseph@codesourcery.com>
14699
03ac099f
JM
14700 * Makeconfig (run-built-tests): New variable.
14701 * Rules [$(cross-compiling) = yes]: Change condition to
14702 [$(run-built-tests) = no].
14703 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14704 to [$(run-built-tests) = yes].
14705 * elf/Makefile [$(cross-compiling) = no]: Likewise
14706 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14707 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14708 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14709 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14710 * io/Makefile [$(cross-compiling) = no]: Likewise.
14711 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14712 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14713 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14714 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14715 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14716 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14717 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14718 * string/Makefile [$(cross-compiling) = no]: Likewise.
14719
ebfd1bbd
JM
14720 * posix/Makefile ($(objpfx)globtest.out): Pass
14721 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14722 $(rtld-installed-name).
14723 * posix/globtest.sh (elf_objpfx): Remove variable.
14724 (rtld_installed_name): Likewise.
14725 (library_path): Likewise.
14726 (run_program_prefix): New variable. Use for running globtest
14727 binary.
14728
166bca24
JB
147292012-10-23 Jim Blandy <jimb@codesourcery.com>
14730 Joseph Myers <joseph@codesourcery.com>
14731
14732 * Makeconfig (host-built-program-cmd): New variable.
14733 * elf/Makefile (tst-stackguard1-ARGS): Use
14734 $(host-built-program-cmd).
14735 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14736 (tst-spawn-ARGS): Likewise.
14737 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14738
88866099
JM
147392012-10-23 Joseph Myers <joseph@codesourcery.com>
14740 Jim Blandy <jimb@codesourcery.com>
14741
14742 * Makeconfig (run-via-rtld-prefix): New variable.
14743 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14744 (built-program-cmd): Likewise.
14745
b4b4c296
AJ
147462012-10-22 Andreas Jaeger <aj@suse.de>
14747
14748 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14749 __O_RSYNC if it exists, otherwise to O_SYNC.
14750
6fb54a22
JB
147512012-10-22 Jim Blandy <jimb@codesourcery.com>
14752 Joseph Myers <joseph@codesourcery.com>
14753
14754 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14755 /dev/null.
14756 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14757 from /dev/null
14758 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14759 /dev/null.
14760
481b90b9
AJ
147612012-10-22 Andreas Jaeger <aj@suse.de>
14762
2a0e2669
AJ
14763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14764 Define always.
14765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14766
76e38f9a
AJ
14767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14768 bits/fcntl-linux.h.
14769
7cd37b43
AJ
14770 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14771 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14772
481b90b9
AJ
14773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14774 to __O_LARGEFILE.
14775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14776 to __O_LARGEFILE.
14777
aba75984
JB
147782012-10-21 Jim Blandy <jimb@codesourcery.com>
14779 Joseph Myers <joseph@codesourcery.com>
14780
14781 * config.make.in (NM): New variable.
14782
88d4247f
AJ
147832012-10-21 Andreas Jaeger <aj@suse.de>
14784
14785 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14786 definitions and declarations that are provided by
14787 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14788
f2eed205
L
147892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14790
14791 [BZ #14683]
14792 * elf/Makefile (tests-static): Add tst-leaks1-static.
14793 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14794 ($(objpfx)tst-leaks1-static): New rule.
14795 ($(objpfx)tst-leaks1-static-mem): Likewise.
14796 (tst-leaks1-static-ENV): New macro.
14797 * elf/dl-open.c (dl_open_worker): Check the main application
14798 only if SHARED is defined.
14799 * elf/tst-leaks1-static.c: New file.
14800
335e6931
AJ
148012012-10-20 Andreas Jaeger <aj@suse.de>
14802
14803 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14804 generic values for Linux.
14805 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14806 and declarations that are provided by <bits/fcntl-linux.h> and
14807 include <bits/fcntl-linux.h>.
14808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14809 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14810
ac5c94d3
RM
148112012-10-20 Roland McGrath <roland@hack.frob.com>
14812
14813 * io/fcntl.h: Move include of <bits/types.h> to the top and
14814 include it unconditionally.
14815
de54b33a
L
148162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14817
228cfb01
L
14818 * wcsmbs/Makefile (tests-ifunc): New variable.
14819 (tests): Add $(tests-ifunc).
14820 * wcsmbs/test-wcschr-ifunc.c: New file.
14821 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14822 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14823 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14824 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14825 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14826
69f07e5f
L
14827 * string/Makefile (tests-ifunc): New variable.
14828 (tests): Add $(tests-ifunc).
14829 * string/test-memccpy.c (TEST_NAME): New macro.
14830 * string/test-memchr.c (TEST_NAME): Likewise.
14831 * string/test-memcmp.c (TEST_NAME): Likewise.
14832 * string/test-memcpy.c (TEST_NAME): Likewise.
14833 * string/test-memmem.c (TEST_NAME): Likewise.
14834 * string/test-memmove.c (TEST_NAME): Likewise.
14835 * string/test-memset.c (TEST_NAME): Likewise.
14836 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14837 * string/test-stpcpy.c (TEST_NAME): Likewise.
14838 * string/test-stpncpy.c (TEST_NAME): Likewise.
14839 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14840 * string/test-strcasestr.c (TEST_NAME): Likewise.
14841 * string/test-strcat.c (TEST_NAME): Likewise.
14842 * string/test-strchr.c (TEST_NAME): Likewise.
14843 * string/test-strcmp.c(TEST_NAME): Likewise.
14844 * string/test-strcpy.c (TEST_NAME): Likewise.
14845 * string/test-strcspn.c (TEST_NAME): Likewise.
14846 * string/test-strlen.c (TEST_NAME): Likewise.
14847 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14848 * string/test-strncmp.c (TEST_NAME): Likewise.
14849 * string/test-strncpy.c (TEST_NAME): Likewise.
14850 * string/test-strnlen.c (TEST_NAME): Likewise.
14851 * string/test-strpbrk.c (TEST_NAME): Likewise.
14852 * string/test-strrchr.c (TEST_NAME): Likewise.
14853 * string/test-strspn.c (TEST_NAME): Likewise.
14854 * string/test-strstr.c (TEST_NAME): Likewise.
14855 * string/test-bcopy-ifunc.c: New file.
14856 * string/test-bzero-ifunc.c: Likewise.
14857 * string/test-memccpy-ifunc.c: Likewise.
14858 * string/test-memchr-ifunc.c: Likewise.
14859 * string/test-memcmp-ifunc.c: Likewise.
14860 * string/test-memcpy-ifunc.c: Likewise.
14861 * string/test-memmem-ifunc.c: Likewise.
14862 * string/test-memmove-ifunc.c: Likewise.
14863 * string/test-mempcpy-ifunc.c: Likewise.
14864 * string/test-memset-ifunc.c: Likewise.
14865 * string/test-rawmemchr-ifunc.c: Likewise.
14866 * string/test-stpcpy-ifunc.c: Likewise.
14867 * string/test-stpncpy-ifunc.c: Likewise.
14868 * string/test-strcasecmp-ifunc.c: Likewise.
14869 * string/test-strcasestr-ifunc.c: Likewise.
14870 * string/test-strcat-ifunc.c: Likewise.
14871 * string/test-strchr-ifunc.c: Likewise.
14872 * string/test-strchrnul-ifunc.c: Likewise.
14873 * string/test-strcmp-ifunc.c: Likewise.
14874 * string/test-strcpy-ifunc.c: Likewise.
14875 * string/test-strcspn-ifunc.c: Likewise.
14876 * string/test-strlen-ifunc.c: Likewise.
14877 * string/test-strncasecmp-ifunc.c: Likewise.
14878 * string/test-strncat-ifunc.c: Likewise.
14879 * string/test-strncmp-ifunc.c: Likewise.
14880 * string/test-strncpy-ifunc.c: Likewise.
14881 * string/test-strnlen-ifunc.c: Likewise.
14882 * string/test-strpbrk-ifunc.c: Likewise.
14883 * string/test-strrchr-ifunc.c: Likewise.
14884 * string/test-strspn-ifunc.c: Likewise.
14885 * string/test-strstr-ifunc.c: Likewise.
14886
de54b33a
L
14887 * debug/Makefile (tests-ifunc): New variable.
14888 (tests): Add $(tests-ifunc).
14889 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14890 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14891 * debug/test-stpcpy_chk-ifunc.c: New file.
14892 * debug/test-strcpy_chk-ifunc.c: Likewise.
14893
88481c16
SP
148942012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14895
14896 [BZ #13601]
14897 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14898 header is not read in.
14899
135948bd
JM
149002012-10-19 Joseph Myers <joseph@codesourcery.com>
14901
89f1c388
JM
14902 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14903 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14904 directly. Pass built executable to script as
14905 $(built-program-cmd).
14906 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14907 $testprogram without using LD_LIBRARY_PATH and $ldso.
14908
e40a0d21
JM
14909 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14910 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14911 $(rtld-installed-name).
14912 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14913 (rtld_installed_name): Likewise.
14914 (library_path): Likewise.
14915 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14916 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14917 $(run-program-prefix) to tst-tables.sh.
14918 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14919 it to run tst-table-from and tst-table-to.
14920 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14921 Pass it to tst-table.sh.
14922 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14923 $(run-program-prefix) to tst-gettext.sh.
14924 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14925 tst-translit.sh.
14926 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14927 tst-gettext2.sh.
14928 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14929 to run tst-gettext.
14930 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14931 to run tst-gettext2.
14932 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14933 to run tst-translit.
14934 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14935 $(run-program-prefix) to tst-mtrace.sh.
14936 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14937 to run tst-mtrace.
14938 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14939 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14940 $(rtld-installed-name).
14941 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14942 (rtld_installed_name): Likewise.
14943 (run_program_prefix): New variable. Use it to run wordexp-test.
14944
728e272a
JM
14945 * Makeconfig (ARCH): Remove all definitions.
14946 (machine): Likewise.
14947 [ARCH]: Remove conditional code.
14948 [!objdir]: Give error.
14949 [!objdir] (objpfx): Remove.
14950 [!objdir] (common-objpfx): Likewise.
14951 [!objdir] (common-objdir): Likewise.
14952 * configure.in (config_makefile): Remove. Hardcode Makefile in
14953 AC_CONFIG_FILES call.
14954 * configure: Regenerated.
14955
d528cdcf
JM
14956 [BZ #13888]
14957 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14958 or TMPDIR.
14959 (testout): Likewise.
14960
135948bd
JM
14961 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14962 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14963 $(rtld-installed-name).
14964 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14965 (rtld_installed_name): Likwise.
14966 (runit): Remove function.
14967 (run_getconf): New variable, Use it for running getconf binary.
14968
38c78296
L
149692012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14970
14971 [BZ #14716]
14972 * string/test-memmem.c (check_result): New function.
14973 (do_one_test): Use it.
14974 (check1): New function.
14975 (test_main): Use it.
14976
d077f65f
MT
149772012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14978
14979 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14980
ced52c71
JM
149812012-10-18 Joseph Myers <joseph@codesourcery.com>
14982
14983 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14984 (_G_LSEEK64): Likewise.
14985 (_G_MMAP64): Likewise.
14986 (_G_FSTAT64): Likewise.
14987 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14988 (_G_LSEEK64): Likewise.
14989 (_G_MMAP64): Likewise.
14990 (_G_FSTAT64): Likewise.
14991 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14992 unconditional. Call __mmap64 directly.
14993 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14994 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14995 __lseek64 directly.
14996 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14997 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14998 __mmap64 directly.
14999 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15000 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15001 __lseek64 directly.
15002 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15003 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15004 __lseek64 directly.
15005 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15006 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15007 __lseek64 directly.
15008 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15009 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15010 __fxstat64 directly.
15011 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15012 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15013 unconditional.
15014 (freopen64) [!_G_OPEN64]: Remove conditional code.
15015 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15016 unconditional.
15017 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15018 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15019 unconditional.
15020 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15021 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15022 unconditional.
15023 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15024 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15025 unconditional.
15026 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15027 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15028 unconditional.
15029 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15030 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15031 unconditional.
15032 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15033 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15034 unconditional.
15035 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15036
b741de23
SP
150372012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15038
15039 [BZ #12140]
15040 * manual/memory.texi (Malloc Tunable Parameters): Add note
15041 about free list pointers overwriting some perturb bytes.
15042 Wording suggested by Roland McGrath.
15043
f9b9d9c9
JM
150442012-10-17 Joseph Myers <joseph@codesourcery.com>
15045
15046 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15047 (lgamma_test): Likewise.
15048 (tgamma_test): Likewise.
15049
172a631a
FW
150502012-10-16 Florian Weimer <fweimer@redhat.com>
15051
15052 [BZ #14700]
15053 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15054 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15055
e9f37252
MK
150562012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15057
15058 * NEWS: Mention BZ #14716.
15059 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15060 when removing AVAILABLE1_USES_J macro.
15061
d394eb74
L
150622012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15063
15064 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15065 (__bswap_64): __uint64_t for unsigned 64-bit int.
15066
ca38dc17
AS
150672012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15068
15069 * include/string.h (memmem): Declare libc hidden alias.
15070 * string/memmem.c (memmem): Define libc hidden alias.
15071 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15072 __read, __close instead of open, read, close.
15073
9a387d1f
L
150742012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15075
ac49ecaf
L
15076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15077 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15078 global and hidden.
15079 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15080 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15081 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15082 Likewise.
15083 (__rawmemchr_sse2): Likewise.
15084 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15085 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15086 (__strchr_sse2): Likewise.
15087 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15088 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15089 (__strcasecmp_sse2): Likewise.
15090 (__strncasecmp_sse2): Likewise.
15091 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15092 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15093 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15094 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15095 (__strrchr_sse2): Likewise.
15096 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15097 ifunc-impl-list.c.
15098 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15099 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15100 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15101 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15102 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15103 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15104 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15105 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15106 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15107 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15108 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15109 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15110 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15111 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15112 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15113 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15114 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15115 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15116 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15117 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15118 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15119 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15120 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15121 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15122 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15123 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15124 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15125 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15126 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15127 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15128
b090e8ea
L
15129 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15130 global and hidden.
15131 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15132 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15133 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15134 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15135 Likewise.
15136 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15137 Likewise.
15138 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15139 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15140 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15141 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15142 ifunc-impl-list.c.
15143 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15144 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15145 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15146 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15147 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15148 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15149 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15150 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15151 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15152 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15153 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15154 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15155 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15156 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15157 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15158 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15159 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15160 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15161 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15162 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15163 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15164 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15165 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15166 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15167 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15168 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15169 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15170 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15171 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15172 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15173 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15174 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15175 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15176 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15177 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15178 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15179 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15180 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15181 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15182 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15183 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15184
11dd4af6
L
15185 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15186 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15187 * include/ifunc-impl-list.h: New file.
15188 * misc/ifunc-impl-list.c: Likewise.
15189 * misc/Makefile (routines): Add ifunc-impl-list.
15190 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15191 * string/test-string.h: Include <ifunc-impl-list.h>.
15192 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15193 impl_array): New variables.
15194 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15195 are defined.
15196 (test_init): Call __libc_ifunc_impl_list to initialize
15197 func_list if TEST_IFUNC and TEST_NAME are defined.
15198
9a387d1f
L
15199 * string/Makefile (strop-tests): Add bcopy and bzero.
15200 * string/test-bcopy.c: New file.
15201 * string/test-bzero.c: Likewise.
15202 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15203 defined.
15204 * string/test-memset.c: Support bzero test if TEST_BZERO is
15205 defined.
15206 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15207 __libc_memmove.
15208 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15209 __libc_memset.
15210 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15211 of memset.
15212
472371b9
JM
152132012-10-10 Joseph Myers <joseph@codesourcery.com>
15214
1e4a9536
JM
15215 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15216 * configure: Regenerated.
15217
d173d12e
JM
15218 * Makeconfig (+link-static-before-libc): Don't include
15219 $(link-static-libc).
15220
472371b9
JM
15221 * libio/libio.h (_IO_pos_t): Remove.
15222
89a3ad0b
AO
152232012-10-10 Alexandre Oliva <aoliva@redhat.com>
15224
15225 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15226 McGrath.
15227
e7451425
AO
152282012-10-10 Alexandre Oliva <aoliva@redhat.com>
15229
15230 * crypt/crypt-entry.c: Include fips-private.h.
15231 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15232 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15233 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15234 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15235
4ba74a35
AO
152362012-10-10 Alexandre Oliva <aoliva@redhat.com>
15237
15238 * crypt/crypt-private.h: Include stdbool.h.
15239 (_ufc_setup_salt_r): Return bool.
15240 * crypt/crypt-entry.c: Include errno.h.
15241 (__crypt_r): Return NULL with EINVAL for bad salt.
15242 * crypt/crypt_util.c (bad_for_salt): New.
15243 (_ufc_setup_salt_r): Check that salt is long enough and within
15244 the specified alphabet.
15245 * crypt/badsalttest.c: New file.
15246 * crypt/Makefile (tests): Add it.
15247 ($(objpfx)badsalttest): New.
15248
f96f1242
MK
152492012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15250
15251 * NEWS: Add entry for BZ #14602.
15252
0e8e0c1c
JM
152532012-10-09 Joseph Myers <joseph@codesourcery.com>
15254
15255 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15256 type-generic.
15257 * math/libm-test.inc: Update comment listing what functions and
15258 macros are tested.
15259 (isgreater_test): New function.
15260 (isgreaterequal_test): Likewise.
15261 (isless_test): Likewise.
15262 (islessequal_test): Likewise.
15263 (islessgreater_test): Likewise.
15264 (isunordered_test): Likewise.
15265 (main): Call the new functions.
15266
273edc5e
RM
152672012-10-09 Roland McGrath <roland@hack.frob.com>
15268
b8493de0
RM
15269 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15270 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15271 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15272 * sysdeps/i386/configure: Regenerated.
15273 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15274 * sysdeps/mach/configure: Regenerated.
15275 * sysdeps/mach/hurd/configure: Regenerated.
15276 * sysdeps/powerpc/configure: Regenerated.
15277 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15278 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15279 * sysdeps/s390/s390-32/configure: Regenerated.
15280 * sysdeps/s390/s390-64/configure: Regenerated.
15281 * sysdeps/sh/configure: Regenerated.
15282 * sysdeps/sparc/configure: Regenerated.
15283 * sysdeps/unix/sysv/linux/configure: Regenerated.
15284 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15285 * sysdeps/x86_64/configure: Regenerated.
15286
273edc5e
RM
15287 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15288 defined. Don't check if MAP is NULL.
15289
c8450f70
JM
152902012-10-09 Joseph Myers <joseph@codesourcery.com>
15291
15292 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15293 (_G_stat64): Likewise.
15294 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15295 (_G_stat64): Likewise.
15296 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15297 instead of struct _G_stat64.
15298 * libio/fileops.c (mmap_remap_check): Likewise.
15299 (decide_maybe_mmap): Likewise.
15300 (_IO_new_file_seekoff): Likewise.
15301 (_IO_file_stat): Likewise.
15302 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15303 _G_off64_t.
15304 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15305 instead of struct _G_stat64.
15306 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15307
57e605ba
MK
153082012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15309
15310 [BZ #14602]
15311 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15312 Replace with ...
15313 (CHECK_EOL): New macro.
15314 (two_way_short_needle): Check beginning of haystack for EOL. Use
15315 CHECK_EOL.
15316 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15317 Replace with CHECK_EOL.
15318 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15319 Replace with CHECK_EOL.
15320
ef1bb361
JM
153212012-10-08 Joseph Myers <joseph@codesourcery.com>
15322
15323 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15324 type-generic.
15325 * math/libm-test.inc: Update comment listing what functions and
15326 macros are tested.
15327 (finite_test): New function.
15328 (isinf_test): Likewise.
15329 (isnan_test): Likewise.
15330 (fpclassify_test): Test subnormal input.
15331 (isfinite_test): Likewise.
15332 (isnormal_test): Likewise.
15333 (main): Call the new functions.
15334
55f11534
JN
153352012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15336
15337 [BZ #14660]
15338 * Makerules (%.dynsym): Force C locale when running
15339 $(OBJDUMP) --dynamic-syms.
15340
1ab29350
AS
153412012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15342
15343 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15344 <stdint.h>.
15345
f1ecb7ef
DM
153462012-10-06 David S. Miller <davem@davemloft.net>
15347
15348 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15349 upper 32-bits of the length value in %o2 since we use branch-on-register
15350 tests which consider the entire 64-bit register.
15351
5d41d91a
L
153522012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15353
15354 * string/test-strstr.c (check2): Add a test for page boundary.
15355
3baddb72
DM
153562012-10-05 David S. Miller <davem@davemloft.net>
15357
15358 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15359 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15360 file.
15361 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15362 sysdep_routines.
15363 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15364 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15365 and bzero when HWCAP_SPARC_CRYPTO is present.
15366
9cee5585
L
153672012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15368
d7e0dab9
L
15369 [BZ #14602]
15370 * string/test-strstr.c (check2): New function.
15371 (test_main): Call check2.
15372
03759f47
L
15373 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15374 and bug-strchr1.
15375 * string/bug-strcasestr1.c (do_test): Moved to ...
15376 * string/test-strcasestr.c (check1): Here. New function.
15377 (do_one_test): Break out result checking code into ...
15378 (check_result): This. New function.
15379 (do_one_test): Call check_result.
15380 (test_main): Call check1.
15381 * string/bug-strchr1.c (do_test): Moved to ...
15382 * string/test-strchr.c (check1): Here. New function.
15383 (do_one_test): Break out result checking code into ...
15384 (check_result): This. New function.
15385 (do_one_test): Call check_result.
15386 (test_main): Call check1.
15387 * string/bug-strstr1.c (main): Moved to ...
046f153e 15388 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15389 (do_one_test): Break out result checking code into ...
15390 (check_result): This. New function.
15391 (do_one_test): Call check_result.
15392 (test_main): Call check1.
15393 * string/bug-strcasestr1.c: Removed.
15394 * string/bug-strchr1.c: Likewise.
15395 * string/bug-strstr1.c: Likewise.
15396
53cea63e
L
15397 * elf/Makefile (dl-routines): Add hwcaps.
15398 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15399 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15400 (_dl_important_hwcaps): Moved to ...
15401 * elf/dl-hwcaps.c: Here. New file.
15402 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15403
9cee5585 15404 [BZ #14557]
bb859b06
L
15405 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15406 if IS_IN_rtld isn't defined.
15407
9cee5585
L
15408 * elf/dl-support.c (_dl_sysinfo_map): New.
15409 Include "get-dynamic-info.h" and "setup-vdso.h".
15410 (_dl_non_dynamic_init): Call setup_vdso.
15411 * elf/dynamic-link.h: Don't include <assert.h>.
15412 (elf_get_dynamic_info): Moved to ...
15413 * elf/get-dynamic-info.h: Here. New file.
15414 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15415 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15416 * elf/setup-vdso.h: Here. New file.
15417 * elf/rtld.c: Include "setup-vdso.h".
15418 (dl_main): Call setup_vdso.
15419
23c31b76
JM
154202012-10-05 Joseph Myers <joseph@codesourcery.com>
15421
28234b07
JM
15422 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15423 creal in comment listing functions tested. List finite, isinf,
15424 isnan, isless, islessequal, isgreater, isgreaterequal,
15425 islessgreater, isunordered, lgamma_r and pow10 as functions and
15426 macros not tested. Mention which functions not tested are aliases
15427 for other functions. Fix typo. Note that signs of NaNs are not
15428 tested.
15429
23c31b76
JM
15430 * scripts/config.guess: Update from config.git.
15431 * scripts/config.sub: Likewise.
15432
9043e228
RM
154332012-10-04 Roland McGrath <roland@hack.frob.com>
15434
15435 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15436 * misc/madvise.c (madvise): Renamed to __madvise.
15437 Make madvise a weak alias.
15438 * include/sys/mman.h: Declare __madvise.
15439 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15440 * sysdeps/unix/syscalls.list
15441 (madvise): Make __madvise the strong name, and madvise a weak alias.
15442 * sysdeps/unix/sysv/linux/syscalls.list
15443 (madvise, mmap): Remove redundant entries.
15444 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15445 * malloc/malloc.c (mtrim): Likewise.
15446 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15447
f57f8055
RM
154482012-10-03 Roland McGrath <roland@hack.frob.com>
15449
15450 * sysdeps/mach/hurd/dl-cache.c: File removed.
15451 * config.h.in (USE_LDCONFIG): New #undef.
15452 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15453 * configure: Regenerated.
15454 * elf/Makefile (dl-routines): Add dl-cache only under
15455 [$(use-ldconfig) = yes].
15456 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15457 cache on [USE_LDCONFIG].
15458 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15459 [USE_LDCONFIG].
15460 * elf/rtld.c (dl_main): Likewise.
15461
5bb0c10a
PT
154622012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15463
15464 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15465 _SC_LEVEL4_CACHE_LINESIZE.
15466
010188c6
RM
154672012-10-03 Roland McGrath <roland@hack.frob.com>
15468
15469 * sysdeps/unix/bsd/confstr.h: File removed.
15470
b6c5ec07
AO
154712012-10-02 Alexandre Oliva <aoliva@redhat.com>
15472
15473 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15474 sys/sdt-config.h.
15475
408223d4
RM
154762012-10-02 Roland McGrath <roland@hack.frob.com>
15477
15478 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15479 Make 'mapoff' field ElfW(Off) rather than off_t.
15480
bb9510dc
DL
154812012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15482
fc997c6e
DL
15483 * nscd/Makefile: Remove nscd-cflags and all its users.
15484 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15485 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15486
bb9510dc
DL
15487 [BZ #10631]
15488 * malloc.c (malloc_printerr): Clarify error message.
15489
05699367
L
154902012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15491
15492 [BZ #14648]
15493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15494 Set bit_FMA_Usable if FMA is supported.
15495 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15496 macro.
15497 (bit_FMA4_Usable): Updated.
15498 (index_FMA_Usable): New macro.
15499 (CPUID_FMA): Likewise
15500 (HAS_FMA): Defined with bit_FMA_Usable.
15501
51367701
RM
155022012-10-01 Roland McGrath <roland@hack.frob.com>
15503
15504 * bits/types.h (__swblk_t): Type removed.
15505 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15506 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15507 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15508 (__SWBLK_T_TYPE): Likewise.
15509 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15510 (__SWBLK_T_TYPE): Likewise.
15511 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15512 (__SWBLK_T_TYPE): Likewise.
15513 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15514 (__SWBLK_T_TYPE): Likewise.
15515
4d57bf63 155162012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15517 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15518
15519 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15520 (xdr_mapname): Use YPMAXMAP as maxsize.
15521 (xdr_peername): Use YPMAXPEER as maxsize.
15522 (xdr_keydat): Use YPAXRECORD as maxsize.
15523 (xdr_valdat): Use YPMAXRECORD as maxsize.
15524
93c65d43
RM
155252012-10-01 Roland McGrath <roland@hack.frob.com>
15526
497a03d6
RM
15527 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15528
93c65d43
RM
15529 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15530 * csu/init-first.c: ... here.
15531 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15532 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15533 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15534 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15535 * sysdeps/i386/init-first.c: File removed.
15536 * sysdeps/sh/init-first.c: File removed.
15537
bec749fd
JM
155382012-10-01 Joseph Myers <joseph@codesourcery.com>
15539
15540 [BZ #14645]
15541 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15542 if x * y might underflow to zero and z is zero.
15543 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15544 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15545 * math/libm-test.inc (min_subnorm_value): New variable.
15546 (fma_test): Add more tests.
15547 (fma_test_towardzero): Likewise.
15548 (fma_test_downward): Likewise
15549 (fma_test_upward): Likewise.
15550 (initialize): Set min_subnorm_value.
15551
8ec5b013
JM
155522012-09-29 Joseph Myers <joseph@codesourcery.com>
15553
15554 [BZ #14638]
15555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15556 0 + 0.
15557 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15558 mode for addition resulting in exact zero.
15559 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15560 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15561 exact 0 + 0.
15562 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15563 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15564 * math/libm-test.inc (fma_test): Add more tests.
15565 (fma_test_towardzero): New function.
15566 (fma_test_downward): Likewise.
15567 (fma_test_upward): Likewise.
15568 (main): Call the new functions.
15569
b1fa802e
DM
155702012-09-28 David S. Miller <davem@davemloft.net>
15571
15572 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15573
d3b9fd9e
RM
155742012-09-28 Roland McGrath <roland@hack.frob.com>
15575
ea4d37b3
RM
15576 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15577 instead of SIGALRM.
15578
ac51c949
RM
15579 * sysdeps/gnu/_G_config.h: Moved to ...
15580 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15581 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15582 * sysdeps/generic/_G_config.h: ... here.
15583
28c195f7
RM
15584 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15585
848917f9
RM
15586 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15587
6bacf05b
RM
15588 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15589 Conditionalize target on [libnss_test1.so-version].
15590
91363dbb
RM
15591 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15592
cc87f7d8
RM
15593 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15594 (elfobjdir): Move out of conditionals.
15595
b1c608fe
RM
15596 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15597 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15598 (__nss_lookup_function): Conditionalize label remove_from_tree on
15599 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15600
1d9a6d96
DM
156012012-09-28 David S. Miller <davem@davemloft.net>
15602
15603 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15604 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15605 file.
15606 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15607 sysdep_routines.
15608 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15610 when HWCAP_SPARC_CRYPTO is present.
15611
72581615
PT
156122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15613
15614 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15615
715a900c
JL
156162012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15617
15618 [BZ #6530]
15619 * stdio-common/vfprintf.c (process_string_arg): Revert
15620 2000-07-22 change.
15621
156222011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15623
15624 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15625 for testcase.
15626 * stdio-common/tst-sprintf.c: Include <locale.h>
15627 (main): Test sprintf's handling of incomplete multibyte
15628 characters.
15629
9bac1d86
L
156302012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15631
15632 * elf/dl-runtime.c (VERSYMIDX): Removed.
15633 * elf/dl-version.c (VERSYMIDX): Likewise.
15634 * elf/do-rel.h (VERSYMIDX): Likewise.
15635 (VALIDX): Likewise.
15636 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15637 * elf/rtld.c (VALIDX): Likewise.
15638 (ADDRIDX): Likewise.
9bac1d86
L
15639 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15640 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15641 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15642 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15643 (VALIDX): Likewise.
15644 (ADDRIDX): Likewise.
9bac1d86 15645
b31606c0
PT
156462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15647
15648 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15649
11541177
JL
156502012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15651
15652 [BZ #11438]
15653 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15654 to global scope.
15655 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15656 addresses are in the same scope as 192.0.2/24.
15657 * posix/gai.conf: Document new scope table defaults.
15658
adb26fae
SP
156592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15660
15661 [BZ #5298]
15662 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15663 for ftell. Compute offsets from write pointers instead.
15664 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15665
4573c6b0
SP
156662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15667
15668 [BZ #14543]
15669 * libio/Makefile (tests): New test case tst-fseek.
15670 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15671 combination works in wide mode.
15672 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15673 state when the external buffer state changes.
15674
aa9bbfe6
DM
156752012-09-27 David S. Miller <davem@davemloft.net>
15676
15677 [BZ #14376]
15678 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15679 pass reloc->r_addend in as the 'high' argument to
15680 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15681
784421e7
DM
15682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15683
c39bc8b8
PT
156842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15685
15686 * rt/tst-aio2.c: Include <pthread.h>.
15687 * rt/tst-aio3.c: Likewise.
15688
1ccc2399
SE
156892012-09-27 Steve Ellcey <sellcey@mips.com>
15690
15691 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15692
31ed4153
L
156932012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15694
25f5f885
L
15695 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15696 contents on [SHARED].
31ed4153 15697
b7bfe116
MP
156982012-09-26 Marek Polacek <polacek@redhat.com>
15699
15700 [BZ #14530]
15701 [BZ #13741]
15702 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15703 for C++ and GCC <4.3 as well as for non GCC compilers.
15704
43c4edba
MT
157052012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15706
15707 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15708
6a1bf82f
RM
157092012-09-25 Roland McGrath <roland@hack.frob.com>
15710
15711 * Makefile.in (all, install): Declare with .PHONY.
15712 Reported by Michael Hope <michael.hope@linaro.org>.
15713
8ad11b9a
TMQMF
157142012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15715
15716 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15717 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15718 system header.
15719 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15720 Likewise.
15721 (sydep_routines): Add the new and the internal functions.
15722 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15723 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15725 (GLIBC_2.17): Add the new function.
15726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15727 (GLIBC_2.17): Likewise.
15728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15729 (GLIBC_2.17): Likewise.
15730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15731 (GLIBC_2.17): Likewise.
15732 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15733
7e2fca8d
AM
157342012-09-25 Alan Modra <amodra@gmail.com>
15735
15736 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15737 Add release barrier before setting once_control to say
15738 initialisation is done. Add hints on lwarx. Use macro in
15739 place of isync.
15740 (clear_once_control): Add release barrier.
15741
b87c4b24
JM
157422012-09-25 Joseph Myers <joseph@codesourcery.com>
15743
d032e0d2
JM
15744 [BZ #13629]
15745 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15746 specially.
15747 * math/s_clog10.c (__clog10): Likewise.
15748 * math/s_clog10f.c (__clog10f): Likewise.
15749 * math/s_clog10l.c (__clog10l): Likewise.
15750 * math/s_clogf.c (__clogf): Likewise.
15751 * math/s_clogl.c (__clogl): Likewise.
15752 * math/Makefile (libm-calls): Add x2y2m1.
15753 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15754 (__x2y2m1): Likewise.
15755 (__x2y2m1l): Likewise.
15756 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15757 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15758 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15759 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15760 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15761 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15762 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15763 * sysdeps/i386/fpu/libm-test-ulps: Update.
15764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15765
b87c4b24
JM
15766 [BZ #14621]
15767 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15768 int as type of variable DEPTH.
15769 (glob): Use size_t instead of int as type of variables NEWCOUNT
15770 and OLD_PATHC.
15771
6d3bf199
LD
157722012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15773
22bf5c17
LD
15774 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15775 Add s_sincosf-sse2.
15776 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15777 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15778 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15779 macros for using routine as __sincosf_ia32.
15780 Use macro for function declaration and weak_alias.
15781 * sysdeps/i386/fpu/libm-test-ulps: Update.
15782
15783 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15785
15786 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15787 subnormal argument.
15788 * math/s_cexpf.c (__cexpf): Likewise.
15789 * math/s_csinf.c (__csinf): Likewise.
15790 * math/s_csinhf.c (__csinhf): Likewise.
15791 * math/s_ctanf.c (__ctanf): Likewise.
15792 * math/s_ctanhf.c (__ctanhf): Likewise.
15793 * math/s_ccosh.c (__ccoshf): Likewise.
15794 * math/s_cexp.c (__cexpl): Likewise.
15795 * math/s_csin.c (__csin): Likewise.
15796 * math/s_csinh.c (__csinh): Likewise.
15797 * math/s_ctan.c (__ctan): Likewise.
15798 * math/s_ctanh.c (ctanh): Likewise.
15799 * math/s_ccoshl.c (__ccoshl): Likewise.
15800 * math/s_cexpl.c (__cexpl): Likewise.
15801 * math/s_csinl.c (__csinl): Likewise.
15802 * math/s_csinhl.c (__csinhl): Likewise.
15803 * math/s_ctanl.c (__ctanl): Likewise.
15804 * math/s_ctanhl.c (__ctanhl): Likewise.
15805
203e5603
JM
158062012-09-25 Joseph Myers <joseph@codesourcery.com>
15807
15808 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15809 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15810 (_IO_off_t): Define to __off_t, not _G_off_t.
15811 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15812 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15813 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15814 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15815 type of __dummy and __dummy2 fields.
15816 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15817 (_G_ssize_t): Likewise.
15818 (_G_off_t): Likewise.
15819 (_G_pid_t): Likewise.
15820 (_G_uid_t): Likewise.
15821 (_G_wchar_t): Likewise.
15822 (_G_wint_t): Likewise.
15823 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15824 (_G_ssize_t): Likewise.
15825 (_G_off_t): Likewise.
15826 (_G_pid_t): Likewise.
15827 (_G_uid_t): Likewise.
15828 (_G_wchar_t): Likewise.
15829 (_G_wint_t): Likewise.
15830 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15831 (_G_ssize_t): Likewise.
15832 (_G_off_t): Likewise.
15833 (_G_pid_t): Likewise.
15834 (_G_uid_t): Likewise.
15835 (_G_wchar_t): Likewise.
15836 (_G_wint_t): Likewise.
15837
9fab36eb
SP
158382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15839
15840 * malloc/arena.c: Include malloc-sysdep.h.
15841 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15842 is sufficient to shrink the heap or an unmap is needed.
15843 * sysdeps/generic/malloc-sysdep.h: New file. Define
15844 new function check_may_shrink_heap.
15845 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15846 new function check_may_shrink_heap.
15847
2b4f00d1
SP
158482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15849
15850 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15851 comments.
15852
9a9028b1
DL
158532012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15854
57c69bef
DL
15855 * catgets/test-gencat.sh: Add "set -e".
15856 * elf/tst-pathopt.sh: Likewise.
15857 * grp/tst_fgetgrent.sh: Likewise.
15858 * iconvdata/run-iconv-test.sh: Likewise.
15859 * intl/tst-gettext.sh: Likewise.
15860 * intl/tst-gettext2.sh: Likewise.
15861 * intl/tst-gettext4.sh: Likewise.
15862 * intl/tst-gettext6.sh: Likewise.
15863 * intl/tst-translit.sh: Likewise.
15864 * io/ftwtest-sh: Likewise.
15865 * libio/test-freopen.sh: Likewise.
15866 * malloc/tst-mtrace.sh: Likewise.
15867 * posix/globtest.sh: Likewise.
15868 * posix/tst-getconf.sh: Likewise.
15869 * posix/wordexp-tst.sh: Likewise.
15870 * stdio-common/tst-printf.sh: Likewise.
15871 * stdio-common/tst-unbputc.sh: Likewise.
15872 * stdlib/tst-fmtmsg.sh: Likewise.
15873 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15874 * catgets/Makefile: Do not specify -e option when running
15875 testsuite shell scripts.
15876 * elf/Makefile: Likewise.
15877 * grp/Makefile: Likewise.
15878 * iconvdata/Makefile: Likewise.
15879 * intl/Makefile: Likewise.
15880 * io/Makefile: Likewise.
15881 * libio/Makefile: Likewise.
15882 * malloc/Makefile: Likewise.
15883 * posix/Makefile: Likewise.
15884 * stdio-common/Makefile: Likewise.
15885 * stdlib/Makefile: Likewise.
15886 * sysdeps/x86_64/Makefile: Likewise.
15887
9a9028b1
DL
15888 * io/ftwtest-sh: Add copyright header.
15889 * posix/globtest.sh: Likewise.
15890 * posix/tst-getconf.sh: Likewise.
15891 * posix/wordexp-tst.sh: Likewise.
15892 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15893
ced6f16e
L
158942012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15895
94b32c39
L
15896 [BZ #13679]
15897 * Makeconfig (+link): Defined as $(+link-static) if
15898 $(build-shared) isn't yes.
15899 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15900 isn't yes.
15901 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15902
189e935b
L
15903 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15904
ced6f16e
L
15905 [BZ #14562]
15906 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15907 new chunk size with MALLOC_ALIGN_MASK.
15908
a9f8e53a
JM
159092012-09-24 Joseph Myers <joseph@codesourcery.com>
15910
15911 [BZ #5044]
15912 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15913 <rounding-mode.h>.
15914 (__printf_fphex): Determine rounding using get_rounding_mode and
15915 round_away.
15916 * stdio-common/tst-printf-round.c (struct hex_test): New
15917 structure.
15918 (hex_tests): New variable.
15919 (test_hex_in_one_mode): New function.
15920 (do_test): Also run tests for hex float output.
15921
43153109
JM
159222012-09-21 Joseph Myers <joseph@codesourcery.com>
15923
15924 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15925 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15926 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15927 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15928 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15929 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15930 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15931 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15932
8a26625d
JM
159332012-09-20 Joseph Myers <joseph@codesourcery.com>
15934
15935 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15936 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15937 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15938 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15939
f3fd569c
DL
159402012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15941
15942 [BZ #14579]
15943 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15944 mode only.
15945 * elf/tst-rtld-load-self.sh: New test.
15946 * elf/Makefile: Run it.
15947
63bbedd4
JM
159482012-09-18 Joseph Myers <joseph@codesourcery.com>
15949
15950 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15951 (tst-writev-ENV): Remove.
15952 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15953
626f8b6a
CM
159542012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15955
15956 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15957
b7aaa4d6
JM
159582012-09-17 Joseph Myers <joseph@codesourcery.com>
15959
15960 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15961 unconditional.
15962 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15963 Likewise.
15964 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15965 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15966 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15967 Likewise.
15968
65513990
L
159692012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15970
15971 [BZ #14587]
15972 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15973 * config.make.in (have-cpp-asm-debuginfo): Removed.
15974 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15975 * configure: Regenerated.
15976
784761be
JM
159772012-09-14 Joseph Myers <joseph@codesourcery.com>
15978
15979 [BZ #5044]
15980 * stdio-common/printf_fp.c: Include <stdbool.h> and
15981 <rounding-mode.h>.
15982 (___printf_fp): Determine rounding using get_rounding_mode and
15983 round_away.
15984 * stdio-common/tst-printf-round.c: New file.
15985 * stdio-common/Makefile (tests): Add tst-printf-round.
15986 (link-libm): New variable.
15987 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15988
9503345f
L
159892012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15990
15991 [BZ #14576]
15992 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15993 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15994 Likewise.
15995 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15996 Likewise.
15997
ad35fc00
JM
159982012-09-13 Joseph Myers <joseph@codesourcery.com>
15999
16000 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16001 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16002 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16003 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16004
6c9b0f68
JM
160052012-09-12 Joseph Myers <joseph@codesourcery.com>
16006
16007 [BZ #14518]
16008 * include/rounding-mode.h: New file.
16009 * sysdeps/generic/get-rounding-mode.h: Likewise.
16010 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16011 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16012 (MAX_VALUE): New macro.
16013 (MIN_VALUE): Likewise.
16014 (overflow_value): New function.
16015 (underflow_value): Likewise.
16016 (round_and_return): Use overflow_value and underflow_value to
16017 determine return values in overflow and underflow cases. Use
16018 round_away to determine rounding depending on rounding mode.
16019 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16020 determine return values in overflow and underflow cases.
16021 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16022 (struct test_results): New structure.
16023 (struct test): Use struct test_results to store expected results
16024 for all rounding modes.
16025 (TEST): Include expected results for all rounding modes.
16026 (test_in_one_mode): New function.
16027 (do_test): Use test_in_one_mode to compute and check results.
16028 Check results for all rounding modes.
16029 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16030 $(link-libm).
16031
19fcedd5
AM
160322012-12-09 Allan McRae <allan@archlinux.org>
16033
1e9d84cd 16034 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16035
8bbfd2f1
JM
160362012-09-11 Joseph Myers <joseph@codesourcery.com>
16037
16038 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16039 (_G_int32_t): Likewise.
16040 (_G_uint16_t): Likewise.
16041 (_G_uint32_t): Likewise.
16042 (_G_HAVE_BOOL): Likewise.
16043 (_G_HAVE_ATEXIT): Likewise.
16044 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16045 (_G_HAVE_IO_FILE_OPEN): Likewise.
16046 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16047 (_G_int32_t): Likewise.
16048 (_G_uint16_t): Likewise.
16049 (_G_uint32_t): Likewise.
16050 (_G_HAVE_BOOL): Likewise.
16051 (_G_HAVE_ATEXIT): Likewise.
16052 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16053 (_G_HAVE_IO_FILE_OPEN): Likewise.
16054 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16055 (_G_int32_t): Likewise.
16056 (_G_uint16_t): Likewise.
16057 (_G_uint32_t): Likewise.
16058 (_G_HAVE_BOOL): Likewise.
16059 (_G_HAVE_ATEXIT): Likewise.
16060 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16061 (_G_HAVE_IO_FILE_OPEN): Likewise.
16062
b1dc5912
L
160632012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16064
16065 * csu/libc-tls.c: Update copyright years.
16066
0e886ef9
JM
160672012-09-10 Joseph Myers <joseph@codesourcery.com>
16068
28361c5e
JM
16069 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16070 [!_G_USING_THUNKS]: Remove conditional code.
16071 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16072 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16073
0e886ef9
JM
16074 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16075 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16076 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16077 (_G_VTABLE_LABEL_PREFIX): Likewise.
16078 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16079 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16080 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16081 (_G_VTABLE_LABEL_PREFIX): Likewise.
16082 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16083 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16084 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16085 (_G_VTABLE_LABEL_PREFIX): Likewise.
16086 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16087
bcba7aa2
L
160882012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16089
16090 * libio/Makefile: Include ../Makeconfig before tests.
16091 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16092 only if $(build-shared) is yes.
16093
06585ee8
L
16094 * iconv/gconv_db.c: Update copyright years.
16095
80ccd52c
LD
160962012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16097
16098 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16099 unwind info if defined PIC. Fix special cases description.
16100 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16101
16102 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16103 DP_HI_MASK entry.
16104 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16105
691bc9c1
L
161062012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16107
3d9b46b3
L
16108 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16109
de2139a9
L
16110 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16111 is NULL.
16112
5ca78dd0
L
16113 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16114 (LDLIBS-tst-chk4): This.
16115 (LDFLAGS-tst-chk5): Renamed to ...
16116 (LDLIBS-tst-chk5): This.
16117 (LDFLAGS-tst-chk6): Renamed to ...
16118 (LDLIBS-tst-chk6): This.
16119 (LDFLAGS-tst-lfschk4): Renamed to ...
16120 (LDLIBS-tst-lfschk4): This.
16121 (LDFLAGS-tst-lfschk5): Renamed to ...
16122 (LDLIBS-tst-lfschk5): This.
16123 (LDFLAGS-tst-lfschk6): Renamed to ...
16124 (LDLIBS-tst-lfschk6): This.
16125
691bc9c1
L
16126 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16127 on $(common-objpfx)soversions.mk.
16128
65cafb1c
JM
161292012-09-07 Joseph Myers <joseph@codesourcery.com>
16130
16131 [BZ #10014]
16132 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16133 example host name.
16134
c78ab094
SP
161352012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16136
16137 * malloc/arena.c (arena_get_retry): New function that gets
16138 another arena for the caller to try its request on.
16139 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16140 current arena cannot fulfill the request.
16141 (__libc_memalign): Likewise.
16142 (__libc_memalign): Likewise.
16143 (__libc_pvalloc): Likewise.
16144 (__libc_calloc): Likewise.
16145
01f49f59
JT
161462012-09-05 John Tobey <john.tobey@gmail.com>
16147
16148 [BZ #13542]
16149 * manual/arith.texi (Operations on Complex): Fix description
16150 of carg branch cut.
16151
4c23fed5
JM
161522012-09-06 Joseph Myers <joseph@codesourcery.com>
16153
1d3c8572
JM
16154 [BZ #10014]
16155 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16156 host name.
16157
4c23fed5
JM
16158 [BZ #10038]
16159 * manual/memory.texi (Memory): Make order of menu items match
16160 order of sections.
16161
04570aaa
L
161622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16163
16164 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16165 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16166 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16167
b80af2f4
L
161682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16169
16170 * csu/libc-tls.c (static_dtv): Renamed to ...
16171 (_dl_static_dtv): This. Make it global.
16172 (_dl_initial_dtv): Removed.
16173 (__libc_setup_tls): Updated.
16174 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16175 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16176 DL_INITIAL_DTV.
16177
2abe9f15
PM
161782012-09-06 Petr Machata <pmachata@redhat.com>
16179
16180 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16181 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16182 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16183 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16184
0948c3af
L
161852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16186
16187 [BZ #14545]
16188 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16189 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16190 freeing dtv[-1].
16191
a5055ad1
L
161922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16193
16194 [BZ #14544]
16195 * Makeconfig (link-static-before-libc): Replace $(+prector)
16196 with $(+prectorT).
16197 (link-static-after-libc): Replace $(+postctor) with
16198 $(+postctorT).
16199 (link-bounded): Replace $(+prector)/$(+postctor) with
16200 $(+prectorT)/$(+postctorT).
16201 (+prectorT): New macro.
16202 (+postctorT): Likewise.
16203
ed8c2ecd
JM
162042012-09-06 Joseph Myers <joseph@codesourcery.com>
16205
16206 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16207 (round_str): Handle values above the maximum for IBM long double
16208 as inexact.
16209 * stdlib/tst-strtod-round.c (tests): Regenerated.
16210
14c996c8
AK
162112012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16212
16213 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16214 assembler flag.
16215 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16216 zarch_nohighgprs around the zarch optimized routines.
16217 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16218 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16219 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16220 for zarch.
16221
430d6ce6
DM
162222012-09-05 David S. Miller <davem@davemloft.net>
16223
16224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16225
ff04dda4
DM
16226 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16227 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16228 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16229 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16230 entries.
16231
24d4e01b
AO
162322012-09-05 Alexandre Oliva <aoliva@redhat.com>
16233
16234 * malloc/arena.c: Fold copyright years.
16235 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16236
61d58174
AO
162372012-09-05 Alexandre Oliva <aoliva@redhat.com>
16238
16239 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16240
20196a5e
AO
162412012-09-05 Alexandre Oliva <aoliva@redhat.com>
16242
16243 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16244
5c447383
AO
162452012-09-05 Alexandre Oliva <aoliva@redhat.com>
16246
16247 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16248 change internal state upon failure.
16249
fad64255
AO
162502012-09-05 Alexandre Oliva <aoliva@redhat.com>
16251
16252 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16253 * malloc/memusage.c (mmap): Likewise.
16254 (mmap64, mremap): Likewise. Adjust name in comment.
16255
1ffb8c90
SP
162562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16257
16258 * libio/fileops.c: Fix typos in comments.
16259 * libio/oldfileops.c: Likewise.
16260 * libio/wfileops.c: Likewise.
16261
6ef9cc37
SP
162622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16263
16264 [BZ #1349]
16265 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16266 (tst-malloc-usable-ENV): Set environment for test case.
16267 * malloc/hooks.c (malloc_check_get_size): New function to get
16268 requested size.
16269 * malloc/malloc.c (musable): Use malloc_check_get_size.
16270 * malloc/tst-malloc-usable.c: New test case.
16271
4d038ae3
AS
162722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16273
16274 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16275
c4e85184
AM
162762012-09-05 Allan McRae <allan@archlinux.org>
16277
b9dafc56 16278 [BZ #13966]
c4e85184
AM
16279 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16280 determine header location.
16281 * configure: Regenerated.
16282
e1343020
AS
162832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16284
16285 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16286 float format.
16287 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16288 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16289 format.
e1343020
AS
16290 (test): Regenerate.
16291
0a9f1987
DM
162922012-09-04 David S. Miller <davem@davemloft.net>
16293
16294 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16295 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16296 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16297
29237804
FW
162982012-09-04 Florian Weimer <fweimer@redhat.com>
16299
16300 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16301 failures.
16302
edb3cb88
FW
16303 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16304
60160d83
JM
163052012-09-04 Joseph Myers <joseph@codesourcery.com>
16306
16307 [BZ #9914]
16308 * libio/iogetdelim.c: Include <limits.h>.
16309 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16310 + len + 1 would overflow.
16311
bcd6c8dc
AJ
163122012-09-03 Andreas Jaeger <aj@suse.de>
16313
16314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16315 * sysdeps/i386/fpu/libm-test-ulps: Update.
16316
4ffffbd2
LD
163172012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16318
16319 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16320 Add s_sinf-sse2, s_conf-sse2.
16321
16322 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16323 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16324 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16325 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16326
16327 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16328 for using routine as __sinf_ia32.
16329 Use macro for function declaration and weak_alias.
16330 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16331 for using routine as __cosf_ia32.
16332 Use macro for function declaration and weak_alias.
16333
16334 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16335 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16336
16337 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16338 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16340
16341 * math/libm-test.inc (cos_test): Add more test cases.
16342 (sin_test): Likewise.
16343 (sincos_test): Likewise.
16344
511fa286
AK
163452012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16346
16347 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16348 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16349 hidden.
16350 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16351
5f30cfec
L
163522012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16353
16354 [BZ #14538]
16355 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16356 first element of the GOT.
16357 (elf_machine_load_address): Return the difference between
16358 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16359
0786794f
AM
163602012-09-01 Allan McRae <allan@archlinux.org>
16361
5f30cfec
L
16362 [BZ #13412]
16363 * configure.in (AWK): Require gawk version 3.0 or later.
16364 * configure: Regenerated.
0786794f 16365
26889eac
JM
163662012-09-01 Joseph Myers <joseph@codesourcery.com>
16367
16368 * sysdeps/unix/sysv/linux/kernel-features.h
16369 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16370 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16371 [__NR_clock_getres]: Make code unconditional.
16372 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16373 (clock_getcpuclockid): Remove code left unreachable by removal of
16374 conditionals.
16375 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16376 code unconditional.
16377 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16378 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16379 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16380 Make code unconditional.
16381 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16382 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16383 * sysdeps/unix/sysv/linux/clock_settime.c
16384 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16385 conditional code.
16386 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16387 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16388
d22e28b0
L
163892012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16390
16391 [BZ #14476]
16392 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16393 scripts/test-installation.pl.
16394
16395 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16396 and $ld_so_version if it is set.
16397
050af9c4
SP
163982012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16399
16400 [BZ #14516]
16401 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16402 failure if reading from procfs failed.
16403 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16404
ad845c0b
JM
164052012-08-27 Joseph Myers <joseph@codesourcery.com>
16406
16407 * sysdeps/unix/sysv/linux/kernel-features.h
16408 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16409 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16410 Remove conditional code.
16411 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16412 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16413 Remove conditional code.
16414 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16415 * sysdeps/unix/sysv/linux/i386/fxstat.c
16416 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16417 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16418 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16419 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16420 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16421 * sysdeps/unix/sysv/linux/i386/lxstat.c
16422 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16424 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16425 Remove conditional code.
16426 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16427 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16428 Remove conditional code.
16429 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16430 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16431 <kernel-features.h>.
16432 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16433 Remove.
16434 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16435 Remove conditional code.
16436 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16437 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16438 Remove conditional.
16439
5dbf56af
MF
164402012-08-27 Mike Frysinger <vapier@gentoo.org>
16441
16442 [BZ #5400]
16443 * NEWS: Add fixed bug number.
16444
d6e70f43
JM
164452012-08-27 Joseph Myers <joseph@codesourcery.com>
16446
7efb4737
JM
16447 [BZ #14519]
16448 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16449 underflowing exponent in case of negative sign.
16450 * stdlib/tst-strtod-round-data: Add more tests.
16451 * stdlib/tst-strtod-round.c (tests): Regenerated.
16452
af92131a
JM
16453 [BZ #3479]
16454 * stdlib/strtod_l.c (NDIG): Remove.
16455 (HEXNDIG): Likewise.
16456 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16457 smallest representable value.
16458 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16459 lie within an exact representation of 1/2 ulp of the result.
16460 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16461 unconditionally.
16462 (TENS_P9_IDX): Define unconditionally.
16463 (TENS_P9_SIZE): Likewise.
16464 (TENS_P10_IDX): Likewise.
16465 (TENS_P10_SIZE): Likewise.
16466 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16467 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16468 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16469 entries for 10^2^13 and 10^2^14.
16470 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16471 (TENS_P13_IDX): Define.
16472 (TENS_P13_SIZE): Likewise.
16473 (TENS_P14_IDX): Likewise.
16474 (TENS_P14_SIZE): Likewise.
16475 (_fpioconst_pow10): Change array size to
16476 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16477 unconditional.
16478 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16479 1024]: Add entries for 10^2^13 and 10^2^14.
16480 [LAST_POW10 > _LAST_POW10]: Remove #error.
16481 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16482 (_fpioconst_pow10): Change array size to
16483 FPIOCONST_POW10_ARRAY_SIZE.
16484 * stdlib/gen-fpioconst.c: New file.
16485 * stdlib/gen-tst-strtod-round.c: Likewise.
16486 * stdlib/tst-strtod-round-data: Likewise.
16487 * stdlib/tst-strtod-round.c: Likewise.
16488 * stdlib/Makefile (tests): Add tst-strtod-round.
16489
d6e70f43
JM
16490 [BZ #14459]
16491 * stdlib/strtod_l.c: Include <stdint.h>.
16492 (NDEBUG): Do not define.
16493 (round_and_return): Change EXPONENT parameter to type intmax_t.
16494 Rearrange calculations to avoid internal overflow possibilities.
16495 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16496 Rearrange calculations to avoid internal overflow possibilities.
16497 Assert that number fits inside MPNSIZE limbs.
16498 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16499 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16500 calculations and add assertions to avoid internal overflow
16501 possibilities. Add casts to avoid signed/unsigned operations.
16502 * stdlib/tst-strtod-overflow.c: New file.
16503 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16504
1f529f7d
MP
165052012-08-25 Marek Polacek <polacek@redhat.com>
16506
16507 * time/time.h: Fix some typos in comments.
16508
59a629f1
RM
165092012-08-23 Roland McGrath <roland@hack.frob.com>
16510
16511 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16512 * posix/tst-rfc3484-2.c: Likewise.
16513 * posix/tst-rfc3484-3.c: Likewise.
16514
d3bafbc9
SM
165152012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16516
16517 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16518 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16519
4efcc022
JM
165202012-08-23 Joseph Myers <joseph@codesourcery.com>
16521
16522 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16523 #include of fxstatat64.c.
16524
3cc3ef96
RM
165252012-08-22 Roland McGrath <roland@hack.frob.com>
16526
f04e2132
RM
16527 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16528 * shadow/getspent_r.c: Likewise.
16529 * shadow/getspnam.c: Likewise.
16530 * shadow/getspnam_r.c: Likewise.
16531 * gshadow/getsgent.c: Likewise.
16532 * gshadow/getsgent_r.c: Likewise.
16533 * gshadow/getsgnam.c: Likewise.
16534 * gshadow/getsgnam_r.c: Likewise.
16535 * inet/getnetbyad.c: Likewise.
16536 * inet/getnetbyad_r.c: Likewise.
16537 * inet/getnetbynm.c: Likewise.
16538 * inet/getnetbynm_r.c: Likewise.
16539 * inet/getnetent.c: Likewise.
16540 * inet/getnetent_r.c: Likewise.
16541 * inet/getproto.c: Likewise.
16542 * inet/getproto_r.c: Likewise.
16543 * inet/getprtent.c: Likewise.
16544 * inet/getprtent_r.c: Likewise.
16545 * inet/getprtname.c: Likewise.
16546 * inet/getprtname_r.c: Likewise.
16547 * inet/getrpcbyname.c: Likewise.
16548 * inet/getrpcbyname_r.c: Likewise.
16549 * inet/getrpcbynumber.c: Likewise.
16550 * inet/getrpcbynumber_r.c: Likewise.
16551 * inet/getrpcent.c: Likewise.
16552 * inet/getrpcent_r.c: Likewise.
16553 * inet/getaliasent.c: Likewise.
16554 * inet/getaliasent_r.c: Likewise.
16555 * inet/getaliasname.c: Likewise.
16556 * inet/getaliasname_r.c: Likewise.
16557 * nscd/getgrgid_r.c: Likewise.
16558 * nscd/getgrnam_r.c: Likewise.
16559 * nscd/gethstbyad_r.c: Likewise.
16560 * nscd/gethstbynm3_r.c: Likewise.
16561 * nscd/getpwnam_r.c: Likewise.
16562 * nscd/getpwuid_r.c: Likewise.
16563 * nscd/getsrvbynm_r.c: Likewise.
16564 * nscd/getsrvbypt_r.c: Likewise.
16565 * nscd/gai.c: Likewise.
16566
c53d909c
RM
16567 * configure.in (build_nscd): New substituted variable, set
16568 by --disable-build-nscd and defaults to $use_nscd.
16569 * configure: Regenerated.
16570 * config.make.in (build-nscd): New substituted variable.
16571 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16572 Change conditional to require [$(build-nscd) = yes] as well.
16573 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16574
3cc3ef96
RM
16575 [BZ# 13696]
16576 * configure.in (use_nscd): New substituted variable, set by
16577 --disable-nscd. If enabled, define USE_NSCD.
16578 * configure: Regenerated.
16579 * config.h.in: Add USE_NSCD.
16580 * config.make.in (use-nscd): New substituted variable.
16581 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16582 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16583 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16584 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16585 (CFLAGS-getgrnam_r.c): Likewise.
16586 (CFLAGS-initgroups.c): Likewise.
16587 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16588 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16589 Variables removed.
16590 * inet/getnetgrent_r.c
16591 (nscd_setnetgrent): New function, broken out of ...
16592 (setnetgrent): ... here. Call it.
16593 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16594 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16595 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16596 * nscd/Makefile (routines, aux): Move definitions after include of
16597 Makeconfig. Conditionalize on [$(use-nscd) != no].
16598 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16599 Conditionalize on [USE_NSCD].
16600 (is_nscd, nscd_init_cb): Likewise.
16601 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16602 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16603 * nss/nss_db/db-init.c: Likewise.
16604 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16605 [USE_NSCD].
16606 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16607 (make_request): Use it.
16608 (cache_valid_p): New function.
16609 (__check_pf): Use it.
16610 * NEWS: Add item for --disable-nscd.
16611
07e51550
DL
166122012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16613
16614 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16615 to support sed >= 4.2.1-20-ga9bf076.
16616 * configure: Regenerated.
16617
35a5b08b
RM
166182012-08-22 Roland McGrath <roland@hack.frob.com>
16619
16620 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16621 Conditionalize whole body on [IREL].
16622
8479f23a
JL
166232012-08-22 Jeff Law <law@redhat.com>
16624
16625 [BZ #14505]
16626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16627 if the family is PF_UNSPEC.
16628
48da0b21
MF
166292012-08-22 Mike Frysinger <vapier@gentoo.org>
16630
16631 * Makerules (lib-version): Rename from V.
16632 (install-lib-nosubdir): Change V to lib-version.
16633
15d0da8c
WS
166342012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16635
16636 [BZ #14252]
16637 * powerpc32/power6/wcschr.c: New file.
16638 * powerpc32/power6/wcscpy.c: New file.
16639 * powerpc32/power6/wcsrchr.c: New file.
16640 * powerpc64/power6/wcschr.c: New file.
16641 * powerpc64/power6/wcscpy.c: New file.
16642 * powerpc64/power6/wcsrchr.c: New file.
16643
bcca0895
MK
166442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16645
16646 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16647 (two_way_short_needle): Use it.
5a4aaa33
RM
16648 * string/strstr.c (AVAILABLE1_USES_J): Define.
16649 * string/strcasestr.c: Likewise.
99677e57
MK
16650
16651 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16652 array references.
16653 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16654
400726de
MK
16655 [BZ #11607]
16656 * NEWS: Add an entry.
16657 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16658 define their defaults.
16659 (two_way_short_needle): Detect end-of-string on-the-fly.
16660 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16661 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16662 * string/bug-strcasestr1.c: New test.
16663 * string/Makefile: Run it.
16664
20a71f2c
MK
166652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16666
16667 [BZ #11607]
16668 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16669 the first character.
16670
21ad0558
RM
166712012-08-21 Roland McGrath <roland@hack.frob.com>
16672
16673 * csu/elf-init.c (__libc_csu_irel): Function removed.
16674 * csu/libc-start.c (apply_irel): New function.
16675 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16676
0e1d9911
JM
166772012-08-21 Joseph Myers <joseph@codesourcery.com>
16678
16679 * sysdeps/unix/sysv/linux/kernel-features.h
16680 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16681 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16682 <kernel-features.h>.
16683 [__NR_fadvise64_64]: Make code unconditional.
16684 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16685 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16686 !__NR_fadvise64_64)]: Likewise.
16687 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16688 !__NR_fadvise64_64))]: Likewise.
16689 [__NR_fadvise64]: Make code unconditional.
16690 [!__NR_fadvise64]: Remove conditional code.
16691 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16692 <kernel-features.h>.
16693 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16694 unconditional.
16695 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16696 conditional code.
16697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16698 not include <kernel-features.h>.
16699 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16700 unconditional.
16701 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16702 conditional code.
16703 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16704 include <kernel-features.h>.
16705 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16706 unconditional.
16707 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16708 conditional code.
16709
14a50c9d
WS
167102012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16711
16712 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16713 slight instruction rearrangements per scrollpipe analysis.
16714 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16715
c0f4faf0
RM
167162012-08-20 Roland McGrath <roland@hack.frob.com>
16717
696da859
RM
16718 * manual/syslog.texi (syslog; vsyslog, closelog):
16719 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16720 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16721
c0f4faf0
RM
16722 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16723 DSOCAPS to match condition on defining it.
16724
348363b2
JM
167252012-08-20 Joseph Myers <joseph@codesourcery.com>
16726
a35cbf28
JM
16727 * sysdeps/unix/sysv/linux/kernel-features.h
16728 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16730 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16731 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16733 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16734 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16736 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16737 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16738
445f7ecd
JM
16739 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16740 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16741
348363b2
JM
16742 * sysdeps/unix/sysv/linux/kernel-features.h
16743 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16744 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16745 unconditional.
16746 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16747 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16748 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16749 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16750 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16751 Make code unconditional.
16752 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16753 (__mmap64) [!__NR_mmap2]: Likewise.
16754 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16755 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16756 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16757 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16758 [__NR_mmap2]: Make code unconditional.
16759 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16760 (__mmap64) [!__NR_mmap2]: Likewise.
16761
bc5bc0e5
AK
167622012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16763
16764 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16765
88d506de
AJ
167662012-08-18 Andreas Jaeger <aj@suse.de>
16767
16768 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16769
493387d2
MF
167702012-08-18 Mike Frysinger <vapier@gentoo.org>
16771
16772 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16773 * include/unistd.h (__have_sock_cloexec): Likewise.
16774 (__have_pipe2): Likewise.
16775 (__have_dup3): Likewise.
16776
a277af22
MF
167772012-08-18 Mike Frysinger <vapier@gentoo.org>
16778
16779 [BZ #9685]
16780 * include/unistd.h (__have_pipe2): Change define into an extern int.
16781 (__have_dup3): Likewise.
16782 * socket/have_sock_cloexec.c: Include fcntl.h.
16783 (__have_pipe2): New variable.
16784 (__have_dup3): Likewise.
16785
fdab8fd3
MF
167862012-08-17 Mike Frysinger <vapier@gentoo.org>
16787
16788 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16789
31035e80
MP
167902012-08-17 Marek Polacek <polacek@redhat.com>
16791
16792 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16793 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16794
3bd9e993
RM
167952012-08-17 Roland McGrath <roland@hack.frob.com>
16796
c91c505f
RM
16797 * configure.in: Add AC_SUBST for sysheaders.
16798 * configure: Regenerated.
16799 * config.make.in (sysheaders): New substituted variable.
16800
7c6f9d53
RM
16801 * sysdeps/unix/mkfifo.c: Moved ...
16802 * sysdeps/posix/mkfifo.c: ... here.
16803 * sysdeps/unix/mkfifoat.c: Moved ...
16804 * sysdeps/posix/mkfifoat.c: ... here.
16805
16806 * sysdeps/unix/utime.c: Moved ...
16807 * sysdeps/posix/utime.c: ... here.
16808
16809 * sysdeps/unix/time.c: Moved ...
16810 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16811 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16812 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16813
16814 * sysdeps/unix/nice.c: Moved ...
16815 * sysdeps/posix/nice.c: ... here.
16816
16817 * sysdeps/unix/alarm.c: Moved ...
16818 * sysdeps/posix/alarm.c: ... here.
16819
3bd9e993
RM
16820 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16821
d1f09384
JL
168222012-08-17 Jeff Law <law@redhat.com>
16823
16824 * intl/Makefile (codeset_mo): New variable.
16825 ($(codeset_mo)): New target.
16826 (tst-codeset.out): Depend on that. Remove explicit rule.
16827 (tst-gettext3.out, tst-gettext5.out): Likewise.
16828 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16829 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16830 * intl/tst-codeset.sh: Remove.
16831 * intl/tst-gettext3.sh: Likewise.
16832 * intl/tst-gettext5.sh: Likewise.
16833
2ae1ae5c
RM
168342012-08-17 Roland McGrath <roland@hack.frob.com>
16835
c31fdb83
RM
16836 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16837 * sysdeps/unix/syscalls.list: ... here.
16838
a0844057
RM
16839 * sysdeps/posix/getaddrinfo.c
16840 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16841 (gaiconf_init, gaiconf_reload): Use them.
16842 [!_STATBUF_ST_NSEC]
16843 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16844 Define using time_t rather than struct timespec.
16845
750c1f2a
RM
16846 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16847 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16848 Macros removed.
16849 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16850 [!NO_THREADS].
16851 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16852 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16853 Likewise.
16854
2ae1ae5c
RM
16855 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16856 __libc_cleanup_push argument.
16857
e66a42f5
RM
16858 * bits/param.h: New file.
16859 * misc/sys/param.h: New file.
16860 * include/sys/param.h: New file.
16861 * misc/Makefile (headers): Add bits/param.h.
16862 * sysdeps/generic/sys/param.h: File removed.
16863 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16864 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16865 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16866 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16867
b7c08a66
RM
16868 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16869 last change.
16870
b2e1c562
RM
16871 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16872 [_IO_MTSAFE_IO].
16873 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16874 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16875 New macros.
16876
c75ccd4c
RM
16877 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16878 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16879 rather than -D_IO_MTSAFE_IO conditionally.
16880 * stdio-common/Makefile (CPPFLAGS): Likewise.
16881 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16882 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16883 Use $(libio-mtsafe).
16884 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16885 of -D_IO_MTSAFE_IO.
16886 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16887 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16888 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16889 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16890 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16891 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16892 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16893 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16894 (CFLAGS-fread_u_chk.c): Likewise.
16895 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16896 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16897 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16898 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16899 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16900 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16901 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16902 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16903 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16904
16905 * libio/Makefile: Test [$(libc-reentrant) = yes]
16906 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16907
16908 * Makeconfig
16909 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16910 * sysdeps/pthread/configure: File removed.
16911 * sysdeps/pthread/Makeconfig: New file.
16912 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16913 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16914
d9195db8
GB
169152012-08-16 Gary Benson <gbenson@redhat.com>
16916
16917 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16918 unmapping the first object in a namespace.
16919
86466cd9
RM
169202012-08-16 Roland McGrath <roland@hack.frob.com>
16921
16922 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16923 (__internal_setnetgrent): ... this. Add internal_function to
16924 definition. Add libc_hidden_def.
16925 (setnetgrent): Update caller.
16926 (internal_endnetgrent): Renamed to ...
16927 (__internal_endnetgrent): ... this. Add internal_function to
16928 definition. Add libc_hidden_def.
16929 (endnetgrent): Update caller.
16930 (internal_getnetgrent_r): Renamed to ...
16931 (__internal_getnetgrent_r): ... this. Add internal_function to
16932 definition. Add libc_hidden_def.
16933 (__getnetgrent_r): Update caller.
16934 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16935
c3c8283c
JM
169362012-08-16 Joseph Myers <joseph@codesourcery.com>
16937
16938 * stdlib/longlong.h: Update from GCC.
16939
db1ee0a8
RM
169402012-08-16 Roland McGrath <roland@hack.frob.com>
16941
16942 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16943 on _QL, which is set by umul_ppmm but never used.
16944 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16945 variables, which are set by GMP macros but never used.
16946 * stdio-common/_itowa.c (_itowa): Likewise.
16947 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16948 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16949
30f69637
CD
169502012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16951
16952 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16953 struct La_sh_regs is not constant.
16954 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16955 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16956 and struct La_sparc64_regs are not constant.
16957
93a78ac4
JM
169582012-08-16 Joseph Myers <joseph@codesourcery.com>
16959
16960 * sysdeps/unix/sysv/linux/kernel-features.h
16961 (__ASSUME_POSIX_TIMERS): Remove.
16962 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16963 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16964 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16965 Make code unconditional.
16966 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16967 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16968 Make code unconditional.
16969 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16970 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16971 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16972 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16973 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16974 Make code unconditional.
16975 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16976 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16977 (__libc_missing_posix_timers): Remove.
16978
dd924cd7
RM
169792012-08-15 Roland McGrath <roland@hack.frob.com>
16980
4b4f2771
RM
16981 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16982 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16983
601c888b
RM
16984 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16985
176790a7
RM
16986 * elf/dl-sym.c: Include <stdlib.h>.
16987
329bc018
RM
16988 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16989 constants, which avoids warnings in 32-bit builds.
16990
e04e272d
RM
16991 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16992 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16993
952bf94a
RM
16994 * misc/lseek.c: File moved to ...
16995 * io/lseek.c: ... here.
16996
7c99b50a
RM
16997 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16998
dd924cd7
RM
16999 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17000 shifting LEN more than 31 bits at once.
17001
b3f479a8
LD
170022012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17003
17004 [BZ #14195]
8c4ae0d4
RM
17005 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17006 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17007 * string/test-strncasecmp.c (check1): Renamed to...
17008 (bz12205): ...this.
17009 (bz14195): Add new testcase for two empty input strings and N > 0.
17010 (test_main): Call new testcase, adapt for renamed function.
17011
9c55864e
AJ
170122012-08-15 Andreas Jaeger <aj@suse.de>
17013
17014 [BZ #14090]
17015 * crypt/md5test2.c: New test, based on test supplied by Serge
17016 Belyshev <belyshev@depni.sinp.msu.ru>.
17017 * crypt/Makefile (xtests): Add md5test-giant..
17018 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17019
02dcb6c5
PE
170202012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17021
17022 [BZ #14090]
17023 * crypt/md5.c (md5_process_block): Don't assume the buffer
17024 length is less than 2**32.
17025 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17026 length is less than 2**64.
17027
a3f95dcc
RM
170282012-08-15 Roland McGrath <roland@hack.frob.com>
17029
be75d758
RM
17030 * string/str-two-way.h: Include <sys/param.h>.
17031 (MAX): Macro removed.
17032
7312ca90
RM
17033 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17034 Move #define and #undef of memmove to just before and after
17035 including <string.h>.
17036
9a0a5486
RM
17037 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17038 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17039 and after including <string.h>. Move declarations of
17040 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17041 to before #include "string/memmove.c".
17042
67cc348d
RM
17043 * include/dirent.h: Declare __getdirentries.
17044
a3f95dcc
RM
17045 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17046 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17047
ca98e171
MF
170482012-08-14 Mike Frysinger <vapier@gentoo.org>
17049
17050 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17051 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17052 * sysdeps/i386/configure: Regenerated.
17053 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17054 STABS_CURRENT_FILE, and STABS_FUN.
17055 (END): Remove call to STABS_FUN_END.
17056 (STABS_CURRENT_FILE1): Delete.
17057 (STABS_CURRENT_FILE): Likewise.
17058 (STABS_FUN): Likewise.
17059 (STABS_FUN_END): Likewise.
17060 (STABS_FUN2): Likewise.
17061 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17062 * sysdeps/x86_64/configure: Regenerated.
17063
5908bf46
RM
170642012-08-14 Roland McGrath <roland@hack.frob.com>
17065
17066 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 17067 * elf/dl-lookup.c: Likewise.
5908bf46 17068
f2c05b9e
JM
170692012-08-14 Joseph Myers <joseph@codesourcery.com>
17070
17071 * sysdeps/unix/sysv/linux/kernel-features.h
17072 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17073 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17074 unconditionally.
17075 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17076 unconditionally.
17077 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17078 condition on __ASSUME_CLONE_THREAD_FLAGS.
17079
e11f5155
AJ
170802012-08-14 Andreas Jaeger <aj@suse.de>
17081
17082 * sysdeps/i386/fpu/libm-test-ulps: Update.
17083
51a9ba86
MK
170842012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17085
2fdd4f78
AJ
17086 * include/atomic.h (atomic_exchange_and_add): Split into ...
17087 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17088 New atomic macros.
51a9ba86 17089
ba6cba9e
MT
170902012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17091
17092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17093
42443a47
JL
170942012-08-13 Jeff Law <law@redhat.com>
17095
17096 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17097 null byte in the output string.
17098
121dce05
JM
170992012-08-10 Joseph Myers <joseph@codesourcery.com>
17100
17101 * sysdeps/unix/sysv/linux/kernel-features.h
17102 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17103 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17104 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17105 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17106 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17107 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17108 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17109
bf51f568
JL
171102012-08-09 Jeff Law <law@redhat.com>
17111
17112 [BZ #13939]
17113 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17114 When avoid_arena is set, don't retry in the that arena. Pick the
17115 next one, whatever it might be.
17116 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17117 (arena_lock): Pass in new parameter to arena_get2.
17118 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17119 arena_get2.
17120 (__libc_malloc): Unify retrying after main arena failure with
17121 __libc_memalign version.
17122 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17123
f85fa270
L
171242012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17125
17126 [BZ #14166]
17127 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17128 to __redirect_strstr.
17129 (__strstr_sse42): Use typeof __redirect_strstr.
17130 (__strstr_ia32): Likewise.
17131 (__libc_strstr): New prototype.
17132 (strstr): Renamed to ...
17133 (__libc_strstr): This.
17134 (strstr): New strong alias of __libc_strstr.
17135 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17136 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17137 __redirect_time.
17138 Include <time.h>.
17139 (__libc_time): New prototype.
17140 (time_ifunc): Replace time with __libc_time.
17141 (time): New strong alias and hidden definition of __libc_time.
17142 (__GI_time): Remove strong alias.
17143 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17144 Include <stddef.h>.
17145 (memmove): Redefined to __redirect_memmove.
17146 (__memmove_sse2): Use typeof __redirect_memmove.
17147 (__memmove_ssse3): Likewise.
17148 (__memmove_ssse3_back): Likewise.
17149 (__libc_memmove): New prototype.
17150 (memmove): Renamed to ...
17151 (__libc_memmove): This.
17152 (memmove): New strong alias of __libc_memmove.
17153
33b4a91e
MS
171542012-08-08 Mark Salter <msalter@redhat.com>
17155
17156 * elf/elf.h
17157 (R_MN10300_TLS_GD): Define.
17158 (R_MN10300_TLS_LD): Likewise.
17159 (R_MN10300_TLS_LDO): Likewise.
17160 (R_MN10300_TLS_GOTIE): Likewise.
17161 (R_MN10300_TLS_IE): Likewise.
17162 (R_MN10300_TLS_LE): Likewise.
17163 (R_MN10300_TLS_DTPMOD): Likewise.
17164 (R_MN10300_TLS_DTPOFF): Likewise.
17165 (R_MN10300_TLS_TPOFF): Likewise.
17166 (R_MN10300_SYM_DIFF): Likewise.
17167 (R_MN10300_ALIGN): Likewise.
17168 (R_MN10300_NUM): Update.
17169
b36137f1
JM
171702012-08-08 Joseph Myers <joseph@codesourcery.com>
17171
17172 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17173 Remove.
17174
cdd915fd
RM
171752012-08-08 Roland McGrath <roland@hack.frob.com>
17176
a2433aac
RM
17177 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17178
cdd915fd
RM
17179 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17180 sysdeps/unix -> sysdeps/posix move.
17181 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17182
bf9b740a
AM
171832012-08-07 Allan McRae <allan@archlinux.org>
17184
17185 [BZ #14303]
17186 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17187 (SUNOS_CPP): Likewise.
17188 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17189 not found.
17190 (open_input): Call CPP using execvp.
17191
93df14ee
JM
171922012-08-07 Joseph Myers <joseph@codesourcery.com>
17193
17194 * sysdeps/unix/sysv/linux/kernel-features.h
17195 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17196 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17197 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17198 (__ASSUME_WAITID_SYSCALL): Likewise.
17199 * sysdeps/unix/sysv/linux/dl-execstack.c
17200 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17201 code unconditional.
17202 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17203 conditional code.
17204 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17205 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17206 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17207 code.
17208 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17209 unconditional.
17210 [__ASSUME_WAITID_SYSCALL]: Likewise.
17211 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17212
d34689de
RM
172132012-08-07 Roland McGrath <roland@hack.frob.com>
17214
a281decc
RM
17215 * sysdeps/unix/closedir.c: Renamed to ...
17216 * sysdeps/posix/closedir.c: ... here.
17217 * sysdeps/unix/dirfd.c: Renamed to ...
17218 * sysdeps/posix/dirfd.c: ... here.
17219 * sysdeps/unix/dirstream.h: Renamed to ...
17220 * sysdeps/posix/dirstream.h: ... here.
17221 * sysdeps/unix/fdopendir.c: Renamed to ...
17222 * sysdeps/posix/fdopendir.c: ... here.
17223 * sysdeps/unix/opendir.c: Renamed to ...
17224 * sysdeps/posix/opendir.c: ... here.
17225 * sysdeps/unix/readdir.c: Renamed to ...
17226 * sysdeps/posix/readdir.c: ... here.
17227 * sysdeps/unix/readdir_r.c: Renamed to ...
17228 * sysdeps/posix/readdir_r.c: ... here.
17229 * sysdeps/unix/rewinddir.c: Renamed to ...
17230 * sysdeps/posix/rewinddir.c: ... here.
17231 * sysdeps/unix/seekdir.c: Renamed to ...
17232 * sysdeps/posix/seekdir.c: ... here.
17233 * sysdeps/unix/telldir.c: Renamed to ...
17234 * sysdeps/posix/telldir.c: ... here.
17235 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17236 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17237 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17238 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17239
22895b47
RM
17240 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17241 * bits/fcntl.h: ... here.
17242
707a53b6
RM
17243 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17244 not 0.
17245 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17246 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17247 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17248 (struct flock): Move l_start, l_len to the beginning.
17249 Use __pid_t for l_pid.
17250 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17251 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17252 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17253 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17254 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17255 [__USE_LARGEFILE64] (struct flock64): New type.
17256 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17257
f0bd3e25
RM
17258 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17259 * bits/dirent.h: ... here.
17260
d34689de
RM
17261 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17262 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17263
6dad2c06
JM
172642012-08-07 Joseph Myers <joseph@codesourcery.com>
17265
17266 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17267 Change from 2.6.0 to 2.6.16.
17268 * sysdeps/unix/sysv/linux/configure: Regenerated.
17269 * sysdeps/unix/sysv/linux/kernel-features.h
17270 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17271 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17272 version.
17273 (__ASSUME_UTIMES): Likewise.
17274 (__ASSUME_CLONE_STOPPED): Remove.
17275 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17276 architectures, not kernel version.
17277 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17278 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17279 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17280 (__ASSUME_WAITID_SYSCALL): Likewise.
17281 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17282 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17283 * README: State 2.6.16 as minimum Linux kernel version. Do not
17284 refer to older versions.
17285
03af9520
RM
172862012-08-06 Roland McGrath <roland@hack.frob.com>
17287
8e49df1d
RM
17288 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17289 Define alphasort64 as an alias.
17290 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17291 Define versionsort64 as an alias.
17292 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17293 Define scandir64 as an alias.
17294 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17295 Define scandirat64 as an alias.
17296 * dirent/alphasort64.c (alphasort64):
17297 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17298 * dirent/versionsort64.c: Likewise.
17299 * dirent/scandir64.c: Likewise.
17300 * dirent/scandirat64.c: Likewise.
17301 * sysdeps/wordsize-64/alphasort.c: File removed.
17302 * sysdeps/wordsize-64/alphasort64.c: File removed.
17303 * sysdeps/wordsize-64/scandir.c: File removed.
17304 * sysdeps/wordsize-64/scandir64.c: File removed.
17305 * sysdeps/wordsize-64/scandirat.c: File removed.
17306 * sysdeps/wordsize-64/scandirat64.c: File removed.
17307 * sysdeps/wordsize-64/versionsort.c: File removed.
17308 * sysdeps/wordsize-64/versionsort64.c: File removed.
17309 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17310 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17311 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17312 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17313 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17314 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17315 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17316 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17317
17318 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17319 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17320 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17321 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17322 [defined __arch64__ || defined __sparcv9]
17323 (__INO_T_MATCHES_INO64_T): New macro.
17324 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17325 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17326 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17327 * sysdeps/unix/sysv/linux/bits/dirent.h
17328 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17329 (_DIRENT_MATCHES_DIRENT64): New macro.
17330
03af9520
RM
17331 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17332 Define lockf64 as an alias.
17333 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17334 Define fseeko64 as an alias.
17335 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17336 Define ftello64 as an alias.
17337 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17338 Define _IO_fgetpos64 and fgetpos64 as aliases.
17339 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17340 Define _IO_fsetpos64 and fsetpos64 as aliases.
17341 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17342 Conditionalize body on this.
17343 * libio/fseeko64.c: Likewise.
17344 * libio/ftello64.c: Likewise.
17345 * libio/iofgetpos64.c: Likewise.
17346 * libio/iofsetpos64.c: Likewise.
17347 * sysdeps/wordsize-64/lockf.c: File removed.
17348 * sysdeps/wordsize-64/lockf64.c: File removed.
17349 * sysdeps/wordsize-64/fseeko.c: File removed.
17350 * sysdeps/wordsize-64/fseeko64.c: File removed.
17351 * sysdeps/wordsize-64/ftello.c: File removed.
17352 * sysdeps/wordsize-64/ftello64.c: File removed.
17353 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17354 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17355 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17356 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17357 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17358 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17359 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17360 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17361 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17362 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17363 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17364 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17365 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17366 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17367
17368 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17369 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17370 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17371 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17372 [defined __arch64__ || defined __sparcv9]
17373 (__OFF_T_MATCHES_OFF64_T): New macro.
17374 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17375 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17376 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17377 (__OFF_T_MATCHES_OFF64_T): New macro.
17378
c5757acd
L
173792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17380
17381 * stdlib/secure-getenv.c (__secure_getenv): Replace
17382 GLIBC_2_16 with GLIBC_2_17.
17383
3a31811e
L
173842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17385
17386 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17387 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17388
faa2bccb
DM
173892012-08-03 David S. Miller <davem@davemloft.net>
17390
17391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17392
85fe1997
JM
173932012-08-03 Joseph Myers <joseph@codesourcery.com>
17394
17395 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17396 Remove.
17397 (__ASSUME_CORRECT_SI_PID): Likewise.
17398 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17399 (__ASSUME_TMPFS_NAME): Likewise.
17400 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17401 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17402 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17403 (HAVE_AUX_SECURE): Make definition unconditional.
17404 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17405 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17406
4f75b7a0
RM
174072012-08-03 Roland McGrath <roland@hack.frob.com>
17408
17409 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17410 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17411 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17412 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17413 __eloop_threshold instead of SYMLOOP_MAX.
17414
17415 * sysdeps/generic/eloop-threshold.h: New file.
17416 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17417 of MAXSYMLINKS.
17418 * elf/chroot_canon.c (chroot_canon): Likewise.
17419
7aab07e4
JM
174202012-08-03 Joseph Myers <joseph@codesourcery.com>
17421
17422 [BZ #13717]
17423 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17424 Change to 2.6.0 everywhere.
17425 * sysdeps/unix/sysv/linux/configure: Regenerated.
17426 * sysdeps/unix/sysv/linux/kernel-features.h
17427 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17428 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17429 kernel versions.
17430 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17431 (__ASSUME_FUTEX_REQUEUE): Remove.
17432 (__ASSUME_STATFS64): Define unconditionally.
17433 (__ASSUME_AT_SECURE): Likewise.
17434 (__ASSUME_CORRECT_SI_PID): Likewise.
17435 (__ASSUME_TGKILL): Define without depending on kernel version for
17436 i386.
17437 (__ASSUME_UTIMES): Likewise.
17438 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17439 kernel version.
17440 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17441 (__ASSUME_TMPFS_NAME): Likewise.
17442 * README: Update reference to Linux kernel versions.
17443
b67e9372
MP
174442012-08-02 Marek Polacek <polacek@redhat.com>
17445
1f529f7d 17446 [BZ# 14150]
b67e9372
MP
17447 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17448 libc_cv_asm_type_prefix with %.
17449 * configure: Regenerated.
d2441631
RM
17450 * include/libc-symbols.h: Remove comment about
17451 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17452 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17453 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17454 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17455 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17456 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17457 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17458 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17459 * elf/tst-unique2mod1.c: Likewise.
17460 * elf/tst-unique1mod2.c: Likewise.
17461 * elf/tst-unique1mod1.c: Likewise.
17462 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17463 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17464 Replace ASM_TYPE_DIRECTIVE with .type.
17465 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17466 * sysdeps/i386/sysdep.h: Likewise.
17467 * sysdeps/x86_64/sysdep.h: Likewise.
17468 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17470 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17471 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17472 * sysdeps/powerpc/powerpc32/sysdep.h:
17473 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17474 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17475 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17476 * sysdeps/i386/fpu/e_powf.S: Likewise.
17477 * sysdeps/i386/fpu/e_expl.S: Likewise.
17478 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17479 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17480 * sysdeps/i386/fpu/e_pow.S: Likewise.
17481 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17482 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17483 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17484 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17485 * sysdeps/i386/fpu/e_log2.S: Likewise.
17486 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17487 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17488 * sysdeps/i386/fpu/e_powl.S: Likewise.
17489 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17490 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17491 * sysdeps/i386/fpu/e_logl.S: Likewise.
17492 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17493 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17494 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17495 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17496 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17497 * sysdeps/i386/fpu/e_log.S: Likewise.
17498 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17499 * sysdeps/i386/fpu/e_logf.S: Likewise.
17500 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17501 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17502 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17503 * sysdeps/i386/fpu/e_log10.S: Likewise.
17504 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17505 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17506 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17507 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17508 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17509 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17510 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17511 * sysdeps/i386/i686/strtok.S: Likewise.
17512 * sysdeps/i386/i386-mcount.S: Likewise.
17513 * sysdeps/i386/strtok.S: Likewise.
17514 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17515 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17516 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17517 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17518 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17519 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17520 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17521 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17522 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17523 * sysdeps/x86_64/_mcount.S: Likewise.
17524 * sysdeps/x86_64/strtok.S: Likewise.
17525 * sysdeps/sh/_mcount.S: Likewise.
17526
2747bf9a
RM
175272012-08-01 Roland McGrath <roland@hack.frob.com>
17528
17529 * libio/iofopen.c: Include <fcntl.h>.
17530 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17531 (_IO_fopen64, fopen64): Define as aliases.
17532 * libio/iofopen64.c: Include <fcntl.h>.
17533 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17534 Conditionalize body on this.
17535 * sysdeps/wordsize-64/iofopen.c: File removed.
17536 * sysdeps/wordsize-64/iofopen64.c: File removed.
17537
3fb791b8
MP
175382012-08-01 Marek Polacek <polacek@redhat.com>
17539
17540 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17541 Use dlfcn directly instead of a variable.
17542 (binfmt-subdir): Do not define.
17543 (dlfcn): Likewise.
17544
a9f1039f
JM
175452012-08-01 Joseph Myers <joseph@codesourcery.com>
17546
23bddc06
JM
17547 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17548 Remove all definitions.
17549 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17550 <kernel-features.h>.
17551 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17552 (miss_F_GETOWN_EX): Remove all definitions.
17553 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17554 macro definition.
17555 [!__ASSUME_FCNTL64]: Remove conditional code.
17556 [__ASSUME_FCNTL64]: Make code unconditional.
17557 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17558 <kernel-features.h>.
17559 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17560 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17561 (lockf64) [__NR_fcntl64]: Make code unconditional.
17562 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17563
a9f1039f
JM
17564 * sysdeps/unix/sysv/linux/kernel-features.h
17565 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17566 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17567 Make code unconditional.
17568 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17569 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17571 [__NR_vfork]: Make code unconditional.
17572 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17573 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17575 [__NR_vfork]: Make code unconditional.
17576 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17577 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17578
09c0ee5f
RM
175792012-08-01 Roland McGrath <roland@hack.frob.com>
17580
48aec5b9
RM
17581 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17582 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17583
cd97c966
RM
17584 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17585 Define mkstemp64 as an alias.
3f55550c
RM
17586 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17587 Define mkstemps64 as an alias.
cd97c966
RM
17588 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17589 Define mkostemp64 as an alias.
b8625cfc
RM
17590 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17591 Define mkostemps64 as an alias.
cd97c966
RM
17592 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17593 Conditionalize body on this.
17594 * misc/mkostemp64.c: Likewise.
b8625cfc 17595 * misc/mkostemps64.c: Likewise.
3f55550c 17596 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17597 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17598 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17599 * sysdeps/wordsize-64/mkostemp.c: File removed.
17600 * sysdeps/wordsize-64/mkstemp.c: File removed.
17601 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17602 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17603 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17604 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17605
09c0ee5f
RM
17606 [BZ #14138]
17607 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17608 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17609 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17610 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17611
17612 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17613 compat_symbol macros from <shlib-compat.h> rather than the underlying
17614 default_symbol_version and symbol_version macros, so that DEFAULT
17615 lines in shlib-versions are respected.
17616 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17617
7e66ee51
FW
176182012-08-01 Florian Weimer <fweimer@redhat.com>
17619
17620 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17621 Declare with warn_unused_result.
17622 (setgid, setregid, setegid, setresgid): Likewise.
17623 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17624 Likewise.
17625 * WUR-REPORT: Remove set*id functions.
17626
d2a54255
PT
176272012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17628
17629 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17630
7ecdb005
RM
176312012-07-31 Roland McGrath <roland@hack.frob.com>
17632
b4180a5e 17633 [BZ #10191]
789bd351
RM
17634 * include/sys/socket.h (__libc_accept, __libc_accept4):
17635 Add attribute_hidden.
17636 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17637
40ce302d
RM
17638 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17639 use of PTR_MANGLE.
17640 * inet/getnetgrent_r.c (setup): Likewise.
17641
7ecdb005
RM
17642 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17643
e2eabb2c
DM
176442012-07-31 David S. Miller <davem@davemloft.net>
17645
17646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17647
d0419dbf
JM
176482012-07-31 Joseph Myers <joseph@codesourcery.com>
17649
17650 [BZ #13629]
17651 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17652 value between 1.0 and 2.0 and smaller part has absolute value less
17653 than 1.0.
17654 * math/s_clog10.c (__clog10): Likewise.
17655 * math/s_clog10f.c (__clog10f): Likewise.
17656 * math/s_clog10l.c (__clog10l): Likewise.
17657 * math/s_clogf.c (__clogf): Likewise.
17658 * math/s_clogl.c (__clogl): Likewise.
17659 * math/libm-test.inc (clog_test): Add more tests.
17660 (clog10_test): Likewise.
17661 * sysdeps/i386/fpu/libm-test-ulps: Update.
17662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17663
2bc13872
FW
176642012-07-31 Florian Weimer <fweimer@redhat.com>
17665
17666 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17667 Exit with zero in case no suitable GID is found, and write a
17668 message to standard error.
17669
bea9b193
RM
176702012-07-30 Roland McGrath <roland@hack.frob.com>
17671
17672 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17673 rather than to 1.
17674 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17675 (MAXPATHLEN): Removed.
17676 (NOGROUP, NODEV): New macros.
17677 (setbit, clrbit, isset, isclr): New macros.
17678 (howmany, roundup, powerof2): New macros.
17679 (DEV_BSIZE): New macro.
17680
17681 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17682 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17683
17684 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17685 definition on [!__NO_LONG_DOUBLE_MATH].
17686
17687 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17688 PTR_MANGLE and PTR_DEMANGLE.
17689
17690 * socket/accept4.c (accept4): Rename to __libc_accept4.
17691 Define accept4 as a weak alias.
17692
17693 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17694 on [_DIRENT_HAVE_D_TYPE].
17695 * io/ftw.c (ftw_dir): Likewise.
17696
17697 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17698
17699 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17700
17701 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17702 Use the BSD numbers rather than the arbitrary ones we had.
17703 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17704 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17705 (SIGXCPU, SIGXFSZ): New macros.
17706 (_NSIG): Now 32.
17707
17708 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17709 initializer on [_LIBC_REENTRANT].
17710
17711 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17712 definitions inside [_POSIX_MAPPED_FILES].
17713
17714 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17715
17716 * dirent/opendir.c: Include <fcntl.h>.
17717
17718 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17719 (__libc_getspecific): Likewise.
17720 (__libc_key_create): Likewise.
17721
17722 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17723 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17724 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17725 (tmpfile64): Define as alias.
17726 * sysdeps/wordsize-64/tmpfile.c: File removed.
17727 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17728 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17729 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17730
17731 * stdio-common/vfscanf.c: Include <stdbool.h>.
17732 * nss/makedb.c: Likewise.
17733 * stdio-common/_i18n_number.h: Likewise.
17734 * argp/argp-help.c: Likewise.
17735 * posix/wordexp.c: Likewise.
17736 * sysdeps/posix/spawni.c: Likewise.
17737 * nss/nss_files/files-initgroups.c: Likewise.
17738 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17739 * nss/nss_files/files-initgroups.c: Likewise.
17740 * nss/nss_db/db-netgrp.c: Likewise.
17741 * nss/nss_db/db-initgroups.c: Likewise.
17742 * io/fchmodat.c: Include <sys/stat.h>.
17743
17744 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17745 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17746
17747 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17748 [HAVE_MMAP].
17749
17750 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17751 Add multiple inclusion protection.
17752
e5abc686
DM
177532012-07-27 David S. Miller <davem@davemloft.net>
17754
17755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17756
815e6fa3
GB
177572012-07-27 Gary Benson <gbenson@redhat.com>
17758
17759 [BZ #14298]
17760 * elf/rtld.c: Include <stap-probe.h>.
17761 (dl_main): Added static probes "init_start" and "init_complete".
17762 * elf/dl-load.c: Include <stap-probe.h>.
17763 (lose): Take new parameter "nsid".
17764 Added static probe "map_failed".
17765 (_dl_map_object_from_fd): Pass namespace id to lose.
17766 Added static probe "map_start".
17767 (open_verify): Pass namespace id to lose.
17768 * elf/dl-open.c: Include <stap-probe.h>.
17769 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17770 and "reloc_complete".
17771 * elf/dl-close.c: Include <stap-probe.h>.
17772 (_dl_close_worker): Added static probes "unmap_start" and
17773 "unmap_complete".
17774 * elf/rtld-debugger-interface.txt: New file documenting the above.
17775
9f98c16c
RM
177762012-07-26 Roland McGrath <roland@hack.frob.com>
17777
17778 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17779 rather than a string variable.
17780 * sunrpc/rpc_main.c (h_output): Likewise.
17781 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17782
f3c22df3
PT
177832012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17784
17785 * inet/check_native.c: New file.
17786
3129cfc6
JM
177872012-07-26 Joseph Myers <joseph@codesourcery.com>
17788
da865e95
JM
17789 [BZ #13629]
17790 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17791 if larger part has absolute value 1.0.
17792 * math/s_clog10.c (__clog10): Likewise.
17793 * math/s_clog10f.c (__clog10f): Likewise.
17794 * math/s_clog10l.c (__clog10l): Likewise.
17795 * math/s_clogf.c (__clogf): Likewise.
17796 * math/s_clogl.c (__clogl): Likewise.
17797 * math/libm-test.inc (clog_test): Add more tests.
17798 (clog10_test): Likewise.
17799 * sysdeps/i386/fpu/libm-test-ulps: Update.
17800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17801
3129cfc6
JM
17802 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17803 (pltexit): Likewise.
17804 (La_regs): Likewise.
17805 (La_retval): Likewise.
17806 (int_retval): Likewise.
17807 Update #error for removed macros to refer only to definitions in
17808 tst-audit.h.
17809 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17810 macro.
17811 (pltexit): Likewise.
17812 (La_regs): Likewise.
17813 (La_retval): Likewise.
17814 (int_retval): Likewise.
17815 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17816 macro.
17817 (pltexit): Likewise.
17818 (La_regs): Likewise.
17819 (La_retval): Likewise.
17820 (int_retval): Likewise.
17821 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17822 macro.
17823 (pltexit): Likewise.
17824 (La_regs): Likewise.
17825 (La_retval): Likewise.
17826 (int_retval): Likewise.
17827 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17828 macro.
17829 (pltexit): Likewise.
17830 (La_regs): Likewise.
17831 (La_retval): Likewise.
17832 (int_retval): Likewise.
17833 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17834 macro.
17835 (pltexit): Likewise.
17836 (La_regs): Likewise.
17837 (La_retval): Likewise.
17838 (int_retval): Likewise.
17839 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17840 macro.
17841 (pltexit): Likewise.
17842 (La_regs): Likewise.
17843 (La_retval): Likewise.
17844 (int_retval): Likewise.
17845 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17846 macro definitions in tst-audit.h.
17847 * sysdeps/i386/tst-audit.h: New file.
17848 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17849 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17850 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17851 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17852 * sysdeps/sh/tst-audit.h: Likewise.
17853 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17854 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17855 * sysdeps/x86_64/tst-audit.h: Likewise.
17856
bfc07087
AJ
178572012-07-26 Andreas Jaeger <aj@suse.de>
17858
b1b2aaf8
AJ
17859 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17860 ptrace.
17861
17862 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17863 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17864 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17865 PTRACE_O_MASK.
17866 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17867 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17868 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17869
bfc07087
AJ
17870 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17871 value.
17872
17873 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17874 _sigsys.
17875 (si_call_addr, si_syscall, si_arch): Define new macro.
17876 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17877 _sigsys.
17878 (si_call_addr, si_syscall, si_arch): Define new marcro.
17879 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17880 _sigsys.
17881 (si_call_addr, si_syscall, si_arch): Define new macro.
17882 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17883 _sigsys.
17884 (si_call_addr, si_syscall, si_arch): Define new macro.
17885
89b4b02f
JM
178862012-07-25 Joseph Myers <joseph@codesourcery.com>
17887
17888 [BZ #13717]
17889 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17890 Change to 2.4.21 where previously 2.4.1.
17891 * sysdeps/unix/sysv/linux/configure: Regenerated.
17892 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17893 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17894 Linux kernel version.
17895 (__ASSUME_STD_AUXV): Remove.
17896 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17897 kernel version.
17898 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17899 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17900 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17901 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17902 (__ASSUME_NETLINK_SUPPORT): Likewise.
17903 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17904 (__no_netlink_support): Remove conditional definition.
17905 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17906 Remove.
17907 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17908 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17909 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17910 (if_nameindex_ioctl): Remove.
17911 (if_nameindex_netlink): Do not handle __no_netlink_support.
17912 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17913 code.
17914 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17915 Remove conditional code.
17916 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17917 code.
17918 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17919 unconditional.
17920 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17921 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17922 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17923 Remove.
17924 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17925 [!__ASSUME_STD_AUXV]: Remove conditional code.
17926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17927 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17928 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17930 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17931 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17932 code.
17933 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17935 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17936 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17937 conditional code.
17938 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17940 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17941 code.
17942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17943 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17944 conditional code.
17945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17946 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17947 code unconditional.
17948 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17949 conditional code.
17950 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17951 unconditional.
17952 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17953 conditional code.
17954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17955 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17956 unconditional.
17957 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17958 conditional code.
17959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17960 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17961 code unconditional.
17962 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17963 conditional code.
17964 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17965 unconditional.
17966 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17967 conditional code.
17968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17969 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17970 code unconditional.
17971 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17972 conditional code.
17973 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17974 unconditional.
17975 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17976 conditional code.
17977
842a39cd
AS
179782012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17979
17980 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17981 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17982 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17983 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17984 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17985 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17986 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17987 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17988 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17989 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17990 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17991 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17992 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17993 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17994 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17995 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17996 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17997 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17998 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18000 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18001 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18002 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18003
84b3fd84
FW
180042012-07-25 Florian Weimer <fweimer@redhat.com>
18005
18006 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18007 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18008 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18009 Introduce __libc_secure_getenv.
0c7936d5
FW
18010 * stdlib/Versions (2.17): Add secure_getenv
18011 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18012 * stdlib/secure-getenv.c: Rename __secure_getenv to
18013 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18014 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18015 * stdlib/tst-secure-getenv.c: New.
18016 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18017 * manual/startup.texi (Environment Access): Document
18018 secure_getenv.
84b3fd84
FW
18019 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18020 __libc_secure_getenv.
18021 * inet/ruserpass.c (ruserpass): Likewise.
18022 * malloc/mtrace.c (mtrace): Likewise.
18023 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18024 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18025 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18026 * sysdeps/posix/tempname.c: Likewise. Evaluate
18027 HAVE_SECURE_GETENV.
18028 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18029 __secure_getenv to __libc_secure_getenv.
84b3fd84 18030 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18032 Likewise.
18033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18034 Likewise.
18035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18037 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 18042
56e49b71
JM
180432012-07-25 Joseph Myers <joseph@codesourcery.com>
18044
18045 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18046 (struct La_i86_retval): Likewise.
18047 (struct La_x86_64_regs): Likewise.
18048 (struct La_x86_64_retval): Likewise.
18049 (struct La_x32_regs): Likewise.
18050 (struct La_x32_retval): Likewise.
18051 (struct La_ppc32_regs): Likewise.
18052 (struct La_ppc32_retval): Likewise.
18053 (struct La_ppc64_regs): Likewise.
18054 (struct La_ppc64_retval): Likewise.
18055 (struct La_sh_regs): Likewise.
18056 (struct La_sh_retval): Likewise.
18057 (struct La_s390_32_regs): Likewise.
18058 (struct La_s390_32_retval): Likewise.
18059 (struct La_s390_64_regs): Likewise.
18060 (struct La_s390_64_retval): Likewise.
18061 (struct La_sparc32_regs): Likewise.
18062 (struct La_sparc32_retval): Likewise.
18063 (struct La_sparc64_regs): Likewise.
18064 (struct La_sparc64_retval): Likewise.
18065 (struct audit_ifaces): Remove architecture-specific pltenter and
18066 pltexit members.
18067 * sysdeps/i386/ldsodefs.h: New file.
18068 * sysdeps/powerpc/ldsodefs.h: Likewise.
18069 * sysdeps/s390/ldsodefs.h: Likewise.
18070 * sysdeps/sh/ldsodefs.h: Likewise.
18071 * sysdeps/sparc/ldsodefs.h: Likewise.
18072 * sysdeps/x86_64/ldsodefs.h: Likewise.
18073
354691b7
MP
180742012-07-25 Marek Polacek <polacek@redhat.com>
18075
18076 [BZ #6808]
18077 * math/libm-test.inc (yn_test): Add another test.
18078 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18079 to ERANGE when the result is +-Inf.
18080 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18081 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18082 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18083 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18084
bf9e2071
JM
180852012-07-24 Joseph Myers <joseph@codesourcery.com>
18086
18087 * conform/data/time.h-data (NULL): Use macro-constant. Require
18088 equal to 0.
18089 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18090 clock_t.
18091 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18092
57633811
TS
180932012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18094
18095 * configure.in <sysdeps resolving>: Correct printing
18096 Implies_before.
18097 * configure: Regenerate.
18098
c23c33b0
TS
180992012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18100
18101 * math/w_ilogb.c: Include <limits.h>.
18102 * math/w_ilogbl.c: Likewise.
18103
b5982523
JM
181042012-07-20 Joseph Myers <joseph@codesourcery.com>
18105
18106 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18107 va_copy. Document allowing for unavailable va_copy only as
18108 pre-C99 compatibility.
18109 * manual/string.texi (Copying and Concatenation): Use va_copy
18110 instead of __va_copy in concat example.
18111
ac4ea442
PT
181122012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18113
18114 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18115 (__sendto): Use create_address_port. Initialize APORT and deallocate
18116 it if not null.
18117
f98eafbd
PT
18118 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18119 with O_NOLINK passed to __file_name_lookup.
18120
898c7aab
PT
18121 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18122 with O_NOLINK passed to __file_name_lookup.
18123
0ced335a
PT
18124 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18125 negative N or less than NGIDS.
18126
b3404dbd
PT
18127 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18128 type to string_t. Set ERANGE as errno and return it if NAME is not big
18129 enough. Use memcpy instead of strncpy.
18130
0f48659e
JM
181312012-07-20 Joseph Myers <joseph@codesourcery.com>
18132
18133 * elf/Makefile (check-data): Remove.
18134 (localplt.data): New vpath directive.
18135 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18136 instead of $(check-data).
18137 * scripts/data/localplt-generic.data: Move to ...
18138 * sysdeps/generic/localplt.data: ... here.
18139 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18140 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18141 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18143 ... here.
18144 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18146 ... here.
18147 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18149 ... here.
18150 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18152 ... here.
18153 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18155 ... here.
18156 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18158 ... here.
18159
d37cbdaa
AZ
181602012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18161
18162 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18163 PPC32 and PPC64 files.
18164 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18165 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18166
46f85fc2
AK
181672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18168
18169 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18170 __makecontext_ret to ...
18171 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18172 ... here and call exit if uc_link is NULL. New file.
18173 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18174 __makecontext_ret.S.
18175 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18176 __makecontext_ret to ...
18177 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18178 ... here and call exit if uc_link is NULL. New file.
18179 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18180 __makecontext_ret.S.
18181
08f43f9b
AK
181822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18183
18184 * elf/elf.h (R_390_IRELATIVE): New definition.
18185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18186 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18187 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18188 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18189 (elf_machine_lazy_rel): Likewise.
18190 * sysdeps/s390/dl-irel.h: New file.
18191 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18192 * sysdeps/s390/s390-64/memset.S: New asm code.
18193 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18194 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18195 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18196 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18197 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18198 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18199 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18200 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18201 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18202 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18203 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18204 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18205 * sysdeps/s390/s390-32/memset.S: New asm code.
18206 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18207
3b05db33
MP
182082012-07-17 Marek Polacek <polacek@redhat.com>
18209
18210 [BZ #14349]
18211 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18212 * sysdeps/s390/s390-64/configure.in: Likewise.
18213 * sysdeps/sparc/configure.in: Likewise.
18214 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18215 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18216 * sysdeps/i386/configure.in: Likewise.
18217 * sysdeps/x86_64/configure.in: Likewise.
18218 * sysdeps/sh/configure.in: Likewise.
18219 * sysdeps/s390/s390-32/configure: Regenerated.
18220 * sysdeps/s390/s390-64/configure: Likewise.
18221 * sysdeps/x86_64/configure: Likewise.
18222 * sysdeps/sh/configure: Likewise.
18223 * sysdeps/powerpc/powerpc64/configure: Likewise.
18224 * sysdeps/powerpc/powerpc32/configure: Likewise.
18225 * sysdeps/sparc/configure: Likwise.
18226 * sysdeps/i386/configure: Likewise.
18227
a66877c6
MP
18228 * elf/dl-open.c: Comment fixes.
18229
cfc82fd8
JM
182302012-07-17 Joseph Myers <joseph@codesourcery.com>
18231
bd29910a
JM
18232 * Makefile [CXX] (check-data): Remove.
18233 [CXX] (c++-types.data): New vpath directive.
18234 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18235 vpath. Do not allow for C++ type data being missing.
18236 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18237 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18238 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18239 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18240 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18241 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18242 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18244 ... here.
18245 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18247 ... here.
18248 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18250 ... here.
18251 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18253 ... here.
18254 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18256 ... here.
18257 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18259 ... here.
18260 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18262 ... here.
18263 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18265
cfc82fd8
JM
18266 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18267 definitions to architecture-specific files.
18268 (TLS_IE): Likewise.
18269 (TLS_LD): Likewise.
18270 (TLS_GD): Likewise.
18271 * sysdeps/i386/tls-macros.h: New file.
18272 * sysdeps/powerpc/tls-macros.h: Likewise.
18273 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18274 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18275 * sysdeps/sh/tls-macros.h: Likewise.
18276 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18277 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18278 * sysdeps/x86_64/tls-macros.h: Likewise.
18279
f7db3170
TS
182802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18281
07cbfc23
TS
18282 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18283 zero value for regular exit case.
18284
f7db3170
TS
18285 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18286 (__start_context): Preserve zero value for regular exit case.
18287
dc97c227
TS
182882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18289 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18290
18291 * manual/setjmp.texi (setcontext): Clarify normal process
18292 termination when uc_link is the null pointer.
18293 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18294 exit call.
18295
d0cd7d02
AS
182962012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18297
18298 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18299 preprocessor. Test for each exception mask separately.
18300
dd318934
AJ
183012012-07-16 Andreas Jaeger <aj@suse.de>
18302
18303 * po/ru.po: Update from translation team.
18304
8048311a
JM
183052012-07-15 Joseph Myers <joseph@codesourcery.com>
18306
18307 * conform/data/string.h-data (NULL): Use macro-constant. Require
18308 equal to 0.
18309 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18310 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18311 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18312 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18314
b637d46e
AJ
183152012-07-13 Andreas Jaeger <aj@suse.de>
18316
18317 * po/fr.po: Update from translation team.
18318
541428fe
MP
183192012-07-12 Marek Polacek <polacek@redhat.com>
18320
18321 [BZ #14173]
18322 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18323 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18324 loop condition.
18325
ec332e94
JM
183262012-07-12 Joseph Myers <joseph@codesourcery.com>
18327
18328 [BZ #13717]
18329 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18330 Change to 2.4.1 where previously 2.4.0.
18331 * sysdeps/unix/sysv/linux/configure: Regenerated.
18332 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18333 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18334 version.
18335 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18336 (__ASSUME_AT_CLKTCK): Remove.
18337 (__ASSUME_AT_PAGESIZE): Likewise.
18338 (__ASSUME_AT_XID): Likewise.
18339 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18340 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18341 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18342 unconditionally.
18343 (HAVE_AUX_PAGESIZE): Likewise.
18344 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18345 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18346 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18347
7b6e99be
JB
183482012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18349
18350 [BZ #14307]
18351 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18352 the temporary buffer used to invoke __gethostbyname2_r,
18353 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18354 host_data / struct gaih_addrtuple.
18355 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18356 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18357 header file nss/nsswitch.h.
18358 * nss/nsswitch.h (global scope): Add definition of implementation
18359 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18360 resolv/nss_dns/dns-host.c).
18361
608404eb
AJ
183622012-07-11 Andreas Jaeger <aj@suse.de>
18363
18364 * po/fr.po: Update from translation team.
18365
71220aca
AJ
18366 * po/sv.po: Update from translation team
18367 * po/fr.po: Another update from translation team.
18368
28cfe843
AZ
183692012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18370
18371 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18372 for subnormals or multiply small sinh result by itself.
18373 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18375
6b90f981
DM
183762012-07-11 David S. Miller <davem@davemloft.net>
18377
18378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18379
c6825772
AS
183802012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18381
18382 [BZ #14347]
18383 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18384 (INTERNAL_MARK): Shift it here.
18385
7b8e0d49
MP
183862012-07-10 Marek Polacek <polacek@redhat.com>
18387
18388 [BZ #14151]
18389 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18390 libc_cv_asm_global_directive with .globl.
18391 * configure: Regenerated.
18392 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18393 with .globl.
18394 * sysdeps/i386/configure: Regenerated.
18395 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18396 with .globl.
18397 * sysdeps/x86_64/configure: Regenerated.
18398 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18399 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18400 * elf/tst-unique2mod2.c: Likewise.
18401 * elf/tst-unique2mod1.c: Likewise.
18402 * elf/tst-unique1mod2.c: Likewise.
18403 * elf/tst-unique1mod1.c: Likewise.
18404 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18405 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18406 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18407 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18408 * sysdeps/mach/sysdep.h: Likewise.
18409 * sysdeps/i386/sysdep.h: Likewise.
18410 * sysdeps/i386/i386-mcount.S: Likewise.
18411 * sysdeps/x86_64/_mcount.S: Likewise.
18412 * sysdeps/x86_64/sysdep.h: Likewise.
18413 * sysdeps/sh/_mcount.S: Likewise.
18414 * sysdeps/sh/sysdep.h: Likewise.
18415 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18416 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18417 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18418 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18419 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18420 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18421 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18422 * locale/localeinfo.h: Likewise.
18423 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18424 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18425
6c55cda3
RM
184262012-07-09 Roland McGrath <roland@hack.frob.com>
18427
18428 [BZ #14336]
18429 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18430 system".
18431 * manual/message.texi (The Uniforum approach): Likewise.
18432 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18433 (glibc iconv Implementation): Likewise.
18434
638a572e
JM
184352012-07-09 Joseph Myers <joseph@codesourcery.com>
18436
18437 [BZ #14337]
18438 * math/s_clog.c (__clog): Avoid scaling a value down where that
18439 could result in underflow.
18440 * math/s_clog10.c (__clog10): Likewise.
18441 * math/s_clog10f.c (__clog10f): Likewise.
18442 * math/s_clog10l.c (__clog10l): Likewise.
18443 * math/s_clogf.c (__clogf): Likewise.
18444 * math/s_clogl.c (__clogl): Likewise.
18445 * math/libm-test.inc (clog_test): Add more tests.
18446 (clog10_test): Likewise.
18447 * sysdeps/i386/fpu/libm-test-ulps: Update.
18448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18449
261f4859
AS
184502012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18451
0abaf3e4
AS
18452 [BZ #14283]
18453 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18454 by 7 not 8 to examine high bit of fractional part.
18455
261f4859
AS
18456 [BZ #14042]
18457 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18458 for call to __mcount_internal.
18459 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18460 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18461 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18462
f17ac40d
JM
184632012-07-06 Joseph Myers <joseph@codesourcery.com>
18464
9ad63c23
JM
18465 [BZ #14154]
18466 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18467 approximation for values within 0x1p-13f of an odd multiple of
18468 pi/4.
18469 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18470 exception. Add more tests.
18471 * sysdeps/i386/fpu/libm-test-ulps: Update.
18472
f17ac40d
JM
18473 [BZ #6778]
18474 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18475 inputs and return -1 for them. Do not check for +Inf in case not
18476 reachable for +Inf.
18477 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18478 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18479 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18480 and return -1 for them. Do not check for +Inf in case not
18481 reachable for +Inf.
18482 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18483 define.
18484 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18485 and return -1 for them. Do not check for +Inf in case not
18486 reachable for +Inf.
18487 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18488 spurious underflow.
18489 * sysdeps/i386/fpu/libm-test-ulps: Update.
18490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18491
fb21f89b
MF
184922012-07-06 Mike Frysinger <vapier@gentoo.org>
18493
18494 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18495
cdfe2c5e
JM
184962012-07-05 Joseph Myers <joseph@codesourcery.com>
18497
18498 [BZ #14157]
18499 [BZ #14331]
18500 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18501 could result in spurious underflow. Scale down values above
18502 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18503 * math/s_csqrtf.c (__csqrtf): Likewise.
18504 * math/s_csqrtl.c (__csqrtl): Likewise.
18505 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18506 spurious underflow.
18507 * sysdeps/i386/fpu/libm-test-ulps: Update.
18508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18509
70d35b67
AS
185102012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18511
704bc459
AS
18512 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18513 xopen-msg.sed.
18514 * catgets/xopen-msg.awk: New file.
18515 * catgets/xopen-msg.sed: Removed.
18516
70d35b67
AS
18517 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18518 po2text.sed.
18519 * intl/po2test.awk: New file.
18520 * intl/po2test.sed: Removed.
18521
ca61cf32
JM
185222012-07-04 Joseph Myers <joseph@codesourcery.com>
18523
18524 [BZ #14328]
18525 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18526 or multiply small sinh result by itself.
18527 * math/s_ctanf.c (__ctanf): Likewise.
18528 * math/s_ctanh.c (__ctanh): Likewise.
18529 * math/s_ctanhf.c (__ctanhf): Likewise.
18530 * math/s_ctanhl.c (__ctanhl): Likewise.
18531 * math/s_ctanl.c (__ctanl): Likewise.
18532 * math/libm-test.inc (ctan_test_tonearest): New function.
18533 (ctan_test_towardzero): Likewise.
18534 (ctan_test_downward): Likewise.
18535 (ctan_test_upward): Likewise.
18536 (ctanh_test_tonearest): Likewise.
18537 (ctanh_test_towardzero): Likewise.
18538 (ctanh_test_downward): Likewise.
18539 (ctanh_test_upward): Likewise.
18540 (main): Call these new functions.
18541 * sysdeps/i386/fpu/libm-test-ulps: Update.
18542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18543
ca48a46a
MF
185442012-07-03 Mike Frysinger <vapier@gentoo.org>
18545
18546 * .gitignore: Delete /ports entry.
18547
9d63d37d
AJ
185482012-07-03 Andreas Jaeger <aj@suse.de>
18549
18550 * po/bg.po: Update from translation team.
18551 * po/cs.po: Likewise.
18552 * po/de.po: Likewise.
18553 * po/hr.po: Likewise.
18554 * po/nl.pl: Likewise.
18555 * po/pl.po: Likewise.
18556 * po/vi.po: Likewise.
18557
370ca3d2
JM
185582012-07-03 Joseph Myers <joseph@codesourcery.com>
18559
95f5a9a8
JM
18560 * Makeconfig [!+link] (+link-before-libc): New variable.
18561 [!+link] (+link-after-libc): Likewise.
18562 [!+link] (+link-tests): Likewise.
18563 [!+link] (+link): Define in terms of $(+link-before-libc) and
18564 $(+link-after-libc).
18565 [!+link-static] (+link-static-before-libc): New variable.
18566 [!+link-static] (+link-static-after-libc): Likewise.
18567 [!+link-static] (+link-static-tests): Likewise.
18568 [!+link-static] (+link-static): Define in terms of
18569 $(+link-static-before-libc) and $(+link-static-after-libc).
18570 [build-shared] (link-libc-before-gnulib): New variable.
18571 [build-shared] (link-libc-tests): Likewise.
18572 [build-shared] (link-libc): Define in terms of
18573 $(link-libc-before-gnulib).
18574 [!build-shared] (link-libc-tests): New variable.
18575 (link-libc-static-tests): New variable.
18576 [!gnulib] (gnulib-arch): New variable.
18577 [!gnulib] (gnulib-tests): Likewise.
18578 [!gnulib] (static-gnulib-arch): Likewise.
18579 [!gnulib] (static-gnulib-tests): Likewise.
18580 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18581 Define with "=" instead of ":=".
18582 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18583 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18584 * Rules (binaries-all-notests): New variable.
18585 (binaries-all-tests): Likewise.
18586 (binaries-static-notests): Likewise.
18587 (binaries-static-tests): Likewise.
18588 (binaries-all): Define using $(binaries-all-notests) and
18589 $(binaries-all-tests).
18590 (binaries-static): Define using $(binaries-static-notests) and
18591 $(binaries-static-tests).
18592 (binaries-shared-tests): New variable.
18593 (binaries-shared-notests): Likewise.
18594 (binaries-shared): Remove variable.
18595 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18596 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18597 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18598 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18599 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18600 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18601 * elf/Makefile (sln-modules): New variable.
18602 (extra-objs): Add $(sln-modules:=.o).
18603 (ldconfig-modules): Add static-stubs.
18604 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18605 * elf/static-stubs.c: New file.
18606
7a845b2c
JM
18607 [BZ #14283]
18608 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18609 by 7 not 8 to examine high bit of fractional part. Use volatile
18610 variables when splitting into final array of floats if
18611 __FLT_EVAL_METHOD__ != 0.
18612 * math/libm-test.inc (cos_test): Add another test.
18613 (sin_test): Likewise.
18614 * sysdeps/i386/fpu/libm-test-ulps: Update.
18615
e2283f38
JM
18616 [BZ #14273]
18617 * math/libm-test.inc (cosh_test): Add more tests.
18618
370ca3d2
JM
18619 * version.h (RELEASE): Set to "development".
18620 (VERSION): Set to "2.16.90".
18621
ee9247c3
CD
186222012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18623
18624 * NEWS: Update copyright. Remove last-updated date.
18625 Mention math library bug fixes and timezone data changes.
18626 * README: Mention GNU/Hurd, x32, and HPPA support status.
18627
4648c381
TS
186282012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18629
18630 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18631
aac78a43
AJ
186322012-06-27 Andreas Jaeger <aj@suse.de>
18633
18634 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18635
ed3dbfad
AJ
186362012-06-25 Andreas Jaeger <aj@suse.de>
18637
18638 * sysdeps/s390/fpu/libm-test-ulps: Update.
18639
4d0ee855
AS
186402012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18641 Thomas Schwinge <thomas@codesourcery.com>
18642
18643 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18644 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18646 fanotify_mark.
18647
af1bce34
TS
186482012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18649
a9fa33ba
TS
18650 * sysdeps/mach/start.c: Remove file.
18651 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18652 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18653 * sysdeps/sh/init-first.c: Likewise.
18654
58f902b8
TS
18655 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18656 registers for frame unwinding purposes, add CFI directives.
18657 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18658 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18659 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18660 Likewise.
18661
1518f58b
TS
18662 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18663 __fortify_fail returning.
18664 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18665
db9b5059
TS
18666 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18667 sysdeps/sh/____longjmp_chk.S.
18668 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18669 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18670 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18671 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18672
967705fe
TS
18673 * sysdeps/sh/abort-instr.h: New file.
18674 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18675 process in case exit returns.
18676
a9def8c4
TS
18677 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18678 initialize the GOT register before use.
18679
2a649725
TS
18680 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18681 calculation of ARGC > 4.
18682
af1bce34
TS
18683 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18684 meaningful names to some local labels.
18685
d230f50a
KK
186862012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18687 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18688
18689 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18690 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18691 (__arch_compare_and_exchange_val_16_acq): Likewise.
18692 (__arch_compare_and_exchange_val_32_acq): Likewise.
18693 (atomic_exchange_and_add): Fix gUSA sequence.
18694 (atomic_add): Likewise.
18695 (atomic_add_negative): Likewise.
18696 (atomic_add_zero): Likewise.
18697 (atomic_bit_test_set): Likewise.
18698
0479b305
AS
186992012-06-22 Andreas Schwab <schwab@redhat.com>
18700
18701 [BZ #13579]
18702 * include/link.h (struct link_map): Add l_free_initfini.
18703 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18704 l_initfini.
18705 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18706 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18707 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18708 set.
18709
0e3933b9
CD
187102012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18711
18712 * configure.in: Use AC_LANG_SOURCE.
18713 * configure: Regenerate.
18714
4248b1b1
RM
187152012-06-22 Roland McGrath <roland@hack.frob.com>
18716
18717 * configure.in (libc_cv_localstatedir): New substituted variable.
18718 * configure: Regenerated.
18719 * config.make.in (localstatedir): New variable, substituted from
18720 libc_cv_localstatedir.
18721 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18722 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18723 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18724 * sysdeps/gnu/configure: Regenerated.
18725
006dd861
JL
187262012-06-21 Jeff Law <law@redhat.com>
18727
18728 [BZ #14277]
18729 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18730 free. Simplify list management for _LIBC case.
18731
79662d42
JM
187322012-06-21 Joseph Myers <joseph@codesourcery.com>
18733
b7abb4bf
JM
18734 [BZ #14273]
18735 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18736 Clear sign bit of 64-bit integer value before comparing against
18737 overflow value.
18738
79662d42
JM
18739 * sysdeps/mach/configure: Regenerated.
18740
1f150908
L
187412012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18742
18743 [BZ #14278]
18744 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18745
28363bbf
JL
187462012-06-21 Jeff Law <law@redhat.com>
18747
18748 [BZ #13882]
18749 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18750 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18751 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18752 * elf/dl-open.c (dl_open_worker): Likewise.
18753
09615db4
CD
187542012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18755
18756 * scripts/list-sources.sh: Scan PORTS for translations.
18757 * po/libc.pot: Regenerated.
18758
2174c6dd
AJ
187592012-06-21 Andreas Jaeger <aj@suse.de>
18760
18761 [BZ #12194]
18762 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18763 warning.
18764 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18765 * bits/byteswap-16.h (__bswap_16): Likewise.
18766 * bits/byteswap.h (__bswap_constant_16): Likewise.
18767
3ee947b1
L
187682012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18769
18770 [BZ #14117]
a2f34833
L
18771 * sysdeps/i386/fpu_control.h: Removed.
18772 * sysdeps/x86_64/fpu_control.h: Moved to ...
18773 * sysdeps/x86/fpu_control.h: Here.
18774
3ee947b1
L
18775 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18776 (_FPU_SETCW): Likewise.
18777
ed1825f8
L
187782012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18779
25f1282a
L
18780 [BZ #14117]
18781 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18782 * sysdeps/x86/fpu/bits/mathinline.h: This.
18783 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18784
ed1825f8
L
18785 [BZ #14050]
18786 [BZ #14117]
18787 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18788 functions if __x86_64__ is defined.
18789
36d54b74
CLT
187902012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18791
18792 * string/endian.h: Add !__ASSEMBLER__ condition for including
18793 conversion interfaces.
18794
10285c21
JM
187952012-06-15 Joseph Myers <joseph@codesourcery.com>
18796
18797 [BZ #14241]
18798 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18799 of ABS(x) in calculating zero to negative powers other than odd
18800 integers.
18801 * math/libm-test.inc (pow_test): Add more tests.
18802
06c5abbd
AJ
188032012-06-15 Andreas Jaeger <aj@suse.de>
18804
18805 * manual/contrib.texi (Contributors): Update entry of Liubov
18806 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18807 Machado Filho.
18808
a3aeac40
CH
188092012-06-15 Cyril Hrubis <metan@ucw.cz>
18810
18811 * string/string.h: Add __wur to GNU version of strerror_r.
18812
49bdf4c1
L
188132012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18814
18815 [BZ #14229]
18816 * string/Makefile (tests): Add tst-strtok_r.
18817 * string/tst-strtok_r.c: New file.
18818 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18819 RAX_LP/RDX_LP on SAVE_PTR.
18820
834f9b8d
RM
188212012-06-14 Roland McGrath <roland@hack.frob.com>
18822
18823 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18824
75fa1921
JM
188252012-06-14 Joseph Myers <joseph@codesourcery.com>
18826
18827 * libm_test.inc (csqrt_test): Allow more spurious underflow
18828 exceptions.
18829 (j0_test): Likewise.
18830 (j1_test): Likewise.
18831 (y0_test): Likewise.
18832 (y1_test): Likewise.
18833
771766df
CD
188342012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18835
18836 * po/Makefile (libc.pot): Use UTF-8 charset.
18837
ceb9e56b
PP
188382012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18839
18840 [BZ #14210]
18841 Suppress sign-conversion warning from FD_SET.
18842 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18843 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18844 not unsigned long int.
18845 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18846
ddb28975
L
188472012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18848
18849 [BZ #14050]
18850 [BZ #14117]
18851 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18852 __extern_always_inline instead of __extern_inline.
18853 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18854 (__signbit): Likewise.
18855 (__signbitl): Support C++ namespace.
18856 (lrintf): New inline function.
18857 (lrint): Likewise.
18858 (llrintf): Likewise.
18859 (llrint): Likewise.
18860 (fmaxf): Likewise.
18861 (fmax): Likewise.
18862 (fminf): Likewise.
18863 (fmin): Likewise.
18864 (rint): Likewise.
18865 (rintf): Likewise.
18866 (ceil): Likewise.
18867 (ceilf): Likewise.
18868 (floor): Likewise.
18869 (floorf): Likewise.
18870 (nearbyint): Likewise.
18871 (nearbyintf): Likewise.
18872
d7b4fb26
TS
188732012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18874
18875 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18876 non-default versions.
18877
eb55f5c2
RM
188782012-06-11 Roland McGrath <roland@hack.frob.com>
18879
18880 [BZ #14218]
18881 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18882
366af02c
TS
188832012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18884
99ff6e5c
TS
18885 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18886 (FE_UPWARD, FE_DOWNWARD): Don't define.
18887 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18888 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18889
366af02c
TS
18890 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18891 reading it.
18892 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18893 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18894
793ea851
KK
188952012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18896
18897 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18898 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18899 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18900 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18901
a728a38f
L
189022012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18903
18904 [BZ #14117]
c08010c7
L
18905 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18906 * sysdeps/i386/fpu/Implies: New file.
18907 * sysdeps/x86_64/fpu/Implies: Likewise.
18908 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18909 * sysdeps/x86/fpu/bits/fenv.h: This.
18910
a728a38f
L
18911 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18912 __SSE_MATH__.
18913
6e230d11
SP
189142012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18915
18916 [BZ #14134]
18917 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18918 character 0xffff that matches the last element of the
18919 conversion table.
18920
1b671feb
AZ
189212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18922
18923 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18924 fmodl commit.
18925
6043738b
AZ
189262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18927
18928 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18929 values higher than 25.6283.
18930
34ae0b32
AZ
189312012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18932
18933 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18934 subnormal exponent extraction and add some __builtin_expect.
18935 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18936 Fix for subnormal mantissa calculation.
18937
1214ec8f
MF
189382012-06-04 Mike Frysinger <vapier@gentoo.org>
18939
18940 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18941 cpu2 is -1 and errno is not ENOSYS.
18942
f3d1f93c
L
189432012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18944
18945 [BZ #14117]
0e4a3cd7
L
18946 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18947 * sysdeps/x86/bits/string.h: This.
18948 * sysdeps/x86_64/bits/string.h: Removed.
18949
6704c645
L
18950 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18951 if not compiling for x86-64, but compiling for >= i486.
18952
48495318
L
18953 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18954 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18955
14adcbfc
L
18956 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18957 New macro from Linux kernel 3.4.0.
18958 (FP_XSTATE_MAGIC2): Likewise.
18959 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18960 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18961 (struct _fpx_sw_bytes): New struct.
18962 (struct _xsave_hdr): Likewise.
18963 (struct _ymmh_state): Likewise.
18964 (struct _xstate): Likewise.
18965
68e408ab
L
18966 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18967 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18968 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18969 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18970 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18971 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18972
f3d1f93c
L
18973 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18974 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18975 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18976 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18977 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18978 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18979
d9dc34cd
TMQMF
189802012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18981
18982 [BZ #13743]
18983 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18984 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18985 (sysdep_headers): Include sys/platform/ppc.h.
18986 * sysdeps/powerpc/test-gettimebase.c: Test for
18987 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18988 * manual/Makefile (appendices): Include platform.texi.
18989 * manual/contrib.texi (Contributors): Update @node pointers.
18990 * manual/maint.texi (Maintenance): Likewise.
18991 (Platform): New node.
18992 * manual/platform.texi: New file. Document the new features.
18993
4af3879c
SP
189942012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18995 Jakub Jelinek <jakub@redhat.com>
18996
18997 [BZ #14188]
18998 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18999 where __builtin_expect is unavailable.
19000
2fd6ff13
DM
190012012-06-03 David S. Miller <davem@davemloft.net>
19002
19003 * stdlib/longlong.h: Updated from GCC.
19004
173f7220
AS
190052012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19006
19007 [BZ #14042]
19008 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19009 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19010 __mcount_internal.
19011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19012 (GLIBC_2.16): Likewise.
19013
f34a1c6f
L
190142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19015
19016 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19017
88a4576f
JM
190182012-06-01 Joseph Myers <joseph@codesourcery.com>
19019
ea32bcdd
JM
19020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19021 (default-abi): New variable.
19022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19023 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19024 variable.
19025 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19026 Likewise.
19027 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19028 Likewise.
19029 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19030 Likewise.
19031
88a4576f
JM
19032 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19033 definition. Document in comment.
19034
402fe938
DM
190352012-06-01 David S. Miller <davem@davemloft.net>
19036
19037 * stdlib/longlong.h: Updated from GCC.
19038
3553723f
L
190392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19040
19041 [BZ #14117]
3bd872c4
L
19042 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19043 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19044 sys/debugreg.h sys/io.h here.
19045 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19046 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19047 sys/io.h.
19048 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19049 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19050 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19051 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19052 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19053 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19054
3553723f
L
19055 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19056 Define only if __x86_64__ is defined.
19057
4842e4fe
JM
190582012-06-01 Joseph Myers <joseph@codesourcery.com>
19059
c5bfe3d5
JM
19060 [BZ #14048]
19061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19062 Use int64_t for variable i.
19063 * math/libm-test.inc (fmod_test): Add more tests.
19064
4842e4fe
JM
19065 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19066 z computation is not scheduled after fetestexcept.
19067 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19068 Use math_force_eval instead of asm to ensure calculation scheduled
19069 before exception test.
19070 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19071 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19072
efb73488
AJ
190732012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19074
19075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19076 computation is not scheduled after fetestexcept.
19077
29bcce7c
L
190782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19079
19080 [BZ #14117]
19081 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19082 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19083
73a68f94
AZ
190842012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19085
19086 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19087 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19088
67b6df78
L
190892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19090
edf2933a 19091 [BZ #14117]
ebc64a18
L
19092 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19093 <bits/wordsize.h>.
19094 (__WCHAR_MIN): Support __WORDSIZE == 64.
19095 (__WCHAR_MAX): Likewise.
19096
edf2933a
L
19097 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19098 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19099
57c6cf40
L
19100 [BZ #14183]
19101 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19102 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19103
67b6df78 19104 [BZ #14117]
8eb6281e
L
19105 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19106 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19107
aac639f4
L
19108 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19109 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19110
67b6df78
L
19111 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19112 Defined to 1 if __x86_64__ isn't defined.
19113 (_STAT_VER_LINUX_OLD): New.
19114 (st_atime): Remove duplicate.
19115 (st_mtime): Likewise.
19116 (st_ctime): Likewise.
19117
1c2cfe81
DM
191182012-05-31 David S. Miller <davem@davemloft.net>
19119
19120 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19121 entries.
19122
5be8418c
AS
191232012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19124
e7725326
AS
19125 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19126 gen-libm-test.pl.
19127
5be8418c
AS
19128 [BZ #14132]
19129 * elf/dl-reloc.c: Include <_itoa.h>.
19130 (_dl_reloc_bad_type): Remove use of INTUSE.
19131 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19132 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19133 * stdio-common/psiginfo.c (psiginfo): Likewise.
19134 * stdio-common/psignal.c (psignal): Likewise.
19135 * string/strsignal.c (strsignal): Likewise.
19136 * include/signal.h (_sys_siglist): Declare hidden proto.
19137 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19138 INTVARDEF with libc_hidden_data_def.
19139 * stdio-common/itoa-udigits.c: Likewise.
19140 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19141 (_itoa_lower_digits_internal): Remove declaration.
19142 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19143 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19144 (_sys_sigabbrev_internal): Remove aliases.
19145 (_sys_siglist): Define hidden alias.
19146
507352f1
MT
191472012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19148
19149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19150 bits/sysctl.h.
19151
42bbb1c3
L
191522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19153
19154 [BZ #14117]
6bd784b6
L
19155 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19156 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19157
8bca20f0
L
19158 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19159 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19160 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19161 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19162 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19163 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19164
f9e890a9
L
19165 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19166 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19167 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19168
471101a1
L
19169 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19170 with __addr.
19171 (insw): Likewise.
19172 (insl): Likewise.
19173 (outsb): Likewise.
19174 (outsw): Likewise.
19175 (outsl): Likewise.
19176
6451c862
L
19177 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19178 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19179 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19180
a254b8c9
L
19181 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19182 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19184 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19185 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19186 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19187
b8dfdd92
L
19188 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19189 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19190
578cd270
L
19191 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19192 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19193
de662f5f
L
19194 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19195 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19196 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19197
25653439
L
19198 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19199 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19200 to ...
19201 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19202
6bad24a0
L
19203 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19204 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19205 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19206
42bbb1c3
L
19207 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19208 for x86-64.
19209 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19210
2d10d547
JM
192112012-05-31 Joseph Myers <joseph@codesourcery.com>
19212
19213 * math/math.h (M_El): Use two more decimal places.
19214 (M_LOG2El): Likewise.
19215 (M_LOG10El): Likewise.
19216 (M_LN2l): Likewise.
19217 (M_LN10l): Likewise.
19218 (M_PIl): Likewise.
19219 (M_PI_2l): Likewise.
19220 (M_PI_4l): Likewise.
19221 (M_1_PIl): Likewise.
19222 (M_2_PIl): Likewise.
19223 (M_2_SQRTPIl): Likewise.
19224 (M_SQRT2l): Likewise.
19225 (M_SQRT1_2l): Likewise.
19226
f230c29b
DM
192272012-05-31 David S. Miller <davem@davemloft.net>
19228
19229 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19230 values between float registers.
19231 * sysdeps/sparc/sparc64/memset.S: Likewise.
19232 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19233
fed806c3
MF
192342012-05-31 Mike Frysinger <vapier@gentoo.org>
19235
19236 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19237 -D_FORTIFY_SOURCE=1.
19238 (CPPFLAGS-tst-longjmp_chk.c): Define.
19239 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19240 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19241 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19242 CFLAGS-tst-wchar-h.c.
19243
30917259
MP
192442012-05-31 Marek Polacek <polacek@redhat.com>
19245
19246 [BZ #14132]
19247 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19248 __endmntent_internal): Remove declaration.
19249 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19250 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19251 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19252
1c58d5dc
DM
192532012-05-30 David S. Miller <davem@davemloft.net>
19254
19255 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19256 (___Q_simulate_exceptions): Use real FP ops rather than writing
19257 into the %fsr.
19258 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19259 Likewise.
19260
7dc00e0d
L
192612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19262
19263 [BZ #14117]
0bd53985
L
19264 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19265 * sysdeps/x86/bits/xtitypes.h: This.
19266
3a257e66
L
19267 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19268 * sysdeps/x86/bits/wordsize.h: This.
19269
62f62904
L
19270 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19271 * sysdeps/x86/bits/huge_vall.h: This.
19272
404fe9d9
L
19273 * sysdeps/i386/bits/select.h: Removed.
19274 * sysdeps/x86_64/bits/select.h: Renamed to ...
19275 * sysdeps/x86/bits/select.h: This.
19276
d48d0446
L
19277 * sysdeps/i386/bits/setjmp.h: Removed.
19278 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19279 * sysdeps/x86/bits/setjmp.h: This.
19280
7dc00e0d
L
19281 * sysdeps/i386/bits/mathdef.h: Removed.
19282 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19283 * sysdeps/x86/bits/mathdef.h: This.
19284
03277f8f
AS
192852012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19286
19287 [BZ #14132]
19288 * include/sys/socket.h (__connect_internal)
19289 (__libc_sa_len_internal): Remove declaration.
19290 (__connect, __libc_sa_len): Declare hidden_proto.
19291 (SA_LEN): Remove use of INTUSE.
19292 * socket/connect.c: Add libc_hidden_def.
19293 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19294 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19295 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19296 alias.
19297 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19298 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19299 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19300 of adding _internal alias.
19301
13764867
L
193022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19303
19304 [BZ #14117]
6bd97696
L
19305 * sysdeps/i386/bits/link.h: Removed.
19306 * sysdeps/i386/bits/linkmap.h: Likewise.
19307 * sysdeps/x86_64/bits/link.h: Renamed to ...
19308 * sysdeps/x86/bits/link.h: This.
19309 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19310 * sysdeps/x86/bits/linkmap.h: This.
19311
f726f0bb
L
19312 * sysdeps/i386/bits/endian.h: Removed.
19313 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19314 * sysdeps/x86/bits/endian.h: This.
19315
13764867
L
19316 * sysdeps/i386/bits/byteswap.h: Removed.
19317 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19318 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19319 * sysdeps/x86/bits/byteswap.h: This.
19320 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19321 * sysdeps/x86/bits/byteswap-16.h: This.
19322 * sysdeps/i386/Implies: Add x86.
19323 * sysdeps/x86_64/Implies: Likewise.
19324
ae251b0b
DM
193252012-05-30 David S. Miller <davem@davemloft.net>
19326
19327 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19328 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19329 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19330 (FP_TRAPPING_EXCEPTIONS): Define.
19331 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19332 (FP_TRAPPING_EXCEPTIONS): Define.
19333 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19334 subnormals only when inexact has been signalled or underflow
19335 exceptions are enabled.
19336 (_FP_PACK_CANONICAL): Likewise.
19337
d5c90867
L
193382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19339
19340 [BZ #14183]
19341 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19342 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19343
63f1549e
RH
193442012-05-30 Richard Henderson <rth@twiddle.net>
19345
8d8f2279
RH
19346 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19347 with #ifndef NOT_IN_libc.
19348
63f1549e
RH
19349 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19350 marked to avoid plt entry.
19351
0ab0291b
L
193522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19353
19354 [BZ #14112]
19355 * Makeconfig (default-abi): New macro.
19356 (abi-includes): Likewise.
19357 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19358 $(abi-$(default-abi)-lib-soname) for soname if defined.
19359 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19360 abi-variants.
19361 * Makefile (installed-stubs): Likewise.
19362 * include/stubs-biarch.h: Removed.
19363 * scripts/lib-names.awk: Only handle one library at a time.
19364 * scripts/soversions.awk: Remove WORDSIZE support.
19365 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19366 entries.
19367 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19368 Removed.
19369 (syscall-list-default-condition): Likewise.
19370 (syscall-list-default-condition): Likewise.
19371 (syscall-list-includes): Likewise.
19372 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19373 syscall-list-* with abi-*. Handle undefined abi-variants.
19374 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19375 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19376 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19377 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19378 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19379 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19380 Removed.
19381 (syscall-list-32-options): Likewise.
19382 (syscall-list-32-condition): Likewise.
19383 (syscall-list-64-options): Likewise.
19384 (syscall-list-64-condition): Likewise.
19385 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19386 macro.
19387 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19388 Renamed to ...
19389 (abi-*): This.
19390 (abi-64-ld-soname): New macro.
19391 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19392 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19393 Renamed to ...
19394 (abi-*): This.
19395 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19396 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19397
4da0431d
JM
193982012-05-30 Joseph Myers <joseph@codesourcery.com>
19399
3a85279c
JM
19400 * sysdeps/unix/sysv/linux/kernel-features.h
19401 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19402 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19403 include <kernel-features.h>.
19404 [!__NR_ftruncate64]: Remove conditional code.
19405 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19406 [__NR_ftruncate64]: Make code unconditional.
19407 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19408 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19409 include <kernel-features.h>.
19410 [!__NR_ftruncate64]: Remove conditional code.
19411 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19412 [__NR_ftruncate64]: Make code unconditional.
19413 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19415 include <kernel-features.h>.
19416 [!__NR_ftruncate64]: Remove conditional code.
19417 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19418 [__NR_ftruncate64]: Make code unconditional.
19419 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19421 include <kernel-features.h>.
19422 [!__NR_ftruncate64]: Remove conditional code.
19423 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19424 [__NR_ftruncate64]: Make code unconditional.
19425 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19426
4da0431d
JM
19427 * configure.in (libc_cv_fpie): Weaken to a compile test using
19428 LIBC_TRY_CC_OPTION.
19429 * configure: Regenerated.
19430
11ef492c
AK
194312012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19432
19433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19434 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19436 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19437 Refreshed.
19438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19440 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19444 Refreshed.
19445
d66ef399
DM
194462012-05-27 David S. Miller <davem@davemloft.net>
19447
19448 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19449 (___Q_zero): New.
19450 (__Q_simulate_exceptions): Return void. Change to simulate
19451 exceptions by writing into the %fsr.
19452 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19453 (__Qp_handle_exceptions): Likewise.
19454 (numbers): Delete.
19455 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19456 __Qp_handle_exceptions.
19457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19458 __Qp_handle_exceptions.
19459 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19460 as unused and give dummy FP_RND_NEAREST initializer.
19461 (FP_INHIBIT_RESULTS): Define.
19462 (___Q_simulate_exceptions): Update declaration.
19463 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19464 formatting.
19465 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19466 as unused and give dummy FP_RND_NEAREST initializer.
19467 (__Qp_handle_exceptions): Update declaration.
19468 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19469 formatting.
19470
04fb54b5
TS
194712012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19472
19473 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19474 the temporary FPU control word.
19475 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19476 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19477 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19478 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19479 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19480 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19481 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19482 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19483 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19484 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19485 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19486
3f99608f
KK
194872012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19488
19489 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19490 fields.
19491
65a4de4e
CLT
194922012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19493
19494 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19495 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19496 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19497 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19498 Likewise.
19499 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19500 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19501 Likewise.
19502
15749d40
UD
195032012-05-27 Ulrich Drepper <drepper@gmail.com>
19504
19505 * po/h.po: Update from translation team.
19506
25dbcb27
AS
195072012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19508
3d3f8e55
AS
19509 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19510
25dbcb27
AS
19511 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19512 handling of denormals.
19513 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19514 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19515 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19516 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19517 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19518 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19519 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19520 Likewise.
19521
7ad47a80 195222012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19523
19524 [BZ #14152]
19525 * math/libm-test.inc (fma_test): Don't always expect underflow
19526 exception.
19527
9c6ea9fa
SP
195282012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19529
19530 [BZ #12416]
19531 * elf/tst-execstack.c: Include stackinfo.h.
19532 (do_test): Adjust test case to ensure that pthread_getattr_np
19533 behaviour remains the same after marking stack executable.
19534
a8239222
JM
195352012-05-25 Joseph Myers <joseph@codesourcery.com>
19536
19537 * sysdeps/unix/sysv/linux/kernel-features.h
19538 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19539 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19540 kernel-features.h.
19541 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19542 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19543 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19544 kernel-features.h.
19545 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19546 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19547
918b5606
L
195482012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19549
19550 * configure.in: Define the default includes to being none.
19551 * configure: Regenerated.
19552
3a097cc7
RM
195532012-05-25 Roland McGrath <roland@hack.frob.com>
19554
8422c9a5
RM
19555 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19556 * sysdeps/x86_64/setjmp.S: Likewise.
19557 * sysdeps/i386/bsd-setjmp.S: Likewise.
19558 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19559 * sysdeps/i386/setjmp.S: Likewise.
19560 * sysdeps/i386/__longjmp.S: Likewise.
19561 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19562 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19563
3a097cc7
RM
19564 * include/stap-probe.h: New file.
19565 * configure.in: Handle --enable-systemtap.
19566 * configure: Regenerated.
19567 * config.h.in (USE_STAP_PROBE): New #undef.
19568 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19569 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19570 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19571
21708942
JM
195722012-05-25 Joseph Myers <joseph@codesourcery.com>
19573
19574 [BZ #13717]
19575 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19576 to 2.4.0 where earlier.
19577 * sysdeps/unix/sysv/linux/configure: Regenerated.
19578 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19579 <kernel-features.h>.
19580 [__ASSUME_32BITUIDS]: Make code unconditional.
19581 [!__ASSUME_32BITUIDS]: Remove conditional code.
19582 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19583 <kernel-features.h>.
19584 [__ASSUME_32BITUIDS]: Make code unconditional.
19585 [!__ASSUME_32BITUIDS]: Remove conditional code.
19586 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19587 [__ASSUME_32BITUIDS]: Make code unconditional.
19588 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19589 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19590 <kernel-features.h>.
19591 [__ASSUME_32BITUIDS]: Make code unconditional.
19592 [!__ASSUME_32BITUIDS]: Remove conditional code.
19593 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19594 <kernel-features.h>.
19595 [__ASSUME_32BITUIDS]: Make code unconditional.
19596 [!__ASSUME_32BITUIDS]: Remove conditional code.
19597 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19598 <kernel-features.h>.
19599 [__ASSUME_32BITUIDS]: Make code unconditional.
19600 [!__ASSUME_32BITUIDS]: Remove conditional code.
19601 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19602 <kernel-features.h>.
19603 [__ASSUME_32BITUIDS]: Make code unconditional.
19604 [!__ASSUME_32BITUIDS]: Remove conditional code.
19605 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19606 <kernel-features.h>.
19607 [__ASSUME_32BITUIDS]: Make code unconditional.
19608 [!__ASSUME_32BITUIDS]: Remove conditional code.
19609 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19610 <kernel-features.h>.
19611 [__ASSUME_32BITUIDS]: Make code unconditional.
19612 [!__ASSUME_32BITUIDS]: Remove conditional code.
19613 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19614 <kernel-features.h>.
19615 [__ASSUME_32BITUIDS]: Make code unconditional.
19616 [!__ASSUME_32BITUIDS]: Remove conditional code.
19617 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19618 <kernel-features.h>.
19619 [__ASSUME_32BITUIDS]: Make code unconditional.
19620 [!__ASSUME_32BITUIDS]: Remove conditional code.
19621 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19622 <kernel-features.h>.
19623 [__ASSUME_32BITUIDS]: Make code unconditional.
19624 [!__ASSUME_32BITUIDS]: Remove conditional code.
19625 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19626 <kernel-features.h>.
19627 [__ASSUME_32BITUIDS]: Make code unconditional.
19628 [!__ASSUME_32BITUIDS]: Remove conditional code.
19629 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19630 <kernel-features.h>.
19631 [__NR_setresgid] (__setresgid): Do not declare.
19632 [__ASSUME_32BITUIDS]: Make code unconditional.
19633 [!__ASSUME_32BITUIDS]: Remove conditional code.
19634 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19635 <kernel-features.h>.
19636 [__NR_setresuid] (__setresuid): Do not declare.
19637 [__ASSUME_32BITUIDS]: Make code unconditional.
19638 [!__ASSUME_32BITUIDS]: Remove conditional code.
19639 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19640 <kernel-features.h>.
19641 [__ASSUME_32BITUIDS]: Make code unconditional.
19642 [!__ASSUME_32BITUIDS]: Remove conditional code.
19643 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19644 <kernel-features.h>.
19645 [__ASSUME_32BITUIDS]: Make code unconditional.
19646 [!__ASSUME_32BITUIDS]: Remove conditional code.
19647 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19648 <kernel-features.h>.
19649 [__ASSUME_32BITUIDS]: Make code unconditional.
19650 [!__ASSUME_32BITUIDS]: Remove conditional code.
19651 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19652 <kernel-features.h>.
19653 [__ASSUME_32BITUIDS]: Make code unconditional.
19654 [!__ASSUME_32BITUIDS]: Remove conditional code.
19655 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19656 <kernel-features.h>.
19657 [__ASSUME_32BITUIDS]: Make code unconditional.
19658 [!__ASSUME_32BITUIDS]: Remove conditional code.
19659 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19660 <kernel-features.h>.
19661 [__ASSUME_32BITUIDS]: Make code unconditional.
19662 [!__ASSUME_32BITUIDS]: Remove conditional code.
19663 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19664 <kernel-features.h>.
19665 [__ASSUME_32BITUIDS]: Make code unconditional.
19666 [!__ASSUME_32BITUIDS]: Remove conditional code.
19667 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19668 <kernel-features.h>.
19669 [__ASSUME_32BITUIDS]: Make code unconditional.
19670 [!__ASSUME_32BITUIDS]: Remove conditional code.
19671 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19672 <kernel-features.h>.
19673 [__ASSUME_32BITUIDS]: Make code unconditional.
19674 [!__ASSUME_32BITUIDS]: Remove conditional code.
19675 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19676 <kernel-features.h>.
19677 [__ASSUME_32BITUIDS]: Make code unconditional.
19678 [!__ASSUME_32BITUIDS]: Remove conditional code.
19679 * sysdeps/unix/sysv/linux/kernel-features.h
19680 (__ASSUME_SETRESUID_SYSCALL): Remove.
19681 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19682 (__ASSUME_32BITUIDS): Likewise.
19683 (__ASSUME_LDT_WORKS): Likewise.
19684 (__ASSUME_O_DIRECTORY): Likewise.
19685 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19686 architecture but not kernel version.
19687 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19688 (__ASSUME_MMAP2_SYSCALL): Likewise.
19689 (__ASSUME_STAT64_SYSCALL): Likewise.
19690 (__ASSUME_IPC64): Likewise.
19691 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19692 <kernel-features.h>.
19693 [__ASSUME_32BITUIDS]: Make code unconditional.
19694 [!__ASSUME_32BITUIDS]: Remove conditional code.
19695 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19696 <kernel-features.h>.
19697 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19698 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19699 132096]: Remove conditional code.
19700 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19701 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19702 <kernel-features.h>.
19703 [__ASSUME_32BITUIDS]: Make code unconditional.
19704 [!__ASSUME_32BITUIDS]: Remove conditional code.
19705 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19706 <kernel-features.h>.
19707 [__ASSUME_32BITUIDS]: Make code unconditional.
19708 [!__ASSUME_32BITUIDS]: Remove conditional code.
19709 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19710 <kernel-features.h>.
19711 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19712 unconditional.
19713 (__setresgid): Do not declare.
19714 [__ASSUME_32BITUIDS]: Make code unconditional.
19715 [!__ASSUME_32BITUIDS]: Remove conditional code.
19716 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19717 <kernel-features.h>.
19718 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19719 unconditional.
19720 (__setresuid): Do not declare.
19721 [__ASSUME_32BITUIDS]: Make code unconditional.
19722 [!__ASSUME_32BITUIDS]: Remove conditional code.
19723 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19724 <kernel-features.h>.
19725 [__ASSUME_32BITUIDS]: Make code unconditional.
19726 [!__ASSUME_32BITUIDS]: Remove conditional code.
19727 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19728 <kernel-features.h>.
19729 [__ASSUME_32BITUIDS]: Make code unconditional.
19730 [!__ASSUME_32BITUIDS]: Remove conditional code.
19731
a386f1cc
RH
197322012-05-25 Richard Henderson <rth@twiddle.net>
19733
19734 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19735 dl_hwcap to ifunc resolver.
19736 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19737 elf_ifunc_invoke.
19738 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19739 dl_hwcap to ifunc resolver.
19740 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19741
b6550497
JM
197422012-05-24 Joseph Myers <joseph@codesourcery.com>
19743
19744 [BZ #14153]
19745 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19746 for |x| <= 2**-26, not 2**-57.
19747 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19748 exception.
19749
b0bc23a1
JL
197502012-05-24 Jeff Law <law@redhat.com>
19751
19752 * stdio-common/Makefile (tests): Add bug25.
19753 * stdio-common/bug25.c: New test.
19754
347c92e9
L
197552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19756
19757 [BZ #13576]
19758 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19759 multiple of MALLOC_ALIGNMENT in size.
19760 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19761
6bcc8b3f
JM
197622012-05-24 Joseph Myers <joseph@codesourcery.com>
19763
19764 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19765 Require >= 256.
19766 (FILENAME_MAX): Use macro-int-constant.
19767 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19768 (_IOFBF): Use macro-int-constant.
19769 (_IOLBF): Likewise.
19770 (_IONBF): Likewise.
19771 (SEEK_CUR): Likewise.
19772 (SEEK_END): Likewise.
19773 (SEEK_SET): Likewise.
19774 (TMP_MAX): Likewise.
19775 (EOF): Use macro-int-constant. Require < 0.
19776 (NULL): Use macro-constant. Require == 0.
19777 (stdin): Require type to be FILE *.
19778 (stdout): Likewise.
19779 (stderr): Likewise.
19780 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19781 macro-int-constant.
19782 (EXIT_SUCCESS): Likewise.
19783 (NULL): Use macro-constant. Require == 0.
19784 (RAND_MAX): Use macro-int-constant.
19785 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19786 [C99-based standards] (strtof): Require function.
19787 [C99-based standards] (strtold): Likewise.
19788 [C99-based standards] (strtoll): Likewise.
19789 [C99-based standards] (strtoull): Likewise.
19790 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19791 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19792 [ISO || ISO99 || ISO11] (math.h): Likewise.
19793 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19794 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19795 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19796
d18ea0c5
AS
197972012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19798
19799 [BZ #14132]
56d25bb8
AS
19800 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19801 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19802 * intl/dgettext.c (DCGETTEXT): Likewise.
19803 * intl/gettext.c (DCGETTEXT): Likewise.
19804 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19805 * posix/regex_internal.h (gettext): Likewise.
19806 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19807 Remove declaration.
19808 * include/argz.h (__argz_count_internal)
19809 (__argz_stringify_internal): Remove declaration.
19810 (__argz_count, __argz_stringify): Declare hidden proto.
19811 * intl/dcgettext.c: Remove use of INTDEF.
19812 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19813 * string/argz-stringify.c: Likewise.
19814 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19815 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19816 Declare hidden proto.
d18ea0c5
AS
19817 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19818 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19819 Declare hidden proto.
19820 * include/stdio.h (__asprintf_internal): Don't declare.
19821 (__asprintf): Don't define as macro. Declare hidden proto.
19822 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19823 (__fsetlocking): Declare hidden proto.
19824 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19825 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19826 hidden proto.
19827 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19828 (_IO_setlinebuf): Remove use of INTUSE.
19829 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19830 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19831 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19832 Remove declaration.
19833 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19834 (_IO_do_flush): Remove use of INTUSE.
19835 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19836 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19837 (_IO_adjust_column, _IO_least_wmarker)
19838 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19839 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19840 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19841 (_IO_default_doallocate, _IO_wdefault_doallocate)
19842 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19843 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19844 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19845 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19846 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19847 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19848 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19849 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19850 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19851 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19852 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19853 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19854 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19855 proto.
19856 (_IO_flush_all_internal, _IO_adjust_column_internal)
19857 (_IO_default_uflow_internal, _IO_default_finish_internal)
19858 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19859 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19860 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19861 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19862 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19863 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19864 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19865 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19866 (_IO_file_close_internal, _IO_file_close_it_internal)
19867 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19868 (_IO_file_init_internal, _IO_file_attach_internal)
19869 (_IO_file_fopen_internal, _IO_file_read_internal)
19870 (_IO_file_sync_internal, _IO_file_seek_internal)
19871 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19872 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19873 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19874 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19875 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19876 (_IO_list_all_internal, _IO_link_in_internal)
19877 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19878 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19879 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19880 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19881 (_IO_do_write_internal, _IO_padn_internal)
19882 (_IO_getline_info_internal, _IO_getline_internal)
19883 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19884 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19885 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19886 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19887 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19888 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19889 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19890 with libc_hidden_ver, remove use of INTUSE.
19891 * libio/genops.c: Likewise.
19892 * libio/freopen.c: Likewise.
19893 * libio/freopen64.c: Likewise.
19894 * libio/iofclose.c: Likewise.
19895 * libio/iofdopen.c: Likewise.
19896 * libio/iofflush.c: Likewise.
19897 * libio/iofflush_u.c: Likewise.
19898 * libio/iofgets.c: Likewise.
19899 * libio/iofgets_u.c: Likewise.
19900 * libio/iofopen.c: Likewise.
19901 * libio/iofopncook.c: Likewise.
19902 * libio/iofread.c: Likewise.
19903 * libio/iofread_u.c: Likewise.
19904 * libio/ioftell.c: Likewise.
19905 * libio/iofwrite.c: Likewise.
19906 * libio/iogetline.c: Likewise.
19907 * libio/iogets.c: Likewise.
19908 * libio/iogetwline.c: Likewise.
19909 * libio/iopadn.c: Likewise.
19910 * libio/iopopen.c: Likewise.
19911 * libio/ioseekoff.c: Likewise.
19912 * libio/ioseekpos.c: Likewise.
19913 * libio/iosetbuffer.c: Likewise.
19914 * libio/iosetvbuf.c: Likewise.
19915 * libio/ioungetc.c: Likewise.
19916 * libio/ioungetwc.c: Likewise.
19917 * libio/iovdprintf.c: Likewise.
19918 * libio/iovsprintf.c: Likewise.
19919 * libio/iovsscanf.c: Likewise.
19920 * libio/memstream.c: Likewise.
19921 * libio/obprintf.c: Likewise.
19922 * libio/oldfileops.c: Likewise.
19923 * libio/oldiofclose.c: Likewise.
19924 * libio/oldiofdopen.c: Likewise.
19925 * libio/oldiofopen.c: Likewise.
19926 * libio/oldiopopen.c: Likewise.
19927 * libio/oldstdfiles.c: Likewise.
19928 * libio/putc.c: Likewise.
19929 * libio/setbuf.c: Likewise.
19930 * libio/setlinebuf.c: Likewise.
19931 * libio/stdfiles.c: Likewise.
19932 * libio/strops.c: Likewise.
19933 * libio/vasprintf.c: Likewise.
19934 * libio/vscanf.c: Likewise.
19935 * libio/vsnprintf.c: Likewise.
19936 * libio/vswprintf.c: Likewise.
19937 * libio/wfiledoalloc.c: Likewise.
19938 * libio/wfileops.c: Likewise.
19939 * libio/wgenops.c: Likewise.
19940 * libio/wmemstream.c: Likewise.
19941 * libio/wstrops.c: Likewise.
19942 * libio/__fpurge.c: Likewise.
19943 * libio/__fsetlocking.c: Likewise.
19944 * assert/assert.c: Likewise.
19945 * debug/fgets_chk.c: Likewise.
19946 * debug/fgets_u_chk.c: Likewise.
19947 * debug/fread_chk.c: Likewise.
19948 * debug/fread_u_chk.c: Likewise.
19949 * debug/gets_chk.c: Likewise.
19950 * debug/obprintf_chk.c: Likewise.
19951 * debug/vasprintf_chk.c: Likewise.
19952 * debug/vdprintf_chk.c: Likewise.
19953 * debug/vsnprintf_chk.c: Likewise.
19954 * debug/vsprintf_chk.c: Likewise.
19955 * malloc/mtrace.c: Likewise.
19956 * misc/error.c: Likewise.
19957 * misc/syslog.c: Likewise.
19958 * stdio-common/asprintf.c: Likewise.
19959 * stdio-common/fxprintf.c: Likewise.
19960 * stdio-common/getw.c: Likewise.
19961 * stdio-common/isoc99_fscanf.c: Likewise.
19962 * stdio-common/isoc99_scanf.c: Likewise.
19963 * stdio-common/isoc99_vfscanf.c: Likewise.
19964 * stdio-common/isoc99_vscanf.c: Likewise.
19965 * stdio-common/isoc99_vsscanf.c: Likewise.
19966 * stdio-common/printf-prs.c: Likewise.
19967 * stdio-common/printf_fp.c: Likewise.
19968 * stdio-common/printf_fphex.c: Likewise.
19969 * stdio-common/printf_size.c: Likewise.
19970 * stdio-common/putw.c: Likewise.
19971 * stdio-common/scanf.c: Likewise.
19972 * stdio-common/sprintf.c: Likewise.
19973 * stdio-common/tmpfile.c: Likewise.
19974 * stdio-common/vfprintf.c: Likewise.
19975 * stdio-common/vfscanf.c: Likewise.
19976 * stdlib/strfmon_l.c: Likewise.
19977 * sunrpc/openchild.c: Likewise.
19978 * sunrpc/xdr_stdio.c: Likewise.
19979 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19980 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19981
d6c33fda
RM
199822012-05-24 Roland McGrath <roland@hack.frob.com>
19983
c1487492
RM
19984 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19985
19986 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19987 in the third column, to generate for the shared library an IFUNC
19988 that uses _dl_vdso_vsym.
19989 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19990 * Makeconfig (object-suffixes-noshared): New variable.
19991
19992 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19993 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19994 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19995 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19996
d6c33fda
RM
19997 [BZ #14132]
19998 * include/sys/time.h (__gettimeofday): Remove macro.
19999 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20000 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20001 Remove INTDEF.
20002 (__gettimeofday): Add libc_hidden_def.
20003 (gettimeofday): Add libc_hidden_weak.
20004 * sysdeps/mach/gettimeofday.c: Likewise.
20005 * sysdeps/posix/gettimeofday.c: Likewise.
20006 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20007 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20008 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20009 (__gettimeofday_internal): Remove strong_alias.
20010 (__gettimeofday): Add libc_hidden_def.
20011 (gettimeofday): Add libc_hidden_weak.
20012 * sysdeps/unix/syscalls.list (gettimeofday):
20013 Remove __gettimeofday_internal alias.
20014
b5a2bbe6
L
200152012-05-24 Daniel Jacobowitz <drow@false.org>
20016 H.J. Lu <hongjiu.lu@intel.com>
20017
20018 [BZ #12495]
20019 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20020 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20021 (largebin_index_32_big): New.
20022 (largebin_index): Use it for 16-byte alignment.
20023 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20024 correction with front_misalign.
20025
cfba4fda
L
200262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20027
7f907421
L
20028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20030 Likewise.
20031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20032 Likewise.
20033 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20034 Likewise.
20035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20036 Likewise.
20037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20038 Likewise.
20039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20040 Likewise.
20041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20042 Likewise.
20043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20044 Likewise.
20045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20046 Likewise.
20047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20048 Likewise.
20049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20050 Likewise.
20051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20052 Likewise.
20053
cfba4fda
L
20054 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20055 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20056
80bad0cc
JM
200572012-05-24 Joseph Myers <joseph@codesourcery.com>
20058
7a25eb06
JM
20059 [BZ #10846]
20060 [BZ #14036]
20061 * math/libm-test.inc (exp_test): Add test from bug 14036.
20062 (pow_test): Add test from bug 10846.
20063
795405f9
JM
20064 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20065 and other flags.
20066 (special_function): Do not include flags in test name.
20067 (parse_args): Likewise.
20068 * sysdeps/i386/fpu/libm-test-ulps: Update.
20069 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20070 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20071 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20073
80bad0cc
JM
20074 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20075 exceptions.
20076 * math/libm-test.inc ("Philosophy"): Update comment about
20077 exception testing.
20078 (UNDERFLOW_EXCEPTION): New macro.
20079 (UNDERFLOW_EXCEPTION_OK): Likewise.
20080 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20081 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20082 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20083 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20084 (INVALID_EXCEPTION_OK): Update value.
20085 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20086 (OVERFLOW_EXCEPTION_OK): Likewise.
20087 (IGNORE_ZERO_INF_SIGN): Likewise.
20088 (test_exceptions): Handle underflow exceptions.
20089 (acos_test): Update for underflow exception expectations.
20090 (cexp_test): Likewise.
20091 (clog_test): Likewise.
20092 (clog10_test): Likewise.
20093 (csqrt_test): Likewise.
20094 (ctan_test): Likewise.
20095 (ctanh_test): Likewise.
20096 (exp_test): Likewise.
20097 (exp10_test): Likewise.
20098 (exp2_test): Likewise.
20099 (expm1_test): Likewise.
20100 (fma_test): Likewise.
20101 (j0_test): Likewise.
20102 (jn_test): Likewise.
20103 (nexttoward_test): Likewise.
20104 (pow_test): Likewise.
20105 (scalbn_test): Likewise.
20106 (scalbln_test): Likewise.
20107 (tan_test): Likewise.
20108 (y1_test): Likewise.
20109 * sysdeps/i386/fpu/libm-test-ulps: Update.
20110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20111
9e0e3d0b
DM
201122012-05-23 David S. Miller <davem@davemloft.net>
20113
20114 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20115 (__libc_sigaction): Remove unused local variables.
20116
ccd0a08f
L
201172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20118
20119 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20120
62bdf9a6
PE
201212012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20122
f8591f80
PE
20123 mktime: avoid signed integer overflow
20124 * time/mktime.c (__mktime_internal): Do not mishandle the case
20125 where diff == INT_MIN.
20126
94c7d826
PE
20127 mktime: simplify computation of average
20128 * time/mktime.c (ranged_convert): Use new time_t_avg function
20129 instead of rolling our own (probably-slower) code.
20130
ce73d683
PE
20131 mktime: do not assume signed right shift propagates sign bit
20132 * time/mktime.c (isdst_differ): New static function.
20133 (__mktime_internal): No need to normalize tm_isdst now.
20134 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20135 tm_isdst values.
20136
72a22e59
PE
20137 mktime: merge another wrapv change from gnulib
20138 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20139 from some compilers.
20140
68605433
PE
20141 mktime: remove incorrect attempt at unusual arithmetics
20142 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20143 The code didn't really work on such machines anyway.
20144 (TYPE_MINIMUM): Assume two's complement.
20145 (twos_complement_arithmetic): Verify that long_int and time_t
20146 are two's complement (or unsigned, in the latter case).
20147
03cf7fe3
PE
20148 mktime: check signed shifts on long_int and time_t, too
20149 * time/mktime.c (SHR): Check that shifts work as desired
20150 on the types long_int and time_t too, as SHR is used on
20151 such types.
20152
f04dfbc2
PE
20153 mktime: do not assume 'long' is wide enough
20154 * time/mktime.c (verify): Move decl up.
20155 (long_int): New type.
20156 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20157 to remove assumption in the code that 'long' is wide enough to
20158 store year values. This assumption is not true on x32 and on
20159 some non-glibc platforms.
20160
62bdf9a6
PE
20161 mktime: merge wrapv change from gnulib
20162 * time/mktime.c (WRAPV): New macro.
20163 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20164 (guess_time_tm, __mktime_internal): Do not assume that signed
20165 integer overflow wraps around; modern compilers generate code
20166 where this assumption is no longer valid.
20167
5e292e4f
L
201682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20169
20170 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20171 Replace "jmp L(pseudo_end)" with "ret".
20172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20173 Likewise.
20174
8caf8c87
AJ
201752012-05-23 Andreas Jaeger <aj@suse.de>
20176
20177 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20178 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20179
1a09dc56
AJ
201802012-05-23 Andreas Jaeger <aj@suse.de>
20181 Maximilian Attems <max@stro.at>
20182
20183 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20184 New macros.
20185
1c87aba0
L
201862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20187
20188 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20189 code so that pseudo_end is just ret and the stack pointer is
20190 correct also for static library in error case.
20191
40e45bd5
JM
201922012-05-23 Joseph Myers <joseph@codesourcery.com>
20193
c2670533
JM
20194 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20195 move to syscalls.list.
20196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20200
40e45bd5
JM
20201 * manual/install.texi (Running make install): Do not mention Linux
20202 kernel version for which pt_chown is not needed.
20203 (Linux): Do not mention problems with nscd with 2.0 kernels.
20204 * INSTALL: Regenerated.
20205
be08eda5
AJ
202062012-05-23 Andreas Jaeger <aj@suse.de>
20207
20208 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20209 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20210 macro.
20211 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20212 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20213 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20214 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20215 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20216 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20217 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20218 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20219 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20220 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20221 * sysdeps/unix/sysv/linux/bits/in.h
20222 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20223
a6a056bb
RM
202242012-05-22 Roland McGrath <roland@hack.frob.com>
20225
20226 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20227 (PREPARE_VERSION): Just use assert instead, it will be elided
20228 under [NDEBUG] anyway.
20229
c9009328
L
202302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20231
20232 * sysdeps/unix/sysv/linux/Makefile: Include
20233 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20234 (sysdep_routines): Remove sysctl.
c9009328
L
20235 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20236 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20237 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20238 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20239 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20240
73338355
AJ
202412012-05-22 Andreas Jaeger <aj@suse.de>
20242
20243 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20244 that pseudo_end is just ret and the stack pointer is correct also
20245 for static library in error case.
20246
d44638b0
PP
202472012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20248
20249 [BZ #14122]
20250 * nss/nsswitch.c (defconfig_entries): New variable.
20251 (__nss_database_lookup): Don't leak defconfig entries.
20252 (nss_parse_service_list): Don't leak on error paths.
20253 (free_database_entries): New function.
20254 (free_defconfig): New function.
20255 (free_mem): Move common code to free_database_entries.
20256
31a39bd8
L
202572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20258
da0331a8
L
20259 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20260 Add arch_prctl.
20261 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20262
31a39bd8
L
20263 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20264 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20265 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20266 New macro.
20267 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20268 (INTERNAL_SYSCALL_TYPES): Likewise.
20269 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20270 (LOAD_REGS_TYPES_[1-6]): Likewise.
20271 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20272 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20273
45470df3
AZ
202742012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20275
20276 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20277 copysignl for GLIBC_2_0.
20278 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20279 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20281 logbl for GLIBC_2_0.
20282 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20283 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20284
98a61bcb
L
202852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20286
a4f6e481
L
20287 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20288 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20289
f63d5db6
L
20290 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20291 Use "neg %eax".
20292
98a61bcb
L
20293 * time/mktime.c: Update copyright years.
20294
95770f14
PE
202952012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20296
6226efbd
PE
20297 mktime: merge comment-quoting-style change from gnulib
20298 * time/mktime.c: Quote 'like this' in comments.
20299 The GNU coding standards suggest that we no longer quote `like this',
20300 as "`" and "'" are typically rendered asymmetrically nowadays.
20301 The typical gnulib style is to quote 'like this' when quoting
20302 code, and "like this" when quoting English.
20303
b99e4f78
PE
20304 * time/mktime.c (compile-command): Add "-I.".
20305
643e01e6
PE
20306 mktime: merge mktime-internal.h change from gnulib
20307 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20308
2554247d
PE
20309 mktime: merge time_r change from gnulib
20310 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20311
826dd0ab
PE
20312 mktime: merge DEBUG change from gnulib
20313 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20314 case system <time.h> has a #define.
20315
bd83aabe
PE
20316 mktime: merge <sys/types.h> change from gnulib
20317 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20318 since <time.t> is now guaranteed to define time_t.
20319
95770f14
PE
20320 mktime: merge HAVE_CONFIG_H change from gnulib
20321 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20322
5e1a27a9
L
203232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20324
0e44a77e
L
20325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20326 Use "neg %eax".
20327
5e1a27a9
L
20328 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20329 __rlim_t cast.
20330 (struct rusage): Use anonymous union to pad each field to
20331 __syscall_slong_t.
20332
46259bec
DM
203332012-05-21 David S. Miller <davem@davemloft.net>
20334
20335 * Makefules (o-iterator): Remove .s cases.
20336 (compile-command.s): Delete.
20337 (COMPILE.s): Delete.
20338 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20339
59f0c22e
JM
203402012-05-21 Joseph Myers <joseph@codesourcery.com>
20341
20342 * configure.in (libc_cv_predef_stack_protector): Only consider
20343 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20344 * configure: Regenerated.
20345
20c07380
L
203462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20347
bbb3154b
L
20348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20349 New macro. Use R*LP on int and pointer.
20350 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20351 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20352 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20353 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20354
20c07380
L
20355 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20356 [__WORDSIZE_TIME64_COMPAT32] instead of
20357 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20358 (struct utmp): Likewise.
20359 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20360 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20361 Renamed to ...
20362 (__WORDSIZE_TIME64_COMPAT32): This.
20363 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20364 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20365 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20366 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20367 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20368 (__WORDSIZE_TIME64_COMPAT32): New macro.
20369
d8d1017e
AJ
203702012-05-21 Andreas Jaeger <aj@suse.de>
20371
20372 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20373 only if [SHARED]. Add prototype for __wcschr_ia32.
20374
6c7fb145
RM
203752012-05-21 Roland McGrath <roland@hack.frob.com>
20376
20377 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20378 of %rbp unmolested in the jmp_buf while mangling the low bits.
20379 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20380 unmolested high bits of %rbp while demangling the low bits.
20381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20382
66274218
AJ
203832012-05-21 Andreas Jaeger <aj@suse.de>
20384
07c58f8f
AJ
20385 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20386 * sunrpc/svc_simple.c: Use it for registerrpc.
20387 * sunrpc/xcrypt.c: Use it for passwd2des.
20388
66274218
AJ
20389 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20390
61f65140
L
203912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20392
20393 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20394 Don't define if [__SYSCALL_WORDSIZE != 32].
20395 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20396 New macro.
20397
5fefb436
AJ
203982012-05-21 Bruno Haible <bruno@clisp.org>
20399 Andreas Jaeger <aj@suse.de>
20400
20401 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20402 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20403 inptr and inend for must_buffer_ch.
20404 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20405 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20406 * stdio-common/Makefile (tests): Remove bug15.
20407 (bug15-ENV): Remove macro.
20408 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20409 anymore.
20410
d8e272ab
AJ
204112012-05-19 Andreas Jaeger <aj@suse.de>
20412 Roland McGrath <roland@hack.frob.com>
20413
20414 * manual/contrib.texi: Completely rewritten. It contains now an
20415 alphabetical list of contributors and their contributions.
20416
4a56a162
RH
204172012-05-21 Richard Henderson <rth@twiddle.net>
20418
20419 * misc/getauxval.c (__getauxval): Use unsigned long int.
20420 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20421 (getauxval): Use unsigned long int.
20422
d024d23c
L
204232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20424
20425 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20426
cbc00a03
RM
204272012-05-21 Roland McGrath <roland@hack.frob.com>
20428
20429 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20430 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20431 __alignof__ (long double).
20432
478143fa
AZ
204332012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20434
20435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20436
c7683a6d
RH
204372012-05-20 Richard Henderson <rth@twiddle.net>
20438
20439 * misc/getauxval.c: New file.
20440 * misc/sys/auxv.h: New file.
20441 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20442 (routines): Add getauxval.
20443 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20444 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20445 * elf/dl-sysdep.c (_dl_auxv): Remove.
20446 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20447 * elf/dl-support.c (_dl_auxv): New variable.
20448 (_dl_aux_init): Initialize it.
20449 * manual/startup.texi (Auxiliary Vector): New node.
20450 * sysdeps/generic/bits/hwcap.h: New file.
20451 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20452 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20453 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20454 * sysdeps/sparc/sysdep.h: ... here. Include it.
20455 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20456 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20458 Update.
c7683a6d
RH
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20467
a6f1845d
AZ
204682012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20469
20470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20471
cbcbe830
DM
204722012-05-19 David S. Miller <davem@davemloft.net>
20473
20474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20475
e0b16cc2
JM
204762012-05-19 Joseph Myers <joseph@codesourcery.com>
20477
20478 [BZ #14123]
20479 * math/s_ccosh.c: Include <float.h>
20480 (__ccosh): Avoid internal overflow calculating sinh and cosh
20481 values before multiplying by sin and cos values.
20482 * math/s_ccoshf.c: Likewise.
20483 * math/s_ccoshl.c: Likewise.
20484 * math/s_csin.c: Likewise.
20485 * math/s_csinf.c: Likewise.
20486 * math/s_csinl.c: Likewise.
20487 * math/s_csinh.c: Likewise.
20488 * math/s_csinhf.c: Likewise.
20489 * math/s_csinhl.c: Likewise.
20490 * math/libm-test.inc (ccos_test): Add more tests.
20491 (ccosh_test): Likewise.
20492 (csin_test): Likewise.
20493 (csinh_test): Likewise.
20494 * sysdeps/i386/fpu/libm-test-ulps: Update.
20495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20496
6ad13e08
L
204972012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20498
f66f0ce8
L
20499 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20500 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20501
6ad13e08
L
20502 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20503
b1d072a7
JM
205042012-05-19 Joseph Myers <joseph@codesourcery.com>
20505
20506 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20507 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20508 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20509 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20510 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20511 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20512 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20513 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20514 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20515 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20516 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20517 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20518 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20519 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20520 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20521 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20522 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20523 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20524 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20525 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20526 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20527 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20528 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20529 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20530 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20531 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20532 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20533 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20534 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20535 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20536 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20537
9eae47cb
AJ
205382012-05-18 Andreas Jaeger <aj@suse.de>
20539
20540 * csu/.gitignore: Delete.
20541
bb07f69f
L
205422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20543
20544 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20545 (timex): Use __syscall_slong_t.
20546
e6bdb741
AJ
205472012-05-18 Andreas Jaeger <aj@suse.de>
20548 Carlos O'Donell <carlos_odonell@mentor.com>
20549
20550 * manual/install.texi (Configuring and compiling): Update
20551 description about files modified in the source directory.
d6c33fda 20552 * INSTALL: Regenerated.
e6bdb741 20553
1b74487e
L
205542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20555
20556 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20557 value. Use "or" to set return value to -1.
20558 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20559 negate return value.
20560
a88b64b9
TMQMF
205612012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20562
20563 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20564 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20565 failure if the compiler has Graphite support disabled.
20566 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20567 Likewise.
20568 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20569 CFLAGS-memmove.c): Likewise.
20570 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20571 Likewise.
20572
3707636e
L
205732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20574
610b8622
L
20575 * sysdeps/x86_64/x32/_itoa.h: New file.
20576
7cd195df
L
20577 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20578 getdents system call only if kernel and user dirents have the
20579 same d_ino and d_off.
20580
94b07d20
L
20581 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20582 LLONG_MAX != LONG_MAX.
20583 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20584 (_fitoa_word): Likewise.
20585
18298070
L
20586 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20587 years.
20588 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20589 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20590 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20591
553c7ea4
L
20592 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20593 include <bits/wordsize.h>. Check __x86_64__ instead of
20594 __WORDSIZE.
20595 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20596 if __x86_64__ is defined. Use anonymous union on fpstate.
20597
3707636e
L
20598 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20599 anonymous union.
20600
b53ef01a
AS
206012012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20602
37fb1dc0
AS
20603 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20604 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20605 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20606 Refer to _rtld_local_ro instead of _rtld_global_ro.
20607 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20608 Likewise.
20609 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20610 Likewise.
20611 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20612 Likewise.
20613 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20614 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20615 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20616
b53ef01a
AS
20617 * sysdeps/powerpc/powerpc32/dl-machine.c
20618 (__elf_machine_runtime_setup) [PROF]: Don't reference
20619 _dl_prof_resolve.
20620
7a185db2
AJ
206212012-05-18 Andreas Jaeger <aj@suse.de>
20622
20623 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20624 function only available for GCCs before 3.4 since GCC 3.4
20625 introduced a builtin.
20626 (lrint): Likewise.
20627 (llrintf): Likewise.
20628 (llrint): Likewise.
20629 (fmaxf): Likewise.
20630 (fmax): Likewise.
20631 (fminf): Likewise.
20632 (fmin): Likewise.
20633 (rint): Likewise.
20634 (rintf): Likewise.
20635 (nearbyint): Likewise.
20636 (nearbyintf): Likewise.
20637 (ceil): Likewise.
20638 (ceilf): Likewise.
20639 (floor): Likewise.
20640 (floorf): Likewise.
20641
3e5aef87
L
206422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20643
428bd707
L
20644 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20645 on both fields and cast pointer to __syscall_ulong_t.
20646
3e5aef87
L
20647 * bits/types.h (__fsword_t): New type.
20648 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20649 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20651 (__FSWORD_T_TYPE): Likewise.
20652 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20653 (__FSWORD_T_TYPE): Likewise.
20654 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20655 (__FSWORD_T_TYPE): Likewise.
20656 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20657 (__FSWORD_T_TYPE): Likewise.
20658 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20659 __SWORD_TYPE with __fsword_t.
20660 (statfs64): Likewise.
20661
1ba7c3dc
DM
206622012-05-17 David S. Miller <davem@davemloft.net>
20663
20664 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20665
59910343
AJ
206662012-05-17 Andreas Jaeger <aj@suse.de>
20667
20668 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20669 warning.
20670
2e4c1e9e
L
206712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20672
20673 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20674
de7f5ce7
AJ
206752012-05-17 Andreas Jaeger <aj@suse.de>
20676
20677 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20678 when it is used.
20679
286abc3d
CM
206802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20681
20682 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20683
477cc68e
L
206842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20685
20686 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20687 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20688
1a0994f5
CD
206892012-05-17 Andreas Jaeger <aj@suse.de>
20690 Carlos O'Donell <carlos_odonell@mentor.com>
20691
20692 [BZ #14059]
20693 * sysdeps/x86_64/multiarch/init-arch.h
20694 (bit_YMM_Usable): Rename to...
20695 (bit_AVX_Usable): ... this.
20696 (bit_FMA4_Usable): New macro.
20697 (bit_XMM_state): New macro.
20698 (bit_YMM_state): New macro.
20699 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20700 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20701 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20702 (CPUID_OSXSAVE): New macro.
20703 (CPUID_AVX): New macro.
20704 (CPUID_FMA4): New macro.
20705 (index_YMM_Usable): Rename to...
20706 (index_AVX_Usable): ... this.
20707 (HAS_AVX): Use HAS_ARCH_FEATURE.
20708 (HAS_FMA4): Likewise.
20709 (HAS_YMM_USABLE): Remove.
20710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20711 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20712 are present.
20713 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20714 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20715 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20716 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20717 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20718
0af797de
CM
207192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20720
20721 * math/libm-test.c: Support platforms without multiple rounding modes.
20722 * math/bug-nextafter.c: Support platforms without FP exceptions.
20723 * math/bug-nexttoward.c: Likewise.
20724 * math/test-fenv.c: Likewise.
20725 * math/test-misc.c: Likewise.
20726 * stdlib/bug-getcontext.c: Likewise.
20727
e39745ff
AJ
207282012-05-17 Andreas Jaeger <aj@suse.de>
20729
20730 * manual/examples/search.c (critter_cmp): Change signature to
20731 avoid warnings.
20732 * manual/string.texi (Collation Functions): Likewise.
20733
48970aba
L
207342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20735
20736 * bits/types.h: Fold copyright years.
20737 * bits/typesizes.h: Likewise.
20738 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20739 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20740 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20741 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20742 * time/time.h: Likewise.
20743
bedee953
PP
207442012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20745
20746 [BZ #208]
20747 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20748 in instead of returning them. Return void.
20749 (__libc_mallinfo): Accumulate over all arenas.
20750 (__malloc_stats): Adjust for change in int_mallinfo interface.
20751
61653dfb
RM
207522012-05-16 Roland McGrath <roland@hack.frob.com>
20753
30b99d79
RM
20754 [BZ #10375]
20755 * configure.in (NM): Add AC_CHECK_TOOL for it.
20756 (libc_extra_cflags): New substituted variable.
20757 Check for -fstack-protector being used implicitly.
20758 * configure: Regenerated.
20759 * config.make.in (config-extra-cflags): New variable,
20760 gets @libc_extra_cflags@.
20761 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20762
61653dfb
RM
20763 [BZ #10375]
20764 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20765 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20766 * configure: Regenerated.
20767 * config.make.in (CPPUNDEFS): New substituted variable.
20768 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20769 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20770 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20771
661768bb
L
207722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20773
20774 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20775 (mq_attr): Use __syscall_slong_t.
20776
d4261567
L
207772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20778
20779 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20780 Check __x86_64__ instead of __WORDSIZE.
20781 (_STAT_VER_LINUX): Likewise.
20782 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20783 __syscall_ulong_t and __syscall_slong_t.
20784 (stat64): Likewise.
20785
cf3ff365
L
207862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20787
20788 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20789
76cf3e4d
L
207902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20791
20792 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20793
a637753a
L
207942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20795
20796 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20797 __syscall_ulong_t.
20798
d5e05119
L
20799 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20800 include <bits/wordsize.h>. Check __x86_64__ instead of
20801 __WORDSIZE.
20802 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20803 defined.
20804 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20805
f62ee380
L
20806 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20807 include <bits/wordsize.h>. Check __x86_64__ instead of
20808 __WORDSIZE.
20809 (user_regs_struct): Use "__extension__ unsigned long long"
20810 instead of "unsigned long" if __x86_64__ is defined.
20811 (user): Likewise. Pad after pointer field if __ILP32__ is
20812 defined.
20813
4e124ced
JM
208142012-05-16 Joseph Myers <joseph@codesourcery.com>
20815
6a3951a0
JM
20816 * configure.in (makeinfo): Require version 4.5 or later. Allow
20817 versions 5 to 9.
20818 * configure: Regenerated.
20819 * manual/install.texi (texinfo): Increase version requirement to
20820 4.5 or later.
20821 * INSTALL: Regenerated.
20822
4e124ced
JM
20823 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20824
953ca31a
L
208252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20826
20827 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20828
617aca05
L
20829 * sysdeps/x86_64/x32/ffs.c: New file.
20830
5762f7ae
L
20831 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20832 __syscall_ulong_t.
20833 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20834 defined. Use __syscall_ulong_t.
20835 (shminfo): Use __syscall_ulong_t.
20836 (shm_info): Likewise.
20837
a26b6856
L
20838 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20839 __syscall_ulong_t.
20840
cb2b9ef7
L
20841 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20842 <bits/wordsize.h>.
20843 (msgqnum_t): Use __syscall_ulong_t.
20844 (msglen_t): Likewise.
20845 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20846 __syscall_ulong_t.
20847
34683bb0
L
20848 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20849 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20850
84a68786
L
20851 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20852
48baa5f1
L
20853 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20854 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20855
180be88b
L
20856 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20857 __syscall_slong_t.
20858
5e90c8ad
L
20859 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20860 include <bits/wordsize.h>. Check __x86_64__ instead of
20861 __WORDSIZE.
20862
23dfb58b
L
20863 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20864 "unsigned long long int" if __x86_64__ is defined.
20865 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20866
ce5d54b0
L
20867 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20868 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20869 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20870
13dc9eac
L
20871 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20872 <stdint.h>.
20873 (GET_PC): Cast to uintptr_t first.
20874 (GET_FRAME): Likewise.
20875 (GET_STACK): Likewise.
20876
a7895d15
L
20877 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20878 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20879 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20880 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20881 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20882 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20883 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20884 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20885 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20886 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20887 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20888 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20889 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20890 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20891 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20892 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20893 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20894 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20895 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20896 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20897 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20898 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20899 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20900 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20901 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20902 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20903 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20904 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20905 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20906
656416c9
AS
209072012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20908
5bd66283
AS
20909 * Makerules (+depfiles): Also collect depfiles from .oS in
20910 $(extra-objs).
20911 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20912 .oS, $(libnldbl-routines)).
20913
656416c9
AS
20914 * Makerules (native-compile-mkdep-flags): Define.
20915 * sunrpc/Makefile (extra-objs): Add $(addprefix
20916 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20917 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20918 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20919 calling $(make-target-directory).
20920
a46f2169
L
209212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20922
20923 * bits/types.h (__snseconds_t): Removed.
20924 * time/time.h (struct timespec): Replace __snseconds_t with
20925 __syscall_slong_t.
20926 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20927 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20928 Likewise.
20929 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20930 (__SNSECONDS_T_TYPE): Likewise.
20931 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20932 (__SNSECONDS_T_TYPE): Likewise.
20933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20934 (__SNSECONDS_T_TYPE): Likewise.
20935
6af6528b
L
209362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20937
20938 * sysdeps/mach/hurd/bits/typesizes.h
20939 (__SYSCALL_SLONG_TYPE): New macro.
20940 (__SYSCALL_ULONG_TYPE): Likewise.
20941
de986b56
L
209422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20943
20944 * bits/types.h (__syscall_slong_t): New type.
20945 (__syscall_ulong_t): Likewise.
20946
20947 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20948 (__SYSCALL_ULONG_TYPE): Likewise.
20949 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20950 (__SYSCALL_SLONG_TYPE): Likewise.
20951 (__SYSCALL_ULONG_TYPE): Likewise.
20952 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20953 (__SYSCALL_SLONG_TYPE): Likewise.
20954 (__SYSCALL_ULONG_TYPE): Likewise.
20955 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20956 (__SYSCALL_SLONG_TYPE): Likewise.
20957 (__SYSCALL_ULONG_TYPE): Likewise.
20958
85736dc7
L
209592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20960
20961 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20962 Add sigaltstack-offsets.sym.
20963 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20964 <sigaltstack-offsets.h>.
20965 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20966 longjmp_msg pointer.
20967 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20968 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20969 signal stack.
20970 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20971
cc03b296
JM
209722012-05-15 Joseph Myers <joseph@codesourcery.com>
20973
a9538892
JM
20974 * elf/stackguard-macros.h: Remove file.
20975 * sysdeps/generic/stackguard-macros.h: New file.
20976 * sysdeps/i386/stackguard-macros.h: Likewise.
20977 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20978 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20979 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20980 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20981 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20982 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20983 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20984 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20985 <elf/stackguard-macros.h>.
20986
cc03b296
JM
20987 [BZ #14109]
20988 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20989 __aligned__ in attribute.
20990 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20991 (gregset_t): Likewise.
20992
93171016
L
209932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20994
20995 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20996 * sysdeps/x86_64/64/Implies-after: Here. New file.
20997 * sysdeps/x86_64/x32/Implies-after: New file.
20998
d86813a0
L
209992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21000
21001 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21002 and access return value for _dl_profile_fixup. Use R10_LP to
21003 load frame size.
21004
2953ec75
L
210052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21006
21007 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21008
3b550e9e
L
210092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21010
21011 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21012 * sysdeps/x86_64/x32/sysdep.h: New file.
21013
eda41706
L
210142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21015
21016 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21017 * sysdeps/x86_64/setjmp.S: Likewise.
21018
9ea01d93
AZ
210192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21020
21021 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21022 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21023 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21024 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21025 remove unused global constant.
21026
02a91938
CM
210272012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21028
21029 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21030 include of <not-cancel.h>.
21031
6540185f
RM
210322012-05-15 Roland McGrath <roland@hack.frob.com>
21033
21034 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21035
509072a0
AJ
210362012-05-15 Jeff Law <law@redhat.com>
21037 Andreas Jaeger <aj@suse.de>
21038
21039 [BZ #13594]
21040 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21041 out from...
21042 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21043 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21044 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21045 code changing __hst_map_handle.map.
21046
ba75122d
RM
210472012-05-15 Roland McGrath <roland@hack.frob.com>
21048
21049 * configure.in (sysnames): Look for Implies-before and Implies-after
21050 files.
21051 * configure: Regenerated.
21052
890d8bd8
L
210532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21054
21055 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21056 8-byte data alignment with LP_SIZE alignment.
21057
f6ee6623
L
210582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21059
21060 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21061 into R10_LP.
21062
ea2626f6
L
210632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21064
21065 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21066
085f715e
L
210672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21068
21069 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21070 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21071 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21072 Likewise.
21073 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21074
be8498fc
L
210752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21076
21077 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21078 (stackinfo_sub_sp): Likewise.
21079
70bc83b9
L
210802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21081
21082 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21083 RAX_LP.
21084
9bc0b730
L
210852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21086
21087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21088 into R*_LP.
21089
6d2850e7
L
210902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21091
21092 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21093 sizes into R*_LP.
21094
3cb84561
L
210952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21096
21097 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21098
54e2ed81
L
210992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21100
21101 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21102 into R11_LP and load __x86_64_shared_cache_size_half into
21103 R8_LP.
21104
8a17f349
L
211052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21106
21107 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21108 R8_LP.
21109
777b1eea
AZ
211102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21111
21112 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21113 logb for POWER7.
21114 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21115 logbf for POWER7.
21116 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21117 logbl for POWER7.
21118 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21119 powerpc32/power7/fpu/s_logb.c via #include.
21120 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21121 powerpc32/power7/fpu/s_logbf.c via #include.
21122 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21123 powerpc32/power7/fpu/s_logbl.c via #include.
21124
d20d4ac2
JM
211252012-05-15 Joseph Myers <joseph@codesourcery.com>
21126
21127 * README.libm: Remove file.
21128
6cdef1ab
L
211292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21130
21131 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21132 count for x32. Use R*_LP and omit operand-size suffix.
21133
0b254d8f
L
211342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21135
21136 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21137 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21138 * sysdeps/x86_64/x32/shlib-versions: New file.
21139
ceb809dc
RM
211402012-05-14 Roland McGrath <roland@hack.frob.com>
21141
21142 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21143 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21144 Use _dl_fatal_printf instead.
21145
37f1abd4
JM
211462012-05-14 Joseph Myers <joseph@codesourcery.com>
21147
21148 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21149 set if not set by the user. Do not allow for being unset.
21150 * sysdeps/unix/sysv/linux/configure: Regenerated.
21151
11de3a33
L
211522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21153
21154 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21155 the `q' suffix from lea and replace .quad with ASM_ADDR.
21156
e02f153a
L
211572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21158
21159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21160 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21161 instead of $17.
21162 (PTR_DEMANGLE): Likewise.
21163
520ae0fd
L
211642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21165
21166 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21167 (LP_OP): Likewise.
21168 (ASM_ADDR): Likewise.
21169 (RAX_LP): Likewise.
21170 (RBP_LP): Likewise.
21171 (RBX_LP): Likewise.
21172 (RCX_LP): Likewise.
21173 (RDI_LP): Likewise.
21174 (RSI_LP): Likewise.
21175 (RSP_LP): Likewise.
21176 (R8_LP): Likewise.
21177 (R9_LP): Likewise.
21178 (R10_LP): Likewise.
21179 (R10_LP): Likewise.
21180 (R11_LP): Likewise.
21181 (R12_LP): Likewise.
21182 (R13_LP): Likewise.
21183 (R14_LP): Likewise.
21184 (R15_LP): Likewise.
21185
b985be81
L
211862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21187
21188 * sysdeps/x86_64/x32/dl-machine.h: New file.
21189
6a4888ff
AJ
211902012-05-14 Andreas Jaeger <aj@suse.de>
21191
21192 * manual/Makefile (subdir): Remove export of subdir.
21193 (all): Remove target.
21194 (.PHONY): Remove all from list.
21195 (mkinstalldirs): Remove.
21196 (.PHONY): Remove installdirs from list.
21197 ($(inst_infodir)/libc.info): Use make-target-directory.
21198 (installdirs): Remove.
21199 (subdir_%): Remove.
21200 (glibc-targets): Remove.
21201 (lib): Remove.
21202 (stubs): Remove.
21203 ($(objpfx)stubs ../po/manual.pot): Remove.
21204 ($(objpfx)stamp%): Remove.
21205 (make-target-directory): Remove.
21206 (subdir_install): Remove.
21207 (routines): Remove.
21208 (aux): Remove.
21209 (sources): Remove.
21210 (objects): Remove.
21211 (headers): Remove.
21212
21213 [BZ #13750]
21214 * manual/.gitignore: Remove, it's not needed anymore.
21215 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21216 all files in it.
21217 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21218 directory.
21219 (texis): Renamed to $(objpfx)texis.
21220 (texis-path): New, contains path to generated files.
21221 (chapters.%): Use texis-path for complete path, add extra argument
21222 libc-texinfo.sh.
21223 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21224 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21225 (summary,texi, stamp-summary): Use complete path of
21226 files. Generate files in build dir.
21227 (dir-add.texi): Build in build dir.
21228 (libm-err.texi,stamp-libm-err): Likewise.
21229 (version.texi, stamp-version): Likewise.
21230 (.%c.texi): Likewise.
21231 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21232 (mostlyclean): Remove target.
21233 (realclean): Remove target.
21234 (generated): Add new variable with contents from mostlyclean and
21235 realclean, remove entries duplicated in common-mostlyclean, add
21236 stamp-libm-err and stamp-version.
21237 (generated-dirs): Add libc directory.
21238 ($(inst_infodir)/libc.info): Install files from build dir.
21239
21240 * manual/install.texi (Configuring and compiling): Adjust since
21241 the info files are not part of the tar ball anymore.
21242
7ac77294
AJ
212432012-05-14 Andreas Jaeger <aj@suse.de>
21244
21245 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21246 variable.
21247
ffb7875d
JM
212482012-05-14 Joseph Myers <joseph@codesourcery.com>
21249
21250 [BZ #13717]
21251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21252 to 2.2.0 where earlier.
21253 * sysdeps/unix/sysv/linux/configure: Regenerated.
21254 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21255 Remove conditional code.
21256 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21257 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21258 Remove conditional code.
21259 [!__NR_lchown]: Likewise.
21260 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21261 [__NR_lchown]: Likewise.
21262 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21263 comment referencing __ASSUME_LCHOWN_SYSCALL.
21264 * sysdeps/unix/sysv/linux/i386/sigaction.c
21265 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21266 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21267 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21268 Remove conditional code.
21269 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21270 (__protocol_available): Remove #if 0 code.
21271 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21272 conditional code.
21273 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21274 * sysdeps/unix/sysv/linux/kernel-features.h
21275 (__ASSUME_GETCWD_SYSCALL): Don't define.
21276 (__ASSUME_REALTIME_SIGNALS): Likewise.
21277 (__ASSUME_PREAD_SYSCALL): Likewise.
21278 (__ASSUME_PWRITE_SYSCALL): Likewise.
21279 (__ASSUME_POLL_SYSCALL): Likewise.
21280 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21281 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21282 non-SPARC.
21283 (__ASSUME_SIOCGIFNAME): Don't define.
21284 (__ASSUME_MSG_NOSIGNAL): Likewise.
21285 (__ASSUME_SENDFILE): Define unconditionally.
21286 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21287 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21288 conditional code.
21289 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21290 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21291 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21292 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21293 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21294 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21295 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21297 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21298 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21300 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21301 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21303 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21304 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21306 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21307 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21309 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21310 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21312 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21313 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21315 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21316 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21318 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21319 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21320 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21321 Remove conditional code.
21322 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21323 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21324 Remove conditional code.
21325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21326 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21327 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21328 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21329 Remove conditional code.
21330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21331 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21332 Remove conditional code.
21333 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21334 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21335 Remove conditional code.
21336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21337 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21338 Remove conditional code.
21339 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21340 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21341 Remove conditional code.
21342 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21343 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21344 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21345 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21346 * sysdeps/unix/sysv/linux/sigaction.c
21347 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21348 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21349 * sysdeps/unix/sysv/linux/sigpending.c
21350 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21351 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21352 * sysdeps/unix/sysv/linux/sigprocmask.c
21353 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21354 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21355 * sysdeps/unix/sysv/linux/sigsuspend.c
21356 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21357 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21358 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21359 (__libc_missing_rt_sigs): Remove.
21360 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21361 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21362 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21363 Remove conditional code.
21364 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21365 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21366 return 1.
21367 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21368 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21369 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21370 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21371
1bfb7291
AJ
213722012-05-14 Andreas Jaeger <aj@suse.de>
21373
caae5a81
AJ
21374 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21375 it's not used in glibc.
21376 (__coshm1): Likewise.
21377 (__acosh1p): Likewise.
21378 (__sgn): Likewise.
21379
1bfb7291
AJ
21380 * manual/string.texi (Copying and Concatenation): Add missing
21381 variable in concat example.
21382 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21383
c044d724
L
213842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21385
144c5467 21386 [BZ #14103]
c044d724
L
21387 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21388 __builtin_clzl with __builtin_clzll.
21389
2523c62b
L
213902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21391
21392 [BZ #14104]
21393 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21394 libc_freeres_ptr.
21395
d7bb4c42
LD
213962012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21397
21398 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21399 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21400 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21401 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21402
9dc4e1fb
MF
214032012-05-14 Mike Frysinger <vapier@gentoo.org>
21404
21405 * NEWS: Update ia64 info.
21406
c7df0112
AS
214072012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21408
21409 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21410 used as bcopy.
21411
dc70356c
TS
214122012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21413
21414 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21415 * sysdeps/unix/syscalls.list (dup3): Likewise.
21416 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21417 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21418
9fb1a21f
L
214192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21420
21421 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21422 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21423
4822a2a5
L
214242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21425
21426 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21427 thread pointer.
21428 (TLS_IE): Use mov/add instead of movq/addq to load thread
21429 pointer.
21430 (TLS_GD_PREFIX): New.
21431 (TLS_GD): Use it.
21432
842b81d6
DM
214332012-05-11 David S. Miller <davem@davemloft.net>
21434
21435 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21436 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21437 (_FPU_SETCW): Likewise.
21438
1cf463cd
L
214392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21440
21441 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21442 is 32-byte aligned.
21443
60cc4a18
AS
214442012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21445
21446 [BZ #11837]
21447 * iconvdata/gb18030.c: Update tables.
21448 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21449 characters specially.
21450 (BODY for TO_LOOP): Add encoding of missing ranges.
21451
febb44a4
TS
214522012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21453
21454 [BZ #13673]
21455 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21456 * sysdeps/mach/hurd/dup3.c: Likewise.
21457 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21458 * sysdeps/powerpc/memmove.c:: Likewise.
21459
0a10fb9e
L
214602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21461
21462 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21463 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21464
df8a552f
L
214652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21466
21467 * elf/elf.h (R_X86_64_RELATIVE64): New.
21468 (R_X86_64_NUM): Updated.
21469 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21470 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21471 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21472 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21473 tst-quad1pie tst-quad2pie
21474 (modules-names): Add tst-quadmod1 tst-quadmod2.
21475 ($(objpfx)tst-quad1): New dependency.
21476 ($(objpfx)tst-quad2): Likewise.
21477 ($(objpfx)tst-quad1pie): Likewise.
21478 ($(objpfx)tst-quad2pie): Likewise.
21479 * sysdeps/x86_64/tst-quad1.c: New file.
21480 * sysdeps/x86_64/tst-quad1pie.c: New file.
21481 * sysdeps/x86_64/tst-quad2.c: Likewise.
21482 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21483 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21484 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21485 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21486 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21487
f34d6f84
ST
214882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21489
f42d41d1
ST
21490 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21491 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21492 * streams/stropts.h (t_scalar_t): Define type.
21493
3c3571fc
ST
21494 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21495 (_PATH_PRESERVE): Set to "/var/lib".
21496 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21497
61f06bd3
ST
21498 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21499 instead of int.
21500
918d4d71
ST
21501 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21502 if __dir_mkfile succeeded.
21503
f34d6f84
ST
21504 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21505 checking for _hurd_dtablesize. Unlock it right after having
21506 finished _hurd_dtable allocation.
21507
10589b4a
TS
215082012-05-10 Thomas Schwinge <thomas@schwinge.name>
21509
674cdbc7
TS
21510 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21511 * sysdeps/mach/hurd/configure: Regenerated.
21512 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21513 special-casing to...
21514 * sysdeps/gnu/configure.in: ... this new file.
21515 * sysdeps/unix/sysv/linux/configure: Regenerated.
21516 * sysdeps/gnu/configure: New generated file.
21517
8e41b99f
TS
21518 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21519 for Linux: use nsec instead of usec, as well as:
21520 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21521 members of type struct timespec.
21522 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21523 New macros.
21524 (struct stat64): Likewise.
21525 (_STATBUF_ST_NSEC): New macro.
21526 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21527
10589b4a
TS
21528 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21529 __strtoul_internal rather than strtoul.
21530
63643c85
PT
215312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21532
21533 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21534 and reject them.
21535
3faebe6a
ST
215362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21537
21538 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21539 which preserves existing values.
21540 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21541
c6474b07
PT
215422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21543
21544 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21545 TIMEOUT values. Return EINVAL for NFDS values either negative or
21546 greater than FD_SETSIZE.
21547
1043890b
ST
215482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21549
21550 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21551 allocated, call __vm_protect to finish enabling the existing space, and
21552 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21553 allocate the remainder.
21554
37ed8b9b
PT
215552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21556
21557 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21558 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21559
db653660
ST
215602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21561
37ed8b9b
PT
21562 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21563 sysdeps/mach/hurd/readlink.c.
b29d4053 21564
db653660
ST
21565 * posix/tst-sysconf.c (posix_options): Only use
21566 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21567 _POSIX_SYNCHRONIZED_IO when they are defined
21568 * sysdeps/mach/hurd/bits/posix_opt.h:
21569 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21570 (_XOPEN_REALTIME): Undefine macro.
21571 (_XOPEN_REALTIME_THREADS): Undefine macro.
21572 (_XOPEN_SHM): Undefine macro.
21573 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21574 macro to -1.
21575 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21576 macro to -1.
21577 (_POSIX_ASYNC_IO): Undefine macro.
21578 (_POSIX_PRIORITIZED_IO): Undefine macro.
21579 (_POSIX_SPIN_LOCKS): Define macro to -1.
21580
ee16e894
ST
21581 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21582 SA_NODEFER, SA_RESETHAND.
21583 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21584 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21585 F_DUPFD_CLOEXEC.
21586
6103ae3b
TS
215872012-05-10 Thomas Schwinge <thomas@schwinge.name>
21588
21589 * elf/Makefile (pldd-modules): Define unconditionally.
21590
80b4e5f3
TS
215912012-05-10 Thomas Schwinge <thomas@schwinge.name>
21592
21593 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21594
edadcbd6
ST
215952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21596
21597 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21598 Return ENOENT when name is empty.
21599 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21600
80694780
TS
216012012-05-10 Thomas Schwinge <thomas@schwinge.name>
21602
1792c087
TS
21603 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21604
80694780
TS
21605 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21606
6b645f0d
ST
216072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21608
80694780
TS
21609 Fix mlock in all cases except non-readable pages.
21610 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21611 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21612
6b645f0d
ST
21613 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21614 (__mkdir): When path is `/', just fail with EEXIST.
21615 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21616
e468f8a3
TS
216172012-05-10 Thomas Schwinge <thomas@schwinge.name>
21618
21619 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21620 <sys/uio.h> (for writev).
21621 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21622 and <sys/param.h> (for MIN).
21623
a4186cff
PT
216242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21625
21626 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21627 REQUESTED_TIME. Properly set the remaining time and return EINTR
21628 if interrupted.
21629
510bbf14
TS
216302012-05-10 Thomas Schwinge <thomas@schwinge.name>
21631
21632 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21633 Depend on against $(link-rpcuserlibs).
21634
5d5722e8
ST
216352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21636
a4186cff
PT
21637 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21638 (__libc_stack_end): Do not use attribute_relro.
21639 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21640 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21641 to libthread-provided value.
a4186cff
PT
21642 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21643 attribute_relro.
5d5722e8 21644
37233df9
TS
216452012-05-10 Thomas Schwinge <thomas@schwinge.name>
21646
be971a2b
TS
21647 [BZ #3748]
21648 * bits/libc-lock.h (__libc_once_get): New macro.
21649 * sysdeps/mach/bits/libc-lock.h: Likewise.
21650 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21651 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21652 instead of using implementation details.
21653
37233df9
TS
21654 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21655 * libio/freopen.c: Likewise.
21656 * libio/freopen64.c: Likewise.
21657 * misc/syslog.c: Likewise.
21658 * nscd/connections.c: Likewise.
21659 * nscd/netgroupcache.c: Likewise.
21660 * sysdeps/posix/getcwd.c: Likewise.
21661
38de94a5
RM
216622012-05-10 Roland McGrath <roland@hack.frob.com>
21663
21664 * math/w_ilogbf.c: Add #include <limits.h>.
21665
67530489
ST
216662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21667
a4186cff 21668 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21669 path instead of returning without unlocking.
21670
67530489
ST
21671 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21672 immediate-write ioctls.
21673 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21674
5aa3a74a
TS
216752012-05-10 Thomas Schwinge <thomas@schwinge.name>
21676
18bad2ae
TS
21677 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21678 __builtin_frame_address instead of making assumptions about the
21679 location of the return address relative to DATA. Force early load of
21680 the return address.
21681 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21682 __builtin_frame_address.
21683
5aa3a74a
TS
21684 dup3 for GNU Hurd.
21685 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21686 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21687 implement dup3 and do some further code clean-ups.
21688 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21689 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21690
ecd0de9a
ST
216912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21692
cd9fa985
ST
21693 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21694
a4186cff
PT
21695 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21696 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21697 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21698 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21699 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21700 d->port.lock.
802ca5a5 21701
a4186cff
PT
21702 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21703 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21704 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21705
bcf55240
TS
217062012-05-10 Thomas Schwinge <thomas@schwinge.name>
21707
6960eb42
TS
21708 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21709 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21710 definitions.
21711
eb43375f
TS
21712 accept4 for GNU Hurd.
21713 * include/sys/socket.h (__libc_accept4): New prototype.
21714 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21715 to implement __libc_accept4.
21716 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21717 __libc_accept4.
21718 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21719
bcf55240
TS
21720 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21721 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21722 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21723 signal-defines.sym.
21724
6178c55b
ST
217252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21726
a4186cff 21727 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21728
6f080c2f
TS
217292012-05-10 Thomas Schwinge <thomas@schwinge.name>
21730
21731 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21732 assertion on O_CLOEXEC flag.
21733 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21734 * hurd/intern-fd.c: Likewise.
21735 * hurd/port2fd.c: Likewise.
21736
bcfe3a54
ST
217372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21738
21739 [BZ #3906]
21740 * bits/in.h (IPV6_PKTINFO): Define new macro.
21741 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21742
89c9aa49
AZ
217432012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21744
21745 [BZ #13954]
21746 [BZ #13955]
21747 [BZ #13956]
21748 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21749 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21750 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21751 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21753 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21754 * math/libm-test.inc (logb_test) : Additional logb tests.
21755
021db4be
AJ
217562012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21757 Andreas Jaeger <aj@suse.de>
21758
21759 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21760 * configure: Regenerated.
21761 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21762 * config.make.in (link-obsolete-rpc): New substituted variable.
21763 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21764 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21765 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21766 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21767 so that libc.a contains the symbols.
21768 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21769 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21770 * sunrpc/auth_none.c: Likewise.
21771 * sunrpc/auth_unix.c: Likewise.
21772 * sunrpc/authdes_prot.c: Likewise.
21773 * sunrpc/authuxprot.c: Likewise.
21774 * sunrpc/clnt_gen.c: Likewise.
21775 * sunrpc/clnt_perr.c: Likewise.
21776 * sunrpc/clnt_raw.c: Likewise.
21777 * sunrpc/clnt_simp.c: Likewise.
21778 * sunrpc/clnt_tcp.c: Likewise.
21779 * sunrpc/clnt_udp.c: Likewise.
21780 * sunrpc/clnt_unix.c: Likewise.
21781 * sunrpc/des_crypt.c: Likewise.
21782 * sunrpc/des_soft.c: Likewise.
21783 * sunrpc/get_myaddr.c: Likewise.
21784 * sunrpc/key_call.c: Likewise.
21785 * sunrpc/key_prot.c: Likewise.
21786 * sunrpc/netname.c: Likewise.
21787 * sunrpc/pm_getmaps.c: Likewise.
21788 * sunrpc/pm_getport.c: Likewise.
21789 * sunrpc/pmap_clnt.c: Likewise.
21790 * sunrpc/pmap_prot.c: Likewise.
21791 * sunrpc/pmap_prot2.c: Likewise.
21792 * sunrpc/pmap_rmt.c: Likewise.
21793 * sunrpc/publickey.c: Likewise.
21794 * sunrpc/rpc_cmsg.c: Likewise.
21795 * sunrpc/rpc_common.c: Likewise.
21796 * sunrpc/rpc_dtable.c: Likewise.
21797 * sunrpc/rpc_prot.c: Likewise.
21798 * sunrpc/rpc_thread.c: Likewise.
21799 * sunrpc/rtime.c: Likewise.
21800 * sunrpc/svc.c: Likewise.
21801 * sunrpc/svc_auth.c: Likewise.
21802 * sunrpc/svc_raw.c: Likewise.
21803 * sunrpc/svc_run.c: Likewise.
21804 * sunrpc/svc_tcp.c: Likewise.
21805 * sunrpc/svc_udp.c: Likewise.
21806 * sunrpc/svc_unix.c: Likewise.
21807 * sunrpc/svcauth_des.c: Likewise.
21808 * sunrpc/xcrypt.c: Likewise.
21809 * sunrpc/xdr.c: Likewise.
21810 * sunrpc/xdr_array.c: Likewise.
21811 * sunrpc/xdr_float.c: Likewise.
21812 * sunrpc/xdr_intXX_t.c: Likewise.
21813 * sunrpc/xdr_mem.c: Likewise.
21814 * sunrpc/xdr_rec.c: Likewise.
21815 * sunrpc/xdr_ref.c: Likewise.
21816 * sunrpc/xdr_sizeof.c: Likewise.
21817 * sunrpc/xdr_stdio.c: Likewise.
21818
b5c086a2
RM
218192012-05-10 Roland McGrath <roland@hack.frob.com>
21820
21821 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21822 change. Update copyright years.
21823
6d74dd09
JM
218242012-05-10 Joseph Myers <joseph@codesourcery.com>
21825
21826 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21827
28e72501
MK
218282012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21829 Joseph Myers <joseph@codesourcery.com>
21830 Paul Pluzhnikov <ppluzhnikov@google.com>
21831
21832 [BZ #14012]
21833 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21834 requiring rpcgen.
21835 [cross-compiling] (extra-libs): Likewise.
21836 [cross-compiling] (extra-libs-others): Likewise.
21837 [cross-compiling] (librpcsvc-routines): Likewise.
21838 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21839 [cross-compiling] (omit-deps): Likewise.
21840 (sunrpc-CPPFLAGS): New variable.
21841 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21842 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21843 (cross-rpcgen-objs): New variable.
21844 (extra-objs): Append $(cross-rpcgen-objs).
21845 ($(cross-rpcgen-objs)): New rule.
21846 ($(objpfx)cross-rpcgen): Likewise.
21847 (rpcgen-cmd): Define to use $(built-program-file). Expand
21848 comment.
21849 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21850 ($(objpfx)x%.stmp): Likewise.
21851 * sunrpc/proto.h [IS_IN_build] (_): Define.
21852 [IS_IN_build] (_libc_intl_domainname): Likewise.
21853
c8c59454
L
218542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21855
21856 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21857 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21858 and R_X86_64_TPOFF64.
21859
6f27cd16
JM
218602012-05-10 Joseph Myers <joseph@codesourcery.com>
21861
21862 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21863 sysdeps/unix/sysv/syscalls.list.
21864 (stime): Likewise.
21865 (utime): Likewise.
21866 * sysdeps/unix/sysv/syscalls.list: Remove file.
21867
02467e1c
PE
218682012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21869
21870 [BZ #3440]
21871 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21872 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21873 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21874 (__LC_IDENTIFICATION): Make these macros useful in #if
21875 expressions, as required by C99.
21876
da392631
AS
218772012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21878
21879 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21880 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21881 after this.
21882
8115f29b
L
218832012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21884
21885 * stdlib/longlong.h: Updated from GCC.
21886
bdd74070
AJ
218872012-05-09 Andreas Jaeger <aj@suse.de>
21888
edfe0dbe
AJ
21889 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21890 default is first entry.
21891 (run_mode): Set type.
21892 (main): Remove informal message about syslog.
21893 (options): Fix typo.
21894
bcfe3a54
ST
21895 [BZ #14053]
21896 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21897 to asm.
bcfe3a54
ST
21898 (lrint): Likewise.
21899 (llrintf): Likewise.
21900 (llrint): Likewise.
21901 (rint): Likewise.
21902 (rintf): Likewise.
21903 (nearbyint): Likewise.
21904 (nearbyintf): Likewise.
bdd74070 21905
91d8d69e
AJ
219062012-05-09 Andreas Jaeger <aj@suse.de>
21907 Pedro Alves <palves@redhat.com>
21908
21909 * nscd/nscd.c (run_mode): Use enum.
21910 (main): Cleanup coding style issue.
21911
bb90b80b
AJ
219122012-05-09 Alexandre Oliva <aoliva@redhat.com>
21913 Andreas Jaeger <aj@suse.de>
21914
bcfe3a54
ST
21915 * nscd/nscd.c (go_background): Replaced with...
21916 (run_mode): ... this.
bb90b80b 21917 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21918 (options): Add -F --foreground.
21919 (main): Implement it.
21920 (parse_opt): Parse it.
bb90b80b 21921
1a4b75a1
AJ
219222012-05-09 Andreas Jaeger <aj@suse.de>
21923
21924 [BZ #14083]
21925 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21926 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21927 -Wconversion warning.
21928 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21929 Likewise.
21930
b1cc2472
JM
219312012-05-09 Joseph Myers <joseph@codesourcery.com>
21932
21933 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21934 == 0.
21935 (LC_ALL): Use macro-int-constant.
21936 (LC_COLLATE): Likewise.
21937 (LC_CTYPE): Likewise.
21938 (LC_MESSAGES): Likewise.
21939 (LC_MONETARY): Likewise.
21940 (LC_NUMERIC): Likewise.
21941 (LC_TIME): Likewise.
21942 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21943 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21945 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21946 Specify type.
21947 [C99-based standards] (float_t): Expect type.
21948 [C99-based standards] (double_t): Expect type.
21949 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21950 type.
21951 [C99-based standards] (HUGE_VALL): Likewise.
21952 [C99-based standards] (INFINITY): Likewise.
21953 [C99-based standards] (NAN): Likewise.
21954 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21955 [C99-based standards] (FP_NAN): Likewise.
21956 [C99-based standards] (FP_NORMAL): Likewise.
21957 [C99-based standards] (FP_SUBNORMAL): Likewise.
21958 [C99-based standards] (FP_ZERO): Likewise.
21959 [C99-based standards] (FP_FAST_FMA): Use
21960 optional-macro-int-constant. Specify type. Require == 1.
21961 [C99-based standards] (FP_FAST_FMAF): Likewise.
21962 [C99-based standards] (FP_FAST_FMAL): Likewise.
21963 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21964 [C99-based standards] (FP_ILOGBNAN): Likewise.
21965 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21966 Specify type.
21967 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21968 [C99-based standards] (math_errhandling): Specify type.
21969 [ISO99 || ISO11] (signgam): Do not allow.
21970 [non-C99-based standards] (copysignf): Do not allow.
21971 [non-C99-based standards] (exp2f): Likewise.
21972 [non-C99-based standards] (log2f): Likewise.
21973 [non-C99-based standards] (modff): Allow.
21974 [non-C99-based standards] (erff): Do not allow.
21975 [non-C99-based standards] (erfcf): Likewise.
21976 [non-C99-based standards] (gammaf): Likewise.
21977 [non-C99-based standards] (hypotf): Likewise.
21978 [non-C99-based standards] (j0f): Likewise.
21979 [non-C99-based standards] (j1f): Likewise.
21980 [non-C99-based standards] (jnf): Likewise.
21981 [non-C99-based standards] (lgammaf): Likewise.
21982 [non-C99-based standards] (tgammaf): Likewise.
21983 [non-C99-based standards] (y0f): Likewise.
21984 [non-C99-based standards] (y1f): Likewise.
21985 [non-C99-based standards] (ynf): Likewise.
21986 [non-C99-based standards] (isnanf): Likewise.
21987 [non-C99-based standards] (acoshf): Likewise.
21988 [non-C99-based standards] (asinhf): Likewise.
21989 [non-C99-based standards] (atanhf): Likewise.
21990 [non-C99-based standards] (cbrtf): Likewise.
21991 [non-C99-based standards] (expm1f): Likewise.
21992 [non-C99-based standards] (ilogbf): Likewise.
21993 [non-C99-based standards] (log1pf): Likewise.
21994 [non-C99-based standards] (logbf): Likewise.
21995 [non-C99-based standards] (nextafterf): Likewise.
21996 [non-C99-based standards] (remainderf): Likewise.
21997 [non-C99-based standards] (rintf): Likewise.
21998 [non-C99-based standards] (scalbf): Likewise.
21999 [non-C99-based standards] (copysignl): Likewise.
22000 [non-C99-based standards] (exp2l): Likewise.
22001 [non-C99-based standards] (log2l): Likewise.
22002 [non-C99-based standards] (modfl): Allow.
22003 [non-C99-based standards] (erfl): Do not allow.
22004 [non-C99-based standards] (erfcl): Likewise.
22005 [non-C99-based standards] (gammal): Likewise.
22006 [non-C99-based standards] (hypotl): Likewise.
22007 [non-C99-based standards] (j0l): Likewise.
22008 [non-C99-based standards] (j1l): Likewise.
22009 [non-C99-based standards] (jnl): Likewise.
22010 [non-C99-based standards] (lgammal): Likewise.
22011 [non-C99-based standards] (tgammal): Likewise.
22012 [non-C99-based standards] (y0l): Likewise.
22013 [non-C99-based standards] (y1l): Likewise.
22014 [non-C99-based standards] (ynl): Likewise.
22015 [non-C99-based standards] (isnanl): Likewise.
22016 [non-C99-based standards] (acoshl): Likewise.
22017 [non-C99-based standards] (asinhl): Likewise.
22018 [non-C99-based standards] (atanhl): Likewise.
22019 [non-C99-based standards] (cbrtl): Likewise.
22020 [non-C99-based standards] (expm1l): Likewise.
22021 [non-C99-based standards] (ilogbl): Likewise.
22022 [non-C99-based standards] (log1pl): Likewise.
22023 [non-C99-based standards] (logbl): Likewise.
22024 [non-C99-based standards] (nextafterl): Likewise.
22025 [non-C99-based standards] (remainderl): Likewise.
22026 [non-C99-based standards] (rintl): Likewise.
22027 [non-C99-based standards] (scalbl): Likewise.
22028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22029 [non-C99-based standards] (FP_*): Do not allow.
22030 [C99-based standards] (FP_*): Change to
22031 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22032 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22033 allow.
22034 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22035 (SIG_ERR): Likewise.
22036 [X/Open-based standards] (SIG_HOLD): Likewise.
22037 (SIG_IGN): Likewise.
22038 (SIGABRT): Use macro-int-constant. Specify type. Require
22039 positive value.
22040 (SIGFPE): Likewise.
22041 (SIGILL): Likewise.
22042 (SIGINT): Likewise.
22043 (SIGSEGV): Likewise.
22044 (SIGTER): Likewise.
22045 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22046 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22047 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22048 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22049 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22050 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22051 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22052 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22053 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22054 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22055 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22056 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22057 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22058 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22059 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22060 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22061 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22062 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22063 [X/Open-based standards] (SIGTRAP): Likewise.
22064 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22065 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22066 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22067 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22068 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22069 allow.
22070
b9f1922d
IW
220712012-05-08 Ian Wienand <ianw@vmware.com>
22072
22073 [BZ #14080]
22074 * time/tzset.c (__tzset_parse_tz): Update default rules for
22075 daylight time changes in the Energy Policy Act of 2005.
22076
1db86e88
AJ
220772012-05-09 Andreas Jaeger <aj@suse.de>
22078
22079 [BZ #13983]
22080 * elf/ldconfig.c (parse_conf): Change string to make clear that
22081 ldconfig only issued a warning if ld.so.conf does not exist.
22082
dee4a4e3
DM
220832012-05-08 David S. Miller <davem@davemloft.net>
22084
ee0db190
DM
22085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22086 movxtod instead of popping the value on the stack.
22087
dee4a4e3
DM
22088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22089
6a43ec98
CD
220902012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22091
22092 * config.h.in: Add HAVE_ARM_PCS_VFP.
22093
05c2c961
RMG
220942012-05-08 Roland Mc Grath <roland@hack.frob.com>
22095
bcfe3a54
ST
22096 [BZ #13979]
22097 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22098 checking but the checks are disabled for any reason.
05c2c961 22099
4b30f61a
L
221002012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22101
22102 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22103 and ELF64_R_TYPE with ELFW(R_TYPE).
22104
eee2bc67
JM
221052012-05-08 Joseph Myers <joseph@codesourcery.com>
22106
7ea5391a
JM
22107 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22108 (ulimit): Likewise.
22109
eee2bc67
JM
22110 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22111 (settimeofday): Likewise.
22112
abb66a67
MF
221132012-05-08 Mike Frysinger <vapier@gentoo.org>
22114
22115 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22116 a struct th_u2 inside the union, and move tu_block/tu_code into
22117 a new th_u3 union of tu_block/tu_code inside of that. Move
22118 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22119 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22120 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22121 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22122 (th_stuff): Change to th_u1.tu_stuff.
22123 (th_data): Define.
22124 (th_msg): Change to th_u1.th_u2.tu_data.
22125
7f18b530
DM
221262012-05-07 David S. Miller <davem@davemloft.net>
22127
05760585
DM
22128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22129
7f18b530
DM
22130 [BZ #14074]
22131 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22132 (SETUP_PIC_REG): Use it.
22133 (SETUP_PIC_REG_LEAF): Use it.
22134
495fd99f
JM
221352012-05-07 Joseph Myers <joseph@codesourcery.com>
22136
22137 [BZ #13885]
22138 [BZ #13923]
22139 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22140 USE_AS_EXPM1L.
22141 (EXPL_FINITE): Likewise.
22142 (FLDLOG): Likewise.
22143 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22144 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22145 e_expl.S.
22146 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22147 USE_AS_EXPM1L.
22148 (EXPL_FINITE): Likewise.
22149 (FLDLOG): Likewise.
22150 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22151 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22152 e_expl.S.
22153 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22154 test of -max_value argument for long double.
22155 * sysdeps/i386/fpu/libm-test-ulps: Update.
22156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22157
6693d694
DM
221582012-05-06 David S. Miller <davem@davemloft.net>
22159
22160 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22161 quad soft-float symbols whose references which are compiler
22162 generated.
22163 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22164
6c23e11c
JM
221652012-05-06 Joseph Myers <joseph@codesourcery.com>
22166
d8b82cad
JM
22167 [BZ #13884]
22168 [BZ #13914]
22169 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22170 USE_AS_EXP10L.
22171 (EXPL_FINITE): Likewise.
22172 (FLDLOG): Likewise.
22173 (c0): Likewise.
22174 (c1): Likewise.
22175 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22176 Adjust comments for base varying.
22177 (__expl_finite): Change alias to EXPL_FINITE.
22178 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22179 e_expl.S.
22180 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22181 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22182 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22183 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22184 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22185 USE_AS_EXP10L.
22186 (EXPL_FINITE): Likewise.
22187 (FLDLOG): Likewise.
22188 (c0): Likewise.
22189 (c1): Likewise.
22190 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22191 Adjust comments for base varying.
22192 (__expl_finite): Change alias to EXPL_FINITE.
22193 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22194 tests for bugs.
22195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22196
6c23e11c
JM
22197 [BZ #14064]
22198 * math/libm-test.inc (check_float_internal): Correct ulp
22199 calculation for subnormal expected results.
22200
29ba805c
AJ
222012012-05-06 Andreas Jaeger <aj@suse.de>
22202
22203 * Makeconfig (+math-flags): New, set to -frounding-math.
22204 (+cflags): Add +math-flags so that all of glibc gets compiled with
22205 it.
22206
22207 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22208
7b17aeda
JM
222092012-05-05 Joseph Myers <joseph@codesourcery.com>
22210
5779f134
JM
22211 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22212 Disable one test.
22213
41498f4d
JM
22214 [BZ #13787]
22215 [BZ #13922]
22216 [BZ #14036]
22217 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22218 (__ieee754_expl): Allow for and saturate large arguments.
22219 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22220 (u_threshold): Likewise.
22221 (__exp): Call __ieee754_exp before checking for overflow and
22222 underflow.
22223 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22224 (u_threshold): Likewise.
22225 (__expf): Call __ieee754_expf before checking for overflow and
22226 underflow.
22227 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22228 (u_threshold): Likewise.
22229 (__expl): Call __ieee754_expl before checking for overflow and
22230 underflow.
22231 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22232 (__ieee754_expl): Allow for and saturate large arguments.
22233 * math/libm-test.inc (exp_test): Add another test. Do not allow
22234 missing overflow exception on overflow.
22235 (expm1_test): Do not allow missing overflow exception on overflow.
22236
6698b8bf
JM
22237 * sysdeps/i386/fpu/e_expl.c: Move to ...
22238 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22239 rather than using inline asm.
22240 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22241 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22242 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22243
7b17aeda
JM
22244 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22245 (nice): Likewise.
22246 (poll): Likewise.
22247 (signal): Likewise.
22248 (time): Likewise.
22249 (times): Likewise.
22250
f7c85819
JM
222512012-05-04 Joseph Myers <joseph@codesourcery.com>
22252
22253 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22254 sysdeps/unix/common/syscalls.list.
22255 (fchmod): Likewise.
22256 (fchown): Likewise.
22257 (ftruncate): Likewise.
22258 (getrusage): Likewise.
22259 (gettimeofday): Likewise.
22260 (setpgid): Likewise.
22261 (setregid): Likewise.
22262 (setreuid): Likewise.
22263 (sigaction): Likewise.
22264 (truncate): Likewise.
22265 (vhangup): Likewise.
22266 * sysdeps/unix/common/syscalls.list: Remove file.
22267 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22268 * sysdeps/unix/sysv/linux/Implies: Likewise.
22269
336270d0
L
222702012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22271
22272 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22274 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22275 Moved to ...
22276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22277 Here.
22278 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22279 to ...
22280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22281 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22282 to ...
22283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22284 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22285 to ...
22286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22287 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22288 to ...
22289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22290 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22291 to ...
22292 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22293 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22294 to ...
22295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22296 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22297 to ...
22298 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22299 Here.
22300 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22301 to ...
22302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22303 Here.
22304 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22305 to ...
22306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22307 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22308 Moved to ...
22309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22310 Here.
22311 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22312 to ...
22313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22314
d128e450
JM
223152012-05-04 Joseph Myers <joseph@codesourcery.com>
22316
fa8ee516
JM
22317 * sysdeps/unix/common/bits/dirent.h: Remove file.
22318 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22319
d128e450
JM
22320 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22321 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22322 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22323 * sysdeps/unix/bsd/isatty.c: Likewise.
22324 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22325 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22326 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22327
ff8faaf0 223282012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22329
62881be4 22330 [BZ #13563]
31dc8730
AZ
22331 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22332 long double comparison inaccuracies.
22333 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22335
6fef930c
AS
223362012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22337
22338 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22339 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22340
8f203e6c
JM
223412012-05-04 Joseph Myers <joseph@codesourcery.com>
22342
22343 [BZ #14049]
22344 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22345 nonzero digits before rounding a hex value.
22346 * stdlib/tst-strtod.c (tests): Add another test.
22347
5197d9c2
AK
223482012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22349
22350 * sysdeps/s390/fpu/libm-test-ulps: Update.
22351
f0c1dedf
AJ
223522012-05-03 Andreas Jaeger <aj@suse.de>
22353
22354 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22355 does not get optimized out.
22356 (malloc_opt_barrier): New.
22357
a65ef2ae 223582012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22359 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22360
2b942cb7 22361 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22362 intermediate file deletion.
2b942cb7 22363 (generated): Add .symlist files.
a65ef2ae 22364
54b71e02
JM
223652012-05-03 Joseph Myers <joseph@codesourcery.com>
22366
22367 [BZ #13775]
22368 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22369 Redirect under this condition.
22370 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22371 [__USE_GNU] (__dprintf_chk): Not under this condition.
22372 [__USE_GNU] (__vdprintf_chk): Likewise.
22373 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22374 under this condition.
22375 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22376 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22377 [__USE_XOPEN2K8] (vdprintf): Likewise.
22378 [__USE_GNU] (__dprintf_chk): Not under this condition.
22379 [__USE_GNU] (__vdprintf_chk): Likewise.
22380 [__USE_GNU] (dprintf): Likewise.
22381 [__USE_GNU] (vdprintf): Likewise.
22382
d3dfcc41
RM
223832012-05-03 Roland McGrath <roland@hack.frob.com>
22384
22385 * elf/Makefile (common-generated): Set this instead of generated for
22386 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22387 $(all-built-dso)-derived lists.
22388
7ac30cc5
AJ
223892012-05-03 Andreas Jaeger <aj@suse.de>
22390
0c51e550
AJ
22391 * sysdeps/i386/fpu/libm-test-ulps: Update.
22392
7ac30cc5
AJ
22393 * FAQ: Removed.
22394 * FAQ.in: Likewise.
22395 * scripts/gen-FAQ.pl: Likewise.
22396 * manual/install.texi (Installation): Point to online location of
22397 FAQ.
22398 * Makefile (files-for-dist): Remove FAQ.
22399 (FAQ): Remove.
22400
d4c2917f
AM
224012012-05-02 Allan McRae <allan@archlinux.org>
22402
22403 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22404 (LDFLAGS-reldepmod5.so): Likewise.
22405 (LDFLAGS-reldep6mod1.so): Likewise.
22406 (LDFLAGS-reldep6mod4.so): Likewise.
22407 (LDFLAGS-reldep8mod3.so): Likewise.
22408 (LDFLAGS-unload4mod1.so): Likewise.
22409 (LDFLAGS-unload4mod2.so): Likewise.
22410 (LDFLAGS-tst-initorder): Likewise.
22411 (LDFLAGS-tst-initordera2.so): Likewise.
22412 (LDFLAGS-tst-initordera3.so): Likewise.
22413 (LDFLAGS-tst-initordera4.so): Likewise.
22414 (LDFLAGS-tst-initorderb2.so): Likewise.
22415 (LDFLAGS-noload): Likewise.
22416 (LDFLAGS-next): Likewise.
22417 (LDFLAGS-order2mod1.so): Likewise.
22418 (LDFLAGS-order2mod2.so): Likewise.
22419 (LDFLAGS-tst-initorder2): Likewise.
22420 (LDFLAGS-tst-initorder2a.so): Likewise.
22421 (LDFLAGS-tst-initorder2b.so): Likewise.
22422 (LDFLAGS-tst-initorder2c.so): Likewise.
22423 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22424
d77f993f
DM
224252012-05-02 David S. Miller <davem@davemloft.net>
22426
22427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22428
171a70b4
PP
224292012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22430
22431 [BZ #14055]
22432 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22433
0be196ad
AJ
224342012-05-02 Andreas Jaeger <aj@suse.de>
22435
22436 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22437 since we manipulate rounding mode.
22438 (CPPFLAGS-test-idouble.c): Likewise.
22439 (CPPFLAGS-test-ifloat.c): Likewise.
22440 (CFLAGS-test-ldouble.c): Likewise.
22441 (CFLAGS-test-double.c): Likewise.
22442 (CFLAGS-test-float.c): Likewise.
22443 (CFLAGS-test-misc.c): Likewise.
22444 (CFLAGS-test-test-fenv.c): Likewise.
22445
4f9d04aa
AZ
224462012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22447
2b942cb7
RM
22448 [BZ #2550]
22449 [BZ #2570]
22450 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22451 comparisons to determine direction to adjust input.
4f9d04aa 22452
82a79e7d
RM
224532012-05-01 Roland McGrath <roland@hack.frob.com>
22454
f5a01ca9
RM
22455 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22456 output to the target.
22457
90fe4186
RM
22458 * scripts/localplt.awk: New file.
22459 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22460 (check-localplt-CFLAGS): Variable removed.
22461 ($(all-built-dso:=.jmprel)): New static pattern rule.
22462 (generated): Add those targets.
22463 (localplt-built-dso): New variable.
22464 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22465
22466 * elf/check-localplt.c: File removed.
22467
82397ed6
RM
22468 * scripts/check-execstack.awk: New file.
22469 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22470 (check-execstack-CFLAGS): Variable removed.
22471 ($(objpfx)check-execstack.h): Target removed.
22472 ($(objpfx)execstack-default): New target.
22473 (generated): Add that instead of check-execstack.h.
22474 ($(all-built-dso:=.phdr)): New static pattern rule.
22475 (generated): Add those targets.
22476 * elf/check-execstack.c: File removed.
22477
82a79e7d
RM
22478 * scripts/check-textrel.awk: New file.
22479 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22480 (check-textrel-CFLAGS): Variable removed.
22481 (all-built-dso): Use := to define.o
22482 ($(all-built-dso:=.dyn)): New static pattern rule.
22483 (generated): Add those targets.
22484 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22485 * config.make.in (READELF): New substituted variable.
22486 * elf/check-textrel.c: File removed.
22487
62fde54f 224882012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22489
615605c9
JM
22490 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22491 allow.
22492 * conform/data/ctype.h-data [C99-based standards] (isblank):
22493 Expect function.
22494 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22495 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22497 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22498 Specify type. Require positive value.
22499 (EILSEQ): Likewise.
22500 (ERANGE): Likewise.
22501 [ISO || POSIX] (EILSEQ): Do not expect.
22502 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22503 Specify type. Require positive value.
22504 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22505 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22506 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22507 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22508 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22509 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22510 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22511 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22512 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22513 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22514 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22515 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22516 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22517 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22518 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22519 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22520 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22521 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22522 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22523 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22524 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22525 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22526 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22527 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22528 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22529 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22530 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22531 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22532 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22533 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22534 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22535 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22536 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22537 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22538 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22539 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22540 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22541 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22542 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22543 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22544 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22545 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22546 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22547 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22548 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22549 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22550 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22551 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22552 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22553 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22554 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22555 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22556 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22557 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22558 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22559 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22560 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22561 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22562 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22563 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22564 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22565 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22566 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22567 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22568 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22569 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22570 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22571 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22572 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22573 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22574 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22575 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22576 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22577 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22578 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22579 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22580 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22581 Require >= 2.
22582 (FLT_ROUNDS): Expect as macro, not constant.
22583 (FLT_MANT_DIG): Use macro-int-constant.
22584 (DBL_MANT_DIG): Likewise.
22585 (LDBL_MANT_DIG): Likewise.
22586 (FLT_DIG): Likewise.
22587 (DBL_DIG): Likewise.
22588 (LDBL_DIG): Likewise.
22589 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22590 (DBL_MIN_EXP): Likewise.
22591 (LDBL_MIN_EXP): Likewise.
22592 (FLT_MAX_EXP): Use macro-int-constant.
22593 (DBL_MAX_EXP): Likewise.
22594 (LDBL_MAX_EXP): Likewise.
22595 (FLT_MAX_10_EXP): Likewise.
22596 (DBL_MAX_10_EXP): Likewise.
22597 (LDBL_MAX_10_EXP): Likewise.
22598 (FLT_MAX): Use macro-constant.
22599 (DBL_MAX): Likewise.
22600 (LDBL_MAX): Likewise.
22601 (FLT_EPSILON): Use macro-constant. Give upper bound.
22602 (DBL_EPSILON): Likewise.
22603 (LDBL_EPSILON): Likewise.
22604 (FLT_MIN): Likewise.
22605 (DBL_MIN): Likewise.
22606 (LDBL_MIN): Likewise.
22607 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22608 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22609 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22610 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22611 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22612 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22613 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22614 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22615 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22616 [ISO11] (FLT_TRUE_MIN): Likewise.
22617 [ISO11] (LDBL_TRUE_MIN): Likewise.
22618 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22619 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22620 (SCHAR_MIN): Use macro-int-constant. Specify type.
22621 (SCHAR_MAX): Likewise.
22622 (UCHAR_MAX): Likewise.
22623 (CHAR_MIN): Likewise.
22624 (CHAR_MAX): Likewise.
22625 (MB_LEN_MAX): Use macro-int-constant.
22626 (SHRT_MIN): Use macro-int-constant. Specify type.
22627 (SHRT_MAX): Likewise.
22628 (USHRT_MAX): Likewise.
22629 (INT_MAX): Likewise.
22630 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22631 bound negative.
22632 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22633 bound with "U".
22634 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22635 bound with "L".
22636 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22637 bound negative. Suffix upper bound with "L".
22638 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22639 bound with "UL".
22640 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22641 Specify type.
22642 [C99-based standards] (LLONG_MAX): Likewise.
22643 [C99-based standards] (ULLONG_MAX): Likewise.
22644 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22645 == 0.
22646 [ISO11] (max_align_t): Require type.
22647 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22648
c9140a62
JM
22649 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22650 from $CFLAGS, without defining away __attribute__ calls.
22651 (checknamespace): Use $CFLAGS_namespace.
22652
9af0bf29
JM
22653 * conform/conformtest.pl (@keywords): Only include C99 keywords
22654 for standards based on C99 or C11.
22655
343222a2
JM
22656 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22657 Disable tests.
22658 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22659 UNIX98]: Likewise.
22660
661f8cf0
JM
22661 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22662 usability of symbols in #if.
22663
ee74b9cb
JM
22664 * conform/conformtest.pl: If macro or constant types start
22665 "promoted:", expect the symbol to be of the following type
22666 promoted by the integer promotions.
62fde54f 22667
aafc49b3
JM
22668 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22669 in one place. Also handle "macro-constant".
22670
fefdf574
JM
22671 * conform/conformtest.pl: Only accept expected macro values with
22672 "==". Parse all "macro" lines in one place.
22673 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22674
f2d922fe
JM
22675 * conform/conformtest.pl: Handle braced types on "constant" lines
22676 instead of handling "typed-constant".
22677 * conform/data/signal.h-data: Use "constant" instead of
22678 "typed-constant".
22679
d22956c9
JM
22680 * conform/conformtest.pl: Handle "optional-" at start of lines in
22681 one place rather than duplicating several cases. Handle each
22682 format of "macro" line with initial "optional-".
22683
028e2e38
JM
22684 * conform/conformtest.pl: Only accept expected constant or
22685 optional-constant values with "==". Parse all "constant" lines in
22686 one place. Parse all "optional-constant" lines in one place.
22687 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22688 * conform/data/fmtmsg.h-data: Likewise.
22689 * conform/data/netinet/in.h-data: Likewise.
22690 * conform/data/tar.h-data: Likewise.
22691 * conform/data/limits.h-data: Use "==" form on "constant" and
22692 "optional-constant" lines.
22693
1b8f2850
JM
22694 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22695 Use -std=c99 for XOPEN2K.
22696 (@knownproblems): Remove.
22697 (newtoken): Don't check %isknown.
22698
a05a144b
JM
22699 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22700 Do not expect macro.
22701 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22702 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22703 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22704 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22705 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22706 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22707 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22708 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22709 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22710 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22711 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22712 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22713 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22714 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22715 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22716 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22717 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22718 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22719 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22720 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22721 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22722 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22723 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22724 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22725 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22726 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22727 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22728 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22729 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22730 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22731 [XPG3] (acosh): Likewise.
22732 [XPG3] (asinh): Likewise.
22733 [XPG3] (atanh): Likewise.
22734 [XPG3] (cbrt): Likewise.
22735 [XPG3] (expm1): Likewise.
22736 [XPG3] (ilogb): Likewise.
22737 [XPG3] (log1p): Likewise.
22738 [XPG3] (logb): Likewise.
22739 [XPG3] (nextafter): Likewise.
22740 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22741 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22742 [XPG3] (remainder): Likewise.
22743 [XPG3] (rint): Likewise.
22744 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22745 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22746 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22747 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22748 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22749 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22750 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22751 [UNIX98 || XOPEN2K] (scalb): Expect.
22752 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22753 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22754 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22755 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22756 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22757 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22758 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22759 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22760 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22761 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22762 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22763 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22764 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22765 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22766 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22767 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22768 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22769 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22770 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22771 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22772 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22773 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22774 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22775 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22776 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22777 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22778 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22779 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22780 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22781 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22782 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22783 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22784 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22785 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22786 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22787 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22788 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22789 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22790 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22791 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22792 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22793 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22794 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22795 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22796 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22797 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22798 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22799 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22800 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22801 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22802 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22803 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22804 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22805 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22806 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22807 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22808 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22809 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22810 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22811 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22812 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22813 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22814 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22815 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22816 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22817 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22818 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22819 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22820 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22821 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22822 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22823 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22824 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22825 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22826 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22827 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22828 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22829 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22830 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22831 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22832 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22833 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22834 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22835 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22836 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22837 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22838 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22839 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22840 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22841 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22842 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22843 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22844 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22845 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22846 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22847 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22848 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22849 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22850 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22851 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22852 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22853 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22854 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22855 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22856 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22857 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22858 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22859 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22860 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22861 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22862 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22863 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22864 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22865 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22866 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22867 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22868 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22869 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22870 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22871 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22872 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22873 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22874 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22875 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22876 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22877 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22878 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22879 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22880 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22881 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22882 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22883 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22884 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22885 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22886 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22887 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22888 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22889
73c5ebe3
JM
22890 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22891 _XOPEN_SOURCE_EXTENDED for XPG4.
22892
39c33b6c
JM
22893 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22894
62fde54f
JM
22895 * Makeconfig (localtime): Remove variable.
22896 (inst_localtime-file): Likewise.
22897
0741d64c
AS
228982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22899
22900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22901 Update.
22902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22903 Update.
22904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22905 Update.
22906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22907 Update.
22908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22909 Update.
22910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22911 Update.
22912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22913 Update.
22914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22915 Update.
22916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22917 Update.
22918
7cb029ee
JM
229192012-05-01 Joseph Myers <joseph@codesourcery.com>
22920
22921 [BZ #2550]
22922 [BZ #2570]
22923 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22924 comparisons to determine direction to adjust input.
22925 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22926 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22927 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22928 Likewise.
22929 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22930 Likewise.
22931 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22932 Likewise.
22933 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22934 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22935 Likewise.
22936 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22937 Likewise.
22938 * math/libm-test.inc (nexttoward_test): Add more tests.
22939
412bd966
AS
229402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22941
22942 [BZ #14040]
22943 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22944 in version GLIBC_2.1, not GLIBC_2.0.
22945 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22946 Likewise.
22947
9568c0c2
JM
229482012-04-30 Joseph Myers <joseph@codesourcery.com>
22949
adfbc8ac
JM
22950 [BZ #13942]
22951 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22952 (1 - x) * (1 + x).
22953 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22954 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22955 * math/libm-test.inc (acos_test): Add more tests.
22956 (asin_test): Likewise.
22957 * sysdeps/i386/fpu/libm-test-ulps: Update.
22958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22959
5ba3cc69
JM
22960 [BZ #14034]
22961 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22962 of square root.
22963 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22964 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22965 * math/libm-test.inc (acos_test_tonearest): New function.
22966 (acos_test_towardzero): Likewise.
22967 (acos_test_downward): Likewise.
22968 (acos_test_upward): Likewise.
22969 (asin_test_tonearest): Likewise.
22970 (asin_test_towardzero): Likewise.
22971 (asin_test_downward): Likewise.
22972 (asin_test_upward): Likewise.
22973 (main): Call the new functions.
22974 * sysdeps/i386/fpu/libm-test-ulps: Update.
22975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22976
9568c0c2
JM
22977 [BZ #13884]
22978 [BZ #13924]
22979 * math/e_exp10.c: Include <float.h>.
22980 (__ieee754_exp10): Handle underflow here rather than multiplying
22981 large negative argument by M_LN10.
22982 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22983 of __ieee754_expf.
22984 * math/e_exp10l.c: Include <float.h>.
22985 (__ieee754_exp10l): Handle underflow here rather than multiplying
22986 large negative argument by M_LN10l.
22987 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22988 spurious overflow exception on underflow.
22989
5ac3ea17
MP
229902012-04-29 Marek Polacek <polacek@redhat.com>
22991
22992 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22993 (__fortify_function): New macro.
22994 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22995 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22996 __extern_always_inline.
22997 * libio/bits/stdio2.h: Likewise.
22998 * libio/bits/stdio.h: Likewise.
22999 * string/string.h: Likewise.
23000 * string/bits/string3.h: Likewise.
23001 * include/stdio.h: Likewise.
23002 * stdlib/bits/stdlib.h: Likewise.
23003 * stdlib/stdlib.h: Likewise.
23004 * rt/bits/mqueue2.h: Likewise.
23005 * rt/mqueue.h: Likewise.
23006 * posix/bits/unistd.h: Likewise.
23007 * posix/unistd.h: Likewise.
23008 * io/bits/poll2.h: Likewise.
23009 * io/bits/fcntl2.h: Likewise.
23010 * io/fcntl.h: Likewise.
23011 * io/sys/poll.h: Likewise.
23012 * misc/bits/syslog.h: Likewise.
23013 * misc/bits/syslog-ldbl.h: Likewise.
23014 * misc/sys/syslog.h: Likewise.
23015 * socket/bits/socket2.h: Likewise.
23016 * socket/sys/socket.h: Likewise.
23017 * debug/tst-chk1.c: Likewise.
23018 * wcsmbs/bits/wchar2.h: Likewise.
23019 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23020 * wcsmbs/wchar.h: Likewise.
23021
ecf0ebfb
AJ
230222012-04-29 Andreas Jaeger <aj@suse.de>
23023
23024 * Makerules (tests): Remove enable-check-abi protection.
23025 (check-abi-warn): Remove.
23026 (check-abi-%): Remove check-abi-warn usage.
23027
23028 * configure.in: Remove check-abi configure option.
23029 * configure: Regenerated.
23030 * config.make.in (enable-check-abi): Remove.
23031
6d5c57fa
AS
230322012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23033
24c5d07e 23034 [BZ #14033]
ded5180a
AS
23035 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23036 double functions to double *_finite functions.
23037
7e0d315d
AS
23038 [BZ #13941]
23039 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23040 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23041 LDBL_MIN_EXP.
23042 * stdio-common/Makefile (tests): Add tst-sprintf3.
23043 * stdio-common/tst-sprintf3.c: New file.
23044
6d5c57fa
AS
23045 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23046 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23047
0749ff8b
JM
230482012-04-28 Joseph Myers <joseph@codesourcery.com>
23049
23050 * conform/conformtest.pl: Remove duplicate typed-constant
23051 handling.
23052
8dbd5d7b
DM
230532012-04-28 David S. Miller <davem@davemloft.net>
23054
23055 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23056 (check-abi-%): Remove AWK script prerequisite and explicit
23057 abilist directory.
23058 (check-abi): Rewrite to just diff the symlist with the abilist.
23059 (config-tls, config-abi-config): Delete, no longer used.
23060 (update-abi-%): Remove AWK script and explicit abilist directory.
23061 (update-abi): Rewrite to simply compare and conditionally copy the
23062 symlist and the sysdep abilist file. Remove update-abi-config
23063 checks.
23064 * abilist/ld.abilist: Remove.
23065 * abilist/libBrokenLocale.abilist: Remove.
23066 * abilist/libanl.abilist: Remove.
23067 * abilist/libcrypt.abilist: Remove.
23068 * abilist/libdl.abilist: Remove.
23069 * abilist/librt.abilist: Remove.
23070 * abilist/libthread_db.abilist: Remove.
23071 * abilist/libutil.abilist: Remove.
23072 * scripts/extract-abilist.awk: Remove.
23073 * scripts/merge-abilist.awk: Remove.
23074 * sysdeps/generic/libcidn.abilist: New file.
23075 * sysdeps/generic/libnss_compat.abilist: New file.
23076 * sysdeps/generic/libnss_db.abilist: New file.
23077 * sysdeps/generic/libnss_dns.abilist: New file.
23078 * sysdeps/generic/libnss_files.abilist: New file.
23079 * sysdeps/generic/libnss_hesiod.abilist: New file.
23080 * sysdeps/generic/libnss_nis.abilist: New file.
23081 * sysdeps/generic/libnss_nisplus.abilist: New file.
23082 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23083 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23084 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23085 file.
23086 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23087 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23088 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23089 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23090 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23091 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23092 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23093 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23094 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23095 file.
23096 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23097 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23098 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23099 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23100 file.
23101 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23102 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23103 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23104 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23105 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23106 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23107 file.
23108 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23109 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23110 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23111 file.
23112 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23114 New file.
23115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23116 New file.
23117 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23118 New file.
23119 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23120 New file.
23121 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23122 New file.
23123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23124 New file.
23125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23126 New file.
23127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23128 New file.
23129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23130 New file.
23131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23132 New file.
23133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23134 New file.
23135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23136 New file.
23137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23138 New file.
23139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23140 file.
23141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23142 New file.
23143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23144 New file.
23145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23146 file.
23147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23148 New file.
23149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23150 New file.
23151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23152 file.
23153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23154 New file.
23155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23156 New file.
23157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23158 New file.
23159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23160 New file.
23161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23162 New file.
23163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23164 New file.
23165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23167 file.
23168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23169 New file.
23170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23171 file.
23172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23173 file.
23174 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23175 file.
23176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23177 file.
23178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23179 file.
23180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23181 New file.
23182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23183 file.
23184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23185 file.
23186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23187 New file.
23188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23189 file.
23190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23192 file.
23193 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23194 New file.
23195 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23196 file.
23197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23198 file.
23199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23200 file.
23201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23202 file.
23203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23204 file.
23205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23206 New file.
23207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23208 file.
23209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23210 file.
23211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23212 New file.
23213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23214 file.
23215 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23216 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23217 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23218 file.
23219 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23220 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23221 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23222 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23223 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23224 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23225 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23226 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23227 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23228 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23231 file.
23232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23233 New file.
23234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23235 file.
23236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23237 file.
23238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23239 file.
23240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23241 file.
23242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23243 file.
23244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23245 New file.
23246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23247 New file.
23248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23249 file.
23250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23251 New file.
23252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23253 file.
23254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23256 file.
23257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23258 New file.
23259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23260 file.
23261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23262 file.
23263 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23264 file.
23265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23266 file.
23267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23268 file.
23269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23270 New file.
23271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23272 New file.
23273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23274 file.
23275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23276 New file.
23277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23278 file.
23279
41d73a1b
JM
232802012-04-28 Joseph Myers <joseph@codesourcery.com>
23281
23282 * conform/conformtest.pl: Fix typo in handling typed-constant from
23283 allow-header.
23284
28aeeda4
JM
232852012-04-27 Joseph Myers <joseph@codesourcery.com>
23286
adae8f5e
JM
23287 * README: Cut down references to pre-2.6 Linux kernels and
23288 Linuxthreads. Update lists of configurations in libc and ports
23289 and sort alphabetically. Say "or newer" with Linux kernel version
23290 requirements.
23291
28aeeda4
JM
23292 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23293
a462cb63
RA
232942012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23295
23296 [BZ #887]
23297 * math/libm-test.inc (logb_test_downward): New test to expose
23298 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23299 rounding mode.
23300
6ad3493e
JM
233012012-04-27 Joseph Myers <joseph@codesourcery.com>
23302
23303 [BZ #14027]
23304 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23305 to be done.
23306 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23307 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23308
2ce4f015
JM
233092012-04-26 Joseph Myers <joseph@codesourcery.com>
23310
5aeb141a
JM
23311 * sysdeps/unix/i386/brk.S: Remove file.
23312 * sysdeps/unix/i386/dl-brk.S: Likewise.
23313 * sysdeps/unix/i386/pipe.S: Likewise.
23314 * sysdeps/unix/i386/sigreturn.S: Likewise.
23315 * sysdeps/unix/i386/syscall.S: Likewise.
23316 * sysdeps/unix/i386/vfork.S: Likewise.
23317 * sysdeps/unix/i386/wait.S: Likewise.
23318
7143acae
JM
23319 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23320 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23321
2ce4f015
JM
23322 * configure.in (arm*-none*): Do not allow without
23323 --enable-hacker-mode.
23324 (netbsd*): Remove case setting base_os.
23325 (386bsd*): Likewise.
23326 (freebsd*): Likewise.
23327 (bsdi*): Likewise.
23328 (osf*): Likewise.
23329 (sunos*): Likewise.
23330 (ultrix*): Likewise.
23331 (newsos*): Likewise.
23332 (dynix*): Likewise.
23333 (*bsd*): Likewise.
23334 (sysv*): Likewise.
23335 (isc*): Likewise.
23336 (esix*): Likewise.
23337 (sco*): Likewise.
23338 (minix*): Likewise.
23339 (irix4*): Likewise.
23340 (irix6*): Likewise.
23341 (solaris[2-9]*): Likewise.
23342 (none): Likewise.
23343 * configure: Regenerated.
23344
0ac229c8
AZ
233452012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23346
23347 [BZ #11521]
23348 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23349 overflow or cancellation in calculating denominator.
23350 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23351 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23352 down expression to avoid unexpected rounding in newer GCCs.
23353 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23354
33f244f4
DM
233552012-04-26 David S. Miller <davem@davemloft.net>
23356
23357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23358 long-double compat symbols.
23359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23372
cfa1f3e8
DM
233732012-04-25 David S. Miller <davem@davemloft.net>
23374
23375 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23376 HWCAP_* values only after the memory barriers have been defined.
23377 (atomic_full_barrier): Define.
23378 (atomic_read_barrier): Define.
23379 (atomic_write_barrier): Define.
23380
6e236b92
SP
233812012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23382
23383 * shlib-versions: Add libgcc_s version information.
23384 * sysdeps/generic/libgcc_s.h: Remove.
23385 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23386 libgcc_s.h.
23387 * sysdeps/gnu/unwind-resume.c: Likewise.
23388 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23389
aab39a09
DM
233902012-04-25 David S. Miller <davem@davemloft.net>
23391
23392 * sysdeps/unix/sparc/brk.S: Delete.
23393 * sysdeps/unix/sparc/dl-brk.S: Delete.
23394 * sysdeps/unix/sparc/pipe.S: Delete.
23395 * sysdeps/unix/sparc/sysdep.S: Delete.
23396 * sysdeps/unix/sparc/sysdep.h: Delete.
23397 * sysdeps/unix/sparc/vfork.S: Delete.
23398 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23399 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23400 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23401 ret_ERRVAL, r0, r1, MOVE): Define.
23402 (JUMPTARGET): Remove.
23403 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23404 sysdeps/unix/sparc/sysdep.h
23405 (ENTRY, END): Remove.
23406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23407
a3cc4f48
JM
234082012-04-25 Joseph Myers <joseph@codesourcery.com>
23409
2ed8cda2
JM
23410 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23411 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23412 -DIS_IN_build.
23413
35d76d59
JM
23414 * timezone/README: Update upstream location and email address for
23415 tzcode and tzdata.
23416 * timezone/zdump.c: Update from tzcode 2012b.
23417 * timezone/zic.c: Likewise.
23418
a3cc4f48
JM
23419 * configure.in (libc_cv_as_needed): Remove test.
23420 * configure: Regenerated.
23421 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23422 conditional definition.
23423 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23424 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23425 * config.make.in (have-as-needed): Remove variable.
23426
ceab42c3
SP
234272012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23428 Paul Pluzhnikov <ppluzhnikov@google.com>
23429
23430 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23431 strings correctly.
23432
3ce2865f
CLT
234332012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23434
23435 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23436 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23437 * sysdeps/sh/strlen.S: Likewise.
23438
f37e0d68
JM
234392012-04-24 Joseph Myers <joseph@codesourcery.com>
23440
ae186e9a
JM
23441 * sysdeps/unix/fork.S: Remove file.
23442 * sysdeps/unix/i386/fork.S: Likewise.
23443 * sysdeps/unix/sparc/fork.S: Likewise.
23444
b96914af
JM
23445 * sysdeps/unix/system.c: Remove file.
23446 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23447
f37e0d68
JM
23448 * sysdeps/unix/getegid.S: Remove file.
23449 * sysdeps/unix/geteuid.S: Likewise.
23450
87ef29ca
RM
234512012-04-24 Roland McGrath <roland@hack.frob.com>
23452
83bcd236
RM
23453 * scripts/check-localplt.awk: New file.
23454 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23455 of diff.
23456 * scripts/data/localplt-generic.data: Add a comment.
23457
87ef29ca
RM
23458 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23459 NODE when __dir_mkfile failed.
23460 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23461 Reported by Ludovic Courtès <ludo@gnu.org>.
23462
e5a6e567
AJ
234632012-04-24 Andreas Jaeger <aj@suse.de>
23464
23465 * Makerules (common-clean): Also remove gen-as-const-headers
23466 files.
23467
c1820385
JM
234682012-04-24 Joseph Myers <joseph@codesourcery.com>
23469
23470 * Makerules (native-compile): Do not change working directory for
23471 build. Use $(OUTPUT_OPTION) in command.
23472 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23473
94e02fc4
AZ
234742012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23475
23476 [BZ #13886]
23477 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23478 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23479 * math/libm-test.inc (floor_test): Add more tests.
23480 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23481
3a533ca3
JM
234822012-04-24 Joseph Myers <joseph@codesourcery.com>
23483
940ab4b3
JM
23484 * sysdeps/unix/getdents.c: Remove file.
23485 * sysdeps/unix/sysv/getdents.c: Likewise.
23486 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23487
90e037bd
JM
23488 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23489 sysdeps/unix/mman/syscalls.list.
23490 (mmap): Likewise.
23491 (mprotect): Likewise.
23492 (msync): Likewise.
23493 (munmap): Likewise.
23494 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23495 * sysdeps/unix/mman/syscalls.list: Remove.
23496 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23497
3a533ca3
JM
23498 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23499 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23500 * configure: Regenerated.
23501 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23502 $(libgcc_s_suffix).
23503 * config.make.in (libgcc_s_suffix): Remove variable.
23504
1ad743de
JM
235052012-04-23 Joseph Myers <joseph@codesourcery.com>
23506
4ad451e2
JM
23507 * sysdeps/unix/sysv/gethostname.c: Move to ...
23508 * sysdeps/posix/gethostname.c: ... here.
23509
5e37ce39
JM
23510 * sysdeps/unix/execve.S: Remove file.
23511
1ad743de
JM
23512 * sysdeps/unix/_exit.S: Remove file.
23513
4e681b5b
AJ
235142012-04-23 Andreas Jaeger <aj@suse.de>
23515
23516 [BZ #13739]
23517 * manual/Makefile: Remove make dist support, there's no
23518 need for a stand-alone documentation tar ball.
23519 (TEXI2DVI): Define always, it's not in Makeconfig.
23520 (dist): Removed.
23521 (tar-it): Removed.
23522 (edition): Removed.
23523 (glibc-doc-$(edition).tar): Removed
23524 (%.Z): Removed.
23525 (%.gz): Removed.
23526 (%.uu): Removed.
23527 (ETAGS): Remove, it's in Makeconfig.
23528 (move-if-change): Remove, it's in Makeconfig.
23529
38686a03 235302012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23531
23532 [BZ #13970]
23533 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23534 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23535 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23536 (strtod_l, strtof_l, strtold_l): Remove __wur.
23537 It is not necessarily an error to ignore strtol's return value.
23538 One can reliably look at the stored endptr to decide whether
23539 the number had valid syntax.
23540
7c0616fa
AJ
235412012-04-21 Andreas Jaeger <aj@suse.de>
23542
803cb6b7 23543 [BZ #13739]
7c0616fa
AJ
23544 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23545
b0fe253f
JM
235462012-04-21 Joseph Myers <joseph@codesourcery.com>
23547
23548 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23549 * sysdeps/unix/sysv/Versions: Remove file.
23550
8280f22d
MT
235512012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23552
23553 [BZ #13927]
23554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23555
75ce411f 235562012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23557
23558 [BZ #7064]
23559 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23560 version from __vm86.
23561
097d59fa
JM
235622012-04-20 Joseph Myers <joseph@codesourcery.com>
23563
a90f3bcb
JM
23564 * sysdeps/unix/common/lxstat.c: Remove file.
23565 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23566
edc7ea78
JM
23567 * sysdeps/unix/sysv/Makefile: Remove file.
23568
cb78c221
JM
23569 * sysdeps/unix/sysv/direct.h: Remove file.
23570
efa6a45f
JM
23571 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23572 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23573 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23574 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23575 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23576 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23577 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23578
9c9f2d0c
JM
23579 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23580
4541c83b
JM
23581 * sysdeps/unix/xmknod.c: Remove file.
23582 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23583
f5d153a0
JM
23584 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23585
aa746595
JM
23586 * sysdeps/unix/sysv/i386/time.S: Remove file.
23587
cce5905e
JM
23588 * sysdeps/unix/fxstat.c: Remove file.
23589 * sysdeps/unix/xstat.c: Likewise.
23590 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23591
37fa3841
JM
23592 * sysdeps/unix/sysv/sigaction.c: Remove file.
23593
ff1962a3
JM
23594 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23595 (sysdep_headers): Remove variable.
23596 [termio.h not in sysdep_headers] (generated): Likewise.
23597 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23598 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23599 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23600 * sysdeps/unix/sysv/tcflow.c: Likewise.
23601 * sysdeps/unix/sysv/tcflush.c: Likewise.
23602 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23603 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23604 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23605 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23606 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23607
e7740d31
JM
23608 * sysdeps/unix/siglist.c: Remove file.
23609
ee06f18b
JM
23610 * sysdeps/unix/getppid.S: Remove file.
23611
097d59fa
JM
23612 * sysdeps/unix/mkdir.c: Remove file.
23613 * sysdeps/unix/rmdir.c: Likewise.
23614
ff3d51ec
AS
236152012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23616
23617 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23618 ERR_MAX value.
23619 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23620 errlist-compat value.
23621
50f81fd7
DM
236222012-04-18 David S. Miller <davem@davemloft.net>
23623
23624 * sysdeps/generic/memcopy.h (reg_char): Delete.
23625 * debug/strcat_chk.c: Use char, not reg_char.
23626 * debug/strcpy_chk.c: Likewise.
23627 * debug/strncat_chk.c: Likewise.
23628 * debug/strncpy_chk.c: Likewise.
23629 * string/memchr.c: Likewise.
23630 * string/memrchr.c: Likewise.
23631 * string/rawmemchr.c: Likewise.
23632 * string/strcat.c: Likewise.
23633 * string/strchr.c: Likewise.
23634 * string/strchrnul.c: Likewise.
23635 * string/strcmp.c: Likewise.
23636 * string/strcpy.c: Likewise.
23637 * string/strncat.c: Likewise.
23638 * string/strncmp.c: Likewise.
23639 * string/strncpy.c: Likewise.
23640
8ff41c46
WS
236412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23642
23643 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23644 __builtin_memcopy is called when src and dest ranges are known to not
23645 overlap.
23646
6b652f46
WS
236472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23648
23649 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23650 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23651 fwd_align_merge macro call.
23652 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23653 bwd_align_merge macro call.
23654 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23655
b282631e
WS
236562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23657
23658 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23659 bwd_align_merge macros.
23660 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23661 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23662 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23663
95aa737c
DM
236642012-04-18 David S. Miller <davem@davemloft.net>
23665
23666 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23667
7a99a614
AJ
236682012-04-18 Andreas Jaeger <aj@suse.de>
23669
23670 [BZ# 6794]
23671 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23672 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23673 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23674
23675 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23676 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23677 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23678
23679 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23680 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23681 Adjust for changed ldbl-128 files.
23682
23683 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23684 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23685 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23686
e5270c23
DM
236872012-04-17 David S. Miller <davem@davemloft.net>
23688
23689 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23690
fb5e92c9
AS
236912012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23692
23693 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23694 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23695 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23696 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23697 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23698 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23699
76da7265
AZ
237002012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23701
23702 [BZ #6794]
23703 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23704 * math/libm-test.inc: Add ilogb errno and exception tests.
23705 * math/w_ilogb.c: New file: ilogb wrapper.
23706 * math/w_ilogbf.c: New file: ilogbf wrapper.
23707 * math/w_ilogbl.c: New file: ilogbl wrapper.
23708 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23709 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23710 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23711 exception being thrown with 0.0 as argument.
23712 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23713 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23714 exception being thrown with 0.0 as argument.
23715 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23716 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23717 exception being thrown with 0.0 as argument.
23718 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23719 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23720 exception being thrown with 0.0 as argument.
23721 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23722 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23723 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23724 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23725 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23726 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23727 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23728 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23729 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23730
0396e69d
PB
237312012-04-17 Petr Baudis <pasky@ucw.cz>
23732
23733 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23734 with altivec.
23735
750b5926
MP
237362012-04-16 Marek Polacek <polacek@redhat.com>
23737
23738 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23739
751728a1
MP
237402012-04-16 Marek Polacek <polacek@redhat.com>
23741
23742 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23743 operands of fdivp instruction.
23744
34a27407
L
237452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23746
23747 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23748 * elf/tst-auditmod3b.c: Likewise.
23749 * elf/tst-auditmod4b.c: Likewise.
23750 * elf/tst-auditmod5b.c: Likewise.
23751 * elf/tst-auditmod6b.c: Likewise.
23752 * elf/tst-auditmod6c.c: Likewise.
23753 * elf/tst-auditmod7b.c: Likewise.
23754 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23755 * sysdeps/x86_64/preconfigure.in: Likewise.
23756 * sysdeps/x86_64/preconfigure: Regenerated.
23757
7e73e17d
L
237582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23759
23760 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23761 __ILP32__.
23762
c7a6ab72
AB
237632012-04-13 Antoine Balestrat <merkil33@gmail.com>
23764
23765 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23766 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23767
a9e8e0e0
CL
237682012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23769
23770 [BZ #13973]
23771 * locale/iso-639.def: Fix gl language name. Spotted by
23772 Yaron Shahrabani.
23773
ec98af7d
RM
237742012-04-12 Roland McGrath <roland@hack.frob.com>
23775
23776 [BZ #2074]
23777 * libio/libio.h (__io_write_fn): Update comment.
23778
247c3ede
PB
237792012-04-12 Petr Baudis <pasky@ucw.cz>
23780
23781 [BZ #2074]
23782 * stdio.texi (Hook Functions): The user provided writer function
23783 is not allowed to return -1.
23784
55939d6d
DM
237852012-04-11 David S. Miller <davem@davemloft.net>
23786
23787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23788
90020f5a
MF
237892012-04-11 Mike Frysinger <vapier@gentoo.org>
23790
23791 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23792 Add a leading slash to rtkaio.
23793
288f9098
JM
237942012-04-11 Jim Meyering <meyering@redhat.com>
23795
90020f5a
MF
23796 [BZ #11959]
23797 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23798 It is not necessarily an error to ignore fwrite's return
23799 value. One can reliably use ferror to test for errors after
23800 the fact.
288f9098 23801
4be2b570
L
238022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23803
23804 * bits/types.h (__snseconds_t): New type.
23805 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23806
23807 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23808 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23809 (__SNSECONDS_T_TYPE): Likewise.
23810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23811 (__SNSECONDS_T_TYPE): Likewise.
23812 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23813 (__SNSECONDS_T_TYPE): Likewise.
23814
288f9098 238152012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23816
23817 [BZ #2636]
23818 * manual/time.texi (Processor Time): Return type of times is
23819 elapsed real time since an arbitrary point in the past.
23820 (CPU Time): Move CLK_TCK from here...
23821 (Processor Time): ...to here. Correct description.
23822 * manual/conf.texi (Constants for Sysconf): Correct description of
23823 _SC_CLK_TCK.
23824
d7dd4413
DM
238252012-04-10 David S. Miller <davem@davemloft.net>
23826
23827 [BZ #13967]
23828 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23829 where the is a gap between DT_REL(A) and DT_JMPREL.
23830
b46068fc
L
238312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23832
23833 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23834 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23835 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23836
73d65cc3
SP
238372012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23838
23839 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23840 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23841 (dl_main): Handle --inhibit-cache.
23842 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23843 _dl_inhibit_cache.
23844 * elf/dl-load.c (_dl_map_object): Use it.
23845 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23846
bcc8d661
JM
238472012-04-09 Joseph Myers <joseph@codesourcery.com>
23848
8f9a2fae
JM
23849 [BZ #13872]
23850 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23851 (__ieee754_powl): Saturate large exponents rather than testing for
23852 overflow of y*log2(x).
23853 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23854 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23855 exceptions.
23856
bcc8d661
JM
23857 [BZ #11521]
23858 * math/s_ctan.c: Include <float.h>.
23859 (__ctan): Avoid internal overflow or cancellation in calculating
23860 denominator.
23861 * math/s_ctanf.c: Likewise.
23862 * math/s_ctanl.c: Likewise.
23863 * math/s_ctanh.c: Likewise.
23864 * math/s_ctanhf.c: Likewise.
23865 * math/s_ctanhl.c: Likewise.
23866 * math/libm-test.inc (ctan_test): Add more tests.
23867 (ctanh_test): Likewise.
23868 * sysdeps/i386/fpu/libm-test-ulps: Update.
23869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23870
823fbbb4
AJ
238712012-04-09 Andreas Jaeger <aj@suse.de>
23872
03879793
AJ
23873 [BZ #6894]
23874 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23875 is an optional BSD extension.
23876
823fbbb4
AJ
23877 [BZ #10254]
23878 * manual/stdio.texi (Opening Streams): Document additional fopen
23879 parameters.
23880
8de131cb
RM
238812012-04-09 Roland McGrath <roland@hack.frob.com>
23882
23883 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23884 %eax without telling the compiler.
23885
c0ed9d7d
CD
238862012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23887
23888 [BZ # 13963]
23889 * manual/install.texi: Use sourceware.org.
23890
c483f6b4
JM
238912012-04-09 Joseph Myers <joseph@codesourcery.com>
23892
d7dd9453
JM
23893 [BZ #13873]
23894 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23895 (__ieee754_pow): Generate overflow and underflow using huge*huge
23896 and tiny*tiny rather than just returning constant infinity or zero
23897 for large exponents.
23898 * math/libm-test.inc (pow_test): Require overflow exceptions for
23899 applicable cases of large exponents.
23900
c483f6b4
JM
23901 [BZ #706]
23902 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23903 (__ieee754_pow): Use iterative multiplication algorithm only for
23904 integer exponents with absolute value below 1024. Check for odd
23905 integer exponents when using algorithm for real exponents.
23906 * math/libm-test.inc (pow_test): Add more tests.
23907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23908
d2de7579
JM
239092012-04-08 Joseph Myers <joseph@codesourcery.com>
23910
23911 [BZ #13705]
23912 * math/libm-test.inc (exp_test): Do not allow overflow exception
23913 on underflow test.
23914
f77f1232
AJ
239152012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23916
23917 [BZ #13705]
23918 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23919 instead of __kernel_standard_f.
23920
3884932b
MF
239212012-04-08 Mike Frysinger <vapier@gentoo.org>
23922
23923 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23924 * sysdeps/x86_64/memset_chk.S: Likewise.
23925
54472e9c
AJ
239262012-04-08 Andreas Jaeger <aj@suse.de>
23927
6ab0fbfc
AJ
23928 [BZ #10153]
23929 * manual/startup.texi (Environment Access): Describe return value
23930 for putenv and setenv.
23931
61efba8c
AJ
23932 [BZ #6895]
23933 * manual/filesys.texi (Directory Entries): Add description for
23934 DT_LNK.
23935
95c3f29a
AJ
23936 [BZ #6890]
23937 * manual/filesys.texi (Directory Entries): Clarify that it's file
23938 system not operating system in the description of DT_UNKNOWN.
23939
54472e9c
AJ
23940 [BZ #6578]
23941 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23942
624254b1
SC
239432012-04-08 Stephen Compall <s11@member.fsf.org>
23944
23945 [BZ #6649]
23946 * manual/llio.texi (Opening and Closing Files): Add cross
23947 reference to explain mode argument.
23948
1e4920e0
MF
239492012-04-07 Mike Frysinger <vapier@gentoo.org>
23950
23951 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23952 * sysdeps/x86_64/memset_chk.S: Likewise.
23953
5ed848f3
DM
239542012-04-07 David S. Miller <davem@davemloft.net>
23955
23956 * elf/elf.h (R_SPARC_WDISP10): Define.
23957 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23958 R_SPARC_SIZE32.
23959 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23960 R_SPARC_SIZE64 and R_SPARC_H34.
23961
96154cd8
CD
239622012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23963
23964 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23965 conditions and remove no longer applicable assertion.
23966
9904dc47
L
239672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23968
23969 * bits/byteswap.h: Include <features.h>.
23970 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23971 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23972
f8887d0a
L
239732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23974
23975 * bits/byteswap.h (__bswap_16): Removed.
23976 Include <bits/byteswap-16.h> to get __bswap_16.
23977 * sysdeps/i386/bits/byteswap.h: Likewise.
23978 * sysdeps/s390/bits/byteswap.h: Likewise.
23979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23980 * bits/byteswap-16.h: New file.
23981 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23982 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23983 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23984 * string/Makefile (headers): Add bits/byteswap-16.h.
23985
62470f60
PP
239862012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23987
23988 [BZ #13895]
23989 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23990 extra indirection.
23991 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23992 * nss/tst-nss-static.c: New.
23993
4dad7bab
RM
239942012-04-06 Robert Millan <rmh@gnu.org>
23995
23996 [BZ #6486]
23997 * manual/llio.texi (File Position Primitive): lseek
23998 refers to WHENCE when it really means OFFSET.
23999
e9142a17
AJ
240002012-04-06 Andreas Jaeger <aj@suse.de>
24001
2c040eff
AJ
24002 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24003 strncmp declarations.
24004
e9142a17
AJ
24005 * abilist/libc.abilist: Add __poll and __ppoll.
24006
ff9f1c5f
DM
240072012-04-05 David S. Miller <davem@davemloft.net>
24008
dcd2ae90
DM
24009 * scripts/check-local-headers.sh: Accept a host triplet in the
24010 path matched by the exclude regexp.
24011
993eb054
DM
24012 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24013 definition.
24014 * sysdeps/powerpc/powerpc32/dl-machine.h
24015 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24016 * sysdeps/s390/s390-32/dl-machine.h
24017 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24018 * sysdeps/sparc/sparc32/dl-machine.h
24019 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24020 * sysdeps/sparc/sparc64/dl-machine.h
24021 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24022
ff9f1c5f
DM
24023 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24024 lazy binding.
48e2e132 24025 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24026 undefined symbol errors.
24027
48e2e132 24028 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24029 DT_NEEDED entries.
24030
e80d6f94
MM
240312012-04-05 Michael Matz <matz@suse.de>
24032
24033 [BZ #13592]
24034 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24035
349fa79f
AJ
240362012-04-05 Andreas Jaeger <aj@suse.de>
24037
24038 [BZ #13908]
24039 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24040 comment.
24041
f402708f
KK
240422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24043
24044 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24045 which ROUND is no valid rounding mode.
24046
2ecccfc9
KK
240472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24048
24049 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24050 read again.
24051 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24052
8a53f50f
KK
240532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24054
24055 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24056 an exception using FPU order intentionally.
24057
240582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24059
24060 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24061 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24062 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24063 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24064
d653abb7
SJ
240652012-04-05 Simon Josefsson <simon@josefsson.org>
24066
24067 [BZ #12340]
24068 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24069 EINVAL when BUFLEN is too smal.
24070
c3b1bf7d
TS
240712012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24072
24073 [BZ #13553]
24074 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24075 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24076
b1aa60f3
AJ
240772012-04-03 Andreas Jaeger <aj@suse.de>
24078
c3b1bf7d 24079 [BZ #13938]
67f60a26
AJ
24080 * manual/setjmp.texi (System V contexts): Fix sentence.
24081
b1aa60f3
AJ
24082 [BZ #13926]
24083 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24084 New macro for this case.
24085 [!__GNUC__] (__bswap_64): New inline function for this case.
24086 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24087 * bits/byteswap.h: Likewise.
24088 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24089 ull, guard with __GLIBC_HAVE_LONG_LONG.
24090
24091 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24092 __GLIBC_HAVE_LONG_LONG.
24093
24094 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24095 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24096
39c59c35
TMQMF
240972012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24098
24099 [BZ #13691]
24100 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24101 inptr and inend, rather than using last_ch.
24102
135ffda8
DM
241032012-04-02 David S. Miller <davem@davemloft.net>
24104
24105 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24106 * stdio-common/printf-parse.h (read_int): Change return type to
24107 'int', return -1 on INT_MAX overflow.
24108 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24109 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24110 overflows INT_MAX. Check for overflow of in-format-string precision
24111 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24112 SIZE_MAX not INT_MAX for integer overflow test.
24113 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24114 skip the construct in the format string but do not record anything.
24115 * stdio-common/bug22.c: Adjust to test both width/prevision
24116 INT_MAX overflow as well as total length INT_MAX overflow. Check
24117 explicitly for proper errno values.
24118
228c019e
TS
241192012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24120
302cadd3
TS
24121 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24122 CHAR_MAX.
24123 * string/test-strcmp.c [! WIDE]: Likewise.
24124 * time/tst-mktime2.c: Likewise for INT_MAX.
24125 * string/test-string.h: #include <sys/param.h> for MIN.
24126
228c019e
TS
24127 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24128 * sysdeps/i386/init-first.c (init): Likewise.
24129 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24130 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24131 * sysdeps/sh/init-first.c (init): Likewise.
24132
cfa633f5
UD
241332012-04-01 Ulrich Drepper <drepper@gmail.com>
24134
24135 * po/ru.po: Update from translation team.
d1635ef8 24136 * po/vi.po: Likewise.
cfa633f5 24137
6cd0a5ea
SP
241382012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24139
24140 * resolv/nss_dns/dns-host.c: Merge copyright years.
24141
4b43400f
LD
241422012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24143
24144 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24145 Optimize memcpy with prefetch if
24146 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24147 src, dst pointers have unequal 16 byte alignments.
24148
48c41d04
SP
241492012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24150
24151 [BZ #13928]
24152 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24153 from a CNAME entry and return the minimum ttl for the query.
24154 (gaih_getanswer_slice): Likewise.
24155
b8dc394d
JL
241562012-03-30 Jeff Law <law@redhat.com>
24157
24158 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24159 due to long keys.
24160 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24161 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24162
2f5a5ed0
JL
24163 * resolv/nss_dns/dns-host.c: Update copyright year.
24164
1d39e359
UD
241652012-03-30 Ulrich Drepper <drepper@gmail.com>
24166
c030f70c 24167 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24168 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24169
1d39e359
UD
24170 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24171 comments for sendmmsg.
24172
241732012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24174
24175 [BZ #13691]
24176 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24177 with only 1 character between 0x0041 and 0x01b0.
24178 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24179 * wcsmbs/tst-mbsnrtowcs.c: New file.
24180
20fde227
DM
241812012-03-29 David S. Miller <davem@davemloft.net>
24182
24183 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24184 small copies by hand.
24185
984a4237
JL
241862012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24187
24188 [BZ #13761]
24189 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24190 _nss_compat_initgroups_dyn): Fall back to malloc/free
24191 for large group memberships.
24192
18c9d62b
DM
241932012-03-28 David S. Miller <davem@davemloft.net>
24194
88d85d4f
DM
24195 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24196 that branches into memcpy.
24197 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24198 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24199 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24200 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24202 bits.
24203 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24204 implementation too.
24205 * sysdeps/sparc/mempcpy.S: New file.
24206
e5aa83e1
DM
24207 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24208 the IFUNC routine in the libc case.
24209 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24210
88570753
DM
24211 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24212 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24213 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24214 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24215 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24216 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24217 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24218 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24219
249d7567
DM
24220 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24221 loop to 256 bytes instead of 64 bytes and fix test signedness.
24222
18c9d62b
DM
24223 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24224 * sysdeps/sparc/sparc32/Makefile: rather than here...
24225 * sysdeps/sparc/sparc64/Makefile: and here.
24226
05f3d1f6
UD
242272012-03-28 Ulrich Drepper <drepper@gmail.com>
24228
24229 * malloc/mallocbug.c: Avoid warnings about unused variables.
24230
86ae07a8
JL
242312012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24232
24233 [BZ #13760]
24234 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24235 in the right place. Discard and retry query if response is
24236 larger than input buffer size.
24237
41bf21a1
JM
242382012-03-28 Joseph Myers <joseph@codesourcery.com>
24239
d6270972
JM
24240 [BZ #369]
24241 [BZ #2678]
24242 [BZ #3866]
24243 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24244 x for large integer exponent.
24245 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24246 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24247 sign of result as needed afterwards.
24248 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24249 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24250 result for underflowing pow the same as for overflow.
24251 (__kernel_standard_l): Handle powl overflow and underflow here
24252 rather than calling __kernel_standard.
24253 * math/libm-test.inc (pow_test): Add more tests.
24254
414fca03 24255 [BZ #3868]
41bf21a1
JM
24256 [BZ #13879]
24257 [BZ #13910]
24258 [BZ #13911]
24259 [BZ #13912]
24260 [BZ #13913]
24261 [BZ #13915]
24262 [BZ #13916]
24263 [BZ #13917]
24264 [BZ #13918]
24265 [BZ #13919]
24266 [BZ #13920]
24267 [BZ #13921]
24268 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24269 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24270 (__kernel_standard_l): New function.
24271 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24272 __kernel_standard.
24273 * math/w_acosl.c (__acosl): Likewise.
24274 * math/w_asinl.c (__asinl): Likewise.
24275 * math/w_atan2l.c (__atan2l): Likewise.
24276 * math/w_atanhl.c (__atanhl): Likewise.
24277 * math/w_coshl.c (__coshl): Likewise.
24278 * math/w_exp10l.c (__exp10l): Likewise.
24279 * math/w_exp2l.c (__exp2l): Likewise.
24280 * math/w_fmodl.c (__fmodl): Likewise.
24281 * math/w_hypotl.c (__hypotl): Likewise.
24282 * math/w_j0l.c (__j0l, __y0l): Likewise.
24283 * math/w_j1l.c (__j1l, __y1l): Likewise.
24284 * math/w_jnl.c (__jnl, __ynl): Likewise.
24285 * math/w_lgammal.c (__lgammal): Likewise.
24286 * math/w_log10l.c (__log10l): Likewise.
24287 * math/w_log2l.c (__log2l): Likewise.
24288 * math/w_logl.c (__logl): Likewise.
24289 * math/w_powl.c (__powl): Likewise.
24290 * math/w_remainderl.c (__remainderl): Likewise.
24291 * math/w_scalbl.c (sysv_scalbl): Likewise.
24292 * math/w_sinhl.c (__sinhl): Likewise.
24293 * math/w_sqrtl.c (__sqrtl): Likewise.
24294 * math/w_tgammal.c (__tgammal): Likewise.
24295 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24296 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24297 * math/libm-test.inc (acos_test): Add more tests.
24298 (acosh_test): Likewise.
24299 (asin_test): Likewise.
24300 (atanh_test): Likewise.
24301 (exp_test): Likewise.
24302 (exp10_test): Likewise.
24303 (exp2_test): Likewise.
24304 (expm1_test): Likewise.
24305 (lgamma_test): Likewise.
24306 (log_test): Likewise.
24307 (log10_test): Likewise.
24308 (log1p_test): Likewise.
24309 (log2_test): Likewise.
24310 (pow_test): Do not allow some spurious overflow exceptions.
24311 (sqrt_test): Add more tests.
24312 (tgamma_test): Likewise.
24313 (y0_test): Likewise.
24314 (y1_test): Likewise.
24315 (yn_test): Likewise.
24316
dd62fda6
AB
243172012-03-27 Anton Blanchard <anton@samba.org>
24318
24319 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24320 MAP_HUGETLB.
24321 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24322 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24323 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24324
1e3cdfda
AJ
243252012-03-27 David S. Miller <davem@davemloft.net>
24326
b855ab85
DM
24327 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24328
1e3cdfda
AJ
24329 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24330 have-as-vis3 check.
24331
243322012-03-27 Andreas Jaeger <aj@suse.de>
24333
24334 * sysdeps/x86_64/elf/configure.in: Moved to ...
24335 * sysdeps/x86_64/configure.in: ... here.
24336 * sysdeps/x86_64/elf/start.S: Moved to ...
24337 * sysdeps/x86_64/start.S: ... here.
24338 * sysdeps/x86_64/elf/configure: Delete.
24339
24340 * sysdeps/x86_64/configure.in: Merge contents from
24341 sysdeps/i386/configure.in (without i686 check).
24342
24343 * sysdeps/i386/elf/Versions: Merge into ...
24344 * sysdeps/i386/Versions: ... this.
24345 * sysdeps/i386/elf/Versions: Delete file.
24346 * sysdeps/i386/elf/start.S: Moved to ...
24347 * sysdeps/i386/start.S: ...here.
24348 * sysdeps/i386/elf/configure.in: Merge into...
24349 * sysdeps/i386/configure.in: ...here.
24350 * sysdeps/i386/elf/configure.in: Delete file.
24351 * sysdeps/i386/elf/configure: Delete file.
24352
24353 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24354 * debug/backtracesyms.c: ... here.
24355 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24356 * debug/backtracesymsfd.c: ... here.
24357 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24358 * sysdeps/generic/ifunc-sel.h: ... here.
24359
24360 * sysdeps/unix/i386/start.c: Delete file.
24361 * sysdeps/unix/sparc/start.c: Delete file.
24362 * sysdeps/unix/start.c: Delete file.
24363
24364 * sysdeps/sh/elf/configure.in: Moved to ...
24365 * sysdeps/sh/configure.in: ... here.
24366 * sysdeps/sh/elf/start.S: Moved to ...
24367 * sysdeps/sh/start.S: ... here.
24368 * sysdeps/sh/elf/configure: Delete file.
24369
24370 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24371 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24372 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24373 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24374 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24375 * sysdeps/powerpc/powerpc64/start.S: here.
24376 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24377 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24378 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24379 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24380 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24381
24382 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24383 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24384 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24385 * sysdeps/powerpc/powerpc32/start.S: ... here.
24386 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24387 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24388 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24389
24390 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24391 * sysdeps/powerpc/ifunc-sel.h: ... here.
24392 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24393 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24394
24395 * sysdeps/sparc/elf/configure.in: Moved to ...
24396 * sysdeps/sparc/configure.in: ... here.
24397 * sysdeps/sparc/elf/configure: Delete file.
24398 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24399 * sysdeps/sparc/sparc32/start.S: ... here.
24400 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24401 * sysdeps/sparc/sparc64/start.S: ... here.
24402 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24403 * sysdeps/sparc/sparc32/Makefile: ... this.
24404 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24405 * sysdeps/sparc/sparc64/Makefile: ... this.
24406
24407 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24408 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24409 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24410 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24411 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24412 * sysdeps/s390/s390-32/setjmp.S: ... here.
24413 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24414 * sysdeps/s390/s390-32/configure.in: ... here.
24415 * sysdeps/s390/s390-32/elf/configure: Delete file.
24416 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24417 * sysdeps/s390/s390-32/start.S: ... here.
24418
24419 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24420 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24421 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24422 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24423 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24424 * sysdeps/s390/s390-64/setjmp.S: ... here.
24425 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24426 * sysdeps/s390/s390-64/configure.in: ... here
24427 * sysdeps/s390/s390-64/elf/configure: Delete file.
24428 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24429 * sysdeps/s390/s390-64/start.S: ... here.
24430 * sysdeps/s390/s390-64/elf/configure: Delete.
24431
24432 * configure.in: Remove support for elf directories in sysdeps.
24433
24434 * configure: Regenerated.
24435 * sysdeps/i386/configure: Regenerated.
24436 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24437 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24438 * sysdeps/s390/s390-32/configure: Regenerated.
24439 * sysdeps/s390/s390-64/configure: Regenerated.
24440 * sysdeps/sh/configure: Regenerated.
24441 * sysdeps/sparc/configure: Regenerated.
24442 * sysdeps/x86_64/configure: Regenerated.
24443
a3f61311
AS
244442012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24445
c876e002
AS
24446 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24447
a3f61311
AS
24448 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24449 denormal result into account.
24450
ac4c54f0
RM
244512012-03-25 Roland McGrath <roland@hack.frob.com>
24452
24453 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24454 Reported by Allan McRae <allan@archlinux.org>.
24455
6a9b9c02
JL
244562012-03-23 Jeff Law <law@redhat.com>
24457
24458 * nss/getnssent.c (__nss_getent): Fix typo.
24459
4c42a0c1
DM
244602012-03-23 David S. Miller <davem@davemloft.net>
24461
24462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24463
1532c7ac
L
244642012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24465
24466 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24467 to pad to uint64_t for each field.
24468 (dl_tls_index): Replace unsigned long with uint64_t.
24469
3ff42526
PP
244702012-03-23 Daniel Jacobowitz <dmj@google.com>
24471 Paul Pluzhnikov <ppluzhnikov@google.com>
24472
24473 [BZ #6528]
24474 * grp/Makefile (otherlibs): Don't set it.
24475 * inet/Makefile (otherlibs): Likewise.
24476 * login/Makefile (otherlibs): Likewise.
24477 * nscd/Makefile (otherlibs): Likewise.
24478 * posix/Makefile (otherlibs): Likewise.
24479 * pwd/Makefile (otherlibs): Likewise.
24480 * rt/Makefile (otherlibs): Likewise.
24481 * sunrpc/Makefile (otherlibs): Likewise.
24482 * nss/Makefile (otherlibs): Likewise.
24483 Add libnss_files to routines and static-only-routines.
24484 ($(objpfx)getent): Remove rule.
24485 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24486 static-only-routines.
24487
7c69cd14
JM
244882012-03-22 Joseph Myers <joseph@codesourcery.com>
24489
24490 [BZ #13892]
24491 * math/s_cexp.c: Include <float.h>.
24492 (__cexp): Handle exp result overflowing not necessarily
24493 overflowing both real and imaginary parts of result.
24494 * math/s_cexpf.c: Likewise.
24495 * math/s_cexpl.c: Likewise.
24496 * math/libm-test.inc (cexp_test): Add more tests.
24497 * sysdeps/i386/fpu/libm-test-ulps: Update.
24498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24499
81b035fe
L
245002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24501
24502 * include/link.h (ELFW): New macro.
24503 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24504 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24505
1da7940c
L
245062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24507
24508 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24509 with uint64_t.
24510
b749dbb9
L
245112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24512
24513 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24514 declaration.
24515 (struct La_x32_retval): Likewise.
24516
2ff87f3f
L
245172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24518
24519 * sysdeps/x86_64/preconfigure.in: New file.
24520 * sysdeps/x86_64/preconfigure: New generated file.
24521
c0df8e69
JM
245222012-03-22 Joseph Myers <joseph@codesourcery.com>
24523
48e44791
JM
24524 [BZ #13824]
24525 * math/e_exp2l.c: Include <float.h>.
24526 (__ieee754_exp2l): Handle overflow and underflow cases
24527 separately. Only pass fractional part of argument to
24528 __ieee754_expl.
24529 * math/libm-test.inc (exp2_test): Add more tests.
24530
c0df8e69
JM
24531 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24532 negating x to take absolute value.
24533 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24534 Likewise.
24535 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24536 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24537 Likewise.
24538 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24539 computing low part if x was negated.
24540 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24541
c8e43ba7
L
245422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24543
24544 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24545 la_x32_gnu_pltexit.
24546 (pltexit): Cast int_retval to ptrdiff_t.
24547 * elf/tst-auditmod3b.c: Likewise.
24548 * elf/tst-auditmod4b.c: Likewise.
24549 * elf/tst-auditmod5b.c: Likewise.
24550 * elf/tst-auditmod6b.c: Likewise.
24551 * elf/tst-auditmod6c.c: Likewise.
24552 * elf/tst-auditmod7b.c: Likewise.
24553
24554 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24555 and x32_gnu_pltexit.
24556
24557 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24558 __ELF_NATIVE_CLASS.
24559 (La_x32_regs): New macro.
24560 (La_x32_retval): Likewise.
24561 (la_x32_gnu_pltenter): New function prototype.
24562 (la_x32_gnu_pltexit): Likewise.
24563
7998fa78
AS
245642012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24565
dcb33988
AS
24566 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24567 exponent.
24568
233fc563
AS
24569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24570
7998fa78
AS
24571 * configure.in (libc_cv_cc_nofma): Check for option to disable
24572 generation of FMA instructions.
24573 * configure: Regenerate.
24574 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24575 * sysdeps/ieee754/dbl-64/Makefile: New file.
24576 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24577 Remove brandred-fma4.
24578 (CFLAGS-brandred-fma4.c): Remove.
24579 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24580 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24581 define.
24582 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24583 define.
24584
8e95c99a
L
245852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24586
24587 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24588 LLONG_MAX != LONG_MAX.
24589 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24590 (_fitoa_word): Likewise.
24591 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24592 LLONG_MAX != LONG_MAX.
24593 * stdio-common/_itowa.h: Include <_itoa.h>.
24594 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24595 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24596 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24597 only if not defined.
24598 (_ITOA_WORD_TYPE): Likewise.
24599 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24600 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24601
6f4db457
DM
246022012-03-21 David S. Miller <davem@davemloft.net>
24603
24604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24605
7785fe5a
L
246062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24607
24608 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24609 of x86_64 when setting libc_cv_slibdir, libdir and
24610 libc_cv_localedir.
24611 * sysdeps/unix/sysv/linux/configure: Regenerated.
24612
4535cd55
JM
246132012-03-21 Joseph Myers <joseph@codesourcery.com>
24614
24615 * manual/lang.texi (Old Varargs): Remove section.
24616 (How Variadic): Update menu.
24617 (va_start): Do not mention varargs.h.
24618
17228132
TS
246192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24620 Joseph Myers <joseph@codesourcery.com>
24621
24622 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24623 link test.
24624 * configure: Regenerated.
24625
8149f976
TS
246262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24627
05f3d1f6
UD
24628 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24629 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24630 conformtest.pl
8149f976 24631
1a4ac776
JM
246322012-03-21 Joseph Myers <joseph@codesourcery.com>
24633
be22ce65
JM
24634 * NOTES: Remove.
24635 * Makefile (files-for-dist): Remove NOTES.
24636 (NOTES): Remove rule.
24637 * README: Don't refer to NOTES.
24638 * manual/creature.texi: Don't include macros.texi.
24639 * manual/intro.texi (creature.texi): Remove comment referring to
24640 NOTES.
24641
40b601fb
JM
24642 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24643 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24644 * configure: Regenerated.
24645 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24646 LIBC_TRY_CC_OPTION.
24647 (libc_cv_as_i686): Likewise.
24648 (libc_cv_cc_avx): Likewise.
24649 (libc_cv_cc_sse2avx): Likewise.
24650 (libc_cv_cc_fma4): Likewise.
24651 (libc_cv_cc_novzeroupper): Likewise.
24652 * sysdeps/i386/configure: Regenerated.
24653
1a4ac776
JM
24654 [BZ #13883]
24655 * sysdeps/i386/fpu/s_cexp.S: Remove.
24656 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24657 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24658 * math/libm-test.inc (cexp_test): Add more tests.
24659 * sysdeps/i386/fpu/libm-test-ulps: Update.
24660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24661
a458e7fe
AM
246622012-03-21 Allan McRae <allan@archlinux.org>
24663
24664 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24665
0cb7efc5
JM
246662012-03-21 Joseph Myers <joseph@codesourcery.com>
24667
24668 [BZ #13871]
24669 * math/w_exp2.c: Do not include <float.h>.
24670 (o_threshold, u_threshold): Remove.
24671 (__exp2): Calculate result before checking finiteness and calling
24672 __kernel_standard.
24673 * math/w_exp2f.c: Likewise.
24674 * math/w_exp2l.c: Likewise.
24675 * math/libm-test.inc (exp2_test): Require overflow exception for
24676 1e6 input.
2460d3aa
JM
24677
24678 [BZ #3866]
24679 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24680 range of signed 64-bit integers before using fistpll. Remove
24681 checks for whether integers fit in mantissa bits.
24682 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24683 the range of signed 32-bit integers before using fistpl. Remove
24684 checks for whether integers fit in mantissa bits.
24685 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24686 (__ieee754_powl): Test for y outside the range of signed 64-bit
24687 integers before using fistpll. Reduce 64-bit values to 63-bit
24688 ones as needed.
24689 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24690 divide-by-zero is raised for zero to large negative powers.
24691 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24692 (__ieee754_powl): Test for y outside the range of signed 64-bit
24693 integers before using fistpll. Reduce 64-bit values to 63-bit
24694 ones as needed.
24695 * math/libm-test.inc (pow_test): Add more tests.
24696
eb96ffb0
L
246972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24698
24699 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24700 <stdio-common/_itoa.h>.
24701 * debug/segfault.c: Likewise.
24702 * elf/dl-cache.c: Likewise.
24703 * elf/dl-minimal.c: Likewise.
24704 * elf/dl-misc.c: Likewise.
24705 * elf/dl-sysdep.c: Likewise.
24706 * elf/dl-version.c: Likewise.
24707 * elf/rtld.c: Likewise.
24708 * hurd/hurdsock.c: Likewise.
24709 * hurd/lookup-retry.c: Likewise.
24710 * malloc/malloc.c: Likewise.
24711 * malloc/mtrace.c: Likewise.
24712 * nscd/nscd_getgr_r.c: Likewise.
24713 * nscd/nscd_getpw_r.c: Likewise.
24714 * nscd/nscd_getserv_r.c: Likewise.
24715 * posix/getopt_init.c: Likewise.
24716 * posix/wordexp.c: Likewise.
24717 * stdio-common/_itoa.c: Likewise.
24718 * stdio-common/printf_fphex.c: Likewise.
24719 * stdio-common/vfprintf.c: Likewise.
24720 * string/_strerror.c: Likewise.
24721 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24722 * sysdeps/i386/i686/hp-timing.h: Likewise.
24723 * sysdeps/mach/_strerror.c: Likewise.
24724 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24725 * sysdeps/mach/hurd/sethostid.c: Likewise.
24726 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24727 * sysdeps/mach/xpg-strerror.c: Likewise.
24728 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24729 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24730 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24731 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24732 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24733 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24734 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24735 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24736 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24737 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24738 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24739 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24740 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24741 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24742 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24743 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24744 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24745 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24746 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24747 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24748 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24749
24750 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24751
24752 * stdio-common/_itoa.h: Moved to ...
24753 * sysdeps/generic/_itoa.h: Here.
24754
24755 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24756
24757 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24758 instead of "_itoa.h" and "_itowa.h".
24759 * stdio-common/vfprintf.: Likewise.
24760
d1af992d
L
247612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24762
24763 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24764 <bits/wordsize.h>.
24765 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24766 (__signbit): Likwise.
24767 (llrintf): Likwise.
24768 (llrint): Likwise.
24769
114883e0
L
247702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24771
24772 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24773 __WORDSIZE != 64.
24774
c135cc1b
JM
247752012-03-20 Joseph Myers <joseph@codesourcery.com>
24776
24777 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24778 OVERFLOW_EXCEPTION_OK.
24779 * math/libm-test.inc ("Philosophy"): Update comment about
24780 exception testing.
24781 (OVERFLOW_EXCEPTION): Define.
24782 (OVERFLOW_EXCEPTION_OK): Likewise.
24783 (INVALID_EXCEPTION_OK): Renumber.
24784 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24785 (IGNORE_ZERO_INF_SIGN): Likewise.
24786 (test_exceptions): Handle FE_OVERFLOW.
24787 (exp10_test): Expect overflow exceptions.
24788 (exp2_test): Likewise.
24789 (expm1_test): Likewise.
24790 (nextafter_test): Likewise.
24791 (pow_test): Likewise.
24792 (scalbn_test): Likewise.
24793 (scalbln_test): Likewise.
24794
95443d88
L
247952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24796
24797 * sysdeps/x86_64/bits/atomic.h
24798 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24799 64bit integer.
24800 (atomic_exchange_acq): Likewise.
24801 (__arch_exchange_and_add_body): Likewise.
24802 (__arch_add_body): Likewise.
24803 (atomic_add_negative): Likewise.
24804 (atomic_add_zero): Likewise.
24805
490df6c4
L
248062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24807
c2722551 24808 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24809 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24810
5e52b189
L
248112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24812
24813 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24814 Check __x86_64__ instead of __WORDSIZE.
24815
a9879d4c
L
248162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24817
24818 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24819
5df98260
DM
248202012-03-19 David S. Miller <davem@davemloft.net>
24821
e1497744
DM
24822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24823
5df98260
DM
24824 * sysdeps/sparc/fpu/fenv_private.h: New file.
24825 * sysdeps/sparc/fpu/math_private.h: Use it.
24826 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24827 Remove.
24828 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24829 (libc_feholdexcept_setroundl): Remove.
24830 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24831 Remove.
24832 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24833 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24834
b4c35121
L
248352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24836
24837 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24838 int64_t instead of long int.
24839 (INSERT_WORDS64): Likwise.
24840
56965fd7
L
248412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24842
24843 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24844 _Unwind_GetCFA return to _Unwind_Ptr first.
24845
83d1aec8
JM
248462012-03-19 Joseph Myers <joseph@codesourcery.com>
24847
1897ad44
JM
24848 [BZ #13629]
24849 * math/s_clog.c: Include <float.h>.
24850 (__clog): Scale large or subnormal inputs.
24851 * math/s_clogf.c: Likewise.
24852 * math/s_clogl.c: Likewise.
24853 * math/s_clog10.c: Include <float.h>.
24854 (M_LOG10_2): Define.
24855 (__clog10): Scale large or subnormal inputs.
24856 * math/s_clog10f.c: Likewise.
24857 * math/s_clog10l.c: Likewise.
24858 * math/libm-test.inc (clog_test): Add more tests.
24859 (clog10_test): Likewise.
24860 * sysdeps/i386/fpu/libm-test-ulps: Update.
24861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24862
7726d6a9
JM
24863 [BZ #11451]
24864 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24865 x and y.
24866 * math/libm-test.inc (atan2_test): Add another test.
24867
83d1aec8
JM
24868 * Makerules (common-objdir-compile): Remove.
24869 * sysdeps/unix/Makefile (config-generated): Do not add
24870 $(unix-generated) to variable.
24871 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24872 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24873 Remove rule.
24874 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24875 Likewise.
24876 [generic bits/local_lim.h] (before-compile): Do not append to
24877 variable.
24878 [generic bits/local_lim.h] (common-generated): Likewise.
24879 [generic sys/param.h] (before-compile): Do not append to variable.
24880 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24881 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24882 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24883 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24884 include.
24885 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24886 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24887 [generic sys/param.h] ($(addprefix
24888 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24889 [generic sys/param.h] (common-generated): Do not append to
24890 variable.
24891 [generic sys/param.h] (sysdep_headers): Likewise.
24892 [generic bits/errno.h] (before-compile): Do not append to
24893 variable.
24894 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24895 rule.
24896 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24897 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24898 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24899 [generic bits/errno.h] (common-generated): Do not append to
24900 variable.
24901 [generic bits/ioctls.h] (before-compile): Do not append to
24902 variable.
24903 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24904 rule.
24905 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24906 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24907 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24908 rule.
24909 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24910 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24911 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24912 [generic bits/ioctls.h] (common-generated): Do not append to
24913 variable.
24914 [generic sys/syscall.h] (syscall.h): Remove variable.
24915 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24916 rule.
24917 [generic sys/syscall.h] (before-compile): Do not append to
24918 variable.
24919 [generic sys/syscall.h] (common-generated): Likewise.
24920 * sysdeps/unix/errnos-tmpl.c: Remove file.
24921 * sysdeps/unix/errnos.awk: Likewise.
24922 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24923 * sysdeps/unix/ioctls.awk: Likewise.
24924 * sysdeps/unix/mk-local_lim.c: Likewise.
24925 * sysdeps/unix/snarf-ioctls: Likewise.
24926
4851a949
RH
249272012-03-19 Richard Henderson <rth@twiddle.net>
24928
bd37f2ee
RH
24929 * sysdeps/i386/fpu/fenv_private.h: New file.
24930 * sysdeps/i386/fpu/math_private.h: Use it.
24931 (math_opt_barrier, math_force_eval): Remove.
24932 (libc_feholdexcept_setround_53bit): Remove.
24933 (libc_feupdateenv_53bit): Remove.
24934 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24935 (math_opt_barrier, math_force_eval): Remove.
24936 (libc_feholdexcept): Remove.
24937 (libc_feholdexcept_setround): Remove.
24938 (libc_fetestexcept, libc_fesetenv): Remove.
24939 (libc_feupdateenv_test): Remove.
24940 (libc_feupdateenv, libc_feholdsetround): Remove.
24941 (libc_feresetround): Remove.
24942
d0adc922
RH
24943 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24944 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24945
0fe0f1f8
RH
24946 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24947 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24948 (libc_feupdateenv_testl): New.
24949 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24950 (libc_feupdateenv_testf): New.
24951 (libc_feupdateenv): Use libc_feupdateenv_test.
24952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24953 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24954
eb92c487
RH
24955 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24956 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24957 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24958 (libc_feresetround_noex): New.
24959 (libc_feresetround_noexf): New.
24960 (libc_feresetround_noexl): New.
24961 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24962 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24963 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24964 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24965 SET_RESTORE_ROUND.
24966 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24967 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24968 (__cos): Likewise.
24969 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24970 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24971 SET_RESTORE_ROUND_NOEX.
24972 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24973 SET_RESTORE_ROUND_NOEXF.
24974 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24975 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24976 (libc_feholdsetroundf): New.
24977 (libc_feresetround, libc_feresetroundf): New.
24978
7d2e8012
RH
24979 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24980 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24981 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24982
b4dabbb4
RH
24983 * sysdeps/generic/math_private.h: Include <fenv.h>.
24984 (default_libc_feholdexcept): New.
24985 (default_libc_feholdexcept_setround): New.
24986 (default_libc_fesetenv, default_libc_feupdateenv): New.
24987 (libc_feholdexcept): Only define if undefined.
24988 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24989 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24990 (libc_feholdexcept_setroundl): Likewise.
24991 (libc_feholdexcept_setround_53bit): Likewise.
24992 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24993 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24994 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24995 (libc_feupdateenv_53bit): Likewise.
24996 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24997 (libc_feholdexcept): Convert from macro to inline function.
24998 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24999 (libc_fesetenv, libc_feupdateenv): Likewise.
25000
4851a949
RH
25001 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25002 not previously defined.
25003 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25004 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25005 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25006 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25007 * sysdeps/ieee754/flt-32/math_private.h: New file.
25008 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25009 math_private.h below SET_FLOAT_WORD.
25010 (__isnan, __isinf_ns, __finite): Remove.
25011 (__isnanf, __isinf_nsf, __finitef): Remove.
25012
e79d442e
AS
250132012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25014
25015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25016
90b80344
DM
250172012-03-17 David S. Miller <davem@davemloft.net>
25018
25019 [BZ #6471]
25020 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25021 for 2.16.
25022
edc21804
DM
250232012-03-16 David S. Miller <davem@davemloft.net>
25024
77e927af
DM
25025 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25026 warnings.
25027
374976dd
DM
25028 [BZ #6471]
25029 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25030 properly.
25031 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25032 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25033 sysdep_routines when subdir is sysvipc.
25034 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25035 __getshmlba helper.
25036
edc21804
DM
25037 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25038
473c3ef3
L
250392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25040
25041 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25042 [__LP64__].
25043
eb0f39b6
L
250442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25045
25046 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25047 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25048 (__lround): Renamed to ...
25049 (__llround): This. Replace long int with long long int.
25050 Define lround functions as aliases of llround functions.
25051 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25052
6b6cd74b
L
250532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25054
25055 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25056 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25057 adresses to uintptr_t. Replace "long int" and "unsigned long
25058 int" with "greg_t" on va_arg.
25059
f1a77b01
L
250602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25061
25062 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25063 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25064
25065 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25066 Move e_machine check before EI_CLASS check. Handle x32
25067 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25068 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25069 SKIP_EM_IA_64 and include
25070 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25071
25072 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25073 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25074 (add_system_dir): New macro.
25075
25076 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25077 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25078
11b90b9f
JM
250792012-03-16 Joseph Myers <joseph@codesourcery.com>
25080
c36e1d23
JM
25081 [BZ #2551]
25082 [BZ #2552]
25083 [BZ #2553]
25084 [BZ #2554]
25085 [BZ #2562]
25086 [BZ #2563]
25087 [BZ #2565]
25088 [BZ #2566]
25089 [BZ #2576]
25090 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25091 (y0): Likewise.
25092 * math/w_j0f.c (j0f): Likewise.
25093 (y0f): Likewise.
25094 * math/w_j0l.c (__j0l): Likewise.
25095 (__y0l): Likewise.
25096 * math/w_j1.c (j1): Likewise.
25097 (y1): Likewise.
25098 * math/w_j1f.c (j1f): Likewise.
25099 (y1f): Likewise.
25100 * math/w_j1l.c (__j1l): Likewise.
25101 (__y1l): Likewise.
25102 * math/w_jn.c (jn): Likewise.
25103 (yn): Likewise.
25104 * math/w_jnf.c (jnf): Likewise.
25105 (ynf): Likewise.
25106 * math/w_jnl.c (__jnl): Likewise.
25107 (__ynl): Likewise.
25108 * math/libm-test.inc (j0_test): Add more tests.
25109 (j1_test): Likewise.
25110 (jn_test): Likewise. Add trailing semicolon to existing test.
25111 (y0_test): Likewise.
25112 (y1_test): Likewise.
25113 * sysdeps/i386/fpu/libm-test-ulps: Update.
25114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25115
11b90b9f
JM
25116 [BZ #13851]
25117 [BZ #13854]
25118 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25119 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25120 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25121 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25122 (__tanl): Set errno for infinite argument.
25123 * sysdeps/i386/fpu/mptan.c: Remove.
25124 * sysdeps/i386/fpu/s_tan.S: Likewise.
25125 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25126 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25127 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25128 * math/libm-test.inc (tan_test): Add more tests and enable more
25129 tests for double and long double.
25130 * sysdeps/i386/fpu/libm-test-ulps: Update.
25131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25132
6a1bd2a1
JK
251332012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25134
25135 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25136 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25137
10a803e0
RM
251382012-03-16 Roland McGrath <roland@hack.frob.com>
25139
25140 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25141 * configure.in: Use it for both main tree and add-ons.
25142 * configure: Regenerated.
25143
f196c7f7
L
251442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25145
25146 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25147
8848d99d
JM
251482012-03-16 Joseph Myers <joseph@codesourcery.com>
25149
96cbe7f4
JM
25150 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25151 in comment.
25152
8848d99d
JM
25153 [BZ #13851]
25154 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25155 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25156 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25157 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25158 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25159 infinite argument.
25160 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25161 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25162 != 0 for prec == 2.
25163 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25164 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25165 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25166 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25167 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25168 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25169 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25170 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25171 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25172 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25173 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25174 * math/libm-test.inc (cos_test): Add more tests and enable more
25175 tests for long double.
25176 (sin_test): Likewise.
25177 (sincos_test): Likewise.
25178 * sysdeps/i386/fpu/libm-test-ulps: Update.
25179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25180
dd7f4703
DM
251812012-03-16 David S. Miller <davem@davemloft.net>
25182
25183 * sysdeps/sparc/fpu/math_private.h: New file.
25184
006f1daa
DM
251852012-03-15 David S. Miller <davem@davemloft.net>
25186
c0c83bc8
DM
25187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25188 file.
e6a62e18 25189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25191 file.
e6a62e18
DM
25192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25197 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25198 sysdep routines.
25199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25200
88cb87d9
DM
25201 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25202 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25203
006f1daa 25204 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25206 sparc-ifunc.h
006f1daa 25207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25209 Likewise.
25210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25211 Likewise.
006f1daa
DM
25212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25216 Likewise.
006f1daa
DM
25217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25222 Likewise.
25223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25224 Likewise.
006f1daa
DM
25225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25243 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25245 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25246 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25247 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25248 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25249
11e0098e
AS
252502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25251
25252 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25253 scaling.
25254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25255
e85b09d0
AJ
252562012-03-15 Andreas Jaeger <aj@suse.de>
25257
25258 [BZ #13852]
25259 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25260 ieee754/flt-32 implementation for sin, cos and sincos.
25261 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25262 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25263 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25264 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25265 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25266 ieee754/flt-32 implementation for tan.
25267
25268 * math/libm-test.inc (cos_test): Enable some large input tests for
25269 float as well
25270 (sin_test): Likewise.
25271 (sincos_test): Likewise.
25272 (tan_test): Add tests for large input.
25273
25274 * sysdeps/i386/fpu/libm-test-ulps: Update.
25275
81c64153
AJ
252762012-03-15 Andreas Jaeger <aj@suse.de>
25277
25278 [BZ #13658]
25279 * math/libm-test.inc (cos_test): Add more test cases.
25280 (sin_test): Likewise.
25281 (sincos_test): Likewise.
25282
7bbfa5c6
AJ
252832012-03-15 Andreas Jaeger <aj@suse.de>
25284
25285 [BZ #13837]
25286 * math/libm-test.inc (cos_test): Add a test case for large input
25287 value.
25288 (sin_test): Likewise.
25289 (sincos_test): Likewise.
25290
252912012-03-15 Andreas Jaeger <aj@suse.de>,
25292 Joseph Myers <joseph@codesourcery.com>
25293
25294 [BZ #13658]
0671f479 25295 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25296 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25297 * sysdeps/i386/fpu/branred.c: Likewise.
25298 * sysdeps/i386/fpu/dosincos.c: Likewise.
25299 * sysdeps/i386/fpu/mpa.c: Likewise.
25300 * sysdeps/i386/fpu/s_cos.S: Likewise.
25301 * sysdeps/i386/fpu/s_sin.S: Likewise.
25302 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25303 * sysdeps/i386/fpu/sincos32.c: Likewise.
25304
25305 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25306 Define.
25307 (libc_feupdateenv_53bit): Define.
25308 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25309 Define.
25310 (libc_feupdateenv_53bit): Define.
25311
25312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25313 53 bit (without extend i386 double precision).
25314
25315 * math/libm-test.inc (sincos_test): Add tests for large input.
25316 (sin): Likewise.
25317 (cos): Likewise.
25318
25319 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25320
9cad04ea
AS
253212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25322
25323 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25324
f7062b9a
DM
253252012-03-15 David S. Miller <davem@davemloft.net>
25326
25327 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25328 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25329 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25330 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25335 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25336 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25337 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25343 file.
f7062b9a 25344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25346 file.
f7062b9a 25347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25349 file.
f7062b9a 25350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25352 file.
f7062b9a
DM
25353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25355 fmin/fmax sysdep routines.
25356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25357
7bd951ff
DM
253582012-03-14 David S. Miller <davem@davemloft.net>
25359
559398ab
DM
25360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25364 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25365 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25366 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25379 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25381 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25382 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25383 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25384 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25385 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25386 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25387 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25389 routines.
25390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25391 file.
559398ab 25392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25394 file.
559398ab 25395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25397 file.
559398ab 25398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25400 file.
559398ab 25401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25403 file.
559398ab 25404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25406 file.
25407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25408 file.
25409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25410 file.
25411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25412 file.
25413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25414 New file.
25415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25416 file.
25417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25418 file.
559398ab 25419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25421 file.
559398ab 25422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25424 file.
559398ab 25425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25427 file.
559398ab 25428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25430 VIS3 routines.
559398ab
DM
25431
25432 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25433 New file.
25434
5a1c1e32
DM
25435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25436
eae47a36
DM
25437 * sysdeps/sparc/configure.in: New file.
25438 * sysdeps/sparc/configure: Generate.
25439 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25440 * configure: Regenerate.
25441 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25442 * config.make.in (have-as-vis3): New.
25443 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25444 available use -Av9d instead of -Av9a.
25445 * sysdeps/sparc/sparc64/Makefile: Likewise.
25446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25448 New file.
25449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25450 file.
25451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25452 New file.
25453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25454 file.
eae47a36
DM
25455 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25456 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25457 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25458 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25459 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25460
c0c83bc8
DM
25461 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25462 fzeros/fnegs to load 0x80000000 into a float register instead of
25463 using the stack.
7bd951ff
DM
25464 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25465
bd951ccb
JM
254662012-03-14 Joseph Myers <joseph@codesourcery.com>
25467
25468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25469 bits/syscall.h.
25470 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25471 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25472 ($(inst_includedir)/bits/syscall.h): Remove rule.
25473 ($(objpfx)bits/syscall.d): Include instead of
25474 $(objpfx)syscall-list.d.
25475 (generated): Change syscall-list.h and syscall-list.d to
25476 bits/syscall.h and bits/syscall.d.
25477
bb4e6db2
RM
254782012-03-14 Roland McGrath <roland@hack.frob.com>
25479
25480 [BZ #13846]
25481 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25482
aa4a2ae1
JM
254832012-03-14 Joseph Myers <joseph@codesourcery.com>
25484
e456826d
JM
25485 [BZ #13841]
25486 * math/s_csqrt.c: Include <float.h>.
25487 (__csqrt): Scale large or subnormal inputs.
25488 * math/s_csqrtf.c: Likewise.
25489 * math/s_csqrtl.c: Likewise.
25490 * math/libm-test.inc (csqrt_test): Add more tests.
25491 * sysdeps/i386/fpu/libm-test-ulps: Update.
25492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25493
aa4a2ae1
JM
25494 [BZ #13840]
25495 * math/libm-test.inc (hypot_test): Add more tests.
25496
7c10fd35
DM
254972012-03-13 David S. Miller <davem@davemloft.net>
25498
25499 [BZ #13840]
25500 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25501 double-precision for the calculation instead of scaling.
25502
f453b98b
JM
255032012-03-13 Joseph Myers <joseph@codesourcery.com>
25504
25505 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25506 manipulate bits before adding and subtracting TWO52[sx].
25507 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25508 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25509 Likewise.
25510 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25511
09a3453f
DM
255122012-03-13 David S. Miller <davem@davemloft.net>
25513
8e59da90
DM
25514 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25515 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25516 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25517 rtld-global-offsets.h
25518 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25519
2a8ab7f2
DM
25520 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25521 large parameters.
25522
10f62770
DM
25523 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25524
5f0bdb18
DM
25525 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25526 'err' in the ifdef scope in which it is actually used.
25527
09a3453f
DM
25528 * nss/nss_db/db-init.c: Include string.h
25529
b4b2eb5e
DM
255302012-03-12 David S. Miller <davem@davemloft.net>
25531
98bb2f1c
DM
25532 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25533 masking out of the most significant byte of random value used.
25534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25535 Fix coding style in previous change.
25536
b4b2eb5e
DM
25537 * sysdeps/unix/sysv/linux/kernel-features.h
25538 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25539 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25540 expression.
25541 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25542 later.
25543
6e226b09
DM
255442012-03-11 David S. Miller <davem@davemloft.net>
25545
a1bcbd40
DM
25546 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25547 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25548 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25549 for 'resultvar' otherwise things get truncated on 64-bit.
25550
cb9d6174
DM
25551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25552 Fix masking out of the most significant byte of random value used.
25553
6e226b09
DM
25554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25555
058c132d
AS
255562012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25557
25558 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25559
2d2cd515
DM
255602012-03-09 David S. Miller <davem@davemloft.net>
25561
25562 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25563 variables with appropriate CPP guards.
25564 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25565 frame pointer, not the stack pointer. Correct layout comments. Fix test
25566 on resulting framesize and the management of the outregs buffer for pltexit.
25567 Preserve floating point return values across _dl_call_pltexit call.
25568 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25569 framesize and the management of the outregs buffer for pltexit.
25570 Preserve floating point return values across _dl_call_pltexit
25571 call.
25572 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25573 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25574 (print_exit): Fix format string for return register value.
25575
9a07f9d0
JM
255762012-03-10 Joseph Myers <joseph@codesourcery.com>
25577
25578 * sunrpc/Makefile (others): Add rpcgen.
25579 ($(objpfx)rpcgen): Remove special build rule and dependency on
25580 libc.
25581 * sunrpc/rpcgen.c: New file.
25582
547b5e30
PE
255832012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25584
c524201a
PE
25585 [BZ #13673]
25586 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25587 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25588 * sysdeps/i386/crti.S: Likewise.
25589 * sysdeps/i386/crtn.S: Likewise.
25590 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25591 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25592 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25593 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25594 * sysdeps/sh/crti.S: Likewise.
25595 * sysdeps/sh/crtn.S: Likewise.
25596 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25597
7b6235f2
PE
25598 [BZ #13673]
25599 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25600 with URL.
25601 * locale/programs/locfile-kw.gperf: Likewise.
25602 * locale/programs/charmap-kw.h: Regenerated.
25603 * locale/programs/locfile-kw.h: Likewise.
25604
547b5e30
PE
25605 [BZ #13673]
25606 * intl/plural.y: Replace FSF snail mail address with URL.
25607 * intl/plural.c: Regenerated.
25608
5f0a5dae
RH
256092012-03-09 Richard Henderson <rth@twiddle.net>
25610
25611 * include/math_private.h: Remove file.
25612 * math/math_private.h: Move file ...
25613 * sysdeps/generic/math_private.h: ... here.
25614
b8c03620
RH
25615 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25616 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25617 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25618
4e234f5d 25619 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25620 and <math_private.h>.
25621 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25622 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25623 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25624 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25625 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25626 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25627 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25628 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25629 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25630 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25632 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25633 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25634 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25635 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25636 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25637 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25638 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25639 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25640 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25642 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25643 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25644 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25645 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25646 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25647 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25648 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25651 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25652 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25653 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25654 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25655 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25656 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25657 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25658 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25659 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25660 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25661 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25662 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25663 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25664 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25665 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25666 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25667 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25668 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25669 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25670 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25671 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25672 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25673 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25674 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25675 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25676 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25677 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25678 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25679 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25680 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25681 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25682 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25683 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25684 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25685 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25686 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25687 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25688 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25689 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25690 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25691 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25692 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25693 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25694 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25695 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25698 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25699 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25700 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25701 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25702 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25703 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25704 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25705 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25706 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25707 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25708 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25709 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25710 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25711 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25712 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25713 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25714 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25715 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25716 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25717 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25718 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25719 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25720 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25721 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25722 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25723 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25724 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25725 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25726 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25727 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25728 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25729 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25730 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25731 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25732 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25733 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25734 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25735 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25736 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25737 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25738 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25739 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25740 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25741 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25742 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25743 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25744 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25745 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25746 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25747 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25748 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25749 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25750 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25751 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25752 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25753 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25754 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25755 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25756 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25757 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25758 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25759 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25760 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25761 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25762 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25763 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25764 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25765 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25766 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25767 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25768 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25769 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25770 * sysdeps/ieee754/k_standard.c: Likewise.
25771 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25772 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25773 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25774 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25775 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25776 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25777 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25778 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25779 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25780 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25781 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25782 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25783 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25784 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25785 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25786 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25787 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25788 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25789 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25790 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25791 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25792 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25793 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25794 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25795 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25796 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25797 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25798 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25799 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25800 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25801 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25802 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25803 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25804 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25805 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25806 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25807 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25808 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25809 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25810 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25811 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25812 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25813 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25814 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25815 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25818 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25819 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25820 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25821 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25822 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25823 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25824 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25825 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25826 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25827 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25828 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25829 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25830 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25831 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25832 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25833 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25834 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25835 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25836 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25837 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25838 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25839 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25841 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25842 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25843 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25844 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25845 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25846 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25847 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25848 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25849 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25850 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25851 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25852 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25853 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25854 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25855 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25856 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25857 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25858 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25859 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25861 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25862 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25863 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25864 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25865 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25866 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25867 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25868 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25869 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25870 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25872 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25873 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25874 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25875 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25876 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25877 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25878 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25879 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25880 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25881 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25882 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25883 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25884 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25885 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25886 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25887 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25888 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25889 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25890 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25891 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25892 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25893 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25894 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25895 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25896 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25897 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25898 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25899 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25900 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25901 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25902 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25903 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25905 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25906 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25907 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25908 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25909 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25910 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25911 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25912 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25913 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25914 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25915 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25916 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25917 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25918 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25919 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25920 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25921 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25922 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25923 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25924 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25925 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25926 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25927 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25928 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25929 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25930 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25931 * sysdeps/ieee754/s_lib_version.c: Likewise.
25932 * sysdeps/ieee754/s_matherr.c: Likewise.
25933 * sysdeps/ieee754/s_signgam.c: Likewise.
25934 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25935 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25936 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25937 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25938 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25939 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25940 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25941 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25942 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25943 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25944 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25945 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25946 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25947 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25948 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25949 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25950 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25951 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25952 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25953 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25954 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25955
1991fa03
JM
259562012-03-09 Joseph Myers <joseph@codesourcery.com>
25957
25958 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25959 * sunrpc/rpc_main.c: Likewise.
25960 * sunrpc/rpc_svcout.c: Likewise.
25961
60d6f5a6
DM
259622012-03-09 David S. Miller <davem@davemloft.net>
25963
25964 * include/math_private.h: New file.
25965
4962050e
JM
259662012-03-09 Joseph Myers <joseph@codesourcery.com>
25967
02a6f887
JM
25968 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25969 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25970 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25971 from <bits/socket_type.h>.
25972 (enum __socket_type): Don't define here.
25973 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25975 bits/socket_type.h.
25976
c6e013c1
JM
25977 [BZ #13566]
25978 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25979 checking __USE_GNU.
25980
4962050e
JM
25981 * Makerules ($(inst_includedir)/%.h): New rule.
25982 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25983 (install-others): Remove variable setting.
25984 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25985
38842f45
RH
259862012-03-08 Richard Henderson <rth@twiddle.net>
25987
67bb6da6
RH
25988 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25989 from macro to inline function; merge with the
25990 !__LIBC_INTERNAL_MATH_INLINES version.
25991 (__ieee754_sqrtf): Likewise.
25992
15194b4b
RH
25993 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25994 to inline function.
25995 (__rintf, __floor, __floorf): Likewise.
25996
64e21ede
RH
25997 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25998 macro to inline function.
25999 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26000
38842f45
RH
26001 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26002 not <math/math_private.h>.
26003
c64bf5fe
DM
260042012-03-08 David S. Miller <davem@davemloft.net>
26005
26006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26007 copyright year.
26008 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26009
82d86f28
TS
260102012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26011
26012 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26013 normalization.
26014 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26015 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26016
aea5d727
UD
260172012-03-08 Ulrich Drepper <drepper@gmail.com>
26018
26019 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26020 be defined individually, they must be defined as a block. Define
26021 S for printing a string instead of hidint the different by using a
26022 macro for adding the 'l'.
26023 * stdio-common/tst-fphex-wide.c: Adjust.
26024
70bca0a3
MP
260252012-03-07 Marek Polacek <polacek@redhat.com>
26026
26027 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26028
65b81130
MP
260292012-03-08 Marek Polacek <polacek@redhat.com>
26030
26031 [BZ #13806]
26032 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26033 * stdio-common/tst-fphex.c: Define a few macros to make the
26034 test reusable. Use them.
26035 * stdio-common/tst-fphex-wide.c: New file.
26036
07037eeb
JM
260372012-03-08 Joseph Myers <joseph@codesourcery.com>
26038
a7a93d50
JM
26039 [BZ #6911]
26040 * manual/macros.texi (gnusystems): New macro.
26041 (nongnusystems): Likewise.
26042 (gnulinuxhurdsystems): Likewise.
26043 (gnuhurdsystems): Likewise..
26044 (gnulinuxsystems): Likewise.
26045 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26046 variants of the GNU system, not "GNU system".
26047 * manual/conf.texi: Likewise.
26048 * manual/errno.texi: Likewise. Update example of errno macro
26049 expansion.
26050 * manual/filesys.texi: Likewise.
26051 (getumask): Document as specific to GNU/Hurd.
26052 * manual/install.texi: Likewise. Reword some references to
26053 GNU/Linux.
26054 * manual/intro.texi: Likewise.
26055 * manual/io.texi: Likewise.
26056 (File Name Portability): Detail which constraints are inapplicable
26057 to all GNU systems and which are only inapplicable to GNU/Hurd.
26058 * manual/job.texi: Likewise.
26059 * manual/llio.texi: Likewise.
26060 (O_NOCTTY): Document as present on GNU/Linux.
26061 * manual/maint.texi: Likewise.
26062 * manual/memory.texi: Likewise.
26063 * manual/pattern.texi: Likewise.
26064 * manual/pipe.texi: Likewise.
26065 * manual/process.texi: Likewise.
26066 * manual/resource.texi: Likewise.
26067 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26068 child on GNU/Hurd.
26069 * manual/setjmp.texi: Likewise.
26070 * manual/signal.texi: Likewise.
26071 * manual/startup.texi: Likewise.
26072 * manual/stdio.texi: Likewise.
26073 * manual/terminal.texi: Likewise.
26074 (ONLCR): Document as POSIX.
26075 (OXTABS): Document availability on GNU/Linux as XTABS.
26076 (ONOEOT): Document availability separately from other bits.
26077 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26078 * manual/time.texi: Likewise.
26079 * manual/users.texi: Likewise.
26080 * INSTALL: Regenerated.
26081 * sysdeps/gnu/errlist.c: Regenerated.
26082
07037eeb
JM
26083 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26084 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26085 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26086 puts.
26087 * configure: Regenerated.
26088
d1d3431a
JM
260892012-03-07 Joseph Myers <joseph@codesourcery.com>
26090
af6a1e37
JM
26091 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26092 default includes instead of AC_HEADER_CHECK.
26093 * sysdeps/i386/configure: Regenerated.
26094
d1d3431a
JM
26095 [BZ #10716]
26096 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26097 * math/s_cacoshf.c (__cacoshf): Likewise.
26098 * math/s_cacoshl.c (__cacoshl): Likewise.
26099 * math/s_casinh.c (__casinh): Set signs of result from argument.
26100 * math/s_casinhf.c (__casinhf): Likewise.
26101 * math/s_casinhl.c (__casinhl): Likewise.
26102 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26103 (casinh_test): Add more tests.
26104 * sysdeps/i386/fpu/libm-test-ulps: Update.
26105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26106
482ff4da
UD
261072012-03-07 Ulrich Drepper <drepper@gmail.com>
26108
872fda05
UD
26109 * po/zh_TW.po: Update from translation team.
26110
a4300c7a
UD
26111 * login/Makefile (distribute): Remove variable.
26112 * catgets/Makefile: Likewise.
26113 * mach/Makefile: Likewise.
26114 * malloc/Makefile: Likewise.
26115 * misc/Makefile: Likewise.
26116 * iconv/Makefile: Likewise.
26117 * nscd/Makefile: Likewise.
26118 * hurd/Makefile: Likewise.
26119 * manual/Makefile: Likewise.
26120 * locale/Makefile: Likewise.
26121 * intl/Makefile: Likewise.
26122 * conform/Makefile: Likewise.
26123 * nss/Makefile: Likewise.
26124 * time/Makefile: Likewise.
26125 * soft-fp/Makefile: Likewise.
26126 * dirent/Makefile: Likewise.
26127 * gmon/Makefile: Likewise.
26128 * po/Makefile: Likewise.
26129 * rt/Makefile: Likewise.
26130 * socket/Makefile: Likewise.
26131 * math/Makefile: Likewise.
26132 * signal/Makefile: Likewise.
26133 * debug/Makefile: Likewise.
26134 * elf/Makefile: Likewise.
26135 * timezone/Makefile: Likewise.
26136 * stdlib/Makefile: Likewise.
26137 * iconvdata/Makefile: Likewise.
26138 * sunrpc/Makefile: Likewise.
26139 * io/Makefile: Likewise.
26140 * argp/Makefile: Likewise.
26141 * inet/Makefile: Likewise.
26142 * hesiod/Makefile: Likewise.
26143 * grp/Makefile: Likewise.
26144 * csu/Makefile: Likewise.
26145 * wctype/Makefile: Likewise.
26146 * crypt/Makefile: Likewise.
26147 * libio/Makefile: Likewise.
26148 * string/Makefile: Likewise.
26149 * nis/Makefile: Likewise.
26150 * resolv/Makefile: Likewise.
26151 * stdio-common/Makefile: Likewise.
26152 * wcsmbs/Makefile: Likewise.
26153 * dlfcn/Makefile: Likewise.
26154 * posix/Makefile: Likewise.
26155
3b7c4e74 26156 [BZ #6959]
482ff4da
UD
26157 * timezone/Makefile: Don't install timezone files, just the programs
26158 and scripts.
26159
f72ed77d
UD
261602012-03-06 Ulrich Drepper <drepper@gmail.com>
26161
a000466f
UD
26162 * nss/databases.def: Add missing gshadow entry.
26163
f72ed77d
UD
26164 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26165
a53b7a4e
MP
261662012-03-06 Marek Polacek <polacek@redhat.com>
26167
26168 [BZ #13726]
26169 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26170 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26171 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26172 * stdio-common/tst-long-dbl-fphex.c: New file.
26173
e9258400
DM
261742012-03-06 David S. Miller <davem@davemloft.net>
26175
26176 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26177 (set_obp_int): New function.
26178 (get_obp_int): New function.
26179 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26180 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26181 Avoid unused variable warnings on 'val' and use builtin_expect.
26182 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26183 __builtin_expect.
e9258400
DM
26184 (INLINE_CLONE_SYSCALL): Likewise.
26185
3bd2c723
DM
261862012-03-05 David S. Miller <davem@davemloft.net>
26187
26188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26189
bbb78d03
AS
261902012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26191
884c5db4
AS
26192 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26193
bbb78d03
AS
26194 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26195 only for |x| >= 40.
26196 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26197
1c9f702a 261982012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26199
26200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26201 Replace gettimeofday with __vdso_gettimeofday.
26202
7be16f82
RM
26203 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26204 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26205 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26206
26207 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26208 time with __vdso_time.
26209
ed58a00f
JM
262102012-03-05 Joseph Myers <joseph@codesourcery.com>
26211
26212 * manual/lang.texi (size_t): Note types to which size_t may be
26213 equivalent with the GNU C Library, but do not describe when
26214 differences between them are significant.
26215
30ee4ced
AJ
262162012-03-05 Andreas Jaeger <aj@suse.de>
26217
26218 * sysdeps/i386/fpu/libm-test-ulps: Update.
26219
b7cd39e8
JM
262202012-03-05 Joseph Myers <joseph@codesourcery.com>
26221
26222 [BZ #3976]
26223 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26224 (__ieee754_pow): Save and restore rounding mode and use
26225 round-to-nearest for main computations.
26226 * math/libm-test.inc (pow_test_tonearest): New function.
26227 (pow_test_towardzero): Likewise.
26228 (pow_test_downward): Likewise.
26229 (pow_test_upward): Likewise.
26230 (main): Call the new functions.
26231 * sysdeps/i386/fpu/libm-test-ulps: Update.
26232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26233
26234 [BZ #3976]
26235 * math/libm-test.inc (cosh_test_tonearest): New function.
26236 (cosh_test_towardzero): Likewise.
26237 (cosh_test_downward): Likewise.
26238 (cosh_test_upward): Likewise.
26239 (sinh_test_tonearest): Likewise.
26240 (sinh_test_towardzero): Likewise.
26241 (sinh_test_downward): Likewise.
26242 (sinh_test_upward): Likewise.
26243 (main): Call the new functions.
26244 * sysdeps/i386/fpu/libm-test-ulps: Update.
26245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26246
6c6a98c9
TV
262472012-03-05 Tom de Vries <tom@codesourcery.com>
26248
26249 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26250 default stack guard is set in last bytes.
26251 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26252
21bb2d2e 262532012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26254
21bb2d2e 26255 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26256
21bb2d2e
AJ
26257 [BZ #13656]
26258 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26259 possibly allocate from heap instead of stack.
26260 * stdio-common/bug-vfprintf-nargs.c: New file.
26261 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26262
c6922934
AS
262632012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26264
26265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26266
bc957d53
MP
262672012-03-03 Marek Polacek <polacek@redhat.com>
26268
26269 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26270 * math/math_private.h: Likewise.
26271 * stdlib/tst-strtod.c: Likewise.
26272 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26273 * sysdeps/x86_64/bits/atomic.h: Likewise.
26274
6358490d
DM
262752012-03-02 David S. Miller <davem@davemloft.net>
26276
26277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26281 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26282 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26283 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26284 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26285
01ae168d
RM
262862012-03-02 Roland McGrath <roland@hack.frob.com>
26287
d9a17c07
RM
26288 [BZ #13792]
26289 * manual/examples/README: New file, says the example source files
26290 can be used under GPL>=2.
26291 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26292 line containing just "*/".
26293 * manual/examples/add.c: Add copyright header (GPL>=2).
26294 * manual/examples/argp-ex1.c: Likewise.
26295 * manual/examples/argp-ex2.c: Likewise.
26296 * manual/examples/argp-ex3.c: Likewise.
26297 * manual/examples/argp-ex4.c: Likewise.
26298 * manual/examples/atexit.c: Likewise.
26299 * manual/examples/db.c: Likewise.
26300 * manual/examples/dir.c: Likewise.
26301 * manual/examples/dir2.c: Likewise.
26302 * manual/examples/execinfo.c: Likewise.
26303 * manual/examples/filecli.c: Likewise.
26304 * manual/examples/filesrv.c: Likewise.
26305 * manual/examples/fmtmsgexpl.c: Likewise.
26306 * manual/examples/genpass.c: Likewise.
26307 * manual/examples/inetcli.c: Likewise.
26308 * manual/examples/inetsrv.c: Likewise.
26309 * manual/examples/isockad.c: Likewise.
26310 * manual/examples/longopt.c: Likewise.
26311 * manual/examples/memopen.c: Likewise.
26312 * manual/examples/memstrm.c: Likewise.
26313 * manual/examples/mkfsock.c: Likewise.
26314 * manual/examples/mkisock.c: Likewise.
26315 * manual/examples/mygetpass.c: Likewise.
26316 * manual/examples/pipe.c: Likewise.
26317 * manual/examples/popen.c: Likewise.
26318 * manual/examples/rprintf.c: Likewise.
26319 * manual/examples/search.c: Likewise.
26320 * manual/examples/select.c: Likewise.
26321 * manual/examples/setjmp.c: Likewise.
26322 * manual/examples/sigh1.c: Likewise.
26323 * manual/examples/sigusr.c: Likewise.
26324 * manual/examples/stpcpy.c: Likewise.
26325 * manual/examples/strdupa.c: Likewise.
26326 * manual/examples/strftim.c: Likewise.
26327 * manual/examples/strncat.c: Likewise.
26328 * manual/examples/subopt.c: Likewise.
26329 * manual/examples/swapcontext.c: Likewise.
26330 * manual/examples/termios.c: Likewise.
26331 * manual/examples/testopt.c: Likewise.
26332 * manual/examples/testpass.c: Likewise.
26333 * manual/examples/timeval_subtract.c: Likewise.
26334
01ae168d
RM
26335 [BZ #13792]
26336 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26337 function to ...
26338 * manual/timeval_subtract.c.texi: ... here, new file.
26339
49efa33d
DM
263402012-03-02 David S. Miller <davem@davemloft.net>
26341
26342 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26343
28afd92d
JM
263442012-03-02 Joseph Myers <joseph@codesourcery.com>
26345
804360ed
JM
26346 [BZ #3976]
26347 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26348 (__sin): Save and restore rounding mode and use round-to-nearest
26349 for all computations.
26350 (__cos): Save and restore rounding mode and use round-to-nearest
26351 for all computations.
26352 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26353 <fenv.h>.
26354 (tan): Save and restore rounding mode and use round-to-nearest for
26355 all computations.
26356 * math/libm-test.inc (cos_test_tonearest): New function.
26357 (cos_test_towardzero): Likewise.
26358 (cos_test_downward): Likewise.
26359 (cos_test_upward): Likewise.
26360 (sin_test_tonearest): Likewise.
26361 (sin_test_towardzero): Likewise.
26362 (sin_test_downward): Likewise.
26363 (sin_test_upward): Likewise.
26364 (tan_test_tonearest): Likewise.
26365 (tan_test_towardzero): Likewise.
26366 (tan_test_downward): Likewise.
26367 (tan_test_upward): Likewise.
26368 (main): Call the new functions.
26369 * sysdeps/i386/fpu/libm-test-ulps: Update.
26370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26371
a6d06d7b
JM
26372 [BZ #10135]
26373 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26374 small n, then large n, before computing and testing k+n.
26375 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26377 Likewise.
26378 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26379 Likewise.
26380 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26381 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26382 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26383 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26384 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26385 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26386 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26387 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26388 * math/libm-test.inc (scalbn_test): Add more tests.
26389 (scalbln_test): Likewise.
26390
07e12bb3
JM
26391 * manual/filesys.texi (mode_t): Describe constraints on size and
26392 signedness, not exact equivalence to a particular type.
26393 (ino_t): Likewise.
26394 (ino64_t): Likewise.
26395 (dev_t): Likewise.
26396 (nlink_t): Likewise.
26397 (blkcnt_t): Likewise.
26398 (blkcnt64_t): Likewise.
26399 * manual/llio.texi (off_t): Likewise.
26400
28afd92d
JM
26401 [BZ #3976]
26402 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26403 (__ieee754_exp): Save and restore rounding mode and use
26404 round-to-nearest for all computations.
26405 * math/libm-test.inc (exp_test_tonearest): New function.
26406 (exp_test_towardzero): Likewise.
26407 (exp_test_downward): Likewise.
26408 (exp_test_upward): Likewise.
26409 (main): Call the new functions.
26410 * sysdeps/i386/fpu/libm-test-ulps: Update.
26411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26412
b1eeb65d
CD
264132012-03-01 Chris Demetriou <cgd@google.com>
26414
26415 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26416 have predictable order.
26417
53362a4b
DM
264182012-03-01 David S. Miller <davem@davemloft.net>
26419
3c969083
DM
26420 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26421
759707de
DM
26422 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26423 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26424 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26425 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26426
dfdb8ff2
DM
26427 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26428 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26429 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26431 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26432 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26433 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26434 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26435 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26436
ead89f96
DM
26437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26438
7f66bd07
DM
26439 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26440 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26441 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26442
53362a4b
DM
26443 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26444 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26445 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26446 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26447 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26449 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26450 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26451 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26452 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26453 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26454 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26455 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26456 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26457 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26458 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26459 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26460 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26461 * sysdeps/sparc/elf/configure: Regenerated.
26462
7b1902cb
JM
264632012-03-01 Joseph Myers <joseph@codesourcery.com>
26464
bec039bc
JM
26465 * configure.in (AS, LD): Require binutils 2.20 or later.
26466 * configure: Regenerated.
26467 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26468 as required minimum version.
26469 * INSTALL: Regenerated.
26470
7b1902cb
JM
26471 [BZ #2541]
26472 [BZ #4108]
26473 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26474 before squaring exponent.
26475 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26476 bottom long double and 27 bits of top long double before squaring
26477 exponent.
26478 * math/libm-test.inc (erfc_test): Add more tests.
26479 * sysdeps/i386/fpu/libm-test-ulps: Update.
26480 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26482
f775c276
KT
264832012-03-01 Kai Tietz <ktietz@redhat.com>
26484
26485 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26486 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26487 containing bit-fields.
26488 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26489 * soft-fp/single.h (_FP_UNION_S): Likewise.
26490 * soft-fp/double.h (_FP_UNION_D): Likewise.
26491
5b8a4d4a
JM
264922012-02-29 Joseph Myers <joseph@codesourcery.com>
26493
0bab47b6
JM
26494 [BZ #13786]
26495 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26496 not include ../strcmp.S.
26497 [USE_AS_STRNCASECMP_L]: Likewise.
26498 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26499 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26500 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26501 (__strncasecmp_l_ia32): Define as alias to
26502 __strncasecmp_l_nonascii.
26503
0fcad3e2
JM
26504 [BZ #5794]
26505 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26506 * sysdeps/i386/fpu/libm-test-ulps: Update.
26507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26508
5b8a4d4a
JM
26509 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26511
8fdceb2e
JL
265122012-02-29 Jeff Law <law@redhat.com>
26513
26514 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26515 out of bounds read.
26516
1f393a11
MP
265172012-02-29 Marek Polacek <polacek@redhat.com>
26518
26519 [BZ #13706]
26520 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26521 * elf/Makefile: Add rules to run tst-unused-dep.out.
26522
8847f037
DM
265232012-02-28 David S. Miller <davem@davemloft.net>
26524
26525 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26526 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26527 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26528 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26529 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26530 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26531
169d7f11
JM
265322012-02-29 Joseph Myers <joseph@codesourcery.com>
26533
26534 * math/libm-test.inc (llround_test): Move one test from
26535 lround_test. Use TEST_f_L in moved test.
26536 (lround_test): Move misplaced test to llround_test. Add testcase
26537 from bug 2561.
26538
39adf059
UD
265392012-02-28 Ulrich Drepper <drepper@gmail.com>
26540
26541 * sysdeps/x86_64/fpu/e_expf.S: New file.
26542 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26543
71b5d1c5
SB
265442012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26545
26546 [BZ #13637]
26547 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26548 of remain_len that may cause incomplete multi-byte character and
26549 false match.
26550 * posix/bug-regex33.c: New file.
26551 * posix/Makefile (tests): Add bug-regex33.
26552
1f77f049
JM
265532012-02-28 Joseph Myers <joseph@codesourcery.com>
26554
26555 * manual/macros.texi: New file.
26556 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26557 * manual/libc.texinfo: Include macros.texi.
26558 * manual/creatute.texi: Likewise.
26559 * manual/install.texi: Likewise.
26560 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26561 @glibcadj{} in references to the GNU C Library.
26562 * manual/charset.texi: Likewise.
26563 * manual/conf.texi: Likewise.
26564 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26565 when not using those macros.
26566 * manual/creature.texi: Likewise.
26567 * manual/crypt.texi: Likewise.
26568 * manual/errno.texi: Likewise.
26569 * manual/filesys.texi: Likewise.
26570 * manual/header.texi: Likewise.
26571 * manual/install.texi: Likewise.
26572 * manual/intro.texi: Likewise.
26573 * manual/io.texi: Likewise.
26574 * manual/job.texi: Likewise.
26575 * manual/lang.texi: Likewise.
26576 * manual/libc.texiinfo: Likewise.
26577 * manual/llio.texi: Likewise.
26578 * manual/locale.texi: Likewise.
26579 * manual/maint.texi: Likewise.
26580 * manual/math.texi: Likewise.
26581 * manual/memory.texi: Likewise.
26582 * manual/message.texi: Likewise.
26583 * manual/nss.texi: Likewise.
26584 * manual/pattern.texi: Likewise.
26585 * manual/process.texi: Likewise.
26586 * manual/resource.texi: Likewise.
26587 * manual/search.texi: Likewise.
26588 * manual/setjmp.texi: Likewise.
26589 * manual/signal.texi: Likewise.
26590 * manual/socket.texi: Likewise.
26591 * manual/startup.texi: Likewise.
26592 * manual/stdio.texi: Likewise.
26593 * manual/string.texi: Likewise.
26594 * manual/sysinfo.texi: Likewise.
26595 * manual/syslog.texi: Likewise.
26596 * manual/terminal.texi: Likewise.
26597 * manual/time.texi: Likewise.
26598 * manual/users.texi: Likewise.
26599 * INSTALL: Regenerated.
26600 * NOTES: Regenerated.
d40c5d54 26601 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26602
450bf206
AS
266032012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26604
26605 * include/dirent.h: Include <dirstream.h> before
26606 <dirent/dirent.h>.
26607
741a235b
DM
266082012-02-28 David S. Miller <davem@davemloft.net>
26609
26610 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26611 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26612 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26613 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26614
d6b5aa58
DM
266152012-02-27 David S. Miller <davem@davemloft.net>
26616
1aff59a3
DM
26617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26619 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26620 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26621
d6b5aa58
DM
26622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26623 frame pointer instead of stack pointer relative arg slot.
26624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26625 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26626 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26627
433f48bf
CD
266282012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26629
26630 [BZ #3992]
26631 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26632
d674b76d
DM
266332012-02-27 David S. Miller <davem@davemloft.net>
26634
26635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26639 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26640 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26641 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26642 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26643
0e7727f7
JM
266442012-02-27 Joseph Myers <joseph@codesourcery.com>
26645
26646 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26647 later. Allow versions 5-9.
43be4ca2 26648 * configure: Regenerated.
0e7727f7
JM
26649 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26650 required minimum version and 4.6 as recommended version. Do not
26651 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26652 * INSTALL: Regenerated.
0e7727f7 26653
a78bc654
DM
266542012-02-27 David S. Miller <davem@davemloft.net>
26655
428d5830
DM
26656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26660 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26661 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26662 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26663 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26664
a78bc654
DM
26665 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26666 manipulate bits before adding and subtracting TWO112[sx].
26667 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26668
4579f81c
RM
266692012-02-27 Roland McGrath <roland@hack.frob.com>
26670
36c8acb4
RM
26671 [BZ #13775]
26672 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26673 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26674 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26675 being in POSIX, because they are in 1003.1-2008.
26676
84ad622b
RM
26677 * rt/tst-aio.c: Include <fcntl.h>.
26678 * rt/tst-aio7.c: Likewise.
26679 * rt/tst-aio64.c: Likewise.
26680
4579f81c
RM
26681 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26682
abd923db
JM
266832012-02-27 Joseph Myers <joseph@codesourcery.com>
26684
26685 * manual/install.texi (--with-headers): Describe headers as
26686 interface headers, not private headers.
26687 (Specific advice for GNU/Linux systems): Describe use of headers
26688 from "make headers_install", not private headers from older
26689 kernels.
43be4ca2 26690 * INSTALL: Regenerated.
abd923db
JM
26691 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26692 Change to 2.6.19.
26693 * sysdeps/unix/sysv/linux/configure: Regenerated.
26694
6664049b
JM
26695 * manual/llio.texi (fclean): Remove documentation.
26696
bb8b6697
JM
26697 * manual/Makefile (libc-texi-generated): New variable. Include
26698 version.texi.
26699 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26700 $(libc-texi-generated), not duplicated list of files.
26701 (version.texi, stamp-version): New rules.
26702 (realclean): Remove $(libc-texi-generated), not individual files
26703 from that list. Do not remove dir-add.texinfo.
26704 * manual/libc.texinfo: Comment out uses of edition numbers and
26705 references to printed manual. Remove last-updated dates.
26706 (EDITION): Comment out.
26707 (ISBN): Likewise.
26708 (VERSION, UPDATED): Remove.
26709 (version.texi): Include.
26710
12e5c3b9
AS
267112012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26712
26713 * sysdeps/posix/spawni.c: Include <signal.h>.
26714 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26715 * sysdeps/pthread/aio_fsync.c: Likewise.
26716
4efeffc1 267172012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26718
ba63ba08
UD
26719 * conform/Makefile (tests): Run only when not cross-compiling and
26720 when fast-check is not defined.
26721
d94a4670
UD
26722 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26723 * conform/data/limits.h-data: Fixes for POSIX2008.
26724 * conform/run-conformtest.sh: Run all tests.
26725 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26726 headers.
26727 * include/bits/dlfcn.h: Likewise.
26728 * include/langinfo.h: Likewise.
26729 * include/monetary.h: Likewise.
26730 * include/sys/poll.h: Likewise.
26731
26732 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26733 for __USE_GNU.
26734 * posix/spawn.h: Define __need_sigset_t.
26735 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26736 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26737 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26738 to get sigevent_t only.
26739 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26740 only for __USE_GNU.
26741 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26742 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26743 process_vm_writev only for __USE_GNU.
26744 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26745
26746 * conform/Makefile: For now ignore errors from run-conformtest.
26747 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26748 POSIX to avoid namespace pollution. Don't prepend headers.
26749 * conform/data/aio.h-data: Fixes for POSIX testing.
26750 * conform/data/fcntl.h-data: Likewise.
26751 * conform/data/glob.h-data: Likewise.
26752 * conform/data/grp.h-data: Likewise.
26753 * conform/data/pthread.h-data: Likewise.
26754 * conform/data/pwd.h-data: Likewise.
26755 * conform/data/signal.h-data: Likewise.
26756 * conform/data/spawn.h-data: Likewise.
26757 * conform/data/stdio.h-data: Likewise.
26758 * conform/data/stdlib.h-data: Likewise.
26759 * conform/data/stropts.h-data: Likewise.
26760 * conform/data/sys/mman.h-data: Likewise.
26761 * conform/data/sys/stat.h-data: Likewise.
26762 * conform/data/sys/types.h-data: Likewise.
26763 * conform/data/sys/wait.h-data: Likewise.
26764 * conform/data/time.h-data: Likewise.
26765 * conform/data/unistd.h-data: Likewise.
26766 * conform/data/utime.h-data: Likewise.
26767
26768 * io/sys/stat.h: fchmod was always in POSIX.
26769 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26770 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26771 * rt/aio.h: Define __need_timespec before including <time.h>.
26772 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26773 struct. Add forward declaration of pthread_attr_t and use it in
26774 sigevent.
26775 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26776 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26777 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26778 always remove CLK_TCK definition.
26779
c20105c3
AS
267802012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26781
26782 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26783
7a270350
UD
267842012-02-25 Ulrich Drepper <drepper@gmail.com>
26785
31341567
UD
26786 * conform/run-conformtest.sh: New file.
26787 * conform/Makefile: Run run-conformtest for tests.
26788 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26789 support.
26790
26791 * conform/data/uchar.h-data: New file.
26792 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26793 * conform/data/arpa/inet.h-data: Likewise.
26794 * conform/data/assert.h-data: Likewise.
26795 * conform/data/complex.h-data: Likewise.
26796 * conform/data/cpio.h-data: Likewise.
26797 * conform/data/ctype.h-data: Likewise.
26798 * conform/data/dirent.h-data: Likewise.
26799 * conform/data/dlfcn.h-data: Likewise.
26800 * conform/data/errno.h-data: Likewise.
26801 * conform/data/fcntl.h-data: Likewise.
26802 * conform/data/float.h-data: Likewise.
26803 * conform/data/fmtmsg.h-data: Likewise.
26804 * conform/data/fnmatch.h-data: Likewise.
26805 * conform/data/ftw.h-data: Likewise.
26806 * conform/data/glob.h-data: Likewise.
26807 * conform/data/grp.h-data: Likewise.
26808 * conform/data/iconv.h-data: Likewise.
26809 * conform/data/inttypes.h-data: Likewise.
26810 * conform/data/langinfo.h-data: Likewise.
26811 * conform/data/libgen.h-data: Likewise.
26812 * conform/data/limits.h-data: Likewise.
26813 * conform/data/locale.h-data: Likewise.
26814 * conform/data/math.h-data: Likewise.
26815 * conform/data/monetary.h-data: Likewise.
26816 * conform/data/mqueue.h-data: Likewise.
26817 * conform/data/ndbm.h-data: Likewise.
26818 * conform/data/net/if.h-data: Likewise.
26819 * conform/data/netdb.h-data: Likewise.
26820 * conform/data/netinet/in.h-data: Likewise.
26821 * conform/data/nl_types.h-data: Likewise.
26822 * conform/data/poll.h-data: Likewise.
26823 * conform/data/pthread.h-data: Likewise.
26824 * conform/data/pwd.h-data: Likewise.
26825 * conform/data/regex.h-data: Likewise.
26826 * conform/data/sched.h-data: Likewise.
26827 * conform/data/search.h-data: Likewise.
26828 * conform/data/semaphore.h-data: Likewise.
26829 * conform/data/setjmp.h-data: Likewise.
26830 * conform/data/signal.h-data: Likewise.
26831 * conform/data/spawn.h-data: Likewise.
26832 * conform/data/stdarg.h-data: Likewise.
26833 * conform/data/stdio.h-data: Likewise.
26834 * conform/data/stdlib.h-data: Likewise.
26835 * conform/data/string.h-data: Likewise.
26836 * conform/data/strings.h-data: Likewise.
26837 * conform/data/stropts.h-data: Likewise.
26838 * conform/data/sys/ipc.h-data: Likewise.
26839 * conform/data/sys/mman.h-data: Likewise.
26840 * conform/data/sys/msg.h-data: Likewise.
26841 * conform/data/sys/resource.h-data: Likewise.
26842 * conform/data/sys/select.h-data: Likewise.
26843 * conform/data/sys/sem.h-data: Likewise.
26844 * conform/data/sys/shm.h-data: Likewise.
26845 * conform/data/sys/socket.h-data: Likewise.
26846 * conform/data/sys/stat.h-data: Likewise.
26847 * conform/data/sys/statvfs.h-data: Likewise.
26848 * conform/data/sys/time.h-data: Likewise.
26849 * conform/data/sys/timeb.h-data: Likewise.
26850 * conform/data/sys/times.h-data: Likewise.
26851 * conform/data/sys/types.h-data: Likewise.
26852 * conform/data/sys/uio.h-data: Likewise.
26853 * conform/data/sys/un.h-data: Likewise.
26854 * conform/data/sys/utsname.h-data: Likewise.
26855 * conform/data/sys/wait.h-data: Likewise.
26856 * conform/data/syslog.h-data: Likewise.
26857 * conform/data/tar.h-data: Likewise.
26858 * conform/data/termios.h-data: Likewise.
26859 * conform/data/utime.h-data: Likewise.
26860 * conform/data/utmpx.h-data: Likewise.
26861 * conform/data/varargs.h-data: Likewise.
26862 * conform/data/wchar.h-data: Likewise.
26863 * conform/data/wctype.h-data: Likewise.
26864 * conform/data/wordexp.h-data: Likewise.
26865
26866 * include/stropts.h: New file.
26867 * include/uchar.h: New file.
26868 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26869 * include/assert.h: Likewise.
26870 * include/ctype.h: Likewise.
26871 * include/dirent.h: Likewise.
26872 * include/dlfcn.h: Likewise.
26873 * include/fcntl.h: Likewise.
26874 * include/fnmatch.h: Likewise.
26875 * include/glob.h: Likewise.
26876 * include/grp.h: Likewise.
26877 * include/libio.h: Likewise.
26878 * include/locale.h: Likewise.
26879 * include/math.h: Likewise.
26880 * include/net/if.h: Likewise.
26881 * include/netdb.h: Likewise.
26882 * include/netinet/in.h: Likewise.
26883 * include/pthread.h: Likewise.
26884 * include/pwd.h: Likewise.
26885 * include/regex.h: Likewise.
26886 * include/sched.h: Likewise.
26887 * include/search.h: Likewise.
26888 * include/setjmp.h: Likewise.
26889 * include/signal.h: Likewise.
26890 * include/stdio.h: Likewise.
26891 * include/stdlib.h: Likewise.
26892 * include/string.h: Likewise.
26893 * include/sys/cdefs.h: Likewise.
26894 * include/sys/mman.h: Likewise.
26895 * include/sys/msg.h: Likewise.
26896 * include/sys/resource.h: Likewise.
26897 * include/sys/select.h: Likewise.
26898 * include/sys/socket.h: Likewise.
26899 * include/sys/stat.h: Likewise.
26900 * include/sys/statvfs.h: Likewise.
26901 * include/sys/time.h: Likewise.
26902 * include/sys/times.h: Likewise.
26903 * include/sys/uio.h: Likewise.
26904 * include/sys/utsname.h: Likewise.
26905 * include/sys/wait.h: Likewise.
26906 * include/termios.h: Likewise.
26907 * include/time.h: Likewise.
26908 * include/ulimit.h: Likewise.
26909 * include/unistd.h: Likewise.
26910 * include/utime.h: Likewise.
26911 * include/wchar.h: Likewise.
26912 * include/wctype.h: Likewise.
26913 * include/wordexp.h: Likewise.
26914
26915 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26916
7a270350
UD
26917 * time/time.h: TIME_UTC must be a macro.
26918 Make timespec_get available for ISO C11 only as well.
26919
7724defc
UD
269202012-02-24 Ulrich Drepper <drepper@gmail.com>
26921
26922 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26923 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26924
6b1d1d46
JM
269252012-02-24 Joseph Myers <joseph@codesourcery.com>
26926
26927 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26928
0f8bbd69
JM
269292012-02-24 Joseph Myers <joseph@codesourcery.com>
26930
26931 * manual/texinfo.tex: Update to version 2012-01-19.16.
26932
66ab80bc
JM
269332012-02-24 Joseph Myers <joseph@codesourcery.com>
26934
26935 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26936
74981cc5
RM
269372012-02-24 Roland McGrath <roland@hack.frob.com>
26938
ee968201
RM
26939 [BZ #13738]
26940 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26941 * manual/fdl-1.3.texi: New file.
26942 * manual/fdl-1.1.texi: File removed.
26943
74981cc5
RM
26944 [BZ #13738]
26945 * manual/libc.texinfo (FDL_VERSION): New @set.
26946 Use it for mention of FDL in cover text.
26947 (Documentation License): Use it in @include file name.
26948
7bb764bc
JM
269492012-02-22 Joseph Myers <joseph@codesourcery.com>
26950 Roland McGrath <roland@hack.frob.com>
26951
26952 [BZ #5461]
26953 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26954 not LONG_LONG_MAX and LONG_LONG_MIN.
26955 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26956 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26957 name.
26958 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26959
6cbeae47
JM
269602012-02-22 Joseph Myers <joseph@codesourcery.com>
26961
26962 [BZ #2547]
26963 [BZ #11365]
26964 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26965 manipulate bits before adding and subtracting TWO23[sx].
26966 * math/libm-test.inc (nearbyint_test): Add more tests.
26967
fe45ce09
JM
269682012-02-22 Joseph Myers <joseph@codesourcery.com>
26969
26970 [BZ #2548]
26971 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26972 bits before adding and subtracting TWO23[sx].
26973 * math/libm-test.inc (rint_test): Add more tests.
26974 (rint_test_tonearest): Likewise.
26975 (rint_test_towardzero): Likewise.
26976 (rint_test_downward): Likewise.
26977 (rint_test_upward: Likewise.
26978
ff3b3d82
JM
269792012-02-22 Joseph Myers <joseph@codesourcery.com>
26980
26981 [BZ #10110]
26982 * include/stdc-predef.h: New file. Extracted from features.h.
26983 * include/features.h: Include stdc-predef.h.
26984 * Makefile (headers): Add stdc-predef.h.
26985 * CONFORMANCE (Compiler limitations): Update.
26986
ef0aab35
JM
269872012-02-22 Joseph Myers <joseph@codesourcery.com>
26988
26989 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26990
58639409
DM
269912012-02-21 David S. Miller <davem@davemloft.net>
26992
26993 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26994 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26995
c0e70b25
DM
269962012-02-20 David S. Miller <davem@davemloft.net>
26997
26998 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26999 using a normal save/restore sequence, rather than allocating a
27000 dummy stack frame just to store a frame pointer and restore.
27001 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27002
fb06851d
JM
270032012-02-21 Joseph Myers <joseph@codesourcery.com>
27004
27005 * manual/install.texi: Fix stray word in line-wrapped comment.
27006
7a8b71c3
DM
270072012-02-20 David S. Miller <davem@davemloft.net>
27008
d510c123
DM
27009 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27010 both binutils and gcc support GOTDATA.
27011
0722d7c2
DM
27012 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27013 "rd %pc" in the PIC register setup sequences.
27014
3d2b3019
DM
27015 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27016 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27017 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27018 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27019 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27021 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27022 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27024 (SYSCALL_ERROR_HANDLER): Likewise.
27025 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27026 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27028 (SYSCALL_ERROR_HANDLER): Likewise.
27029
c80098a9
DM
27030 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27031 (HAVE_GCC_GOTDATA): New.
27032 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27033 relocation support in both binutils and gcc.
27034 * sysdeps/sparc/elf/configure: Regenerate.
27035
3a2545a0
DM
27036 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27037 * sysdeps/sparc/sparc32/elf/configure: Delete.
27038 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27039 * sysdeps/sparc/sparc64/elf/configure: Delete.
27040 * sysdeps/sparc/elf/configure.in: New file.
27041 * sysdeps/sparc/elf/configure: Generate.
27042
7a8b71c3
DM
27043 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27044 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27045 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27046 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27047 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27048
f1e86fca
JM
270492012-02-21 Joseph Myers <joseph@codesourcery.com>
27050
27051 * manual/install.texi: Do not mention specific glibc version
27052 numbers.
27053 * manual/libc.texinfo (VERSION, UPDATED): Update.
27054 (@copying): Use @copyright{} and range of years.
27055
0e7dfaef
JM
270562012-02-21 Joseph Myers <joseph@codesourcery.com>
27057
27058 [BZ #13695]
27059 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27060 [crti.S not in sysdirs] (generated): Do not append.
27061 [crti.S not in sysdirs] (omit-deps): Likewise.
27062 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27063 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27064 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27065 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27066 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27067 Likewise.
27068 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27069 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27070 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27071 * csu/defs.awk: Remove file.
27072 * sysdeps/generic/initfini.c: Likewise.
27073 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27074 variable.
27075 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27076 Likewise.
27077
599af3ca
JM
270782012-02-20 Joseph Myers <joseph@codesourcery.com>
27079
27080 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27081 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27082 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27083 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27084 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27085 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27086 <bits/epoll.h>.
27087 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27088 (__EPOLL_PACKED): Define to empty if not defined by
27089 <bits/epoll.h>.
27090 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27092 bits/epoll.h.
27093
0e499750
JM
270942012-02-20 Joseph Myers <joseph@codesourcery.com>
27095
27096 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27097 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27098 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27099 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27100 <bits/timerfd.h>.
27101 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27103 bits/timerfd.h.
27104
5ad91f6e
JM
271052012-02-20 Joseph Myers <joseph@codesourcery.com>
27106
27107 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27108 in C locale.
27109 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27110 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27111 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27113
06b99b02
AJ
271142012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27115
27116 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27117 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27118
7638c0fd
AS
271192012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27120
27121 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27122 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27123 defined.
27124 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27125 Likewise.
27126 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27127 entry for 2.16.
27128
92221550
AJ
271292012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27130
27131 * math/w_acos.c: Use non-signaling floating-point comparisons.
27132 * math/w_acosf.c: Likewise.
27133 * math/w_acosh.c: Likewise.
27134 * math/w_acoshf.c: Likewise.
27135 * math/w_acoshl.c: Likewise.
27136 * math/w_acosl.c: Likewise.
27137 * math/w_asin.c: Likewise.
27138 * math/w_asinf.c: Likewise.
27139 * math/w_asinl.c: Likewise.
27140 * math/w_atanh.c: Likewise.
27141 * math/w_atanhf.c: Likewise.
27142 * math/w_atanhl.c: Likewise.
27143 * math/w_exp2.c: Likewise.
27144 * math/w_exp2f.c: Likewise.
27145 * math/w_exp2l.c: Likewise.
27146 * math/w_j0.c: Likewise.
27147 * math/w_j0f.c: Likewise.
27148 * math/w_j0l.c: Likewise.
27149 * math/w_j1.c: Likewise.
27150 * math/w_j1f.c: Likewise.
27151 * math/w_j1l.c: Likewise.
27152 * math/w_jn.c: Likewise.
27153 * math/w_jnf.c: Likewise.
27154 * math/w_log.c: Likewise.
27155 * math/w_log10.c: Likewise.
27156 * math/w_log10f.c: Likewise.
27157 * math/w_log10l.c: Likewise.
27158 * math/w_log2.c: Likewise.
27159 * math/w_log2f.c: Likewise.
27160 * math/w_log2l.c: Likewise.
27161 * math/w_logf.c: Likewise.
27162 * math/w_logl.c: Likewise.
27163 * math/w_sqrt.c: Likewise.
27164 * math/w_sqrtf.c: Likewise.
27165 * math/w_sqrtl.c: Likewise.
27166 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27167 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27168 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27169 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27170 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27171
ebaf36eb
JM
271722012-02-19 Joseph Myers <joseph@codesourcery.com>
27173
27174 [BZ #9739]
27175 * manual/string.texi (strnlen): Use correct parameter name in
27176 equivalent expression.
27177
71c254a6
JM
271782012-02-19 Joseph Myers <joseph@codesourcery.com>
27179
27180 [BZ #11174]
27181 * manual/users.texi (seteuid): Consistently use neweuid for
27182 argument name.
27183
16d2c631
JM
271842012-02-19 Joseph Myers <joseph@codesourcery.com>
27185
27186 [BZ #13704]
27187 * manual/nss.texi (Services in the NSS configuration): Correct
27188 list of services in example configuration file.
27189
cd837b09
NB
271902012-02-19 Nick Bowler <nbowler@draconx.ca>
27191
27192 [BZ #11322]
27193 * manual/arith.texi: Remove statements about negative zero
27194 behaving identically to zero.
27195
02c4bbad
JM
271962012-02-18 Joseph Myers <joseph@codesourcery.com>
27197
27198 [BZ #5993]
27199 * manual/install.texi: Do not document upgrading from libc5.
27200
366842e7
JM
272012012-02-18 Joseph Myers <joseph@codesourcery.com>
27202
27203 [BZ #4596]
27204 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27205
dd54084d
DM
272062012-02-18 David S. Miller <davem@davemloft.net>
27207
27208 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27209 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27210 %o7 across the call.
27211 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27212 instead.
27213 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27214 SETUP_PIC_REG_LEAF.
27215 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27216 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27217 * sysdeps/sparc/crtn.S: Likewise.
27218
2bcc53a3
UD
272192012-02-17 Ulrich Drepper <drepper@gmail.com>
27220
27221 * aout/Makefile: Remove.
27222
09c093b5
RK
272232012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27224
27225 [BZ #13058]
27226 * manual/examples/argp-ex1.c (main): Format definition in GNU
27227 style.
27228 * manual/examples/argp-ex2.c (main): Likewise.
27229 * manual/examples/argp-ex3.c (main): Likewise.
27230 * manual/examples/argp-ex4.c (main): Likewise.
27231 * manual/examples/longopt.c (main): Use new-style prototype
27232 definition.
27233 * manual/examples/strncat.c (main): Specify return type and use
27234 (void) for arguments.
27235 * manual/examples/subopt.c (main): Use char **argv argument.
27236
2ee633a2
JM
272372012-02-17 Joseph Myers <joseph@codesourcery.com>
27238
27239 [BZ #5077]
27240 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27241 rounding modes.
27242
0520adde
FB
272432012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27244
27245 [BZ #6907]
27246 * manual/string.texi (strchr): Change when strchrnul is
27247 recommended.
27248
3f4081cd
DGM
272492012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27250
27251 [BZ #174]
27252 * manual/locale.texi (setlocale): Document LOCPATH.
27253
d1b10e78
JM
272542012-02-17 Joseph Myers <joseph@codesourcery.com>
27255
27256 [BZ #10210]
27257 * manual/process.texi (execle): Move @dots{} before last argument.
27258
79c6869c
PB
272592012-02-17 Paul Bolle <pebolle@tiscali.nl>
27260
27261 [BZ #12047]
27262 * manual/charset.texi (Generic Charset Conversion): Fix typo
27263 (LC_TYPE -> LC_CTYPE).
27264
cc6e48bc
NB
272652012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27266
27267 [BZ #5805]
27268 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27269 (scalbnf): Likewise.
27270 (scalbnl): Likewise.
27271 (scalbln): Likewise.
27272 (scalblnf): Likewise.
27273 (scalblnl): Likewise.
27274 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27275 (vwarnx): Likewise.
27276 (verr): Likewise.
27277 (verrx): Likewise.
27278 * manual/filesys.texi (telldir): Use braces around return type.
27279 * manual/llio.texi (mmap): Add space after comma.
27280 (mmap64): Likewise.
27281 * manual/math.texi (jn): Use @var{} on parameter names.
27282 (jnf): Likewise.
27283 (jnl): Likewise.
27284 (yn): Likewise.
27285 (ynf): Likewise.
27286 (ynl): Likewise.
27287 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27288 line.
27289 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27290 "...".
27291 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27292 (sched_get_priority_max): Likewise.
27293 * manual/signal.texi (sigvec): Add space after comma.
27294 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27295 names.
27296 (if_indextoname): Likewise.
27297 (if_freenameindex): Likewise.
27298 (sendto): Use ',' instead of '.' in prototype.
27299 * manual/startup.texi (syscall): Use @dots{} instead of literal
27300 "...".
27301 * manual/stdio.texi (__fpending): Separate initial words of
27302 paragraph from @deftypefun line.
27303 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27304 "...".
27305 (vsyslog): Use @var{} on parameter names.
27306 * manual/terminal.texi (stty): Use @var{} on parameter names.
27307 * manual/users.texi (getutmp): Use @var{} on parameter names.
27308 (getutmpx): Likewise.
27309
5b23062f
JM
273102012-02-17 Joseph Myers <joseph@codesourcery.com>
27311
27312 [BZ #6884]
27313 * manual/stdio.texi (fopen): Fix typos in description of
27314 ",ccs=STRING".
27315
8dee4833
AJ
273162012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27317
27318 [BZ #4026]
27319 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27320 get clock_id definition.
27321
9078ce93
TS
273222012-02-17 Thomas Schwinge <thomas@schwinge.name>
27323
27324 [BZ #4822]
27325 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27326 (madvise): Cast every argument to void on its own.
27327
3835c55f
JM
273282012-02-17 Joseph Myers <joseph@codesourcery.com>
27329
27330 [BZ #9902]
27331 * manual/startup.texi (Exit Status): Fix typo.
27332
35c47e37
JM
273332012-02-17 Joseph Myers <joseph@codesourcery.com>
27334
27335 [BZ #10140]
27336 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27337 * manual/examples/argp-ex2.c: Likewise.
27338 * manual/examples/argp-ex3.c: Likewise.
27339
e3b69ca7
RH
273402012-02-16 Richard Henderson <rth@redhat.com>
27341
27342 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27343 * sysdeps/s390/s390-32/initfini.c: Remove.
27344 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27345 * sysdeps/s390/s390-64/initfini.c: Remove.
27346
df83af67
KK
273472012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27348
27349 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27350 compiler output for sysdeps/generic/initfini.c.
27351 * sysdeps/sh/elf/initfini.c: Remove file.
27352
f63f3380
DM
273532012-02-16 David S. Miller <davem@davemloft.net>
27354
fb59b3a4
DM
27355 [BZ #11494]
27356 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27357
f63f3380
DM
27358 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27359 * sysdeps/sparc/crti.S: New file.
27360 * sysdeps/sparc/crtn.S: New file.
27361 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27362 * sysdeps/sparc/sparc64/Makefile: Likewise.
27363
df6a4a4a
MF
273642012-02-15 Mike Frysinger <vapier@gentoo.org>
27365
6dd8f3dc 27366 [BZ #3335]
df6a4a4a
MF
27367 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27368
1cac7236
RM
273692012-02-15 Roland McGrath <roland@hack.frob.com>
27370
d2c736f8
RM
27371 [BZ #4822]
27372 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27373
1cac7236
RM
27374 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27375 (write, read, close): Likewise.
27376 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27377
8e475601
JM
273782012-02-15 Joseph Myers <joseph@codesourcery.com>
27379
27380 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27381 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27382 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27383 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27384 <bits/signalfd.h>.
27385 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27387 bits/signalfd.h.
27388
ed656b40
MP
273892012-02-14 Marek Polacek <polacek@redhat.com>
27390
27391 * sysdeps/x86_64/crti.S: New file.
27392 * sysdeps/x86_64/crtn.S: New file.
27393 * sysdeps/x86_64/elf/initfini.c: Remove file.
27394
2a979d3a
JM
273952012-02-13 Joseph Myers <joseph@codesourcery.com>
27396
27397 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27398 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27399 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27400 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27401 <bits/inotify.h>.
27402 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27403 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27404 bits/inotify.h.
27405
2a418ac3
JM
274062012-02-13 Joseph Myers <joseph@codesourcery.com>
27407
27408 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27409 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27410 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27411 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27412 <bits/eventfd.h>.
27413 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27414 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27415 bits/eventfd.h.
27416
fb779be7
TS
274172012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27418
e19e83c5
RM
27419 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27420 __feraiseexcept instead of feraiseexcept.
7c35ffed 27421
fb779be7
TS
27422 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27423 nanosleep invocations.
27424 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27425 strings, and add error checking for a nanosleep invocations.
27426
59ba27a6
PE
274272012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27428
27429 Replace FSF snail mail address with URLs, as per GNU coding standards.
27430 Most of the snail mail addresses were wrong anyway, and omitting
27431 them makes the source code easier to maintain. Almost all of the
27432 changes are to license notices and to locale LC_IDENTIFICATION
27433 addresses, except for this one:
27434 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27435 not its snail mail address.
27436
57b957eb
RH
274372012-02-09 Richard Henderson <rth@twiddle.net>
27438
af850b1c
RH
27439 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27440 of kernel-features.h.
27441
57b957eb
RH
27442 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27443
6b73181a
MP
274442012-02-08 Marek Polacek <polacek@redhat.com>
27445
27446 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27447 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27448 * sysdeps/gnu/_G_config.h: Likewise.
27449 * sysdeps/generic/_G_config.h: Likewise.
27450
26ecc33a
AS
274512012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27452
6c6dbc63
AS
27453 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27454 tests.
27455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27456
e216c012
AS
27457 * sysdeps/powerpc/powerpc32/crti.S: New file.
27458 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27459 * sysdeps/powerpc/powerpc64/crti.S: New file.
27460 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27461
26ecc33a
AS
27462 * Makeconfig (have-initfini): Don't set.
27463 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27464 * configure.in (nopic_initfini): Don't substitute.
27465 * config.h.in (HAVE_INITFINI): Don't #undef.
27466 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27467 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27468
3add8e13
JM
274692012-02-08 Joseph Myers <joseph@codesourcery.com>
27470
27471 Support crti.S and crtn.S provided directly by architectures.
27472 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27473 [crti.S in sysdirs] (omit-deps): Likewise.
27474 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27475 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27476 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27477 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27478 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27479 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27480 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27481 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27482 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27483 compiler output for sysdeps/generic/initfini.c.
27484 * sysdeps/i386/elf/Makefile: Remove file.
27485 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27486
a22f12b4
MP
274872012-02-07 Marek Polacek <polacek@redhat.com>
27488
27489 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27490 * sysdeps/gnu/_G_config.h: Likewise.
27491 * sysdeps/mach/hurd/_G_config.h: Likewise.
27492
148cf100
MP
274932012-02-07 Marek Polacek <polacek@redhat.com>
27494
27495 * math/Makefile (tests): Add tst-CMPLX2.
27496 * math/tst-CMPLX2.c: New file.
27497
cfdc0dd7
AS
274982012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27499
84ba42c4
AS
27500 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27501
cfdc0dd7
AS
27502 * math/libm-test.inc (jn_test): Add missing L suffix.
27503
622c86f4
MP
275042012-02-06 Marek Polacek <polacek@redhat.com>
27505
27506 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27507 * sysdeps/i386/fpu/e_powf.S: Likewise.
27508 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27509 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27510 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27511 * sysdeps/i386/fpu/e_pow.S: Likewise.
27512 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27513 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27514 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27515 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27516 * sysdeps/i386/fpu/e_log2.S: Likewise.
27517 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27518 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27519 * sysdeps/i386/fpu/e_powl.S: Likewise.
27520 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27521 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27522 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27523 * sysdeps/i386/fpu/e_logl.S: Likewise.
27524 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27525 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27526 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27527 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27528 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27529 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27530 * sysdeps/i386/fpu/e_log.S: Likewise.
27531 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27532 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27533 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27534 * sysdeps/i386/fpu/e_logf.S: Likewise.
27535 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27536 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27537 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27538 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27539 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27540 * sysdeps/i386/fpu/e_log10.S: Likewise.
27541 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27542 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27543 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27544 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27545 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27546 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27547 * sysdeps/i386/asm-syntax.h: Likewise.
27548 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27549 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27550 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27551 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27552 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27553 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27554 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27555 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27556 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27557 * sysdeps/powerpc/sysdep.h: Likewise.
27558 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27559 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27560
d4a54ac6
JM
275612012-02-06 Joseph Myers <joseph@codesourcery.com>
27562
27563 [BZ #411]
27564 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27565
314054ea
JM
275662012-02-06 Joseph Myers <joseph@codesourcery.com>
27567
27568 * sysdeps/i386/sysdep.h: Include <features.h>.
27569 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27570 version.
27571
d8e0ca50
JM
275722012-02-05 Joseph Myers <joseph@codesourcery.com>
27573
27574 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27575 Define.
27576 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27577 LOAD_PIC_REG_STR.
27578
b1da7dd9
JM
275792012-02-03 Joseph Myers <joseph@codesourcery.com>
27580
27581 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27582 (SETUP_PIC_REG): Use GET_PC_THUNK.
27583 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27584 macro.
27585
9a1d9254
JM
275862012-02-03 Joseph Myers <joseph@codesourcery.com>
27587
27588 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27589 for non-PIC compilation.
27590 (SETUP_PIC_REG): Add .p2align directive.
27591 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27592 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27593 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27594 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27595 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27596 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27597 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27598 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27599 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27600 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27601 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27602 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27603 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27604 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27605 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27606 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27607 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27608 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27609 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27610 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27611 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27612 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27613 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27614 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27615 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27616 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27617 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27618 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27619 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27620 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27621 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27622 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27623 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27624 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27625 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27626 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27627 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27628 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27629 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27630 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27631 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27632
65dc3b75
JM
276332012-02-03 Joseph Myers <joseph@codesourcery.com>
27634
27635 * math/tst-CMPLX.c: Include <stdio.h>.
27636
d55bf177
JM
276372012-01-31 Joseph Myers <joseph@codesourcery.com>
27638
27639 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27640 float.
27641 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27642 * sysdeps/sparc/bits/mathdef.h: Likewise.
27643
69db4f8f
MP
276442012-01-31 Marek Polacek <polacek@redhat.com>
27645
27646 * libio/libio.h: Don't define _PARAMS.
27647 * locale/programs/config.h: Don't define PARAMS.
27648 * stdlib/strtol_l.c: Likewise.
27649 (__strtol_l): Remove PARAMS from the prototype.
27650
41b81892
UD
276512012-01-31 Ulrich Drepper <drepper@gmail.com>
27652
3b49edc0
UD
27653 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27654 names. Just use the correct names. Remove unnecessary wrapper
27655 functions.
27656 * malloc/arena.c: Likewise.
27657 * malloc/hooks.c: Likewise.
27658
41b81892
UD
27659 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27660 ARENA_TEST says not to. Simplify test for creation of a new arena.
27661 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27662
27a25b6e
UD
276632012-01-30 Ulrich Drepper <drepper@gmail.com>
27664
27665 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27666 into tail calls.
27667 (update_get_addr): New function.
27668 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27669 GET_ADDR_MODULE parameter.
27670
c8a89e7d
JM
276712012-01-30 Joseph Myers <joseph@codesourcery.com>
27672
27673 * crypt/cert.c: Remove __STDC__ conditionals.
27674 * crypt/crypt-entry.c: Likewise.
27675 * crypt/crypt_util.c: Likewise.
27676 * libio/filedoalloc.c: Likewise.
27677 * libio/fileops.c: Likewise.
27678 * libio/genops.c: Likewise.
27679 * libio/iofclose.c: Likewise.
27680 * libio/iofdopen.c: Likewise.
27681 * libio/iofopen.c: Likewise.
27682 * libio/iofopen64.c: Likewise.
27683 * libio/iogetdelim.c: Likewise.
27684 * libio/iopopen.c: Likewise.
27685 * libio/obprintf.c: Likewise.
27686 * libio/oldfileops.c: Likewise.
27687 * libio/oldiofclose.c: Likewise.
27688 * libio/oldiofdopen.c: Likewise.
27689 * libio/oldiofopen.c: Likewise.
27690 * libio/oldiopopen.c: Likewise.
27691 * libio/wfiledoalloc.c: Likewise.
27692 * libio/wgenops.c: Likewise.
27693 * locale/programs/xmalloc.c: Likewise.
27694 * misc/syslog.c: Likewise.
27695 * stdio-common/xbug.c: Likewise.
27696 * string/memchr.c: Likewise.
27697 * string/memcmp.c: Likewise.
27698 * string/memrchr.c: Likewise.
27699 * string/rawmemchr.c: Likewise.
27700 * sysdeps/posix/getcwd.c: Likewise.
27701 * time/strftime_l.c: Likewise.
27702
3b100462
JM
277032012-01-30 Joseph Myers <joseph@codesourcery.com>
27704
27705 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27706 * config.make.in (config-cflags-sse2avx): Define.
27707 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27708 Fix typo.
27709
607998af
CM
277102012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27711
27712 * scripts/config.guess: Update from upstream config git repository.
27713 * scripts/config.sub: Likewise.
27714
3601428f
CM
277152012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27716
3ac8b282
CM
27717 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27718 (EM_NUM): Update.
27719 (R_TILEPRO_*, R_TILEGX_*): New macros.
27720
e034841e
CM
27721 * scripts/firstversions.awk: Fix bug in version range handling.
27722
540d7568
CM
27723 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27724
3601428f
CM
27725 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27726
463de862
CM
27727 * include/sys/epoll.h: New file.
27728 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27729 libc_hidden_def.
27730
73139a76
UD
277312012-01-28 Ulrich Drepper <drepper@gmail.com>
27732
96bc5b45
UD
27733 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27734 Avoid unnecessary __WORDSIZE == 64 test.
27735 (fmaxf): Use VEX format if possible.
27736 (fmax): Likewise.
27737 (fminf): Likewise.
27738 (fmin): Likewise.
27739
56f6f6a2
UD
27740 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27741 * math/math_private.h: Remove libc_fegetround* and
27742 libc_fesetround*.
27743 * sysdeps/i386/configure.in: Check for -msse2avx.
27744 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27745 also if SSE2AVX is defined.
27746 Remove libc_fegetround* and libc_fesetround*.
27747 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27748 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27749 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27750 of HAS_YMM_USABLE.
27751 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27752 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27753 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27754 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27755 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27756
73139a76
UD
27757 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27758
d73f93a4
AZ
277592012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27760
27761 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27762 size is not set.
27763 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27764
6ee65ed6
UD
277652012-01-27 Ulrich Drepper <drepper@gmail.com>
27766
27767 [BZ #13618]
27768 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27769 relocation.
27770 * Makeconfig (libm): Define.
27771 * elf/Makefile: Add rules to build and run tst-relsort1.
27772 * elf/tst-relsort1.c: New file.
27773 * elf/tst-relsort1mod1.c: New file.
27774 * elf/tst-relsort1mod2.c: New file.
27775
8db21882
JM
277762012-01-27 Joseph Myers <joseph@codesourcery.com>
27777
27778 * math/s_ldexp.c: Remove __STDC__ conditionals.
27779 * math/s_ldexpf.c: Likewise.
27780 * math/s_ldexpl.c: Likewise.
27781 * math/s_nextafter.c: Likewise.
27782 * math/s_nexttowardf.c: Likewise.
27783 * math/s_significand.c: Likewise.
27784 * math/s_significandf.c: Likewise.
27785 * math/s_significandl.c: Likewise.
27786 * math/w_jnl.c: Likewise.
27787 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27788 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27789 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27790 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27791 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27792 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27793 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27794 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27795 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27796 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27797 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27798 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27799 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27800 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27801 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27802 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27803 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27804 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27805 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27806 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27807 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27808 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27809 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27811 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27812 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27813 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27814 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27815 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27816 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27817 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27818 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27819 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27820 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27821 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27822 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27823 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27824 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27825 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27826 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27827 * sysdeps/ieee754/k_standard.c: Likewise.
27828 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27830 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27831 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27832 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27834 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27835 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27836 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27837 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27839 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27840 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27841 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27842 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27843 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27844 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27845 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27846 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27847 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27848 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27849 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27850 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27851 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27852 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27853 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27854 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27855 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27856 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27857 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27858 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27859 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27860 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27861 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27862 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27863 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27864 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27865 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27866 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27867 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27868 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27869 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27870 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27871 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27872 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27873 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27874 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27875 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27876 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27877 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27878 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27879 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27880 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27881 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27882 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27883 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27884 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27885 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27886 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27887 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27888 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27889 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27890 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27891 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27892 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27893 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27894 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27895 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27896 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27897 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27898 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27899 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27900 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27901 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27902 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27903 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27904 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27905 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27906 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27907 * sysdeps/ieee754/s_matherr.c: Likewise.
27908 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27909 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27910 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27911 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27912
965a54a4
JM
279132012-01-26 Joseph Myers <joseph@codesourcery.com>
27914
27915 * crypt/md5.h: Remove __STDC__ conditionals.
27916 * libio/libioP.h: Likewise.
27917 * locale/programs/config.h: Likewise.
27918 * sysdeps/generic/sysdep.h: Likewise.
27919 * sysdeps/i386/asm-syntax.h: Likewise.
27920 * sysdeps/s390/asm-syntax.h: Likewise.
27921 * sysdeps/unix/sysdep.h: Likewise.
27922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27924
7071ad79
JM
279252012-01-26 Joseph Myers <joseph@codesourcery.com>
27926
27927 * libio/libio.h: Remove __STDC__ conditionals.
27928 * malloc/obstack.h: Likewise.
27929 * math/complex.h: Likewise.
27930 * math/math.h: Likewise.
27931 * sysdeps/generic/_G_config.h: Likewise.
27932 * sysdeps/gnu/_G_config.h: Likewise.
27933 * sysdeps/mach/hurd/_G_config.h: Likewise.
27934 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27935 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27936 * sysdeps/sparc/bits/mathdef.h: Likewise.
27937
afc5ed09
UD
279382012-01-26 Ulrich Drepper <drepper@gmail.com>
27939
27940 [BZ #13583]
27941 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27942 Clean up HAS_* macros.
afc5ed09 27943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27944 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27945 possible.
27946 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27947 HAS_AVX.
27948 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27949 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27950 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27951 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27952 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27953
bdb6de1d
JM
279542012-01-25 Joseph Myers <joseph@codesourcery.com>
27955
27956 * elf/tst-unique3.cc (gets): Remove declaration.
27957 * elf/tst-unique3lib.cc (gets): Likewise.
27958 * elf/tst-unique3lib2.cc (gets): Likewise.
27959 * elf/tst-unique4.cc (gets): Likewise.
27960
b15549e6
UD
279612012-01-24 Ulrich Drepper <drepper@gmail.com>
27962
27963 * include/stdio.h: Add C++ protection. Add gets declarations and
27964 definitions.
27965 * debug/tst-chk1.c: Don't declare gets here.
27966 * stdio-common/tst-gets.c: Likewise.
27967
a037381f
JM
279682012-01-24 Joseph Myers <joseph@codesourcery.com>
27969
27970 * posix/glob: Remove directory.
27971
f1d4aa75
JM
279722012-01-24 Joseph Myers <joseph@codesourcery.com>
27973
27974 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27975
81c0c964
PT
279762012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27977
27978 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27979 of the non-standard EPFNOSUPPORT.
27980
0ea698ae
ST
279812011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27982
27983 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27984 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27985 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27986
d220b117
UD
279872012-01-21 Ulrich Drepper <drepper@gmail.com>
27988
27989 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27990
3e1aa84e
UD
279912012-01-20 Ulrich Drepper <drepper@gmail.com>
27992
27993 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27994 transient errors.
27995 * nscd/grpcache.c (cache_addgr): Likewise.
27996 * nscd/hstcache.c (cache_addhst): Likewise.
27997 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27998 * nscd/pwdcache.c (cache_addpw): Likewise.
27999 * nscd/servicescache.c (cache_addserv): Likewise.
28000
400aa020
UD
280012012-01-16 Ulrich Drepper <drepper@gmail.com>
28002
d77e7869
UD
28003 * malloc/malloc.c: Various cleanups.
28004 * malloc/hooks.c: Likewise.
28005
400aa020
UD
28006 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28007 * stdlib/bug-fmtmsg1.c: New file.
28008
28009 * stdlib/fmtmsg.c (init): Add missing unlock.
28010 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28011
e0a309cf
MP
280122012-01-12 Marek Polacek <polacek@redhat.com>
28013
28014 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28015 and _GNU_SOURCE.
28016
929d11c7
WS
280172012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28018
28019 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28020 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28021 macro to ensure uniqueness of label name.
28022 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28023 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28024
41d0e869
UD
280252012-01-11 Ulrich Drepper <drepper@gmail.com>
28026
0cc5ed3b
UD
28027 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28028
41d0e869
UD
28029 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28030 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28031 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28033
a47a831a
UD
280342012-01-10 Ulrich Drepper <drepper@gmail.com>
28035
daa891c0
UD
28036 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28037
28038 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28039 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28040 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28041
e58ef0f2
UD
28042 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28043
a47a831a 28044 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
28045 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28046 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 28047 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
28048
28049 * math/bits/math-finite.h: Add ldexp support.
28050
a0bfc9c7
MP
280512012-01-10 Marek Polacek <polacek@redhat.com>
28052
28053 * locale/programs/localedef.h (show_archive_content): Add noreturn
28054 attribute.
28055
d6e97a1d
UD
280562012-01-09 Ulrich Drepper <drepper@gmail.com>
28057
28058 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28059
d5835c26
UD
280602012-01-08 Ulrich Drepper <drepper@gmail.com>
28061
e5f484c6
UD
28062 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28063
d5835c26
UD
28064 * io/Makefile (headers): Add bits/poll2.h.
28065
d1f741e9
WS
280662011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28067
28068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28069 typo #include statement.
28070
ec09c1c4
UD
280712012-01-08 Ulrich Drepper <drepper@gmail.com>
28072
28073 * include/sys/cdefs.h: Define __attribute_alloc_size.
28074 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28075 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28076 * elf/pldd.c: Likewise.
28077 * iconv/iconv_charmap.c: Likewise.
28078 * iconv/iconvconfig.c: Likewise.
28079 * iconv/strtab.c: Likewise.
28080 * locale/programs/locale.c: Likewise.
28081 * locale/programs/localedef.h: Likewise.
28082 * locale/programs/simple-hash.c: Likewise.
28083 * nscd/nscd.h: Likewise.
28084 * nss/makedb.c: Likewise.
28085 * sysdeps/generic/ldconfig.h: Likewise.
28086 * locale/programs/localedef.c: Remove xmalloc prototype.
28087 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28088
20b38e03
PP
280892012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28090
28091 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28092 appropriate.
28093
a0da5fe1
UD
280942012-01-08 Ulrich Drepper <drepper@gmail.com>
28095
1d5a644a 28096 * math/Makefile (tests): Add tst-CMPLX.
669704fd 28097 * math/tst-CMPLX.c: New file.
1d5a644a 28098
8784a6db
UD
28099 * math/complex.h (CMPLXL): Fix typo.
28100
d9a216c0
UD
28101 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28102 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28103 GLIBC_2.16.
28104 * debug/tst-chk1.c: Add poll and ppoll tests.
28105 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28106 * include/sys/poll.h: Add hidden proto for ppoll.
28107 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28108 * sysdeps/mach/hurd/ppoll.c: Likewise.
28109 * io/ppoll.c: Likewise.
28110 * debug/poll_chk.c: New file.
28111 * debug/ppoll_chk.c: New file.
28112 * include/bits/poll2.h: New file.
28113 * io/bits/poll2.h: New file.
28114
ac097f5c
UD
28115 [BZ #1350]
28116 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28117
2119dcfa
UD
28118 * configure.in: static is always set to yes. Remove.
28119 * config.make.in: Don't set build-static.
28120 * Makeconfig: Remove use of build-static.
28121 * dlfcn/Makefile: Likewise.
28122 * elf/Makefile: Likewise.
28123 * math/Makefile: Likewise.
28124 * misc/Makefile: Likewise.
28125 * nptl/Makefile: Likewise.
28126 * sysdeps/mach/hurd/Makefile: Likewise.
28127
121766a9
UD
28128 * configure.in: PWD_P is not used anymore.
28129 * config.make.in: Remove PWD_P entry.
28130
51a1d39c 28131 * configure.in: Remove last remnants of RANLIB.
8720d066 28132 No need to check for signed size_t anymore.
215f4bdc
UD
28133 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28134 and IA-64.
3857022a 28135 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28136 * aclocal.m4: Likewise.
28137
d3ed7225
UD
28138 * wcsmbs/mbrtoc16.c: Implement using towc function.
28139 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28140 * wcsmbs/wcsmbsload.c: Likewise.
28141 * iconv/gconv_simple.c: Likewise.
28142 * iconv/gconv_int.h: Likewise.
28143 * iconv/gconv_builtin.h: Likewise.
28144 * iconv/iconv_prog.c: Remove CHAR16 handling.
28145
28146 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28147
28148 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28149
a0da5fe1
UD
28150 * configure.in: Remove --with-elf and --enable-bounded options.
28151 Dont set base_machine for ia64. More non-ELF conditions removed.
28152 Remove testing and setting of leading underscore information.
28153 * config.make.in (build-bounded): Set to no.
28154 * config.h.in: Remove NO_UNDERSCORES entry.
28155 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28156 them.
28157 * csu/start.c: Remove !NO_UNDERSCORE code.
28158 * locale/localeinfo.h: Likewise.
28159 * sysdeps/generic/machine-gmon.h: Likewise.
28160 * sysdeps/generic/sysdep.h: Likewise.
28161 * sysdeps/i386/sysdep.h: Likewise.
28162 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28163 * sysdeps/mach/sysdep.h: Likewise.
28164 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28165 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28166 * sysdeps/sh/sysdep.h: Likewise.
28167 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28168 * sysdeps/unix/i386/sysdep.S: Likewise.
28169 * sysdeps/unix/sparc/start.c: Likewise.
28170 * sysdeps/unix/sparc/sysdep.S: Likewise.
28171 * sysdeps/unix/sparc/sysdep.h: Likewise.
28172 * sysdeps/unix/start.c: Likewise.
28173 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28174 * sysdeps/x86_64/sysdep.h: Likewise.
28175
df78418a
UD
281762012-01-07 Ulrich Drepper <drepper@gmail.com>
28177
a784e502
UD
28178 [BZ #13553]
28179 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28180 for non-gcc.
28181 * argp/argp-fmtstream.h: Use const instead __const.
28182 * argp/argp.h: Likewise.
28183 * assert/assert.h: Likewise.
28184 * bits/fenv.h: Likewise.
28185 * bits/sched.h: Likewise.
28186 * bits/sigset.h: Likewise.
28187 * bits/sigthread.h: Likewise.
28188 * catgets/nl_types.h: Likewise.
28189 * conform/data/pthread.h-data: Likewise.
28190 * crypt/crypt-private.h: Likewise.
28191 * crypt/crypt.h: Likewise.
28192 * crypt/crypt_util.c: Likewise.
28193 * ctype/ctype.h: Likewise.
28194 * debug/execinfo.h: Likewise.
28195 * debug/mbsnrtowcs_chk.c: Likewise.
28196 * debug/mbsrtowcs_chk.c: Likewise.
28197 * debug/wcsnrtombs_chk.c: Likewise.
28198 * debug/wcsrtombs_chk.c: Likewise.
28199 * debug/wcstombs_chk.c: Likewise.
28200 * dirent/dirent.h: Likewise.
28201 * dlfcn/dlfcn.h: Likewise.
28202 * elf/neededtest4.c: Likewise.
28203 * grp/grp.h: Likewise.
28204 * gshadow/gshadow.h: Likewise.
28205 * iconv/gconv.h: Likewise.
28206 * iconv/gconv_int.h: Likewise.
28207 * iconv/gconv_simple.c: Likewise.
28208 * iconv/iconv.h: Likewise.
28209 * iconv/loop.c: Likewise.
28210 * iconv/skeleton.c: Likewise.
28211 * include/aio.h: Likewise.
28212 * include/aliases.h: Likewise.
28213 * include/argz.h: Likewise.
28214 * include/arpa/inet.h: Likewise.
28215 * include/assert.h: Likewise.
28216 * include/dirent.h: Likewise.
28217 * include/dlfcn.h: Likewise.
28218 * include/execinfo.h: Likewise.
28219 * include/fcntl.h: Likewise.
28220 * include/fenv.h: Likewise.
28221 * include/glob.h: Likewise.
28222 * include/grp.h: Likewise.
28223 * include/libintl.h: Likewise.
28224 * include/mntent.h: Likewise.
28225 * include/netdb.h: Likewise.
28226 * include/pwd.h: Likewise.
28227 * include/rpc/netdb.h: Likewise.
28228 * include/sched.h: Likewise.
28229 * include/search.h: Likewise.
28230 * include/shadow.h: Likewise.
28231 * include/signal.h: Likewise.
28232 * include/stdio.h: Likewise.
28233 * include/stdlib.h: Likewise.
28234 * include/string.h: Likewise.
28235 * include/sys/socket.h: Likewise.
28236 * include/sys/stat.h: Likewise.
28237 * include/sys/statfs.h: Likewise.
28238 * include/sys/statvfs.h: Likewise.
28239 * include/sys/syslog.h: Likewise.
28240 * include/sys/time.h: Likewise.
28241 * include/sys/uio.h: Likewise.
28242 * include/time.h: Likewise.
28243 * include/unistd.h: Likewise.
28244 * include/utmp.h: Likewise.
28245 * include/wchar.h: Likewise.
28246 * include/wctype.h: Likewise.
28247 * inet/aliases.h: Likewise.
28248 * inet/arpa/inet.h: Likewise.
28249 * inet/netinet/ether.h: Likewise.
28250 * inet/netinet/in.h: Likewise.
28251 * intl/libintl.h: Likewise.
28252 * io/bits/fcntl2.h: Likewise.
28253 * io/fcntl.h: Likewise.
28254 * io/ftw.h: Likewise.
28255 * io/sys/poll.h: Likewise.
28256 * io/sys/stat.h: Likewise.
28257 * io/sys/statfs.h: Likewise.
28258 * io/sys/statvfs.h: Likewise.
28259 * io/utime.h: Likewise.
28260 * libio/bits/stdio.h: Likewise.
28261 * libio/bits/stdio2.h: Likewise.
28262 * libio/libio.h: Likewise.
28263 * libio/libioP.h: Likewise.
28264 * libio/stdio.h: Likewise.
28265 * locale/lc-ctype.c: Likewise.
28266 * locale/locale.h: Likewise.
28267 * login/utmp.h: Likewise.
28268 * malloc/arena.c: Likewise.
28269 * malloc/malloc.c: Likewise.
28270 * malloc/malloc.h: Likewise.
28271 * malloc/mcheck.c: Likewise.
28272 * malloc/mtrace.c: Likewise.
28273 * math/bits/mathcalls.h: Likewise.
28274 * math/fenv.h: Likewise.
28275 * math/math_private.h: Likewise.
28276 * misc/bits/error.h: Likewise.
28277 * misc/bits/syslog.h: Likewise.
28278 * misc/err.h: Likewise.
28279 * misc/error.h: Likewise.
28280 * misc/fstab.h: Likewise.
28281 * misc/mntent.h: Likewise.
28282 * misc/regexp.h: Likewise.
28283 * misc/search.h: Likewise.
28284 * misc/sgtty.h: Likewise.
28285 * misc/sys/mman.h: Likewise.
28286 * misc/sys/syslog.h: Likewise.
28287 * misc/sys/uio.h: Likewise.
28288 * misc/sys/xattr.h: Likewise.
28289 * misc/ttyent.h: Likewise.
28290 * nis/rpcsvc/ypclnt.h: Likewise.
28291 * nss/nss.h: Likewise.
28292 * posix/bits/unistd.h: Likewise.
28293 * posix/fnmatch.h: Likewise.
28294 * posix/glob.h: Likewise.
28295 * posix/sched.h: Likewise.
28296 * posix/spawn.h: Likewise.
28297 * posix/sys/wait.h: Likewise.
28298 * posix/unistd.h: Likewise.
28299 * posix/wordexp.h: Likewise.
28300 * pwd/pwd.h: Likewise.
28301 * resolv/netdb.h: Likewise.
28302 * resource/sys/resource.h: Likewise.
28303 * rt/aio.h: Likewise.
28304 * rt/bits/mqueue2.h: Likewise.
28305 * rt/mqueue.h: Likewise.
28306 * shadow/shadow.h: Likewise.
28307 * signal/signal.h: Likewise.
28308 * socket/send.c: Likewise.
28309 * socket/sendto.c: Likewise.
28310 * socket/sys/socket.h: Likewise.
28311 * stdio-common/printf.h: Likewise.
28312 * stdlib/bits/stdlib.h: Likewise.
28313 * stdlib/fmtmsg.h: Likewise.
28314 * stdlib/monetary.h: Likewise.
28315 * stdlib/stdlib.h: Likewise.
28316 * stdlib/ucontext.h: Likewise.
28317 * streams/stropts.h: Likewise.
28318 * string/argz.h: Likewise.
28319 * string/bits/string2.h: Likewise.
28320 * string/string.h: Likewise.
28321 * string/strings.h: Likewise.
28322 * sunrpc/rpc/auth.h: Likewise.
28323 * sunrpc/rpc/auth_des.h: Likewise.
28324 * sunrpc/rpc/clnt.h: Likewise.
28325 * sunrpc/rpc/netdb.h: Likewise.
28326 * sunrpc/rpc/pmap_clnt.h: Likewise.
28327 * sunrpc/rpc/xdr.h: Likewise.
28328 * sysdeps/generic/inttypes.h: Likewise.
28329 * sysdeps/generic/net/if.h: Likewise.
28330 * sysdeps/generic/sys/swap.h: Likewise.
28331 * sysdeps/gnu/net/if.h: Likewise.
28332 * sysdeps/gnu/utmpx.h: Likewise.
28333 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28334 * sysdeps/i386/i486/bits/string.h: Likewise.
28335 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28336 * sysdeps/s390/bits/string.h: Likewise.
28337 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28338 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28339 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28340 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28341 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28342 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28343 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28344 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28345 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28346 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28347 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28348 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28349 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28350 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28351 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28352 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28353 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28355 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28356 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28357 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28358 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28359 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28360 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28361 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28362 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28363 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28364 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28365 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28366 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28367 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28368 * sysvipc/sys/ipc.h: Likewise.
28369 * sysvipc/sys/msg.h: Likewise.
28370 * sysvipc/sys/sem.h: Likewise.
28371 * sysvipc/sys/shm.h: Likewise.
28372 * termios/termios.h: Likewise.
28373 * time/sys/time.h: Likewise.
28374 * time/time.h: Likewise.
28375 * wcsmbs/bits/wchar2.h: Likewise.
28376 * wcsmbs/uchar.h: Likewise.
28377 * wcsmbs/wchar.h: Likewise.
28378 * wctype/wctype.h: Likewise.
28379
0269750c
UD
28380 [BZ #13551]
28381 * Makeconfig: Remove all but ELF support including AIX support.
28382 * Makerules: Likewise.
28383 * config.h.in: Likewise.
28384 * config.make.in: Likewise.
28385 * configure: Likewise.
28386 * configure.in: Likewise.
28387 * csu/Makefile: Likewise.
28388 * csu/version.c: Likewise.
28389 * debug/Makefile: Likewise.
28390 * dlfcn/Makefile: Likewise.
28391 * elf/Makefile: Likewise.
28392 * extra-lib.mk: Likewise.
28393 * iconv/Makefile: Likewise.
28394 * include/libc-symbols.h: Likewise.
28395 * include/shlib-compat.h: Likewise.
28396 * resolv/Makefile: Likewise.
28397 * resolv/res_libc.c: Likewise.
28398 * rt/Makefile: Likewise.
28399 * sysdeps/i386/asm-syntax.h: Likewise.
28400 * sysdeps/i386/sysdep.h: Likewise.
28401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28402 * sysdeps/mach/sysdep.h: Likewise.
28403 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28404 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28405 * sysdeps/s390/asm-syntax.h: Likewise.
28406 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28407 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28408 * sysdeps/sh/sysdep.h: Likewise.
28409 * sysdeps/unix/sparc/sysdep.h: Likewise.
28410 * sysdeps/wordsize-32/divdi3.c: Likewise.
28411 * sysdeps/x86_64/sysdep.h: Likewise.
28412
00bbd29b
UD
28413 * argp/Versions: Remove _argp_unlock_xxx.
28414
28415 [BZ #13559]
28416 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28417 * abilist/libBrokenLocale.abilist: Likewise.
28418 * abilist/libanl.abilist: Likewise.
28419 * abilist/libc.abilist: Likewise.
28420 * abilist/libcrypt.abilist: Likewise.
28421 * abilist/libdl.abilist: Likewise.
28422 * abilist/libm.abilist: Likewise.
28423 * abilist/libnsl.abilist: Likewise.
28424 * abilist/libpthread.abilist: Likewise.
28425 * abilist/libresolv.abilist: Likewise.
28426 * abilist/librt.abilist: Likewise.
28427 * abilist/libthread_db.abilist: Likewise.
28428 * abilist/libutil.abilist: Likewise.
28429 * abilist/libnss_db.abilist: New file.
28430
28431 * scripts/abilist.awk: Add support for indirect functions.
28432
a2693a0e
UD
28433 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28434
3f05895f
UD
28435 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28436
ecb6fb48
UD
28437 * shlib-versions: Remove entries for ports architectures.
28438
664f8cb9
UD
28439 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28440 files in ports.
28441 * elf/stackguard-macros.h: Remove support for IA-64.
28442 * elf/tst-auditmod1.c: Likewise.
28443 * sysdeps/generic/ldsodefs.h: Likewise.
28444
7ae81d88
UD
28445 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28446 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28447 configure files.
28448
bdeba135
UD
28449 [BZ #13552]
28450 * configure.in: Remove --enable-omitfp support.
28451 * FAQ.in: Adjust.
28452 * config.make.in: Likewise.
28453 * Makeconfig: Likewise.
28454 * manual/install.texi: Likewise.
28455
d75a0a62
UD
28456 In case anyone cares, the IA-64 architecture could move to ports.
28457 * sysdeps/ia64/*: Removed.
28458 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28459 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28460
dcc9756b
UD
28461 [BZ #13555]
28462 * configure.in: Remove entries for unsupported architectures.
28463
d3761ebc 28464 [BZ #13533]
9954432e
UD
28465 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28466 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28467 routines.
28468 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28469 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28470 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28471 fall back to using wcrtomb.
28472 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28473 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28474 renaming.
28475 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28476 * wcsmbs/tst-c16c32-1.c: New file.
28477
28478 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28479 local variable.
28480
c3a87236
UD
28481 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28482
28926a1b
UD
28483 * elf/tst-unique3.cc: Add explicit declaration of gets.
28484 * elf/tst-unique3lib.cc: Likewise.
28485 * elf/tst-unique3lib2.cc: Likewise.
28486 * elf/tst-unique4.cc: Likewise.
28487
df78418a
UD
28488 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28489
8ecd6b2a
JM
284902012-01-06 Joseph Myers <joseph@codesourcery.com>
28491
28492 [BZ #13566]
28493 * assert/assert.h (static_assert): Don't define for C++.
28494 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28495 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28496
9f115170
UD
284972012-01-03 Ulrich Drepper <drepper@gmail.com>
28498
5e0d0300
UD
28499 * iconv/loop.c (single loop): Fix assertion in storing of
28500 remaining bytes.
28501
9f115170
UD
28502 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28503
81fb02b0
UD
285042012-01-01 Ulrich Drepper <drepper@gmail.com>
28505
28506 * posix/getconf.c: Update copyright year.
28507 * nss/getent.c: Likewise.
a316c1f6 28508 * nss/makedb.c: Likewise.
81fb02b0
UD
28509 * iconv/iconvconfig.c: Likewise.
28510 * iconv/iconv_prog.c: Likewise.
28511 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28512 * elf/pldd.c: Likewise.
28513 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28514 * catgets/gencat.c: Likewise.
28515 * csu/version.c: Likewise.
28516 * elf/ldd.bash.in: Likewise.
28517 * elf/sprof.c (print_version): Likewise.
28518 * locale/programs/locale.c: Likewise.
28519 * locale/programs/localedef.c: Likewise.
a316c1f6 28520 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28521 * nscd/nscd.c (print_version): Likewise.
28522 * debug/xtrace.sh: Likewise.
28523 * malloc/memusage.sh: Likewise.
28524 * malloc/mtrace.pl: Likewise.
28525 * debug/catchsegv.sh: Likewise.
28526
2ba92745
JJ
285272011-12-30 Jakub Jelinek <jakub@redhat.com>
28528
28529 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28530 pure attribute.
28531
dadebdae
UD
285322011-12-24 Ulrich Drepper <drepper@gmail.com>
28533
d3761ebc 28534 [BZ #13533]
db6af3eb
UD
28535 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28536 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28537 transformations.
28538 * iconv/gconv_int.h: Likewise.
28539 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28540 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28541 from libc for GLIBC_2.16.
28542 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28543 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28544 * wcsmbs/uchar.h: Really define mbstate_t.
28545 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28546 * wcsmbs/c16rtomb.c: New file.
28547 * wcsmbs/mbrtoc16.c: New file.
28548 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28549 for C/POSIX locale.
28550 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28551 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28552
dadebdae
UD
28553 * wcsmbs/wchar.h: Add missing __restrict.
28554
67371b56
UD
285552011-12-23 Ulrich Drepper <drepper@gmail.com>
28556
74033a25
UD
28557 [BZ #13532]
28558 * time/Makefile (routines): Add timespec_get.
28559 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28560 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28561 timespec for ISO C11.
28562 * time/timespec_get.c: New file.
28563 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28564 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28565
380d7e87
UD
28566 [BZ #13531]
28567 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28568 * stdlib/stdlib.h: Declare aligned_alloc.
28569 * Versions.def: Add GLIBC_2.16 for libc.
28570 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28571
4e9e7a35
UD
28572 [BZ 13527]
28573 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28574 ISO C11.
28575
380d7e87 28576 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28577 code.
28578
03a71829
UD
28579 [BZ #13528]
28580 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28581
839e283e
UD
28582 [BZ #13529]
28583 * assert/assert.h (static_assert): Define.
28584
ce5294e2 28585 * version.h: Update for 2.16 development version.
90fa7312 28586
8d44e150 28587 [BZ #13526]
d7809905
UD
28588 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28589 _ISOC11_SOURCE.
28590
c0da14cd
UD
28591 * version.h (RELEASE): Bump for 2.15 release.
28592 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28593
530a3249
MP
28594 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28595 Patch by Marek Polacek <mpolacek@redhat.com>.
28596
67371b56
UD
28597 * bits/byteswap.h: Protect long long constants with __extension__.
28598 * sysdeps/i386/bits/byteswap.h: Likewise.
28599 * sysdeps/ia64/bits/byteswap.h: Likewise.
28600 * sysdeps/s390/bits/byteswap.h: Likewise.
28601 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28602
15db4de1
LD
286032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28604
28605 [BZ #13540]
bbe315ea
LD
28606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28607 destination buffer.
15db4de1
LD
28608 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28609
2b2596b1
MP
286102011-12-23 Marek Polacek <polacek@redhat.com>
28611
28612 * elf/dl-addr.c (determine_info): Add inline keyword.
28613 * elf/tst-auditmod4b.c (check_avx): Likewise.
28614 * elf/tst-auditmod6b.c (check_avx): Likewise.
28615 * elf/tst-auditmod6c.c (check_avx): Likewise.
28616 * elf/tst-auditmod7b.c (check_avx): Likewise.
28617
70c6c246
UD
286182011-12-23 Ulrich Drepper <drepper@gmail.com>
28619
28620 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28621 !__SSE_MATH__.
28622
c044cf14
LD
286232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28624
15db4de1 28625 [BZ #13540]
c044cf14
LD
28626 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28627 processing for last bytes.
28628
6b13d9d9
BH
286292011-08-06 Bruno Haible <bruno@clisp.org>
28630
d455f537
BH
28631 [BZ #13061]
28632 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28633 U+0385, not to U+1FEE.
28634
6b13d9d9
BH
28635 [BZ #13062]
28636 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28637 entry for U+00A5 U+0301.
28638
db910efd
UD
286392011-12-22 Ulrich Drepper <drepper@gmail.com>
28640
27deeafc
UD
28641 [BZ #13166]
28642 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28643 buffer for the output is too small.
28644
aed9d171
UD
28645 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28646 optimization.
28647
db910efd
UD
28648 [BZ #13185]
28649 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28650 SSE flags if possible.
28651
2bd779ae
LD
286522011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28653
e7f9dac3 28654 [BZ #13540]
2bd779ae
LD
28655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28656 processing for last bytes.
28657
154bfc16
JM
286582011-12-22 Joseph Myers <joseph@codesourcery.com>
28659
28660 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28661 (syscall-list-default-options, syscall-list-default-condition)
28662 (syscall-list-includes): Define.
28663 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28664 list of ABIs and options and #if conditions for each ABI. Do not
28665 handle common syscalls between ABIs specially.
28666 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28667 Remove.
28668 (syscall-list-variants, syscall-list-32bit-options)
28669 (syscall-list-32bit-condition, syscall-list-64bit-options)
28670 (syscall-list-64bit-condition): Define.
28671 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28672 (syscall-list-variants, syscall-list-32bit-options)
28673 (syscall-list-32bit-condition, syscall-list-64bit-options)
28674 (syscall-list-64bit-condition): Define.
28675 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28676 Remove.
28677 (syscall-list-variants, syscall-list-32bit-options)
28678 (syscall-list-32bit-condition, syscall-list-64bit-options)
28679 (syscall-list-64bit-condition): Define.
28680 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28681 Remove.
28682 (syscall-list-variants, syscall-list-32bit-options)
28683 (syscall-list-32bit-condition, syscall-list-64bit-options)
28684 (syscall-list-64bit-condition): Define.
28685
21eaf3a5
UD
286862011-12-22 Ulrich Drepper <drepper@gmail.com>
28687
16c6f992
UD
28688 * locale/iso-639.def: Add brx entry.
28689
41043168
UD
28690 [BZ #13328]
28691 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28692 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28693
21eaf3a5
UD
28694 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28695 __feraiseexcept_renamed.
28696
e3a851a2
UD
286972011-12-21 Ulrich Drepper <drepper@gmail.com>
28698
4920765e
UD
28699 [BZ #13538]
28700 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28701 EPOLLET with unsigned values.
28702 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28703 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28704
e3a851a2
UD
28705 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28706 to large cancellation.
28707 * math/s_cacoshf.c: Likewise.
28708 * math/s_cacoshl.c: Likewise.
28709
b27e24b8
RK
287102011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28711
28712 [BZ #13305]
aebefeee 28713 [BZ #12786]
b27e24b8
RK
28714 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28715 * math/s_cacoshf.c: Likewise.
28716 * math/s_cacoshl.c: Likewise.
28717
ee190f67
UD
287182011-12-21 Ulrich Drepper <drepper@gmail.com>
28719
28720 [BZ #13439]
28721 * iconv/gconv.h: Define __GCONV_SWAP.
28722 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28723 * iconvdata/utf-16.c: Likewise.
28724 * iconvdata/utf-32.c: Likewise.
28725
707f25df
AS
287262011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28727
28728 [BZ #13524]
28729 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28730 numerator after shifting it by one limb.
28731
d2daaa1e
RÁE
287322011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28733
28734 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28735 under [__USE_EXTERN_INLINES].
28736
a4647e72
UD
287372011-12-17 Ulrich Drepper <drepper@gmail.com>
28738
28739 [BZ #13446]
28740 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28741
f0b264f1
AZ
287422011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28743
28744 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28745 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28746 optimized code.
28747 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28748 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28749 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28750 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28751 for strncasecmp/strncasecmp_l compilation.
28752 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28753 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28754
8ef4f244
MP
287552011-12-08 Marek Polacek <mpolacek@redhat.com>
28756
28757 [BZ #13484]
28758 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28759 of __asm__.
28760
97ac2654
UD
287612011-12-17 Ulrich Drepper <drepper@gmail.com>
28762
28763 [BZ #13506]
28764 * time/tzfile.c (__tzfile_read): Check values from file header.
28765
91d2a845
WS
287662011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28767
28768 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28769 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28770 * powerpc/powerpc32/dl-start.S: Likewise.
28771 * powerpc/powerpc32/elf/start.S: Likewise.
28772 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28773 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28774 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28775 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28776 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28777 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28778 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28779 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28780 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28781 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28782 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28783 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28784 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28785 * powerpc/powerpc32/memset.S: Likewise.
28786 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28787 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28788 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28789 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28790 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28791 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28792 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28793 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28794 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28795 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28796 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28797 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28798 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28799
a1267ba1
AZ
288002011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28801
28802 * math/libm-test.inc: Added more nearbyint tests.
28803 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28804 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28805 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28806 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28807
ad8ac1bd
RL
288082011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28809
28810 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28811 FD_CLOEXEC.
28812
1d3e4b61
UD
288132011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28814
28815 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28816 Add wcscpy-ssse3 wcscpy-c.
28817 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28818 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28819 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28820 * sysdeps/x86_64/wcschr.S: New file.
28821 * sysdeps/x86_64/wcsrchr.S: New file.
28822 * string/test-strcmp.c: Remove checking of wcscmp function for
28823 wrong alignments.
28824 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28825 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28826 wcsrchr-sse2 wcsrchr-c.
28827 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28828 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28829 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28830 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28831 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28832 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28833 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28834 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28835 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28836 * wcsmbc/wcschr.c (WCSCHR): New macro.
28837
5b330a2d
UD
288382011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28839
28840 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28841 * wcsmbs/test-wcsrchr.c: New file.
28842 * string/test-strrchr.c: Add wcsrchr support.
28843 (WIDE): New macro.
28844 * wcsmbs/test-wcscpy.c: New file.
28845 * string/test-strcpy.c: Add wcscpy support.
28846 (WIDE): New macro.
26428b7c 28847
f039c043
UD
288482011-12-10 Ulrich Drepper <drepper@gmail.com>
28849
28850 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28851 the inner loop.
28852
850fb039
AS
288532011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28854
28855 [BZ #13472]
28856 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28857
4efbd5cb
UD
288582011-12-04 Ulrich Drepper <drepper@gmail.com>
28859
52ff5dd0 28860 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28861 Minor optimizations.
52ff5dd0 28862
4efbd5cb
UD
28863 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28864 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28865 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28866
8a426e12
UD
288672011-12-03 Ulrich Drepper <drepper@gmail.com>
28868
aff2453d
UD
28869 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28870 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28871 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28872 for gcc to avoid warnings.
28873 * inet/Makefile (tests): Add tst-checks.
28874 * inet/tst-checks.c: New file.
28875
28876 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28877 warning.
28878
28879 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28880 __wmemcmp_sse2.
28881
28882 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28883 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28884
8a426e12
UD
28885 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28886
9bea3473
UD
288872011-12-02 Ulrich Drepper <drepper@gmail.com>
28888
3a965496
UD
28889 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28890 problem.
28891
9bea3473
UD
28892 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28893
f101631b
UD
288942011-11-29 Joseph Myers <joseph@codesourcery.com>
28895
28896 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28897 conditional on GCC version.
28898 (__arch_compare_and_exchange_val_8_acq)
28899 (__arch_compare_and_exchange_val_16_acq)
28900 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28901 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28902 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28903
a98275aa
UD
289042011-12-02 Joseph Myers <joseph@codesourcery.com>
28905
28906 * sysdeps/sh/backtrace.c: New file.
28907
d4cc29a2
AS
289082011-12-02 Andreas Schwab <schwab@redhat.com>
28909
28910 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28911 parenthesis.
28912
6257af2d
AS
289132011-12-01 Andreas Schwab <schwab@redhat.com>
28914
28915 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28916 falling back to utime.
28917
b5f44c1a
AS
289182011-11-30 Andreas Schwab <schwab@redhat.com>
28919
28920 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28921 expectations for float.
28922
f3a6cc0a
AS
289232011-11-29 Andreas Schwab <schwab@redhat.com>
28924
28925 * locale/weight.h (findidx): Add parameter len.
28926 * locale/weightwc.h (findidx): Likewise.
28927 * posix/fnmatch_loop.c (FCT): Adjust caller.
28928 * posix/regcomp.c (build_equiv_class): Likewise.
28929 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28930 * posix/regexec.c (check_node_accept_bytes): Likewise.
28931 * string/strcoll_l.c (STRCOLL): Likewise.
28932 * string/strxfrm_l.c (STRXFRM): Likewise.
28933
9d65ea3a
UD
289342011-11-17 Ulrich Drepper <drepper@gmail.com>
28935
28936 * Makefile.in: Remove CVSOPT handling.
28937 * configure.in: Remove use of AC_REVISION.
28938 * iconvdata/Makefile (distribute): No need to filter out CVS.
28939 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28940 handling.
28941
5583a086
AS
289422011-11-16 Andreas Schwab <schwab@redhat.com>
28943
28944 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28945 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28946 [USE_AS_STRNCASECMP_L]: Likewise.
28947 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28948 NO_TLS_DIRECT_SEG_REFS.
28949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28950 Fix argument offsets for non-PIC.
28951 [USE_AS_STRNCASECMP_L]: Likewise.
28952 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28953 NO_TLS_DIRECT_SEG_REFS.
28954
d62a8200
UD
289552011-11-15 Ulrich Drepper <drepper@gmail.com>
28956
9d65ea3a 28957 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28958 O_CLOEXEC.
28959 * locale/loadlocale.c (_nl_load_locale): Likewise.
28960
09f93bd3
AS
289612011-11-15 Andreas Schwab <schwab@redhat.com>
28962
446514f9
AS
28963 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28964 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28965 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28966 (SYSCALL_GETTIME): Set errno on error.
28967
09f93bd3
AS
28968 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28969 count references to noai6ai_cached.
28970
312be3f9
UD
289712011-11-15 Ulrich Drepper <drepper@gmail.com>
28972
28973 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28974
28975 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28976 FD_CLOEXEC for /proc/self/maps.
28977
28978 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28979 FD_CLOEXEC for /proc/meminfo.
28980
28981 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28982 gai.conf.
28983
28984 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28985 FD_CLOEXEC for given file.
28986
28987 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28988
28989 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28990 FD_CLOEXEC for /etc/hosts.
28991 (_gethtent): Likewise.
28992
28993 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28994
28995 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28996 cancellation and set FD_CLOEXEC for /etc/netgroup.
28997
28998 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28999 reading /etc/publickey.
29000
29001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29002 allow cancellation when reading /etc/group.
29003
29004 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29005 cancellation.
29006 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29007
29008 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29009 when using data file.
29010
29011 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29012
29013 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29014 (write_nis_obj): Use "c" and "e" in fopen.
29015
29016 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29017
29018 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29019
29020 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29021
29022 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29023
29024 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29025 locale.alias.
29026
29027 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29028
29029 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29030
29031 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29032
29033 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29034 file parsing and set FD_CLOEXEC.
29035
82af0fa8
UD
290362011-11-14 Ulrich Drepper <drepper@gmail.com>
29037
29038 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29039
a5fb313c
AS
290402011-11-14 Andreas Schwab <schwab@redhat.com>
29041
29042 * malloc/arena.c (arena_get2): Don't call reused_arena when
29043 _int_new_arena failed.
29044
6abf3465
UD
290452011-11-14 Ulrich Drepper <drepper@gmail.com>
29046
29047 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29048 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29049 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29050 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29051 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29052 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29053 to compile strcasecmp and strncasecmp.
29054 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29055 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29056
29057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29058
76e3966e
UD
290592011-11-13 Ulrich Drepper <drepper@gmail.com>
29060
29061 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29062 locale-defines.sym to gen-as-const-headers.
29063 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29064 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29066 to compile strcasecmp and strncasecmp.
29067 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29068 strcasecmp_l and strncasecmp_l.
29069 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29070 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29071 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29072 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29073 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29074 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29075 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29076 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29077 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29078 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29079 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29080
ab26144e
UD
290812011-11-12 Ulrich Drepper <drepper@gmail.com>
29082
7edb22ef
UD
29083 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29084 result of SYSDEP_GETTIME_CPU to retval.
29085 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29086 parameter list to macro. Remove trailing semicolon. Adjust users.
29087
9694fc44
UD
29088 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29089 variable.
29090
8ad89ef8
UD
29091 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29092 mantissa words.
29093 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29094
0c822ef9
UD
29095 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29096 from unused variable.
29097
874e0564
UD
29098 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29099 DWARF definitions.
29100 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29101 for assembling.
29102
3a2edc79
UD
29103 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29104 over namespaces.
29105
f3c2577f
UD
29106 * sunrpc/rpc_prot.c (rejected): Fix case value.
29107
294ce126
UD
29108 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29109 unsigned long long int to avoid warnings in shift.
29110
5e2b63c6
UD
29111 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29112 of use of trans.
29113 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29114 variable tmp.
29115
e7f4b08e
UD
29116 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29117 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29118 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29119
ab26144e
UD
29120 * nis/nis_table.c (nis_list): Use variable of correct type for
29121 result of __follow_path call.
29122
8a6d5255
AZ
291232011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29124
29125 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29126 of math functions ceil, trunc, floor, round, and sqrt, when
29127 avaliable on the platform.
29128 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29129 name clash.
29130 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29131 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29132 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29133
aaddc98c
MP
291342011-10-30 Marek Polacek <mpolacek@redhat.com>
29135
29136 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29137 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29138
95b7042b
RM
291392011-11-11 Roland McGrath <roland@hack.frob.com>
29140
29141 * include/unistd.h: Fix __readlink return type.
29142 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29143
57769839
UD
291442011-11-11 Ulrich Drepper <drepper@gmail.com>
29145
29146 * stdlib/ucontext.h: Undo last change for makecontext.
29147
edc5984d
AS
291482011-11-11 Andreas Schwab <schwab@redhat.com>
29149
98591e58
AS
29150 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29151
edc5984d
AS
29152 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29153 * setjmp/setjmp.h: Mark functions as non-leaf.
29154 * setjmp/bits/setjmp2.h: Likewise.
29155 * stdlib/ucontext.h: Likewise.
29156
77cdc054
AS
291572011-11-10 Andreas Schwab <schwab@redhat.com>
29158
29159 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29160 (reused_arena): Don't check arena limit.
29161 (arena_get2): Atomically check arena limit.
29162
fe72eebd
UD
291632011-11-08 Ulrich Drepper <drepper@gmail.com>
29164
5f078c32
UD
29165 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29166 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29167
fe72eebd
UD
29168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29169 instructions.
29170
ae1bc2fa
AS
291712011-11-07 Andreas Schwab <schwab@redhat.com>
29172
7583a88d
AS
29173 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29174 handler when locking.
29175
ae1bc2fa
AS
29176 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29177 Fix size of allocated buffer.
29178
10fb0bfa
AS
291792011-11-04 Andreas Schwab <schwab@redhat.com>
29180
998832a4
AS
29181 [BZ #10103]
29182 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29183 declarations for long double functions.
29184 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29185
10fb0bfa
AS
29186 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29187
3d7ba52b
AS
291882011-11-03 Andreas Schwab <schwab@redhat.com>
29189
a9ae54a1
AS
29190 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29191 installed.
29192
3d7ba52b
AS
29193 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29194 is disabled.
29195
bc8db248
ST
291962011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29197
29198 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29199
45b96dd6
AS
292002011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29201
647776f6
AS
29202 * include/alloca.h (stackinfo_alloca_round): Define.
29203 (extend_alloca): Use it.
29204 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29205 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29206 here.
29207
d91a8b93
AS
29208 * scripts/check-local-headers.sh: Ignore libaudit.h.
29209
45b96dd6
AS
29210 * nscd/Makefile (extra-objs): Make recursively expanded.
29211
432d41ce
UD
292122011-11-01 Ulrich Drepper <drepper@gmail.com>
29213
34372fc6
UD
29214 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29215 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29216
fadb59f8
UD
29217 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29218 * posix/tst-rfc3484-2.c: Likewise.
29219 * posix/tst-rfc3484-3.c: Likewise.
29220
78239589
UD
29221 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29222 process_vm_writev.
29223 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29224 process_vm_writev.
29225 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29226 process_vm_writev from libc using GLIBC_2.15 version.
29227
432d41ce
UD
29228 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29229
02f9c6cf
PP
292302011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29231
29232 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29233 stack usage.
29234
3a2c0242
UD
292352011-10-31 Ulrich Drepper <drepper@gmail.com>
29236
f4ec4833
UD
29237 [BZ #13367]
29238 * nss/getent.c (initgroups_keys): Show error message in case no group
29239 names are given.
29240
3a2c0242
UD
29241 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29242 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29243 __bump_nl_timestamp.
29244 * nscd/connections (nscd_init): When host database is served open
29245 netlink socket and request notification about configuration changes.
29246 (main_loop_poll): Track netlink file descriptor and bump timestamp
29247 in case data becomes available.
29248 (main_loop_epoll): Likewise.
29249 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29250 (database_pers_head): Add extra_data fileds.
29251 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29252 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29253 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29254 Adjust caller.
29255 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29256 in6ai data, call __free_in6ai.
29257 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29258 Add -DHAVE_NETLINK.
29259 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29260 interface information. Reuse previous data if netlink timestamp
29261 is not changed.
29262 (__bump_nl_timestamp): New function.
29263 (__free_in6ai): New function.
29264
636064eb
UD
292652011-10-30 Ulrich Drepper <drepper@gmail.com>
29266
29267 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29268 close_not_cancel_no_status here.
29269 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29270
9beb2334
UD
292712011-10-29 Ulrich Drepper <drepper@gmail.com>
29272
6ef76f3b
UD
29273 [BZ #13276]
29274 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29275 return value.
29276
0ffc4f3e 29277 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29278 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29279 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29280
cb95113e
UD
292812011-07-03 Andreas Jaeger <aj@suse.de>
29282
29283 [BZ #10709]
29284 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29285 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29286 * math/libm-test.inc (sin_test): Add test case.
29287
a1b560ff
UD
292882011-10-29 Ulrich Drepper <drepper@gmail.com>
29289
c9aaface
UD
29290 [BZ #13337]
29291 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29292 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29293
d272e7f1
UD
29294 * elf/chroot_canon.c (chroot_canon): Cleanups.
29295
1bc33071
UD
29296 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29297
1760874d
TJ
29298 [BZ #13335]
29299 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29300 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29301
51d91b18
UD
29302 * string/test-strchr.c: Make usable for strchrnul testing.
29303 * string/test-strchrnul.c: New file.
29304 * string/Makefile (strop-tests): Add strchrnul.
29305
a1b560ff 29306 * po/it.po: Update from translation team.
b611fb81 29307 * po/es.po: Likewise.
a1b560ff 29308
a5b81e1f
UD
293092011-10-28 Ulrich Drepper <drepper@gmail.com>
29310
fd52bc6d
UD
29311 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29312 the three constants needed as parameters. Drop the others.
29313 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29314 __m128i_strloadu_tolower.
52e4b9eb
UD
29315 Create and initialize variable zero and use it in all the places
29316 where _mm_setzero_si128 was used.
fd52bc6d 29317
a5b81e1f
UD
29318 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29319 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29320 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29321 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29322 anymore.
29323 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29324 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29325 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29326 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29327 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29328 __mpranred, __mptan.
29329 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29330 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29331 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29332 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29333 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29334 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29335 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29336 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29337 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29338
b4343346
AS
293392011-10-28 Andreas Schwab <schwab@redhat.com>
29340
0c92d8a8
AS
29341 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29342 redefine if SHARED.
29343 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29344
b4343346
AS
29345 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29346 wide char related routines to wcsmbs subdir.
29347
3871f58f
AS
293482011-10-27 Andreas Schwab <schwab@redhat.com>
29349
29350 [BZ #13344]
29351 * misc/sys/cdefs.h (__THROWNL): Define.
29352 * posix/unistd.h: Use __THREADNL instead of __THREAD
29353 for memory synchronization functions.
29354
94d44d9f
RM
293552011-10-26 Roland McGrath <roland@hack.frob.com>
29356
21b64b15 29357 [BZ #13349]
94d44d9f
RM
29358 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29359 doesn't exist.
29360 * manual/stdio.texi (Obstack Streams): Node removed.
29361
f6ce9294
AS
293622011-10-26 Andreas Schwab <schwab@redhat.com>
29363
80479147
AS
29364 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29365 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29366 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29367
f6ce9294
AS
29368 * math/math_private.h (math_force_eval): Allow non-addressable
29369 arguments.
29370 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29371
618280a1
UD
293722011-10-25 Ulrich Drepper <drepper@gmail.com>
29373
e0016b11
UD
29374 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29375 file is not needed.
29376
29377 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29378 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29379 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29380 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29381 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29382 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29383 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29384 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29385 Add AVX variants.
29386 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29387 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29388 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29389 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29390 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29391 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29392 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29393 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29394 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29395 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29396 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29397 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29398 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29399 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29400 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29401 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29402 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29403 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29404 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29405
29406 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29407 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29408
618280a1
UD
29409 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29410 place. Use VEX encoding when compiling for AVX.
29411
37822576
AS
294122011-10-25 Andreas Schwab <schwab@redhat.com>
29413
1f1e1947
AS
29414 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29415 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29416
37822576
AS
29417 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29418
31ea014d
UD
294192011-10-25 Ulrich Drepper <drepper@gmail.com>
29420
d7826aa1 29421 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29422 useless if() expression.
d7826aa1
UD
29423 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29424 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29425 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29426 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29427 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29428 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29429 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29430 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29431 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29432 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29433 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29434 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29435 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29436 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29437 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29438 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29439 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29440 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29441 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29442
31ea014d
UD
29443 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29444
16437fec
AS
294452011-10-25 Andreas Schwab <schwab@redhat.com>
29446
29447 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29448 condition.
29449 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29450
31d3cc00
UD
294512011-10-25 Ulrich Drepper <drepper@gmail.com>
29452
29453 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29454 .text section. Avoid duplicate constants.
29455 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29457 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29463 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29464 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29465 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29466 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29467 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29468 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29469 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29470 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29472 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29473 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29474 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29475 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29476 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29477 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29478 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29479 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29480 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29481 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29482 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29483 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29484 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29485 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29486 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29487 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29488 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29489 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29490 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29491 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29492 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29493 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29494 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29495 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29496 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29497 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29498 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29499 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29500
58985aa9
UD
295012011-10-24 Ulrich Drepper <drepper@gmail.com>
29502
202c9deb
UD
29503 * sysdeps/x86_64/dla.h: Move to ...
29504 * sysdeps/x86_64/fpu/dla.h: ...here.
29505 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29506 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29507
af968f62
UD
29508 * config.make.in: Add have-mfma4 entry.
29509 * configure.in: Substitute libc_cv_cc_fma4.
29510 * math/Makefile (dbl-only-routines): Add sincostab.
29511 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29512 Use __sincostab not sincos.
29513 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29514 name is a macro.
29515 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29518 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29519 using __copysign.
29520 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29521 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29522 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29523 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29524 and __inv.
29525 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29526 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29527 __copysign.
29528 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29529 define aliases when function name is a macro.
29530 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29531 sysdeps/ieee754/dbl-64/sincos.tbl.
29532 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29533 fma4-enabled routines.
29534 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29535 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29536 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29537 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29538 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29539 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29541 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29543 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29544 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29545 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29546 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29547 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29548 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29549 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29550 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29551 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29552 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29553 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29554 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29555 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29556 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29557 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29558 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29559 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29560 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29561 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29562 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29563 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29564
58985aa9
UD
29565 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29566 rename.
29567 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29568 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29570 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29571 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29572 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29574 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29575
a201fbcf
AS
295762011-10-24 Andreas Schwab <schwab@redhat.com>
29577
29578 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29579
fc2ee42a
LD
295802011-10-23 Ulrich Drepper <drepper@gmail.com>
29581
bb3129bd
UD
29582 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29583
0275fff8
UD
29584 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29585 prediction.
29586 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29587
2fa2ae85
UD
29588 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29589 Remove unused variable magic_bits.
29590 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29591
fc2ee42a
LD
29592 * string/strnlen.c: Define and use STRNLEN macro.
29593 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29594 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29595 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29596 * wcsmbs/wcslen.c: Define and use WCSLEN.
29597 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29598 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29599 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29600 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29601 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29602 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29603 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29604
ce7dd29f
LD
296052011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29606
29607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29608 strnlen-sse2-no-bsf.
29609 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29610 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29611 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29612 Add strnlen support.
29613 (USE_AS_STRNLEN): New macro.
29614 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29615 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29616 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29617 * sysdeps/x86_64/wcslen.S: New file.
29618
979c70a3
MZ
296192011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29620
29621 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29622 XMM-moves are used for copying on small sizes.
29623
2d09f82f
LD
296242011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29625
29626 * wcsmbs/Makefile (strop-tests): Add wcschr.
29627 * wcsmbs/test-wcschr.c: New file.
29628 * string/test-strchr.c: Update.
29629 Add wcschr support.
29630 (WIDE): New macro.
29631
619fccca
LD
296322011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29633
2d09f82f 29634 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29635 * wcsmbs/test-wcslen.c: New file.
29636 * string/test-strlen.c: Update.
29637 Add wcslen support.
29638 (WIDE): New macro.
29639
09f699ea
UD
296402011-10-23 Ulrich Drepper <drepper@gmail.com>
29641
29642 * po/it.po: Update from translation team.
29643
95584d3b
LD
296442011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29645
29646 * sysdeps/x86_64/wcscmp.S: Update.
29647 Fix wrong comparison semantics.
29648 wcscmp shall use signed comparison not unsigned.
29649 Don't use substraction to avoid overflow bug.
29650 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29651 * wcsmbc/wcscmp.c: Likewise.
29652 * string/test-strcmp.c: Likewise.
29653 Add new tests to check cases with negative values.
29654
c8b3296b
UD
296552011-10-23 Ulrich Drepper <drepper@gmail.com>
29656
29657 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29658 * sysdeps/x86_64/dla.h: ...here. New file.
29659 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29660 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29661 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29662 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29663 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29664 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29666 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29667 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29668
246ad57a
AS
296692011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29670
29671 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29672 __ynl_finite aliases.
29673
a1a87169
UD
296742011-10-22 Ulrich Drepper <drepper@gmail.com>
29675
0d355eb7
UD
29676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29677
a1a87169
UD
29678 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29679 define DLA_FMA.
29680 [DLA_FMA] (EMULV): Use DLA_FMA.
29681 [DLA_FMA] (MUL12): Use EMULV.
29682 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29683 that are not needed.
29684 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29689 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29691
ee2aafe0
AS
296922011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29693
29694 * math/s_nan.c: Undef __nan.
29695 * math/s_nanf.c: Undef __nanf.
29696 * math/s_nanl.c: Undef __nanl.
29697 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29698 "math_private.h".
29699
bc62c2fb
UD
297002011-10-22 Ulrich Drepper <drepper@gmail.com>
29701
77425c63
UD
29702 * math/s_catan.c: Add branch predictions.
29703 * math/s_catanf.c: Likewise.
29704 * math/s_catanh.c: Likewise.
29705 * math/s_catanhf.c: Likewise.
29706 * math/s_catanhl.c: Likewise.
29707 * math/s_catanl.c: Likewise.
29708 * math/s_cexp.c: Likewise.
29709 * math/s_cexpf.c: Likewise.
29710 * math/s_cexpl.c: Likewise.
29711 * math/s_clog.c: Likewise.
29712 * math/s_clog10.c: Likewise.
29713 * math/s_clog10f.c: Likewise.
29714 * math/s_clog10l.c: Likewise.
29715 * math/s_clogf.c: Likewise.
29716 * math/s_clogl.c: Likewise.
29717 * math/s_csqrt.c: Likewise.
29718 * math/s_csqrtf.c: Likewise.
29719 * math/s_csqrtl.c: Likewise.
29720 * math/s_ctanf.c: Likewise.
29721 * math/s_ctanh.c: Likewise.
29722 * math/s_ctanhf.c: Likewise.
29723 * math/s_ctanhl.c: Likewise.
29724 * math/s_ctanl.c: Likewise.
29725
bc62c2fb
UD
29726 * math/math_private.h: Define __nan, __nanf, __nanl.
29727 * math/s_cacosh.c: Include <math_private.h>.
29728 * math/s_cacoshl.c: Likewise.
29729 * math/s_casinh.c: Likewise.
29730 * math/s_casinhf.c: Likewise.
29731 * math/s_casinhl.c: Likewise.
29732 * math/s_ccos.c: Rely entire on ccosh.
29733 * math/s_ccosf.c: Rely entire on ccoshf.
29734 * math/s_ccosl.c: Rely entirely on ccoshl.
29735 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29736 Remove tests for FE_INVALID.
29737 * math/s_ccoshf.c: Likewise.
29738 * math/s_ccoshl.c: Likewise.
29739 * math/s_csin.c: Likewise.
29740 * math/s_csinf.c: Likewise.
29741 * math/s_csinh.c Likewise.
29742 * math/s_csinhf.c: Likewise.
29743 * math/s_csinhl.c: Likewise.
29744 * math/s_csinl.c: Likewise.
29745 * math/s_ctan.c: Likewise.
29746 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29747 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29748 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29749
8ec250a4
UD
297502011-10-21 Ulrich Drepper <drepper@gmail.com>
29751
c196fed8
UD
29752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29753 compilation problems.
29754
8ec250a4
UD
29755 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29756 __builtin_expect.
29757
8d4f46c6
UD
297582011-10-20 Ulrich Drepper <drepper@gmail.com>
29759
ed72b654
UD
29760 * sysdeps/i386/configure.in: Test for -mfma4 option.
29761 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29762 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29763 COMMON_CPUID_INDEX_80000001.
29764 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29765 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29766 use it if FMA3 is not supported.
29767 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29768
8d4f46c6
UD
29769 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29770 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29771
d45c60c2
AS
297722011-10-20 Andreas Schwab <schwab@redhat.com>
29773
29774 [BZ #12892]
29775 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29776 it would create a cycle with a link time dependency.
29777
d9a4d2ab
UD
297782011-10-19 Ulrich Drepper <drepper@gmail.com>
29779
855d1560
UD
29780 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29781 instruction.
29782 * string/Makefile (strop-tests): Add rawmemchr.
29783 * string/test-rawmemchr.c: New file.
29784
d9a4d2ab
UD
29785 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29786 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29787 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29788 when compiling str{,n}casecmp and when AVX is available. Hook up
29789 new optimized code in initializers.
29790
8f3b1ffe
AS
297912011-10-19 Andreas Schwab <schwab@redhat.com>
29792
29793 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29794 __feraiseexcept instead of feraiseexcept.
29795
d38f1dba
UD
297962011-10-18 Ulrich Drepper <drepper@gmail.com>
29797
d9a8d0ab
UD
29798 * math/math_private.h: Define defaults for libc_fetestexcept and
29799 libc_feupdateenv.
29800 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29801 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29802 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29803 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29804 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29805 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29806 libc_fetestexcept and libc_feupdateenv.
29807
4855e3dd
UD
29808 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29809 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29810 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29811 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29812 libc_feholdexcept_setround.
29813
581d30e3
UD
29814 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29815 Add s_nearbyint-c and s_nearbyintf-c.
29816 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29817 nearbyintf inlines.
29818 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29819 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29820 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29821 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29822
d38f1dba
UD
29823 * math/math_private.h: Define defaults for libc_fegetround,
29824 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29825 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29826 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29827 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29828 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29829 standard functions.
29830 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29831 Remove comments and hacks for old compiler versions.
29832 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29833 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29834 libc_feholdexceptl.
29835
caa6c9d8
AS
298362011-10-18 Andreas Schwab <schwab@redhat.com>
29837
29838 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29839 (__feraiseexcept_renamed): Add __NTH.
29840 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29841 namespace violations.
29842
97c066e6
UD
298432011-10-17 Ulrich Drepper <drepper@gmail.com>
29844
99ce7b04
UD
29845 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29846
1004d182
UD
29847 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29848
228a984d
UD
29849 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29850 recently added interfaces.
29851 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29852
c8553a6a
UD
29853 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29854 about macro parameter expansion.
29855
ed22dcf6
UD
29856 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29857 __NO_MATH_INLINES is defined. Cleanups.
29858
29859 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29860 and __floorf is target has SSE4.1.
29861 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29862 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29863 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29864 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29865
b171c137
UD
29866 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29867 name.
29868 (floorf): Likewise.
29869
97c066e6
UD
29870 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29871
629f62ef
AS
298722011-10-17 Andreas Schwab <schwab@redhat.com>
29873
49a43d80
AS
29874 * misc/sys/cdefs.h: Fix last change.
29875
629f62ef
AS
29876 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29877 database lookup.
29878
e453f6cd
UD
298792011-10-16 Ulrich Drepper <drepper@gmail.com>
29880
aa78043a
UD
29881 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29882
ad0f5cad
UD
29883 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29884 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29885 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29886 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29887 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29888 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29889 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29890 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29891 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29892 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29893 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29894 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29895 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29896 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29897 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29898 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29899 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29900 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29901 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29902 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29903 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29904 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29905
29906 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29907 ceil, ceilf, floor, floorf.
29908
29909 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29910 Perform IRELATIVE relocations last.
29911
e453f6cd
UD
29912 * elf/do-rel.h: Add another parameter nrelative, replacing the
29913 local variable with the same name. Change name of the function
29914 to end in Rel or Rela (uppercase).
29915 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29916 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29917 elf_dynamic_do_##reloc function.
29918
fd5bdc09
UD
299192011-10-15 Ulrich Drepper <drepper@gmail.com>
29920
79b195b5
UD
29921 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29922 is sufficient, at least on modern CPUs.
29923
d4a28569
UD
29924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29925
b61099b5
UD
29926 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29927 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29928
bcf01e6d
UD
29929 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29930 __expl_finite.
29931 * math/bits/math-finite.h: Add entries for exp.
29932 * math/e_expl.c: Add __*_finite alias.
29933 * sysdeps/i386/fpu/e_exp.S: Likewise.
29934 * sysdeps/i386/fpu/e_expf.S: Likewise.
29935 * sysdeps/i386/fpu/e_expl.c: Likewise.
29936 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29937 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29939 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29940 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29941 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29942 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29943
ba1a0d59
UD
29944 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29945 is sufficient, at least on modern CPUs.
29946
fd5bdc09
UD
29947 * ctype/ctype-info.c (__ctype_init): Define.
29948 * include/ctype.h (__ctype_init): Declare.
29949 (__ctype_b_loc): The variable is always initialized.
29950 (__ctype_toupper_loc): Likewise.
29951 (__ctype_tolower_loc): Likewise.
29952 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29953 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29954
7872cfb0
AS
299552011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29956
b468825a
AS
29957 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29958
7872cfb0
AS
29959 * configure.in: Also look in $cxxmachine/include for C++ system
29960 headers.
29961
be13f7bf
LD
299622011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29963
29964 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29965 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29966 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29967 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29968 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29969 (USE_AS_WMEMCMP): New macro.
29970 Fixing indents.
29971 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29972 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29973 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29974 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29975 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29976 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29977 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29978 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29979 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29980 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29981 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29982 (USE_AS_WMEMCMP): New macro.
29983 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29984 * sysdeps/string/test-memcmp.c: Update.
29985 Fix simple_wmemcmp.
29986 Add new tests.
29987 * wcsmbs/wmemcmp.c: Update.
29988 (WMEMCMP): New macro.
29989 Fix overflow bug.
29990
556a2007
AJ
299912011-10-12 Andreas Jaeger <aj@suse.de>
29992
29993 [BZ #13268]
29994 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29995
538faaa7
UD
299962011-10-15 Ulrich Drepper <drepper@gmail.com>
29997
ab6737ff
UD
29998 * libio/iofwide.c (do_length): Avoid warning.
29999
538faaa7
UD
30000 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30001
396a21b1
UD
300022011-10-14 Ulrich Drepper <drepper@gmail.com>
30003
cdf2901f
UD
30004 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30005
38ad40ce
UD
30006 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30007 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30008 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30009 * sysdeps/i386/i686/fpu/e_log.S: New file.
30010 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30011 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30012
396a21b1
UD
30013 * ctype/ctype.h: Add support for inlined isXXX functions when
30014 compiling C++ code.
30015
6b1f68c9
AS
300162011-10-14 Andreas Schwab <schwab@redhat.com>
30017
349290c0
AS
30018 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30019
6b1f68c9
AS
30020 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30021
f2282d42
RM
300222011-10-13 Roland McGrath <roland@hack.frob.com>
30023
30024 [BZ #13291]
30025 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30026
5298ffa8
AS
300272011-10-13 Andreas Schwab <schwab@redhat.com>
30028
714fad23
AS
30029 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30030 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30031 feraiseexcept.
30032
81dcc7fb
AS
30033 * sysdeps/x86_64/memrchr.S: Check for zero size.
30034
5298ffa8
AS
30035 * string/stratcliff.c: Add memrchr tests.
30036
951fbcec
LD
300372011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30038
30039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30040 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30041 rawmemchr-sse2 rawmemchr-sse2-bsf.
30042 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30043 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30044 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30045 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30046 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30047 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30048 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30049 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30050 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30051 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30052 * string/memrchr.c (MEMRCHR): New macro.
30053
0ac5ae23
UD
300542011-10-12 Ulrich Drepper <drepper@gmail.com>
30055
30056 Add integration with gcc's -ffinite-math-only and optimize wrapper
30057 functions in libm.
30058 * Versions.def: Define GLIBC_2.15 version for libm.
30059 * math/Makefile (headers): Add bits/math-finite.h.
30060 * math/bits/math-finite.h: New file.
30061 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30062 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30063 * math/e_acoshl.c: Add __*_finite alias.
30064 * math/e_acosl.c: Likewise.
30065 * math/e_asinl.c: Likewise.
30066 * math/e_atan2l.c: Likewise.
30067 * math/e_atanhl.c: Likewise.
30068 * math/e_coshl.c: Likewise.
30069 * math/e_exp10.c: Likewise.
30070 * math/e_exp10f.c: Likewise.
30071 * math/e_exp10l.c: Likewise.
30072 * math/e_exp2l.c: Likewise.
30073 * math/e_fmodl.c: Likewise.
30074 * math/e_gammal_r.c: Likewise.
30075 * math/e_hypotl.c: Likewise.
30076 * math/e_j0l.c: Likewise.
30077 * math/e_j1l.c: Likewise.
30078 * math/e_jnl.c: Likewise.
30079 * math/e_lgammal_r.c: Likewise.
30080 * math/e_log10l.c: Likewise.
30081 * math/e_log2l.c: Likewise.
30082 * math/e_logl.c: Likewise.
30083 * math/e_powl.c: Likewise.
30084 * math/e_sinhl.c: Likewise.
30085 * math/e_sqrtl.c: Likewise.
30086 * math/e_scalb.c: Completely rewritten and optimized.
30087 * math/e_scalbf.c: Likewise.
30088 * math/e_scalbl.c: Likewise.
30089 * math/w_acos.c: Likewise.
30090 * math/w_acosf.c: Likewise.
30091 * math/w_acosl.c: Likewise.
30092 * math/w_acosh.c: Likewise.
30093 * math/w_acoshf.c: Likewise.
30094 * math/w_acoshl.c: Likewise.
30095 * math/w_asin.c: Likewise.
30096 * math/w_asinf.c: Likewise.
30097 * math/w_asinl.c: Likewise.
30098 * math/w_atan2.c: Likewise.
30099 * math/w_atan2f.c: Likewise.
30100 * math/w_atan2l.c: Likewise.
30101 * math/w_atanh.c: Likewise.
30102 * math/w_atanhf.c: Likewise.
30103 * math/w_atanhl.c: Likewise.
30104 * math/w_exp10.c: Likewise.
30105 * math/w_exp10f.c: Likewise.
30106 * math/w_exp10l.c: Likewise.
30107 * math/w_fmod.c: Likewise.
30108 * math/w_fmodf.c: Likewise.
30109 * math/w_fmodl.c: Likewise.
30110 * math/w_j0.c: Likewise.
30111 * math/w_j0f.c: Likewise.
30112 * math/w_j0l.c: Likewise.
30113 * math/w_j1.c: Likewise.
30114 * math/w_j1f.c: Likewise.
30115 * math/w_j1l.c: Likewise.
30116 * math/w_jn.c: Likewise.
30117 * math/w_jnf.c: Likewise.
30118 * math/w_log.c: Likewise.
30119 * math/w_logf.c: Likewise.
30120 * math/w_logl.c: Likewise.
30121 * math/w_log10.c: Likewise.
30122 * math/w_log10f.c: Likewise.
30123 * math/w_log10l.c: Likewise.
30124 * math/w_log2.c: Likewise.
30125 * math/w_log2f.c: Likewise.
30126 * math/w_log2l.c: Likewise.
30127 * math/w_pow.c: Likewise.
30128 * math/w_powf.c: Likewise.
30129 * math/w_powl.c: Likewise.
30130 * math/w_remainder.c: Likewise.
30131 * math/w_remainderf.c: Likewise.
30132 * math/w_remainderl.c: Likewise.
30133 * math/w_scalb.c: Likewise.
30134 * math/w_scalbf.c: Likewise.
30135 * math/w_scalbl.c: Likewise.
30136 * math/w_sqrt.c: Likewise.
30137 * math/w_sqrtf.c: Likewise.
30138 * math/w_sqrtl.c: Likewise.
30139 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30140 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30141 used.
30142 * math/math_private.h: Declare __kernel_standard_f.
30143 * math/w_cosh.c: Remove cruft and optimize a bit.
30144 * math/w_coshf.c: Likewise.
30145 * math/w_coshl.c: Likewise.
30146 * math/w_exp2.c: Likewise.
30147 * math/w_exp2f.c: Likewise.
30148 * math/w_exp2l.c: Likewise.
30149 * math/w_hypot.c: Likewise.
30150 * math/w_hypotf.c: Likewise.
30151 * math/w_hypotl.c: Likewise.
30152 * math/w_lgamma.c: Likewise.
30153 * math/w_lgamma_r.c: Likewise.
30154 * math/w_lgammaf.c: Likewise.
30155 * math/w_lgammaf_r.c: Likewise.
30156 * math/w_lgammal.c: Likewise.
30157 * math/w_lgammal_r.c: Likewise.
30158 * math/w_sinh.c: Likewise.
30159 * math/w_sinhf.c: Likewise.
30160 * math/w_sinhl.c: Likewise.
30161 * math/w_tgamma.c: Likewise.
30162 * math/w_tgammaf.c: Likewise.
30163 * math/w_tgammal.c: Likewise.
30164 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30165 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30166 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30167 Minor optimizations. Pretty printing. Remove cruft.
30168 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30169 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30170 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30171 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30172 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30173 * sysdeps/i386/fpu/e_asin.S: Likewise.
30174 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30175 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30176 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30177 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30178 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30179 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30180 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30181 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30182 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30183 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30184 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30185 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30186 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30187 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30188 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30189 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30190 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30191 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30192 * sysdeps/i386/fpu/e_log.S: Likewise.
30193 * sysdeps/i386/fpu/e_log10.S: Likewise.
30194 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30195 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30196 * sysdeps/i386/fpu/e_log2.S: Likewise.
30197 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30198 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30199 * sysdeps/i386/fpu/e_logf.S: Likewise.
30200 * sysdeps/i386/fpu/e_logl.S: Likewise.
30201 * sysdeps/i386/fpu/e_pow.S: Likewise.
30202 * sysdeps/i386/fpu/e_powf.S: Likewise.
30203 * sysdeps/i386/fpu/e_powl.S: Likewise.
30204 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30205 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30206 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30207 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30208 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30209 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30210 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30211 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30212 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30213 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30214 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30216 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30217 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30218 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30219 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30221 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30222 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30223 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30224 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30226 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30227 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30228 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30229 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30230 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30231 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30233 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30234 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30235 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30236 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30237 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30238 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30239 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30240 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30241 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30242 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30243 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30244 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30245 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30246 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30247 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30248 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30249 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30250 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30251 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30252 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30253 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30254 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30255 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30256 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30257 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30258 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30259 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30260 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30261 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30262 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30263 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30264 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30265 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30266 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30267 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30268 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30269 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30270 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30271 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30272 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30273 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30274 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30275 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30276 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30277 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30278 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30279 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30280 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30281 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30282 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30283 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30284 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30285 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30286 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30287 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30288 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30289 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30290 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30291 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30292 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30293 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30294 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30295 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30296 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30297 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30298 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30299 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30300 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30301 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30302 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30303 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30304 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30305 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30306 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30307 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30308 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30309 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30310 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30311 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30312 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30313 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30314 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30315 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30316 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30317 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30318 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30319 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30320 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30321 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30322 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30323 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30324 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30325 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30326 (__isnanf): Likewise.
30327 (__isinf_ns): Likewise.
30328 (__isinf_nsf): Likewise.
30329 (__finite): Likewise.
30330 (__finitef): Likewise.
30331 (__ieee754_sqrt): Define as macro.
30332 (__ieee754_sqrtf): Define as macro.
30333 (__ieee754_sqrtl): Define as macro.
30334 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30335 inlined copy.
30336 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30337 __FINITE_MATH_ONLY__ consistent.
30338 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30339
12cc2fcd
AS
303402011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30341
a843a204
AS
30342 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30343 of rawmemchr.
30344
12cc2fcd
AS
30345 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30346
c853acd5
UD
303472011-10-09 Ulrich Drepper <drepper@gmail.com>
30348
30349 * po/ja.po: Update from translation team.
30350
c658d255
RM
303512011-10-08 Roland McGrath <roland@hack.frob.com>
30352
110946e4
RM
30353 * locale/programs/locarchive.c (prepare_address_space): New function.
30354 (create_archive, enlarge_archive, open_archive): Use it.
30355
50604220
RM
30356 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30357 inside [SHARED], where it is used.
30358
c658d255
RM
30359 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30360
30361 * nss/getent.c (netgroup_keys): Remove unused variable.
30362 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30363
6a621eb7
UD
303642011-10-08 Ulrich Drepper <drepper@gmail.com>
30365
7edb55ce
UD
30366 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30367 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30368 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30369 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30370 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30371 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30372 * math/Makefile (libm-calls): Add s_isinf_ns.
30373 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30374 * math/multc3.c: Likewise.
30375 * math/s_casin.c: Likewise.
30376 * math/s_casinf.c: Likewise.
30377 * math/s_casinl.c: Likewise.
30378 * math/s_ccos.c: Likewise.
30379 * math/s_ccosf.c: Likewise.
30380 * math/s_ccosl.c: Likewise.
30381 * math/s_ctan.c: Likewise.
30382 * math/s_ctanf.c: Likewise.
30383 * math/s_ctanh.c: Likewise.
30384 * math/s_ctanhf.c: Likewise.
30385 * math/s_ctanhl.c: Likewise.
30386 * math/s_ctanl.c: Likewise.
30387 * math/w_fmod.c: Likewise.
30388 * math/w_fmodf.c: Likewise.
30389 * math/w_fmodl.c: Likewise.
30390 * math/w_remainder.c: Likewise.
30391 * math/w_remainderf.c: Likewise.
30392 * math/w_remainderl.c: Likewise.
30393 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30394 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30395 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30396 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30397 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30398 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30399 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30400 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30401
187da0ae
UD
30402 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30403 of the number.
30404 * stdio-common/printf_fphex.c: Likewise.
30405 * stdio-common/printf_size.c: Likewise.
30406
9277c064
UD
30407 * math/e_exp10.c: Include math_private.h using <...> not "...".
30408 * math/e_exp10f.c: Likewise.
30409 * math/e_exp10l.c: Likewise.
30410 * math/e_exp2l.c: Likewise.
30411 * math/e_j0l.c: Likewise.
30412 * math/e_j1l.c: Likewise.
30413 * math/e_jnl.c: Likewise.
30414 * math/e_lgammal_r.c: Likewise.
30415 * math/e_rem_pio2l.c: Likewise.
30416 * math/e_scalb.c: Likewise.
30417 * math/e_scalbf.c: Likewise.
30418 * math/e_scalbl.c: Likewise.
30419 * math/k_cosl.c: Likewise.
30420 * math/k_sinl.c: Likewise.
30421 * math/k_tanl.c: Likewise.
30422 * math/s_cacoshf.c: Likewise.
30423 * math/s_catan.c: Likewise.
30424 * math/s_catanf.c: Likewise.
30425 * math/s_catanh.c: Likewise.
30426 * math/s_catanhf.c: Likewise.
30427 * math/s_catanhl.c: Likewise.
30428 * math/s_catanl.c: Likewise.
30429 * math/s_ccosh.c: Likewise.
30430 * math/s_ccoshf.c: Likewise.
30431 * math/s_ccoshl.c: Likewise.
30432 * math/s_cexp.c: Likewise.
30433 * math/s_cexpf.c: Likewise.
30434 * math/s_cexpl.c: Likewise.
30435 * math/s_clog.c: Likewise.
30436 * math/s_clog10.c: Likewise.
30437 * math/s_clog10f.c: Likewise.
30438 * math/s_clog10l.c: Likewise.
30439 * math/s_clogf.c: Likewise.
30440 * math/s_clogl.c: Likewise.
30441 * math/s_csin.c: Likewise.
30442 * math/s_csinf.c: Likewise.
30443 * math/s_csinh.c: Likewise.
30444 * math/s_csinhf.c: Likewise.
30445 * math/s_csinhl.c: Likewise.
30446 * math/s_csinl.c: Likewise.
30447 * math/s_csqrt.c: Likewise.
30448 * math/s_csqrtf.c: Likewise.
30449 * math/s_csqrtl.c: Likewise.
30450 * math/s_ctan.c: Likewise.
30451 * math/s_ctanf.c: Likewise.
30452 * math/s_ctanh.c: Likewise.
30453 * math/s_ctanhf.c: Likewise.
30454 * math/s_ctanhl.c: Likewise.
30455 * math/s_ctanl.c: Likewise.
30456 * math/s_ldexp.c: Likewise.
30457 * math/s_ldexpf.c: Likewise.
30458 * math/s_ldexpl.c: Likewise.
30459 * math/s_significand.c: Likewise.
30460 * math/s_significandf.c: Likewise.
30461 * math/s_significandl.c: Likewise.
30462 * math/w_acos.c: Likewise.
30463 * math/w_acosf.c: Likewise.
30464 * math/w_acosh.c: Likewise.
30465 * math/w_acoshf.c: Likewise.
30466 * math/w_acoshl.c: Likewise.
30467 * math/w_acosl.c: Likewise.
30468 * math/w_asin.c: Likewise.
30469 * math/w_asinf.c: Likewise.
30470 * math/w_asinl.c: Likewise.
30471 * math/w_atan2.c: Likewise.
30472 * math/w_atan2f.c: Likewise.
30473 * math/w_atan2l.c: Likewise.
30474 * math/w_atanh.c: Likewise.
30475 * math/w_atanhf.c: Likewise.
30476 * math/w_atanhl.c: Likewise.
30477 * math/w_cosh.c: Likewise.
30478 * math/w_coshf.c: Likewise.
30479 * math/w_coshl.c: Likewise.
30480 * math/w_dremf.c: Likewise.
30481 * math/w_exp10.c: Likewise.
30482 * math/w_exp10f.c: Likewise.
30483 * math/w_exp10l.c: Likewise.
30484 * math/w_exp2.c: Likewise.
30485 * math/w_exp2f.c: Likewise.
30486 * math/w_fmod.c: Likewise.
30487 * math/w_fmodf.c: Likewise.
30488 * math/w_fmodl.c: Likewise.
30489 * math/w_hypot.c: Likewise.
30490 * math/w_hypotf.c: Likewise.
30491 * math/w_hypotl.c: Likewise.
30492 * math/w_j0.c: Likewise.
30493 * math/w_j0f.c: Likewise.
30494 * math/w_j0l.c: Likewise.
30495 * math/w_j1.c: Likewise.
30496 * math/w_j1f.c: Likewise.
30497 * math/w_j1l.c: Likewise.
30498 * math/w_jn.c: Likewise.
30499 * math/w_jnf.c: Likewise.
30500 * math/w_jnl.c: Likewise.
30501 * math/w_lgamma.c: Likewise.
30502 * math/w_lgamma_r.c: Likewise.
30503 * math/w_lgammaf.c: Likewise.
30504 * math/w_lgammaf_r.c: Likewise.
30505 * math/w_lgammal.c: Likewise.
30506 * math/w_lgammal_r.c: Likewise.
30507 * math/w_log.c: Likewise.
30508 * math/w_log10.c: Likewise.
30509 * math/w_log10f.c: Likewise.
30510 * math/w_log10l.c: Likewise.
30511 * math/w_log2.c: Likewise.
30512 * math/w_log2f.c: Likewise.
30513 * math/w_log2l.c: Likewise.
30514 * math/w_logf.c: Likewise.
30515 * math/w_logl.c: Likewise.
30516 * math/w_pow.c: Likewise.
30517 * math/w_powf.c: Likewise.
30518 * math/w_powl.c: Likewise.
30519 * math/w_remainder.c: Likewise.
30520 * math/w_remainderf.c: Likewise.
30521 * math/w_remainderl.c: Likewise.
30522 * math/w_scalb.c: Likewise.
30523 * math/w_scalbf.c: Likewise.
30524 * math/w_scalbl.c: Likewise.
30525 * math/w_sinh.c: Likewise.
30526 * math/w_sinhf.c: Likewise.
30527 * math/w_sinhl.c: Likewise.
30528 * math/w_sqrt.c: Likewise.
30529 * math/w_sqrtf.c: Likewise.
30530 * math/w_sqrtl.c: Likewise.
30531 * math/w_tgamma.c: Likewise.
30532 * math/w_tgammaf.c: Likewise.
30533 * math/w_tgammal.c: Likewise.
30534
6a621eb7
UD
30535 * po/ja.po: Update from translation team.
30536
bf582445
AJ
305372011-09-29 Andreas Jaeger <aj@suse.de>
30538
f9efbf3a
AJ
30539 [BZ #13179]
30540 * sunrpc/netname.c (netname2host): Fix logic.
30541
bf582445
AJ
30542 [BZ #6779]
30543 [BZ #6783]
30544 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30545 correctly.
30546 * math/w_remainder.c (__remainder): Likewise.
30547 * math/w_remainderf.c (__remainderf): Likewise.
30548 * math/libm-test.inc (remainder_test): Add test cases.
30549
48693bea
AK
305502011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30551
30552 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30553 sdiv_qrnnd.
30554
42622229
LD
305552011-10-07 Ulrich Drepper <drepper@gmail.com>
30556
30557 * string/test-memcmp.c: Avoid unncessary #defines.
30558 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30559
093ecf92
LD
305602011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30561
30562 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30563 Use new sse2 version for core i3 - i7 as it's faster
30564 than sse42 version.
30565 (bit_Prefer_PMINUB_for_stringop): New.
30566 * sysdeps/x86_64/rawmemchr.S: Update.
30567 Replace with faster SSE2 version.
30568 * sysdeps/x86_64/memrchr.S: New file.
30569 * sysdeps/x86_64/memchr.S: Update.
30570 Replace with faster SSE2 version.
30571
fde56e5c
MP
305722011-09-12 Marek Polacek <mpolacek@redhat.com>
30573
30574 * elf/dl-load.c (lose): Add cast to avoid warning.
30575
21fd49a9
UD
305762011-10-07 Ulrich Drepper <drepper@gmail.com>
30577
5a06e643
UD
30578 * po/ca.po: Update from translation team.
30579
684ae515
UD
30580 * inet/getnetgrent_r.c: Hook up nscd.
30581 * nscd/Makefile (routines): Add nscd_netgroup.
30582 (nscd-modules): Add netgroupcache.
30583 (CFLAGS-netgroupcache.c): Define.
30584 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30585 (cache_search): Add const to second parameter.
30586 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30587 INNETGR.
30588 (dbs): Add netgrdb entry.
30589 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30590 (verify_persistent_db): Handle netgrdb.
30591 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30592 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30593 GETFDNETGR.
30594 (netgroup_response_header): Define.
30595 (innetgroup_response_header): Define.
30596 (datahead): Add netgroup_response_header and innetgroup_response_header
30597 elements.
30598 * nscd/nscd.conf: Add entries for netgroup cache.
30599 * nscd/nscd.h (dbtype): Add netgrdb.
30600 (_PATH_NSCD_NETGROUP_DB): Define.
30601 (netgroup_iov_disabled): Declare.
30602 (xmalloc, xcalloc, xrealloc): Move declarations here.
30603 (cache_search): Adjust prototype.
30604 Add netgroup-related prototypes.
30605 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30606 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30607 (__nscd_innetgr): Declare.
30608 * nscd/selinux.c (perms): Use access_vector_t as element type and
30609 add netgroup-related initializers.
30610 * nscd/netgroupcache.c: New file.
30611 * nscd/nscd_netgroup.c: New file.
30612 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30613 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30614 For four parameters use innetgr.
30615 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30616 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30617 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30618 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30619
21fd49a9
UD
30620 * nscd/connections.c (register_traced_file): Don't register file
30621 for disabled databases.
30622
054c0457
UD
306232011-10-06 Ulrich Drepper <drepper@gmail.com>
30624
32b63198
UD
30625 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30626
054c0457
UD
30627 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30628 from tree and freeing node.
30629
64031225
JO
306302011-09-25 Jiri Olsa <jolsa@redhat.com>
30631
30632 * nss/nsswitch.c (__nss_database_lookup): Handle
30633 nss_parse_service_list out of memory case.
30634
0490345c
JO
306352011-09-15 Jiri Olsa <jolsa@redhat.com>
30636
30637 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30638 out of memory case.
30639
3a62d00d
AS
306402011-10-04 Andreas Schwab <schwab@redhat.com>
30641
30642 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30643 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30644 pass it down.
30645 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30646 elf_machine_rela, elf_machine_lazy_rel.
30647 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30648 (ELF_DYNAMIC_DO_REL): Likewise.
30649 (ELF_DYNAMIC_DO_RELA): Likewise.
30650 (ELF_DYNAMIC_RELOCATE): Likewise.
30651 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30652 to ELF_DYNAMIC_DO_REL.
30653 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30654 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30655 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30656 elf_machine_rela.
30657 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30658 skip_ifunc, don't call ifunc function if non-zero.
30659 (elf_machine_rela): Likewise.
30660 (elf_machine_lazy_rel): Likewise.
30661 (elf_machine_lazy_rela): Likewise.
30662 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30663 (elf_machine_lazy_rel): Likewise.
30664 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30665 Likewise.
30666 (elf_machine_lazy_rel): Likewise.
30667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30668 Likewise.
30669 (elf_machine_lazy_rel): Likewise.
30670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30671 (elf_machine_lazy_rel): Likewise.
30672 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30673 (elf_machine_lazy_rel): Likewise.
30674 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30675 (elf_machine_lazy_rel): Likewise.
30676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30677 (elf_machine_lazy_rel): Likewise.
30678 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30679 (elf_machine_lazy_rel): Likewise.
30680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30681 (elf_machine_lazy_rel): Likewise.
30682
68577918
UD
306832011-09-28 Ulrich Drepper <drepper@gmail.com>
30684
30685 * nss/nss_files/files-init.c (_nss_files_init): Use static
30686 initialization for all the *_traced_file variables.
30687
68822d74
AS
306882011-09-28 Andreas Schwab <schwab@redhat.com>
30689
30690 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30691
2056100b
RM
306922011-09-27 Roland McGrath <roland@hack.frob.com>
30693
30694 [BZ #13226]
30695 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30696
32c76b63
AS
306972011-09-27 Andreas Schwab <schwab@redhat.com>
30698
30699 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30700 Reread the line before reparsing it.
30701
bf972c9d
AS
307022011-09-26 Andreas Schwab <schwab@redhat.com>
30703
30704 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30705
e057a1b5
JM
307062011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30707 Maxim Kuvyrkov <maxim@codesourcery.com>
30708 Joseph Myers <joseph@codesourcery.com>
30709
30710 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30711 if needed for __stack_chk_guard.
30712
bc7e1c36
RM
307132011-09-19 Roland McGrath <roland@hack.frob.com>
30714
ecb1482f
RM
30715 * sysdeps/posix/spawni.c (script_execute): Always define it.
30716 It will be optimized away if unused.
30717 (maybe_script_execute): New function.
30718 (__spawni): Call it.
30719
bc7e1c36
RM
30720 * Makerules: Don't include tls.make.
30721 (config-tls): Always set to thread.
30722 * tls.make.c: File removed.
30723
1c3b002b
MF
307242011-09-19 Mike Frysinger <vapier@gentoo.org>
30725
30726 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30727 * config.make.in (CPPFLAGS-config): New substituted variable.
30728
2840865d
UD
307292011-09-15 Ulrich Drepper <drepper@gmail.com>
30730
88738eb6
UD
30731 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30732
cbf645a6 30733 [BZ #13192]
2840865d
UD
30734 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30735 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30736
b402e91a
RM
307372011-09-15 Roland McGrath <roland@hack.frob.com>
30738
30739 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30740 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30742 (CALL_FAIL): Likewise.
30743 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30744 (CALL_FAIL): Macro removed.
30745 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30746
4c1a1f71
UD
307472011-09-15 Ulrich Drepper <drepper@gmail.com>
30748
30749 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30750 for __FINITE_MATH_ONLY__ == 1.
30751
edc121be
AS
307522011-09-15 Andreas Schwab <schwab@redhat.com>
30753
30754 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30755 __ieee754_sqrt instead of sqrt.
30756 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30757 __ieee754_sqrtf instead of sqrtf.
30758 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30759 __floorf instead of floorf.
30760 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30761 __floorf, __truncf instead of floorf, truncf.
30762
cd205654
UD
307632011-09-14 Ulrich Drepper <drepper@gmail.com>
30764
ee4d0315
UD
30765 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30766
cd205654
UD
30767 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30768 __extern_always_inline.
30769 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30770 32-bit.
30771
48b67d71
AS
307722011-09-14 Andreas Schwab <schwab@redhat.com>
30773
30774 * elf/rtld.c (dl_main): Also relocate in dependency order when
30775 doing symbol dependency testing.
30776
1ae12c75
AS
307772011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30778
30779 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30780 Always define `refsym'.
30781
995a80df
AS
307822011-09-13 Andreas Schwab <schwab@redhat.com>
30783
e529793b
AS
30784 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30785 (__FD_ELT): Renamed from __FDELT.
30786 * misc/bits/select2.h (__FD_ELT): Likewise.
30787 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30788 __FD_MASK instead of __FDELT, __FDMASK.
30789 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30790 Likewise.
30791 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30792 Likewise.
30793
52d4fef8
AS
30794 * elf/Makefile (gen-ldd): Fix pattern.
30795
995a80df
AS
30796 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30797 (init_tls): Likewise.
30798
8682f8b0
UD
307992011-09-12 Ulrich Drepper <drepper@gmail.com>
30800
30801 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30802
de82006d
AS
308032011-09-12 Andreas Schwab <schwab@redhat.com>
30804
a7c8e6a1
AS
30805 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30806 `struct cmsghdr *' instead of `void *'.
30807 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30808 Likewise.
30809
0f31fe77
AS
308102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30811
30812 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30813 if non-absolute.
30814 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30815 ldd_rewrite_script.
0f31fe77 30816
32b4c839
UD
308172011-09-11 Ulrich Drepper <drepper@gmail.com>
30818
83cd1420
UD
30819 * configure.in: Remove --with-tls option.
30820 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30821 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30822 out in case it is missing.
30823 * sysdeps/ia64/elf/configure.in: Likewise.
30824 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30825 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30826 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30827 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30828 * sysdeps/sh/elf/configure.in: Likewise.
30829 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30830 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30831 * sysdeps/x86_64/elf/configure.in: Likewise.
30832 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30833 * sysdeps/mach/hurd/tls.h: Likewise.
30834
633f745d
UD
30835 [BZ #13067]
30836 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30837
f318beb8
UD
30838 [BZ #13090]
30839 * configure.in: Fix use of AC_INIT.
30840
32b4c839
UD
30841 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30842
3ce1f295
UD
308432011-09-10 Ulrich Drepper <drepper@gmail.com>
30844
bb016596
UD
30845 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30846 __set_errno.
8e58439c
UD
30847 * malloc/hooks.c: Likewise.
30848
aebae053 30849 [BZ #11929]
02d46fc4
UD
30850 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30851 variables statically.
30852 (narenas): Initialize.
30853 (list_lock): Initialize.
bb016596
UD
30854 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30855 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30856 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30857 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30858 Add initializers to main_arena and mp_.
30859 (malloc_state): Remove pagesize member. Change all users to use
30860 GLRO(dl_pagesize).
30861
30862 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30863 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30864 is always initialized.
30865
22a89187
UD
30866 * malloc/malloc.c: Removed unused configurations and dead code.
30867 * malloc/arena.c: Likewise.
30868 * malloc/hooks.c: Likewise.
02d46fc4 30869 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30870
d063d164
UD
30871 * include/tls.h: Removed. USE___THREAD must always be defined.
30872 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30873 * elf/dl-libc.c: Likewise.
30874 * elf/dl-tsd.c: Likewise.
30875 * include/errno.h: Likewise.
30876 * include/netdb.h: Likewise.
30877 * include/resolv.h: Likewise.
30878 * inet/herrno-loc.c: Likewise.
30879 * inet/herrno.c: Likewise.
30880 * malloc/arena.c: Likewise.
30881 * malloc/hooks.c: Likewise.
30882 * malloc/malloc.c: Likewise.
30883 * resolv/res-state.c: Likewise.
30884 * resolv/res_libc.c: Likewise.
30885 * sysdeps/i386/dl-machine.h: Likewise.
30886 * sysdeps/ia64/dl-machine.h: Likewise.
30887 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30888 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30889 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30890 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30891 * sysdeps/sh/dl-machine.h: Likewise.
30892 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30893 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30894 * sysdeps/unix/i386/sysdep.S: Likewise.
30895 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30896 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30897 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30898 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30899 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30900 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30901 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30905 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30906 * sysdeps/x86_64/dl-machine.h: Likewise.
30907 * tls.make.c: Likewise.
30908
3ce1f295
UD
30909 * configure.in: Remove --with-__thread option. Make tests for
30910 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30911 tls_model attribute fail if no support is available. Remove
30912 USE_IN_LIBIO.
30913 * Makeconfig: Adjust for dropped configure option. All features are
30914 now mandatory.
30915 * Makerules: Likewise.
30916 * Versions.def: Likewise.
30917 * argp/argp-fmtstream.c: Likewise.
30918 * argp/argp-fmtstream.h: Likewise.
30919 * argp/argp-help.c: Likewise.
30920 * assert/assert.c: Likewise.
30921 * config.h.in: Likewise.
30922 * config.make.in: Likewise.
30923 * configure: Likewise.
30924 * configure.in: Likewise.
30925 * csu/Versions: Likewise.
30926 * csu/init.c: Likewise.
30927 * elf/tst-audit2.c: Likewise.
30928 * elf/tst-tls10.c: Likewise.
30929 * elf/tst-tls10.h: Likewise.
30930 * elf/tst-tls11.c: Likewise.
30931 * elf/tst-tls12.c: Likewise.
30932 * elf/tst-tls14.c: Likewise.
30933 * elf/tst-tlsmod11.c: Likewise.
30934 * elf/tst-tlsmod12.c: Likewise.
30935 * elf/tst-tlsmod13.c: Likewise.
30936 * elf/tst-tlsmod13a.c: Likewise.
30937 * elf/tst-tlsmod14a.c: Likewise.
30938 * elf/tst-tlsmod15b.c: Likewise.
30939 * elf/tst-tlsmod16a.c: Likewise.
30940 * elf/tst-tlsmod16b.c: Likewise.
30941 * elf/tst-tlsmod7.c: Likewise.
30942 * elf/tst-tlsmod8.c: Likewise.
30943 * elf/tst-tlsmod9.c: Likewise.
30944 * gmon/gmon.c: Likewise.
30945 * grp/fgetgrent_r.c: Likewise.
30946 * grp/putgrent.c: Likewise.
30947 * hurd/fopenport.c: Likewise.
30948 * include/libc-symbols.h: Likewise.
30949 * include/tls.h: Likewise.
30950 * intl/gettextP.h: Likewise.
30951 * intl/loadinfo.h: Likewise.
30952 * locale/global-locale.c: Likewise.
30953 * locale/localeinfo.h: Likewise.
30954 * mach/devstream.c: Likewise.
30955 * malloc/arena.c: Likewise.
30956 * malloc/set-freeres.c: Likewise.
30957 * misc/err.c: Likewise.
30958 * misc/getttyent.c: Likewise.
30959 * misc/mntent_r.c: Likewise.
30960 * posix/getopt.c: Likewise.
30961 * posix/wordexp.c: Likewise.
30962 * pwd/fgetpwent_r.c: Likewise.
30963 * resolv/Versions: Likewise.
30964 * resolv/res_hconf.c: Likewise.
30965 * shadow/fgetspent_r.c: Likewise.
30966 * shadow/putspent.c: Likewise.
30967 * stdio-common/printf_fphex.c: Likewise.
30968 * stdio-common/tmpfile.c: Likewise.
30969 * stdlib/abort.c: Likewise.
30970 * stdlib/fmtmsg.c: Likewise.
30971 * sunrpc/auth_unix.c: Likewise.
30972 * sunrpc/clnt_perr.c: Likewise.
30973 * sunrpc/clnt_tcp.c: Likewise.
30974 * sunrpc/clnt_udp.c: Likewise.
30975 * sunrpc/clnt_unix.c: Likewise.
30976 * sunrpc/openchild.c: Likewise.
30977 * sunrpc/svc_simple.c: Likewise.
30978 * sunrpc/svc_tcp.c: Likewise.
30979 * sunrpc/svc_udp.c: Likewise.
30980 * sunrpc/svc_unix.c: Likewise.
30981 * sunrpc/xdr.c: Likewise.
30982 * sunrpc/xdr_array.c: Likewise.
30983 * sunrpc/xdr_rec.c: Likewise.
30984 * sunrpc/xdr_ref.c: Likewise.
30985 * sunrpc/xdr_stdio.c: Likewise.
30986
1248c1c4
PB
309872011-09-09 Ulrich Drepper <drepper@gmail.com>
30988
30989 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30990
309912011-07-03 Andreas Jaeger <aj@suse.de>
30992
30993 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30994 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30995 regenerate with gen-libm-tests.pl.
30996
309972010-05-12 Petr Baudis <pasky@suse.cz>
30998
30999 [BZ #11589]
31000 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31001 around j0() zero points by switching to j1().
31002 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31003 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31004 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31005 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31006
f22e1074
UD
310072011-09-09 Ulrich Drepper <drepper@gmail.com>
31008
f19009c1
UD
31009 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31010 instead of 0.
31011 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31012 instead of 0.
f19009c1
UD
31013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31014 Patch in part by Pavel Roskin <proski@gnu.org>.
31015
3f8cc204
UD
31016 [BZ #13138]
31017 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31018 realloc.
31019 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31020 Free memory block if necessary.
31021
f22e1074
UD
31022 [BZ #12847]
31023 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31024 be NULL. Don't lock in this case.
31025
0a2349f9
RM
310262011-09-09 Roland McGrath <roland@hack.frob.com>
31027
31028 * elf/elf.h (ELFOSABI_GNU): New macro.
31029 (ELFOSABI_LINUX): Define to that.
31030
f3cdd467
DZ
310312011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31032
31033 * string/strncat.c (strncat): Undef the symbol in case it has been
31034 defined in bits/string.h.
31035
74718d13
UD
310362011-09-09 Ulrich Drepper <drepper@gmail.com>
31037
633e9e0f
UD
31038 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31039
0a2349f9 31040 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
31041 link map.
31042
f9924780
AJ
310432011-08-17 Andreas Jaeger <aj@suse.de>
31044
31045 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31046
7f5517aa
PP
310472011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31048 Ian Lance Taylor <iant@google.com>
31049
31050 * math/libm-test.inc (lround_test): New testcase.
31051 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31052
762011fe
UD
310532011-09-08 Ulrich Drepper <drepper@gmail.com>
31054
92963737
UD
31055 * Makefile: Remove support for automatic cvs check-ins.
31056 * Makerules: Likewise.
31057 * config.make.in: Likewise.
31058 * configure.in: Likewise.
31059 * intl/Makefile: Likewise.
31060 * locale/Makefile: Likewise.
31061 * po/Makefile: Likewise.
31062 * posix/Makefile: Likewise.
31063 * sysdeps/gnu/Makefile: Likewise.
31064 * sysdeps/mach/hurd/Makefile: Likewise.
31065 * sysdeps/sparc/sparc32/Makefile: Likewise.
31066
b0727fd8
JS
31067 [BZ #13118]
31068 * posix/Makefile (bug-regex32-ENV): Define.
31069 Patch by John Stanley <jpsinthemix@verizon.net>.
31070
a0f33f99
UD
31071 * misc/Makefile (headers): Add bits/select2.h.
31072 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31073 * misc/bits/select2.h: New file.
31074 * include/bits/select2.h: New file.
31075 * debug/Makefile (routines): Add fdelt_chk.
31076 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31077 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31078 FD_ISSET.
31079 * debug/fdelt_chk.c: New file.
31080
762011fe
UD
31081 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31082 * wcsmbs/test-wmemcmp.c: Likewise.
31083 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 31084 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
31085
310862011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31087
31088 * string/Makefile (strop-tests): Add memcmp.
31089 * string/test-wmemcmp.c: New file.
31090 * string/test-memcmp.c: Add wmemcmp support.
31091
7f513ec8
RM
310922011-09-08 Roland McGrath <roland@hack.frob.com>
31093
0442afb4
RM
31094 [BZ #13153]
31095 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31096 2011-07-19 change.
31097
7f513ec8
RM
31098 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31099 garbage value in a __mach_port_mod_refs call in the cases of the
31100 task-self and thread-self ports.
31101
a12b2239
ST
311022011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31103
31104 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31105
610f9ab4
AS
311062011-09-08 Andreas Schwab <schwab@redhat.com>
31107
7f513ec8 31108 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 31109
48882a1a
LD
311102011-09-07 Ulrich Drepper <drepper@gmail.com>
31111
b49865be
UD
31112 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31113
fdc86bc9
UD
31114 * elf/dl-libc.c (dlerror_run): Pass back error code from
31115 dl_catch_error.
31116
c966526a
UD
31117 [BZ #13123]
31118 * elf/dl-load.c (lose): Free l_origin if it is valid.
31119
48882a1a
LD
31120 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31121 names.
31122 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31123 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31124 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31125 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31126 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31127 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31128
77a2a8b4
AZ
311292011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31130
31131 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31132 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31133 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31134 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31135 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31136 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31137 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31138 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31139 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31140 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31141
24f579d8
AM
311422011-08-15 Alan Modra <amodra@gmail.com>
31143
31144 [BZ #13092]
31145 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31146 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31147 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31148 ppc_mcount to static-only-routines.
31149 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31150 __mcount_internal.
31151 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31152 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31153
3d4837df
UD
311542011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31155
31156 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31157 for finite and infinity parameters.
31158
22700377
WS
311592011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31160
31161 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31162 and add nop instructions for throughput optimization.
31163 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31164
5025581e
WS
311652011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31166
31167 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31168 aligned copy for power7 with vector-scalar instructions.
31169 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31170
08a300c9
L
311712011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31172
31173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31174 AVX check.
31175
59178ef9
AS
311762011-09-07 Andreas Schwab <schwab@redhat.com>
31177
31178 [BZ #13144]
31179 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31180 last change.
31181
e38ba7ab
UD
311822011-09-07 Ulrich Drepper <drepper@gmail.com>
31183
31184 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31185 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31186 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31187 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31188 clock_gettime.
31189
d53a73ac
UD
311902011-09-06 Ulrich Drepper <drepper@gmail.com>
31191
fc8bffcc
UD
31192 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31193 Forgot to demangle the pointer.
31194
ceaa0c5d
UD
31195 * sysdeps/i386/sysdep.h: Define atom_text_section.
31196 * sysdeps/x86_64/sysdep.h: Likewise.
31197 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31198 section with atom_text_section.
31199 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31200 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31201 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31202 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31203 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31204
a77d3c17
UD
31205 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31206 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31207 already be defined. Change to take two parameters and don't assign
31208 result to variable. Adjust all users.
31209 Define INTERNAL_GETTIME if not already defined.
31210 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31211 call.
31212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31213 HAVE_CLOCK_GETTIME_VSYSCALL.
31214 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31215
d53a73ac
UD
31216 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31217 gettimeofday vsyscall, just use time.
31218
a8f84144
AS
312192011-09-06 Andreas Schwab <schwab@redhat.com>
31220
31221 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31222 <errno.h>.
31223
ef606249
UD
312242011-09-06 Ulrich Drepper <drepper@gmail.com>
31225
31226 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31227 syscall on x86-64.
31228 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31229 syscall.
31230 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31231 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31232 syscall if possible.
31233
6585cb60
UD
312342011-09-05 Ulrich Drepper <drepper@gmail.com>
31235
31236 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31237 e_ident. Don't pass to find_mapsXX.
31238 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31239
a5f524e4
LD
312402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31241
31242 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31243 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31244 * sysdeps/x86_64/multiarch/strchr.S: Update.
31245 Check bit_slow_BSF bit.
31246 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31247 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31248 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31249
554881ef
UD
312502011-09-05 Ulrich Drepper <drepper@gmail.com>
31251
d96de963
UD
31252 [BZ #13134]
31253 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31254 before glibc 2.15.
31255 (tryshell): Define.
31256 (__spawni): Change last parameter to be flag. Test
31257 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31258 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31259 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31260 * posix/spawni.c: Likewise.
31261 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31262 * posix/spawnp.c: Likewise. Change normal version to use
31263 SPAWN_XFLAGS_USE_PATH.
31264 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31265 SPAWN_XFLAGS_TRY_SHELL.
31266
d48e5868
UD
31267 [BZ #13150]
31268 * posix/glob.h: Remove gcc 1.x support.
31269
554881ef
UD
31270 [BZ #13068]
31271 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31272
693fb948
LD
312732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31274
31275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31276 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31277 strrchr-sse2-bsf
31278 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31279 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31280 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31281 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31282 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31283 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31284
1b48c537
UD
312852011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31286
49d42c37
UD
31287 * sysdeps/x86_64/wcscmp.S: New file.
31288
1b48c537
UD
31289 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31290 wcscmp-c wcscmp-sse2
31291 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31292 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31293 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31294 * wcsmbs/wcscmp.c: Allow renaming.
31295
15c95c5d
DM
312962011-09-05 David S. Miller <davem@davemloft.net>
31297
31298 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31299 stack slot, rather than the struct return pointer slot.
31300 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31301 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31303 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31304
2f0ad8f3
UD
313052011-09-05 Ulrich Drepper <drepper@gmail.com>
31306
d88ae418
UD
31307 * po/ja.po: Update from translation team.
31308
2f0ad8f3
UD
31309 [BZ #13144]
31310 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31311 kernel in 64-bit binaries.
31312
5f4318d1
DM
313132011-09-01 David S. Miller <davem@davemloft.net>
31314
31315 * elf/elf.h (HWCAP_SPARC_*): Move to..
31316 * sysdeps/sparc/sysdep.h: this new file and add new values.
31317 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31318 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31319 _DL_HWCAP_COUNT to 24.
31320 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31321 entries.
31322 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31323 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31324 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31325 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31326 instead of magic constants.
31327 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31328
3ba57516
DM
313292011-08-31 David S. Miller <davem@davemloft.net>
31330
31331 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31333 Reimplement to do errno handling inline.
31334 (SYSCALL_ERROR_HANDLER): New macro.
31335 (__SYSCALL_STRING): Do not do errno handling in asm.
31336 (__CLONE_SYSCALL_STRING): Delete.
31337 (__INTERNAL_SYSCALL_STRING): Delete.
31338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31339 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31340 (PSEUDO): Reimplement to do errno handling inline.
31341 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31342 (SYSCALL_ERROR_HANDLER): New macro.
31343 (__SYSCALL_STRING): Do not do errno handling in asm.
31344 (__CLONE_SYSCALL_STRING): Delete.
31345 (__INTERNAL_SYSCALL_STRING): Delete.
31346 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31347 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31348 i386.
31349 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31350 (inline_syscall*): Add 'err' argument.
31351 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31352 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31353 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31354 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31355
31356 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31357 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31358
2bc17433
AS
313592011-08-30 Andreas Schwab <schwab@redhat.com>
31360
31361 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31362
fbeb5f4d
JO
313632011-08-29 Jiri Olsa <jolsa@redhat.com>
31364
31365 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31366 directive.
31367
ad69cc26
DM
313682011-08-24 David S. Miller <davem@davemloft.net>
31369
31370 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31371
39dd69df
AS
313722011-08-24 Andreas Schwab <schwab@redhat.com>
31373
31374 * elf/Makefile: Add rules to build and run unload8 test.
31375 * elf/unload8.c: New file.
31376 * elf/unload8mod1.c: New file.
31377 * elf/unload8mod1x.c: New file.
31378 * elf/unload8mod2.c: New file.
31379 * elf/unload8mod3.c: New file.
31380
31381 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31382 it wasn't used.
31383
2c0b250a
DM
313842011-08-23 David S. Miller <davem@davemloft.net>
31385
31386 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31387 subtract stack bias.
31388 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31389 %sp not %fp in calculations.
31390 (_JMPBUF_UNWINDS_ADJ): Likewise.
31391
22044b48
DM
31392 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31393 (aio_suspend): Call it to force an exception region around the
31394 AIO_MISC_WAIT() invocation.
31395
2cae4995
AS
313962011-08-23 Andreas Schwab <schwab@redhat.com>
31397
31398 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31399 backslash.
31400
873a772e
AJ
314012011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31402
31403 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31404 protection macro.
31405 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31406 and <dl-machine.h>.
31407 (Elf64_FuncDesc): Remove.
31408
25ad0df1
DM
314092011-08-22 David S. Miller <davem@davemloft.net>
31410
31411 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31412 sigaltstack check, add missing cfi directives.
31413 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31414 missing cfi directives, and sigaltstack handling.
31415
e888bcbe
AS
314162011-08-16 Andreas Schwab <schwab@redhat.com>
31417
31418 [BZ #11724]
31419 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31420 object is seen twice.
31421 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31422
31423 * elf/Makefile (distribute): Add tst-initorder2.c.
31424 (tests): Add tst-initorder2.
31425 (modules-names): Add tst-initorder2a tst-initorder2b
31426 tst-initorder2c tst-initorder2d. Add rules to build them.
31427 ($(objpfx)tst-initorder2.out): New rule.
31428 * elf/tst-initorder2.c: New file.
31429 * elf/tst-initorder2.exp: New file.
31430
87162f46
AS
314312011-08-22 Andreas Schwab <schwab@redhat.com>
31432
70538b7f
AS
31433 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31434
f55ffe58
AS
31435 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31436 dependencies back to end of function.
31437
87162f46
AS
31438 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31439 $(elfobjdir)/ld.so.
31440
91b392a4
UD
314412011-08-21 Ulrich Drepper <drepper@gmail.com>
31442
31443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31444 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31445 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31446 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31447 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31448 of __vdso_gettimeofday.
31449 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31450 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31451 attribute_hidden.
31452 (_libc_vdso_platform_setup): Remove initialization of
31453 __vdso_gettimeofday and __vdso_time.
31454
5c43483f
UD
314552011-08-20 Ulrich Drepper <drepper@gmail.com>
31456
775a77e7
UD
31457 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31458 and fgetc_unlocked.
31459 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31460 getc_unlocked.
89f447ed 31461
49c74ba9
UD
31462 * elf/dl-open.c (add_to_global): Report additions to the global scope
31463 for LD_DEBUG=scopes.
31464 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31465 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31466
5c43483f
UD
31467 [BZ #13114]
31468 * stdio-common/Makefile (tests): Add bug24.
31469 * stdio-common/bug24.c: New file.
31470
a101b025
AJ
314712011-08-19 Andreas Jaeger <aj@suse.de>
31472
31473 [BZ #13114]
31474 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31475 non-existant file when using close-on-exec mode.
31476
c88f1766
UD
314772011-08-20 Ulrich Drepper <drepper@gmail.com>
31478
0276a718
UD
31479 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31480 the very first instruction.
31481
c88f1766
UD
31482 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31483 the CFI state in the end.
31484 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31485 inclusion of dl-trampoline.h.
31486 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31487
51ccffa0
AS
314882011-08-19 Andreas Schwab <schwab@redhat.com>
31489
94d7165f
AS
31490 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31491 expectations for long double.
31492
51ccffa0
AS
31493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31494 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31495
fd708658 314962011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31497
31498 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31499 artificual limit depends upon the system page size.
31500
44f0a71e
UD
315012011-08-17 Ulrich Drepper <drepper@gmail.com>
31502
31503 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31504 * resolv/Makefile: Define CFLAGS-libresolv.
31505
8de79a24
AS
315062011-08-17 Andreas Schwab <schwab@redhat.com>
31507
31508 * nss/makedb.c (compute_tables): Make variables used in nested
31509 function static.
31510
27724598
UD
315112011-08-17 Ulrich Drepper <drepper@gmail.com>
31512
c5305d88
UD
31513 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31514 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31515 if buffer was too small.
31516
27724598
UD
31517 * elf/pldd.c (main): Attach to all threads in the process.
31518 Rewrite /proc handling to use *at functions.
31519
076fe015
UD
315202011-08-16 Ulrich Drepper <drepper@gmail.com>
31521
174baab3
UD
31522 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31523 specifies first scope to show.
31524 (dl_open_worker): Update callers. Move printing scope of new
31525 object to before the relocation.
44f0a71e 31526 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31527 * sysdeps/generic/ldsodefs.h: Update declaration.
31528
076fe015
UD
31529 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31530 string for the scope number.
31531
a60df2c3
UD
315322011-08-14 Ulrich Drepper <drepper@gmail.com>
31533
31534 * nscd/servicescache.c (cache_addserv): Make sure written is always
31535 initialized.
31536
5e4287d1
RM
315372011-08-14 Roland McGrath <roland@hack.frob.com>
31538
85ae0589
RM
31539 * sysdeps/i386/i486/bits/atomic.h
31540 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31541 statement expression, so as to suppress "set but not used" warning.
31542 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31543
69f63097
RM
31544 * string/strncat.c (STRNCAT): Use prototype definition.
31545
675456ef
RM
31546 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31547 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31548 -Iprograms here.
31549 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31550 (localedef-modules): Add localedef.
31551 (locale-modules): Add locale.
31552
5e4287d1
RM
31553 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31554 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31555 to avoid a warning.
31556
9c96ff23
DM
315572011-08-14 David S. Miller <davem@davemloft.net>
31558
31559 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31560 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31561
f9ddf089
UD
315622011-08-13 Ulrich Drepper <drepper@gmail.com>
31563
44f0a71e 31564 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31565 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31566 * elf/rtld.c (dl_main): Set l_name of vDSO.
31567 Call _dl_show_scope when DL_DEBUG_SCOPES.
31568 (process_dl_debug): Recognize scopes flag and also set it for all.
31569 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31570 Declare _dl_show_scope.
31571
1dc27704
UD
31572 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31573 (do_dlopen): Pass caller_dlopen to dl_open.
31574 (__libc_dlopen_mode): Initialize caller_dlopen.
31575
f9ddf089
UD
31576 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31577 of libc. Make tolower call locale-independent. Optimize a bit by
31578 using isdigit instead of isalnum.
31579 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31580
9ac533d3
UD
315812011-08-12 Ulrich Drepper <drepper@gmail.com>
31582
31583 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31584 was a dependency or dynamically loaded.
31585
89edf2e9
UD
315862011-08-11 Ulrich Drepper <drepper@gmail.com>
31587
8e999d29
UD
31588 * intl/l10nflist.c: Allow architecture-specific pop function.
31589 * sysdeps/x86_64/l10nflist.c: New file.
31590
89edf2e9
UD
31591 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31592 classification.
31593
14d96785
AS
315942011-08-10 Andreas Schwab <schwab@redhat.com>
31595
31596 * include/dirent.h: Add libc_hidden_proto for scandirat and
31597 scandirat64. Don't declare __scandirat64.
31598 * dirent/scandirat.c: Add libc_hidden_def.
31599 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31600 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31601
6761ac04
DM
316022011-08-10 David S. Miller <davem@davemloft.net>
31603
31604 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31605 enum.
31606 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31607 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31608 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31609
c55fbd1e
UD
316102011-08-09 Ulrich Drepper <drepper@gmail.com>
31611
31612 * Versions.def [libc]: Add GLIBC_2.15.
31613 * dirent/Makefile (routines): Add scandirat and scandirat64.
31614 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31615 GLIBC_2.15.
31616 * dirent/dirent.h: Declare scandirat and scandirat64.
31617 * dirent/scandirat.c: New file.
31618 * dirent/scandirat64.c: New file.
31619 * sysdeps/wordsize-64/scandirat.c: New file.
31620 * sysdeps/wordsize-64/scandirat64.c: New file.
31621 * dirent/opendir.c: Define opendirat.
31622 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31623 using scandirat.
31624 * dirent/scandir64.c: Adjust for scandir.c change.
31625 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31626 __scandirat64, and __scandir_cancel_handler.
31627 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31628 additional parameter and use openat instead of open (outside of ld.so).
31629 Add new __opendir as wrapper around __opendirat.
31630 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31631 here without requiring old scandirat implementation.
31632
879165f2
UD
316332011-08-08 Ulrich Drepper <drepper@gmail.com>
31634
31635 * dirent/scandir.c (cancel_handler): Renamed to
31636 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31637 defined. Adjust users.
31638 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31640
cb7e923b
UD
316412011-08-04 Ulrich Drepper <drepper@gmail.com>
31642
16292edd
UD
31643 * string/test-string.h (IMPL): Use __STRING to expand name and then
31644 stringify it.
31645
cb7e923b
UD
31646 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31647 of cleanups.
31648
cff82933
LD
316492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31650
31651 * string/Makefile: Update.
31652 (strop-tests): Append strncat.
31653 * string/test-wcscmp.c: New file.
31654 New comprehensive test for wcscmp.
31655 * string/test-strcmp.c: Update.
31656 (WIDE): New define.
31657
9be9bfcc
AS
316582011-07-22 Andreas Schwab <schwab@redhat.com>
31659
31660 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31661 line.
31662
2e96f1c7
AS
316632011-07-26 Andreas Schwab <schwab@redhat.com>
31664
31665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31666 encoding to ACE if AI_IDN.
31667
85188888
JJ
316682011-08-01 Jakub Jelinek <jakub@redhat.com>
31669
31670 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31671 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31672
5fa16e9b
LD
316732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31674
31675 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31676 Fix overflow bug in strncat.
31677 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31678
31679 * string/test-strncat.c: Update.
31680 Add new tests for checking overflow bugs.
31681
316822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31683
31684 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31685 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31686 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31687 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31688 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31689 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31690 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31691 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31692 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31693
31694 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31695 (USE_AS_STRCAT): Define.
31696 Add strcat and strncat support.
31697 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31698
8c1a459f
AS
316992011-07-25 Andreas Schwab <schwab@redhat.com>
31700
31701 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31702 __n bigger than INT_MAX+1.
31703 (__strncmp_g): Likewise.
31704
bba33c28
UD
317052011-07-23 Ulrich Drepper <drepper@gmail.com>
31706
798be72d
UD
31707 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31708 * libio/stido.h: Likewise.
31709
8accd4dc
UD
31710 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31711 (AF_NFC): Define.
31712 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31713 (AF_NFC): Define.
31714
cbff0d96
UD
31715 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31716 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31717 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31718 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31719 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31720
9191c04a
UD
31721 [BZ #13021]
31722 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31723 installed.
31724
bba33c28
UD
31725 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31726 typo.
31727 (_dl_x86_64_save_sse): Likewise.
31728
90f139dd
UD
317292011-07-22 Ulrich Drepper <drepper@gmail.com>
31730
1aae088a
UD
31731 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31732 OSXSAVE.
31733 (_dl_x86_64_save_sse): Likewise.
31734
8e2045f5
UD
31735 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31736
90f139dd
UD
31737 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31738
1d002f25
AS
317392011-07-21 Andreas Schwab <schwab@redhat.com>
31740
31741 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31742 change.
31743 (_dl_x86_64_save_sse): Use correct AVX check.
31744
21137f89
UD
317452011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31746
31747 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31748 bug in strncpy/strncat.
31749 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31750
a65c0b7a
UD
317512011-07-21 Ulrich Drepper <drepper@gmail.com>
31752
31753 * string/tester.c (test_strcat): Add tests for different alignments
31754 of source and destination.
31755 (test_strncat): Likewise.
31756
6986b98a
UD
317572011-07-20 Ulrich Drepper <drepper@gmail.com>
31758
90bb2039
UD
31759 [BZ #12852]
31760 * posix/glob.c (glob): Check passed in values before using them in
31761 expressions to avoid some overflows.
31762 (glob_in_dir): Likewise.
31763
5644ef54
UD
31764 [BZ #13007]
31765 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31766 check for AVX enablement so that we don't crash with old kernels and
31767 new hardware.
31768 * elf/tst-audit4.c: Add same checks here.
31769 * elf/tst-audit6.c: Likewise.
31770
31771 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31772
bfc9dc9b
AS
317732011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31774
31775 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31776
702e64bb
UD
317772011-07-20 Ulrich Drepper <drepper@gmail.com>
31778
31779 * po/cs.po: Update from translation team.
31780 * po/bg.po: Likewise.
31781
295e904f
MP
317822011-07-12 Marek Polacek <mpolacek@redhat.com>
31783
31784 * misc/sys/cdefs.h: Add support for const attribute.
31785 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31786 to gnu_dev_{major,minor,makedev} functions.
31787
3ff94596
MP
317882011-07-20 Marek Polacek <mpolacek@redhat.com>
31789
31790 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31791
28b59fca
AS
317922011-07-20 Andreas Schwab <schwab@redhat.com>
31793
31794 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31795 strlen results.
31796
19df733e
AK
317972011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31798
31799 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31800 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31801 register in order to avoid conflicts with the soft frame pointer
31802 being held in r11 when necessary.
31803 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31804 (INTERNAL_VSYSCALL_NCS): Likewise.
31805
c8835729
MP
318062011-07-14 Marek Polacek <mpolacek@redhat.com>
31807
31808 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31809 * elf/dl-fini.c (_dl_fini): Adjust caller.
31810 * elf/dl-close.c (_dl_close_worker): Likewise.
31811 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31812
b902330c
MP
318132011-07-15 Marek Polacek <mpolacek@redhat.com>
31814
8991e135
MP
31815 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31816 "aux_cache->nlibs < 0".
31817
b902330c
MP
31818 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31819 in the reload-count case.
31820
99710781
LD
318212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31822
31823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31824 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31825 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31826 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31827 * sysdeps/x86_64/multiarch/strcat.S: New file.
31828 * sysdeps/x86_64/multiarch/strncat.S: New file.
31829 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31830 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31831 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31832 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31833 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31834 (USE_AS_STRCAT): Define.
31835 Add strcat and strncat support.
31836 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31837 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31838 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31839 * string/strncat.c: Update.
31840 (USE_AS_STRNCAT): Define.
31841 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31842 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31843 and i7.
31844 * sysdeps/x86_64/multiarch/init-arch.h
31845 (bit_Prefer_PMINUB_for_stringop): New.
31846 (index_Prefer_PMINUB_for_stringop): Likewise.
31847 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31848 bit_Prefer_PMINUB_for_stringop.
31849
7dc6bd90
UD
318502011-07-19 Ulrich Drepper <drepper@gmail.com>
31851
31852 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31853 buffer64.
31854 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31855 of casting of buffer.
31856 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31857 buffer32 and buffer64.
31858 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31859 writes instead of casting of buffer.
31860 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31861 buffer32.
31862 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31863 casting of buffer.
31864
e0e72284
AS
318652011-07-19 Andreas Schwab <schwab@redhat.com>
31866
31867 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31868
feb1eb0b
UD
318692011-07-19 Ulrich Drepper <drepper@gmail.com>
31870
31871 * nscd/nscd.c (termination_handler): Don't do anything for a database
31872 if it has not yet been initialized.
31873
298711ff
UD
318742011-07-18 Ulrich Drepper <drepper@gmail.com>
31875
31876 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31877
318782011-07-15 Marek Polacek <mpolacek@redhat.com>
31879
31880 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31881
f9d68389
UD
318822011-07-18 Ulrich Drepper <drepper@gmail.com>
31883
31884 * po/nl.po: Update from translation team.
31885 * po/sv.po: Likewise.
31886
db290cf5
RM
318872011-07-16 Roland McGrath <roland@hack.frob.com>
31888
31889 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31890 now disallowed by GCC.
5c550700 31891
fd5e21c7
RM
31892 * configure.in (use-default-link): Default to yes if a test -shared
31893 link meets our qualifications.
31894 * configure: Regenerated.
31895
5c550700
RM
31896 * config.make.in (output-format): New variable.
31897 * configure.in: Check for ld --print-output-format support.
31898 * configure: Regenerated.
31899 * Makerules ($(common-objpfx)format.lds)
31900 [$(output-format) != unknown]: Just use $(output-format),
31901 instead of the linker-script munging.
31902
9fa2c032
RM
319032011-07-14 Roland McGrath <roland@hack.frob.com>
31904
a6928d51
RM
31905 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31906 of $(common-objpfx)shlib.lds.
31907 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31908
661607b3
RM
31909 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31910 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31911
9fa2c032
RM
31912 * configure.in (-z relro check): Adjust test code to add a large
31913 writable data section after it.
31914 * configure: Regenerated.
31915
defe9061
RM
319162011-07-11 Roland McGrath <roland@hack.frob.com>
31917
31918 * configure.in (-z relro check): Fix test code to make the variable
31919 truly const.
31920 * configure: Regenerated.
31921
319b9ad4
UD
319222011-07-11 Ulrich Drepper <drepper@gmail.com>
31923
31924 * nscd/nscd.h (struct traced_file): Define.
31925 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31926 elements. Add traced_files.
31927 (inotify_fd): Declare.
31928 (register_traced_file): Declare.
31929 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31930 (inotify_fd): Export.
31931 (resolv_conf_descr): Remove.
31932 (nscd_init): Move inotify descriptor creation to main.
31933 Don't register files for notification here.
31934 (register_traced_file): New function.
31935 (invalidate_cache): Don't use reset_res to determine whether to call
31936 res_init, go through the list of registered files.
31937 (main_loop_poll): The inotify descriptors are now stored in the
31938 structures for the traced files.
31939 (main_loop_epoll): Likewise
31940 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31941 to __nss_disable_nscd.
31942 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31943 for a database anymore. Check the records for all the registered
31944 files instead.
31945 * nss/Makefile (libnss_files-routines): Add files-init.
31946 (libnss_db-routines): Add db-init.
31947 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31948 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31949 * nss/nss_db/db-init.c: New file.
31950 * nss/nss_files/files-init.c: New file.
31951 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31952 __nss_lookup_function.
31953 (__nss_lookup_function): Call nss_load_library.
31954 (nss_load_all_libraries): New function.
31955 (__nss_disable_nscd): Take parameter with callback function for files
31956 to register. Set is_nscd. Load all the DSOs for the NSS modules
31957 used for the cached services.
31958 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31959 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31960 options for features to all the files in nscd.
31961
31962 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31963
23bee3e8
RM
319642011-07-10 Roland McGrath <roland@hack.frob.com>
31965
31966 * csu/elf-init.c (__libc_csu_init): Comment typo.
31967
46a5b7f0
UD
319682011-07-09 Ulrich Drepper <drepper@gmail.com>
31969
31970 * po/pl.po: Update from translation team.
31971 * po/ja.po: Likewise.
31972 * po/ru.po: Likewise.
31973 * po/ko.po: Likewise.
31974 * po/fr.po: Likewise.
31975
d30cf5bb
RM
319762011-07-09 Roland McGrath <roland@hack.frob.com>
31977
113ddea4
RM
31978 * configure.in (.ctors/.dtors header and trailer check):
31979 Use an empirical test on a built program.
31980 * configure: Regenerated.
31981
574920b4
RM
31982 * configure.in (-z relro check): Use an empirical test on a built DSO.
31983 Detect, but do not require, on ia64.
31984 * configure: Regenerated.
31985
d30cf5bb
RM
31986 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31987 Update tests that use readelf to use $READELF instead.
31988 * configure: Regenerated.
31989
8538fdb3
UD
319902011-07-08 Ulrich Drepper <drepper@gmail.com>
31991
31992 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31993 if the result is not used.
31994
04d08991
AJ
319952011-07-05 Andreas Jaeger <aj@suse.de>
31996
31997 [BZ#9696]
31998 * stdlib/tst-strtod.c: Add testcase.
31999
de283087
AD
320002011-07-07 Ulrich Drepper <drepper@gmail.com>
32001
4e5f31c8 32002 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32003 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32004 The latter has a higher limit. Take additional parameter to pass to
32005 the new function.
32006 (__pathconf): Pass file to __statfs_link_max.
32007 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32008 __statfs_link_max.
32009 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32010 __statfs_link_max.
32011
de283087
AD
32012 [BZ #12868]
32013 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32014 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32015 Handle Lustre.
32016 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32017 (__statfs_filesize_max): Likewise.
32018 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32019
c75fa153
AJ
320202011-07-05 Andreas Jaeger <aj@suse.de>
32021
32022 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32023
1a544854
UD
320242011-07-06 Marek Polacek <mpolacek@redhat.com>
32025
32026 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32027 `status' variable.
32028 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32029 Likewise.
32030
6f0eec67
UD
320312011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32032
32033 * Makefile (strop-tests): Add strncat.
32034 * string/test-strncat.c: New file.
32035
aae30307
UD
320362011-06-30 Marek Polacek <mpolacek@redhat.com>
32037
32038 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32039
c0cfb5eb
UD
320402011-06-21 Andreas Jaeger <aj@suse.de>
32041
32042 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32043 Copy rule from iconvdata/Makefile.
32044
01636b21
UD
320452011-07-06 Ulrich Drepper <drepper@gmail.com>
32046
32047 [BZ #12922]
32048 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32049 but no long options are defined, just return 'W'.
32050
9895c8bc
UD
320512011-06-22 Marek Polacek <mpolacek@redhat.com>
32052
32053 [BZ #9696]
32054 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32055
5d4cf042
UD
320562011-07-06 Ulrich Drepper <drepper@gmail.com>
32057
32058 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32059 netgroups to read.
960e5535 32060 (innetgr): Likewise.
5d4cf042 32061
751eb97e
RM
320622011-07-05 Roland McGrath <roland@hack.frob.com>
32063
32064 * config.make.in (install_root): Default to $(DESTDIR).
32065
f15f1e45
UD
320662011-07-05 Ulrich Drepper <drepper@gmail.com>
32067
32068 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32069
4e34ac6a
RM
320702011-07-02 Roland McGrath <roland@hack.frob.com>
32071
5e9b6af4
RM
32072 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32073
84f9ea0f
RM
32074 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32075 containing directory rather than embedding absolute directory names.
32076
ea5ee9f7
RM
32077 * scripts/check-local-headers.sh: Rewritten using awk.
32078 Match by word, not by line. Print error messages for matches.
32079 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32080
1b74661a
RM
32081 * Makerules [shlib-lds-flags empty]:
32082 ($(common-objpfx)libc_pic.opts): New target.
32083 ($(common-objpfx)libc_pic.os.clean): New target.
32084 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32085
32086 * config.make.in (OBJCOPY): New variable.
32087 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32088 * configure: Regenerated.
32089
f781ef40
RM
32090 * config.make.in (use-default-link): New variable.
32091 * configure.in (use_default_link): Grok --with-default-link to set it.
32092 * configure: Regenerated.
32093 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32094 (shlib-lds, shlib-lds-flags): Define to empty.
32095
2d4fa81e
RM
32096 * Makerules (shlib-lds): New variable.
32097 (shlib-lds-flags): New variable.
32098 (build-shlib, build-moduile, build-module-asneeded): Use it.
32099 ($(common-objpfx)libc.so): Use $(shlib-lds).
32100 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32101 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32102
31fffa6b
RM
32103 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32104 DT_FLAGS/DT_FLAGS_1 with zero flags.
32105
4e34ac6a
RM
32106 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32107 linker script munging.
32108
fcfc776b
UD
321092011-07-02 Ulrich Drepper <drepper@gmail.com>
32110
32111 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32112 as 128-bit value.
32113 * crypt/sha512.c (sha512_process_block): Perform total addition using
32114 128-bit if possible.
32115 (__sha512_finish_ctx): Likewise.
32116 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32117 as 64-bit value.
32118 * crypt/sha256.c (SWAP64): Define.
32119 (sha256_process_block): Perform total addition using 64-bit if
32120 possible.
32121 (__sha256_finish_ctx): Likewise.
32122
99231d9a
UD
321232011-07-01 Ulrich Drepper <drepper@gmail.com>
32124
32125 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32126 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32127 * nscd/hstcache.c (cache_addhst): Likewise.
32128 * nscd/grpcache.c (cache_addgr): Likewise.
32129 * nscd/aicache.c (addhstaiX): Likewise
32130 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32131
445b4a53
TK
321322011-07-01 Thorsten Kukuk <kukuk@suse.de>
32133
32134 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32135 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32136 * nscd/hstcache.c (cache_addhst): Likewise.
32137 * nscd/grpcache.c (cache_addgr): Likewise.
32138 * nscd/aicache.c (addhstaiX): Likewise
32139
6d4d8e8e
AS
321402011-07-01 Andreas Schwab <schwab@redhat.com>
32141
32142 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32143 domain only when needed.
32144
89f654c5
AS
321452011-06-30 Andreas Schwab <schwab@redhat.com>
32146
32147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32148 is always restored.
32149
cf3b23ff
UD
321502011-06-29 Ulrich Drepper <drepper@gmail.com>
32151
32152 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32153 are re-adding the entry.
32154 * nscd/servicescache.c (cache_addserv): Likewise.
32155
751626f9
AJ
321562011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32157
32158 * sysdeps/generic/dl-irel.h: fix protection against multiple
32159 inclusions.
32160 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32161
9113ea1f
UD
321622011-06-28 Ulrich Drepper <drepper@gmail.com>
32163
5c0b8d90
UD
32164 [BZ #12935]
32165 * malloc/memusage.sh: Fix quoting in message.
32166 * debug/xtrace.sh: Likewise.
32167
9113ea1f
UD
32168 * configure.in: Remove support for --experimental-malloc option, make
32169 it the default.
32170 * config.make.in: Likewise.
32171 * malloc/Makefile: Likewise.
32172
a4172181
AS
321732011-06-27 Andreas Schwab <schwab@redhat.com>
32174
32175 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32176 two-byte characters.
32177
78a7eee7
RM
321782011-06-27 Roland McGrath <roland@hack.frob.com>
32179
62bede13
RM
32180 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32181 AC_CACHE_CHECK invocation.
32182 * configure: Regenerated.
32183
78a7eee7
RM
32184 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32185
5ce33a62
UD
321862011-06-27 Ulrich Drepper <drepper@gmail.com>
32187
034807a9
UD
32188 [BZ #12350]
32189 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32190 bit from old_res_options.
32191
4902da17
UD
32192 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32193
5ce33a62
UD
32194 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32195 value type for setfct.
32196
c2344f56
L
321972011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32198
32199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32200 __gettimeofday instead of gettimeofday.
32201
68468076
UD
322022011-06-26 Ulrich Drepper <drepper@gmail.com>
32203
32204 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32205
acb0d739
L
322062011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32207
32208 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32209
32210 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32211 info.
32212
8912479f
L
322132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32214
32215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32216 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32217 strcpy-sse2-unaligned strncpy-sse2-unaligned
32218 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32219 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32220 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32221 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32222 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32223 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32225 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32226 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32227 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32228 (STRCPY): Support SSE2 and SSSE3 versions.
32229
d5495a11
UD
322302011-06-24 Ulrich Drepper <drepper@gmail.com>
32231
32232 [BZ #12874]
32233 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32234 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32235 kernels which artificially limit size of requests.
32236
0b1cbaae
L
322372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32238
32239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32240 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32241 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32242 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32243 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32244 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32245 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32246 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32247 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32248 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32249 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32250 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32251 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32252 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32253 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32255 Enable unaligned load optimization for Intel Core i3, i5 and i7
32256 processors.
32257 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32258 Define.
32259 (index_Fast_Unaligned_Load): Define.
32260 (HAS_FAST_UNALIGNED_LOAD): Define.
32261
07f494a0
MP
322622011-06-23 Marek Polacek <mpolacek@redhat.com>
32263
32264 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32265
fa3fc0fe
UD
322662011-06-22 Ulrich Drepper <drepper@gmail.com>
32267
32268 [BZ #12907]
32269 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32270 until it is clear that the information is realy needed.
32271 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32272
e12df166
AS
322732011-06-22 Andreas Schwab <schwab@redhat.com>
32274
32275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32276
852eb34d
UD
322772011-06-22 Ulrich Drepper <drepper@gmail.com>
32278
84e2a551
UD
32279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32280 /sys/devices/system/cpu/online if it is usable.
32281
852eb34d
UD
32282 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32283 reading the information from the /proc filesystem to once a second.
32284
6e502e19
UD
322852011-06-21 Andreas Jaeger <aj@suse.de>
32286
32287 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32288 NULL after inclusion of kernel headers.
32289
75d39ff2
UD
322902011-06-21 Ulrich Drepper <drepper@gmail.com>
32291
51f9aa6a
UD
32292 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32293 calls to internal_setent.
32294
c0244a9d
UD
32295 [BZ #12885]
32296 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32297 addresses using gethostbyname4_r ignore IPv4 addresses.
32298
c5e3c2ae
UD
32299 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32300 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32301
75d39ff2
UD
32302 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32303
42675c6f
DM
323042011-06-20 David S. Miller <davem@davemloft.net>
32305
32306 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32307 inclusions.
32308 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32309
32310 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32311 (elf_irel): Use it.
32312 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32313 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32314 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32315 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32316 * sysdeps/x86_64/dl-irel.h: Likewise.
32317
32318 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32319 * elf/dl-sym.c: Likewise.
32320
57912a71
UD
323212011-06-15 Ulrich Drepper <drepper@gmail.com>
32322
32323 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32324 need to dereference resplen2.
32325
ee22793d
AS
323262011-06-14 Andreas Schwab <schwab@redhat.com>
32327
32328 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32329
a9e836b0
UD
323302011-06-15 Ulrich Drepper <drepper@gmail.com>
32331
77fb9117
UD
32332 * Makeconfig: Define vardbdir and inst_vardbdir.
32333 * nss/Makefile: Add rules to install db-Makefile.
32334
40c1b22c
UD
32335 * nss/nss_db/db-XXX.c: Cleanup.
32336
9f2da732
UD
32337 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32338 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32339 GLIBC_PRIVATE.
32340 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32341 * nss/makedb.c: Implement -g option to specify that value strings
32342 are generated and should not be added to table iterated over for
32343 get*ent calls.
32344 * nss/nss_db/db-initgroups.c: New file.
32345
82e9a1f7
UD
32346 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32347 interface.
32348
c41af17e
UD
32349 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32350 (internal_getgrouplist): Adjust to name change.
32351 Update use_initgroups_entry if this is not the first call.
32352 * nss/databases.def: Add initgroups entry.
32353
a9e836b0
UD
32354 * nss/makedb.c (compute_tables): Check result of multiple hash table
32355 sizes to minimize maximum chain length.
32356
2666d441
UD
323572011-06-14 Ulrich Drepper <drepper@gmail.com>
32358
32359 * Versions.def: Add entry for libnss_db.
32360 * shlib-versions: Likewise.
32361 * nss/Makefile: Add rules to build libnss_db.
32362 * nss/Versions: Add libnss_db information. Organize libnss_files
32363 entries better.
32364 * nss/db-Makefile: Add gshadow support. Change rules for the new
32365 makedb progra. Some minor improvements to generate smaller files.
32366 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32367 here from...
32368 * nss/makedb.c: ...here.
32369 Improve database format to be smaller and require less memory at
32370 runtime.
32371 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32372 db anymore.
32373 * nss/nss_db/db-netgrp.c: Likewise.
32374 * nss/nss_db/db-open.c: Likewise.
32375 * nss/nss_files/flies-XXX.x: Adjust comments.
32376 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32377 * nss/nss_files/files-grp.c: Likewise.
32378 * nss/nss_files/files-hosts.c: Likewise.
32379 * nss/nss_files/files-network.c: Likewise.
32380 * nss/nss_files/files-proto.c: Likewise.
32381 * nss/nss_files/files-pwd.c: Likewise.
32382 * nss/nss_files/files-rpc.c: Likewise.
32383 * nss/nss_files/files-service.c: Likewise.
32384 * nss/nss_files/files-sgrp.c: Likewise.
32385 * nss/nss_files/files-spwd.c: Likewise.
32386 * nss/nss_db/db-alias.c: Removed.
32387 * nss/nss_db/dummy-db.h: Removed.
32388
9ee76b5a
UD
323892011-06-02 Ulrich Drepper <drepper@gmail.com>
32390
32391 * nss/makedb.c: Rewritten to not use database library.
32392 * nss/Makefile: Update to build new makedb program.
32393
c71ca1f8
AJ
323942011-06-14 Andreas Jaeger <aj@suse.de>
32395
32396 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32397 memset declaration.
32398
3154bfb8
UD
323992011-06-10 Andreas Schwab <schwab@redhat.com>
32400
32401 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32402 tmpbuf.
32403
b350afab
RM
324042011-06-10 Roland McGrath <roland@hack.frob.com>
32405
decd4e50
RM
32406 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32407 * elf/Makefile ($(objpfx)ld.so): Likewise.
32408
5615eaf2
RM
32409 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32410 Don't list ld.so twice in dependencies.
32411
32412 * posix/bug-regex31.c: Include <stdlib.h>.
32413
32414 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32415
32416 * nis/nss_compat/compat-spwd.c
32417 (getspent_next_nss_netgr): Remove unused variable.
32418 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32419
32420 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32421 nonmembers" output to use the right array.
32422
32423 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32424
32425 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32426
32427 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32428 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32429 * catgets/gencat.c (read_input_file): Likewise.
32430 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32431
32432 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32433 variable definition inside #if's controlling its use.
32434
32435 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32436
32437 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32438
32439 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32440
32441 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32442 unreachable code.
32443
32444 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32445
b68e08db
RM
32446 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32447 * configure: Regenerated.
32448
b350afab
RM
32449 * Makerules: Revert last change.
32450 * elf/Makefile: Likewise.
32451
28368601
RM
324522011-06-09 Roland McGrath <roland@hack.frob.com>
32453
32454 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32455 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32456 (reloc-link): Likewise.
32457
11988f8f
UD
324582011-06-09 Ulrich Drepper <drepper@gmail.com>
32459
32460 * elf/Makefile: Add rules to build pldd.
32461 * elf/pldd.c: New file.
32462 * elf/pldd-xx.c: New file.
32463
e80fab37
UD
324642011-06-07 Ulrich Drepper <drepper@gmail.com>
32465
32466 * version.h: Update for 2.15 development version.
32467
9b849836
DM
324682011-06-07 David S. Miller <davem@davemloft.net>
32469
32470 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32471 ifuncs.
32472 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32473 elf_machine_lazy_rel): Likewise.
32474 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32475 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32476 elf_machine_lazy_rel): Likewise.
32477 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32478 dl_hwcap via passed in argument.
32479 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32480 Likewise.
32481
5a31b283
AK
324822011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32483
32484 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32485
069e52f8
RM
324862011-06-06 Roland McGrath <roland@hack.frob.com>
32487
32488 [BZ #12849]
32489 * manual/fdl-1.1.texi: New file, verbatim from:
32490 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32491 * manual/lgpl-2.1.texi: New file, verbatim from:
32492 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32493 * manual/Makefile (licenses): New variable, list those new file names.
32494 (texis): Use it.
32495 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32496
32497 * manual/fdl.texi: File removed.
32498 * manual/lesser.texi: File removed.
32499 * manual/libc.texinfo (Copying, Documentation License):
32500 Use new @include file names, put @appendix directive before @include.
32501
f16846a5
JJ
325022011-06-04 Jakub Jelinek <jakub@redhat.com>
32503
32504 [BZ #12841]
32505 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32506 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32507 (mq_open): Add __NTH.
32508
3d29045b
L
325092011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32510
32511 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32512 Assume Intel Core i3/i5/i7 processor if AVX is available.
32513
8c297311
UD
325142011-05-31 Ulrich Drepper <drepper@gmail.com>
32515
32516 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32517 typo.
32518
c8fc0c91
UD
325192011-05-31 Andreas Schwab <schwab@redhat.com>
32520
32521 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32522 memory. Use alloca_account. Fix memory leak when retrying.
32523
5b27a807
UD
325242011-05-31 Ulrich Drepper <drepper@gmail.com>
32525
356f8bc6
UD
32526 * version.h (RELEASE): Bump for 2.14 release.
32527 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32528
5b27a807
UD
32529 * config.make.in (RANLIB): Remove entry.
32530
01f16ab0
UD
325312011-05-30 Ulrich Drepper <drepper@gmail.com>
32532
41fce8bd
UD
32533 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32534 (libc.pot): Work around missing support for .ksh extension in xgettext.
32535
4769ae77
UD
32536 [BZ #12684]
32537 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32538 if both request failed.
32539 (send_dg): In case of server errors clear resplen or *resplen2.
32540
6b1e7d19
UD
32541 [BZ #12454]
32542 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32543 when there are multiple maps.
32544 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32545 (_dl_fini): Remove test here.
32546
01f16ab0
UD
32547 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32548
b1ebd700
UD
325492011-05-29 Ulrich Drepper <drepper@gmail.com>
32550
7ae22829
UD
32551 [BZ #12350]
32552 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32553 bit from old_res_options.
32554 (gaih_inet): Likewise.
32555
553149f6 32556 [BZ #11099]
18a84741 32557 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32558 as signed.
32559
652ffab1
UD
32560 * resolv/res_init.c (res_setoptions): Make the code more compact.
32561
16985fd0
UD
32562 [BZ #11558]
32563 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32564 set RES_USEVC.
32565
0464f746
UD
32566 [BZ #11634]
32567 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32568
7d17596c
UD
32569 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32570
cf6bbbd7
UD
32571 [BZ #11781]
32572 * malloc/malloc.h: Declare malloc hook variables as volatile.
32573
13f1ab36
UD
32574 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32575 in last patch.
32576
b1ebd700
UD
32577 [BZ #11799]
32578 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32579 raise in the comment.
80e2212d
UD
32580 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32581 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32582 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32583
ce67228d
UD
325842011-05-28 Ulrich Drepper <drepper@gmail.com>
32585
8887a920
UD
32586 [BZ #12811]
32587 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32588 grow the buffers more if it already has to be sufficient.
32589 (build_wcs_upper_buffer): Likewise.
32590 * posix/regexec.c (check_matching): Likewise.
32591 (clean_state_log_if_needed): Likewise.
32592 (extend_buffers): Don't enlarge buffers beyond size of the input
32593 buffer.
32594 Patches mostly by Emil Wojak <emil@wojak.eu>.
32595 * posix/bug-regex32.c: New file.
32596 * posix/Makefile (tests): Add bug-regex32.
32597
4f031072
UD
32598 * locale/findlocale.c (_nl_find_locale): Return right away if
32599 _nl_explode_name failed.
32600 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32601
d0478f0c
UD
32602 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32603
de81b246
UD
32604 * debug/xtrace.sh: Unify messages.
32605 * malloc/memusage.sh: Likewise.
32606
c738465a
UD
32607 [BZ #12813]
32608 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32609 time symbol from vDSO. Substitute with vsyscall if not available.
32610 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32611 __vdso_time.
32612
f1f929d7
UD
32613 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32614 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32615 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32616 Add sendmmsg and internal_sendmmsg.
32617 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32618 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32619 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32620
ce67228d
UD
32621 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32622 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32623 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32624
e57420c6
UD
326252011-05-27 Ulrich Drepper <drepper@gmail.com>
32626
a8509ca5
UD
32627 [BZ #12813]
32628 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32629 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32630 available.
32631 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32632 __vdso_getcpu.
32633
e57420c6
UD
32634 [BZ #12814]
32635 * iconvdata/Makefile (tests): Add bug-iconv9.
32636 * iconvdata/bug-iconv9.c: New file.
32637
4d07db15
AS
326382011-05-27 Andreas Schwab <schwab@redhat.com>
32639
32640 [BZ #12814]
32641 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32642
ea486f69
JJ
326432011-05-25 Jakub Jelinek <jakub@redhat.com>
32644
32645 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32646 (struct user_regs_struct): Change intcs field back to cs.
32647
6f038433
UD
326482011-05-25 Ulrich Drepper <drepper@gmail.com>
32649
32650 * po/ja.po: Update from translation team.
32651
67f86a25
UD
326522011-05-23 Ulrich Drepper <drepper@gmail.com>
32653
32654 [BZ #12795]
32655 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32656 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32657
def7fbd6
AS
326582011-05-20 Andreas Schwab <schwab@redhat.com>
32659
32660 * stdlib/longlong.h: Update from GCC.
32661
f50ef8f1
AS
326622011-05-23 Andreas Schwab <schwab@redhat.com>
32663
32664 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32665 parameter name.
32666 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32667 Add parameter name.
32668 (__sysconf): Pass it down.
32669
de7ce8f1
UD
326702011-05-22 Ulrich Drepper <drepper@gmail.com>
32671
f2962a71
UD
32672 [BZ #12671]
32673 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32674 some situations.
32675 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32676 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32677 add in in __libc_use_alloca calls. Adjust callers.
32678 (glob): Use malloc in some situations.
32679
de7ce8f1
UD
32680 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32681 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32682 pltexit.
32683
aec84f53
UD
326842011-05-21 Ulrich Drepper <drepper@gmail.com>
32685
05bb4a68
UD
32686 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32687 and CLOCK_BOOTTIME_ALARM.
32688
7ea72f99
UD
32689 [BZ #12782]
32690 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32691 is returned.
32692
7e4afad5
UD
32693 * string/_strerror.c (__strerror_r): Print negative errors as signed
32694 numbers.
32695
8e211fec
UD
32696 [BZ #12777]
32697 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32698 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32699 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32700
f7d82dc9
UD
32701 * configure.in: Fix typo in redirection and correct removal of test
32702 files in two cases.
32703
cc9e536d
UD
32704 [BZ #12788]
32705 * locale/setlocale.c (new_composite_name): Fix test to check for
32706 identical name of all categories.
32707
aec84f53
UD
32708 [BZ #12792]
32709 * libio/filedoalloc.c (local_isatty): New function.
32710 (_IO_file_doallocate): Use local_isatty.
32711 * stdio-common/perror.c (perror): In case a new stream is used
32712 forward the stream error.
32713 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32714 error flag.
32715
78e64fdc
RT
327162011-05-20 Ulrich Drepper <drepper@gmail.com>
32717
34a9094f
UD
32718 [BZ #11869]
32719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32720 alloca.
32721 * include/alloca.h (extend_alloca_account): Define.
32722
78e64fdc
RT
32723 [BZ #11857]
32724 * posix/regex.h: Fix comments with documentation of user-accessible
32725 fields after compilation and describe correct free'ing of pattern
32726 after re_compile_pattern.
32727 Patch by Reuben Thomas <rrt@sc3d.org>.
32728
457bddfc
RA
327292011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32730
32731 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32732 and -mno-altivec to prevent the compiler from using Altivec and/or
32733 VSX instructions when the corresponding registers are not available.
32734
a4527b51
AS
327352011-05-19 Andreas Schwab <schwab@redhat.com>
32736
32737 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32738
ed690b2f
UD
327392011-05-19 Ulrich Drepper <drepper@gmail.com>
32740
32741 * libio/freopen.c (freopen): Use __dup2, not dup2.
32742 * libio/freopen64.c (freopen64): Likewise.
32743
8db73634
L
327442011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32745
32746 [BZ #12775]
32747 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32748 * math/Makefile (tests): Add test-powl.
32749 (CFLAGS-test-powl.c): Define.
32750 * math/test-powl.c: New file.
32751
0a197a9d
L
327522011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32753
32754 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32755
ee30c380
UD
327562011-05-17 Ulrich Drepper <drepper@gmail.com>
32757
32758 [BZ #11837]
32759 * iconvdata/gb18030.c: Update to GB18020-2005.
32760
6ce75379
UD
327612011-05-16 Ulrich Drepper <drepper@gmail.com>
32762
a4b89fd8
AR
32763 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32764 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32765 Patch by Aharon Robbins <arnold@skeeve.com>.
32766
ea389b12
UD
32767 [BZ #11892]
32768 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32769 on the stack.
32770
68a3f91f
UD
32771 [BZ #11895]
32772 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32773 through underflows.
32774
15cc7dd1
UD
32775 [BZ #12766]
32776 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32777 point to strings before performing equality test for error_one_per_line
32778 mode.
32779
f3799213
UD
32780 [BZ #11697]
32781 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32782
d79a9c94
UD
32783 [BZ #11820]
32784 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32785 (struct user_fpregs_struct): Avoid __uint*_t types.
32786
56e5eb46
UD
32787 [BZ #6420]
32788 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32789 symbol info. Use it instead of calling _dl_addr locally.
32790 (lock_and_info): New function.
32791 (tr_freehook): Call lock_and_info and pass symbol info as additional
32792 parameter to tr_where.
32793 (tr_mallochook): Likewise.
32794 (tr_reallochook): Likewise.
32795 (tr_memalignhook): Likewise.
32796
6ce75379
UD
32797 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32798 used and couldn't be at all thread-safe.
32799
f8a3b5bf
UD
328002011-05-15 Ulrich Drepper <drepper@gmail.com>
32801
94b7cc37
UD
32802 * libio/freopen.c (freopen): Don't close old file descriptor
32803 before the new one is opened. Instead dup the new file descriptor
32804 to the old one after the new stream is created.
32805 * libio/freopen64.c (freopen64): Likewise.
32806 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32807 * libio/fileops.c (_IO_new_file_close_it): Handle new
32808 _IO_FLAGS2_NOCLOSE flag.
32809 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32810 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32811 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32812 _IO_FLAGS2_NOCLOSE flag.
32813 * include/unistd.h: Add hidden_proto for dup3.
32814 Define __have_dup3.
32815 * io/dup3.c: Define hidden symbol.
32816 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32817
bd25564e
UD
32818 [BZ #7101]
32819 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32820 when an incomplete long option is used.
32821 * posix/tst-getopt_long1.c: New file.
32822 * posix/Makefile (tests): Add tst-getopt_long1.
32823
c84cfef4
UD
32824 [BZ #10138]
32825 * scripts/config.guess: Update from autoconf-2.68.
32826 * scripts/config.sub: Likewise.
32827
3b85df27
UD
32828 [BZ #10157]
32829 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32830 tests into ...
32831 (has_cpuclock): ...this. New function.
32832 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32833 macro here based on has_cpuclock code.
32834
15a856b1
UD
32835 [BZ #10149]
32836 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32837 First byte (not low byte) is now always NUL.
32838 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32839
05f399e6
UD
32840 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32841 Use non-cancelable interfaces.
32842
10a52685 32843 [BZ #9809]
94ecc67d
UD
32844 * locale/iso-639.def: Add entry for Sorani.
32845
f8a3b5bf
UD
32846 [BZ #11901]
32847 * include/stdlib.h: Move include protection to the right place.
32848 Define abort_msg_s. Declare __abort_msg with it.
32849 * stdlib/abort.c (__abort_msg): Adjust type.
32850 * assert/assert.c (__assert_fail_base): New function. Majority
32851 of code from __assert_fail. Allocate memory for __abort_msg with
32852 mmap.
32853 (__assert_fail): Now call __assert_fail_base.
32854 * assert/assert-perr.c: Remove bulk of implementation. Use
32855 __assert_fail_base.
32856 * include/assert.hL Declare __assert_fail_base.
32857 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32858 mmap.
32859 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32860
1af4e298
UD
328612011-05-14 Ulrich Drepper <drepper@gmail.com>
32862
f8a3b5bf 32863 [BZ #11952]
d26dfc60
MG
32864 [BZ #12453]
32865 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32866 until all modules are registered in the DTV.
32867 * elf/Makefile: Add rules to build and run tst-tls19.
32868 * elf/tst-tls19.c: New file.
32869 * elf/tst-tls19mod1.c: New file.
32870 * elf/tst-tls19mod2.c: New file.
32871 * elf/tst-tls19mod3.c: New file.
32872 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32873
2fc54d6f
UD
32874 [BZ #12083]
32875 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32876 correctly.
32877
98d76b46
UD
32878 [BZ #12601]
32879 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32880 two-byte sequence errors.
32881 * iconvdata/Makefile (tests): Add bug-iconv8.
32882 * iconvdata/bug-iconv8.c: New file.
32883
da3c19ef
UD
32884 [BZ #12626]
32885 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32886 buf2 definition.
32887
ca408c15
UD
32888 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32889
d6f67f7d
UD
32890 [BZ #12432]
32891 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32892 (dummy_getcfa): New function.
32893 (init): Get _Unwind_GetCFA address, use dummy if not found.
32894 (backtrace_helper): In recursion check, also check whether CFA changes.
32895 (__backtrace): Completely initialize arg.
32896
1af4e298 32897 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32898 storing incomplete byte sequence in state object. Avoid testing for
32899 guaranteed too small input if we know there is enough data available.
1af4e298 32900
da62f81b
AS
329012011-05-11 Andreas Schwab <schwab@redhat.com>
32902
32903 * Makeconfig (+link-pie): Indent.
32904 * Rules (binaries-pie): Define if $(have-fpie) and
32905 $(build-shared).
32906 (binaries-shared): Also filter out $(binaries-pie).
32907 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32908 * nscd/Makefile (others-pie): Add nscd.
32909 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32910 ($(objpfx)nscd): Remove command override.
32911 * login/Makefile (others-pie): Add pt_chown.
32912 ($(objpfx)pt_chown): Remove command override.
32913 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32914 remove command overrides.
32915
fcabc0f8
UD
329162011-05-13 Ulrich Drepper <drepper@gmail.com>
32917
20030ae6
UD
32918 * libio/tst_putwc.c: Fix error messages.
32919
fcabc0f8
UD
32920 [BZ #12724]
32921 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32922 currently writing and seek to current position when not.
32923 * libio/Makefile (tests): Add bug-fclose1.
32924 * libio/bug-fclose1.c: New file.
32925
320a5dc0
PB
329262011-05-12 Ulrich Drepper <drepper@gmail.com>
32927
32928 [BZ #12511]
32929 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32930 don't set DF_1_NODELETE here.
32931 (do_lookup_x): When entering new entry test for copy relocation
32932 and if necessary set DF_1_NODELETE flag.
32933 * elf/tst-unique4.cc: New file.
32934 * elf/tst-unique4.h: New file.
32935 * elf/tst-unique4lib.cc: New file.
32936 * elf/Makefile: Add rules to build and run tst-unique4.
32937 Patch by Piotr Bury <pbury@goahead.com>.
32938
22836f52
UD
329392011-05-11 Ulrich Drepper <drepper@gmail.com>
32940
f574184a
UD
32941 [BZ #12052]
32942 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32943
e1fb097f
UD
32944 [BZ #12625]
32945 * misc/mntent_r.c (addmntent): Flush the stream after the output
32946
22836f52
UD
32947 [BZ #12393]
32948 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32949 (is_trusted_path_normalize): Skip initial colon. Append slash
32950 to empty buffer. Duplicate is_trusted_path code but allow
32951 constructed patch to be prefix.
32952 (is_dst): Allow $ORIGIN followed by /.
32953 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32954 Correct testing of result of is_trusted_path_normalize
32955 (decompose_rpath): Fix warning.
32956
7b3b0b2a
UD
329572011-05-10 Ulrich Drepper <drepper@gmail.com>
32958
32959 [BZ #11257]
32960 * grp/initgroups.c (internal_getgrouplist): When we found the service
32961 list through the initgroups entry in nsswitch.conf do not always
32962 continue on a successful lookup. Don't always use the
eac80ce2 32963 __nss_group_database value if it is set.
7b3b0b2a
UD
32964 * nss/nsswitch.conf (initgroups): Change action for successful db
32965 lookup to continue for compatibility.
32966
2a81eaa5
UD
329672011-05-09 Ulrich Drepper <drepper@gmail.com>
32968
be97a69e
UD
32969 [BZ #11532]
32970 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32971 and CP774 modules.
32972 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32973 and CP774 modules.
32974 * iconvdata/tst-tables.sh: Likewise.
32975 * iconvdata/cp770.c: New file.
32976 * iconvdata/cp771.c: New file.
32977 * iconvdata/cp772.c: New file.
32978 * iconvdata/cp773.c: New file.
32979 * iconvdata/cp774.c: New file.
32980 * iconvdata/testdata/CP770: New file.
32981 * iconvdata/testdata/CP770..UTF8: New file.
32982 * iconvdata/testdata/CP771: New file.
32983 * iconvdata/testdata/CP771..UTF8: New file.
32984 * iconvdata/testdata/CP772: New file.
32985 * iconvdata/testdata/CP772..UTF8: New file.
32986 * iconvdata/testdata/CP773: New file.
32987 * iconvdata/testdata/CP773..UTF8: New file.
32988 * iconvdata/testdata/CP774: New file.
32989 * iconvdata/testdata/CP774..UTF8: New file.
32990
32991 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32992 END CHARMAP line.
32993 * iconvdata/gen-8bit-gap.sh: Likewise.
32994 * iconvdata/gen-8bit.sh: Likewise.
32995
c1e9e399
UD
32996 * locale/iso-639.def: Add ary entry.
32997
24c55fb3 32998 [BZ #11258]
96b4b1b0
UD
32999 * locale/C-translit.h.in: Add U20A1 transliteration.
33000
bdc2f971
KB
33001 [BZ #12178]
33002 * locale/iso-639.def: Add wae entry.
33003 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33004
2952b117
UD
33005 [BZ #12545]
33006 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33007 for n.
33008
2a81eaa5
UD
33009 [BZ #12711]
33010 * locale/C-translit.h.in: Add entry for U20B9.
33011 Patch by pravin.d.s@gmail.com.
33012
28377d1b
UD
330132011-05-08 Ulrich Drepper <drepper@gmail.com>
33014
7fb90fb8
UD
33015 [BZ #12713]
33016 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33017 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33018 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33019 in rtld. Use *stat64.
7fb90fb8 33020 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33021 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33022 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33023 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33024 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33025 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33026 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33027 __fstatat64 macros.
7fb90fb8
UD
33028 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33029 * dirent/rewinddir.c: Add libc_hidden_def.
33030 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33031 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33032
28377d1b
UD
33033 * include/dirent.h (__alloc_dir): Add flags parameter.
33034 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33035 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33036 __alloc_dir.
33037 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33038 from fdopendir if O_CLOEXEC is already set.
33039
66bdbaa4
AM
330402011-03-15 Alan Modra <amodra@gmail.com>
33041
33042 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33043 l_tls_firstbyte_offset non-zero. Save padding offset in
33044 l_tls_firstbyte_offset for later use.
33045 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33046 freeing static tls block.
33047
95721191
JN
330482011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33049
33050 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33051 where #ifdef was intended. The intent is to prevent ARG_MAX from
33052 being defined by the kernel headers.
33053
f87dfb1f
UD
330542011-05-07 Ulrich Drepper <drepper@gmail.com>
33055
33056 [BZ #12734]
33057 * resolv/resolv.h: Define RES_NOTLDQUERY.
33058 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33059 no-tld-query and set RES_NOTLDQUERY.
33060 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33061 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33062 modern BIND to search name as TLD unless forbidden.
33063
47c3cd7a
UD
330642011-05-07 Petr Baudis <pasky@suse.cz>
33065 Ulrich Drepper <drepper@gmail.com>
33066
33067 [BZ #12393]
33068 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33069 (is_trusted_path): ...to here.
c1e9ea35 33070 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 33071 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 33072 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 33073
8a35c912
PP
330742011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33075
33076 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33077 __BEGIN/__END_DECLS.
33078
acd41f47
UD
330792011-05-06 Ulrich Drepper <drepper@gmail.com>
33080
33081 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33082 NSS_STATUS_NOTFOUND if no record was found.
33083
597df647
AS
330842011-05-05 Andreas Schwab <schwab@redhat.com>
33085
33086 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33087 (headers-not-in-tirpc): Remove rpc/netdb.h
33088 * resolv/netdb.h: Revert last change.
33089
b9af1301
PP
330902011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33091
33092 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33093 circular dependency between libgcc.a and libc.a.
33094
4e34d5f5
AS
330952011-05-05 Andreas Schwab <schwab@redhat.com>
33096
33097 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33098 * nis/Makefile: Don't install rpcsvc/*.
33099 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33100 instead of <rpc/types.h>.
33101 (MAXHOSTNAMELEN): Define.
33102
00ee369c
AS
331032011-05-03 Andreas Schwab <schwab@redhat.com>
33104
33105 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33106
0b592a30
MB
331072011-04-28 Maciej Babinski <mbabinski@google.com>
33108
33109 [BZ #12714]
33110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33111 gethostbyname4_r when IPv6 results are possible.
33112
6e04cbbe
UD
331132011-05-02 Ulrich Drepper <drepper@gmail.com>
33114
33115 [BZ #12723]
33116 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33117 _PC_PIPE_BUF handling.
33118
e4ecafe0
BH
331192011-04-30 Bruno Haible <bruno@clisp.org>
33120
33121 [BZ #12717]
33122 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33123 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33124 to 'int'.
33125 * inet/getnameinfo.c (getnameinfo): Likewise.
33126
125ee683
UD
331272011-04-29 Ulrich Drepper <drepper@gmail.com>
33128
33129 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33130 to groups setting in database lookup.
33131 * nss/nsswitch.conf: Add initgroups entry.
33132
b722481a
EB
331332011-04-22 Ulrich Drepper <drepper@gmail.com>
33134
33135 [BZ #12685]
33136 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33137 mode string.
33138 Patch by Eric Blake <eblake@redhat.com>.
33139
4df46dbd
L
331402011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33141
33142 * sunrpc/Makefile (need-export-routines): Add svc_run.
33143 (routines): Remove svc_run.
33144 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33145 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33146 * sunrpc/svc_run.c (svc_run): Likewise.
33147 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33148
e84142d2
UD
331492011-04-21 Ulrich Drepper <drepper@gmail.com>
33150
33151 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33152 problem in reallocation in last patch.
33153
877175d8
UD
331542011-04-20 Ulrich Drepper <drepper@gmail.com>
33155
33156 * sunrpc/Makefile: Move inclusion of Rules.
33157
ab8eed78
UD
331582011-04-19 Ulrich Drepper <drepper@gmail.com>
33159
33160 * nss/nss_files/files-initgroups.c: New file.
33161 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33162 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33163 _nss_files_initgroups_dyn.
33164
e3d8f584
RS
331652011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33166
33167 * elf/elf.h (R_ARM_IRELATIVE): Define.
33168
af190f45
UD
331692011-04-19 Ulrich Drepper <drepper@gmail.com>
33170
33171 * po/ru.po: Update from translation team.
33172
53cf59ef
UD
331732011-04-17 Ulrich Drepper <drepper@gmail.com>
33174
33175 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33176 dependencies.
33177
4c559bcd
MF
331782011-02-06 Mike Frysinger <vapier@gentoo.org>
33179
33180 [BZ #12653]
33181 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33182 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33183 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33184 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33185 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33186
4420675c
AS
331872011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33188
33189 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33190 differing bytes.
33191 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33192 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33193 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33194
75ea32ab
UD
331952011-04-17 Ulrich Drepper <drepper@gmail.com>
33196
33197 [BZ #12420]
33198 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33199 storing it.
33200 * stdlib/bug-getcontext.c: New file.
33201 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33202
27390476
AK
332032011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33204
33205 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33206 instructions into .machine "z9-109".
33207 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33208 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33209
10442705
AK
332102011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33211
33212 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33213 between environment variables and auxiliary vector.
33214
7b57bfe5
UD
332152011-04-16 Ulrich Drepper <drepper@gmail.com>
33216
33217 * Makefile: Add rules to build linkobj/libc.so.
33218 * include/libc-symbols.h: Define libc_hidden_nolink.
33219 * include/rpc/auth.h: Mark functions which are to be hidden.
33220 * include/rpc/auth_des.h: Likewise.
33221 * include/rpc/auth_unix.h: Likewise.
33222 * include/rpc/clnt.h: Likewise.
33223 * include/rpc/des_crypt.h: Likewise.
33224 * include/rpc/key_prot.h: Likewise.
33225 * include/rpc/pmap_clnt.h: Likewise.
33226 * include/rpc/pmap_prot.h: Likewise.
33227 * include/rpc/pmap_rmt.h: Likewise.
33228 * include/rpc/rpc_msg.h: Likewise.
33229 * include/rpc/svc.h: Likewise.
33230 * include/rpc/svc_auth.h: Likewise.
33231 * include/rpc/xdr.h: Likewise.
33232 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33233 * nss/Makefile: Likewise.
33234 * sunrpc/Makefile: Don't install headers. Build library with normal
33235 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33236 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33237 for the compat linking library. Remove use of INTDEF/INTUSE.
33238 * sunrpc/auth_none.c: Likewise.
33239 * sunrpc/auth_unix.c: Likewise.
33240 * sunrpc/authdes_prot.c: Likewise.
33241 * sunrpc/authuxprot.c: Likewise.
33242 * sunrpc/clnt_gen.c: Likewise.
33243 * sunrpc/clnt_perr.c: Likewise.
33244 * sunrpc/clnt_raw.c: Likewise.
33245 * sunrpc/clnt_simp.c: Likewise.
33246 * sunrpc/clnt_tcp.c: Likewise.
33247 * sunrpc/clnt_udp.c: Likewise.
33248 * sunrpc/clnt_unix.c: Likewise.
33249 * sunrpc/des_crypt.c: Likewise.
33250 * sunrpc/des_soft.c: Likewise.
33251 * sunrpc/get_myaddr.c: Likewise.
33252 * sunrpc/key_call.c: Likewise.
33253 * sunrpc/key_prot.c: Likewise.
33254 * sunrpc/netname.c: Likewise.
33255 * sunrpc/pm_getmaps.c: Likewise.
33256 * sunrpc/pm_getport.c: Likewise.
33257 * sunrpc/pmap_clnt.c: Likewise.
33258 * sunrpc/pmap_prot.c: Likewise.
33259 * sunrpc/pmap_prot2.c: Likewise.
33260 * sunrpc/pmap_rmt.c: Likewise.
33261 * sunrpc/publickey.c: Likewise.
33262 * sunrpc/rpc_cmsg.c: Likewise.
33263 * sunrpc/rpc_common.c: Likewise.
33264 * sunrpc/rpc_dtable.c: Likewise.
33265 * sunrpc/rpc_prot.c: Likewise.
33266 * sunrpc/rpc_thread.c: Likewise.
33267 * sunrpc/rtime.c: Likewise.
33268 * sunrpc/svc.c: Likewise.
33269 * sunrpc/svc_auth.c: Likewise.
33270 * sunrpc/svc_authux.c: Likewise.
33271 * sunrpc/svc_raw.c: Likewise.
33272 * sunrpc/svc_run.c: Likewise.
33273 * sunrpc/svc_simple.c: Likewise.
33274 * sunrpc/svc_tcp.c: Likewise.
33275 * sunrpc/svc_udp.c: Likewise.
33276 * sunrpc/svc_unix.c: Likewise.
33277 * sunrpc/svcauth_des.c: Likewise.
33278 * sunrpc/xcrypt.c: Likewise.
33279 * sunrpc/xdr.c: Likewise.
33280 * sunrpc/xdr_array.c: Likewise.
33281 * sunrpc/xdr_float.c: Likewise.
33282 * sunrpc/xdr_intXX_t.c: Likewise.
33283 * sunrpc/xdr_mem.c: Likewise.
33284 * sunrpc/xdr_rec.c: Likewise.
33285 * sunrpc/xdr_ref.c: Likewise.
33286 * sunrpc/xdr_sizeof.c: Likewise.
33287 * sunrpc/xdr_stdio.c: Likewise.
33288
e6c61494
UD
332892011-04-10 Ulrich Drepper <drepper@gmail.com>
33290
33291 [BZ #12650]
33292 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33293 * sysdeps/ia64/dl-tls.h: Likewise.
33294 * sysdeps/powerpc/dl-tls.h: Likewise.
33295 * sysdeps/s390/dl-tls.h: Likewise.
33296 * sysdeps/sh/dl-tls.h: Likewise.
33297 * sysdeps/sparc/dl-tls.h: Likewise.
33298 * sysdeps/x86_64/dl-tls.h: Likewise.
33299 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33300
34fe483e
AS
333012011-03-14 Andreas Schwab <schwab@redhat.com>
33302
33303 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33304 rpath element also skip the following colon.
33305 (expand_dynamic_string_token): Add is_path parameter and pass
33306 down to DL_DST_REQUIRED and _dl_dst_substitute.
33307 (decompose_rpath): Call expand_dynamic_string_token with
33308 non-zero is_path. Ignore empty rpaths.
33309 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33310 with zero is_path.
33311
f12a32e6
AS
333122011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33313
33314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33315 Make cancelable.
33316
38a7d692
UD
333172011-04-09 Ulrich Drepper <drepper@gmail.com>
33318
33319 [BZ #12655]
33320 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33321 Patch by Filipe David Manana <fdmanana@apache.org>.
33322
e451d22b
AS
333232011-04-07 Andreas Schwab <schwab@redhat.com>
33324
33325 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33326 Maintain aligned stack.
33327 (CHECK_RSP): Remove unused macro.
33328
dedc7c7b
UD
333292011-04-03 Ulrich Drepper <drepper@gmail.com>
33330
33331 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33332 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33333
94521213
UD
333342011-04-02 Ulrich Drepper <drepper@gmail.com>
33335
33336 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33337
8cb700c0 33338 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33339
0354e355
L
333402011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33341
33342 [BZ #12518]
33343 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33344 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33345 * sysdeps/x86_64/memmove.c: New file.
33346 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33347 (memcpy): Renamed to ...
33348 (__new_memcpy): This.
33349 (memcpy): Provide GLIBC_2_14 memcpy.
33350 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33351 (memcpy): Provide GLIBC_2_2_5 memcpy.
33352
8593482f
UD
333532011-04-01 Ulrich Drepper <drepper@gmail.com>
33354
33355 [BZ #12631]
33356 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33357
81a5726b
AS
333582011-03-30 Andreas Schwab <schwab@redhat.com>
33359
33360 * misc/syncfs.c: New file.
33361 * misc/Makefile (routines): Add syncfs.
33362 * posix/unistd.h: Declare syncfs.
33363 * sysdeps/unix/syscalls.list: Add syncfs.
33364
00e5419f
AS
333652011-04-01 Andreas Schwab <schwab@redhat.com>
33366
33367 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33368 open_by_handle_at.
33369 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33370 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33372 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33373 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33374 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33375 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33376
748876bf
UD
333772011-04-01 Ulrich Drepper <drepper@gmail.com>
33378
658e451d
UD
33379 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33380 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33381 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33382 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33383 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33384 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33385 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33386
748876bf
UD
33387 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33388 sync_file_range.c with -fexceptions.
33389 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33390 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33391 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33392 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33393 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33394 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33395 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33396 sync_file_range as cancellation point
33397 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33398 now a wrapper around __call_sync_file_range with cancellation handling.
33399 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33400 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33401 function name to __call_sync_file_range.
33402 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33403 Add call_sync_file_range.
748876bf 33404
6e63d5e1
AS
334052011-04-01 Andreas Schwab <schwab@redhat.com>
33406
33407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33408 bits/timex.h.
6e63d5e1 33409
46998f74
UD
334102011-04-01 Ulrich Drepper <drepper@gmail.com>
33411
4c1423ed
UD
33412 * iconv/iconv.h: Fix typo in comment.
33413 * io/fcntl.h: Likewise.
33414 * libio/stdio.h: Likewise.
33415 * posix/spawn.h: Likewise.
33416 * posix/unistd.h: Likewise.
33417 * stdlib/stdlib.h: Likewise.
33418 * time/time.h: Likewise.
33419 * wcsmbs/wchar.h: Likewise.
33420
158648c0
UD
33421 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33422 open_by_handle): Add.
33423 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33424 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33425 Augment a few comments.
33426 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33428 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33430 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33431 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33432 open_by_handle.
33433
46998f74
UD
33434 * io/fcntl.h (AT_EMPTY_PATH): Define.
33435
83fe108b
UD
334362011-03-30 Ulrich Drepper <drepper@gmail.com>
33437
33438 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33439 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33440 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33441 to...
33442 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33443 * Versions.def: Add GLIBC_2.14.
33444 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33445 Export.
83fe108b 33446
bb242059
UD
334472011-03-22 Ulrich Drepper <drepper@gmail.com>
33448
33449 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33450 round counter.
33451 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33452
c97a1282
L
334532011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33454
33455 [BZ #12597]
33456 * string/test-strncmp.c (do_page_test): New function.
33457 (check2): Likewise.
33458 (test_main): Call check2.
33459 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33460
2a115601
UD
334612011-03-20 Ulrich Drepper <drepper@gmail.com>
33462
33463 [BZ #12587]
33464 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33465 Handle cache information in CPU leaf 4.
33466 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33467
8126d904
UD
334682011-03-18 Ulrich Drepper <drepper@gmail.com>
33469
042c49c6 33470 [BZ #12583]
8126d904
UD
33471 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33472 character representation.
33473 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33474
ccfe366e
RA
334752011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33476
33477 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33478 END(__isnan) to END(__isnanf) to match function entry point/label
33479 EALIGN(__isnanf,...).
33480
c6e13027
JJ
334812011-03-10 Jakub Jelinek <jakub@redhat.com>
33482
33483 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33484
33f85a3f
UD
334852011-03-10 Ulrich Drepper <drepper@gmail.com>
33486
028478fa
UD
33487 [BZ #12510]
33488 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33489 copy from the symbol referenced in the relocation to initialize the
33490 used variable.
33491 Patch by Piotr Bury <pbury@goahead.com>.
33492 * elf/Makefile: Add rules to build and tst-unique3.
33493 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33494 * elf/tst-unique3.cc: New file.
33495 * elf/tst-unique3.h: New file.
33496 * elf/tst-unique3lib.cc: New file.
33497 * elf/tst-unique3lib2.cc: New file.
33498
33f85a3f
UD
33499 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33500
03592fc7
MF
335012011-03-10 Mike Frysinger <vapier@gentoo.org>
33502
33503 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33504 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33505 to _start.
03592fc7 33506
6a5ee102
UD
335072011-03-06 Ulrich Drepper <drepper@gmail.com>
33508
33509 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33510 to-be-loaded object along a path to loader is ld.so.
33511
7e4ba49c
HJ
335122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33513 Ulrich Drepper <drepper@gmail.com>
33514
33515 * sysdeps/x86_64/memset.S: After aligning destination, code
33516 branches to different locations depending on the value of
33517 misalignment, when multiarch is enabled. Fix this.
33518
335192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33520
33521 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33522 Set _x86_64_preferred_memory_instruction for AMD processsors.
33523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33524 Set bit_Prefer_SSE_for_memop for AMD processors.
33525
13a804de
UD
335262011-03-04 Ulrich Drepper <drepper@gmail.com>
33527
33528 * libio/fmemopen.c (fmemopen): Optimize a bit.
33529
9d25c392
AS
335302011-03-03 Andreas Schwab <schwab@redhat.com>
33531
33532 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33533
a5543c6a
RM
335342011-03-03 Roland McGrath <roland@redhat.com>
33535
33536 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33537
012d35f7
DM
335382011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33539
7e4ba49c 33540 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33541 __bzero_ultra1 instead of __memset_ultra1.
33542
4bff6e01
AS
335432011-02-23 Andreas Schwab <schwab@redhat.com>
33544 Ulrich Drepper <drepper@gmail.com>
33545
33546 [BZ #12509]
33547 * include/link.h (struct link_map): Add l_orig_initfini.
33548 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33549 returning unsuccessfully.
33550 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33551 close of a file loaded at startup, restore the original l_initfini
33552 list.
33553 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33554 list, store the pointer.
33555 * elf/Makefile ($(objpfx)noload-mem): New rule.
33556 (noload-ENV): Define.
33557 (tests): Add $(objpfx)noload-mem.
33558 * elf/noload.c: Include <memcheck.h>.
33559 (main): Call mtrace. Close all opened handles.
33560
f2092faf
AS
335612011-02-17 Andreas Schwab <schwab@redhat.com>
33562
33563 [BZ #12454]
33564 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33565 dependencies are missing.
33566
6c8a2e88
ST
335672011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33568
f2092faf 33569 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33570 Hurd needs munmap.
33571 * sysdeps/mach/hurd/ifreq.h: New file.
33572
84a42118
PB
335732011-01-27 Petr Baudis <pasky@suse.cz>
33574 Ulrich Drepper <drepper@gmail.com>
33575
071f805e 33576 [BZ 12445]#
84a42118
PB
33577 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33578 to extend_alloca().
33579 * stdio-common/bug23.c: New file.
33580 * stdio-common/Makefile (tests): Add bug23.
33581
e23fe25b
AS
335822010-09-28 Andreas Schwab <schwab@redhat.com>
33583 Ulrich Drepper <drepper@gmail.com>
33584
33585 [BZ #12489]
33586 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33587 before performing relro protection. At old place add assertion
33588 to make sure nothing changed.
33589
d3f02e10
NS
335902011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33591 Glauber de Oliveira Costa <glommer@gmail.com>
33592
33593 * elf/elf.h: Add new ARM TLS relocs.
33594
d55fd7a5
RA
335952011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33596
33597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33598 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33599 cast from r3.
33600 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33601 'tests' variable.
33602 * sysdeps/wordsize-64/tst-writev.c: New file.
33603
2206397e
RA
336042011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33605
33606 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33607 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33608 insns in _dl_start to prevent a TOC reference before relocs are
33609 resolved.
33610
e9433893
UD
336112011-02-15 Ulrich Drepper <drepper@gmail.com>
33612
33613 [BZ #12469]
33614 * Makeconfig: Remove RANLIB definition.
33615 * Makerules: Don't use RANLIB.
33616 * aclocal.m4: Remove ranlib test.
33617 * configure.in: No need to check for ranlib.
33618 * elf/rtld-Rules: Don't use RANLIB.
33619
f75286c6
ST
336202011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33621
8e31c82d
ST
33622 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33623 protection macro.
33624 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33625 inclusion protection macro.
33626
f75286c6
ST
33627 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33628 SIGRTMIN and SIGRTMAX and print information in that case only when
33629 SIGRTMIN is defined.
33630
c1d0e639
JJ
336312011-02-11 Jakub Jelinek <jakub@redhat.com>
33632
33633 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33634 arginfo fn returning -1.
33635
33636 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33637 and thousands string is zero terminated.
33638
edf9294e
AS
336392011-02-03 Andreas Schwab <schwab@redhat.com>
33640
33641 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33642 sysdeps/unix/sysv/linux/bits/socket.h.
33643
2b7e92df
ST
336442011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33645
edf9294e
AS
33646 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33647 (__CPU_COUNT): Remove old macros.
33648 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33649 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33650 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33651 (__sched_cpualloc, __sched_cpufree): Add declarations.
33652
a4c7ea7b
UD
336532011-02-05 Ulrich Drepper <drepper@gmail.com>
33654
33655 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33656 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33657 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33658 (readdhstai): Return value of addhstaiX call.
33659 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33660 (addgrbyX): Return value returned by cache_addgr.
33661 (readdgrbyname): Return value returned by addgrbyX.
33662 (readdgrbygid): Likewise.
33663 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33664 (addpwbyX): Return value returned by cache_addpw.
33665 (readdpwbyname): Return value returned by addhstbyX.
33666 (readdpwbyuid): Likewise.
33667 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33668 (addservbyX): Return value returned by cache_addserv.
33669 (readdservbyname): Return value returned by addservbyX:
33670 (readdservbyport): Likewise.
33671 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33672 (addhstbyX): Return value returned by cache_addhst.
33673 (readdhstbyname): Return value returned by addhstbyX.
33674 (readdhstbyaddr): Likewise.
33675 (readdhstbynamev6): Likewise.
33676 (readdhstbyaddrv6): Likewise.
33677 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33678 (readdinitgroups): Return value returned by addinitgroupsX.
33679 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33680 (prune_cache): Keep track of timeout value of re-added entries.
33681 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33682 * nscd/nscd.h: Adjust prototypes of readd* functions.
33683
a0bf67cc
RM
336842011-02-04 Roland McGrath <roland@redhat.com>
33685
33686 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33687 (nis_stats): Likewise.
33688 * nis/nis_modify.c (nis_modify): Likewise.
33689 * nis/nis_remove.c (nis_remove): Likewise.
33690 * nis/nis_add.c (nis_add): Likewise.
33691
33692 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33693
33694 * posix/fnmatch_loop.c: Add some consts.
33695
33696 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33697
435b95eb
L
336982011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33699
33700 [BZ #12460]
33701 * config.make.in (config-cflags-novzeroupper): Define.
33702 * configure.in: Substitute libc_cv_cc_novzeroupper.
33703 * elf/Makefile (AVX-CFLAGS): Define.
33704 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33705 (CFLAGS-tst-auditmod4a.c): Likewise.
33706 (CFLAGS-tst-auditmod4b.c): Likewise.
33707 (CFLAGS-tst-auditmod6b.c): Likewise.
33708 (CFLAGS-tst-auditmod6c.c): Likewise.
33709 (CFLAGS-tst-auditmod7b.c): Likewise.
33710 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33711
8517b15e
UD
337122011-02-02 Ulrich Drepper <drepper@gmail.com>
33713
33714 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33715 function to the callback.
33716 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33717
10a656fe
AS
337182011-02-02 Andreas Schwab <schwab@redhat.com>
33719
33720 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33721 of errno.
33722
968dad0a
UD
337232011-01-19 Ulrich Drepper <drepper@gmail.com>
33724
9f94d2ea 33725 [BZ #11724]
968dad0a
UD
33726 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33727 of constructors.
33728 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33729 of destructors.
33730 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33731
33732 [BZ #11724]
33733 * elf/Makefile: Add rules to build and run new test.
33734 * elf/tst-initorder.c: New file.
33735 * elf/tst-initorder.exp: New file.
33736 * elf/tst-initordera1.c: New file.
33737 * elf/tst-initordera2.c: New file.
33738 * elf/tst-initordera3.c: New file.
33739 * elf/tst-initordera4.c: New file.
33740 * elf/tst-initorderb1.c: New file.
33741 * elf/tst-initorderb2.c: New file.
33742 * elf/tst-order-a1.c: New file.
33743 * elf/tst-order-a2.c: New file.
33744 * elf/tst-order-a3.c: New file.
33745 * elf/tst-order-a4.c: New file.
33746 * elf/tst-order-b1.c: New file.
33747 * elf/tst-order-b2.c: New file.
33748 * elf/tst-order-main.c: New file.
33749 New test case by George Gensure <werkt0@gmail.com>.
33750
86e92359
UD
337512010-10-01 Andreas Schwab <schwab@redhat.com>
33752
33753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33754 decoding ACE if AI_CANONIDN.
33755
5d5732b0
UD
337562011-01-18 Ulrich Drepper <drepper@gmail.com>
33757
33758 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33759
a77e8cbc
UD
337602011-01-17 Ulrich Drepper <drepper@gmail.com>
33761
6392473f
UD
33762 * version.h (RELEASE): Bump for 2.13 release.
33763 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33764
620a0529
UD
33765 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33766
18ba70a5
UD
33767 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33768 MADV_NOHUGEPAGE.
32465c3e
UD
33769 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33770 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33771 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33772 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33773 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33774 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33775
c0dafcf1
UD
33776 * posix/getconf.c: Update copyright year.
33777 * catgets/gencat.c: Likewise.
33778 * csu/version.c: Likewise.
33779 * debug/catchsegv.sh: Likewise.
33780 * debug/xtrace.sh: Likewise.
33781 * elf/ldconfig.c: Likewise.
33782 * elf/ldd.bash.in: Likewise.
33783 * elf/sprof.c (print_version): Likewise.
33784 * iconv/iconv_prog.c: Likewise.
33785 * iconv/iconvconfig.c: Likewise.
33786 * locale/programs/locale.c: Likewise.
33787 * locale/programs/localedef.c: Likewise.
33788 * malloc/memusage.sh: Likewise.
33789 * malloc/mtrace.pl: Likewise.
33790 * nscd/nscd.c (print_version): Likewise.
33791 * nss/getent.c: Likewise.
33792
a77e8cbc
UD
33793 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33794 PF_CAIF, and PF_ALG.
33795 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33796
77e8bddf
AS
337972011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33798
1f20b93a
AS
33799 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33800 (modules-names): Use them.
33801 (ifunc-test-modules, ifunc-pie-tests): Define.
33802 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33803 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33804 (test-extras): Likewise.
33805 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33806 $(compile-command.c).
33807 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33808 (all-built-dso): Define.
33809 (check-textrel.out, check-execstack.out): Depend on it.
33810
77e8bddf
AS
33811 * configure.in: Don't override --enable-multi-arch.
33812
bc425b33
UD
338132011-01-15 Ulrich Drepper <drepper@gmail.com>
33814
33815 [BZ #6812]
33816 * nscd/hstcache.c (tryagain): Define.
33817 (cache_addhst): Return tryagain not notfound for temporary errors.
33818 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33819 failed.
33820
794c3ad3
UD
338212011-01-14 Ulrich Drepper <drepper@gmail.com>
33822
70181fdd
UD
33823 [BZ #10563]
33824 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33825 to make the syscall.
33826 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33827
794c3ad3
UD
33828 [BZ #12378]
33829 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33830 and fall back to matching as normal character if the string ends before
33831 the matching ']' is found. This is what POSIX requires.
33832 * posix/testfnm.c: Adjust test result.
33833 * posix/globtest.sh: Adjust test result. Add new test.
33834 * posix/tst-fnmatch.input: Likewise.
33835 * posix/tst-fnmatch2.c: Add new test.
33836
68dc9497
AS
338372010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33838
33839 * elf/Makefile (check-execstack): Revert last change. Depend on
33840 check-execstack.h.
33841 (check-execstack.h): New target.
33842 (generated): Add check-execstack.h.
33843 * elf/check-execstack.c: Include "check-execstack.h".
33844 (main): Revert last change.
33845 (handle_file): Return zero if GNU_STACK is absent and
33846 DEFAULT_STACK_PERMS doesn't include PF_X.
33847
451f001b
UD
338482011-01-13 Ulrich Drepper <drepper@gmail.com>
33849
cfa28e56
UD
33850 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33851 in child fails because the descriptor is already closed.
8cf8ce17
UD
33852 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33853 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33854 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33855
1086d70d
UD
33856 [BZ #12397]
33857 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33858 syscall.
33859
451f001b
UD
33860 [BZ #10484]
33861 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33862 temporary buffer used to handle multi lookups locally.
a85b5cb4 33863 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33864
08769175
UD
338652011-01-12 Ulrich Drepper <drepper@gmail.com>
33866
33867 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33868 loader is ld.so.
33869
5e49c52e
UD
338702011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33871
33872 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33873 alignment for SSE2.
33874
60522a5f
UD
338752011-01-12 Ulrich Drepper <drepper@gmail.com>
33876
33877 [BZ #12394]
33878 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33879 characters. When rounding increased number of integer digits recompute
33880 number of groups.
33881 * stdio-common/tst-grouping.c: New file.
33882 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33883
f257bbd7
UD
338842011-01-09 Ulrich Drepper <drepper@gmail.com>
33885
33886 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33887 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33888
33889 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33890 void.
33891 * bits/select.h: Likewise.
33892
fa9c15cb
UD
338932011-01-08 Ulrich Drepper <drepper@gmail.com>
33894
33895 * po/ja.po: Update from translation team.
33896
16c2895f
DM
338972011-01-04 David S. Miller <davem@sunset.davemloft.net>
33898
33899 [BZ #11155]
33900 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33901 implementation just like for lxstat, fxstatat, et al.
33902
2543fef2
JM
339032010-12-27 Jim Meyering <meyering@redhat.com>
33904
33905 [BZ #12348]
33906 * posix/regexec.c (build_trtable): Return failure indication upon
33907 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33908
98727dbe
UD
339092010-12-25 Ulrich Drepper <drepper@gmail.com>
33910
5bd6dc5c
UD
33911 [BZ #12201]
33912 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33913 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33914 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33915 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33916
97983464
UD
33917 [BZ #12207]
33918 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33919
98727dbe
UD
33920 [BZ #12204]
33921 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33922 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33923
4a531bb0
L
339242010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33925
33926 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33927 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33928 script has SORT_BY_INIT_PRIORITY.
33929 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33930 NO_CTORS_DTORS_SECTIONS is defined.
33931 * elf/soinit.c: Likewise.
33932 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33933 NO_CTORS_DTORS_SECTIONS is defined.
33934 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33935 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33936 * sysdeps/sh/init-first.c: Likewise.
33937 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33938
07eb4b71
UD
339392010-12-24 Ulrich Drepper <drepper@gmail.com>
33940
33941 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33942 always use the slow path.
33943
30950a5f
RA
339442010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33945
33946 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33947 similar rule which adds the sysdep directories to the header search in
33948 order to pick up the correct platform stackinfo.h.
33949 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33950 perform test if it is, otherwise return successfully without testing.
33951 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33952 DEFAULT_STACK_PERMS define in stackinfo.h.
33953 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33954 defined in stackinfo.h.
33955 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33956 DEFAULT_STACK_PERMS defined in stackinfo.h.
33957 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33958 * sysdeps/ia64/stackinfo.h: Likewise.
33959 * sysdeps/s390/stackinfo.h: Likewise.
33960 * sysdeps/sh/stackinfo.h: Likewise.
33961 * sysdeps/sparc/stackinfo.h: Likewise.
33962 * sysdeps/x86_64/stackinfo.h: Likewise.
33963 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33964 PF_X for powerpc64. Retain PF_X for powerpc32.
33965
db753e2c
UD
339662010-12-19 Ulrich Drepper <drepper@gmail.com>
33967
14b697f7
UD
33968 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33969 accurately.
db753e2c
UD
33970 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33971 GETDENTS_64BIT_ALIGNED.
33972
28300719
UD
339732010-12-14 Ulrich Drepper <dreper@gmail.com>
33974
14b697f7 33975 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33976
4f197237
AS
339772010-12-10 Andreas Schwab <schwab@redhat.com>
33978
dbb0472f
AS
33979 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33980 _GNU_SOURCE.
33981
4f197237
AS
33982 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33983 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33984 Remove __restrict.
33985 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33986 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33987
fb88ac72
UD
339882010-12-09 Ulrich Drepper <drepper@gmail.com>
33989
33990 [BZ #11655]
33991 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33992 are initialized.
33993
42acbb92
JJ
339942010-12-09 Jakub Jelinek <jakub@redhat.com>
33995
33996 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33997
c038d98d
UD
339982010-12-03 Ulrich Drepper <drepper@gmail.com>
33999
34000 * po/it.po: Update from translation team.
34001
3a4a2499
L
340022010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34003
34004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34005 unused codes.
34006
1e24cf6e
UD
340072010-11-30 Ulrich Drepper <drepper@gmail.com>
34008
34009 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34010
a7690819
AS
340112010-11-24 Andreas Schwab <schwab@redhat.com>
34012
34013 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34014 specially.
34015 (gaih_getanswer_slice): Likewise.
34016
3bf8d1b1
JJ
340172010-10-20 Jakub Jelinek <jakub@redhat.com>
34018
34019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34020
6db52fbb
PB
340212010-05-31 Petr Baudis <pasky@suse.cz>
34022
34023 [BZ #11149]
34024 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34025 silently even in the chroot mode.
34026
eaca7569
UD
340272010-11-22 Ulrich Drepper <drepper@gmail.com>
34028
34029 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34030 last patch a bit. Pretty printing
34031
3056dcdb
UD
340322010-05-31 Petr Baudis <pasky@suse.cz>
34033
34034 [BZ #10085]
34035 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34036 initialization of skip_initgroups_dyn.
34037
cf7c9078
UD
340382010-11-19 Ulrich Drepper <drepper@gmail.com>
34039
34040 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34041 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34042
a1fb5e3e
UD
340432010-11-16 Ulrich Drepper <drepper@gmail.com>
34044
34045 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34046
3540d66b
AS
340472010-11-11 Andreas Schwab <schwab@redhat.com>
34048
34049 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34050 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34051 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34052 ($(objpfx)tst-fnmatch-mem): New rule.
34053 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34054 * posix/tst-fnmatch.c (main): Call mtrace.
34055
13b69574
L
340562010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34057
34058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34059 Support Intel processor model 6 and model 0x2c.
34060
da93d214
LM
340612010-11-10 Luis Machado <luisgpm@br.ibm.com>
34062
34063 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34064 signed comparison.
34065
8ca52c6e
L
340662010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34067
34068 [BZ #12205]
34069 * string/test-strncasecmp.c (check_result): New function.
34070 (do_one_test): Use it.
34071 (check1): New function.
34072 (test_main): Use it.
34073 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34074 Support strcasecmp and strncasecmp.
34075
69da074d
UD
340762010-11-08 Ulrich Drepper <drepper@gmail.com>
34077
34078 [BZ #12194]
34079 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34080 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34081
ff02d528
L
340822010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34083
34084 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34085 IFUNC support.
34086 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34087 memset-x86-64.
34088 * sysdeps/x86_64/multiarch/bzero.S: New file.
34089 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34090 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34091 * sysdeps/x86_64/multiarch/memset.S: New file.
34092 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34094 Set bit_Prefer_SSE_for_memop for Intel processors.
34095 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34096 Define.
34097 (index_Prefer_SSE_for_memop): Define.
34098 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34099
344d0b54
LM
341002010-11-04 Luis Machado <luisgpm@br.ibm.com>
34101
34102 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34103 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34104
c0dde15b
UD
341052010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34106
34107 [BZ #12191]
34108 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34109 (__x86_64_raw_data_cache_size_half): Likewise.
34110 (__x86_64_raw_shared_cache_size): Likewise.
34111 (__x86_64_raw_shared_cache_size_half): Likewise.
34112
34113 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34114 (__x86_64_raw_data_cache_size_half): Likewise.
34115 (__x86_64_raw_shared_cache_size): Likewise.
34116 (__x86_64_raw_shared_cache_size_half): Likewise.
34117 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34118 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34119 and __x86_64_raw_shared_cache_size_half. Round
34120 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34121 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34122 to multiple of 256 bytes.
34123
0e516e0e
MS
341242010-11-03 Ulrich Drepper <drepper@gmail.com>
34125
34126 [BZ #12167]
34127 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34128 of inacessible symlinks. Verify result of symlink before returning it.
34129 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34130 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34131
0e012e87
ER
341322010-10-28 Erich Ritz <erichritz@gmail.com>
34133
34134 * math/math.h (isinf): Fix typo in comment.
34135
de0ff7bc
UD
341362010-11-01 Ulrich Drepper <drepper@gmail.com>
34137
34138 * po/da.po: Update from translation team.
34139
fa41c84d
UD
341402010-10-26 Ulrich Drepper <drepper@gmail.com>
34141
34142 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34143 is added to the list.
34144
f0967738
AK
341452010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34146 Ulrich Drepper <drepper@gmail.com>
34147
34148 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34149 the global list here. Move code to...
34150 (_dl_add_to_namespace_list): ...here. New function.
34151 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34152 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34153 * elf/dl-load.c (lose): Don't remove the element from the list.
34154 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34155 (_dl_map_object): Likewise.
34156
341572010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34158
34159 [BZ #12159]
34160 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34161 into all bytes of SSE register.
34162 Patch by Richard Li <richardpku@gmail.com>.
34163
f0967738 341642010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34165
34166 [BZ #12140]
34167 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34168 perturbing.
34169
d0b9e94f
MB
341702010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34171
34172 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34173 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34174 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34175 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34177 submachine.
34178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34179
8e9f92e9
AS
341802010-10-22 Andreas Schwab <schwab@redhat.com>
34181
34182 * include/dlfcn.h (__RTLD_SECURE): Define.
34183 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34184 mode & __RTLD_SECURE instead.
34185 (open_path): Rename preloaded parameter to secure.
34186 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34187 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34188 * elf/dl-deps.c (openaux): Likewise.
34189 * elf/rtld.c (struct map_args): Remove is_preloaded.
34190 (map_doit): Don't use it.
34191 (dl_main): Likewise.
34192 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34193 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34194
bc96fbda
AS
341952010-09-09 Andreas Schwab <schwab@redhat.com>
34196
34197 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34198 (sysd-rules-targets): Remove duplicates.
34199 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34200 rtld-%.$o dependency.
34201
22cd1c9b
AS
342022010-10-18 Andreas Schwab <schwab@redhat.com>
34203
34204 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34205 _dl_map_object do it.
34206
18edac48
UD
342072010-10-19 Ulrich Drepper <drepper@gmail.com>
34208
34209 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34210 fast fma builtins, define the macros in the C99 standard.
34211 (FP_FAST_FMAF): Likewise.
34212 (FP_FAST_FMAL): Likewise.
34213 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34214
34215 * bits/mathdef.h: Update copyright year.
34216 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34217
d2050124
MM
342182010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34219
34220 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34221 builtins, define the macros in the C99 standard.
34222 (FP_FAST_FMAF): Likewise.
34223 (FP_FAST_FMAL): Likewise.
34224 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34225 multiply/add.
34226 (FP_FAST_FMAF): Likewise.
34227
475facd1
JJ
342282010-10-15 Jakub Jelinek <jakub@redhat.com>
34229
34230 [BZ #3268]
34231 * math/libm-test.inc (fma_test): Some new testcases.
34232 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34233 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34234 y and infinite z. Do multiplication by C already in long double.
34235 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34237 y and infinite z. Do bitwise or of inexact bit into u.d.
34238 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34239 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34240 * sysdeps/i386/fpu/s_fma.S: Removed.
34241 * sysdeps/i386/fpu/s_fmal.S: Removed.
34242
7c08a05c
JJ
342432010-10-16 Jakub Jelinek <jakub@redhat.com>
34244
34245 [BZ #3268]
34246 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34247 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34248 computation is not scheduled after fetestexcept. Fix value
34249 of minimum denormal long double.
34250
f3f7372d
JJ
342512010-10-14 Jakub Jelinek <jakub@redhat.com>
34252
34253 [BZ #3268]
34254 * math/libm-test.inc (fma_test): Add some more tests.
34255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34256 correctly.
34257
14d43591
AS
342582010-10-15 Andreas Schwab <schwab@redhat.com>
34259
34260 * scripts/data/localplt-s390-linux-gnu.data: New file.
34261 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34262
5e908464
JJ
342632010-10-13 Jakub Jelinek <jakub@redhat.com>
34264
34265 [BZ #3268]
34266 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34267 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34268 instead of dbl-64.
34269 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34270 inlines.
34271 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34272 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34273 if one of x and y is very large and the other is subnormal.
34274 * sysdeps/s390/fpu/s_fmaf.c: New file.
34275 * sysdeps/s390/fpu/s_fma.c: New file.
34276 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34277 * sysdeps/powerpc/fpu/s_fma.S: New file.
34278 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34279 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34280 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34281
342822010-10-12 Jakub Jelinek <jakub@redhat.com>
34283
34284 [BZ #3268]
34285 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34286 fma tests.
34287 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34288 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34289 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34290 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34291 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34292 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34293 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34294
b833d51f
UD
342952010-10-12 Ulrich Drepper <drepper@redhat.com>
34296
34297 [BZ #12078]
34298 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34299 * posix/bug-regex31.input: Add test case.
34300
1751705d
UD
343012010-10-11 Ulrich Drepper <drepper@gmail.com>
34302
e9b9cbf5
UD
34303 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34304 * posix/bug-regex31.input: New file.
34305
34306 [BZ #12078]
34307 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34308 (parse_sub_exp): Fix last change, use postorder.
34309
ef06edbe
UD
34310 * posix/bug-regex31.c: New file.
34311 * posix/Makefile: Add rules to build and run bug-regex31.
34312
a129c80d
UD
34313 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34314
34315 [BZ #12078]
34316 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34317
b76b818e
UD
34318 [BZ #12108]
34319 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34320 to have entries in sys_siglist.
34321
1751705d
UD
34322 [BZ #12093]
34323 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34324 be NULL.
34325
9ff8d36f
JJ
343262010-10-07 Jakub Jelinek <jakub@redhat.com>
34327
34328 [BZ #3268]
34329 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34330 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34331 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34332 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34333 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34334 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34335 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34336 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34337 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34338 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34339 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34340 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34341 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34342 * math/ftestexcept.c (fetestexcept): Likewise.
34343 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34344 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34345 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34346 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34347 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34348 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34349 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34350
af325969
UD
343512010-10-11 Ulrich Drepper <drepper@gmail.com>
34352
c579b202 34353 [BZ #12107]
af325969
UD
34354 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34355 newline.
34356
67a67b95
UD
343572010-10-06 Ulrich Drepper <drepper@gmail.com>
34358
34359 * string/bug-strstr1.c: New file.
34360 * string/Makefile: Add rules to build and run bug-strstr1.
34361
5fb308bc
EB
343622010-10-05 Eric Blake <eblake@redhat.com>
34363
34364 [BZ #12092]
34365 * string/str-two-way.h (two_way_long_needle): Always clear memory
34366 when skipping input due to the shift table.
34367
45db99c7
UD
343682010-10-03 Ulrich Drepper <drepper@gmail.com>
34369
3b111893
UD
34370 [BZ #12005]
34371 * malloc/mcheck.c: Handle large requests.
34372
45db99c7
UD
34373 [BZ #12077]
34374 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34375 for strncmp and strncasecmp.
34376 * string/stratcliff.c: Add tests for strcmp and strncmp.
34377 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34378
cf7a1eb8
NI
343792010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34380
34381 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34382 __set_fpscr.
34383
6484ba5e
AJ
343842010-09-30 Andreas Jaeger <aj@suse.de>
34385
34386 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34387 (CGROUP_SUPER_MAGIC): Define.
34388 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34389 Handle btrfs and cgroup file systems.
34390 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34391 Likewise.
34392
91c42559
LM
343932010-09-27 Luis Machado <luisgpm@br.ibm.com>
34394
34395 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34396 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34397
87a97932
AK
343982010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34399
34400 [BZ #12067]
34401 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34402 trying to locate the ELF header.
34403
c21cc9bc
AS
344042010-09-27 Andreas Schwab <schwab@redhat.com>
34405
34406 [BZ #11611]
34407 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34408 Mask out sign-bit copies when constructing f_fsid.
34409
315970f6
PB
344102010-09-24 Petr Baudis <pasky@suse.cz>
34411
34412 * debug/stack_chk_fail_local.c: Add missing licence exception.
34413 * debug/warning-nop.c: Likewise.
34414
1ac7a2c7
JM
344152010-09-15 Joseph Myers <joseph@codesourcery.com>
34416
34417 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34418 implementing getdents64 using getdents syscall, set d_type if
34419 __ASSUME_GETDENTS32_D_TYPE.
34420
56801c50
AS
344212010-09-16 Andreas Schwab <schwab@redhat.com>
34422
34423 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34424 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34425
dda51327
UD
344262010-09-21 Ulrich Drepper <drepper@redhat.com>
34427
34428 [BZ #12037]
34429 * posix/unistd.h: Undo change of feature selection for ftruncate from
34430 2010-01-11.
34431
8ffcee4a
UD
344322010-09-20 Ulrich Drepper <drepper@redhat.com>
34433
a545ecd9 34434 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34435 detection.
34436
e24f0a8b
AS
344372010-09-20 Andreas Schwab <schwab@redhat.com>
34438
34439 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34440 fanotify_mark.
34441 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34442
7291c56f
AS
344432010-09-14 Andreas Schwab <schwab@redhat.com>
34444
34445 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34446 variables after CHECK_SP call.
34447 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34448
bc5fb037
AS
344492010-09-13 Andreas Schwab <schwab@redhat.com>
34450 Ulrich Drepper <drepper@redhat.com>
34451
34452 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34453 re-relocationg ld.so.
34454 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34455 _dl_init_paths call.
34456 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34457 here anymore.
34458
e66e7419
UD
344592010-09-14 Ulrich Drepper <drepper@redhat.com>
34460
34461 * resolv/res_init.c (__res_vinit): Count the default server we added.
34462
c044aa75
CLT
344632010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34464 Ulrich Drepper <drepper@redhat.com>
34465
34466 [BZ #11968]
34467 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34468 (____longjmp_chk): Use %ebx for saving value across system call.
34469 Add unwind info.
34470
32cf4069
AS
344712010-09-06 Andreas Schwab <schwab@redhat.com>
34472
34473 * manual/Makefile: Don't mix pattern rules with normal rules.
34474
817328ee
AS
344752010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34476
34477 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34478 operation.
34479 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34480 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34481 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34482 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34483 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34484 Likewise.
34485
29fddf61
UD
344862010-09-04 Ulrich Drepper <drepper@redhat.com>
34487
34488 [BZ #11979]
34489 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34490 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34491
0959ffc9
UD
344922010-09-02 Ulrich Drepper <drepper@redhat.com>
34493
34494 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34495 * sysdeps/x86_64/addmul_1.S: Likewise.
34496 * sysdeps/x86_64/lshift.S: Likewise.
34497 * sysdeps/x86_64/mul_1.S: Likewise.
34498 * sysdeps/x86_64/rshift.S: Likewise.
34499 * sysdeps/x86_64/sub_n.S: Likewise.
34500 * sysdeps/x86_64/submul_1.S: Likewise.
34501
ece29840
ST
345022010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34503
0959ffc9
UD
34504 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34505 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34506 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34507 * bits/sched.h [__need_schedparam]
ece29840 34508 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34509 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34510 (__defined_schedparam): Define to 1.
ece29840
ST
34511 (__sched_param): New structure, identical to sched_param.
34512 (__need_schedparam): Undefine.
34513
e53a31fe
MF
345142010-08-31 Mike Frysinger <vapier@gentoo.org>
34515
fdc0c10d
MF
34516 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34517 (epoll_create1): Declare.
34518
e53a31fe
MF
34519 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34520
a726d796
AS
345212010-08-31 Andreas Schwab <schwab@redhat.com>
34522
34523 [BZ #7066]
34524 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34525 shifting retval into place.
34526
2f3e3dc7
UD
345272010-09-01 Ulrich Drepper <drepper@redhat.com>
34528
f2933da9
UD
34529 * nis/rpcsvc/nis.h: Update copyright notice.
34530 * nis/rpcsvc/nis.x: Likewise.
34531 * nis/rpcsvc/nis_callback.h: Likewise.
34532 * nis/rpcsvc/nis_callback.x: Likewise.
34533 * nis/rpcsvc/nis_object.x: Likewise.
34534 * nis/rpcsvc/nis_tags.h: Likewise.
34535 * nis/rpcsvc/yp.h: Likewise.
34536 * nis/rpcsvc/yp.x: Likewise.
34537 * nis/rpcsvc/ypupd.h: Likewise.
34538 * nis/yp_xdr.c: Likewise.
34539 * nis/ypupdate_xdr.c: Likewise.
34540
2f3e3dc7
UD
34541 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34542 mainly the body of pmap_getport. Add parameters to specify timeouts.
34543 (pmap_getport): Use __libc_rpc_getport.
34544 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34545 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34546 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34547
f3dcc2f9
AS
345482010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34549
34550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34551 fanotify_mark.
34552
6d34eb5b
RM
345532010-08-27 Roland McGrath <roland@redhat.com>
34554
34555 * sysdeps/i386/i686/multiarch/Makefile
34556 (CFLAGS-varshift.c): New variable.
34557
9ea3de11
UD
345582010-08-27 Ulrich Drepper <drepper@redhat.com>
34559
c96d23fc
UD
34560 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34561 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34562
9ea3de11
UD
34563 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34564
34565 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34566
623aac7f
L
345672010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34568
34569 * sysdeps/x86_64/strlen.S: Unroll the loop.
34570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34571 strlen-sse2 strlen-sse2-bsf.
34572 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34573 __strlen_no_bsf if bit_Slow_BSF is set.
34574 (__strlen_sse42): Removed.
34575 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34576 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34577
8b2b7715
RM
345782010-08-25 Roland McGrath <roland@redhat.com>
34579
34580 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34581 * sysdeps/x86_64/multiarch/varshift.c: New file.
34582 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34583 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34584 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34585 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34586
e73015f2
L
345872010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34588
34589 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34590 strlen-sse2 strlen-sse2-bsf.
34591 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34592 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34593 (__strlen_sse2): Removed.
34594 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34595 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34597 bit_Slow_BSF for Atom.
34598 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34599 (index_Slow_BSF): Define.
34600 (HAS_SLOW_BSF): Define.
34601
df24a73e
UD
346022010-08-25 Ulrich Drepper <drepper@redhat.com>
34603
34604 [BZ #10851]
34605 * resolv/res_init.c (__res_vinit): When no server address at all
34606 is given default to loopback.
34607
f2ac4868
RM
346082010-08-24 Roland McGrath <roland@redhat.com>
34609
09055553
RM
34610 * configure.in: Remove config-name.h generation.
34611 * configure: Regenerated.
34612 * config-name.in: File removed.
34613 * scripts/config-uname.sh: New file.
34614 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34615 ($(objdir)config-name.h): New target.
34616
f2ac4868
RM
34617 * sunrpc/rpc_parse.h: Avoid nested comment.
34618
73f27d5e
RH
346192010-08-24 Richard Henderson <rth@redhat.com>
34620 Ulrich Drepper <drepper@redhat.com>
34621 H.J. Lu <hongjiu.lu@intel.com>
34622
34623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34625 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34626 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34627 _mm_alignr_epi8 with _mm_loadu_si128.
34628 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34629 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34630 (__m128i_shift_right): Removed.
34631 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34632 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34633 * sysdeps/x86_64/multiarch/varshift.h: New file.
34634 * sysdeps/x86_64/multiarch/varshift.S: New file.
34635
84b9230c
MF
346362010-08-21 Mike Frysinger <vapier@gentoo.org>
34637
34638 * configure.in: Move assembler checks to before sysdep dir checking.
34639
9bbd0ddc
PB
346402010-08-20 Petr Baudis <pasky@suse.cz>
34641
34642 * LICENSES: Sync the sunrpc license.
34643
9da4bb31
UD
346442010-08-19 Ulrich Drepper <drepper@redhat.com>
34645
a7ab6ec8
UD
34646 * sunrpc/auth_des.c: Update copyright notice once again.
34647 * sunrpc/auth_none.c: Likewise.
34648 * sunrpc/auth_unix.c: Likewise.
34649 * sunrpc/authdes_prot.c: Likewise.
34650 * sunrpc/authuxprot.c: Likewise.
34651 * sunrpc/bindrsvprt.c: Likewise.
34652 * sunrpc/clnt_gen.c: Likewise.
34653 * sunrpc/clnt_perr.c: Likewise.
34654 * sunrpc/clnt_raw.c: Likewise.
34655 * sunrpc/clnt_simp.c: Likewise.
34656 * sunrpc/clnt_tcp.c: Likewise.
34657 * sunrpc/clnt_udp.c: Likewise.
34658 * sunrpc/clnt_unix.c: Likewise.
34659 * sunrpc/des_crypt.c: Likewise.
34660 * sunrpc/des_soft.c: Likewise.
34661 * sunrpc/get_myaddr.c: Likewise.
34662 * sunrpc/getrpcport.c: Likewise.
34663 * sunrpc/key_call.c: Likewise.
34664 * sunrpc/key_prot.c: Likewise.
34665 * sunrpc/openchild.c: Likewise.
34666 * sunrpc/pm_getmaps.c: Likewise.
34667 * sunrpc/pm_getport.c: Likewise.
34668 * sunrpc/pmap_clnt.c: Likewise.
34669 * sunrpc/pmap_prot.c: Likewise.
34670 * sunrpc/pmap_prot2.c: Likewise.
34671 * sunrpc/pmap_rmt.c: Likewise.
34672 * sunrpc/rpc/auth.h: Likewise.
34673 * sunrpc/rpc/auth_unix.h: Likewise.
34674 * sunrpc/rpc/clnt.h: Likewise.
34675 * sunrpc/rpc/des_crypt.h: Likewise.
34676 * sunrpc/rpc/key_prot.h: Likewise.
34677 * sunrpc/rpc/netdb.h: Likewise.
34678 * sunrpc/rpc/pmap_clnt.h: Likewise.
34679 * sunrpc/rpc/pmap_prot.h: Likewise.
34680 * sunrpc/rpc/pmap_rmt.h: Likewise.
34681 * sunrpc/rpc/rpc.h: Likewise.
34682 * sunrpc/rpc/rpc_des.h: Likewise.
34683 * sunrpc/rpc/rpc_msg.h: Likewise.
34684 * sunrpc/rpc/svc.h: Likewise.
34685 * sunrpc/rpc/svc_auth.h: Likewise.
34686 * sunrpc/rpc/types.h: Likewise.
34687 * sunrpc/rpc/xdr.h: Likewise.
34688 * sunrpc/rpc_clntout.c: Likewise.
34689 * sunrpc/rpc_cmsg.c: Likewise.
34690 * sunrpc/rpc_common.c: Likewise.
34691 * sunrpc/rpc_cout.c: Likewise.
34692 * sunrpc/rpc_dtable.c: Likewise.
34693 * sunrpc/rpc_hout.c: Likewise.
34694 * sunrpc/rpc_main.c: Likewise.
34695 * sunrpc/rpc_parse.c: Likewise.
34696 * sunrpc/rpc_parse.h: Likewise.
34697 * sunrpc/rpc_prot.c: Likewise.
34698 * sunrpc/rpc_sample.c: Likewise.
34699 * sunrpc/rpc_scan.c: Likewise.
34700 * sunrpc/rpc_scan.h: Likewise.
34701 * sunrpc/rpc_svcout.c: Likewise.
34702 * sunrpc/rpc_tblout.c: Likewise.
34703 * sunrpc/rpc_util.c: Likewise.
34704 * sunrpc/rpc_util.h: Likewise.
34705 * sunrpc/rpcinfo.c: Likewise.
34706 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34707 * sunrpc/rpcsvc/key_prot.x: Likewise.
34708 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34709 * sunrpc/rpcsvc/mount.x: Likewise.
34710 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34711 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34712 * sunrpc/rpcsvc/rex.x: Likewise.
34713 * sunrpc/rpcsvc/rstat.x: Likewise.
34714 * sunrpc/rpcsvc/rusers.x: Likewise.
34715 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34716 * sunrpc/rpcsvc/spray.x: Likewise.
34717 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34718 * sunrpc/rtime.c: Likewise.
34719 * sunrpc/svc.c: Likewise.
34720 * sunrpc/svc_auth.c: Likewise.
34721 * sunrpc/svc_authux.c: Likewise.
34722 * sunrpc/svc_raw.c: Likewise.
34723 * sunrpc/svc_run.c: Likewise.
34724 * sunrpc/svc_simple.c: Likewise.
34725 * sunrpc/svc_tcp.c: Likewise.
34726 * sunrpc/svc_udp.c: Likewise.
34727 * sunrpc/svc_unix.c: Likewise.
34728 * sunrpc/svcauth_des.c: Likewise.
34729 * sunrpc/xcrypt.c: Likewise.
34730 * sunrpc/xdr.c: Likewise.
34731 * sunrpc/xdr_array.c: Likewise.
34732 * sunrpc/xdr_float.c: Likewise.
34733 * sunrpc/xdr_mem.c: Likewise.
34734 * sunrpc/xdr_rec.c: Likewise.
34735 * sunrpc/xdr_ref.c: Likewise.
34736 * sunrpc/xdr_sizeof.c: Likewise.
34737 * sunrpc/xdr_stdio.c: Likewise.
34738
9da4bb31
UD
34739 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34740 handling.
34741
bdaa77bc
AS
347422010-08-19 Andreas Schwab <schwab@redhat.com>
34743
34744 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34745
fe2f79db
LM
347462010-08-19 Luis Machado <luisgpm@br.ibm.com>
34747
34748 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34749 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34750 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34751 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34752 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34753 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34754 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34755 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34756 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34757 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34758 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34759 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34760 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34761 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34762
b9b42ee0
AB
347632010-07-26 Anton Blanchard <anton@samba.org>
34764
34765 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34766 * malloc/arena.c (heap_trim): Likewise.
34767
1c06ba31
UD
347682010-08-16 Ulrich Drepper <drepper@redhat.com>
34769
34770 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34771 here. Not...
34772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34773 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34774
f8392f40
L
347752010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34776
34777 * sysdeps/i386/elf/Makefile: New file.
34778
3162f12e
AS
347792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34780
34781 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34782 from fanotify_init.
34783 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34784 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34785
28c90b2c
UD
347862010-08-15 Ulrich Drepper <drepper@redhat.com>
34787
34788 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34789 of strncasecmp_l.
1feccb6c 34790 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34791
ca6bb004
UD
347922010-08-14 Ulrich Drepper <drepper@redhat.com>
34793
e9f82e0d
UD
34794 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34795 strncase_l-nonascii.
34796 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34797 Add strncase_l-ssse3.
34798 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34799 * sysdeps/x86_64/strcmp.S: Likewise.
34800 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34801 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34802 * sysdeps/x86_64/strncase.S: New file.
34803 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34804 * sysdeps/x86_64/strncase_l.S: New file.
34805 * string/Makefile (strop-tests): Add strncasecmp.
34806 * string/test-strncasecmp.c: New file.
34807
34808 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34809 warning.
34810
ca6bb004
UD
34811 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34812 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34813
052fa7b3
AS
348142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34815
34816 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34817
962dba78
UD
348182010-08-12 Ulrich Drepper <drepper@redhat.com>
34819
34820 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34821 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34822 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34823
bebff237
AM
348242010-05-01 Alan Modra <amodra@gmail.com>
34825
34826 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34827 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34828 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34829 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34830 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34831 tidying. Don't tail-call __sigjmp_save for static lib.
34832 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34833 save location.
34834 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34835 (CALL_MCOUNT): Add eh info, and nop after bl.
34836 (TAIL_CALL_SYSCALL_ERROR): New macro.
34837 (PSEUDO_RET): Use it.
34838 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34839 Correct save location of integer regs and cr.
34840 (_dl_profile_resolve): Correct cr save location. Delete nops
34841 after bl when SHARED. Reduce cfi size a little by better
34842 placement of cfi directives.
34843 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34844 make a stack frame. Instead use parm save area as a temp.
34845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34846 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34848 Don't make a stack frame for parent, use parm save area.
34849 Increase child stack frame to 112 bytes. Don't save unused reg,
34850 and adjust reg usage. Set up cfi on error recovery and
34851 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34853 (__makecontext): Add dummy nop after jump to exit.
34854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34855 Use correct parm save area and cr save, reduce stack frame.
34856 Correct cfi for possible PSEUDO_RET frame setup.
34857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34858 Branch to local label emitted by PSEUDO_RET rather than
34859 __syscall_error.
34860
02637374
AS
348612010-08-12 Andreas Schwab <schwab@redhat.com>
34862
34863 [BZ #11904]
34864 * locale/programs/locale.c (print_assignment): New function.
34865 (show_locale_vars): Use it.
34866
c3e2f19b
UD
348672010-08-11 Ulrich Drepper <drepper@redhat.com>
34868
3cdaa6ad
UD
34869 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34870 field.
34871 (struct statfs64): Likewise.
34872 (_STATFS_F_FLAGS): Define.
34873 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34874 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34875 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34876 (ST_VALID): Define locally.
34877 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34878 __statvfs_getflags, use the provided value.
34879 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34880 __ASSUME_STATFS_F_FLAGS.
34881
754f7da3
UD
34882 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34883
10b3bedc
UD
34884 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34885 Add sys/fanotify.h.
34886 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34887 fanotify_mask for GLIBC_2.13.
34888 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34889 fanotify_init and fanotify_mark.
34890 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34891 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34892
c08fb0d7
UD
34893 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34894 Add prlimit.
34895 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34896 prlimit64 for GLIBC_2.13.
34897 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34898 prlimit64.
34899 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34900 syscall.
34901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34902 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34903 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34904 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34905 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34906 add prlimit alias.
34907 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34908
15bac72b
UD
34909 [BZ #11903]
34910 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34911 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34912
c3e2f19b
UD
34913 * nss/Makefile: Add rules to build and run tst-nss-test1.
34914 * shlib-versions: Add entry for libnss_test1.
34915 * nss/nss_test1.c: New file.
34916 * nss/tst-nss-test1.c: New file.
34917
34918 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34919 (__nss_configure_lookup): Set appropriate entry in
34920 __nss_configure_lookup to true.
34921 * nss/nsswitch.h: Define enum with indeces of databases in
34922 databases and __nss_database_custom arrays. Declare
34923 __nss_database_custom.
34924 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34925 to avoid using nscd when custom rules are installed.
34926 * nss/getXXbyYY_r.c: Likewise.
34927 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34928
34929 * nss/nss_files/files-parse.c: Whitespace fixes.
34930
f15ce4d8
UD
349312010-08-09 Ulrich Drepper <drepper@redhat.com>
34932
34933 [BZ #11883]
34934 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34935 * posix/fnmatch_loop.c: Likewise.
34936
d22e4cc9
AK
349372010-07-17 Andi Kleen <ak@linux.intel.com>
34938
34939 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34940 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34941 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34942 * Versions.def [GLIBC_2.13]: Add.
34943
805bc17d
UD
349442010-08-06 Ulrich Drepper <drepper@redhat.com>
34945
34946 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34947 Also fail if tpwd after pwuid call is NULL.
34948
5a42321d
ST
349492010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34950
34951 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34952 when converting to ms.
34953
fd3ebeda
ST
349542010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34955
34956 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34957 EOPNOTSUPP errors with ENOTTY.
34958 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34959 EOPNOTSUPP errors with ENOTTY.
34960
73507d3a
UD
349612010-07-31 Ulrich Drepper <drepper@redhat.com>
34962
34963 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34964 Add strcasecmp_l-ssse3.
34965 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34966 strcasecmp.
34967 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34968 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34969 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34970
fe36dd02
UD
349712010-07-30 Ulrich Drepper <drepper@redhat.com>
34972
66f6765a
UD
34973 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34974
42e08a54
UD
34975 * string/Makefile (strop-tests): Add strcasecmp.
34976 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34977 strcasecmp_l-nonascii.
34978 (gen-as-const-headers): Add locale-defines.sym.
34979 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34980 * sysdeps/x86_64/strcasecmp.S: New file.
34981 * sysdeps/x86_64/strcasecmp_l.S: New file.
34982 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34983 * sysdeps/x86_64/locale-defines.sym: New file.
34984 * string/test-strcasecmp.c: New file.
34985
fe36dd02
UD
34986 * string/test-strcasestr.c: Test both ends of the range of characters.
34987 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34988
48cbc0d6
RM
349892010-07-29 Roland McGrath <roland@redhat.com>
34990
76e6d6bc 34991 [BZ #11856]
48cbc0d6
RM
34992 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34993
880113d9
UD
349942010-07-27 Ulrich Drepper <drepper@redhat.com>
34995
34996 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34997 for ld.so.
34998
deb9cabb
AS
349992010-07-27 Andreas Schwab <schwab@redhat.com>
35000
35001 * manual/memory.texi (Malloc Tunable Parameters): Document
35002 M_PERTURB.
35003
1c7570ff
RM
350042010-07-26 Roland McGrath <roland@redhat.com>
35005
35006 [BZ #11840]
35007 * configure.in (-fgnu89-inline check): Set and substitute
35008 gnu89_inline, not libc_cv_gnu89_inline.
35009 * configure: Regenerated.
35010 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35011
24fb0f88
UD
350122010-07-26 Ulrich Drepper <drepper@redhat.com>
35013
35014 * string/test-strnlen.c: New file.
35015 * string/Makefile (strop-tests): Add strnlen.
35016 * string/tester.c (test_strnlen): Add a few more test cases.
35017 * string/tst-strlen.c: Better error reporting.
35018
35019 * sysdeps/x86_64/strnlen.S: New file.
35020
8e96b93a
UD
350212010-07-24 Ulrich Drepper <drepper@redhat.com>
35022
35023 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35024 lower-latency instructions.
35025
dbc676d4
UD
350262010-07-23 Ulrich Drepper <drepper@redhat.com>
35027
35028 * string/test-strcasestr.c: New file.
35029 * string/test-strstr.c: New file.
35030 * string/Makefile (strop-tests): Add strstr and strcasestr.
35031 * string/str-two-way.h: Don't undefine MAX.
35032 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35033
f6a31e0e
AS
350342010-07-21 Andreas Schwab <schwab@redhat.com>
35035
35036 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35037 strcasestr-nonascii.
35038 (CFLAGS-strcasestr-nonascii.c): Define.
35039 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35040 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35041 Remove unused attribute.
35042
5dbc3b6c
RM
350432010-07-20 Roland McGrath <roland@redhat.com>
35044
35045 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35046 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35047 ld.so.cache was broken. With it, there is no way to disable dsocaps
35048 like LD_HWCAP_MASK can disable hwcaps.
35049
23d101d8
EPM
350502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35051
35052 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35053
cc9f2e47
UD
350542010-07-16 Ulrich Drepper <drepper@redhat.com>
35055
35056 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35057 call in strcasestr.
35058 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35059 __strcasestr_sse42_nonascii.
35060 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35061 strcasestr-nonascii.c.
35062 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35063
77c1b069
LM
350642010-06-15 Luis Machado <luisgpm@br.ibm.com>
35065
35066 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35067 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35068 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35069 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35070
440566c3
UD
350712010-07-09 Ulrich Drepper <drepper@redhat.com>
35072
35073 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35074 fcntl.
35075
5be9d05d
AS
350762010-07-06 Andreas Schwab <schwab@redhat.com>
35077
c30b7ee2 35078 [BZ #11577]
5be9d05d
AS
35079 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35080 dl_signal_cerror.
35081
8a492a67
UD
350822010-07-06 Ulrich Drepper <drepper@redhat.com>
35083
35084 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35085 _PC_PIPE_BUF using F_GETPIPE_SZ.
35086
713df3d5
RM
350872010-07-05 Roland McGrath <roland@redhat.com>
35088
35089 * manual/arith.texi (Rounding Functions): Fix rint description
35090 implicit in round description.
35091
702e8f14
UD
350922010-07-02 Ulrich Drepper <drepper@redhat.com>
35093
35094 * elf/Makefile: Fix linking for a few tests to make recent linker
35095 happy.
35096
52ed8be9
AS
350972010-06-30 Andreas Schwab <schwab@redhat.com>
35098
35099 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35100 $(common-objpfx)libc_nonshared.a.
35101
f47c9a11
LM
351022010-06-21 Luis Machado <luisgpm@br.ibm.com>
35103
35104 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35105 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35106 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35107 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35108 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35109 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35110 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35111 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35126 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35127 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35128 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35129 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35130 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35131 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35132 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35133 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35134 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35135 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35136 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35137 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35152
6fb8cbcb
L
351532010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35154
35155 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35156 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35157 * string/memmove.c (memmove): Renamed to ...
35158 (MEMMOVE): ...this. Default to memmove.
35159 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35160 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35161 (END_CHK): Define.
35162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35163 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35164 mempcpy-ssse3-back memmove-ssse3-back.
35165 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35166 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35167 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35168 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35169 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35170 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35171 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35172 * sysdeps/x86_64/multiarch/memmove.c: New file.
35173 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35174 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35175 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35176 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35177 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35178 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35179 Define.
35180 (index_Fast_Copy_Backward): Define.
35181 (HAS_ARCH_FEATURE): Define.
35182 (HAS_FAST_REP_STRING): Define.
35183 (HAS_FAST_COPY_BACKWARD): Define.
35184
4e733bac 351852010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35186
35187 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35188 Restore proper fallback handling.
35189
63c4ed22
UD
351902010-06-19 Ulrich Drepper <drepper@redhat.com>
35191
ac2b484c
UD
35192 [BZ #11701]
35193 * posix/group_member.c (__group_member): Correct checking loop.
35194
63c4ed22
UD
35195 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35196 OOM in getpwuid_r correctly. Return error number when the caller
35197 should return, otherwise -1.
35198 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35199 call returning > 0 value.
35200 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35201
765ade4b
AS
352022010-06-07 Andreas Schwab <schwab@redhat.com>
35203
35204 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35205 libc_nonshared.a from targets in modules-names.
35206
80da2e09
KS
352072010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35208
35209 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35210 requires it.
35211
158db122
LM
352122010-06-10 Luis Machado <luisgpm@br.ibm.com>
35213
35214 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35215 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35216 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35217 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35218
caa78cf8
AS
352192010-06-02 Andreas Schwab <schwab@redhat.com>
35220
35221 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35222
b2ef2c01
UD
352232010-06-14 Ulrich Drepper <drepper@redhat.com>
35224
35225 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35226 and F_GETPIPE_SZ.
35227 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35228 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35230 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35231 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35232 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35233
fbd643b6
RM
352342010-06-14 Roland McGrath <roland@redhat.com>
35235
35236 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35237
f32f2869
JJ
352382010-06-07 Jakub Jelinek <jakub@redhat.com>
35239
35240 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35241 __REDIRECT followed by __THROW.
35242 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35243 * posix/getopt.h (getopt): Likewise.
35244
2a50c078
EPM
352452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35246
35247 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35248 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35249 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35250 in AT_FLAGS.
35251 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35252 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35253
eb5ad2eb
LM
352542010-05-28 Luis Machado <luisgpm@br.ibm.com>
35255
35256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35257
3c88fe1e
L
352582010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35259
35260 [BZ #11640]
35261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35262 Properly check family and model.
35263
d2f73151
TY
352642010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35265
35266 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35267
ebd2e13d
LM
352682010-05-24 Luis Machado <luisgpm@br.ibm.com>
35269
35270 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35271
b32b8b45
UD
352722010-05-21 Ulrich Drepper <drepper@redhat.com>
35273
35274 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35275 symbol reference.
35276
9acbe24d
AS
352772010-05-19 Andreas Schwab <schwab@redhat.com>
35278
35279 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35280 symbol reference.
35281
f0ccf6ea
AS
352822010-05-21 Andreas Schwab <schwab@redhat.com>
35283
3d04ff3a
AS
35284 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35285 and internal_recvmmsg.
35286 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35287 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35288 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35289 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35290
f0ccf6ea
AS
35291 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35292 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35293 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35294
5b08ac57
AS
352952010-05-20 Andreas Schwab <schwab@redhat.com>
35296
35297 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35298
4828935d
LM
352992010-05-17 Luis Machado <luisgpm@br.ibm.com>
35300
35301 POWER7 optimizations.
35302 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35303 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35304
373d545e
UD
353052010-05-19 Ulrich Drepper <drepper@redhat.com>
35306
35307 * version.h: Update for 2.13 development version.
35308
21a2b1ae
AS
353092010-05-12 Andrew Stubbs <ams@codesourcery.com>
35310
35311 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35312 exceptions. Return 0.
35313
3f7dcb2b
RM
353142010-05-07 Roland McGrath <roland@redhat.com>
35315
35316 * elf/ldconfig.c (main): Add a const.
35317
5f24d53a 353182010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35319
a160f8d8
UD
35320 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35321 (args_options): Add no-idn option.
35322 (ahosts_keys_int): Add idn_flags to ai_flags.
35323 (parse_option): Handle 'i' option to clear idn_flags.
35324
5f24d53a
UD
35325 * malloc/malloc.c (_int_free): Possible race in the most recently
35326 added check. Only act on the data if no current modification
35327 happened.
265bb1ce
UD
35328
35329See ChangeLog.17 for earlier changes.
This page took 4.512992 seconds and 5 git commands to generate.