]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Benchmark inputs for cos and sin
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b19221b9
SP
12013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2
dd1d85e5
SP
3 * benchtests/cos-inputs: New inputs.
4 * benchtests/sin-inputs: Likewise.
5
1acbb90f
SP
6 * benchtests/atan-inputs: New inputs. Fix name of multiple
7 precision fallback inputs.
8
4c012ed3
SP
9 * benchtests/atanh-inputs: New inputs.
10 * benchtests/tanh-inputs: Likewise.
11
eff98324
SP
12 * benchtests/acosh-inputs: New inputs.
13 * benchtests/asinh-inputs: Likewise.
14
ce641152
SP
15 * benchtests/cosh-inputs: New inputs.
16 * benchtests/sinh-inputs: Likewise.
17
b19221b9
SP
18 * benchtests/acos-inputs: Add more inputs.
19 * benchtests/asin-inputs: Likewise.
20
030a4976 212013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 22
030a4976 23 [BZ #16375]
9dcc8f11
VS
24 * manual/arith.texi: Fix spelling.
25 * manual/charset.texi: Likewise.
26 * manual/errno.texi: Likewise.
27 * manual/filesys.texi: Likewise.
28 * manual/lang.texi: Likewise.
29 * manual/llio.texi: Likewise.
30 * manual/locale.texi: Likewise.
31 * manual/message.texi: Likewise.
32 * manual/resource.texi: Likewise.
33 * manual/search.texi: Likewise.
34 * manual/setjmp.texi: Likewise.
35 * manual/stdio.texi: Likewise.
36 * manual/string.texi: Likewise.
37 * manual/sysinfo.texi: Likewise.
38 * manual/time.texi: Likewise.
39
11520a57
CD
402013-12-27 Carlos O'Donell <carlos@redhat.com>
41
42 * po/sl.po: New file.
43
471103ae
MF
442013-12-27 Mike Frysinger <vapier@gentoo.org>
45
46 * .gitignore: Add core/.gdbinit/.gdb_history.
47
6c9642ed
AM
482013-12-27 Allan McRae <allan@archlinux.org>
49
50 [BZ #16369]
51 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
53
3f637079
BM
542013-12-24 Brooks Moses <bmoses@google.com>
55
56 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
57 all compilers that claim C++98 compliance, not just GCC.
58 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
59 Likewise.
60
abc26e99
MK
612013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
62
63 * NEWS: Restore accidentally deleted bug-fix entries.
64
362b47fe
MK
652013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
66 Ondřej Bílka <neleai@seznam.cz>
67
68 [BZ #15073]
69 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 70 have_lock.
362b47fe 71
b9bcbbcb
OB
722013-12-23 Ondřej Bílka <neleai@seznam.cz>
73
74 [BZ #12986]
75 * manual/stdio.texi (String Input Conversions): Clarify that character
76 classes are not supported.
77
fb55fcd2
AZ
782013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79
80 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81
ef7344f0
JM
822013-12-22 Joseph Myers <joseph@codesourcery.com>
83
4f40e4b3
JM
84 [BZ #16337]
85 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
86 Calculate results for small negative arguments directly rather
87 than using reflection formula with special underflow handling.
88
ef7344f0
JM
89 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
90 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
91 sysdeps/unix/bsd/bsd4.4/syscalls.list.
92 (fchflags): Likewise.
93 (revoke): Likewise.
94 (setlogin): Likewise.
95 (sigaltstack): Likewise.
96 (wait4): Likewise.
97 (sigblock): Remove.
98 (sigsetmask): Likewise.
99 (wait3): Likewise.
100 (waitpid): Likewise.
101 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
102 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
103 file.
104 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
105 * sysdeps/unix/bsd/Makefile: ... here.
106 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
107 * sysdeps/unix/bsd/Versions: ... here.
108 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
109 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
110 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
111 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
112 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
113 * sysdeps/unix/bsd/sigblock.c: ... here.
114 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
115 * sysdeps/unix/bsd/sigsetmask.c: ... here.
116 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
117 * sysdeps/unix/bsd/sigvec.c: ... here.
118 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
119 * sysdeps/unix/bsd/tcdrain.c: ... here.
120 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
121 * sysdeps/unix/bsd/tcgetattr.c: ... here.
122 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
123 * sysdeps/unix/bsd/tcsetattr.c: ... here.
124 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
125 * sysdeps/unix/bsd/wait.c: ... here.
126 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
127 * sysdeps/unix/bsd/wait3.c: ... here.
128 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
129 * sysdeps/unix/bsd/waitpid.c: ... here.
130
5b0626b9
JM
1312013-12-21 Joseph Myers <joseph@codesourcery.com>
132
133 [BZ #16356]
134 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
135 round-to-nearest for [!USE_AS_EXPM1L].
136 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
137 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
138 more tests of exp and exp10. Expect some exp10 tests to miss
139 exceptions or fail in directed rounding modes.
140 * math/auto-libm-test-out: Regenerated.
141 * math/libm-test.inc (exp10_tonearest_test_data): New array.
142 (exp10_test_tonearest): New function.
143 (exp10_towardzero_test_data): New array.
144 (exp10_test_towardzero): New function.
145 (exp10_downward_test_data): New array.
146 (exp10_test_downward): New function.
147 (exp10_upward_test_data): New array.
148 (exp10_test_upward): New function.
149 (main): Call the new functions.
150 * sysdeps/i386/fpu/libm-test-ulps: Update.
151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
152
7fda5682
JM
1532013-12-20 Joseph Myers <joseph@codesourcery.com>
154
31e3a405
JM
155 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
156 asinh, atan, atan2, atanh, cbrt, cos and cosh.
157 * math/auto-libm-test-out: Regenerated.
158 * math/libm-test.inc (acosh_test_data): Add more tests.
159 (atanh_test_data): Likewise.
160 (ceil_test_data): Likewise.
161 (copysign_test_data): Likewise.
162 * sysdeps/i386/fpu/libm-test-ulps: Update.
163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
164
85bff96a
JM
165 * timezone/checktab.awk: Update from tzcode 2013i.
166 * timezone/private.h: Likewise.
167 * timezone/scheck.c: Likewise.
168 * timezone/tzfile.h: Likewise.
169 * timezone/tzselect.ksh: Likewise.
170 * timezone/zdump.c: Likewise.
171 * timezone/zic.c: Likewise.
172
b7867a3b
JM
173 * math/auto-libm-test-in: Add tests of cpow.
174 * math/auto-libm-test-out: Regenerated.
175 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
176 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
177 mpc_cc_c.
178 (func_calc_desc): Add mpc_cc_c union field.
179 (test_functions): Add cpow.
180 (special_fill_2pi): New function.
181 (special_real_inputs): Add 2pi.
182 (calc_generic_results): Handle mpc_cc_c.
183 * sysdeps/i386/fpu/libm-test-ulps: Update.
184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
185
7fda5682
JM
186 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
187 csqrt, ctan and ctanh.
188 * math/auto-libm-test-out: Regenerated.
189 * math/libm-test.inc (TEST_COND_x86_64): New macro.
190 (TEST_COND_x86): Likewise.
191 (ccos_test_data): Use AUTO_TESTS_c_c.
192 (ccosh_test_data): Likewise.
193 (cexp_test_data): Likewise.
194 (clog_test_data): Likewise.
195 (csqrt_test_data): Likewise.
196 (ctan_test_data): Likewise.
197 (ctan_tonearest_test_data): Likewise.
198 (ctan_towardzero_test_data): Likewise.
199 (ctan_downward_test_data): Likewise.
200 (ctan_upward_test_data): Likewise.
201 (ctanh_test_data): Likewise.
202 (ctanh_tonearest_test_data): Likewise.
203 (ctanh_towardzero_test_data): Likewise.
204 (ctanh_downward_test_data): Likewise.
205 (ctanh_upward_test_data): Likewise.
206 * math/gen-auto-libm-tests.c (func_calc_method): Add value
207 mpc_c_c.
208 (func_calc_desc): Add mpc_c_c union field.
209 (FUNC_mpc_c_c): New macro.
210 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
211 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
212 ctanh.
213 (special_fill_min_subnorm_p120): New function.
214 (special_real_inputs): Add min_subnorm_p120.
215 (calc_generic_results): Handle mpc_c_c.
216 * sysdeps/i386/fpu/libm-test-ulps: Update.
217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
218
5ff8d60e
SP
2192013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
220
392dd2de
SP
221 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
222 do_sin_slow): New functions.
223 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
224 cslow2, csloww1, csloww2): Use the new functions.
225
84ba214c
SP
226 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
227 Use M to change sign of result instead of X. Assume X is
228 positive.
229 (csloww1): Likewise.
230 (__sin): Adjust.
231 (__cos): Adjust.
232
975195e4
SP
233 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
234 arguments A and DA.
235 (__sin): Adjust.
236 (__cos): Likewise.
237
5ff8d60e
SP
238 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
239 (__cos): Likewise.
240 (sloww1): Don't adjust sign of DX.
241 (csloww1): Likewise.
242 (sloww2): Use X directly and don't adjust sign of DX.
243 (csloww2): Likewise.
244
eb983568
JM
2452013-12-19 Joseph Myers <joseph@codesourcery.com>
246
64a17f1a
JM
247 * math/auto-libm-test-in: Add tests of cabs and carg.
248 * math/auto-libm-test-out: Regenerated.
249 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
250 (carg_test_data): Likewise.
251 * math/gen-auto-libm-tests.c (func_calc_method): Add value
252 mpc_c_f.
253 (func_calc_desc): Add mpc_c_f union field.
254 (test_functions): Add cabs and carg.
255 (calc_generic_results): Handle mpc_c_f.
256
eb983568
JM
257 * sysdeps/powerpc/powerpc32/libgcc-compat.S
258 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
259 as a macro and a compat symbol.
260 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
261 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
262 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
263 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
264 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
265 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
266 not use .hidden.
267 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
268 Likewise.
269 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
270 Likewise.
271 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
272 Likewise.
273 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
274 Likewise.
275 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
276 Likewise.
277 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
278 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
279 from GLIBC_2.3.2.
280
6eeb678a
AZ
2812013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
282
283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
284
063b2acb
PP
2852013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
286
287 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
288 (__signal_safe_memalign, __signal_safe_free): Use it.
289 (__signal_safe_realloc): Likewise.
290
6f6fc482
JM
2912013-12-19 Joseph Myers <joseph@codesourcery.com>
292
21fea2e2
JM
293 * manual/texinfo.tex: Update to version 2013-11-26.10 with
294 trailing whitespace removed.
295 * scripts/config.guess: Update to version 2013-11-29.
296 * scripts/config.sub: Update to version 2013-10-01.
297
6f6fc482
JM
298 * math/auto-libm-test-in: Add tests of sincos.
299 * math/auto-libm-test-out: Regenerated.
300 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
301 * math/gen-auto-libm-tests.c (func_calc_method): Add value
302 mpfr_f_11.
303 (func_calc_desc): Add mpfr_f_11 union field.
304 (test_functions): Add sincos.
305 (calc_generic_results): Handle mpfr_f_11.
306 * sysdeps/i386/fpu/libm-test-ulps: Update.
307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
308
83f5c32d
AS
3092013-12-19 Andreas Schwab <schwab@suse.de>
310
311 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
312 CALL_MCOUNT.
313 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
314 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
315 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
316
c688b419
JM
3172013-12-19 Joseph Myers <joseph@codesourcery.com>
318
335ee092
JM
319 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
320 * sysdeps/i386/fpu/libm-test-ulps: Update.
321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
322
f88acd39
JM
323 [BZ #16293]
324 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
325 round-to-nearest mode when using frndint.
326 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
327 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
328 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
329 Likewise.
330 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
331 sinh test to fail.
332 * math/auto-libm-test-out: Regenerated.
333 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
334 (TEST_COND_x86): Likewise.
335 (expm1_tonearest_test_data): New array.
336 (expm1_test_tonearest): New function.
337 (expm1_towardzero_test_data): New array.
338 (expm1_test_towardzero): New function.
339 (expm1_downward_test_data): New array.
340 (expm1_test_downward): New function.
341 (expm1_upward_test_data): New array.
342 (expm1_test_upward): New function.
343 (main): Run the new test functions.
344 * sysdeps/i386/fpu/libm-test-ulps: Update.
345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
346
c688b419
JM
347 * include/features.h: Update comment documenting feature test
348 macros. Mention _DEFAULT_SOURCE in comment.
349 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
350 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
351 _BSD_SOURCE and _SVID_SOURCE.
352 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
353 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
354 !_SVID_SOURCE]: Likewise.
355 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
356 (__USE_POSIX_IMPLICITLY): Define.
357 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
358 (_POSIX_SOURCE): Undefine and redefine.
359 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
360 (_POSIX_C_SOURCE): Likewise.
361 * manual/creature.texi (_DEFAULT_SOURCE): Document.
362 (Feature Test Macros): Update documentation of default features.
363
9f6e964c
RS
3642013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
365
366 * benchtests/Makefile: Add bench-strtok.
367 * benchtests/bench-strtok.c: New file: strtok benchtest.
368
ee0a148a
AM
3692013-12-19 Allan McRae <allan@archlinux.org>
370
371 * manual/install.texi: Suppress menu for plain text output.
372 * INSTALL: Regenerated.
373
1f33d36a
PP
3742013-12-18 Andrew Hunter <ahh@google.com>
375
376 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
377 (__signal_safe_malloc, __signal_safe_free): Likewise.
378 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
379 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
380 (__signal_safe_memalign, __signal_safe_malloc): New function.
381 (__signal_safe_free, __signal_safe_realloc): Likewise.
382 (__signal_safe_calloc): Likewise.
383 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
384 functions.
385 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
386
35e8f7ab
PP
3872013-12-18 Andrew Hunter <ahh@google.com>
388
389 * elf/Versions (ld): Add _dl_clear_dtv.
390 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
391 * elf/dl-tls.c (_dl_clear_dtv): New function.
392 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
393
69a17d9d
PP
3942013-12-18 Andrew Hunter <ahh@google.com>
395
396 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
397 (_dl_unmask_signals): Likewise.
398 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
399 (_dl_unmask_all_signals): Likewise.
400 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
401 (_dl_unmask_all_signals): Likewise.
402 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
403 (_dl_unmask_signals): Likewise.
404
b9ab448f
BM
4052013-12-18 Brooks Moses <bmoses@google.com>
406
407 [BZ #15846]
408 * misc/getauxval.c: Include errno.h.
409 (__getauxval): Set errno to ENOENT if the requested type is not
410 found.
411 * misc/sys/auxv.h (getauxval): Document that it may set errno;
412 don't declare with __attribute_const__.
413 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
414 * manual/startup.texi: Document that getauxval sets errno.
415
23776487
JM
4162013-12-18 Joseph Myers <joseph@codesourcery.com>
417
f889953b
JM
418 * math/auto-libm-test-in: Add tests of jn and yn.
419 * math/auto-libm-test-out: Regenerated.
420 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
421 (yn_test_data): Likewise.
422 * math/gen-auto-libm-tests.c (func_calc_method): Add value
423 mpfr_if_f.
424 (func_calc_desc): Add mpfr_if_f union field.
425 (FUNC_mpfr_if_f): New macro.
426 (test_functions): Add jn and yn.
427 (calc_generic_results): Assert type of second input for
428 mpfr_ff_f. Handle mpfr_if_f.
429 (output_for_one_input_case): Disable all checking for arguments
430 fitting floating-point types in case of an integer argument.
431 * sysdeps/i386/fpu/libm-test-ulps: Update.
432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
433
23776487
JM
434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
435 Don't expect fegetround reference in libm.so.
436
cb756c6d
MS
4372013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
438
439 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
440 $(config-cflags-nofma).
441
2dec468f
JM
4422013-12-18 Joseph Myers <joseph@codesourcery.com>
443
5953eb3a
JM
444 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
445 * math/auto-libm-test-out: Regenerated.
446
2dec468f
JM
447 [BZ #16338]
448 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
449 to determine exponent and adjust argument to have exponent of -1.
450 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
451 log2.
452 * math/auto-libm-test-out: Regenerated.
453 * sysdeps/i386/fpu/libm-test-ulps: Update.
454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
455
4d84e6ad
OB
4562013-12-18 Ondřej Bílka <neleai@seznam.cz>
457
458 * manual/probes.texi: Remove cases when per-thread arenas are
459 disabled.
460
1818483b
AS
4612013-12-18 Andreas Schwab <schwab@suse.de>
462
463 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
464 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
465 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
466 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
467 * sysdeps/i386/i686/multiarch/Makefile: Update.
468 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
469
25de95bf
JM
4702013-12-17 Joseph Myers <joseph@codesourcery.com>
471
472 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
473 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
474
674762d9
PE
4752013-12-17 Paul Eggert <eggert@cs.ucla.edu>
476
0748546f
PE
477 Support TZ transition times < 00:00:00.
478 This is needed for version-3 tz-format files; it supports time
479 stamps past 2037 for America/Godthab (the only entry in the tz
480 database for which this change is relevant).
481 * manual/time.texi (TZ Variable): Document transition times
482 from -167:59:59 through -00:00:01.
483 * time/tzset.c (tz_rule): Time of day is now signed.
484 (__tzset_parse_tz): Parse negative time of day.
485
4480e934
PE
486 Document TZ transition times >= 25:00:00.
487 * manual/time.texi (TZ Variable): Document transition times from
488 25:00:00 through 167:59:59. These are already supported, and this
489 support will help with version-3 tz-format files.
490
69947401
PE
491 * manual/time.texi (TZ Variable): Modernize North America example
492 to reflect current (i.e., 2007-and-later) daylight saving rules.
493
674762d9
PE
494 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
495
7011c262
JM
4962013-12-17 Joseph Myers <joseph@codesourcery.com>
497
2fc6557e
JM
498 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
499 * sysdeps/unix/bsd/bits/stat.h: Likewise.
500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
501 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
502 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
503 * sysdeps/unix/bsd/bsdstat.h: Likewise.
504 * sysdeps/unix/bsd/clock.c: Likewise.
505 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
506 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
507 * sysdeps/unix/bsd/init-posix.c: Likewise.
508 * sysdeps/unix/bsd/poll.c: Likewise.
509 * sysdeps/unix/bsd/ptsname.c: Likewise.
510 * sysdeps/unix/bsd/seekdir.c: Likewise.
511 * sysdeps/unix/bsd/setegid.c: Likewise.
512 * sysdeps/unix/bsd/seteuid.c: Likewise.
513 * sysdeps/unix/bsd/setgid.c: Likewise.
514 * sysdeps/unix/bsd/setrgid.c: Likewise.
515 * sysdeps/unix/bsd/setruid.c: Likewise.
516 * sysdeps/unix/bsd/setsid.c: Likewise.
517 * sysdeps/unix/bsd/setuid.c: Likewise.
518 * sysdeps/unix/bsd/sigaction.c: Likewise.
519 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
520 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
521 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
522 * sysdeps/unix/bsd/telldir.c: Likewise.
523 * sysdeps/unix/bsd/times.c: Likewise.
524 * sysdeps/unix/bsd/usleep.c: Likewise.
525
029c7b25
JM
526 * misc/Makefile (install-lib): Remove libbsd-compat.a.
527 ($(objpfx)libbsd-compat.a): Remove rule.
528
7011c262
JM
529 * include/features.h (__FAVOR_BSD): Do not define.
530 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
531 features conflicting with POSIX.
532 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
533 (_BSD_SOURCE): Remove description of not being a subset of other
534 feature test macros.
535 * manual/job.texi (getpgrp): Do not document BSD version.
536 (getpgid): Do not document by reference to BSD getpgrp.
537 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
538 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
539 * signal/signal.h [__FAVOR_BSD]: Likewise.
540 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
541 instead of making contents conditional on [__FAVOR_BSD].
542 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
543
affb6f78
AZ
5442013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
545
546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
547
c88769dd
JM
5482013-12-17 Joseph Myers <joseph@codesourcery.com>
549
6432a540
JM
550 [BZ #16314]
551 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
552 values below 2**-450, not 2**-500.
553 * math/auto-libm-test-in: Don't allow spurious underflow from
554 hypot.
555 * math/auto-libm-test-out: Regenerated.
556
c88769dd
JM
557 [BZ #16316]
558 [BZ #16330]
559 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
560 values of ha and hb and sort them after adjusting subnormal
561 arguments.
562 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
563 Likewise.
564 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
565 values of ea and eb and sort them after adjusting subnormal
566 arguments.
567 * math/auto-libm-test-in: Do not expect some hypot tests of
568 subnormals to fail. Add more hypot tests.
569 * math/auto-libm-test-out: Regenerated.
570
29618f6b
KK
5712013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
572
573 [BZ #13304]
574 * sysdeps/sh/s_fma.c: New file.
575 * sysdeps/sh/s_fmaf.c: New file.
576 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
577 version.
578 * sysdeps/sh/Implies: Add sh/soft-fp.
579
eacfdfbf
RM
5802013-12-16 Roland McGrath <roland@hack.frob.com>
581
582 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
583 level of indirection to members `objname', `errstring', `malloced'.
584 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
585 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
586 it as the __longjmp argument (just pass 1 instead).
587 (_dl_catch_error): Initialize C with argument pointers and address of
588 volatile local ERRCODE rather than copying values out of C at return.
589
ff362e5b
JM
5902013-12-16 Joseph Myers <joseph@codesourcery.com>
591
592 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
593 * math/auto-libm-test-out: Regenerated.
594 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
595 (hypot_test_data): Likewise.
596 (pow_test_data): Likewise.
597 (pow_tonearest_test_data): Likewise.
598 * math/gen-auto-libm-tests.c (func_calc_method): Add value
599 mpfr_ff_f.
600 (func_calc_desc): Add mpfr_ff_f union field.
601 (FUNC_mpfr_ff_f): New macro.
602 (test_functions): Add atan2, hypot and pow.
603 (special_fill_min): New function.
604 (special_fill_minus_min): Likewise.
605 (special_fill_min_subnorm): Likewise.
606 (special_fill_minus_min_subnorm): Likewise.
607 (special_real_inputs): Add min, -min, min_subnorm and
608 -min_subnorm.
609 (calc_generic_results): Handle mpfr_ff_f.
610 * sysdeps/i386/fpu/libm-test-ulps: Update.
611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
612
5764c27f
WN
6132013-12-16 Will Newton <will.newton@linaro.org>
614
615 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
616 (Aligned Memory Blocks): Add documentation for aligned_alloc
617 and suggest it as an alternative to posix_memalign.
618 (Hooks for Malloc): Document __memalign_hook is also called
619 for aligned_alloc. (Summary of Malloc): Add summary for
620 aligned alloc. Document __memalign_hook is also called
621 for aligned_alloc.
622
0a096e44
WN
6232013-12-16 Will Newton <will.newton@linaro.org>
624
625 * manual/memory.texi (Malloc Examples): Clarify default
626 alignment documentation. Suggest posix_memalign rather
627 than memalign or valloc.
628 (Aligned Memory Blocks): Remove suggestion to use memalign
629 or valloc. Remove obsolete comment about BSD.
630 Document memalign errno values and mark the function obsolete.
631 Document posix_memalign returned error codes. Mark valloc
632 as obsolete. (Hooks for Malloc): __memalign_hook is also
633 called for posix_memalign and valloc.
634 (Summary of Malloc): Add posix_memalign to function summary.
635 __memalign_hook is also called for posix_memalign and valloc.
636
8d561986
SP
6372013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
638
639 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
640 TAYLOR_SIN.
641 (__sin): Adjust.
642 (__cos): Likewise.
643 (sloww): Use mynumber union. Expand ternary operator into
644 if-else statements.
645 (cslow): use mynumber union.
646
73616a74
AM
6472013-12-16 Allan McRae <allan@archlinux.org>
648
9e8ac24b
AM
649 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
650 * configure: Regenerated.
651
6f8e37eb
AM
652 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
653
8894bad3
AM
654 [BZ #14120]
655 * configure.ac: Added --enable-maintainer-mode. Check for
656 autoconf when enabled.
657 * configure: Regenerated.
658
73616a74
AM
659 * nscd/nscd.service: New file.
660 * nscd/nscd.tmpfiles: New file.
661
584b18eb
OB
6622013-12-14 Ondřej Bílka <neleai@seznam.cz>
663
664 [BZ #12100]
665 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
666 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
667 * sysdeps/x86_64/multiarch/strstr.c: ... here.
668 (strstr): Add __strstr_sse2_unaligned ifunc.
669 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
670 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
671 (strcasestr): Remove __strcasestr_sse42 ifunc.
672 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
673 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
674 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
675
8a5c7897
KK
6762013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
677
678 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
679 * sysdeps/sh/bits/fenv.h: ... here.
680 * sysdeps/sh/sh4/fpu/bits: Remove directory.
681
fd712ef3
AZ
6822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
683
684 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
685
42fcb46c
AZ
6862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
687
688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
689 hypotf multiarch implementations.
690 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
691 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
692 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
693 multiarch hypot for PPC64.
694 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
695 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
696 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
697 multiarch hypotf for PPC64.
698
83efded4
AZ
6992013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
700
701 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
702 modff multiarch implementations.
703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
706 multiarch modf for PPC64.
707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
710 multiarch modff for PPC64.
711
43e246d2
AZ
7122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
713
714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
715 and logl multiarch implementations.
716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
719 multiarch logb for PPC64.
720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
723 multiarch logb for PPC64.
724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
727 multiarch logb for PPC64.
728
8fdad123
AZ
7292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
730
731 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
732 isinff multiarch implementation.
733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
734 file.
735 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
737 multiarch isinf for PPC64.
738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
739 file.
740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
741 multiarch isinff for PPC64.
742
1481d706
AZ
7432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
744
745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
746 finitef multiarch implementation.
747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
748 file.
749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
751 multiarch finite for PPC64.
752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
753 file.
754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
755 multiarch finitef for PPC64.
756
5ccd5fc8
AZ
7572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
758
759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
760 lrint multiarch implementation.
761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
762 file.
763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
765 multiarch llrint for PPC64.
766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
767 multiarch lrint for PPC64.
768
2568f3fa
AZ
7692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
770
771 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
772 copysignf multiarch implementation.
773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
774 file.
775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
776 file.
777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
778 multiarch copysign for PPC64.
779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
780 multiarch copysignf for PPC64.
781
1cb341fd
AZ
7822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
783
784 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
785 multiarch implementation.
786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
787 file.
788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
789 file.
790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
791 file.
792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
793 file.
794 multiarch llround for PPC64.
795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
796 multiarch trunc for PPC64.
797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
798 multiarch truncf for PPC64.
799
59a3e194
AZ
8002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
801
802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
803 multiarch implementation.
804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
805 file.
806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
807 file.
808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
809 file.
810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
811 file.
812 multiarch llround for PPC64.
813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
814 multiarch round for PPC64.
815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
816 multiarch roundf for PPC64.
817
357fd3b4
AZ
8182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
819
820 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
821 multiarch implementation.
822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
823 file.
824 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
825 file.
826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
827 file.
828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
829 file.
830 multiarch llround for PPC64.
831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
832 multiarch floor for PPC64.
833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
834 multiarch floorf for PPC64.
835
96770f12
AZ
8362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
837
838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
839 multiarch implementation.
840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
841 file.
842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
843 file.
844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
845 file.
846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
847 file.
848 multiarch llround for PPC64.
849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
850 multiarch ceil for PPC64.
851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
852 multiarch ceilf for PPC64.
853
c3627f6e
AZ
8542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
855
856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
857 multiarch implementation.
858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
859 file.
860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
861 file.
862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
863 file.
864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
865 multiarch llround for PPC64.
866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
867 multiarch lround for PPC64.
868
b2284ad7
AZ
8692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
870
871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
872 multiarch implementation.
873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
876 file.
877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
880 multiarch isnan for PPC64.
881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
882 multiarch isnanf for PPC64.
883
69bbc63d
AZ
8842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
885
886 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
887 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
888 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
889 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
890 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
892
c24517c9
AZ
8932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
894
895 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
896 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
899
a52374e8
AZ
9002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
901
902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
903 multiarch implementations.
904 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
905 (__libc_ifunc_impl_list): Likewise.
906 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
907 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
908 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
909 multiarch stpcpy for PPC64.
910
7f5ec113
AZ
9112013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
912
913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
914 multiarch implementations.
915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
916 (__libc_ifunc_impl_list): Likewise.
917 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
918 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
919 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
920 multiarch strcpy for PPC64.
921
e28bcd42
AZ
9222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
923
924 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
925 redefine function name.
926 (_wordcopy_fwd_dest_aligned): Likewise.
927 (_wordcopy_bwd_aligned): Likewise.
928 (_wordcopy_bwd_dest_aligned): Likewise.
929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
930 multiarch implementations.
931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
932 (__libc_ifunc_impl_list): Likewise.
933 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
934 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
935 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
936 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
937 multiarch wcscpy for PPC64.
938
92cacfce
AZ
9392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
940
941 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
942 multiarch implementations.
943 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
944 (__libc_ifunc_impl_list): Likewise.
945 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
946 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
947 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
948 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
949 multiarch wcscpy for PPC64.
950
7b714620
AZ
9512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
952
953 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
954 multiarch implementations.
955 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
956 (__libc_ifunc_impl_list): Likewise.
957 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
958 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
959 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
960 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
961 multiarch wcsrchr for PPC64.
962
16fd2ae3
AZ
9632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964
965 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
966 multiarch implementations.
967 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
968 (__libc_ifunc_impl_list): Likewise.
969 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
970 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
971 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
972 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
973 multiarch wcschr for PPC64.
974
9ee2969b
AZ
9752013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
976
977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
978 multiarch implementations.
979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
980 (__libc_ifunc_impl_list): Likewise.
981 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
982 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
983 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
984 multiarch strchrnul for PPC64.
985
372dc060
AZ
9862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
987
988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
989 implementations.
990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
991 (__libc_ifunc_impl_list): Likewise.
992 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
993 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
994 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
995 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
996 strchr for PPC64.
997
24c2c3b9
AZ
9982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
999
1000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1001 implementations.
1002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1003 (__libc_ifunc_impl_list): Likewise.
1004 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1005 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1006 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1007 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1008 strncmp for PPC64.
1009
1c92d9a0
AZ
10102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1011
1012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1013 multiarch implementations.
1014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1015 (__libc_ifunc_impl_list): Likewise.
1016 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1017 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1018 strncasecmp for PPC64.
1019 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1020 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1021 multiarch strncasecmp_l for PPC64.
1022
17de3ee3
AZ
10232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1024
1025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1026 multiarch implementations.
1027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1028 (__libc_ifunc_impl_list): Likewise.
1029 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1030 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1031 multiarch strcasecmp for PPC64.
1032 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1033 file.
1034 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1035 multiarch strcasecmp_l for PPC64.
1036
62982bf9
AZ
10372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1038
1039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1040 implementations.
1041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1042 (__libc_ifunc_impl_list): Likewise.
1043 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1044 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1045 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1046 strnlen for PPC64.
1047
a65f4904
AZ
10482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1049
1050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1051 implementations.
1052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1053 (__libc_ifunc_impl_list): Likewise.
1054 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1055 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1056 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1057 strlen for PPC64.
1058
1fd005ad
AZ
10592013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1060
1061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1062 implementations.
1063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1064 (__libc_ifunc_impl_list): Likewise.
1065 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1066 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1067 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1068 rawmemrchr for PPC64.
1069
cd05ba91
AZ
10702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1071
1072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1073 implementation.
1074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1075 (__libc_ifunc_impl_list): Likewise.
1076 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1077 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1078 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1079 memrchr for PPC64.
1080
870f8676
AZ
10812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1082
1083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1084 implementation.
1085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1086 (__libc_ifunc_impl_list): Likewise.
1087 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1088 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1089 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1090 memchr for PPC64.
1091
f00be62b
AZ
10922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1093
1094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1095 implementation.
1096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1097 (__libc_ifunc_impl_list): Likewise.
1098 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1099 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1100 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1101 mempcpy for PPC64.
1102
8a29a3d0
AZ
11032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1104
1105 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1106 avoid cretion of __bzero symbol.
1107 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1108 Likewise.
1109 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1110 Likewise.
1111 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1112 Likewise.
1113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1114 multiarch implementations.
1115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1116 (__libc_ifunc_impl_list): Likewise.
1117 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1118 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1119 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1120 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1121 bzero for PPC32.
1122 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1123 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1124 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1125 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1126 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1127 memset for PPC64.
1128 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1129
07253fcf
AZ
11302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1131
1132 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1134 implementations.
1135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1136 (__libc_ifunc_impl_list): Likewise.
1137 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1138 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1139 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1140 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1141 memcmp for PPC64.
1142
b5beafbc
AZ
11432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1144
1145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1146 multiarch for POWER/PPC64.
1147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1148 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1149 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1150 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1152 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1154 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1155 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1156 memcpy for PPC64.
1157
5e6a4d4b
AZ
11582013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1159
1160 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1161 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1162 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1163 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1164 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1165 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1166 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1167 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1168 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1169 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1170 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1171 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1172 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1173 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1174 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1182
ddfab6dc
KK
11832013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1184
1185 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1186
19b5525e
SP
11872013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1188
1189 * benchtests/Makefile (bench): Add exp2 and log2.
1190 (LDLIBS-bench-exp2): Add -lm.
1191 (LDLIBS-bench-log2): Likewise.
1192 * benchtests/exp2-inputs: New inputs file.
1193 * benchtests/log2-inputs: New inputs file.
1194 * benchtests/log-inputs: Add new inputs.
1195 * benchtests/tan-inputs: Likewise.
1196
196f7f5d
SP
11972013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1198
7a74607f
SP
1199 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1200 definition...
1201 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1202 csloww1, csloww2): ... from here.
1203
196f7f5d
SP
1204 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1205 instead of structures.
1206 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1207 (POLYNOMIAL): Likewise.
1208 (TAYLOR_SLOW): Likewise.
1209 (__sin): Likewise.
1210 (__cos): Likewise.
1211 (slow1): Likewise.
1212 (slow2): Likewise.
1213 (sloww): Likewise.
1214 (sloww1); Likewise.
1215 (sloww2): Likewise.
1216 (bsloww1): Likewise.
1217 (bsloww2): Likewise.
1218 (cslow2): Likewise.
1219 (csloww): Likewise.
1220 (csloww1): Likewise.
1221 (csloww2): Likewise.
1222
0dfa665c
OB
12232013-12-10 Ondřej Bílka <neleai@seznam.cz>
1224
1225 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1226 (__malloc_assert, __libc_realloc, __libc_calloc,
1227 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1228 memcpy and memset.
1229 * malloc/hooks.c (realloc_check): Likewise.
1230
5782a80f
OB
12312013-12-10 Ondřej Bílka <neleai@seznam.cz>
1232
1233 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1234 * malloc/arena.c: Remove PER_THREAD conditional.
1235 [!PER_THREAD]: Remove code.
1236 (ptmalloc_unlock_all2): Likewise.
1237 (ptmalloc_init): Likewise.
1238 (_int_new_arena): Likewise.
1239 (arena_get2): Likewise.
1240 * malloc/hooks.c (__malloc_get_state): Likewise.
1241 (__malloc_set_state): Likewise.
1242 * malloc/malloc.c: Likewise.
1243 (struct malloc_state): Likewise.
1244 (struct malloc_par): Likewise.
1245 (__libc_realloc): Likewise.
1246 (__libc_mallopt): Likewise.
1247
aeb95445
AZ
12482013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1249
1250 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1251
e8349efd
OB
12522013-12-09 Ondřej Bílka <neleai@seznam.cz>
1253
1254 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1255 macro to a function. Check for zero perturb_byte.
1256 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1257
f3eeb3fc
OB
12582013-12-09 Ondřej Bílka <neleai@seznam.cz>
1259
1260 * malloc/malloc.c: (force_reg): Remove.
1261 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1262 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1263 force_reg by atomic_forced_read.
1264 * malloc/arena.c (ptmalloc_init): Likewise.
1265 * malloc/hooks.c (top_check): Likewise.
1266
be2f9009
AZ
12672013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1268
1269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1270
e7b914bd
MT
12712013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1272
1273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1274
9f0be4f8
JM
12752013-12-08 Joseph Myers <joseph@codesourcery.com>
1276
1277 * math/auto-libm-test-in: Add tests of lgamma.
1278 * math/auto-libm-test-out: Regenerated.
1279 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1280 (M_LOG_2_SQRT_PIl): Likewise.
1281 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1282 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1283 mpfr_f_f1.
1284 (func_calc_desc): Add mpfr_f_f1 union field.
1285 (ARGS1): New macro.
1286 (ARGS2): Likewise.
1287 (ARGS3): Likewise.
1288 (ARGS4): Likewise.
1289 (RET1): Likewise.
1290 (RET2): Likewise.
1291 (CALC): Likewise.
1292 (FUNC): Likewise.
1293 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1294 (test_functions): Add lgamma.
1295 (calc_generic_results): Handle mpfr_f_f1.
1296 * sysdeps/i386/fpu/libm-test-ulps: Update.
1297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1298
24eeafdb
AZ
12992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1300
1301 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1302 __mpn_add_n for PowerPC64/POWER7.
1303 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1304 __mpn_sub_n for PowerPC64/POWER7.
1305
4a2c0fd4
AZ
13062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1307
1308 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1309 __mpn_addmul_1 for PowerPC64.
1310 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1311 __mpn_submul_1 for PowerPC64.
1312 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1313 for PowerPC64.
1314 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1315 for PowerPC64.
1316
4b5b548c
FS
13172013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1318
1319 [BZ #15089]
1320 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1321
0a3ac0aa
AZ
13222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323
1324 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1325
ccdc8438
AZ
13262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1327
1328 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1329 add multiarch folders.
1330 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1331 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1332 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1333 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1334 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1335 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1336 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1337 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1338 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1339 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1340 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1347
2e973d99
AZ
13482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1349
1350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1351 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1353 New file.
1354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1355 New file.
1356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1357 multiarch __ieee754_hypot for PowerPC32.
1358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1359 New file.
1360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1361 New file.
1362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1363 multiarch __ieee754_hypotf for PowerPC32.
1364
2d9470b2
AZ
13652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1366
1367 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1368 long_double_symbol only if __logbl is defined.
1369 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1370 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1371 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1372 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1374 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1375 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1376 path for implementation.
1377 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1378 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1380 logb, and logbl multiarch implementations for PowerPC32.
1381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1382 file.
1383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1384 file.
1385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1386 multiarch logb for PowerPC32.
1387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1388 file.
1389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1390 file.
1391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1392 multiarch logbf for PowerPC32.
1393 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1395 file.
1396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1397 multiarch logbl implementation for PowerPC32.
1398
5212ffce
AZ
13992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1400
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1402 and modff multiarch implementations.
1403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1404 New file.
1405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1406 New file.
1407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1408 multiarch modf for PowerPC32.
1409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1410 New file.
1411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1412 New file.
1413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1414 multiarch modff for PowerPC32.
1415
79dccf31
AZ
14162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1417
1418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1419 and lrintf multiarch implementations.
1420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1421 New file.
1422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1423 New file.
1424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1425 multiarch lrint for PowerPC32.
1426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1427 file: multiarch lrintf for PowerPC32.
1428
deb66480
AZ
14292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1430
1431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1432 and lroundf multiarch implementations.
1433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1434 New file.
1435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1436 New file.
1437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1438 New file.
1439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1440 multiarch lround for PowerPC32.
1441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1442 file: multiarch lroundf for PowerPC32.
1443
264b036b
AZ
14442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1445
1446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1447 copysign and copysignf multiarch implementations.
1448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1449 New file.
1450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1451 New file.
1452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1453 file: multiarch copysign for PowerPC32.
1454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1455 file: multiarch copysignf for PowerPC32.
1456
d47db6c9
AZ
14572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1458
1459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1460 and truncf multiarch implementations.
1461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1462 New file.
1463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1464 file.
1465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1466 multiarch trunc for PowerPC32.
1467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1468 New file.
1469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1470 New file.
1471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1472 multiarch truncf for PowerPC32.
1473
ddb60b5a
AZ
14742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1475
1476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1477 and roundf multiarch implementations.
1478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1479 New file.
1480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1481 file.
1482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1483 multiarch round for PowerPC32.
1484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1485 New file.
1486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1487 New file.
1488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1489 multiarch roundf for PowerPC32.
1490
bedcf49b
AZ
14912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1492
1493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1494 and floorf multiarch implementations.
1495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1496 New file.
1497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1498 file.
1499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1500 multiarch floor for PowerPC32.
1501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1502 New file.
1503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1504 New file.
1505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1506 multiarch floorf for PowerPC32.
1507
35ae5b40
AZ
15082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1509
1510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1511 and ceilf multiarch implementations.
1512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1513 New file.
1514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1515 file.
1516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1517 multiarch ceil for PowerPC32.
1518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1519 New file.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1521 file.
1522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1523 multiarch ceilf for PowerPC32.
1524
ae1a4cd9
AZ
15252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1526
1527 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1528 is defined.
1529 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1530 FINITEF is defined.
1531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1532 and finitef multiarch implementations.
1533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1534 New file.
1535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1536 file.
1537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1538 multiarch finite for PowerPC32.
1539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1540 New file.
1541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1542 file: multiarch finitef for PowerPC32.
1543
64fffd65
AZ
15442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1545
1546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1547 and isinff multiarch implementations.
1548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1549 file.
1550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1551 file.
1552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1553 multiarch isinf for PowerPC32.
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1555 New file.
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1557 multiarch isinff for PowerPC32.
1558
8e4e7ba2
AZ
15592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1560
1561 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1562 alias when __isnan is defined.
1563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1564 and isnanf multiarch implementations.
1565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1566 file.
1567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1568 file.
1569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1570 file.
1571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1572 file.
1573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1574 multiarch isnan for PowerPC32.
1575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1576 New file.
1577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1578 New file.
1579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1580 multiarch isnanf for PowerPC32.
1581
ddba588e
AZ
15822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1583
1584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1585 and sqrtf multiarch implementations.
1586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1587 file.
1588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1589 file.
1590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1591 multiarch sqrt for PowerPC32.
1592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1593 file.
1594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1595 file.
1596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1597 multiarch sqrtf for PowerPC32.
1598
0f96a2f0
AZ
15992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1600
1601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1602 and llroundf multiarch implementations.
1603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1604 New file.
1605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1606 New file.
1607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1608 New file.
1609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1610 file: multiarch llround for PowerPC32.
1611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1612 file: multiarch llroundf for PowerPC32.
1613
c9b5d79e
AZ
16142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1615
1616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1617 multiarch PowerPC32 fpu implementations.
1618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1619 New file.
1620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1621 New file.
1622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1623 multiarch llrint for PowerPC32.
1624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1625 New file.
1626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1627 New file.
1628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1629 file.
1630
9cbb3aab
AZ
16312013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1632
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1634
ea5a72f8
AZ
16352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1636
1637 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1638 file.
1639 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1640 file.
1641 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1642 file.
1643 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1644 multiarch wordcopy for PPC32.
1645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1646 wordcopy objects.
1647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1648 (__libc_ifunc_impl_list): Likewise.
1649 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1650 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1651 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1652 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1653 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1654 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1655
93be09e7
AZ
16562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1657
1658 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1659 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1660 file.
1661 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1662 file.
1663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1664 file.
1665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1666 multiarch wcscpy for PPC32.
1667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1668 multiarch objects.
1669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1670 (__libc_ifunc_impl_list): Likewise.
1671 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1672 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1673 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1674 sysdeps/powerpc/power6/wcscpy.c.
1675
bb04e529
AZ
16762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1677
1678 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1680 file.
1681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1682 file.
1683 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1684 file.
1685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1686 multiarch wcsrchr for PPC32.
1687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1688 multiarch objects.
1689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1690 (__libc_ifunc_impl_list): Likewise.
1691 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1692 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1693 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1694 sysdeps/powerpc/power6/wcsrchr.c.
1695
05b5cd1c
AZ
16962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1697
1698 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1699 file.
1700 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1701 file.
1702 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1703 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1704 multiarch wcschr for PPc32.
1705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1706 multiarch objects.
1707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1708 (__libc_ifunc_impl_list): Likewise.
1709 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1710 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1711 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1712 sysdeps/powerpc/power6/wcschr.c.
1713
ba964147
AZ
17142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1715
1716 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1717 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1718 file.
1719 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1720 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1721 file: multiarch strchr for PPC32.
1722 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1723 multiarch objects.
1724 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1725 (__libc_ifunc_impl_list): Likewise.
1726
31c81aaa
AZ
17272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1728
1729 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1730 name.
1731 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1732 file.
1733 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1734 file.
1735 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1736 multiarch strchrnul for PPC32.
1737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1738 multiarch objects.
1739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1740 (__libc_ifunc_impl_list): Likewise.
1741
0d0607d9
AZ
17422013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1743
1744 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1745 file.
1746 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1747 multiarch strncasecmp for PPC32.
1748 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1749 file.
1750 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1751 multiarch strncasecmp_l for PPC32.
1752 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1753 strncasecmp multiarch objects.
1754 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1755 (__libc_ifunc_impl_list): Likewise.
1756
4dfd5c86
AZ
17572013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1758
1759 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1760 file.
1761 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1762 multiarch strncasecmp for PPC32.
1763 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1764 New file.
1765 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1766 multiarch strcasecmp_l for PPC32.
1767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1768 multiarch objects.
1769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1770 (__libc_ifunc_impl_list): Likewise.
1771
a19e01a3
AZ
17722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1773
1774 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1775 file.
1776 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1777 file.
1778 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1779 multiarch strncmp for PPC32.
1780 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1781 multiarch objects.
1782 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1783 (__libc_ifunc_impl_list): Likewise.
1784
ae9cf7a2
AZ
17852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1786
1787 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1788 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1789 file.
1790 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1791 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1793 multiarch objects.
1794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1795 (__libc_ifunc_impl_list): Likewise.
1796
3148bb7d
AZ
17972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1798
1799 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1800 file.
1801 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1802 file.
1803 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1804 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1805 multiarch objects.
1806 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1807 (__libc_ifunc_impl_list): Likewise.
1808
7af8b946
AZ
18092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1810
1811 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1812 file.
1813 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1814 file.
1815 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1816 multiarch rawmemchr for PPC32.
1817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1818 multiarch objects.
1819 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1820 (__libc_ifunc_impl_list): Likewise.
1821
03a6aa6a
AZ
18222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823
1824 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1825 file.
1826 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1827 file.
1828 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1829 file: memrchr multiarch for PPC32.
1830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1831 multiarch objects.
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1833 (__libc_ifunc_impl_list): Likewise.
1834
1c62e6d9
AZ
18352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1836
1837 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1838 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1839 file.
1840 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1842 multiarch memchr for PPC32.
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1844 multiarch objects.
1845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1846 (__libc_ifunc_impl_list): Likewise.
1847
87da8bdb
AZ
18482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1849
1850 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1851 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1852 file.
1853 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1854 file.
1855 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1856 file: multiarch mempcpy for PPC32.
1857 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1858 multiarch objects.
1859 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1860 (__libc_ifunc_impl_list): Likewise.
1861
20ed4714
AZ
18622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1863
1864 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1865 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1866 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1867 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1868 multiarch bzero for PPC32.
1869 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1870 file.
1871 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1872 file.
1873 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1874 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1875 file: multiarch memset for PPC32.
1876 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1877 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1878 memset multiarch objects.
1879 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1880 (__libc_ifunc_impl_list): Likewise.
1881
ab3e3a46
AZ
18822013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1883
1884 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1885 file.
1886 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1887 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1888 memcmp for PPC32.
1889 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1891 multiarch objects.
1892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1893 (__libc_ifunc_impl_list): Likewise.
1894
930de6f0
AZ
18952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1896
1897 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1898 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1899 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1900 file.
1901 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1902 file.
1903 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1904 file.
1905 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1906 multiarch memcpy for PPC32.
1907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1908 multiarch objects.
1909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1910 (__libc_ifunc_impl_list): Likewise.
1911
4c628e00
AZ
19122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1913
1914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1915 support multiarch for POWER/PPC32.
1916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1917 Likewise.
1918 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1920 Implies file to make multiarch folder appers before the fpu and
1921 default folder for power4 configuration.
1922
f4479220
SP
19232013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1924
1925 * scripts/bench.pl: Append volatile keyword to type.
1926
8517800f
KK
19272013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1928
1929 * sysdeps/sh/sotruss-lib.c: New file.
1930 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1931
180138f1
AZ
19322013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1933
1934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1935
bbf37bdc
JM
19362013-12-05 Joseph Myers <joseph@codesourcery.com>
1937
e47cc4e0
JM
1938 [BZ #6810]
1939 * math/w_tgamma.c: Include <errno.h>.
1940 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1941 * math/w_tgammaf.c: Include <errno.h>.
1942 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1943 * math/w_tgammal.c: Include <errno.h>.
1944 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1945 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1946 underflow. Add more tgamma tests.
1947 * math/auto-libm-test-out: Regenerated.
1948 * sysdeps/i386/fpu/libm-test-ulps: Update.
1949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1950
bbf37bdc
JM
1951 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1952 sin, sinh, tan, tanh, tgamma, y0 and y1.
1953 * math/auto-libm-test-out: Regenerated.
1954 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1955 (TEST_COND_x86): Likewise.
1956 (M_E2l): Remove macro.
1957 (M_E3l): Likewise.
1958 (M_2_SQRT_PIl): Likewise.
1959 (M_SQRT_PIl): Likewise.
1960 (M_1_DIV_El): Likewise.
1961 (log_test_data): Use AUTO_TESTS_f_f.
1962 (log10_test_data): Likewise.
1963 (log1p_test_data): Likewise.
1964 (log2_test_data): Likewise.
1965 (sin_test_data): Likewise.
1966 (sin_tonearest_test_data): Likewise.
1967 (sin_towardzero_test_data): Likewise.
1968 (sin_downward_test_data): Likewise.
1969 (sin_upward_test_data): Likewise.
1970 (sinh_test_data): Likewise.
1971 (sinh_tonearest_test_data): Likewise.
1972 (sinh_towardzero_test_data): Likewise.
1973 (sinh_downward_test_data): Likewise.
1974 (sinh_upward_test_data): Likewise.
1975 (tan_test_data): Likewise.
1976 (tan_tonearest_test_data): Likewise.
1977 (tan_towardzero_test_data): Likewise.
1978 (tan_downward_test_data): Likewise.
1979 (tan_upward_test_data): Likewise.
1980 (tanh_test_data): Likewise.
1981 (tgamma_test_data): Likewise.
1982 (y0_test_data): Likewise.
1983 (y1_test_data): Likewise.
1984 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1985 (special_real_inputs): Add pi/4.
1986 * sysdeps/i386/fpu/libm-test-ulps: Update.
1987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1988
eb5ad6b9
AZ
19892013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1990
1991 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1992 "longjmp_target" static probes.
1993 (__longjmp): Rename to __longjmp_symbol.
1994 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1995 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1996 on which longjmp to generate.
1997 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1998 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1999 probe.
2000 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2001 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2002 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2003 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2004 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2005 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2007 __longjmp_symbol based on which __longjmp to generate.
2008 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2009 probe.
2010 (setjmp): Rename to setjmp_symbol.
2011 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2012 (_setjmp): Rename to _setjmp_symbol.
2013 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2014 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2015 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2016 which setjmp to generate.
2017 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2018 "longjmp_target" static probes.
2019
d136c6dc
SP
20202013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2021
9298ecba
SP
2022 * benchtests/README: Add note about output arguments.
2023 * benchtests/bench-sincos.c: Remove file.
2024 * benchtests/sincos-inputs: New file.
2025 * scripts/bench.pl: Identify output arguments and define
2026 static variables for them.
2027
232983e9
SP
2028 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2029
d136c6dc
SP
2030 [BZ #15941]
2031 * Makefile (INSTALL): Add install-plain.texi as the primary
2032 dependency.
2033 * manual/install-plain.texi: New file.
2034 * manual/install.texi: Include node directive only for
2035 non-plaintext output.
2036
699ff837
JM
20372013-12-04 Joseph Myers <joseph@codesourcery.com>
2038
ab07cea8
JM
2039 * stdlib/longlong.h: Update from GCC.
2040
699ff837
JM
2041 [BZ #6807]
2042 [BZ #15901]
2043 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2044 * math/w_j0f.c (y0f): Likewise.
2045 * math/w_j0l.c (__y0l): Likewise.
2046 * math/w_j1.c (y1): Likewise.
2047 * math/w_j1f.c (y1f): Likewise.
2048 * math/w_j1l.c (__y1l): Likewise
2049 * math/w_jn.c (yn): Likewise.
2050 * math/w_jnf.c (ynf): Likewise.
2051 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2052 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2053 value for Bessel function domain errors outside _SVID_ mode.
2054 Adjust sign of return value for yn (negative integer, 0).
2055 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2056 by zero in return for negative x and set sign appropriately for
2057 negative n.
2058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2059 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2060 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2061 expectations in error cases.
2062 (y1_test_data): Likewise.
2063 (yn_test_data): Likewise.
2064 * sysdeps/i386/fpu/libm-test-ulps: Update.
2065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2066
5b118558
UW
20672013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2068
2069 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2070 "64" to "64-v1". Add "64-v2".
2071 (abi-64-options): Rename to ...
2072 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2073 (abi-64-condition): Rename to ...
2074 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2075 (abi-64-ld-soname): Rename to ...
2076 (abi-64-v1-ld-soname): ... this.
2077 (abi-64-v2-options): Define.
2078 (abi-64-v2-condition): Likewise.
2079 (abi-64-v2-ld-soname): Likewise.
2080 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2081 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2085
61cd8fe4
UW
20862013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2087 Alan Modra <amodra@gmail.com>
2088
2089 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2090 New versions for use with the ELFv2 ABI.
2091 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2092 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2093 declaration.
2094 (struct La_ppc64v2_retval): Likewise.
2095 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2096 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2097 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2098 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2099 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2100 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2101 Do not save or restore CR.
2102 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2103 (_dl_profile_resolve): Do no save or restore CR. Support extended
2104 return values for ELFv2 ABI. Fix location of FPR return registers.
2105 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2106 updated values for _CALL_ELF == 2.
2107 (La_regs, La_retval, int_retval): Likewise.
2108
8b8a692c
UW
21092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2110
2111 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2112 (FRAME_MIN_SIZE_PARM): Likewise.
2113 (FRAME_BACKCHAIN): Likewise.
2114 (FRAME_CR_SAVE): Likewise.
2115 (FRAME_LR_SAVE): Likewise.
2116 (FRAME_TOC_SAVE): Likewise.
2117 (FRAME_PARM_SAVE): Likewise.
2118 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2119 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2120 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2121 (call_mcount_parm_offset): New macro.
2122 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2123 (PROF): Use symbolic stack frame offsets.
2124 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2125 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2126 Redefine in terms of FRAME_MIN_SIZE.
2127 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2128 (_dl_profile_resolve): Likewise. Update comment.
2129 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2130 symbols stack frame offsets.
2131 (__sigsetjmp): Likewise.
2132 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2133 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2134 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2135 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2136
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2138 (FRAME_BACKCHAIN): Remove.
2139 (FRAME_CR_SAVE): Likewise.
2140 (FRAME_LR_SAVE): Likewise.
2141 (FRAME_COMPILER_DW): Likewise.
2142 (FRAME_LINKER_DW): Likewise.
2143 (FRAME_TOC_SAVE): Likewise.
2144 (FRAME_PARM_SAVE): Likewise.
2145 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2146 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2147 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2149 (CHECK_SP): Use symbolic stack frame offsets.
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2151 zone" instead of caller's parameter save area for temp storage.
2152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2153 Likewise. Also, use symbolic stack frame offsets.
2154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2155 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2156 our own stack frame instead of the caller's.
2157 (__socket): Use symbolic stack frame offsets.
2158
122b66de
UW
21592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2160 Alan Modra <amodra@gmail.com>
2161
2162 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2163 Define.
2164 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2165 PPC64_LOCAL_ENTRY_OFFSET): Define.
2166 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2167 New function.
2168 (elf_machine_fixup_plt): Call it.
2169 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2170 reloc arguments.
2171 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2172 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2173 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2174 r2 before calling target.
2175
696caf1d
UW
21762013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2177 Alan Modra <amodra@gmail.com>
2178
2179 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2180 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2181 versions of macros to support ELFv2 ABI.
2182 (LOCALENTRY): New macro.
2183 (ENTRY, EALIGN): Use it.
2184 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2185 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2186 fall through into ENTRY entry point.
2187 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2188 Only define if _CALL_ELF != 2.
2189
2190 (elf_machine_matches_host): Verify ABI version matches.
2191 (RTLD_START): Use LOCALENTRY.
2192 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2193 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2194 (PLT_ENTRY_WORDS): New macro.
2195 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2196 (elf_machine_runtime_setup): Support ELFv2 ABI.
2197 (elf_machine_fixup_plt): Likewise.
2198 (elf_machine_plt_conflict): Likewise.
2199 (resolve_ifunc): Likewise.
2200 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2201 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2202 Likewise.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2204 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2206 (makecontext): Support ELFv2 ABI.
2207 * elf/elf.h (EF_PPC64_ABI): Define.
2208
d31beafa
UW
22092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2210
2211 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2212 New assembler macro.
2213 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2214 [ASSEMBLER] (ENTRY): ... but instead here ...
2215 [ASSEMBLER] (EALIGN): ... and here.
2216 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2217 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2218 [!ASSEMBLER] (ENTRY_2): Use it.
2219 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2220 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2221 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2222 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2223 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2225 Use PPC64_LOAD_FUNCPTR.
2226
b525166b
UW
22272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2228
2229 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2230
7ec07d9a
AM
22312013-12-04 Alan Modra <amodra@gmail.com>
2232
2233 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2234 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2235 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2236 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2237
2238 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2239 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2240 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2241 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2242 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2243 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2244
5162e7dd
UW
22452013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2246
2247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2248 (__makecontext): Fix incorrect CFI when backtracing out of
2249 context created via makecontext.
2250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2251 (__setcontext): Fix incorrect CFI during switch to new context.
2252 (__novec_setcontext): Likewise.
2253
19e3372b
OB
22542013-12-04 Ondřej Bílka <neleai@seznam.cz>
2255
2256 [BZ #4772]
2257 * time/strptime_l.c (__strptime_internal): Allow modifiers
2258 in strptime.
2259 * time/tst-strptime.c (day_tests): Add testcase.
2260
2261
ecaf142d
SP
22622013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2263
2264 * scripts/bench.pl: Skip over blank lines.
2265
fbf964ae
PE
22662013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2267
2268 [BZ #926]
2269 * manual/time.texi (Calendar Time): Clarify what timezone functions
2270 use.
2271
fa60a674
AZ
22722013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2273
2274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2275
d674f0ef
OB
22762013-12-04 Ondřej Bílka <neleai@seznam.cz>
2277
2278 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2279 implementation.
2280 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2281 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2282 * debug/memset_chk.c (__memset_chk): Likewise.
2283 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2284 * debug/strncpy_chk.c: Likewise.
2285
17dea188
JM
22862013-12-03 Joseph Myers <joseph@codesourcery.com>
2287
749008ff
JM
2288 [BZ #15268]
2289 [BZ #15425]
2290 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2291 (__ieee754_exp): For possibly underflowing results, check size of
2292 result and force underflow exception if required.
2293 * math/auto-libm-test-in: Add more tests of exp.
2294 * math/auto-libm-test-out: Regenerated.
2295 * sysdeps/i386/fpu/libm-test-ulps: Update.
2296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2297
17dea188
JM
2298 [BZ #16283]
2299 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2300 * math/w_exp2f.c (__exp2f): Likewise.
2301 * math/w_exp2l.c (__exp2l): Likewise.
2302 * math/auto-libm-test-in: Do not allow missing errno on exp2
2303 underflow.
2304 * math/auto-libm-test-out: Regenerated.
2305
b20de2c3
OB
23062013-12-03 Ondřej Bílka <neleai@seznam.cz>
2307
2308 [BZ #16274]
2309 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2310 handle filename validation.
2311 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2312 (do_open): Delete.
2313
d8e2dbe3
JM
23142013-12-03 Joseph Myers <joseph@codesourcery.com>
2315
34e16df5
JM
2316 [BZ #6786]
2317 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2318 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2319 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2320 <float.h>.
2321 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2322 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2323 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2325 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2326 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2327 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2328 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2329 Add more erfc tests.
2330 * math/auto-libm-test-out: Regenerated.
2331 * sysdeps/i386/fpu/libm-test-ulps: Update.
2332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2333
d8e2dbe3
JM
2334 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2335 exp2, expm1, j0 and j1.
2336 * math/auto-libm-test-out: Regenerated.
2337 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2338 (erfc_test_data): Likewise.
2339 (exp_test_data): Likewise.
2340 (exp_tonearest_test_data): Likewise.
2341 (exp_towardzero_test_data): Likewise.
2342 (exp_downward_test_data): Likewise.
2343 (exp_upward_test_data): Likewise.
2344 (exp10_test_data): Likewise.
2345 (exp2_test_data): Likewise.
2346 (expm1_test_data): Likewise.
2347 (j0_test_data): Likewise.
2348 (j1_test_data): Likewise.
2349 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2350 (input_flag_type): Add flag_xfail_rounding.
2351 (input_flags): Add xfail-rounding.
2352 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2353 (output_for_one_input_case): Handle flag_xfail_rounding.
2354 * sysdeps/i386/fpu/libm-test-ulps: Update.
2355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2356
18d14251
AJ
23572013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2358
3d2e6075 2359 [BZ #16289]
18d14251
AJ
2360 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2361 division by 0.
2362
520d437b
SP
23632013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2364
2365 [BZ #16195]
2366 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2367 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2368 (STAP_PROBE0): New macro.
2369 (STAP_PROBE1): Likewise.
2370 (STAP_PROBE2): Likewise.
2371 (STAP_PROBE3): Likewise.
2372 (STAP_PROBE4): Likewise.
2373
416e0145
OB
23742013-12-02 Ondřej Bílka <neleai@seznam.cz>
2375
2376 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2377
9d17796a
SE
23782013-12-02 Steve Ellcey <sellcey@mips.com>
2379
2380 * benchtests/Makefile (bench): Add sqrt.
2381 (LDLIBS-bench-sqrt): New.
2382 * benchtests/sqrt-input: New.
2383
f524d6a8
PS
23842013-12-02 Pavel Simerda <psimerda@redhat.com>
2385
639a0ef8
PS
2386 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2387 (GAIH_EAI): Likewise.
2388 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2389 (gaih_inet): Likewise.
2390 (getaddrinfo): Don't use GAIH_EAI.
2391
f524d6a8
PS
2392 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2393 (struct gaih): Remove definition.
2394
df3aedaf
SP
23952013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2396
2397 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2398 Use HERRNOP directly.
2399
1ab19dec
AZ
24002013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2401
b42ad38d 2402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2403
176b0c79
JM
24042013-11-30 Joseph Myers <joseph@codesourcery.com>
2405
2406 * math/gen-auto-libm-tests.c (test_functions): Add more
2407 single-argument functions.
2408 (special_fill_pi_2): New function.
2409 (special_fill_minus_pi_2): Likewise.
2410 (special_fill_pi_6): Likewise.
2411 (special_fill_minus_pi_6): Likewise.
2412 (special_fill_pi_3): Likewise.
2413 (special_fill_2pi_3): Likewise.
2414 (special_fill_e): Likewise.
2415 (special_fill_1_e): Likewise.
2416 (special_fill_e_minus_1): Likewise.
2417 (special_real_inputs): Add more special inputs.
2418 (output_for_one_input_case): Do not require ERANGE on underflow to
2419 zero if round-to-nearest result does not underflow to zero, unless
2420 exact results required.
2421 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2422 atan, atanh, cbrt, cos and cosh.
2423 * math/auto-libm-test-out: Regenerated.
2424 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2425 (acos_tonearest_test_data): Likewise.
2426 (acos_towardzero_test_data): Likewise.
2427 (acos_downward_test_data): Likewise.
2428 (acos_upward_test_data): Likewise.
2429 (acosh_test_data): Likewise.
2430 (asin_test_data): Likewise.
2431 (asin_tonearest_test_data): Likewise.
2432 (asin_towardzero_test_data): Likewise.
2433 (asin_upward_test_data): Likewise.
2434 (asinh_test_data): Likewise.
2435 (atan_test_data): Likewise.
2436 (atanh_test_data): Likewise.
2437 (cbrt_test_data): Likewise.
2438 (cos_test_data): Likewise.
2439 (cos_tonearest_test_data): Likewise.
2440 (cos_towardzero_test_data): Likewise.
2441 (cos_downward_test_data): Likewise.
2442 (cos_upward_test_data): Likewise.
2443 (cosh_test_data): Likewise.
2444 (cosh_tonearest_test_data): Likewise.
2445 (cosh_towardzero_test_data): Likewise.
2446 (cosh_downward_test_data): Likewise.
2447 (cosh_upward_test_data): Likewise.
2448 * sysdeps/i386/fpu/libm-test-ulps: Update.
2449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2450
ffb536d0
JM
24512013-11-29 Joseph Myers <joseph@codesourcery.com>
2452
2a77a467
JM
2453 [BZ #6787]
2454 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2455 * math/w_exp10f.c (__exp10f): Likewise.
2456 * math/w_exp10l.c (__exp10l): Likewise.
2457 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2458 errno settings in existing tests.
2459
ea3bc4e8
JM
2460 [BZ #14032]
2461 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2462 precision control set to double precision.
2463 * sysdeps/i386/fpu/w_sqrt.c: New file.
2464 * math/auto-libm-test-in: Add more tests.
2465 * math/auto-libm-test-out: Update.
2466
0712c9d8
JM
2467 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2468 (sqrt_test_tonearest): New function.
2469 (sqrt_towardzero_test_data): New variable.
2470 (sqrt_test_towardzero): New function.
2471 (sqrt_downward_test_data): New variable.
2472 (sqrt_test_downward): New function.
2473 (sqrt_upward_test_data): New variable.
2474 (sqrt_test_upward): New function.
2475 (main): Call the new functions.
2476
ffb536d0
JM
2477 * math/gen-auto-libm-tests.c: New file.
2478 * math/auto-libm-test-in: Likewise.
2479 * math/auto-libm-test-out: New generated file.
2480 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2481 variables.
2482 (%beautify): Add generated representations of zero.
2483 (top level): Set $auto_input and call parse_auto_input.
2484 (beautify): Remove trailing "f" from hex float constants.
2485 (parse_args): Handle XFAIL_TEST.
2486 (convert_condition): New function.
2487 (or_value): Likewise.
2488 (or_cond_value): Likewise.
2489 (generate_testfile): Handle AUTO_TESTS_* lines.
2490 (parse_auto_input): New function.
2491 * math/libm-test.inc (XFAIL_TEST): New macro.
2492 (ERRNO_UNCHANGED): Update value.
2493 (ERRNO_EDOM): Likewise.
2494 (ERRNO_ERANGE): Likewise.
2495 (IGNORE_RESULT): Likewise.
2496 (TEST_COND_flt_32): New macro.
2497 (TEST_COND_dbl_64): Likewise.
2498 (TEST_COND_ldbl_96_intel): Likewise.
2499 (TEST_COND_ldbl_96_m68k): Likewise.
2500 (TEST_COND_ldbl_128): Likewise.
2501 (TEST_COND_ldbl_128ibm): Likewise.
2502 (TEST_COND_long32): Likewise.
2503 (TEST_COND_long64): Likewise.
2504 (TEST_COND_before_rounding): Likewise.
2505 (TEST_COND_after_rounding): Likewise.
2506 (enable_test): Handle XFAIL_TEST flag.
2507 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2508 with finite results.
2509 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2510 auto-libm-test-out.
2511
acd98a8e
AK
25122013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2513 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2514
2515 [BZ #16214]
2516 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2517 __tls_get_addr_internal instead of __tls_get_offset in order to
2518 avoid GOT pointer dependency. Make rtld export
2519 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2520 __tls_get_addr since we are a __tls_get_offset platform.
2521 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2522 GOT pointer being set up before.
2523 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2524
3c1c46a6
JM
25252013-11-28 Joseph Myers <joseph@codesourcery.com>
2526
7475aef5
JM
2527 * manual/math.texi (Errors in Math Functions): Document accuracy
2528 goals.
2529
8bca7cd8
JM
2530 [BZ #15004]
2531 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2532 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2533 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2534 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2535 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2536 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2537 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2538 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2539 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2540 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2541 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2542 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2543 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2544 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2545 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2546 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2547
91a1f3fe
JM
2548 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2549 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2550 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2551 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2552 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2553 Likewise.
2554 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2555 Likewise.
2556 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2557 Likewise.
2558 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2559 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2560 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2561 atomic-feupdateenv and flt-rounds.
2562 * sysdeps/powerpc/nofpu/Versions (libc): Add
2563 __atomic_feholdexcept, __atomic_feclearexcept,
2564 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2565 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2566 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2567 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2568 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2569 here.
2570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2571 Update.
2572
c5df7609
JM
2573 * manual/arith.texi (FP Exceptions): Document that exceptions may
2574 not be raised when matherr is used.
2575 (Math Error Reporting): Document overflow in directed rounding
2576 modes. Document that errno may not be set when finite values are
2577 returned on overflow. Document intent to set errno on underflow
2578 only for underflow to zero.
2579
3c1c46a6
JM
2580 [BZ #16271]
2581 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2582 round-to-nearest then adjust result for other rounding modes.
2583 * include/fenv.h (fegetround): Use libm_hidden_proto.
2584 * math/fegetround.c (fegetround): Use libm_hidden_def.
2585 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2586 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2587 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2588 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2589 Likewise.
2590 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2591 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2592 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2593 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2594
5a4c6d53
SP
25952013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2596
2597 [BZ #16077]
2598 * nss/Versions (libnss_files): Add
2599 _nss_files_gethostbyname3_r.
2600 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2601 New function.
2602 (HOST_DB_LOOKUP): Remove macro.
2603 (_nss_files_gethostbyname_r): Implement function without the
2604 HOST_DB_LOOKUP macro.
2605 (_nss_files_gethostbyname2_r): Likewise.
2606
897b98ba
OB
26072013-11-28 Ondřej Bílka <neleai@seznam.cz>
2608
2609 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2610
6f476861
UB
26112013-11-26 Uros Bizjak <ubizjak@gmail.com>
2612
2613 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2614 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2615 warning.
2616
bd12ab55
AZ
26172013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2618
2619 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2620 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2621 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2622 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2623 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2624 __fe_nomask_env_priv and attribute_hidden.
2625 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2626 (libc_feupdateenv_test_ppc): Likewise.
2627 (libc_feresetround_ppc): Likewise.
2628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2629 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2630 compat_symbol macro.
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2632 (__fe_nomask_env): Likewise.
2633 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2634
52bb6543
OB
26352013-11-26 Ondřej Bílka <neleai@seznam.cz>
2636
2637 * string/Makefile: Remove ifunc tests.
2638 * string/test-string.h: Define TEST_IFUNC.
2639 * string/test-bcopy-ifunc.c: Remove.
2640 * string/test-bzero-ifunc.c: Likewise.
2641 * string/test-memccpy-ifunc.c: Likewise.
2642 * string/test-memchr-ifunc.c: Likewise.
2643 * string/test-memcmp-ifunc.c: Likewise.
2644 * string/test-memcpy-ifunc.c: Likewise.
2645 * string/test-memmem-ifunc.c: Likewise.
2646 * string/test-memmove-ifunc.c: Likewise.
2647 * string/test-mempcpy-ifunc.c: Likewise.
2648 * string/test-memrchr-ifunc.c: Likewise.
2649 * string/test-memset-ifunc.c: Likewise.
2650 * string/test-rawmemchr-ifunc.c: Likewise.
2651 * string/test-stpcpy-ifunc.c: Likewise.
2652 * string/test-stpncpy-ifunc.c: Likewise.
2653 * string/test-strcasecmp-ifunc.c: Likewise.
2654 * string/test-strcasestr-ifunc.c: Likewise.
2655 * string/test-strcat-ifunc.c: Likewise.
2656 * string/test-strchr-ifunc.c: Likewise.
2657 * string/test-strchrnul-ifunc.c: Likewise.
2658 * string/test-strcmp-ifunc.c: Likewise.
2659 * string/test-strcpy-ifunc.c: Likewise.
2660 * string/test-strcspn-ifunc.c: Likewise.
2661 * string/test-strlen-ifunc.c: Likewise.
2662 * string/test-strncasecmp-ifunc.c: Likewise.
2663 * string/test-strncat-ifunc.c: Likewise.
2664 * string/test-strncmp-ifunc.c: Likewise.
2665 * string/test-strncpy-ifunc.c: Likewise.
2666 * string/test-strnlen-ifunc.c: Likewise.
2667 * string/test-strpbrk-ifunc.c: Likewise.
2668 * string/test-strrchr-ifunc.c: Likewise.
2669 * string/test-strspn-ifunc.c: Likewise.
2670 * string/test-strstr-ifunc.c: Likewise.
2671
ab260039 26722013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2673
2674 * benchtests/Makefile: Remove ifunc tests.
2675 * benchtests/bench-string.h: Define TEST_IFUNC.
2676 * benchtests/bench-bcopy-ifunc.c: Remove.
2677 * benchtests/bench-bzero-ifunc.c: Likewise.
2678 * benchtests/bench-memccpy-ifunc.c: Likewise.
2679 * benchtests/bench-memchr-ifunc.c: Likewise.
2680 * benchtests/bench-memcmp-ifunc.c: Likewise.
2681 * benchtests/bench-memcpy-ifunc.c: Likewise.
2682 * benchtests/bench-memmem-ifunc.c: Likewise.
2683 * benchtests/bench-memmove-ifunc.c: Likewise.
2684 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2685 * benchtests/bench-memrchr-ifunc.c: Likewise.
2686 * benchtests/bench-memset-ifunc.c: Likewise.
2687 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2688 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2689 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2690 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2691 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2692 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2693 * benchtests/bench-strcat-ifunc.c: Likewise.
2694 * benchtests/bench-strchr-ifunc.c: Likewise.
2695 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2696 * benchtests/bench-strcmp-ifunc.c: Likewise.
2697 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2698 * benchtests/bench-strcpy-ifunc.c: Likewise.
2699 * benchtests/bench-strcspn-ifunc.c: Likewise.
2700 * benchtests/bench-strlen-ifunc.c: Likewise.
2701 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2702 * benchtests/bench-strncat-ifunc.c: Likewise.
2703 * benchtests/bench-strncmp-ifunc.c: Likewise.
2704 * benchtests/bench-strncpy-ifunc.c: Likewise.
2705 * benchtests/bench-strnlen-ifunc.c: Likewise.
2706 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2707 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2708 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2709 * benchtests/bench-strspn-ifunc.c: Likewise.
2710 * benchtests/bench-strstr-ifunc.c: Likewise.
2711
27122013-11-26 Ondřej Bílka <neleai@seznam.cz>
2713
ab260039
OB
2714 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2715
d1d9eaf4 27162013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2717
d1d9eaf4
OB
2718 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2719 * rt/aio.h: Likewise.
2720 * sysdeps/gnu/bits/utmp.h: Likewise.
2721 * sysdeps/gnu/bits/utmpx.h: Likewise.
2722 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2723 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2724 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2725 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2726 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2727 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2728 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2729 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2730 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2731 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2732 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2733 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2734 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2736 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2737 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2738 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2739 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2740 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2741 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2742 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2743 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2744 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2745 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2746 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2748 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2749 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2750 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2751 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2752 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2753 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2754 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2755 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2756 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2757 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2758 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2759 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2760 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2761 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2762 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2763 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2764
a7624ed9
CD
27652013-11-25 Carlos O'Donell <carlos@redhat.com>
2766
2767 [BZ #16245]
2768 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2769 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2770
63cfe52b
JM
27712013-11-25 Joseph Myers <joseph@codesourcery.com>
2772
2773 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2774 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2775 Likewise.
2776
41e8926a
AZ
27772013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2778
2779 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2780 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2781 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2782 (__fesetround): Remove define.
2783 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2784 rounding and exceptions handling.
2785 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2786 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2787 (__fe_nomask_env): Likewise.
2788 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2789 __fegetround instead of fegetround.
2790 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2791 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2792
6851bd4d
RM
27932013-11-21 Roland McGrath <roland@hack.frob.com>
2794
070906ff
RM
2795 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2796 it's there.
2797
6851bd4d
RM
2798 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2799
84ae135d
MI
28002013-11-21 Meador Inge <meadori@codesourcery.com>
2801
2802 [BZ #11157]
2803 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2804 (encrypt_r): Likewise.
2805 * malloc/obstack.h (obstack_free): Likewise.
2806 * posix/unistd.h (encrypt): Likewise.
2807
daf75146
GM
28082013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2809
2810 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2811 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2812 DL_CALL_DT_FINI() that call the functions directly.
2813 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2814 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2815 * elf/dl-fini.c: Likewise.
2816
10ad46bc
OB
28172013-11-20 Ondřej Bílka <neleai@seznam.cz>
2818
2819 * malloc/hooks.c (memalign_check): Add alignment rounding.
2820 * malloc/malloc.c (_mid_memalign): New function.
2821 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2822 Implement by calling _mid_memalign.
2823 * manual/probes.texi (Memory Allocation Probes): Remove
2824 memory_valloc_retry and memory_pvalloc_retry.
2825
f3fd2628
SP
28262013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2827
4712799f
SP
2828 * locale/programs/locarchive.c (open_archive): Add const
2829 qualifier to ARCHIVEFNAME and copy default fname to
2830 DEFAULT_FNAME.
2831
0417b20f
SP
2832 [BZ #15601]
2833 * libio/tst-widetext.input: Rename Oriya to Odia.
2834 * locale/iso-639.def: Likewise.
2835
f3fd2628
SP
2836 * manual/probes.texi (Mathematical Function Probes): Add
2837 documentation for sin, cos, asin and acos probes.
2838 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2839 (__sin32): Add slowasin probe.
2840 (__cos32): Add slowacos probe.
2841 (__mpsin): Add slowsin probe.
2842 (__mpcos): Add slowcos probe.
2843
73c1ce4f
JM
28442013-11-19 Joseph Myers <joseph@codesourcery.com>
2845
2846 [BZ #15483]
2847 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2848 thread-local __sim_exceptions_thread and global
2849 __sim_exceptions_global.
2850 (__sim_disabled_exceptions): Change to thread-local
2851 __sim_disabled_exceptions_thread and global
2852 __sim_disabled_exceptions_global.
2853 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2854 and global __sim_round_mode_global.
2855 (__simulate_exceptions): Use thread-local floating-point state and
2856 set global state from it as needed.
2857 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2858 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2859 __sim_round_mode_thread.
2860 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2861 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2862 and global __sim_exceptions_global.
2863 (__sim_disabled_exceptions): Change to thread-local
2864 __sim_disabled_exceptions_thread and global
2865 __sim_disabled_exceptions_global.
2866 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2867 and global __sim_round_mode_global.
2868 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2869 (SIM_SET_GLOBAL): Likewise.
2870 * sysdeps/powerpc/soft-fp/sfp-machine.h
2871 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2872 __sim_round_mode_thread.
2873 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2874 __sim_disabled_exceptions_thread.
2875 (__sim_exceptions): Change to __sim_exceptions_thread.
2876 (__sim_disabled_exceptions): Change to
2877 __sim_disabled_exceptions_thread.
2878 (__sim_round_mode): Change to __sim_round_mode_thread.
2879 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2880 thread-local floating-point state and set global state from it as
2881 needed.
2882 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2883 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2884 (__sim_disabled_exceptions): Remove extern declaration.
2885 (feenableexcept): Use thread-local floating-point state and set
2886 global state from it as needed.
2887 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2888 extern declaration.
2889 (__sim_disabled_exceptions): Likewise.
2890 (__sim_round_mode): Likewise.
2891 (__fegetenv): Use thread-local floating-point state.
2892 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2893 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2894 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2895 floating-point state and set global state from it as needed.
2896 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2897 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2898 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2899 Likewise.
2900 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2901 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2902 Likewise.
2903 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2904 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2905 Use __sim_round_mode_thread.
2906 * math/test-fenv-tls.c: New file.
2907 * math/Makefile (tests): Add test-fenv-tls.
2908 ($(objpfx)test-fenv-tls): Depend on
2909 $(common-objpfx)nptl/libpthread.so.
2910
b5449b12
AS
29112013-11-19 Andreas Schwab <schwab@suse.de>
2912
2913 * locale/programs/locale.c (show_info): Decode wordarray elements.
2914 * locale/categories.def (LC_MONETARY): Add element for
2915 _NL_MONETARY_CRNCYSTR.
2916 * locale/C-monetary.c (conversion_rate): New variable.
2917 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2918 element.
2919
e186536b
CM
29202013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2921
2922 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2923 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2924
5c349950
PP
29252013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2926
2927 * elf/Makefile (tst-auxv): New test.
2928 * elf/tst-auxv.c: New
2929 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2930
699df45b
JM
29312013-11-18 Joseph Myers <joseph@codesourcery.com>
2932
2933 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2934 (hidden_proto): Caller changed.
2935 (hidden_tls_proto): New macro.
2936 (libc_hidden_tls_proto): Likewise.
2937 (rtld_hidden_tls_proto): Likewise.
2938 (libm_hidden_tls_proto): Likewise.
2939 (libresolv_hidden_tls_proto): Likewise.
2940 (librt_hidden_tls_proto): Likewise.
2941 (libdl_hidden_tls_proto): Likewise.
2942 (libnss_files_hidden_tls_proto): Likewise.
2943 (libnsl_hidden_tls_proto): Likewise.
2944 (libnss_nisplus_hidden_tls_proto): Likewise.
2945 (libutil_hidden_tls_proto): Likewise.
2946
b7589107
OB
29472013-11-18 Ondřej Bílka <neleai@seznam.cz>
2948
2949 [BZ #10253]
2950 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2951 (decompose_rpath): Defer expansion to fillin_rpath.
2952 (_dl_init_paths): Pass linkmap to fillin_rpath.
2953
250c23bd
RS
29542013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2955
2956 * benchtests/Makefile: Add strsep.
2957 * benchtests/bench-strsep.c: New file: strsep benchtest.
2958 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2959
a7931fcf
AS
29602013-11-18 Andreas Schwab <schwab@suse.de>
2961
2962 * locale/programs/locale.c (show_info) [case byte]: Check for
2963 '\377' instead of '\177'.
2964 * locale/C-monetary.c (not_available): Always use "\377".
2965 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2966 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2967 detect unavailable sign_posn locale elements.
2968 * locale/localeconv.c (__localeconv): For grouping and
2969 mon_grouping handle "\177" and "\377" like no grouping.
2970 (INT_ELEM): New macro. Use it to set all numeric members.
2971 * locale/programs/ld-monetary.c (monetary_read)
2972 <tok_mon_grouping>: Normalize single -1 to the empty string.
2973 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2974 Likewise.
2975
728dab0e
OB
29762013-11-07 Ondřej Bílka <neleai@seznam.cz>
2977
2978 [BZ #16055]
2979 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2980 when we match (nil).
2981 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2982
66294491
JM
29832013-11-16 Joseph Myers <joseph@codesourcery.com>
2984
ce665817
JM
2985 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2986 (NO_TEST_INLINE): Update value.
2987 (ERRNO_UNCHANGED): Likewise.
2988 (ERRNO_EDOM): Likewise.
2989 (ERRNO_ERANGE): Likewise.
2990 (IGNORE_RESULT): Likewise.
2991 (check_float_internal): Check signs of NaN results if
2992 TEST_NAN_SIGN used.
2993 (check_complex): Pass TEST_NAN_SIGN flag through to second
2994 check_float_internal call.
2995 (copysign_test_data): Add tests with quiet NaNs as second
2996 argument. Use TEST_NAN_SIGN.
2997 (fabs_test_data): Add test of negative quiet NaN argument. Use
2998 TEST_NAN_SIGN.
2999 (signbit_test_data): Add tests of quiet NaN argument.
3000 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3001
ee1466a9
JM
3002 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3003 $ignore_result.
3004 (parse_args): Handle function results specified as IGNORE.
3005 * math/libm-test.inc (IGNORE_RESULT): New macro.
3006 (check_float_internal): Do not check numerical result if flag
3007 IGNORE_RESULT set.
3008 (check_complex): Pass through IGNORE_RESULT to second
3009 check_float_internal call.
3010 (check_int): Do not check numerical result if flag IGNORE_RESULT
3011 set.
3012 (check_long): Likewise.
3013 (check_bool): Likewise.
3014 (check_longlong): Likewise.
3015 (lrint_test_data): Add tests of infinite and NaN arguments.
3016 (lrint_tonearest_test_data): Likewise.
3017 (lrint_towardzero_test_data): Likewise.
3018 (lrint_downward_test_data): Likewise.
3019 (lrint_upward_test_data): Likewise.
3020 (llrint_test_data): Likewise.
3021 (llrint_tonearest_test_data): Likewise.
3022 (llrint_towardzero_test_data): Likewise.
3023 (llrint_downward_test_data): Likewise.
3024 (llrint_upward_test_data): Likewise.
3025 (lround_test_data): Likewise.
3026 (llround_test_data): Likewise.
3027
14407b7e
JM
3028 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3029 (ERRNO_UNCHANGED): Update value.
3030 (ERRNO_EDOM): Likewise.
3031 (ERRNO_ERANGE): Likewise.
3032 (NO_TEST_INLINE_FLOAT): New macro.
3033 (NO_TEST_INLINE_DOUBLE): Likewise.
3034 (enable_test): New function.
3035 (RUN_TEST_f_f): Check enable_test before running test.
3036 (RUN_TEST_2_f): Likewise.
3037 (RUN_TEST_fff_f): Likewise.
3038 (RUN_TEST_c_f): Likewise.
3039 (RUN_TEST_f_f1): Likewise.
3040 (RUN_TEST_fF_f1): Likewise.
3041 (RUN_TEST_fI_f1): Likewise.
3042 (RUN_TEST_ffI_f1): Likewise.
3043 (RUN_TEST_c_c): Likewise.
3044 (RUN_TEST_cc_c): Likewise.
3045 (RUN_TEST_f_i): Likewise.
3046 (RUN_TEST_f_i_tg): Likewise.
3047 (RUN_TEST_ff_i_tg): Likewise.
3048 (RUN_TEST_f_b): Likewise.
3049 (RUN_TEST_f_b_tg): Likewise.
3050 (RUN_TEST_f_l): Likewise.
3051 (RUN_TEST_f_L): Likewise.
3052 (RUN_TEST_fFF_11): Likewise.
3053 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3054 conditionals.
3055 (cosh_test_data): Likewise.
3056 (exp_test_data): Likewise.
3057 (expm1_test_data): Likewise.
3058 (hypot_test_data): Likewise.
3059 (pow_test_data): Likewise.
3060 (sinh_test_data): Likewise.
3061 (tanh_test_data): Likewise.
3062 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3063 flags argument.
3064
ca07f197
JM
3065 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3066 tests with quiet NaN input and output.
3067 (acosh_test_data): Likewise.
3068 (asin_test_data): Likewise.
3069 (asinh_test_data): Likewise.
3070 (atan_test_data): Likewise.
3071 (atanh_test_data): Likewise.
3072 (atan2_test_data): Likewise.
3073 (cbrt_test_data): Likewise.
3074 (cos_test_data): Likewise.
3075 (cosh_test_data): Likewise.
3076 (erf_test_data): Likewise.
3077 (erfc_test_data): Likewise.
3078 (exp_test_data): Likewise.
3079 (exp10_test_data): Likewise.
3080 (exp2_test_data): Likewise.
3081 (expm1_test_data): Likewise.
3082 (hypot_test_data): Likewise.
3083 (j0_test_data): Likewise.
3084 (j1_test_data): Likewise.
3085 (jn_test_data): Likewise.
3086 (lgamma_test_data): Likewise.
3087 (log_test_data): Likewise.
3088 (log10_test_data): Likewise.
3089 (log1p_test_data): Likewise.
3090 (log2_test_data): Likewise.
3091 (pow_test_data): Likewise.
3092 (scalb_test_data): Likewise.
3093 (sin_test_data): Likewise.
3094 (sincos_test_data): Likewise.
3095 (sinh_test_data): Likewise.
3096 (tan_test_data): Likewise.
3097 (tanh_test_data): Likewise.
3098 (tgamma_test_data): Likewise.
3099 (y0_test_data): Likewise.
3100 (y1_test_data): Likewise.
3101 (yn_test_data): Likewise.
3102
66294491
JM
3103 [BZ #16167]
3104 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3105 argument being NaN and avoid computations with second argument in
3106 that case.
3107 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3108 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3109 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3110
1820b143
CL
31112013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3112
3113 * locale/iso-639.def: Add Chitwani Tharu (the).
3114
714bd261
AS
31152013-11-14 Andreas Schwab <schwab@suse.de>
3116
3117 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3118 word instead of empty string.
3119
7ab44563
AZ
31202013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3121
3122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3123 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3125 (__fe_nomask_env): Likewise.
3126
e8470ea2
SE
31272013-11-13 Steve Ellcey <sellcey@mips.com>
3128
3129 * benchtests/bench-timing.h: Include time.h.
3130
17c1d9f0
L
31312013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3132
3133 [BZ #15997]
3134 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3135 to 3.4.0 for x32.
3136 * sysdeps/unix/sysv/linux/configure: Regenerated.
3137
9310c284
JM
31382013-11-13 Joseph Myers <joseph@codesourcery.com>
3139
3140 [BZ #16151]
3141 * stdlib/strtod_l.c (round_and_return): Do not consider
3142 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3143 exponent one less than half the least subnormal exponent.
3144 * stdlib/test-strtod-round-data: Add more tests.
3145 * stdlib/tst-strtod-round.c (tests): Regenerated.
3146
7a2ad8cf
AZ
31472013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3148
3149 [BZ #14143]
3150 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3151 (__fe_mask_env): Likewise.
3152 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3153 libm_hidden_proto and add function prototype.
3154 (__fe_mask_env): Add function prototype.
3155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3156 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3158 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3160 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3161
50727aa7
MS
31622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3163
b2f386c1 3164 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3165 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3166
a615be46
MS
31672013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3168
3169 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3170 of htab_find_slot().
3171
7ddace62
DM
31722013-11-11 David S. Miller <davem@davemloft.net>
3173
3174 [BZ #16150]
3175 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3176 symbol in the non-vis3 case in static builds.
3177 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3178 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3179 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3180 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3181
9182aa67
JK
31822013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3183
3184 [BZ #387]
3185 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3186 it is empty.
3187
450a2e2d
AZ
31882013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3189
b2f386c1
SP
3190 * benchtests/Makefile: Add bench-strtod.
3191 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3192
8ec3f656
AS
31932013-11-11 Andreas Schwab <schwab@suse.de>
3194
3195 [BZ #16153]
3196 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3197 terminating NUL in key length.
3198
76a9b998
AZ
31992013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3200
3201 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3202 Add artificial ODP entry for vDSO symbol for PPC64.
3203 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3204 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3205
e4368156
OB
32062013-11-07 Ondřej Bílka <neleai@seznam.cz>
3207
3208 [BZ #15374]
3209 * nss/getent.c (services_keys): Recognize services starting with digit.
3210
8d6bb57c
DM
32112013-11-06 David S. Miller <davem@davemloft.net>
3212
3213 [BZ #15985]
3214 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3215 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3216
e256c421
WN
32172013-11-06 Will Newton <will.newton@linaro.org>
3218
3219 * manual/memory.texi (Malloc Examples): Remove register
3220 keyword from examples.
3221
f6e12daa 32222013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3223
f6e12daa 3224 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3225
9d880655
AS
32262013-11-04 Joseph Myers <joseph@codesourcery.com>
3227
3228 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3229 depending on [__GCC_IEC_559 > 0].
3230 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3231 depending on [__GCC_IEC_559_COMPLEX > 0].
3232
ae129d3c
CL
32332013-11-03 Chris Leonard <cjl@sugarlabs.org>
3234
3235 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3236 to iso-639.def.
3237
4a15c2a4 32382013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3239
3240 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3241
8b35e35d
OB
32422013-11-01 Ondřej Bílka <neleai@seznam.cz>
3243
3244 [BZ #16112]
3245 * malloc/malloc (malloc_info): Do not handle first bin as
3246 special case.
3247
1d70fd6c
CL
32482013-11-01 Chris Leonard <cjl@sugarlabs.org>
3249
3250 * locale/iso-639.def: Add Central Nahuatl (nhn).
3251
8c5c2600
BH
32522013-11-01 Bruno Haible <bruno@clisp.org>
3253
3254 [BZ #7003]
3255 * manual/math.texi (BSD Random): Specify range upper bound as
3256 in POSIX.
3257
da5579c2
CL
32582013-10-31 Chris Leonard <cjl@sugarlabs.org>
3259
3260 * locale/iso-639.def: Add Meadow Mari (mhr).
3261
5d30d853
OB
32622013-10-31 Ondřej Bílka <neleai@seznam.cz>
3263
3264 [BZ #14752], [BZ #15763]
3265 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3266 Validate name.
3267 * rt/tst_shm.c: Add test for escaping directory.
3268
a4966c61
AS
32692013-10-31 Andreas Schwab <schwab@suse.de>
3270
8a43e768 3271 [BZ #15917]
a4966c61
AS
3272 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3273 followed by 'x' as part of digit sequence.
3274 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3275
28d708c4
MAP
32762013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3277
3278 [BZ #16037]
3279 * configure.ac: allow GNU Make 4.0 and greater.
3280 * configure: Regenerated.
3281
a56ee40b
WN
32822013-10-30 Will Newton <will.newton@linaro.org>
3283
3284 [BZ #16038]
3285 * malloc/hooks.c (memalign_check): Limit alignment to the
3286 maximum representable power of two.
3287 * malloc/malloc.c (__libc_memalign): Likewise.
3288 * malloc/tst-memalign.c (do_test): Add test for very
3289 large alignment values.
3290 * malloc/tst-posix_memalign.c (do_test): Likewise.
3291
c6e4925d
OB
32922013-10-30 Ondřej Bílka <neleai@seznam.cz>
3293
3294 [BZ #11087]
3295 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3296 (munmap_chunk): Likewise.
3297 (mremap_chunk): Likewise.
3298
32992013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3300
8a43e768 3301 [BZ #15799]
bbea82f7
OB
3302 * stdlib/div.c (div): Remove obsolete code.
3303 * stdlib/ldiv.c (ldiv): Likewise.
3304 * stdlib/lldiv.c (lldiv): Likewise.
3305
977f4b31
SP
33062013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3307
3308 [BZ #16071]
3309 * nss/nss_files/files-XXX.c (get_contents_ret): New
3310 enumerator.
3311 (get_contents): New function.
3312 (internal_getent): Use it. Expand size of LINEBUFLEN.
3313
cb8a6dbd
MF
33142013-10-30 Mike Frysinger <vapier@gentoo.org>
3315
3316 * configure.in: Moved to ...
3317 * configure.ac: ... here. Change reference to configure.in
3318 to configure.ac.
3319 * sysdeps/arm/preconfigure.ac: ... here.
3320 configure.in to configure.ac.
3321 * sysdeps/gnu/configure.in: Moved to ...
3322 * sysdeps/gnu/configure.ac: ... here.
3323 * sysdeps/i386/configure.in: Moved to ...
3324 * sysdeps/i386/configure.ac: ... here.
3325 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3326 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3327 * sysdeps/mach/configure.in: Moved to ...
3328 * sysdeps/mach/configure.ac: ... here.
3329 * sysdeps/mach/hurd/configure.in: Moved to ...
3330 * sysdeps/mach/hurd/configure.ac: ... here.
3331 * sysdeps/powerpc/configure.in: Moved to ...
3332 * sysdeps/powerpc/configure.ac: ... here.
3333 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3334 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3335 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3336 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3337 * sysdeps/s390/s390-32/configure.in: Moved to ...
3338 * sysdeps/s390/s390-32/configure.ac: ... here.
3339 * sysdeps/s390/s390-64/configure.in: Moved to ...
3340 * sysdeps/s390/s390-64/configure.ac: ... here.
3341 * sysdeps/sh/configure.in: Moved to ...
3342 * sysdeps/sh/configure.ac: ... here.
3343 * sysdeps/sparc/configure.in: Moved to ...
3344 * sysdeps/sparc/configure.ac: ... here.
3345 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3346 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3347 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3348 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3349 * sysdeps/x86_64/configure.in: Moved to ...
3350 * sysdeps/x86_64/configure.ac: ... here.
3351 * sysdeps/x86_64/preconfigure.in: Moved to ...
3352 * sysdeps/x86_64/preconfigure.ac: ... here.
3353 * aclocal.m4: Change reference to configure.in to configure.ac.
3354 * config.h.in: Likewise.
3355 * manual/install.texi: Likewise.
3356 * manual/maint.texi: Likewise.
3357 * Makefile: Likewise.
3358 * malloc/Makefile: Likewise.
3359 * nscd/Makefile: Likewise.
3360 * Makeconfig: Change reference to configure.in and
3361 preconfigure.in to configure.ac and preconfigure.ac
3362 respectively.
3363 * INSTALL: Regenerated.
3364 * configure: Likewise.
3365 * sysdeps/gnu/configure: Likewise.
3366 * sysdeps/i386/configure: Likewise.
3367 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3368 * sysdeps/mach/configure: Likewise.
3369 * sysdeps/mach/hurd/configure: Likewise.
3370 * sysdeps/powerpc/configure: Likewise.
3371 * sysdeps/powerpc/powerpc32/configure: Likewise.
3372 * sysdeps/powerpc/powerpc64/configure: Likewise.
3373 * sysdeps/s390/s390-32/configure: Likewise.
3374 * sysdeps/s390/s390-64/configure: Likewise.
3375 * sysdeps/sh/configure: Likewise.
3376 * sysdeps/sparc/configure: Likewise.
3377 * sysdeps/unix/sysv/linux/configure: Likewise.
3378 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3379 * sysdeps/x86_64/configure: Likewise.
3380 * sysdeps/x86_64/preconfigure: Likewise.
3381
36a4953a
AS
33822013-10-29 Andreas Schwab <schwab@suse.de>
3383
3384 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3385
c79a1204
SP
33862013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3387
dfa1b402
SP
3388 * benchtests/pow-inputs: Add new inputs.
3389
54f73d9c
SP
3390 * benchtests/exp-inputs: Add new inputs.
3391
c79a1204
SP
3392 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3393 conditional check for return value.
3394 (__cos32): Likewise.
3395
67beb545 33962013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3397
3398 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3399 to provide a boost for large inputs with word alignment.
3400 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3401 implementation based on optimized PPC64 strcpy.
3402 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3403 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3404 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3405 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3406
151659f6
OB
34072013-10-25 Ondřej Bílka <neleai@seznam.cz>
3408
482a077e 3409 [BZ #2801]
151659f6
OB
3410 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3411
10b0f26b
OB
34122013-10-25 Ondřej Bílka <neleai@seznam.cz>
3413
3414 [BZ #14876]
3415 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3416 * time/tst-strptime.c (day_tests): Add testcase.
3417
ca42d35e
OB
34182013-10-25 Ondřej Bílka <neleai@seznam.cz>
3419
482a077e 3420 [BZ #14029]
ca42d35e
OB
3421 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3422
52e6d801
FB
34232013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3424
3425 [BZ #16074]
3426 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3427 MAP_FAILED on error.
3428
7cbcdb36
SP
34292013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3430
3431 [BZ #16072]
3432 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3433 heap for large requests.
3434
894f3f10
AM
34352013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3436
3437 [BZ #9954]
3438 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3439 result if the result has no associated interface.
3440 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3441 interface for all 127.X.Y.Z addresses.
3442
b85545a6
CL
34432013-10-24 Chris Leonard <cjl@sugarlabs.org>
3444
3445 * locale/iso-639.def: Add Ligurian (lij)
3446
d1f23d46
OB
34472013-10-21 Ondřej Bílka <neleai@seznam.cz>
3448
3449 [BZ #15825]
3450 * sunrpc/rpc_main.c: Document rpcgen -5.
3451
4db5b08f
MS
34522013-10-19 Michael Stahl <mstahl@redhat.com>
3453
3454 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3455
a471e96a
OB
34562013-10-19 Ondřej Bílka <neleai@seznam.cz>
3457
d1f23d46 3458 [BZ #10278]
a471e96a
OB
3459 * posix/glob.c: Match only directories when trailing slash is present.
3460 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3461 (main): Add testcase.
3462
45c30c61
OB
34632013-10-19 Ondřej Bílka <neleai@seznam.cz>
3464
3465 [BZ #15670]
3466 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3467
484c12fb
CD
34682013-10-18 Carlos O'Donell <carlos@redhat.com>
3469
3d7dc513
CD
3470 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3471 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3472 AUTH_DES and cindex for FIPS 140-2.
3473 (DES Encryption): Add cindex FIPS 46-3.
3474
484c12fb
CD
3475 * locale/locarchive.h (struct locarhandle): Add fname.
3476 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3477 if an optional argument was specified to --list-archive,
3478 otherwise NULL.
3479 * locale/programs/locarchive.c (show_archive_content): Take new
3480 argument fname and pass it via ah.fname to open_archive.
3481 * locale/programs/localedef.h: Update decl.
3482 (open_archive): If AH->fname is non-null, open that file
3483 rather than the default file name, and don't ignore ENOENT.
3484 (create_archive): Set AH.fname to NULL.
3485 (delete_locales_from_archive): Likewise.
3486 (add_locales_to_archive): Likewise.
3487 * locale/programs/locfile.c (write_all_categories): Likewise.
3488
3c8325fb
JM
34892013-10-18 Joseph Myers <joseph@codesourcery.com>
3490 Aldy Hernandez <aldyh@redhat.com>
3491
3492 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3493 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3494 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3495 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3496 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3497 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3498 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3499 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3500 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3501 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3502 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3503 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3504 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3505 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3506 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3507 Likewise.
3508 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3509 Likewise.
3510 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3511 Likewise.
3512 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3513 Likewise.
3514 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3515 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3516 Likewise.
3517 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3518 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3519 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3520 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3521 Likewise.
3522 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3523 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3524 * sysdeps/powerpc/preconfigure: Likewise.
3525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3526 Likewise.
3527 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3528 Replace contents of file by #include of <fenv_libc.h>.
3529 * sysdeps/powerpc/soft-fp/sfp-machine.h
3530 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3531 and <sys/prctl.h>.
3532 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3533 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3534 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3535 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3536 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3537 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3539 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3540 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3541 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3542 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3543 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3545 Allow copysignl PLT reference to be missing.
3546
5abe0682
RS
35472013-10-18 Richard Sandiford <richard@codesourcery.com>
3548 Joseph Myers <joseph@codesourcery.com
3549
3550 [BZ #15948]
3551 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3552 single character.
3553 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3554
c7738d08
SP
35552013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3556
3557 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3558 * elf/tst-tls1.c: Likewise.
3559 * elf/tst-tls10.h: Likewise.
3560 * elf/tst-tls14.c: Likewise.
3561 * elf/tst-tls2.c: Likewise.
3562 * elf/tst-tls3.c: Likewise.
3563 * elf/tst-tls4.c: Likewise.
3564 * elf/tst-tls5.c: Likewise.
3565 * elf/tst-tls6.c: Likewise.
3566 * elf/tst-tls7.c: Likewise.
3567 * elf/tst-tls8.c: Likewise.
3568 * elf/tst-tls9.c: Likewise.
3569 * elf/tst-tlsmod1.c: Likewise.
3570 * elf/tst-tlsmod13.c: Likewise.
3571 * elf/tst-tlsmod13a.c: Likewise.
3572 * elf/tst-tlsmod14a.c: Likewise.
3573 * elf/tst-tlsmod16a.c: Likewise.
3574 * elf/tst-tlsmod16b.c: Likewise.
3575 * elf/tst-tlsmod2.c: Likewise.
3576 * elf/tst-tlsmod3.c: Likewise.
3577 * elf/tst-tlsmod4.c: Likewise.
3578 * elf/tst-tlsmod5.c: Likewise.
3579 * elf/tst-tlsmod6.c: Likewise.
3580
0bfcf2c7
OB
35812013-10-18 Ondřej Bílka <neleai@seznam.cz>
3582
3583 [BZ #12486]
3584 * malloc/malloc.c: remove checks for statistics.
3585
264aad1e
OB
35862013-10-17 Ondřej Bílka <neleai@seznam.cz>
3587
3588 [BZ #15277]
3589 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3590 * inet/tst-network.c: Add testcase.
3591
b957ced8
AS
35922013-10-17 Andreas Schwab <schwab@suse.de>
3593
3594 [BZ #15218]
3595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3596 to determine canonical name.
3597
c5d5d574
OB
35982013-10-17 Ondřej Bílka <neleai@seznam.cz>
3599
3600 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3601 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3602 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3603 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3605 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3606 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3607 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3608 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3609 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3610 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3611 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3612 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3613 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3614 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3615 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3617 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3618 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3624 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3625 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3627 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3628 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3629 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3630 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3631 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3632 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3633 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3635 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3638 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3639 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3640 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3641 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3642 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3643 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3644 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3645 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3646 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3647 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3648 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3649 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3650 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3651 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3652 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3653 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3654 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3655 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3657 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3658
e5c2c2d0
JM
36592013-10-17 Joseph Myers <joseph@codesourcery.com>
3660
3661 [BZ #16041]
3662 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3663 make result into a quiet NaN.
3664
51ca9e29
JM
36652013-10-16 Joseph Myers <joseph@codesourcery.com>
3666
3667 * soft-fp/adddf3.c: Fix horizontal whitespace.
3668 * soft-fp/addsf3.c: Likewise.
3669 * soft-fp/addtf3.c: Likewise.
3670 * soft-fp/divdf3.c: Likewise.
3671 * soft-fp/divsf3.c: Likewise.
3672 * soft-fp/divtf3.c: Likewise.
3673 * soft-fp/double.h: Likewise.
3674 * soft-fp/eqdf2.c: Likewise.
3675 * soft-fp/eqsf2.c: Likewise.
3676 * soft-fp/eqtf2.c: Likewise.
3677 * soft-fp/extenddftf2.c: Likewise.
3678 * soft-fp/extended.h: Likewise.
3679 * soft-fp/extendsfdf2.c: Likewise.
3680 * soft-fp/extendsftf2.c: Likewise.
3681 * soft-fp/extendxftf2.c: Likewise.
3682 * soft-fp/fixdfdi.c: Likewise.
3683 * soft-fp/fixdfsi.c: Likewise.
3684 * soft-fp/fixdfti.c: Likewise.
3685 * soft-fp/fixsfdi.c: Likewise.
3686 * soft-fp/fixsfsi.c: Likewise.
3687 * soft-fp/fixsfti.c: Likewise.
3688 * soft-fp/fixtfdi.c: Likewise.
3689 * soft-fp/fixtfsi.c: Likewise.
3690 * soft-fp/fixtfti.c: Likewise.
3691 * soft-fp/fixunsdfdi.c: Likewise.
3692 * soft-fp/fixunsdfsi.c: Likewise.
3693 * soft-fp/fixunsdfti.c: Likewise.
3694 * soft-fp/fixunssfdi.c: Likewise.
3695 * soft-fp/fixunssfsi.c: Likewise.
3696 * soft-fp/fixunssfti.c: Likewise.
3697 * soft-fp/fixunstfdi.c: Likewise.
3698 * soft-fp/fixunstfsi.c: Likewise.
3699 * soft-fp/fixunstfti.c: Likewise.
3700 * soft-fp/floatdidf.c: Likewise.
3701 * soft-fp/floatdisf.c: Likewise.
3702 * soft-fp/floatditf.c: Likewise.
3703 * soft-fp/floatsidf.c: Likewise.
3704 * soft-fp/floatsisf.c: Likewise.
3705 * soft-fp/floatsitf.c: Likewise.
3706 * soft-fp/floattidf.c: Likewise.
3707 * soft-fp/floattisf.c: Likewise.
3708 * soft-fp/floattitf.c: Likewise.
3709 * soft-fp/floatundidf.c: Likewise.
3710 * soft-fp/floatundisf.c: Likewise.
3711 * soft-fp/floatunditf.c: Likewise.
3712 * soft-fp/floatunsidf.c: Likewise.
3713 * soft-fp/floatunsisf.c: Likewise.
3714 * soft-fp/floatunsitf.c: Likewise.
3715 * soft-fp/floatuntidf.c: Likewise.
3716 * soft-fp/floatuntisf.c: Likewise.
3717 * soft-fp/floatuntitf.c: Likewise.
3718 * soft-fp/fmadf4.c: Likewise.
3719 * soft-fp/fmasf4.c: Likewise.
3720 * soft-fp/fmatf4.c: Likewise.
3721 * soft-fp/gedf2.c: Likewise.
3722 * soft-fp/gesf2.c: Likewise.
3723 * soft-fp/getf2.c: Likewise.
3724 * soft-fp/ledf2.c: Likewise.
3725 * soft-fp/lesf2.c: Likewise.
3726 * soft-fp/letf2.c: Likewise.
3727 * soft-fp/muldf3.c: Likewise.
3728 * soft-fp/mulsf3.c: Likewise.
3729 * soft-fp/multf3.c: Likewise.
3730 * soft-fp/negdf2.c: Likewise.
3731 * soft-fp/negsf2.c: Likewise.
3732 * soft-fp/negtf2.c: Likewise.
3733 * soft-fp/op-1.h: Likewise.
3734 * soft-fp/op-2.h: Likewise.
3735 * soft-fp/op-4.h: Likewise.
3736 * soft-fp/op-8.h: Likewise.
3737 * soft-fp/op-common.h: Likewise.
3738 * soft-fp/quad.h: Likewise.
3739 * soft-fp/single.h: Likewise.
3740 * soft-fp/soft-fp.h: Likewise.
3741 * soft-fp/sqrtdf2.c: Likewise.
3742 * soft-fp/sqrtsf2.c: Likewise.
3743 * soft-fp/sqrttf2.c: Likewise.
3744 * soft-fp/subdf3.c: Likewise.
3745 * soft-fp/subsf3.c: Likewise.
3746 * soft-fp/subtf3.c: Likewise.
3747 * soft-fp/truncdfsf2.c: Likewise.
3748 * soft-fp/trunctfdf2.c: Likewise.
3749 * soft-fp/trunctfsf2.c: Likewise.
3750 * soft-fp/trunctfxf2.c: Likewise.
3751 * soft-fp/unorddf2.c: Likewise.
3752 * soft-fp/unordsf2.c: Likewise.
3753 * soft-fp/unordtf2.c: Likewise.
3754
9ebb0332
JM
37552013-10-15 Joseph Myers <joseph@codesourcery.com>
3756
3757 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3758 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3759
4b1a6d8b
OB
37602013-10-15 Ondřej Bílka <neleai@seznam.cz>
3761
3762 * elf/dl-libc.c: Clear initfini list after freeing.
3763
1e145589
JM
37642013-10-14 Joseph Myers <joseph@codesourcery.com>
3765
3766 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3767 * soft-fp/addsf3.c: Likewise.
3768 * soft-fp/addtf3.c: Likewise.
3769 * soft-fp/divdf3.c: Likewise.
3770 * soft-fp/divsf3.c: Likewise.
3771 * soft-fp/divtf3.c: Likewise.
3772 * soft-fp/double.h: Likewise.
3773 * soft-fp/eqdf2.c: Likewise.
3774 * soft-fp/eqsf2.c: Likewise.
3775 * soft-fp/eqtf2.c: Likewise.
3776 * soft-fp/extenddftf2.c: Likewise.
3777 * soft-fp/extended.h: Likewise.
3778 * soft-fp/extendsfdf2.c: Likewise.
3779 * soft-fp/extendsftf2.c: Likewise.
3780 * soft-fp/extendxftf2.c: Likewise.
3781 * soft-fp/fixdfdi.c: Likewise.
3782 * soft-fp/fixdfsi.c: Likewise.
3783 * soft-fp/fixdfti.c: Likewise.
3784 * soft-fp/fixsfdi.c: Likewise.
3785 * soft-fp/fixsfsi.c: Likewise.
3786 * soft-fp/fixsfti.c: Likewise.
3787 * soft-fp/fixtfdi.c: Likewise.
3788 * soft-fp/fixtfsi.c: Likewise.
3789 * soft-fp/fixtfti.c: Likewise.
3790 * soft-fp/fixunsdfdi.c: Likewise.
3791 * soft-fp/fixunsdfsi.c: Likewise.
3792 * soft-fp/fixunsdfti.c: Likewise.
3793 * soft-fp/fixunssfdi.c: Likewise.
3794 * soft-fp/fixunssfsi.c: Likewise.
3795 * soft-fp/fixunssfti.c: Likewise.
3796 * soft-fp/fixunstfdi.c: Likewise.
3797 * soft-fp/fixunstfsi.c: Likewise.
3798 * soft-fp/fixunstfti.c: Likewise.
3799 * soft-fp/floatdidf.c: Likewise.
3800 * soft-fp/floatdisf.c: Likewise.
3801 * soft-fp/floatditf.c: Likewise.
3802 * soft-fp/floatsidf.c: Likewise.
3803 * soft-fp/floatsisf.c: Likewise.
3804 * soft-fp/floatsitf.c: Likewise.
3805 * soft-fp/floattidf.c: Likewise.
3806 * soft-fp/floattisf.c: Likewise.
3807 * soft-fp/floattitf.c: Likewise.
3808 * soft-fp/floatundidf.c: Likewise.
3809 * soft-fp/floatundisf.c: Likewise.
3810 * soft-fp/floatunsidf.c: Likewise.
3811 * soft-fp/floatunsisf.c: Likewise.
3812 * soft-fp/floatuntidf.c: Likewise.
3813 * soft-fp/floatuntisf.c: Likewise.
3814 * soft-fp/floatuntitf.c: Likewise.
3815 * soft-fp/fmadf4.c: Likewise.
3816 * soft-fp/fmasf4.c: Likewise.
3817 * soft-fp/fmatf4.c: Likewise.
3818 * soft-fp/gedf2.c: Likewise.
3819 * soft-fp/gesf2.c: Likewise.
3820 * soft-fp/getf2.c: Likewise.
3821 * soft-fp/ledf2.c: Likewise.
3822 * soft-fp/lesf2.c: Likewise.
3823 * soft-fp/letf2.c: Likewise.
3824 * soft-fp/muldf3.c: Likewise.
3825 * soft-fp/mulsf3.c: Likewise.
3826 * soft-fp/multf3.c: Likewise.
3827 * soft-fp/negdf2.c: Likewise.
3828 * soft-fp/negsf2.c: Likewise.
3829 * soft-fp/negtf2.c: Likewise.
3830 * soft-fp/op-1.h: Likewise.
3831 * soft-fp/op-2.h: Likewise.
3832 * soft-fp/op-4.h: Likewise.
3833 * soft-fp/op-8.h: Likewise.
3834 * soft-fp/op-common.h: Likewise.
3835 * soft-fp/quad.h: Likewise.
3836 * soft-fp/single.h: Likewise.
3837 * soft-fp/soft-fp.h: Likewise.
3838 * soft-fp/sqrtdf2.c: Likewise.
3839 * soft-fp/sqrtsf2.c: Likewise.
3840 * soft-fp/sqrttf2.c: Likewise.
3841 * soft-fp/subdf3.c: Likewise.
3842 * soft-fp/subsf3.c: Likewise.
3843 * soft-fp/subtf3.c: Likewise.
3844 * soft-fp/truncdfsf2.c: Likewise.
3845 * soft-fp/trunctfdf2.c: Likewise.
3846 * soft-fp/trunctfsf2.c: Likewise.
3847 * soft-fp/trunctfxf2.c: Likewise.
3848 * soft-fp/unorddf2.c: Likewise.
3849 * soft-fp/unordsf2.c: Likewise.
3850 * soft-fp/unordtf2.c: Likewise.
3851
17c48a60
OB
38522013-10-14 Ondřej Bílka <neleai@seznam.cz>
3853
3854 [BZ #15672]
3855 * misc/error.c (error_tail): Fix possible buffer overflow.
3856
cabba934
OB
38572013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3858
3859 [BZ #13028]
3860 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3861 address.
3862
94bf958a
PM
38632013-10-14 P. J. McDermott <pj@pehjota.net>
3864
3865 [BZ #832]
3866 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3867 testing pipefail option.
3868
71b4dea7
JM
38692013-10-12 Joseph Myers <joseph@codesourcery.com>
3870
3871 * soft-fp/double.h: Indent preprocessor directives inside #if.
3872 * soft-fp/extended.h: Likewise.
3873 * soft-fp/op-2.h: Likewise.
3874 * soft-fp/op-4.h: Likewise.
3875 * soft-fp/op-common.h: Likewise.
3876 * soft-fp/quad.h: Likewise.
3877 * soft-fp/single.h: Likewise.
3878 * soft-fp/soft-fp.h: Likewise.
3879
55602758
YC
38802013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3881
3882 * iconv/iconv_prog.c: Fix typos.
3883 * stdio-common/psiginfo-data.h: Likewise.
3884
9cd83302
RT
38852013-10-12 Reuben Thomas <rrt@sc3d.org>
3886
3887 [BZ #15764]
3888 * locale/setlocale.c: Fix typo.
3889
99fd9f47
JM
38902013-10-12 Joseph Myers <joseph@codesourcery.com>
3891
b7ea74f0
JM
3892 [BZ #16036]
3893 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3894 signaling NaN arguments.
3895 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3896 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3897
8a509447
JM
3898 [BZ #14910]
3899 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3900 unordered operands.
3901 * soft-fp/gesf2.c (__gesf2): Likewise.
3902 * soft-fp/getf2.c (__getf2): Likewise.
3903 * soft-fp/ledf2.c (__ledf2): Likewise.
3904 * soft-fp/lesf2.c (__lesf2): Likewise.
3905 * soft-fp/letf2.c (__letf2): Likewise.
3906
98998e9f
JM
3907 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3908 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3909 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3910 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3911 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3912 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3913 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3914 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3915 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3916 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3917 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3918 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3919 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3920 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3921 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3922 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3923 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3924 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3925 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3926 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3927 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3928 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3929 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3930 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3931 * soft-fp/floattidf.c (__floattidf): Likewise.
3932 * soft-fp/floattisf.c (__floattisf): Likewise.
3933 * soft-fp/floattitf.c (__floattitf): Likewise.
3934 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3935 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3936 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3937 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3938 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3939 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3940 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3941 * soft-fp/gesf2.c (__gesf2): Likewise.
3942 * soft-fp/getf2.c (__getf2): Likewise.
3943 * soft-fp/ledf2.c (__ledf2): Likewise.
3944 * soft-fp/lesf2.c (__lesf2): Likewise.
3945 * soft-fp/letf2.c (__letf2): Likewise.
3946
8edc4a11
JM
3947 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3948 Undefine and redefine.
3949 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3950 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3951 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3952 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3953 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3954 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3955 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3956 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3957 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3958 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3959 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3960 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3961 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3962 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3963 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3964
8399acaf
JM
3965 [BZ #16032]
3966 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3967 without decrementing exponent if mantissa >= that for the
3968 denominator, not >.
3969 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3970 denominator, not >. Decrement exponent in < case instead of
3971 incrementing in >= case.
3972 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3973 without decrementing exponent if mantissa >= that for the
3974 denominator, not >.
3975
99fd9f47
JM
3976 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3977 computing saturated result for unsigned overflow.
3978
10e1cf6b
SP
39792013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3980 Jeff Law <law@redhat.com>
3981
3982 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3983 (atan2Mp): Add systemtap probe marker.
3984 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3985 (__ieee754_log): Add systemtap probe marker.
3986 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3987 (atanMp): Add systemtap probe marker.
3988 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3989 (tanMp): Add systemtap probe marker.
3990 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3991 (__slowexp): Add systemtap probe marker.
3992 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3993 (__slowpow): Add systemtap probe marker.
3994 * manual/probes.texi: Document probes.
3995
3d110c7c
EB
39962013-10-11 Eric Biggers <ebiggers3@gmail.com>
3997
3998 [BZ #15362]
3999 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4000 written.
4001 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4002 written.
4003 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4004 written to buffer but not flushed.
4005 * libio/iofwrite_u.c: Likewise.
4006 * libio/iopadn.c: Return bytes returned even if EOF was
4007 encountered.
4008 * libio/iowpadn.c: Likewise.
4009 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4010 if _IO_padn does not write the whole buffer.
4011 [!COMPILE_WPRINTF] (PAD): Likewise.
4012
75b4202a
DM
40132013-10-10 David S. Miller <davem@davemloft.net>
4014
4015 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4016 directory block.
4017
6c6352e6
JM
40182013-10-10 Joseph Myers <joseph@codesourcery.com>
4019
33b853c3
JM
4020 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4021 instead of FSF address.
4022 * soft-fp/fixdfti.c: Likewise.
4023 * soft-fp/fixsfti.c: Likewise.
4024 * soft-fp/fixtfti.c: Likewise.
4025 * soft-fp/fixunsdfti.c: Likewise.
4026 * soft-fp/fixunssfti.c: Likewise.
4027 * soft-fp/fixunstfti.c: Likewise.
4028 * soft-fp/floattidf.c: Likewise.
4029 * soft-fp/floattisf.c: Likewise.
4030 * soft-fp/floattitf.c: Likewise.
4031 * soft-fp/floatuntidf.c: Likewise.
4032 * soft-fp/floatuntisf.c: Likewise.
4033 * soft-fp/floatuntitf.c: Likewise.
4034 * soft-fp/trunctfxf2.c: Likewise.
4035
6c6352e6
JM
4036 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4037 * soft-fp/fixdfti.c: Likewise.
4038 * soft-fp/fixsfti.c: Likewise.
4039 * soft-fp/fixtfti.c: Likewise.
4040 * soft-fp/fixunsdfti.c: Likewise.
4041 * soft-fp/fixunssfti.c: Likewise.
4042 * soft-fp/fixunstfti.c: Likewise.
4043 * soft-fp/floattidf.c: Likewise.
4044 * soft-fp/floattisf.c: Likewise.
4045 * soft-fp/floattitf.c: Likewise.
4046 * soft-fp/floatuntidf.c: Likewise.
4047 * soft-fp/floatuntisf.c: Likewise.
4048 * soft-fp/floatuntitf.c: Likewise.
4049 * soft-fp/trunctfxf2.c: Likewise.
4050
3bf78b71
DM
40512013-10-10 David S. Miller <davem@davemloft.net>
4052
4053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4054
6f10289e
JM
40552013-10-10 Joseph Myers <joseph@codsourcery.com>
4056
bd878fc0
JM
4057 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4058 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4059 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4060 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4061 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4062 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4063 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4064
6f10289e
JM
4065 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4066 for NaNs before doing comparisons on argument.
4067 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4068 Likewise.
4069
321e2684
WN
40702013-10-10 Will Newton <will.newton@linaro.org>
4071
4072 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4073 passed to _int_memalign does not overflow.
4074
40fefba1
TR
40752013-10-10 Torvald Riegel <triegel@redhat.com>
4076
4077 * scripts/bench.pl: Add include-sources directive.
4078 * benchtests/README: Update documentation.
4079
2ae21ed2
JM
40802013-10-10 Joseph Myers <joseph@codesourcery.com>
4081
dcc2dd3f
JM
4082 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4083 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4084 instead of FP_INIT_ROUNDMODE.
4085 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4086 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4087
2ae21ed2
JM
4088 [BZ #16034]
4089 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4090 copy class of input value.
4091 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4092 not handle exceptions.
4093 * soft-fp/negsf2.c (__negsf2): Likewise.
4094 * soft-fp/negtf2.c (__negtf2): Likewise.
4095 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4096
cb8f9562
JM
40972013-10-09 Joseph Myers <joseph@codesourcery.com>
4098
4099 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4100 semicolon. From Linux kernel.
4101
5b60c59d
AB
41022013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4103
4104 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4105
b86835ca
YC
41062013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4107
4108 [BZ #156]
4109 * manual/socket.texi: Added statement about buffer
4110 for gethostbyname2_r.
4111
e7044ea7
OB
41122013-10-08 Ondřej Bílka <neleai@seznam.cz>
4113
4114 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4115 Use .p2align directive instead, throughout.
4116 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4117 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4118 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4119 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4120 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4121 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4122 * sysdeps/x86_64/strchr.S: Likewise.
4123 * sysdeps/x86_64/strrchr.S: Likewise.
4124
09544cbc
SP
41252013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4126
88576635
SP
4127 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4128
e7b2d1dd
SP
4129 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4130
09544cbc
SP
4131 * sysdeps/generic/math_private.h (__mpsin1): Remove
4132 declaration.
4133 (__mpcos1): Likewise.
4134 (__mpsin): New argument __range_reduce.
4135 (__mpcos): Likewise.
4136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4137 (slow): Use __mpsin and __mpcos.
4138 (slow1): Likewise.
4139 (slow2): Likewise.
4140 (sloww): Likewise.
4141 (sloww1): Likewise.
4142 (sloww2): Likewise.
4143 (bsloww): Likewise.
4144 (bsloww1): Likewise.
4145 (bsloww2): Likewise.
4146 (cslow2): Likewise.
4147 (csloww): Likewise.
4148 (csloww1): Likewise.
4149 (csloww2): Likewise.
4150 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4151 range_reduce. Merge in __mpsin1.
4152 (__mpcos): Likewise.
4153 (__mpsin1): Remove.
4154 (__mpcos1): Likewise.
4155
7602d070
JM
41562013-10-07 Joseph Myers <joseph@codesourcery.com>
4157
4158 * locale/loadlocale.c (_nl_intern_locale_data): Use
4159 LOCFILE_ALIGNED_P.
4160 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4161 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4162 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4163 obstack data is appropriately aligned.
4164 (obstack_int32_grow_fast): Likewise.
4165 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4166 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4167 (add_locale_uint32_array): Likewise.
4168
a357259b
SP
41692013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4170
4171 * benchtests/Makefile: Remove ARGLIST and RET variables.
4172 ($(objpfx)bench-%.c): Pass only function name to the script.
4173 * benchtests/README: Update documentation.
4174 * benchtests/acos-inputs: Add new directives.
4175 * benchtests/acosh-inputs: Likewise.
4176 * benchtests/asin-inputs: Likewise.
4177 * benchtests/asinh-inputs: Likewise.
4178 * benchtests/atan-inputs: Likewise.
4179 * benchtests/atanh-inputs: Likewise.
4180 * benchtests/cos-inputs: Likewise.
4181 * benchtests/cosh-inputs: Likewise.
4182 * benchtests/exp-inputs: Likewise.
4183 * benchtests/log-inputs: Likewise.
4184 * benchtests/pow-inputs: Likewise.
4185 * benchtests/rint-inputs: Likewise.
4186 * benchtests/sin-inputs: Likewise.
4187 * benchtests/sinh-inputs: Likewise.
4188 * benchtests/tan-inputs: Likewise.
4189 * benchtests/tanh-inputs: Likewise.
4190 * scripts/bench.pl: Add support for new directives.
4191
9ec1b13d
AM
41922013-10-07 Alan Modra <amodra@gmail.com>
4193
4194 * README: Fix careless merge.
4195
8b7d57cd
AM
41962013-10-05 Alan Modra <amodra@gmail.com>
4197
4198 * NEWS: Mention powerpc64le support and bugs fixed.
4199 * README: Both big-endian and little-endian powerpc64 supported.
4200
7b7bab13
ST
42012013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4202
4203 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4204 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4205 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4206 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4207
d39baad1
RA
42082013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4209
4210 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4211 match prototype.
4212
cd78f7e7
JM
42132013-10-04 Joseph Myers <joseph@codesourcery.com>
4214
29d73d86
JM
4215 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4216 Move -mhard-float appending from
4217 ports/sysdeps/powerpc/powerpc32/Makefile.
4218 [$(with-fp) = yes] (ASFLAGS): Likewise.
4219 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4220 * sysdeps/powerpc/nofpu: Move directory from
4221 ports/sysdeps/powerpc/nofpu.
4222 * sysdeps/powerpc/soft-fp: Move directory from
4223 ports/sysdeps/powerpc/soft-fp.
4224 * sysdeps/powerpc/powerpc32/405: Move directory from
4225 ports/sysdeps/powerpc/powerpc32/405.
4226 * sysdeps/powerpc/powerpc32/440: Move directory from
4227 ports/sysdeps/powerpc/powerpc32/440.
4228 * sysdeps/powerpc/powerpc32/464: Move directory from
4229 ports/sysdeps/powerpc/powerpc32/464.
4230 * sysdeps/powerpc/powerpc32/476: Move directory from
4231 ports/sysdeps/powerpc/powerpc32/476.
4232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4233 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4235 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4237 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4239 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4241 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4242 * README: Update for powerpc-*-linux-gnu software floating point
4243 support in libc.
4244
e246b347
JM
4245 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4246 case to powerpc/powerpc32*.
4247 * sysdeps/unix/sysv/linux/configure: Regenerated.
4248
89c2003e
JM
4249 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4250 (_FPU_MASK_OM): Define as 0x04.
4251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4253 0x00c10080.
4254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4255 0x0000003c.
4256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4257
cd78f7e7
JM
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4259 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4260 getcontext_e500.
4261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4262 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4263 setcontext_e500.
4264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4265 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4266 and setcontext_e500.
4267
c755294d
CL
42682013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4269
4270 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4271
e16d221c
SP
42722013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4273
4274 * manual/threads.texi (Default Thread Attributes): Fix typo.
4275
215c7d43
WN
42762013-10-04 Will Newton <will.newton@linaro.org>
4277
4278 * malloc/Makefile: Add tst-memalign.
4279 * malloc/tst-memalign.c: New file.
4280
27d0461b
WN
4281 * malloc/tst-posix_memalign.c: Add comments.
4282 (do_test): Add comments and call free on all potentially
4283 allocated pointers. Add space after cast.
4284
1bc92709
WN
4285 * malloc/tst-pvalloc.c: Add comments.
4286 (do_test): Add comments and call free on all potentially
4287 allocated pointers. Remove duplicate check for NULL pointer.
4288 Add space after cast.
4289
66a9be9d
WN
4290 * malloc/tst-valloc.c: Add comments.
4291 (do_test): Add comments and call free on all potentially
4292 allocated pointers. Remove duplicate check for NULL pointer.
4293 Add space after cast.
4294
4cb81307
AM
42952013-10-04 Alan Modra <amodra@gmail.com>
4296
4297 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4298 Use stdint types in rather than __attribute__((mode())).
4299 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4300
f8e3e9f3
AM
43012013-10-04 Alan Modra <amodra@gmail.com>
4302
4303 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4304 Correct handling of unaligned relocs for little-endian.
4305 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4306
8f9ebb08
AM
43072013-10-04 Alan Modra <amodra@gmail.com>
4308
4309 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4310 * configure: Regenerate.
4311 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4312 * shlib-versions: Likewise.
4313
0edf96c2
AM
43142013-10-04 Alan Modra <amodra@gmail.com>
4315
4316 * string/tester.c (test_memrchr): Increment reported test cycle.
4317
e0f7a380
AM
43182013-10-04 Alan Modra <amodra@gmail.com>
4319
4320 * string/test-memcpy.c (do_one_test): When reporting errors, print
4321 string address and don't overrun end of string.
4322
466b0393
AM
43232013-10-04 Alan Modra <amodra@gmail.com>
4324
4325 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4326 insrdi. Make better use of reg selection to speed exit slightly.
4327 Schedule entry path a little better. Remove useless "are we done"
4328 checks on entry to main loop. Handle wrapping around zero address.
4329 Correct main loop count. Handle single left-over word from main
4330 loop inline rather than by using loop_small. Remove extra word
4331 case in loop_small caused by wrong loop count. Add little-endian
4332 support.
4333 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4334 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4335 cache hint.
4336 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4337 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4338 support. Avoid rlwimi.
4339 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4340
3be87c77
AM
43412013-10-04 Alan Modra <amodra@gmail.com>
4342
4343 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4344 insrdi. Formatting.
3be87c77
AM
4345 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4346 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4347 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4348 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4349 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4350 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4351
759cfef3
AM
43522013-10-04 Alan Modra <amodra@gmail.com>
4353
4354 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4355 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4356 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4358 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4359 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4360 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4361 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4362 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4363 use of regs. Use power7 mtocrf. Tidy function tails.
4364
fe6e95d7
AM
43652013-10-04 Alan Modra <amodra@gmail.com>
4366
4367 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4368 Formatting. Consistently use rXXX register defines or rN defines.
4369 Use early exit labels that avoid restoring unused non-volatile regs.
4370 Make cr field use more consistent with rWORDn compares. Rename
4371 regs used as shift registers for unaligned loop, using rN defines
4372 for short lifetime/multiple use regs.
4373 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4374 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4375 addi 1,1,64 to pop stack frame. Simplify return value code.
4376 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4377
664318c3
AM
43782013-10-04 Alan Modra <amodra@gmail.com>
4379
4380 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4381 support. Correct typos, formatting. Optimize tail. Use insrdi
4382 rather than rlwimi.
4383 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4384 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4385 little-endian support. Correct typos.
4386 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4387 rather than rlwimi.
4388 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4389 in loop and entry code to keep "and." results.
4390 (strchr): Add little-endian support. Comment. Move cntlzd
4391 earlier in tail.
4392 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4393
43b84013
AM
43942013-10-04 Alan Modra <amodra@gmail.com>
4395
4396 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4397 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4398 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4399 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4400
8a7413f9
AM
44012013-10-04 Alan Modra <amodra@gmail.com>
4402
4403 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4404 (rTMP): Define as r11.
4405 (strcmp): Add little-endian support. Optimise tail.
4406 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4407 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4408 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4410 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4413
33ee81de
AM
44142013-10-04 Alan Modra <amodra@gmail.com>
4415
4416 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4417 little-endian support. Remove unnecessary "are we done" tests.
4418 Handle "s" wrapping around zero and extremely large "size".
4419 Correct main loop count. Handle single left-over word from main
4420 loop inline rather than by using small_loop. Correct comments.
4421 Delete "zero" tail, use "end_max" instead.
4422 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4423
db9b4570
AM
44242013-10-04 Alan Modra <amodra@gmail.com>
4425
4426 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4427 support. Don't branch over align.
4428 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4429 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4430 support. Rearrange tmp reg use to suit. Comment.
4431 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4432
f7c399cf
AM
44332013-10-04 Alan Modra <amodra@gmail.com>
4434
4435 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4436
0b2c2ace
AM
44372013-10-04 Alan Modra <amodra@gmail.com>
4438
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4440 conditional form of branch and link when obtaining pc.
4441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4442
02f04a6c
AM
44432013-10-04 Alan Modra <amodra@gmail.com>
4444
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4446 HIWORD/LOWORD.
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4449
9b874b2f
AM
44502013-10-04 Alan Modra <amodra@gmail.com>
4451
4452 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4453 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4454 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4455 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4456 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4457 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4458 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4459 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4460 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4461 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4462
be1e5d31
AB
44632013-10-04 Anton Blanchard <anton@au1.ibm.com>
4464 Alistair Popple <alistair@ozlabs.au.ibm.com>
4465 Alan Modra <amodra@gmail.com>
4466
4467 [BZ #15723]
4468 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4469 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4470 _dl_hwcap access for little-endian.
4471 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4472 destroy vmx regs when saving unaligned.
4473 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4474 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4475 destroy vmx regs when saving unaligned.
4476
fef13a78
AM
44772013-10-04 Alan Modra <amodra@gmail.com>
4478
4479 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4480 Don't use a union to pack hi/low value.
4481
76a66d51
AB
44822013-10-04 Anton Blanchard <anton@au1.ibm.com>
4483
4484 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4485 for little-endian.
4486 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4487 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4488 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4489 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4490 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4491
6a31fe7f
AM
44922013-10-04 Alan Modra <amodra@gmail.com>
4493
4494 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4495 constants to usual value for .cst8 section, and remove redundant
4496 high address load.
4497 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4498 constant for 0x1p52. Load little-endian words of double from
4499 correct stack offsets.
4500
7b88401f
AM
45012013-10-04 Alan Modra <amodra@gmail.com>
4502
4503 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4504 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4505 words of double from correct stack offsets.
4506 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4507 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4508 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4509 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4510 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4511 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4512 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4513 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4514 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4515 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4516 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4517 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4518 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4519 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4520 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4521 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4522 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4523
9c008155
AM
45242013-10-04 Alan Modra <amodra@gmail.com>
4525
4526 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4527 64-bit int/double union.
4528 (_FPU_SETCW): Likewise.
4529 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4530 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4531
da13146d
AM
45322013-10-04 Alan Modra <amodra@gmail.com>
4533
4534 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4535 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4536
603e8410
AM
45372013-10-04 Alan Modra <amodra@gmail.com>
4538
4539 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4540 use vector int constants.
4541 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4542
4a28b3ca
AB
45432013-10-04 Anton Blanchard <anton@au1.ibm.com>
4544
4545 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4546 array with long long.
4547 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4548 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4549 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4550 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4551 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4552 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4553 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4554 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4555 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4556 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4557 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4558 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4559 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4560
2ca85d2b
AB
45612013-10-04 Anton Blanchard <anton@au1.ibm.com>
4562
4563 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4564 (__signbit): Likewise. Correct for little-endian.
4565 (__signbitl): Call __signbit.
4566 (lrint): Correct for little-endian.
4567 (lrintf): Call lrint.
4568
62a728ae
AM
45692013-10-04 Alan Modra <amodra@gmail.com>
4570
4571 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4572 union 32-bit int array member with 64-bit int array.
4573 (t515, tm256): Double rather than long double.
4574 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4575
32c301df
AM
45762013-10-04 Alan Modra <amodra@gmail.com>
4577
4578 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4579 Delete.
4580 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4582 version of math_ldbl.h.
4583
650ef4bd
AM
45842013-10-04 Alan Modra <amodra@gmail.com>
4585
4586 [BZ #15734], [BZ #15735]
4587 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4588 all uses of ieee875 long double macros and unions. Simplify test
4589 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4590 ldbl_extract_mantissa value for ix,iy exponents. Properly
4591 normalize after ldbl_extract_mantissa, and don't add hidden bit
4592 already handled. Don't treat low word of ieee854 mantissa like
4593 low word of IBM long double and mask off bit when testing for
4594 zero.
4595 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4596 all uses of ieee875 long double macros and unions. Simplify tests
4597 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4598 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4599 two1022, instead use their values. Recognise that tests for large
4600 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4601 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4602 Rewrite all uses of ieee875 long double macros and unions. Simplify
4603 test for 0.0L and nan. Correct negation.
4604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4605 ieee875 long double macros and unions. Correct output for large
4606 magnitude x. Correct absolute value calculation.
4607 (__erfcl): Likewise.
4608 * math/libm-test.inc: Add tests for errors discovered in IBM long
4609 double versions of fmodl, remainderl, erfl and erfcl.
4610
765714ca
AM
46112013-10-04 Alan Modra <amodra@gmail.com>
4612
4613 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4614 all uses of ieee854 long double macros and unions. Simplify tests
4615 for long doubles that are fully specified by the high double.
4616 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4617 Likewise.
4618 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4619 Remove dead code too.
4620 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4621 (__ieee754_ynl): Likewise.
4622 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4623 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4625 Remove dead code too.
4626 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4627 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4628 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4629 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4630 Simplify.
4631 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4632 Simplify.
4633 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4634 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4635 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4636 Comment on variable precision.
4637 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4638 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4639 Likewise.
4640 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4641 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4642 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4643 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4644 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4645
4ebd120c
AM
46462013-10-04 Alan Modra <amodra@gmail.com>
4647
4648 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4649 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4650 all uses of ieee854 long double macros and unions.
4651 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4653 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4654 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4655 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4656 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4657 Likewise.
4658 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4659 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4660 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4661 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4662 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4663 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4664 Simplify sign and nan test too.
4665 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4666 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4667 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4668 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4669 Likewise.
4670 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4671 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4672 Likewise.
4673 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4674 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4675 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4677 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4678 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4679
1b6adf88
AM
46802013-10-04 Alan Modra <amodra@gmail.com>
4681
4682 * stdio-common/printf_size.c (__printf_size): Don't use
4683 union ieee854_long_double in fpnum union.
4684 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4685 signbit macro to retrieve sign from long double.
4686 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4687 retrieve sign from long double.
4688 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4689 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4690 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4691 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4692 * math/test-misc.c (main): Don't use union ieee854_long_double.
4693
4cf69995
AM
46942013-10-04 Alan Modra <amodra@gmail.com>
4695
4696 [BZ #15680]
4697 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4698 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4699 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4700 calculation. Remove unnecessary test for denormal exponent.
4701 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4702 Correct handling of denormals. Avoid undefined shift behaviour.
4703 Correct normalisation of low mantissa when low double is denormal.
4704 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4705 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4706 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4707 Correct normalisation of low mantissa. Test for overflow of high
4708 mantissa and normalise.
4709 (ldbl_nearbyint): Use more readable constant for two52.
4710 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4711 (__mpn_construct_long_double): Fix test for overflow of high
4712 mantissa and correct normalisation. Avoid undefined shift.
4713
9605ca6c
AM
47142013-10-04 Alan Modra <amodra@gmail.com>
4715
4716 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4717 (union ibm_extended_long_double): Define as an array of ieee754_double.
4718 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4719 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4720 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4721 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4722 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4723 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4724 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4727 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4728 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4729
975569d0
JM
47302013-10-03 Joseph Myers <joseph@codesourcery.com>
4731
d3d23756
JM
4732 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4733 page size instead of calling getpagesize.
4734
975569d0
JM
4735 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4736 (LOCFILE_ALIGN_MASK): Likewise.
4737 (LOCFILE_ALIGN_UP): Likewise.
4738 (LOCFILE_ALIGNED_P): Likewise.
4739 * locale/programs/ld-collate.c (collate_output): Use the new
4740 macros instead of __alignof__ (int32_t).
4741 * locale/weight.h (findidx): Likewise.
4742
b1fe1f2b
OB
47432013-10-03 Ondřej Bílka <neleai@seznam.cz>
4744
4745 [BZ #431]
4746 * manual/string.texi: Fix strncat and wcsncat.
4747
5f855e35
BM
47482013-10-03 Brooks Moses <bmoses@google.com>
4749
4750 [BZ #15915]
4751 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4752 * Makerules: ...here, and adjust associated comments.
4753
3cef6009
WN
47542013-10-02 Will Newton <will.newton@linaro.org>
4755
4756 * malloc/Makefile: Add tst-pvalloc.
4757 * malloc/tst-pvalloc.c: New file.
4758
7815420b
WN
47592013-10-02 Will Newton <will.newton@linaro.org>
4760
4761 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4762 improve test coverage.
4763
4868b204
WN
47642013-10-02 Will Newton <will.newton@linaro.org>
4765
4766 * malloc/Makefile: Add tst-posix_memalign.
4767 * malloc/tst-posix_memalign.c: New file.
4768
29c793b3
EB
47692013-10-01 Eric Blake <eblake@redhat.com>
4770
4771 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4772 Use __THROWNL rather than __THROW on static functions.
4773
fd967522
PM
47742013-09-30 Petr Machata <pmachata@redhat.com>
4775
4776 * elf/elf.h (R_AARCH64_ABS16): New macro.
4777 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4778 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4779 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4780 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4781 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4782 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4783 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4784 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4785 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4786 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4787 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4788 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4789 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4790 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4791 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4792 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4793 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4794 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4795 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4796 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4797 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4798 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4799 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4800 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4801 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4802 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4803 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4804 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4805 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4806 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4807 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4808 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4809 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4810 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4811 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4812 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4813 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4814 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4815 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4816 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4817 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4818 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4819 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4820 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4821 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4822 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4823 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4824 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4825 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4826 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4827 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4828 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4829 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4830 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4831 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4832 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4833 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4834 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4835 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4836 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4837 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4838 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4839 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4840 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4841 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4842 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4843 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4844 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4845 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4846 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4847 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4848 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4849 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4850 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4851 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4852 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4853 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4854 (R_AARCH64_TLSDESC_LDR): Likewise.
4855 (R_AARCH64_TLSDESC_ADD): Likewise.
4856 (R_AARCH64_TLSDESC_CALL): Likewise.
4857
b2179107
AS
48582013-09-30 Andreas Schwab <schwab@suse.de>
4859
4860 [BZ #15048]
4861 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4862 the nss database lookup.
4863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4865
47f28d0a
MF
48662013-09-28 Mike Frysinger <vapier@gentoo.org>
4867
4868 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4869
48702013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4871
4872 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4873 ${Bash-specific parameter/pattern/string} parameter expansion.
4874 * sysdeps/unix/make-syscalls.sh: Likewise.
4875
f4518a17
KK
48762013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4877
4878 * sysdeps/sh/stackguard-macros.h: New file.
4879
dc1a95c7
OB
48802013-09-26 Ondřej Bílka <neleai@seznam.cz>
4881
4882 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4883 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4884 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4885 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4886 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4887 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4888
5ebbff8f
AZ
48892013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4890
4891 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4892 Fix thread ID register.
4893
4fd2cf9f
JM
48942013-09-25 Joseph Myers <joseph@codesourcery.com>
4895
4896 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4897 [POSIX || UNIX98]: Require rather than permitting all symbols from
4898 <time.h>.
4899 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4900 element of struct sched_param.
4901 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4902 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4903 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4904 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4905 constant.
4906
12c22bc4
OL
49072013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4908
4909 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4910 argument calculation.
4911
a03d8ea7
JM
49122013-09-24 Joseph Myers <joseph@codesourcery.com>
4913
4914 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4915 Expect macro.
4916 [POSIX] (pthread_attr_t): Do not require type.
4917 [POSIX] (pthread_cond_t): Likewise.
4918 [POSIX] (pthread_condattr_t): Likewise.
4919 [POSIX] (pthread_key_t): Likewise.
4920 [POSIX] (pthread_mutex_t): Likewise.
4921 [POSIX] (pthread_mutexattr_t): Likewise.
4922 [POSIX] (pthread_once_t): Likewise.
4923 [POSIX] (pthread_t): Likewise.
4924 [POSIX-based standards] (pthread_atfork): Expect function.
4925
6055173a
JM
49262013-09-24 Joseph Myers <joseph@codesourcery.com>
4927 Richard Sandiford <richard@codesourcery.com>
4928
4929 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4930 (swap_endianness_p): New extern variable.
4931 (set_big_endian): New inline function.
4932 (maybe_swap_uint32): Likewise.
4933 (maybe_swap_uint32_array): Likewise.
4934 (maybe_swap_uint32_obstack): Likewise.
4935 * locale/programs/locfile.c: Include <stdbool.h>.
4936 (swap_endianness_p): New variable.
4937 (add_locale_uint32): Call maybe_swap_uint32.
4938 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4939 (write_locale_data): Call maybe_swap_uint32_array.
4940 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4941 maybe_swap_uint32.
4942 (obstack_int32_grow_fast): Likewise.
4943 (output_weightwc): Call maybe_swap_uint32_obstack.
4944 (collate_output): Likewise.
4945 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4946 (OPT_LITTLE_ENDIAN): Likewise.
4947 (options): Add --little-endian and --big-endian options.
4948 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4949 * locale/programs/locarchive.c: Include "locfile.h".
4950 (GET): New macro.
4951 (SET): Likewise.
4952 (INC): Likewise.
4953 (create_archive): Use the new macros to access fields of
4954 structures directly mapped from or written to locale archives.
4955 (oldlocrecentcmp): Likewise.
4956 (enlarge_archive): Likewise.
4957 (insert_name): Likewise.
4958 (add_alias): Likewise.
4959 (add_locale): Likewise.
4960 (delete_locales_from_archive): Likewise.
4961 (show_archive_content): Likewise.
4962 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4963 locale data.
4964
39bf0bb4
RM
49652013-09-24 Roland McGrath <roland@hack.frob.com>
4966
4967 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4968 http://www.gnu.org/doc/freemanuals.texi.
4969 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4970
f02eed10
WN
49712013-09-24 Will Newton <will.newton@linaro.org>
4972
4973 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4974 macro.
4975
a3a6c312
JM
49762013-09-23 Joseph Myers <joseph@codesourcery.com>
4977
4978 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4979 unsigned char.
4980
107375ac
MR
49812013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4982
4983 * manual/threads.texi (POSIX Threads): Fix a typo.
4984
141f3a77
SP
49852013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4986
303e567a
SP
4987 [BZ #14547]
4988 * string/tst-strcoll-overflow.c: New test case.
4989 * string/Makefile (xtests): Add tst-strcoll-overflow.
4990 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4991 cache if string sizes may cause integer overflow.
4992
141f3a77
SP
4993 [BZ #14547]
4994 * string/strcoll_l.c (coll_seq): New members rule, idx,
4995 save_idx and back_us.
4996 (get_next_seq_nocache): New function.
4997 (do_compare_nocache): New function.
4998 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4999 when malloc fails.
5000
c61b4d41
CD
50012013-09-23 Carlos O'Donell <carlos@redhat.com>
5002
0b1f8e35
CD
5003 [BZ #15754]
5004 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5005 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5006 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5007
c61b4d41
CD
5008 [BZ #15754]
5009 * elf/Makefile (tests): Add tst-ptrguard1.
5010 (tests-static): Add tst-ptrguard1-static.
5011 (tst-ptrguard1-ARGS): Define.
5012 (tst-ptrguard1-static-ARGS): Define.
5013 * elf/tst-ptrguard1.c: New file.
5014 * elf/tst-ptrguard1-static.c: New file.
5015 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5016 * sysdeps/i386/stackguard-macros.h: Likewise.
5017 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5018 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5019 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5020 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5021 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5022 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5023
50242013-09-23 Hector Marco <hecmargi@upv.es>
5025 Ismael Ripoll <iripoll@disca.upv.es>
5026 Carlos O'Donell <carlos@redhat.com>
5027
5028 [BZ #15754]
5029 * sysdeps/generic/stackguard-macros.h: Define
5030 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5031 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5032 Define __pointer_chk_guard_local.
5033 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5034 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5035
f5f4e7b4
VV
50362013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5037
5038 [BZ #15859]
5039 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5040
5bb43a43
AS
50412013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5042
5043 * include/string.h (__ffs): Declare as hidden.
5044 * string/ffs.c (__ffs): Define as hidden.
5045 * sysdeps/i386/ffs.c (__ffs): Likewise.
5046 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5047 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5048 * sysdeps/s390/ffs.c (__ffs): Likewise.
5049 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5050
3ea5be54
AO
50512013-09-20 Alexandre Oliva <aoliva@redhat.com>
5052
ffb89e53
AO
5053 * NEWS: Mention malloc probes.
5054
322dea08
AO
5055 * malloc/arena.c (new_heap): New memory_heap_new probe.
5056 (grow_heap): New memory_heap_more probe.
5057 (shrink_heap): New memory_heap_less probe.
5058 (heap_trim): New memory_heap_free probe.
5059 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5060 (systrim): New memory_sbrk_less probe.
5061 * manual/probes.texi: Document them.
5062
655673f3
AO
5063 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5064 * manual/probes.texi: Document it.
5065
35fed6f1
AO
5066 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5067 (__libc_realloc): Add memory_realloc_retry probe.
5068 (__libc_memalign): Add memory_memalign_retry probe.
5069 (__libc_valloc): Add memory_valloc_retry probe.
5070 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5071 (__libc_calloc): Add memory_calloc_retry probe.
5072 * manual/probes.texi: Document them.
5073
6999d38c
AO
5074 * malloc/arena.c (get_free_list): Add probe
5075 memory_arena_reuse_free_list.
5076 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5077 and memory_arena_reuse.
5078 (arena_get2) [!PER_THREAD]: Likewise.
5079 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5080 memory_arena_reuse_realloc.
5081 * manual/probes.texi: Document them.
5082
0653427f
AO
5083 * malloc/malloc.c (__libc_free): Add
5084 memory_mallopt_free_dyn_thresholds probe.
5085 (__libc_mallopt): Add multiple memory_mallopt probes.
5086 * manual/probes.texi: Document them.
5087
3ea5be54
AO
5088 * malloc/malloc.c: Include stap-probe.h.
5089 (__libc_mallopt): Add memory_mallopt probe.
5090 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5091 * manual/probes.texi: New.
5092 * manual/Makefile (chapters): Add probes.
5093 * manual/threads.texi: Set next node.
5094
e35696c3 50952013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5096
e35696c3
CL
5097 [BZ #15963, #13985]
5098 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5099 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5100 Add `Chinese' to `nan' entry name.
5101
4aafb73c
SP
51022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5103
5104 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5105 (POLYNOMIAL): Likewise.
5106 (TAYLOR_SINCOS): Likewise.
5107 (TAYLOR_SLOW): Likewise.
5108 (__sin): Use TAYLOR_SINCOS.
5109 (__cos): Likewise.
5110 (slow): Use TAYLOR_SLOW.
5111 (sloww): Likewise.
5112 (bsloww): Likewise.
5113 (csloww): Likewise.
5114
d84f25c7
LD
51152013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5116
5117 * stdlib/strtod_l.c: Fix buffer overrun.
5118
5eea0404
SP
51192013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5120
7849ff93
SP
5121 * benchtests/Makefile (bench): Add sincos.
5122 * benchtests/bench-sincos.c: New file.
5123
cfa3c886
SP
5124 * math/libm-test.inc (cos_test_data): New test inputs.
5125 (sin_test_data): Likewise.
5126
b348e1e3
SP
5127 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5128 macro.
5129 (__sin): Use it.
5130 (__cos): Likewise.
5131 (slow1): Likewise.
5132 (slow2): Likewise.
5133 (sloww1): Likewise.
5134 (sloww2): Likewise.
5135 (bsloww1): Likewise.
5136 (bsloww2): Likewise.
5137 (cslow2): Likewise.
5138 (csloww1): Likewise.
5139 (csloww2): Likewise.
5140
6cce25f8
SP
5141 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5142 function.
5143 (__sin): Use it.
5144 (__cos): Likewise.
5145
5eea0404
SP
5146 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5147 gotos.
5148 (__cos): Likewise.
5149
9c21573c
MR
51502013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5151
5152 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5153 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5154 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5155 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5156 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5157 * elf/cache.c (print_entry): Handle the new cache flags.
5158
24d22e65
JM
51592013-09-18 Joseph Myers <joseph@codesourcery.com>
5160 Aldy Hernandez <aldyh@redhat.com>
5161
5162 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5163 Change condition to [_SOFT_FLOAT].
5164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5165 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5167 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5169 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5170 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5171 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5172 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5173 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5174 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5175 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5176 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5177 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5178 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5179 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5180 declaration.
5181
d13ef066
JM
51822013-09-18 Joseph Myers <joseph@codesourcery.com>
5183
2e071de0
JM
5184 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5185 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5186 (__longjmp): Use LOAD_GP to load saved GPRs.
5187 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5188 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5189 (__sigsetjmp): Use SAVE_GP to save GPRs.
5190
d13ef066
JM
5191 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5192 Do not append -msoft-float.
5193 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5194
97a0650b
SP
51952013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5196
5197 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5198
11ca09e9
JM
51992013-09-17 Joseph Myers <joseph@codesourcery.com>
5200
5201 [BZ #15966]
5202 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5203 (_FPU_GETCW): Use initial "__" on variable and field names but not
5204 on macro parameter name.
5205 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5206 parentheses around reference to macro parameter.
5207
08ffcf34
RS
52082013-09-13 Richard Sandiford <richard@codesourcery.com>
5209
5210 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5211 prototype.
5212 (ctype_startup): Use uint32_t in cast and sizeof for
5213 ctype->charnames.
5214
ae7080d3
JL
52152013-09-11 Jia Liu <proljc@gmail.com>
5216
5217 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5218 __daddr_t_defined.
5219 [__FreeBSD__]: Likewise.
5220
5905e7b3
OB
52212013-09-11 Ondřej Bílka <neleai@seznam.cz>
5222
5223 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5224 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5225 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5226 (strchr): Remove __strchr_sse42 ifunc selection.
5227 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5228 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5229
b987c776
WN
52302013-09-11 Will Newton <will.newton@linaro.org>
5231
5232 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5233 parameter to RES. Remove hardcoded 1000 value.
5234 * benchtests/bench-skeleton.c (main): Pass RES parameter
5235 to TIMING_INIT and multiply result by 1000.
5236
ddf985af
AZ
52372013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5238
5239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5240
ffdd3181
AS
52412013-09-11 Andreas Schwab <schwab@suse.de>
5242
5243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5244 if not defined.
5245 (O_TMPFILE) [__USE_GNU]: Define.
5246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5247 Define.
5248
b73ed247
WN
52492013-09-11 Will Newton <will.newton@linaro.org>
5250
5251 [BZ #15857]
5252 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5253 does not overflow.
5254
55e17aad
WN
52552013-09-11 Will Newton <will.newton@linaro.org>
5256
5257 [BZ #15856]
5258 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5259 does not overflow.
5260
1159a193
WN
52612013-09-11 Will Newton <will.newton@linaro.org>
5262
5263 [BZ #15855]
5264 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5265 does not overflow.
5266
5905e7b3 52672013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5268
5269 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5270 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5274
cdfc721b
AM
52752013-09-10 Allan McRae <allan@archlinux.org>
5276
aa04af00
AM
5277 [BZ #15748]
5278 * manual/arith.texi (Parsing of Floats): Clarify
5279 cross-reference.
5280
cdfc721b
AM
5281 [BZ #15849]
5282 * manual/install.texi (Running make install): Mention
5283 --enable-pt-chown.
5284 * INSTALL: Regenerated.
5285
95e7cf29
MR
52862013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5287
5288 * csu/init-first.c (_init): Remove the !SHARED condition around
5289 FPU control word initialization.
5290 * elf/dl-support.c (_dl_fpu_control): New variable.
5291 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5292 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5293 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5294 * math/test-fpucw-static.c: New file.
5295 * math/test-fpucw-ieee.c: New file.
5296 * math/test-fpucw-ieee-static.c: New file.
5297 * math/Makefile (tests): Add `test-fpucw-ieee' and
5298 `$(tests-static)'.
5299 (tests-static): New variable.
5300 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5301 dependency to...
5302 [($(build-shared),yes)]
5303 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5304 ... this.
5305 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5306 New dependency.
5307
83e43bf0
AM
53082013-09-09 Allan McRae <allan@archlinux.org>
5309
a9f5ce09
AM
5310 [BZ #15939]
5311 * manual/string.texi (Collation Functions): Fix typo in
5312 strcoll example.
5313 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5314
34829bc2
AM
5315 [BZ #15893]
5316 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5317
3932737d
AM
5318 [BZ #15892]
5319 * libio/memstream.c (open_memstream): Fix memory leak.
5320 * libio/wmemstream.c (open_wmemstream): Likewise.
5321
83e43bf0
AM
5322 [BZ #15895]
5323 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5324
0c66b8e9
WN
53252013-09-09 Will Newton <will.newton@linaro.org>
5326
5327 * malloc/Makefile: Add tst-realloc to tests.
5328 * malloc/tst-realloc.c: New file.
5329
f6b00fd1
AM
53302013-09-09 Allan McRae <allan@archlinux.org>
5331
5332 [BZ #15844]
5333 * COPYING: Update from GNU website to fix FSF address.
5334 * COPYING.LIB: Likewise.
5335
eec55e16
DM
53362013-09-06 David S. Miller <davem@davemloft.net>
5337
5338 * po/zh_TW.po: Update Chinese (traditional) translation from
5339 translation project.
5340
1ecbb381
RS
53412013-09-06 Richard Sandiford <richard@codesourcery.com>
5342 Joseph Myers <joseph@codesourcery.com>
5343
5344 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5345 "localeinfo.h".
5346 (obstack_chunk_alloc): New macro.
5347 (obstack_chunk_free): Likewise.
5348 (record_offset): New function.
5349 (init_locale_data): Likewise.
5350 (align_locale_data): Likewise.
5351 (add_locale_empty): Likewise.
5352 (add_locale_raw_data): Likewise.
5353 (add_locale_raw_obstack): Likewise.
5354 (add_locale_string): Likewise.
5355 (add_locale_wstring): Likewise.
5356 (add_locale_uint32): Likewise.
5357 (add_locale_uint32_array): Likewise.
5358 (add_locale_char): Likewise.
5359 (start_locale_structure): Likewise.
5360 (end_locale_structure): Likewise.
5361 (start_locale_prelude): Likewise.
5362 (end_locale_prelude): Likewise.
5363 (write_locale_data): Take locale_file structure rather than an
5364 iovec.
5365 * locale/programs/locfile.h: Include "obstack.h".
5366 (struct locale_file): Change to store locale file contents instead
5367 of header.
5368 (init_locale_data): New prototype.
5369 (align_locale_data): Likewise.
5370 (add_locale_empty): Likewise.
5371 (add_locale_raw_data): Likewise.
5372 (add_locale_raw_obstack): Likewise.
5373 (add_locale_string): Likewise.
5374 (add_locale_wstring): Likewise.
5375 (add_locale_uint32): Likewise.
5376 (add_locale_uint32_array): Likewise.
5377 (add_locale_char): Likewise.
5378 (start_locale_structure): Likewise.
5379 (end_locale_structure): Likewise.
5380 (start_locale_prelude): Likewise.
5381 (end_locale_prelude): Likewise.
5382 (write_locale_data): Update prototype.
5383 * locale/programs/3level.h (struct TABLE): Remove result field.
5384 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5385 Use new locale_file interface.
5386 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5387 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5388 * locale/programs/ld-address.c (address_output): Use new
5389 locale_file interface.
5390 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5391 NO_ADD_LOCALE.
5392 (collate_finish): Don't call collseq_table_finalize.
5393 (collate_output): Use new locale_file interface.
5394 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5395 in file.
5396 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5397 (TABLE): Move defines earlier in file.
5398 (ELEMENT): Likewise.
5399 (DEFAULT): Likewise.
5400 (wctrans_table_add): Move macro and inline function earlier in
5401 file.
5402 (struct wctype_table): Move type earlier in file.
5403 (add_locale_wctype_table): New static prototype.
5404 (struct locale_ctype_t): Use logical types instead of struct iovec
5405 pointers for members.
5406 (ctype_output): Use new locale_file interface.
5407 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5408 new locale_file interface.
5409 (allocate_arrays): Update for use of new locale_file interface.
5410 * locale/programs/ld-identification.c (identification_output): Use
5411 new locale_file interface.
5412 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5413 * locale/programs/ld-messages.c (messages_output): Likewise.
5414 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5415 * locale/programs/ld-name.c (name_output): Likewise.
5416 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5417 * locale/programs/ld-paper.c (paper_output): Likewise.
5418 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5419 * locale/programs/ld-time.c (time_output): Likewise.
5420
e029e2e5
AZ
54212013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5422
5423 * benchtests/Makefile: Add memrchr benchmark.
5424 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5425 benchmark as memrchr.
5426 * benchtests/bench-memrchr-ifunc.c: New file.
5427 * benchtests/bench-memrchr.c: New file.
5428
bbf6e8e4
WN
54292013-09-06 Will Newton <will.newton@linaro.org>
5430
5431 * benchtests/Makefile (string-bench): Add memcpy.
5432
6c82a2f8
CD
54332013-09-05 Carlos O'Donell <carlos@redhat.com>
5434 Cong Wang <amwang@redhat.com>
5435
5436 * sysdeps/unix/sysv/linux/bits/in.h
5437 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5438 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5439 before __USE_KERNEL_IPV6_DEFS uses.
5440 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5441 IPPROTO_BEETPH.
5442 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5443 sockaddr_in6, or ipv6_mreq.
5444
5430fc65
AZ
54452013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5446
5447 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5448 memory access for final bytes in some large inputs.
5449 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5450
4660856c
AZ
54512013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5452
5453 * string/test-memrchr.c: New file.
5454 * string/test-memrchr-ifunc.c: New file.
5455 * string/Makefile: Add new memrchr testcase.
5456
bb8ea713
MF
54572013-09-05 Mike Frysinger <vapier@gentoo.org>
5458
5459 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5460 fanotify_init returns EPERM.
5461
b92a20b5
JM
54622013-09-04 Joseph Myers <joseph@codesourcery.com>
5463
5464 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5465 errors.
5466 (top level): Treat second token from macro or constant entries for
5467 allowed headers as allowed.
5468 * include/complex.h: Condition internal declarations on
5469 [!_ISOMAC].
5470 * include/fenv.h: Condition include of <stdbool.h> and internal
5471 declarations on [!_ISOMAC].
7447ccd9
CL
5472
54732013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5474
3e181dda 5475 [BZ #15923]
7447ccd9
CL
5476 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5477
3f2e46a4
JM
54782013-09-04 Joseph Myers <joseph@codesourcery.com>
5479
5480 * configure.in (--enable-versioning): Remove configure option.
5481 (libc_cv_asm_symver_directive): Remove configure test.
5482 (libc_cv_ld_version_script_option): Likewise.
5483 (VERSIONING): Remove variable and AC_SUBST.
5484 (DO_VERSIONING): Remove AC_DEFINE.
5485 * configure: Regenerated.
5486 * config.h.in (DO_VERSIONING): Remove macro.
5487 * Makerules [$(versioning) = yes]: Change conditionals to
5488 [$(build-shared) = yes].
5489 * config.make.in (versioning): Remove variable.
5490 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5491 [$(build-shared) = yes].
5492 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5493 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5494 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5495 [$(build-shared) = yes].
5496 * extra-lib.mk [$(versioning) = yes]: Likewise.
5497 * hurd/Makefile [$(versioning) = yes]: Likewise.
5498 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5499 [SHARED].
5500 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5501 [SHARED].
5502 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5503 [SHARED && !NO_HIDDEN].
5504 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5505 [SHARED].
5506 [SHARED && DO_VERSIONING]: Likewise..
5507 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5508 [$(build-shared) = yes].
5509 * manual/install.texi (--disable-versioning): Remove
5510 documentation.
5511 * INSTALL: Regenerated.
5512 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5513 to [SHARED].
5514 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5515 [$(build-shared) = yes].
5516 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5517 * sysdeps/i386/i686/multiarch/strstr-c.c
5518 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5519 [SHARED && !NO_HIDDEN].
5520 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5521 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5522 * sysdeps/powerpc/powerpc32/dl-machine.c
5523 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5524 * sysdeps/powerpc/powerpc32/sysdep.h
5525 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5526 to [SHARED && PIC && !NO_HIDDEN].
5527 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5528 conditional to [SHARED].
5529
44558701
WN
55302013-09-04 Will Newton <will.newton@linaro.org>
5531
5532 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5533 * benchtests/bench-string.h: Include bench-timing.h instead
5534 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5535 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5536 call to HP_TIMING_DIFF_INIT.
5537 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5538 instead of hp-timing.h macros.
5539 * benchtests/bench-memchr.c: Likewise.
5540 * benchtests/bench-memcmp.c: Likewise.
5541 * benchtests/bench-memcpy.c: Likewise.
5542 * benchtests/bench-memmem.c: Likewise.
5543 * benchtests/bench-memmove.c: Likewise.
5544 * benchtests/bench-memset.c: Likewise.
5545 * benchtests/bench-rawmemchr.c: Likewise.
5546 * benchtests/bench-strcasecmp.c: Likewise.
5547 * benchtests/bench-strcasestr.c: Likewise.
5548 * benchtests/bench-strcat.c: Likewise.
5549 * benchtests/bench-strchr.c: Likewise.
5550 * benchtests/bench-strcmp.c: Likewise.
5551 * benchtests/bench-strcpy.c: Likewise.
5552 * benchtests/bench-strcpy_chk.c: Likewise.
5553 * benchtests/bench-strlen.c: Likewise.
5554 * benchtests/bench-strncasecmp.c: Likewise.
5555 * benchtests/bench-strncat.c: Likewise.
5556 * benchtests/bench-strncmp.c: Likewise.
5557 * benchtests/bench-strncpy.c: Likewise.
5558 * benchtests/bench-strnlen.c: Likewise.
5559 * benchtests/bench-strpbrk.c: Likewise.
5560 * benchtests/bench-strrchr.c: Likewise.
5561 * benchtests/bench-strspn.c: Likewise.
5562 * benchtests/bench-strstr.c: Likewise.
5563
cae16d66
WN
55642013-09-04 Will Newton <will.newton@linaro.org>
5565
5566 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5567
ffa3cd7f
JM
55682013-09-03 Joseph Myers <joseph@codesourcery.com>
5569
5570 [BZ #15427]
5571 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5572 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5573 * math/libm-test.inc (lgamma_test_data): Add more tests.
5574 * sysdeps/i386/fpu/libm-test-ulps: Update.
5575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5576
8f02859f
OB
55772013-09-03 Ondřej Bílka <neleai@seznam.cz>
5578
5579 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5581 Add ifunc.
5582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5583 Add strcmp-sse2-unaligned
5584 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5585
18d43716
MF
55862013-09-02 Mike Frysinger <vapier@gentoo.org>
5587
5588 * Versions.def (libc): Add GLIBC_2.19.
5589
ac444012
MF
55902013-09-02 Mike Frysinger <vapier@gentoo.org>
5591
5592 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5593 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5594
b7835e32
JM
55952013-09-02 Joseph Myers <joseph@codesourcery.com>
5596
5597 [BZ #14155]
5598 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5599 intermediate calculations in recurrence.
5600 (__ieee754_ynf): Likewise.
5601 * math/libm-test.inc (jn_test_data): Do not allow spurious
5602 underflow exception. Add more tests.
5603 (yn_test_data): Add more tests.
5604 * sysdeps/i386/fpu/libm-test-ulps: Update.
5605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5606
8220f4f0
OB
56072013-09-02 Ondřej Bílka <neleai@seznam.cz>
5608
5609 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5610
f24a6d08
OB
56112013-08-30 Ondřej Bílka <neleai@seznam.cz>
5612
5613 * csu/init-first.c: Fix then/than typos.
5614 * locale/programs/ld-collate.c: Likewise.
5615 * locale/programs/linereader.h: Likewise.
5616 * manual/charset.texi: Likewise.
5617 * manual/filesys.texi: Likewise.
5618 * manual/stdio.texi: Likewise.
5619 * manual/string.texi: Likewise.
5620 * stdlib/fmtmsg.c: Likewise.
5621 * sysdeps/i386/stpncpy.S: Likewise.
5622 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5623 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5624 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5625 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5626
382466e0
OB
56272013-08-30 Ondřej Bílka <neleai@seznam.cz>
5628
5629 * elf/dl-open.c: Fix typos.
5630 * iconvdata/gbbig5.c: Likewise.
5631 * iconvdata/iso-2022-jp.c: Likewise.
5632 * iconv/gconv_int.h: Likewise.
5633 * iconv/loop.c: Likewise.
5634 * nis/rpcsvc/nis.h: Likewise.
5635 * resolv/ns_name.c: Likewise.
5636 * stdio-common/vfscanf.c: Likewise.
5637 * streams/stropts.h: Likewise.
5638 * sunrpc/rpc_thread.c: Likewise.
5639 * sysdeps/i386/strpbrk.S: Likewise.
5640 * sysdeps/ieee754/k_standard.c: Likewise.
5641 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5642 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5643 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5644 * sysdeps/mach/hurd/profil.c: Likewise.
5645 * sysdeps/s390/dl-procinfo.h: Likewise.
5646 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5647 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5648 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5649 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5650 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5651
0186c6e9
OB
56522013-08-30 Ondřej Bílka <neleai@seznam.cz>
5653
5654 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5655 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5656
d4e16af1
OB
56572013-08-29 Ondřej Bílka <neleai@seznam.cz>
5658
5659 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5660 aix specific files.
5661 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5662 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5663 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5664 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5665 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5666 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5667 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5668 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5669
88335980
TS
56702013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5671 Roland McGrath <roland@hack.frob.com>
5672
5673 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5674 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5675
ed479b02
ST
56762013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5677
5678 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5679 __executable_start symbol instead of _start.
5680
f1cc4c86
TS
56812013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5682
d821f07c
TS
5683 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5684 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5685 Move macros to...
5686 * sysdeps/gnu/ldsodefs.h: ... this new file.
5687
c54290cf
TS
5688 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5689 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5690 instead of ELFOSABI_LINUX.
5691
0007fc9b 5692 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5693 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5694 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5695 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5696 Likewise.
5697 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5698 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5699 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5700 Likewise.
5701 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5702 (ibm_extended_long_double): Add ieee_nan member.
5703 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5704 (do_test): New function.
5705
f1cc4c86
TS
5706 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5707 TEST_TRUNC.
5708 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5709 functions, renamed from truncdfsf_test, trunctfsf_test,
5710 trunctfdf_test.
5711 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5712 functions.
5713 (do_test): Run all these.
5714
6f65e668
OB
57152013-08-29 Ondřej Bílka <neleai@seznam.cz>
5716
5717 * argp/argp-help.c: Fix typos.
5718 * argp/argp-parse.c: Likewise.
5719 * debug/backtracesyms.c: Likewise.
5720 * elf/elf.h: Likewise.
5721 * malloc/malloc.c: Likewise.
5722 * nis/nis_print.c: Likewise.
5723 * resolv/res_comp.c: Likewise.
5724 * stdlib/stdlib.h: Likewise.
5725 * sunrpc/clnt_tcp.c: Likewise.
5726 * sunrpc/clnt_udp.c: Likewise.
5727 * sunrpc/clnt_unix.c: Likewise.
5728 * sysdeps/unix/bsd/ptsname.c: Likewise.
5729 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5730 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5732 Likewise.
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5734 Likewise.
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5736 Likewise.
6f65e668
OB
5737 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5738
3a309239
SP
57392013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5740
5741 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5743
3b813b29
MF
57442013-08-27 Mike Frysinger <vapier@gentoo.org>
5745
5746 [BZ #15897]
5747 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5748 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5749 ($(objpfx)bug-dl-leaf): New rule.
5750 ($(objpfx)bug-dl-leaf.so): Likewise.
5751 ($(objpfx)bug-dl-leaf.out): Likewise.
5752 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5753 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5754 * dlfcn/bug-dl-leaf.c: New test.
5755 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5756 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5757 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5758 (dlclose): Likewise.
5759 (dlmopen): Likewise.
5760
8cc3269f
RM
57612013-08-27 Roland McGrath <roland@hack.frob.com>
5762
7f9d0034
RM
5763 * include/netdb.h [!_ISOMAC]:
5764 Don't include <tls.h>.
5765 (h_errno, __libc_h_errno): Move declaration and macros out of
5766 [_LIBC_REENTRANT].
5767
fb431262
RM
5768 * include/resolv.h [_RESOLV_H_]:
5769 Don't include <tls.h>.
5770 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5771 * resolv/res_libc.c: Don't include <tls.h>.
5772 (_res): Use __attribute__ ((nocommon)) in place of
5773 __attribute__ ((section (".bss"))).
5774
bd81123a
RM
5775 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5776 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5777
c4e42566
RM
5778 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5779
f890a59b
RM
5780 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5781 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5782
5783 * resolv/res_mkquery.c: Include <sys/time.h>.
5784
5d1f0a09
RM
5785 * inet/ifreq.c: Moved to ...
5786 * sysdeps/unix/ifreq.c: ... here.
5787 * inet/ifreq.c: New file, true stub version.
5788
6fcf28b3
RM
5789 * socket/sa_len.c: New file.
5790 * socket/Makefile (aux): Add it.
5791 * sysdeps/unix/sysv/linux/Makefile
5792 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5793 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5794 and #include <socket/sa_len.c>.
5795 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5796 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5797
e041fb8b
RM
5798 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5799 * bits/socket.h: ... here.
5800
8cc3269f
RM
5801 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5802 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5803 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5804
5d228a43
AS
58052013-08-27 Andreas Schwab <schwab@suse.de>
5806
45b8accc
AS
5807 [BZ #15736]
5808 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5809 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5810 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5811 * string/test-strcasecmp.c (test_main): Run tests in several
5812 locales.
5813 * string/test-strncasecmp.c (test_main): Likewise.
5814
5d228a43
AS
5815 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5816 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5817 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5818 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5819 (__strncasecmp_ssse3) [PIC]: Likewise.
5820
59d112a4
RM
58212013-08-26 Roland McGrath <roland@hack.frob.com>
5822
53234cc3
RM
5823 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5824
59d112a4
RM
5825 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5826 instead of explicitly declaring xdecrypt.
5827 * nis/nss_nis/nis-publickey.c: Likewise.
5828
595aba70
SP
58292013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5830
5831 [BZ #15890]
5832 * nscd/aicache.c: Include res_hconf.h.
5833 (addhstaiX): Initialize res_hconf.
5834
ffabd393
AS
58352013-08-26 Andreas Schwab <schwab@suse.de>
5836
5837 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5838 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5839
e0a69f5c
SP
58402013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5841
5842 * nscd/aicache.c (addhstaiX): Fix indentation.
5843
8c12f01d
MF
58442013-08-25 Mike Frysinger <vapier@gentoo.org>
5845
5846 * configure.ac: Quote $build_pt_chown test.
5847 * configure: Regenerated.
5848
8fe89494
JM
58492013-08-23 Joseph Myers <joseph@codesourcery.com>
5850
5851 [BZ #15532]
5852 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5853 * math/s_cexpf.c (__cexpf): Likewise.
5854 * math/s_cexpl.c (__cexpl): Likewise.
5855 * math/libm-test.inc (cexp_test_data): Correct expected return
5856 value for NaN + i0. Add another test.
5857
75b181d6
DM
58582013-08-22 David S. Miller <davem@davemloft.net>
5859
5860 * po/ca.po: Update Catalan translation from translation project.
936241e4 5861 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5862
acd06bb1
JM
58632013-08-21 Joseph Myers <joseph@codesourcery.com>
5864
5865 [BZ #15797]
5866 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5867 is infinite, not alongside NaN test.
5868 * math/s_fdimf.c (__fdimf): Likewise.
5869 * math/s_fdiml.c (__fdiml): Likewise.
5870 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5871 errno is unchanged.
5872
c0c3f78a
OB
58732013-08-21 Ondřej Bílka <neleai@seznam.cz>
5874
5875 * argp/argp-help.c: Fix typos.
5876 * crypt/speeds.c: Likewise.
5877 * csu/check_fds.c: Likewise.
5878 * elf/dl-load.c: Likewise.
5879 * elf/dl-open.c: Likewise.
5880 * elf/reldep3.c: Likewise.
5881 * elf/reldep.c: Likewise.
5882 * elf/sprof.c: Likewise.
5883 * iconv/iconv_charmap.c: Likewise.
5884 * iconv/skeleton.c: Likewise.
5885 * iconv/strtab.c: Likewise.
5886 * io/lockf64.c: Likewise.
5887 * libio/libioP.h: Likewise.
5888 * resolv/gai_notify.c: Likewise.
5889 * resolv/ns_name.c: Likewise.
5890 * resolv/ns_samedomain.c: Likewise.
5891 * resolv/res_send.c: Likewise.
5892 * stdlib/random.c: Likewise.
5893 * sunrpc/rpc/xdr.h: Likewise.
5894 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5895 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5896 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5897 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5898 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5901 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5902 * sysdeps/mach/hurd/check_fds.c: Likewise.
5903 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5904 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5905 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5906 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5907 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5908 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5909 * sysdeps/pthread/aio_notify.c: Likewise.
5910 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5911 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5912 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5913 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5914 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5915
46ed1038
LD
59162013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5917
5918 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5919 version if bit_Slow_SSE4_2 is set.
5920 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5921 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5922
d400dcac
AZ
59232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5924
5925 [BZ #15867]
5926 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5927 trampoline stack frame information.
5928 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5929 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5930 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5931 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5932 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5933 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5934 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5935 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5936 sa_flags value.
5937 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5938 interrupting a syscall and set with option SA_SIGINFO.
5939
42c8fdd8
JM
59402013-08-20 Joseph Myers <joseph@codesourcery.com>
5941
c980f2f4
JM
5942 [BZ #15531]
5943 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5944 argument is infinite.
5945 * math/s_cprojf.c (__cprojf): Likewise.
5946 * math/s_cprojl.c (__cprojl): Likewise.
5947 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5948 * math/libm-test.inc (cproj_test_data): Add more tests.
5949
0716c4fc
JM
5950 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5951
42c8fdd8
JM
5952 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5953 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5954 size. Use __ffs to determine corresponding shift.
5955
b31469d0
JM
59562013-08-20 Joseph Myers <joseph@codesourcery.com>
5957 Roland McGrath <roland@hack.frob.com>
5958
5959 * Makefile (INSTALL): Remove trailing blank lines from output of
5960 makeinfo.
5961
4e39af6e
AK
59622013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5963
5964 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5965 Align 32 bit compat elf_greg to 8 bytes.
5966
f315524e
AA
59672013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5968
5969 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5970
1326ba1a
SP
59712013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5972
5973 * string/strcoll_l.c (coll_seq): New structure.
5974 (get_next_seq_cached): New function.
5975 (get_next_seq): New function.
5976 (do_compare): New function.
5977 (STRCOLL): Use GNU style definition. Simplify implementation
5978 by using get_next_seq, get_next_seq_cached and do_compare.
5979
91ce4085
FW
59802013-08-16 Florian Weimer <fweimer@redhat.com>
5981
5982 [BZ #14699]
5983 CVE-2013-4237
5984 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5985 member.
5986 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5987 member.
5988 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5989 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5990 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5991 conditional.
5992 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5993 GETDENTS_64BIT_ALIGNED.
5994 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5995 * manual/filesys.texi (Reading/Closing Directory): Document
5996 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5997 strongly.
5998 * manual/conf.texi (Limits for Files): Add portability note to
5999 NAME_MAX, PATH_MAX.
6000 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6001
ca0a6bc4
AS
60022013-08-13 Andreas Schwab <schwab@suse.de>
6003
6004 [BZ #15749]
6005 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6006 of fabs.
6007 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6008 LDBL_MAX_EXP >= 16384]: Add tests for it.
6009
6c1fd795
DM
60102013-08-12 David S. Miller <davem@davemloft.net>
6011
6012 * version.h (RELEASE): Set to "development".
6013 (VERSION): Set to "2.18.90".
6014 * NEWS: Add 2.19 section.
6015
31ad488d
DM
60162013-08-03 David S. Miller <davem@davemloft.net>
6017
6018 * po/ko.po: Update Korean translation from translation project.
6019
db24e684
DM
60202013-08-01 David S. Miller <davem@davemloft.net>
6021
6022 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6023 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6024 Bilka.
6025
f723285b
DM
60262013-07-30 David S. Miller <davem@davemloft.net>
6027
6028 * po/fr.po: Update French translation from translation project.
6029
3cbc52db
DM
60302013-07-28 David S. Miller <davem@davemloft.net>
6031
30bbc0cc
DM
6032 * po/cs.po: Update Czech translation from translation project.
6033
3cbc52db
DM
6034 * po/sv.po: Update Swedish translation from translation project.
6035
d492e6d0
DM
60362013-07-27 David S. Miller <davem@davemloft.net>
6037
f1a7f492
DM
6038 * po/eo.po: Update Esperanto translation from translation project.
6039
90e62a4a
DM
6040 * po/vi.po: Update Vietnamese translation from translation project.
6041
d492e6d0
DM
6042 * po/de.po: Update German translation from translation project.
6043
d4baa62d
DM
60442013-07-26 David S. Miller <davem@davemloft.net>
6045
641aa7b4
DM
6046 * po/bg.po: Update Bulgarian translation from translation project.
6047
d4baa62d
DM
6048 * po/nl.po: Update Dutch translation from translation project.
6049 * po/pl.po: Update Polish translation from translation project.
6050 * po/ru.po: Update Russian translation from translation project.
6051
61a9dcb9
DM
60522013-07-24 David S. Miller <davem@davemloft.net>
6053
6054 * po/libc.pot: Update.
6055
7b1f8b58
AZ
60562013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6057
6058 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6059 variable page size.
6060 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6061 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6062 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6063
a8fc7a03
AK
60642013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6065
6066 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6067
e4608715
CD
60682013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6069 Andreas Schwab <schwab@suse.de>
6070 Roland McGrath <roland@hack.frob.com>
6071 Joseph Myers <joseph@codesourcery.com>
6072 Carlos O'Donell <carlos@redhat.com>
6073
6074 [BZ #15755]
6075 * config.h.in: Define HAVE_PT_CHOWN.
6076 * config.make.in (build-pt-chown): New variable.
6077 * configure.in (--enable-pt_chown): New configure option.
6078 * configure: Regenerate.
6079 * login/Makefile: Include Makeconfig. Build pt_chown only if
6080 build-pt-chown is enabled.
6081 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6082 pt_chown to fix pty ownership.
6083 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6084 CLOSE_ALL_FDS.
6085 * manual/install.texi (Configuring and compiling): Mention
6086 --enable-pt_chown. Add @findex for grantpt.
6087 * INSTALL: Regenerate.
6088
da2d62df
DM
60892013-07-20 David S. Miller <davem@davemloft.net>
6090
6091 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6092 difference between 32-bit and 64-bit.
6093
d7e06450
CD
60942013-07-15 Carlos O'Donell <carlos@redhat.com>
6095
6096 [BZ #15711]
6097 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6098 Avoid system header dependency with -ffreestanding.
6099 ($(objpfx)bits/syscall%d): Likewise.
6100
f959cfd7
DM
61012013-07-13 David S. Miller <davem@davemloft.net>
6102
6103 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6104 underflows from atanl/atan2l due to bug 15319.
6105 (casinh_test_data): Likewise.
6106
c61f8513
DM
61072013-07-07 David S. Miller <davem@davemloft.net>
6108
6109 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6110
72c90ed0
JA
61112013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6112
6113 * sysdeps/i386/fpu/libm-test-ulps: Update.
6114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6115
52dfbe13
SP
61162013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6117
6118 * configure.in (--enable-lock-elision): Fix message text.
6119 * INSTALL: Regenerate.
6120 * configure: Regenerate.
6121
3f169543
AZ
61222013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6123
6124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6125
521c6785
AJ
61262013-07-03 Andreas Jaeger <aj@suse.de>
6127
6128 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6129 define.
6130 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6131 (ptrace_peeksiginfo_args): Add.
6132 (__ptrace_peeksiginfo_flags): Add.
6133 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6134 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6135 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6136
d2cc15cb
AM
61372013-07-03 Allan McRae <allan@archlinux.org>
6138
6139 * sysdeps/i386/fpu/libm-test-ulps: Update.
6140
3aaeeca7
DM
61412013-07-02 David S. Miller <davem@davemloft.net>
6142
6143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6144
5314ed1a
MT
61452013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6146
6147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6148
67338156
JM
61492013-07-02 Joseph Myers <joseph@codesourcery.com>
6150
6151 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6153
1717da59
AK
61542013-07-02 Andi Kleen <ak@linux.intel.com>
6155
6156 * config.h.in (ENABLE_LOCK_ELISION): Add.
6157 * configure.in (--enable-lock-elision): Add option.
6158 * manual/install.texi: Document --enable lock elision.
6159 * configure: Regenerate
6160 * INSTALL: Regenerate.
6161
1c81621c
L
61622013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6163
6164 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6165 SSE4.2 strcasecmp for libc.a.
6166 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6167
77f01ab5
JM
61682013-07-02 Joseph Myers <joseph@codesourcery.com>
6169
6170 [BZ #13304]
6171 * soft-fp/op-common.h (_FP_FMA): New macro.
6172 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6173 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6174 (_FP_MUL_MEAT_1_imm): ... here.
6175 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6176 (_FP_MUL_MEAT_1_wide): ... here.
6177 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6178 (_FP_MUL_MEAT_1_hard): ... here.
6179 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6180 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6181 (_FP_MUL_MEAT_2_wide): ... here.
6182 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6183 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6184 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6185 (_FP_MUL_MEAT_2_gmp): ... here.
6186 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6187 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6188 (_FP_MUL_MEAT_4_wide): ... here.
6189 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6190 (_FP_MUL_MEAT_4_gmp): ... here.
6191 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6192 (_FP_WFRACBITS_DW_S): Likewise.
6193 (_FP_WFRACXBITS_DW_S): Likewise.
6194 (_FP_HIGHBIT_DW_S): Likewise.
6195 (FP_FMA_S): Likewise.
6196 (_FP_FRAC_HIGH_DW_S): Likewise.
6197 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6198 (_FP_WFRACBITS_DW_D): Likewise.
6199 (_FP_WFRACXBITS_DW_D): Likewise.
6200 (_FP_HIGHBIT_DW_D): Likewise.
6201 (FP_FMA_D): Likewise.
6202 (_FP_FRAC_HIGH_DW_D): Likewise.
6203 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6204 (_FP_WFRACBITS_DW_E): Likewise.
6205 (_FP_WFRACXBITS_DW_E): Likewise.
6206 (_FP_HIGHBIT_DW_E): Likewise.
6207 (FP_FMA_E): Likewise.
6208 (_FP_FRAC_HIGH_DW_E): Likewise.
6209 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6210 (_FP_WFRACBITS_DW_Q): Likewise.
6211 (_FP_WFRACXBITS_DW_Q): Likewise.
6212 (_FP_HIGHBIT_DW_Q): Likewise.
6213 (FP_FMA_Q): Likewise.
6214 (_FP_FRAC_HIGH_DW_Q): Likewise.
6215 * soft-fp/fmasf4.c: New file.
6216 * soft-fp/fmadf4.c: Likewise.
6217 * soft-fp/fmatf4.c: Likewise.
6218
6308fd9a
LD
62192013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6220
6221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6222 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6223 Silvermont.
6224 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6225 macro.
6226 (index_Slow_SSE4_2): Likewise.
6227 (index_Prefer_PMINUB_for_stringop): Likewise.
6228 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6229 bit_Slow_SSE4_2 is set.
6230 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6231 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6232
89cd9569
RA
62332013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6234
6235 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6236 rtld_global._dl_hwcap2.
6237 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6238 POWER8.
6239 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6240 POWER8 feature descriptions defined in _dl_hwcap2.
6241 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6242 string handling for POWER8 feature bits.
6243 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6244 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6245 _dl_powerpc_cap_flags.
6246 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6247 * sysdeps/powerpc/rtld-global-offsets.sym
6248 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6249 _dl_hwcap2 in the rtld_global_ro structure.
6250
1ae8bfe0
RA
62512013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6252
6253 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6254 hardware capabilities in support of AT_HWCAP2.
6255 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6256 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6257 GLRO(dl_hwcap2).
6258 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6259 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6260 explicitly the unknown a_type display mechanism is used.
6261 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6262 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6263 struct member.
6264 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6265 to macro prototype for AT_HWCAP2 support.
6266 * sysdeps/i386/dl-procinfo.h: Likewise.
6267 * sysdeps/s390/dl-procinfo.h: Likewise.
6268 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6269 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6270 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6271 return -1 for unknown a_type display fallback.
6272 * sysdeps/sparc/dl-procinfo.h: Likewise.
6273 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6274 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6275
8fbec010
JM
62762013-06-28 Joseph Myers <joseph@codesourcery.com>
6277
6278 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6279 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6280
0432680e
PY
62812013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6282
6283 [BZ #12492]
6284 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6285 mprotect making __stack_prot writable.
6286
ce61a2ad
NF
62872013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6288 Joseph Myers <joseph@codesourcery.com>
6289
6290 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6291 as being properly aligned.
6292
f91f1c0f
MR
62932013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6294
3d0f5d0c
MR
6295 * dlfcn/modstatic5.c: New file.
6296 * dlfcn/tststatic5.c: New file.
6297 * dlfcn/Makefile (tests): Add tststatic5.
6298 (tests-static): Likewise.
6299 (modules-names): Add modstatic5.
6300 (tststatic5-ENV): New variable.
6301 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6302
f91f1c0f
MR
6303 [BZ #15022]
6304 * elf/dl-support.c (_dl_main_map): New variable.
6305 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6306 (_dl_nns, _dl_load_adds): Set to 1.
6307 (_dl_initial_searchlist): Refer to _dl_main_map.
6308 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6309 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6310 call to _dl_get_origin.
6311 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6312 around call_map.
6313 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6314 * dlfcn/modstatic3.c: New file.
6315 * dlfcn/tststatic3.c: New file.
6316 * dlfcn/tststatic4.c: New file.
6317 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6318 (tests-static): Likewise.
6319 (modules-names): Add modstatic3.
6320 (tststatic3-ENV, tststatic4-ENV): New variables.
6321 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6322 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6323
cbe7d24b
JM
63242013-06-26 Joseph Myers <joseph@codesourcery.com>
6325
6326 * configure.in (CC): Require GCC version 4.4 or later.
6327 * configure: Regenerated.
6328 * manual/install.texi (Tools for Compilation): Update GCC version
6329 requirement.
6330 * INSTALL: Regenerated.
6331
11b8a0e1
LD
63322013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6333
6334 [BZ #15674]
bb5bb87c
L
6335 * string/test-memcmp.c (check2): New.
6336 (main): Call check2.
6337
11b8a0e1
LD
6338 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6339
b0037103
MR
63402013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6341
6342 [BZ #15022]
6343 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6344 over to...
6345 (dl_open_worker) [!SHARED]: ... here.
6346
c18c701d
RA
63472013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6348
6349 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6350
1d17fa5f
RH
63512013-06-25 Richard Henderson <rth@redhat.com>
6352
6353 * locale/programs/locarchive.c: Include <libc-internal.h>
6354
8fcb833a
JM
63552013-06-25 Joseph Myers <joseph@codesourcery.com>
6356
6357 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6358 trailing whitespace removed.
6359
17db6e8d
MF
63602013-06-24 Mike Frysinger <vapier@gentoo.org>
6361
6362 [BZ #10283]
17db6e8d
MF
6363 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6364 * locale/programs/locarchive.c: Include libc-mmap.h.
6365 (prepare_address_space): Take two new outputs (the mmap base and len).
6366 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6367 values.
6368 (create_archive): Declare new mmap base and len values for
6369 prepare_address_space, and store the result in ah.
6370 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6371 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6372 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6373 Declare new mmap base and len values for
6374 prepare_address_space, and store the result in new_ah.
6375 (open_archive): Declare new mmap base and len values for
6376 prepare_address_space, and store the result in ah.
6377 (close_archive): If ah->mmap_base is not NULL, use that and
6378 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6379 * sysdeps/generic/libc-mmap.h: New file.
6380
d605071e
MF
63812013-06-24 Mike Frysinger <vapier@gentoo.org>
6382
6383 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6384 (ALIGN_UP): Likewise.
6385 (PTR_ALIGN_DOWN): Likewise.
6386 (PTR_ALIGN_UP): Likewise.
6387
2f063a6e
RA
63882013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6389
6390 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6391 entry mapped to PPC_PLATFORM_POWER8.
6392 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6393 POWER8.
6394 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6395 (_dl_string_platform): Add case for exporting platform position for
6396 POWER8.
6397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6398 search path to sysdeps/powerpc/powerpc32/power8 directory.
6399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6400 search path to sysdeps/powerpc/powerpc64/power8 directory.
6401 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6402 power7 directories.
6403 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6404 power7 directories.
6405
a31ee4b3
SP
64062013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6407
a74ca98f
SP
6408 * INSTALL: Regenerate.
6409
a31ee4b3
SP
6410 * nscd/connections.c (nscd_init): Fix comment.
6411
695c378f
JM
64122013-06-22 Joseph Myers <joseph@codesourcery.com>
6413
d8412221
JM
6414 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6415
695c378f
JM
6416 [BZ #15667]
6417 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6418 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6419
d1d54715
MR
64202013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6421
6422 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6423 DL_DST_REQ_STATIC.
6424 (DL_DST_REQ_STATIC): Remove macro.
6425
8fdda7af
JM
64262013-06-21 Joseph Myers <joseph@codesourcery.com>
6427
6428 [BZ #7006]
6429 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6430 with a shift of 0 bits.
6431
f3bc5e5a
MR
64322013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6433
6434 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6435 $(tststatic-ENV).
6436
be09e8c9
KK
64372013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6438
6439 [BZ #15655]
6440 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6441
85c2e611
AZ
64422013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6443
6444 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6445 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6446 accepts -fno-tree-loop-distribute-patterns.
6447 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6448 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6449 recursive call.
6450 * string/memset.c (memset): Likewise.
6451 * string/test-memmove.c (simple_memmove): Disable loop transformation
6452 to library calls.
6453 * string/test-memset.c (simple_memset): Likewise.
6454 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6455 * benchtests/bench-memset.c (simple_memset): Likewise.
6456 * configure: Regenerated.
6457
c91e0825
JM
64582013-06-20 Joseph Myers <joseph@codesourcery.com>
6459
b8c792af
JM
6460 * math/test-misc.c (main): Ignore fesetround failure when failures
6461 of subsequent rounding tests would be ignored.
6462
c91e0825
JM
6463 [BZ #15654]
6464 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6465 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6466 * math/fegetenv.c (__fegetenv): Return 0.
6467 * math/fegetexcept.c (fegetexcept): Return 0.
6468 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6469 FE_TONEAREST.
6470 * math/feholdexcpt.c (feholdexcept): Return 0.
6471 * math/fesetenv.c (__fesetenv): Return 0.
6472 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6473 argument FE_TONEAREST.
6474 * math/feupdateenv.c (__feupdateenv): Return 0.
6475 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6476
bfcacbde
RM
64772013-06-18 Roland McGrath <roland@hack.frob.com>
6478
6479 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6480 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6481 ($(objpfx)rtld-%.os rules): Use them.
6482
e55a9b25
AZ
64832013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6484
6485 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6486 fields.
6487
346d65b3
RM
64882013-06-17 Roland McGrath <roland@hack.frob.com>
6489
12086fb4
RM
6490 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6491 length of target pattern, then descending length of dependency pattern.
6492 * configure.in (AWK): Require gawk 3.1.2 or newer.
6493 * manual/install.texi (Tools for Compilation): Say that we do.
6494 * configure: Regenerated.
6495
346d65b3
RM
6496 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6497 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6498 * scripts/sysd-rules.awk: ... this new script.
6499 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6500 than a glob-style pattern.
6501
1a846317
JM
65022013-06-17 Joseph Myers <joseph@codesourcery.com>
6503
6504 * math/test-misc.c (main): Do not treat incorrectly rounded
6505 conversions as failure unless ROUNDING_TESTS passes.
6506
8fc75e6f
JM
65072013-06-15 Joseph Myers <joseph@codesourcery.com>
6508
3711a167
JM
6509 [BZ #15631]
6510 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6511 restore exception state around main square root computation, then
6512 check for inexactness explicitly.
6513
8fc75e6f
JM
6514 * math/libm-test.inc (fma_test_data): Add another test.
6515
61dd6208
SP
65162013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6517
adf23d2c
SP
6518 * manual/threads.texi (Non-POSIX Extensions): New document
6519 node. Document pthread_getattr_default_np and
6520 pthread_setattr_default_np.
6521
61dd6208
SP
6522 * Versions.def (libpthread): Add GLIBC_2.18.
6523 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6525 Likewise.
6526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6527 Likewise.
6528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6529 Likewise.
6530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6531 Likewise.
6532 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6533 Likewise.
6534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6535 Likewise.
6536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6537 Likewise.
6538 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6539 Likewise.
6540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6541 Likewise.
6542
d086fc7b
LD
65432013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6544
6545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6546 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6547
747ef469
SP
65482013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6549 H.J. Lu <hjl.tools@gmail.com>
6550
6551 [BZ #15627]
6552 * sysdeps/x86_64/rtld-memset.c: Remove file.
6553 * sysdeps/x86_64/rtld-memset.S: New file.
6554
1b2feed2
JM
65552013-06-14 Joseph Myers <joseph@codesourcery.com>
6556
6557 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6558 (test_in_one_mode): Take arguments for whether the rounding mode
6559 is supported for each floating-point type.
6560 (do_test): Pass new arguments to test_in_one_mode using
6561 ROUNDING_TESTS.
6562
a58ad3f8
RM
65632013-06-13 Roland McGrath <roland@hack.frob.com>
6564
6565 * posix/tst-waitid.c (do_test): Distinguish different instances of
6566 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6567 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6568 before entering the kernel for waitpid.
6569
c204ab28
SP
65702013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6571
6572 * NEWS: Fix note on clock function precision. Text by Roland
6573 McGrath.
6574
f4a29fba
RM
65752013-06-13 Roland McGrath <roland@hack.frob.com>
6576
6577 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6578 it into place only when and if the sanity check passes.
6579
1f24b9ad
JM
65802013-06-13 Joseph Myers <joseph@codesourcery.com>
6581
6582 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6583 output for whether conversion result is exact. Take argument
6584 indicating whether type is IBM long double.
6585 (round_for_all): Change need_exact field to ibm_ld.
6586 * stdlib/tst-strtod-round.c (struct exactness): New type.
6587 (struct test): Change bool ld_ok field to struct exactness exact.
6588 (TEST): Update all definitions for change to field.
6589 (tests): Regenerate array contents.
6590 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6591 field value. Check for IBM long double here.
6592 (do_test): Update calls to test_in_one_mode.
6593
58206c68
SP
65942013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6595
6596 [BZ #12515]
6597 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6598 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6599
2d6f4c5b 66002013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6601
6602 [BZ #15605]
6603 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6604 generated by the compiler on loop optimizations.
6605 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6606 general definitions.
6607
94f2c076
JM
66082013-06-12 Joseph Myers <joseph@codesourcery.com>
6609
6610 * math/bug-nextafter.c: Include <math-tests.h>.
6611 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6612 the relevant type.
6613 * math/bug-nexttoward.c: Include <math-tests.h>.
6614 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6615 the relevant type.
6616 * math/test-misc.c: Include <math-tests.h>.
6617 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6618 the relevant type.
6619
e0e50a0a
AJ
66202013-06-12 Andreas Jaeger <aj@suse.de>
6621
6622 * po/ia.po: Update Interlingua translation from translation
6623 project.
6624
25061094
SP
66252013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6626
6627 * include/fenv.h: Include stdbool.h.
6628 (struct rm_ctx): New structure.
6629 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6630 Define macro.
6631 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6632 (SET_RESTORE_ROUNDF): Likewise.
6633 (SET_RESTORE_ROUNDL): Likewise.
6634 (SET_RESTORE_ROUND_NOEX): Likewise.
6635 (SET_RESTORE_ROUND_NOEXF): Likewise.
6636 (SET_RESTORE_ROUND_NOEXL): Likewise.
6637 (SET_RESTORE_ROUND_53BIT): Likewise.
6638 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6639 (libc_feresetround_noexf_ctx): Likewise.
6640 (libc_feresetround_noexl_ctx): Likewise.
6641 (libc_feholdsetround_53bit_ctx): Likewise.
6642 (libc_feresetround_53bit_ctx): Likewise.
6643 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6644 (libc_feholdexcept_setround_sse_ctx): New function.
6645 (libc_fesetenv_sse_ctx): Likewise.
6646 (libc_feupdateenv_sse_ctx): Likewise.
6647 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6648 (libc_feholdexcept_setround_387_ctx): Likewise.
6649 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6650 (libc_feholdsetround_387_prec_ctx): Likewise.
6651 (libc_feholdsetround_387_ctx): Likewise.
6652 (libc_feholdsetround_387_53bit_ctx): Likewise.
6653 (libc_feholdsetround_sse_ctx): Likewise.
6654 (libc_feresetround_sse_ctx): Likewise.
6655 (libc_feresetround_387_ctx): Likewise.
6656 (libc_feupdateenv_387_ctx): Likewise.
6657 (libc_feholdexcept_setroundf_ctx): Define macro.
6658 (libc_fesetenvf_ctx): Likewise.
6659 (libc_feupdateenvf_ctx): Likewise.
6660 (libc_feholdsetroundf_ctx): Likewise.
6661 (libc_feresetroundf_ctx): Likewise.
6662 (libc_feholdexcept_setround_ctx): Likewise.
6663 (libc_fesetenv_ctx): Likewise.
6664 (libc_feupdateenv_ctx): Likewise.
6665 (libc_feholdsetround_ctx): Likewise.
6666 (libc_feresetround_ctx): Likewise.
6667 (libc_feholdexcept_setroundl_ctx): Likewise.
6668 (libc_feupdateenvl_ctx): Likewise.
6669 (libc_feholdsetroundl_ctx): Likewise.
6670 (libc_feresetroundl_ctx): Likewise.
6671 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6672 (libc_feresetround_53bit_ctx): Likewise.
6673
59b30555
SP
66742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6675
6676 * locale/iso-639.def: Convert to UTF-8.
6677
f1d73d30
JM
66782013-06-11 Joseph Myers <joseph@codesourcery.com>
6679
6680 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6681 (EXCEPTION_TESTS_double): Likewise.
6682 (EXCEPTION_TESTS_long_double): Likewise.
6683 (EXCEPTION_TESTS): Likewise.
6684 * math/libm-test.inc (test_exceptions): Only test exceptions if
6685 EXCEPTION_TESTS (FLOAT).
6686
94aca5e7
SP
66872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6688
6689 * benchtests/Makefile (string-bench): Add strcpy_chk and
6690 stpcpy_chk.
6691 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6692 * benchtests/bench-stpcpy_chk.c: New file.
6693 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6694 * benchtests/bench-strcpy_chk.c: New file.
6695 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6696 code.
6697 (do_test): Likewise.
6698
fac0c5f2
RA
66992013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6700
6701 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6702 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6703 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6704 with tabs where appropriate.
6705 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6706 dl-procinfo.h.
6707 [PPC_PLATFORM_PPC440]: Likewise.
6708 [PPC_PLATFORM_PPC464]: Likewise.
6709 [PPC_PLATFORM_PPC476]: Likewise.
6710 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6711 ppc464, and ppc476 platform strings merging from ports/
6712 dl-procinfo.h.
6713
f22bc486
AS
67142013-06-11 Andreas Schwab <schwab@suse.de>
6715
6716 [BZ #14991]
6717 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6718 (from_ucs4_idx): Regenerate.
6719 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6720 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6721 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6722 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6723 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6724 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6725 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6726 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6727 from FROM_LOOP and TO_LOOP specific macros.
6728 (BODY): Handle combining characters.
6729 * iconvdata/BIG5HKSCS.irreversible: Update.
6730 * iconvdata/BIG5HKSCS.precomposed: New file.
6731 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6732 characters.
6733 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6734
c1f75dc3
SP
67352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6736
4eacded2
SP
6737 * include/sys/time.h: Fix indentation and add copyright header.
6738
fec799f8
SP
6739 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6740 (do_test): Likewise.
6741 * string/test-memchr.c (do_one_test): Likewise.
6742 (do_test): Likewise.
6743 * string/test-memcmp.c (do_one_test): Likewise.
6744 (do_test): Likewise.
6745 * string/test-memcpy.c (do_one_test): Likewise.
6746 (do_test): Likewise.
6747 * string/test-memmem.c (do_one_test): Likewise.
6748 (do_test): Likewise.
6749 (do_random_tests): Likewise.
6750 * string/test-memmove.c (do_one_test): Likewise.
6751 (do_test): Likewise.
6752 * string/test-memset.c (do_one_test): Likewise.
6753 (do_test): Likewise.
6754 * string/test-rawmemchr.c (do_one_test): Likewise.
6755 (do_test): Likewise.
6756 * string/test-strcasecmp.c (do_one_test): Likewise.
6757 (do_test): Likewise.
6758 * string/test-strcasestr.c (do_one_test): Likewise.
6759 (do_test): Likewise.
6760 * string/test-strcat.c (do_one_test): Likewise.
6761 (do_test): Likewise.
6762 * string/test-strchr.c (do_one_test): Likewise.
6763 (do_test): Likewise.
6764 * string/test-strcmp.c (do_one_test): Likewise.
6765 (do_test): Likewise.
6766 * string/test-strcpy.c (do_one_test): Likewise.
6767 (do_test): Likewise.
6768 * string/test-string.h: Likewise.
6769 (test_init): Likewise.
6770 * string/test-strlen.c (do_one_test): Likewise.
6771 (do_test): Likewise.
6772 * string/test-strncasecmp.c (do_one_test): Likewise.
6773 (do_test): Likewise.
6774 * string/test-strncat.c (do_one_test): Likewise.
6775 (do_test): Likewise.
6776 * string/test-strncmp.c (do_one_test): Likewise.
6777 (do_test_limit): Likewise.
6778 (do_test): Likewise.
6779 * string/test-strncpy.c (do_one_test): Likewise.
6780 (do_test): Likewise.
6781 * string/test-strnlen.c (do_one_test): Likewise.
6782 (do_test): Likewise.
6783 * string/test-strpbrk.c (do_one_test): Likewise.
6784 (do_test): Likewise.
6785 * string/test-strrchr.c (do_one_test): Likewise.
6786 (do_test): Likewise.
6787 * string/test-strspn.c (do_one_test): Likewise.
6788 (do_test): Likewise.
6789 * string/test-strstr.c (do_one_test): Likewise.
6790 (do_test): Likewise.
6791
97020474
SP
6792 * benchtests/Makefile (string-bench): Add string benchmarks.
6793 * benchtests/bench-bcopy-ifunc.c: New file.
6794 * benchtests/bench-bcopy.c: New file.
6795 * benchtests/bench-bzero-ifunc.c: New file.
6796 * benchtests/bench-bzero.c: New file.
6797 * benchtests/bench-memccpy-ifunc.c: New file.
6798 * benchtests/bench-memccpy.c: New file.
6799 * benchtests/bench-memchr-ifunc.c: New file.
6800 * benchtests/bench-memchr.c: New file.
6801 * benchtests/bench-memcmp-ifunc.c: New file.
6802 * benchtests/bench-memcmp.c: New file.
6803 * benchtests/bench-memmem-ifunc.c: New file.
6804 * benchtests/bench-memmem.c: New file.
6805 * benchtests/bench-memmove-ifunc.c: New file.
6806 * benchtests/bench-memmove.c: New file.
6807 * benchtests/bench-mempcpy-ifunc.c: New file.
6808 * benchtests/bench-mempcpy.c: New file.
6809 * benchtests/bench-memset-ifunc.c: New file.
6810 * benchtests/bench-memset.c: New file.
6811 * benchtests/bench-rawmemchr-ifunc.c: New file.
6812 * benchtests/bench-rawmemchr.c: New file.
6813 * benchtests/bench-stpcpy-ifunc.c: New file.
6814 * benchtests/bench-stpcpy.c: New file.
6815 * benchtests/bench-stpncpy-ifunc.c: New file.
6816 * benchtests/bench-stpncpy.c: New file.
6817 * benchtests/bench-strcasecmp-ifunc.c: New file.
6818 * benchtests/bench-strcasecmp.c: New file.
6819 * benchtests/bench-strcasestr-ifunc.c: New file.
6820 * benchtests/bench-strcasestr.c: New file.
6821 * benchtests/bench-strcat-ifunc.c: New file.
6822 * benchtests/bench-strcat.c: New file.
6823 * benchtests/bench-strchr-ifunc.c: New file.
6824 * benchtests/bench-strchr.c: New file.
6825 * benchtests/bench-strchrnul-ifunc.c: New file.
6826 * benchtests/bench-strchrnul.c: New file.
6827 * benchtests/bench-strcmp-ifunc.c: New file.
6828 * benchtests/bench-strcmp.c: New file.
6829 * benchtests/bench-strcpy-ifunc.c: New file.
6830 * benchtests/bench-strcpy.c: New file.
6831 * benchtests/bench-strcspn-ifunc.c: New file.
6832 * benchtests/bench-strcspn.c: New file.
6833 * benchtests/bench-strlen-ifunc.c: New file.
6834 * benchtests/bench-strlen.c: New file.
6835 * benchtests/bench-strncasecmp-ifunc.c: New file.
6836 * benchtests/bench-strncasecmp.c: New file.
6837 * benchtests/bench-strncat-ifunc.c: New file.
6838 * benchtests/bench-strncat.c: New file.
6839 * benchtests/bench-strncmp-ifunc.c: New file.
6840 * benchtests/bench-strncmp.c: New file.
6841 * benchtests/bench-strncpy-ifunc.c: New file.
6842 * benchtests/bench-strncpy.c: New file.
6843 * benchtests/bench-strnlen-ifunc.c: New file.
6844 * benchtests/bench-strnlen.c: New file.
6845 * benchtests/bench-strpbrk-ifunc.c: New file.
6846 * benchtests/bench-strpbrk.c: New file.
6847 * benchtests/bench-strrchr-ifunc.c: New file.
6848 * benchtests/bench-strrchr.c: New file.
6849 * benchtests/bench-strspn-ifunc.c: New file.
6850 * benchtests/bench-strspn.c: New file.
6851 * benchtests/bench-strstr-ifunc.c: New file.
6852 * benchtests/bench-strstr.c: New file.
6853
c1f75dc3
SP
6854 * benchtests/Makefile: Disable parallel execution of targets.
6855 (string-bench): Add memcpy.
6856 (benchset): New variable to store a list of benchmark sets.
6857 (bench-func): Renamed from bench.
6858 (bench-set): New target.
6859 (bench): Depend on bench-func and bench-set.
6860 * benchtests/README: Add section on benchmark sets.
6861 * benchtests/bench-memcpy-ifunc.c: New file.
6862 * benchtests/bench-memcpy.c: New file.
6863 * benchtests/bench-string.h: New file.
6864
50fd745b
AS
68652013-06-11 Andreas Schwab <schwab@suse.de>
6866
6867 [BZ #15577]
6868 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6869 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6870 values in the triple.
6871 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6872 terminator in the group key.
6873
3ee7e9fe
AJ
68742013-06-11 Andreas Jaeger <aj@suse.de>
6875
6876 * po/zh_TW.po: Update Chinese (traditional) translation from
6877 translation project.
6878
89fb6835
SP
68792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6880
6881 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6882 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6883 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6884 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6885 (clock_getcpuclockid): Likewise.
6886 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6887 Add weak_alias and libc_hidden_def.
6888 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6889 * rt/clock_gettime.c (clock_gettime): Rename to
6890 __clock_gettime. Add weak_alias and libc_hidden_def.
6891 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6892 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6893 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6894 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6895 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6896 Likewise.
6897 * rt/clock_settime.c (clock_settime): Rename to
6898 __clock_settime. Add weak_alias and libc_hidden_def.
6899 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6900
0efa6f8b
JM
69012013-06-10 Joseph Myers <joseph@codesourcery.com>
6902
b8c61b4b
JM
6903 * mach/err_boot.sub: Remove trailing whitespace.
6904 * mach/err_ipc.sub: Likewise.
6905 * mach/err_mach.sub: Likewise.
6906
0efa6f8b
JM
6907 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6908 (ROUNDING_TESTS_double): Likewise.
6909 (ROUNDING_TESTS_long_double): Likewise.
6910 (ROUNDING_TESTS): Likewise.
6911 * math/libm-test.inc: Include <math-tests.h>.
6912 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6913 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6914 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6915 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6916
50b818bf
SP
69172013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6918
6919 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6920 of assigning.
6921
60d2f8f3
JM
69222013-06-08 Joseph Myers <joseph@codesourcery.com>
6923
4902d2c3
JM
6924 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6925 otherwise empty TRANS lines.
6926 * sysdeps/gnu/errlist.c: Regenerated.
6927
60d2f8f3
JM
6928 * catgets/gencat.c (error_print): Use (void) in function
6929 definition.
6930 * crypt/crypt_util.c (__init_des): Likewise.
6931 * crypt/speeds.c (Stop): Likewise.
6932 (main): Likewise.
6933 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6934 * inet/ruserpass.c (token): Likewise.
6935 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6936 * intl/localealias.c (extend_alias_table): Likewise.
6937 * intl/plural-exp.c (init_germanic_plural): Likewise.
6938 * libio/fcloseall.c (__fcloseall): Likewise.
6939 * libio/genops.c (_IO_flush_all): Likewise.
6940 (_IO_flush_all_linebuffered): Likewise.
6941 (_IO_cleanup): Likewise.
6942 (_IO_iter_begin): Likewise.
6943 (_IO_iter_end): Likewise.
6944 (_IO_list_lock): Likewise.
6945 (_IO_list_unlock): Likewise.
6946 (_IO_list_resetlock): Likewise.
6947 * libio/getchar.c (getchar): Likewise.
6948 * libio/getchar_u.c (getchar_unlocked): Likewise.
6949 * libio/getwchar.c (getwchar): Likewise.
6950 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6951 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6952 * login/getpt.c (__getpt): Likewise.
6953 * login/tst-utmp.c (main): Likewise.
6954 * malloc/hooks.c (__malloc_check_init): Likewise.
6955 * malloc/malloc.c (__malloc_stats): Likewise.
6956 * malloc/mtrace.c (tr_break): Likewise.
6957 (mtrace): Likewise.
6958 (muntrace): Likewise.
6959 * misc/fstab.c (endfsent): Likewise.
6960 * misc/getclktck.c (__getclktck): Likewise.
6961 * misc/getdtsz.c (__getdtablesize): Likewise.
6962 * misc/gethostid.c (gethostid): Likewise.
6963 * misc/getpagesize.c (__getpagesize): Likewise.
6964 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6965 (__get_nprocs): Likewise.
6966 (__get_phys_pages): Likewise.
6967 (__get_avphys_pages): Likewise.
6968 * misc/getttyent.c (getttyent): Likewise.
6969 (setttyent): Likewise.
6970 (endttyent): Likewise.
6971 * misc/getusershell.c (getusershell): Likewise.
6972 (endusershell): Likewise.
6973 (setusershell): Likewise.
6974 (initshells): Likewise.
6975 * misc/hsearch.c (__hdestroy): Likewise.
6976 * misc/sync.c (sync): Likewise.
6977 * misc/syslog.c (closelog_internal): Likewise.
6978 (closelog): Likewise.
6979 * misc/ttyslot.c (ttyslot): Likewise.
6980 * misc/vhangup.c (vhangup): Likewise.
6981 * posix/fork.c (__fork): Likewise.
6982 * posix/getegid.c (__getegid): Likewise.
6983 * posix/geteuid.c (__geteuid): Likewise.
6984 * posix/getgid.c (__getgid): Likewise.
6985 * posix/getpid.c (__getpid): Likewise.
6986 * posix/getppid.c (__getppid): Likewise.
6987 * posix/getuid.c (__getuid): Likewise.
6988 * posix/pause.c (pause): Likewise.
6989 * posix/setpgrp.c (setpgrp): Likewise.
6990 * posix/setsid.c (__setsid): Likewise.
6991 * posix/test-vfork.c (noop): Likewise.
6992 * resolv/gethnamaddr.c (_endhtent): Likewise.
6993 (_gethtent): Likewise.
6994 (ht_endhostent): Likewise.
6995 (gethostent): Likewise.
6996 (dns_service): Likewise.
6997 * stdlib/drand48.c (drand48): Likewise.
6998 * stdlib/lrand48.c (lrand48): Likewise.
6999 * stdlib/mrand48.c (mrand48): Likewise.
7000 * stdlib/rand.c (rand): Likewise.
7001 * stdlib/random.c (__random): Likewise.
7002 * stdlib/setenv.c (clearenv): Likewise.
7003 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7004 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7005 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7006 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7007 (__get_nprocs): Likewise.
7008 (__get_phys_pages): Likewise.
7009 (__get_avphys_pages): Likewise.
7010 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7011 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7012 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7013 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7014 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7015 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7016 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7017 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7018 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7019 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7020 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7021 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7022 * sysdeps/posix/clock.c (clock): Likewise.
7023 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7024 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7025 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7026 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7027 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7028 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7029 (__get_nprocs_conf): Likewise.
7030 (__get_phys_pages): Likewise.
7031 (__get_avphys_pages): Likewise.
7032 * time/clock.c (clock): Likewise.
7033 * time/tzset.c (__tzname_max): Likewise.
7034
2e09a79a
JM
70352013-06-07 Joseph Myers <joseph@codesourcery.com>
7036
7037 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7038 (__bswap_32): Do not use "register".
7039 * crypt/crypt.c (_ufc_doit_r): Likewise.
7040 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7041 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7042 * gmon/gmon.c (__monstartup): Likewise.
7043 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7044 * hurd/hurdmalloc.c (more_memory): Likewise.
7045 (malloc): Likewise.
7046 (free): Likewise.
7047 (realloc): Likewise.
7048 (malloc_fork_prepare): Likewise.
7049 (malloc_fork_parent): Likewise.
7050 (malloc_fork_child): Likewise.
7051 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7052 (_svcauth_des): Likewise.
7053 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7054 * inet/inet_net.c (inet_network): Likewise.
7055 * inet/inet_netof.c (inet_netof): Likewise.
7056 * inet/rcmd.c (__validuser2_sa): Likewise.
7057 * io/fts.c (fts_open): Likewise.
7058 (fts_load): Likewise.
7059 (fts_close): Likewise.
7060 (fts_read): Likewise.
7061 (fts_children): Likewise.
7062 (fts_build): Likewise.
7063 (fts_stat): Likewise.
7064 (fts_sort): Likewise.
7065 (fts_alloc): Likewise.
7066 (fts_lfree): Likewise.
7067 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7068 (_IO_file_xsgetn): Likewise.
7069 (_IO_file_xsgetn_mmap): Likewise.
7070 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7071 (_IO_cookie_write): Likewise.
7072 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7073 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7074 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7075 * malloc/obstack.c (_obstack_begin): Likewise.
7076 (_obstack_begin_1): Likewise.
7077 (_obstack_newchunk): Likewise.
7078 (_obstack_allocated_p): Likewise.
7079 (obstack_free): Likewise.
7080 (_obstack_memory_used): Likewise.
7081 * misc/getttyent.c (getttynam): Likewise.
7082 (getttyent): Likewise.
7083 (skip): Likewise.
7084 (value): Likewise.
7085 * misc/getusershell.c (initshells): Likewise.
7086 * misc/syslog.c (__vsyslog_chk): Likewise.
7087 * misc/ttyslot.c (ttyslot): Likewise.
7088 * nis/nis_hash.c (__nis_hash): Likewise.
7089 * posix/fnmatch_loop.c (FCT): Likewise.
7090 * posix/getconf.c (print_all): Likewise.
7091 (main): Likewise.
7092 * posix/getopt.c (exchange): Likewise.
7093 * posix/glob.c (globfree): Likewise.
7094 (prefix_array): Likewise.
7095 (__glob_pattern_type): Likewise.
7096 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7097 (NS_GET32): Likewise.
7098 (NS_PUT16): Likewise.
7099 (NS_PUT32): Likewise.
7100 * resolv/gethnamaddr.c (getanswer): Likewise.
7101 (gethostbyname2): Likewise.
7102 (gethostbyaddr): Likewise.
7103 (_gethtent): Likewise.
7104 (_gethtbyname2): Likewise.
7105 (_gethtbyaddr): Likewise.
7106 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7107 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7108 * resolv/res_init.c (__res_vinit): Likewise.
7109 (net_mask): Likewise.
7110 * resolv/res_mkquery.c (outchar): Likewise.
7111 (PRINT): Likewise.
7112 * stdio-common/printf_fp.c (outchar): Likewise.
7113 (PRINT): Likewise.
7114 * stdio-common/printf_fphex.c (outchar): Likewise.
7115 (PRINT): Likewise.
7116 * stdio-common/printf_size.c (outchar): Likewise.
7117 (PRINT): Likewise.
7118 * stdio-common/test_rdwr.c (main): Likewise.
7119 * stdio-common/tfformat.c (matches): Likewise.
7120 * stdio-common/vfprintf.c (outchar): Likewise.
7121 (printf_unknown): Likewise.
7122 (buffered_vfprintf): Likewise.
7123 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7124 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7125 (ReadFile): Likewise.
7126 * stdlib/qsort.c (SWAP): Likewise.
7127 (_quicksort): Likewise.
7128 * stdlib/setenv.c (__add_to_environ): Likewise.
7129 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7130 * stdlib/strtol_l.c (__strtol_l): Likewise.
7131 * stdlib/tst-strtod.c (main): Likewise.
7132 * stdlib/tst-strtol.c (main): Likewise.
7133 * stdlib/tst-strtoll.c (main): Likewise.
7134 * string/bits/string2.h (__strcmp_cc): Likewise.
7135 (__strcmp_cg): Likewise.
7136 (__strcspn_c1): Likewise.
7137 (__strcspn_c2): Likewise.
7138 (__strcspn_c3): Likewise.
7139 (__strspn_c1): Likewise.
7140 (__strspn_c2): Likewise.
7141 (__strspn_c3): Likewise.
7142 (__strsep_1c): Likewise.
7143 (__strsep_2c): Likewise.
7144 (__strsep_3c): Likewise.
7145 * string/memccpy.c (__memccpy): Likewise.
7146 * string/stpcpy.c (__stpcpy): Likewise.
7147 * string/strcmp.c (strcmp): Likewise.
7148 * string/strrchr.c (strrchr): Likewise.
7149 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7150 Likewise.
7151 * sysdeps/mach/hurd/getcwd.c
7152 (_hurd_canonicalize_directory_name_internal): Likewise.
7153 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7154 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7155 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7156 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7157 Likewise, in both definitions.
7158 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7159 definitions.
7160 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7161 64] (__bswap_64): Likewise.
7162 * time/test_time.c (main): Likewise.
7163 * time/tzfile.c (__tzfile_read): Likewise.
7164 (__tzfile_compute): Likewise.
7165 * time/tzset.c (__tzset_parse_tz): Likewise.
7166 (tzset_internal): Likewise.
7167 (compute_change): Likewise.
7168 * wcsmbs/wcscat.c (__wcscat): Likewise.
7169 * wcsmbs/wcschr.c (wcschr): Likewise.
7170 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7171 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7172 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7173 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7174 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7175 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7176 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7177 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7178 * wcsmbs/wmemset.c (wmemset): Likewise.
7179
9e54314b
JM
71802013-06-06 Joseph Myers <joseph@codesourcery.com>
7181
7182 * scripts/config.guess: Update to version 2013-05-16.
7183 * scripts/config.sub: Update to version 2013-04-24.
7184 * scripts/install-sh: Update to version 2011-11-20.07.
7185 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7186 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7187
350635a5
OB
71882013-06-06 Ondřej Bílka <neleai@seznam.cz>
7189
7190 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7191 * elf/sln.c: Likewise.
7192 * hurd/hurd/ioctl.h: Likewise.
7193 * hurd/hurdmalloc.c: Likewise.
7194 * hurd/xattr.c: Likewise.
7195 * include/shlib-compat.h: Likewise.
7196 * inet/ruserpass.c: Likewise.
7197 * libio/iofgets_u.c: Likewise.
7198 * libio/iofgetws_u.c: Likewise.
7199 * locale/programs/ld-identification.c: Likewise.
7200 * locale/programs/ld-time.c: Likewise.
7201 * mach/msg-destroy.c: Likewise.
7202 * nss/nss_files/files-netgrp.c: Likewise.
7203 * resolv/res_data.c: Likewise.
7204 * soft-fp/op-1.h: Likewise.
7205 * soft-fp/op-2.h: Likewise.
7206 * soft-fp/op-4.h: Likewise.
7207 * soft-fp/op-common.h: Likewise.
7208 * stdio-common/printf_fphex.c: Likewise.
7209 * stdlib/strtod_l.c: Likewise.
7210 * sunrpc/rpc/clnt.h: Likewise.
7211 * sysdeps/generic/framestate.c: Likewise.
7212 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7213 * sysdeps/i386/bsd-setjmp.S: Likewise.
7214 * sysdeps/i386/__longjmp.S: Likewise.
7215 * sysdeps/i386/setjmp.S: Likewise.
7216 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7217 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7218 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7219 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7223 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7226 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7227 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7228 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7232 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7233 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7234 * sysdeps/ieee754/support.c: Likewise.
7235 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7236 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7237 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7238 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7239 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7240 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7241 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7242 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7243 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7244 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7245 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7246 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7247 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7248 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7249 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7250 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7251 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7253
44a988af
OB
72542013-06-05 Ondřej Bílka <neleai@seznam.cz>
7255
25506f09 7256 * posix/transbug.c: Remove executable mode.
44a988af 7257
9c84384c
JM
72582013-06-05 Joseph Myers <joseph@codesourcery.com>
7259
7260 * crypt/speeds.c: Remove trailing whitespace.
7261 * dlfcn/default.c: Likewise.
7262 * elf/ifuncdep2.c: Likewise.
7263 * elf/ifuncmain1.c: Likewise.
7264 * elf/ifuncmain1vis.c: Likewise.
7265 * elf/testobj.h: Likewise.
7266 * elf/tst-stackguard1.c: Likewise.
7267 * gmon/sys/gmon.h: Likewise.
7268 * hurd/hurdmsg.c: Likewise.
7269 * hurd/new-fd.c: Likewise.
7270 * hurd/ports-get.c: Likewise.
7271 * iconvdata/ibm1008_420.c: Likewise.
7272 * inet/tst-getni1.c: Likewise.
7273 * inet/tst-getni2.c: Likewise.
7274 * libio/ioungetc.c: Likewise.
7275 * libio/wfiledoalloc.c: Likewise.
7276 * manual/libm-err-tab.pl: Likewise.
7277 * math/w_dremf.c: Likewise.
7278 * misc/ftruncate.c: Likewise.
7279 * posix/bug-glob2.c: Likewise.
7280 * posix/tst-pcre.c: Likewise.
7281 * posix/wait4.c: Likewise.
7282 * resolv/README: Likewise.
7283 * resolv/res_debug.h: Likewise.
7284 * resolv/tst-inet_ntop.c: Likewise.
7285 * setjmp/bug269-setjmp.c: Likewise.
7286 * soft-fp/extended.h: Likewise.
7287 * soft-fp/op-1.h: Likewise.
7288 * soft-fp/op-2.h: Likewise.
7289 * soft-fp/op-4.h: Likewise.
7290 * soft-fp/op-8.h: Likewise.
7291 * soft-fp/testit.c: Likewise.
7292 * stdio-common/bug16.c: Likewise.
7293 * stdlib/random.c: Likewise.
7294 * sunrpc/rpcsvc/rquota.x: Likewise.
7295 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7296 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7298 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7299 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7300 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7301 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7302 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7303 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7304 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7305 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7306 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7307 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7308 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7309 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7310 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7311 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7312 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7313 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7314 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7315 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7316 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7317 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7318 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7319 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7320 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7321 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7322 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7323 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7324 * sysdeps/ieee754/s_lib_version.c: Likewise.
7325 * sysdeps/mach/hurd/check_fds.c: Likewise.
7326 * sysdeps/mach/hurd/getsockname.c: Likewise.
7327 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7328 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7329 * sysdeps/powerpc/bits/link.h: Likewise.
7330 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7331 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7332 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7333 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7334 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7335 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7336 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7337 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7338 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7339 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7340 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7341 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7342 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7343 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7344 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7345 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7346 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7347 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7348 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7349 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7350 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7351 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7352 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7353 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7354 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7355 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7356 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7357 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7358 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7359 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7360 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7361 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7362 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7363 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7364 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7365 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7366 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7367 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7368 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7369 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7370 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7371 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7372 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7373 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7374 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7375 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7376 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7377 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7378 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7379 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7380 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7381 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7382 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7383 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7384 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7385 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7386 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7387 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7388 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7389 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7390 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7391 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7392 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7393 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7394 * sysdeps/powerpc/sysdep.h: Likewise.
7395 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7396 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7397 * sysdeps/sh/dl-trampoline.S: Likewise.
7398 * sysdeps/sh/memset.S: Likewise.
7399 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7400 * sysdeps/sh/strlen.S: Likewise.
7401 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7402 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7403 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7404 * sysdeps/sparc/sparc32/rem.S: Likewise.
7405 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7406 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7407 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7408 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7409 * sysdeps/sparc/sparc32/urem.S: Likewise.
7410 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7411 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7412 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7413 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7414 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7415 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7416 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7417 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7418 * sysdeps/unix/bsd/times.c: Likewise.
7419 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7420 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7424 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7425 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7426 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7427 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7428 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7429 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7430 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7431 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7432 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7433 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7434 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7435 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7436 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7437 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7438 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7439 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7440 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7441 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7442 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7443 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7444 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7445 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7446 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7447 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7448 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7449 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7450 * sysdeps/x86_64/strcspn.S: Likewise.
7451
869378a5
RA
74522013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7453
7454 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7455 generated file. Regenerate properly from gen-translit.pl.
7456 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7457 locale/C-translit.h.
7458
840e2943
AS
74592013-06-05 Andreas Schwab <schwab@suse.de>
7460
7461 [BZ #15100]
7462 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7463 week as 6 instead of -1.
7464 * time/tst-strptime.c (day_tests): Add test case.
7465
4c60cb0c
SP
74662013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7467
7468 * sysdeps/generic/math_private.h
7469 (libc_feholdexcept_setround_53bit): Replace with
7470 libc_feholdsetround_53bit.
7471 (libc_feupdateenv_53bit): Replace with
7472 libc_feresetround_53bit.
7473 (SET_RESTORE_ROUND_53BIT): Adjust.
7474
d180203e
SP
74752013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7476
96df079a
SP
7477 * string/test-strchrnul.c: Add copyright header.
7478
d180203e
SP
7479 * posix/tst-getaddrinfo4.c: Increase test timeout.
7480
8b0ccb2d
CD
74812013-06-03 Carlos O'Donell <carlos@redhat.com>
7482
7483 [BZ #15536]
7484 * math/libm-test.inc (MAX_EXP): Remove
7485 (MIN_EXP): Define.
7486 (ulp): Use MIN_EXP - MANT_DIG.
7487 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7488
3b3c4d40
CD
74892013-05-31 Carlos O'Donell <carlos@redhat.com>
7490
7491 * po/be.po: Revert last change.
7492 * po/zh_CN.po: Likewise.
7493 * po/header.pot: Likewise.
7494
fab7ce3f
JM
74952013-05-31 Joseph Myers <joseph@codesourcery.com>
7496
7497 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7498 link-libc-deps to empty as target-specific variable.
7499 * Makerules (link-libc-args): New variable.
7500 (libc-for-link): Likewise.
7501 (link-libc-deps): Likewise.
7502 (lib%.so): Depend on $(link-libc-deps). Link with
7503 $(link-libc-args).
7504 (build-module): Link with $(link-libc-args).
7505 (build-module-asneeded): Likewise.
7506 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7507 list of objects.
7508 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7509 target-specific variable.
7510 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7511 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7512 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7513 libc.
7514 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7515 libc and ld.so.
7516 ($(objpfx)libpcprofile.so): Likewise.
7517 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7518 libc_nonshared.a.
7519 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7520 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7521 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7522 $(link-libc-deps).
7523 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7524 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7525 * login/Makefile ($(objpfx)libutil.so): Likewise.
7526 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7527 * math/Makefile ($(objpfx)libm.so): Likewise.
7528 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7529 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7530 variable instead of depending directly on libc.
7531 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7532 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7533 $(link-libc-deps).
7534 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7535 libc.
7536 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7537 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7538 ($(objpfx)libanl.so): Likewise.
7539 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7540 ld.so.
7541 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7542 $(link-libc-deps).
7543 * sysdeps/i386/fpu/Makefile: Remove file.
7544 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7545 ($(objpfx)libm.so): Remove dependency on ld.so.
7546
eca5920c
PF
75472013-05-30 Patsy Franklin <pfrankli@redhat.com>
7548
7549 [BZ # 15553]
7550 * nis/yp_xdr.c (XDRMAXNAME): Define.
7551 (XDRMAXRECORD): Define.
7552 (xdr_domainname): Use XDRMAXNAME.
7553 (xdr_mapname): Likewise.
7554 (xdr_peername): Likewise.
7555 (xdr_keydat): Use XDRMAXRECORD.
7556 (xdr_valdat): Likewise.
7557
75582013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7559
7560 [BZ #14256]
7561 * manual/errno.texi (ESTALE): Update to account for more than
7562 just NFS file systems.
7563 * sysdeps/gnu/errlist.c: Regenerated.
7564
b9375348
SP
75652013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7566
7567 [BZ #15465]
7568 * elf/Makefile (tests): Add tst-null-argv.
7569 (modules-names): Add tst-null-argv-lib.
7570 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7571 (tst-null-argv-ENV): Set environment for tst-null-argv.
7572 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7573 (RTLD_PROGNAME): New macro.
7574 * elf/tst-null-argv.c: New test case.
7575 * elf/tst-null-argv-lib.c: Library for test case.
7576 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7577 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7578 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7579 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7580 * elf/dl-init.c (call_init): Likewise.
7581 (_dl_init): Likewise.
7582 * elf/dl-load.c (print_search_path): Likewise.
7583 (_dl_map_object): Likewise.
7584 * elf/dl-lookup.c (do_lookup_x): Likewise.
7585 (add_dependency): Likewise.
7586 (_dl_lookup_symbol_x): Likewise.
7587 (_dl_debug_bindings): Likewise.
7588 * elf/dl-open.c (_dl_show_scope): Likewise.
7589 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7590 * elf/dl-version.c (match_symbol): Likewise.
7591 (_dl_check_map_versions): Likewise.
7592 * elf/rtld.c (dl_main): Likewise.
7593 (print_unresolved): Use RTLD_PROGNAME.
7594 (print_missing_version): Likewise.
7595 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7596 (elf_machine_rela): Likewise.
7597 * sysdeps/powerpc/powerpc32/dl-machine.c
7598 (__process_machine_rela): Likewise.
7599 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7600 Likewise.
7601 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7602 Likewise.
7603 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7604 Likewise.
7605 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7606 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7607 Likewise.
7608 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7609 Likewise.
7610 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7611
8a9f20c8
CD
76122013-05-28 Carlos O'Donell <carlos@redhat.com>
7613
7614 * po/be.po: Add descriptive title.
7615 * po/zh_CN.po: Likewise.
7616 * po/header.pot: Likewise.
7617
0e60d68e
MF
76182013-05-28 Mike Frysinger <vapier@gentoo.org>
7619
7620 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7621 error message.
7622 (enlarge_archive): Likewise.
7623
56b672e9
BN
76242013-05-28 Ben North <ben@redfrontdoor.org>
7625
7626 * manual/arith.texi (frexp): It is the magnitude of the return
7627 value which lies in [0.5, 1), not the return value itself.
7628
5e056687
AZ
76292013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7630
7631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7632
2b66ef5d
TS
76332013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7634
528c2405
TS
7635 * stdio-common/bug26.c (main): Correct fscanf template.
7636
07b4c13d
TS
7637 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7638 declare _dl_skip_args.
7639
ec9dd97c
TS
7640 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7641 Don't declare.
7642
2b66ef5d
TS
7643 * manual/platform.texi: Add missing @end deftypefun.
7644
4f8dfe27
JM
76452013-05-24 Joseph Myers <joseph@codesourcery.com>
7646
0323d086
JM
7647 [BZ #15529]
7648 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7649 bit of mantissa of 2^16382.
7650 * math/libm-test.inc (hypot_test_data): Add more tests.
7651
dd4259b9
JM
7652 * math/libm-test.inc: Add drem and pow10 to list of tested
7653 functions.
7654 (pow10_test): New function.
7655 (drem_test): Likewise.
7656 (drem_test_tonearest): Likewise.
7657 (drem_test_towardzero): Likewise.
7658 (drem_test_downward): Likewise.
7659 (drem_test_upward): Likewise.
7660 (main): Call the new functions.
7661
4f8dfe27
JM
7662 * math/libm-test.inc (finite_test_data): Remove.
7663 (finite_test): Run tests from isfinite_test_data.
7664 (gamma_test_data): Remove.
7665 (gamma_test): Run tests from lgamma_test_data.
7666 * sysdeps/i386/fpu/libm-test-ulps: Update.
7667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7668
d116b7c4
AZ
76692013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7670
7671 * manual/platform.texi: Add PowerPC PPR function set documentation.
7672 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7673 implementation.
7674
e96e3767
CD
76752013-05-24 Carlos O'Donell <carlos@redhat.com>
7676
7677 * math/libm-test.inc (MAX_EXP): Define.
7678 (ULPDIFF): Define.
7679 (ulp): New function.
7680 (check_float_internal): Use ULPDIFF.
7681 (cpow_test): Disable failing test.
7682 (check_ulp): Test ulp() implemetnation.
7683 (main): Call check_ulp before starting tests.
7684
b679a606
JM
76852013-05-24 Joseph Myers <joseph@codesourcery.com>
7686
e8bdba36
JM
7687 * math/gen-libm-test.pl (generate_testfile): Do not handle
7688 START_DATA and END_DATA.
7689 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7690 END_DATA.
7691 (acos_tonearest_test_data): Likewise.
7692 (acos_towardzero_test_data): Likewise.
7693 (acos_downward_test_data): Likewise.
7694 (acos_upward_test_data): Likewise.
7695 (acosh_test_data): Likewise.
7696 (asin_test_data): Likewise.
7697 (asin_tonearest_test_data): Likewise.
7698 (asin_towardzero_test_data): Likewise.
7699 (asin_downward_test_data): Likewise.
7700 (asin_upward_test_data): Likewise.
7701 (asinh_test_data): Likewise.
7702 (atan_test_data): Likewise.
7703 (atanh_test_data): Likewise.
7704 (atan2_test_data): Likewise.
7705 (cabs_test_data): Likewise.
7706 (cacos_test_data): Likewise.
7707 (cacosh_test_data): Likewise.
7708 (carg_test_data): Likewise.
7709 (casin_test_data): Likewise.
7710 (casinh_test_data): Likewise.
7711 (catan_test_data): Likewise.
7712 (catanh_test_data): Likewise.
7713 (cbrt_test_data): Likewise.
7714 (ccos_test_data): Likewise.
7715 (ccosh_test_data): Likewise.
7716 (ceil_test_data): Likewise.
7717 (cexp_test_data): Likewise.
7718 (cimag_test_data): Likewise.
7719 (clog_test_data): Likewise.
7720 (clog10_test_data): Likewise.
7721 (conj_test_data): Likewise.
7722 (copysign_test_data): Likewise.
7723 (cos_test_data): Likewise.
7724 (cos_tonearest_test_data): Likewise.
7725 (cos_towardzero_test_data): Likewise.
7726 (cos_downward_test_data): Likewise.
7727 (cos_upward_test_data): Likewise.
7728 (cosh_test_data): Likewise.
7729 (cosh_tonearest_test_data): Likewise.
7730 (cosh_towardzero_test_data): Likewise.
7731 (cosh_downward_test_data): Likewise.
7732 (cosh_upward_test_data): Likewise.
7733 (cpow_test_data): Likewise.
7734 (cproj_test_data): Likewise.
7735 (creal_test_data): Likewise.
7736 (csin_test_data): Likewise.
7737 (csinh_test_data): Likewise.
7738 (csqrt_test_data): Likewise.
7739 (ctan_test_data): Likewise.
7740 (ctan_tonearest_test_data): Likewise.
7741 (ctan_towardzero_test_data): Likewise.
7742 (ctan_downward_test_data): Likewise.
7743 (ctan_upward_test_data): Likewise.
7744 (ctanh_test_data): Likewise.
7745 (ctanh_tonearest_test_data): Likewise.
7746 (ctanh_towardzero_test_data): Likewise.
7747 (ctanh_downward_test_data): Likewise.
7748 (ctanh_upward_test_data): Likewise.
7749 (erf_test_data): Likewise.
7750 (erfc_test_data): Likewise.
7751 (exp_test_data): Likewise.
7752 (exp_tonearest_test_data): Likewise.
7753 (exp_towardzero_test_data): Likewise.
7754 (exp_downward_test_data): Likewise.
7755 (exp_upward_test_data): Likewise.
7756 (exp10_test_data): Likewise.
7757 (exp2_test_data): Likewise.
7758 (expm1_test_data): Likewise.
7759 (fabs_test_data): Likewise.
7760 (fdim_test_data): Likewise.
7761 (finite_test_data): Likewise.
7762 (floor_test_data): Likewise.
7763 (fma_test_data): Likewise.
7764 (fma_towardzero_test_data): Likewise.
7765 (fma_downward_test_data): Likewise.
7766 (fma_upward_test_data): Likewise.
7767 (fmax_test_data): Likewise.
7768 (fmin_test_data): Likewise.
7769 (fmod_test_data): Likewise.
7770 (fpclassify_test_data): Likewise.
7771 (frexp_test_data): Likewise.
7772 (gamma_test_data): Likewise.
7773 (hypot_test_data): Likewise.
7774 (ilogb_test_data): Likewise.
7775 (isfinite_test_data): Likewise.
7776 (isgreater_test_data): Likewise.
7777 (isgreaterequal_test_data): Likewise.
7778 (isinf_test_data): Likewise.
7779 (isless_test_data): Likewise.
7780 (islessequal_test_data): Likewise.
7781 (islessgreater_test_data): Likewise.
7782 (isnan_test_data): Likewise.
7783 (isnormal_test_data): Likewise.
7784 (issignaling_test_data): Likewise.
7785 (isunordered_test_data): Likewise.
7786 (j0_test_data): Likewise.
7787 (j1_test_data): Likewise.
7788 (jn_test_data): Likewise.
7789 (ldexp_test_data): Likewise.
7790 (lgamma_test_data): Likewise.
7791 (lrint_test_data): Likewise.
7792 (lrint_tonearest_test_data): Likewise.
7793 (lrint_towardzero_test_data): Likewise.
7794 (lrint_downward_test_data): Likewise.
7795 (lrint_upward_test_data): Likewise.
7796 (llrint_test_data): Likewise.
7797 (llrint_tonearest_test_data): Likewise.
7798 (llrint_towardzero_test_data): Likewise.
7799 (llrint_downward_test_data): Likewise.
7800 (llrint_upward_test_data): Likewise.
7801 (log_test_data): Likewise.
7802 (log10_test_data): Likewise.
7803 (log1p_test_data): Likewise.
7804 (log2_test_data): Likewise.
7805 (logb_test_data): Likewise.
7806 (logb_downward_test_data): Likewise.
7807 (lround_test_data): Likewise.
7808 (llround_test_data): Likewise.
7809 (modf_test_data): Likewise.
7810 (nearbyint_test_data): Likewise.
7811 (nextafter_test_data): Likewise.
7812 (nexttoward_test_data): Likewise.
7813 (pow_test_data): Likewise.
7814 (pow_tonearest_test_data): Likewise.
7815 (pow_towardzero_test_data): Likewise.
7816 (pow_downward_test_data): Likewise.
7817 (pow_upward_test_data): Likewise.
7818 (remainder_test_data): Likewise.
7819 (remainder_tonearest_test_data): Likewise.
7820 (remainder_towardzero_test_data): Likewise.
7821 (remainder_downward_test_data): Likewise.
7822 (remainder_upward_test_data): Likewise.
7823 (remquo_test_data): Likewise.
7824 (rint_test_data): Likewise.
7825 (rint_tonearest_test_data): Likewise.
7826 (rint_towardzero_test_data): Likewise.
7827 (rint_downward_test_data): Likewise.
7828 (rint_upward_test_data): Likewise.
7829 (round_test_data): Likewise.
7830 (scalb_test_data): Likewise.
7831 (scalbn_test_data): Likewise.
7832 (scalbln_test_data): Likewise.
7833 (signbit_test_data): Likewise.
7834 (sin_test_data): Likewise.
7835 (sin_tonearest_test_data): Likewise.
7836 (sin_towardzero_test_data): Likewise.
7837 (sin_downward_test_data): Likewise.
7838 (sin_upward_test_data): Likewise.
7839 (sincos_test_data): Likewise.
7840 (sinh_test_data): Likewise.
7841 (sinh_tonearest_test_data): Likewise.
7842 (sinh_towardzero_test_data): Likewise.
7843 (sinh_downward_test_data): Likewise.
7844 (sinh_upward_test_data): Likewise.
7845 (sqrt_test_data): Likewise.
7846 (tan_test_data): Likewise.
7847 (tan_tonearest_test_data): Likewise.
7848 (tan_towardzero_test_data): Likewise.
7849 (tan_downward_test_data): Likewise.
7850 (tan_upward_test_data): Likewise.
7851 (tanh_test_data): Likewise.
7852 (tgamma_test_data): Likewise.
7853 (trunc_test_data): Likewise.
7854 (y0_test_data): Likewise.
7855 (y1_test_data): Likewise.
7856 (yn_test_data): Likewise.
7857 (significand_test_data): Likewise.
7858
b679a606
JM
7859 * math/gen-libm-test.pl (@functions): Remove variable.
7860 (generate_testfile): Don't handle START and END lines.
7861 * math/libm-test.inc (START): New macro.
7862 (END): Likewise.
7863 (END_COMPLEX): Likewise.
7864 (acos_test): Use END macro without arguments.
7865 (acos_test_tonearest): Likewise.
7866 (acos_test_towardzero): Likewise.
7867 (acos_test_downward): Likewise.
7868 (acos_test_upward): Likewise.
7869 (acosh_test): Likewise.
7870 (asin_test): Likewise.
7871 (asin_test_tonearest): Likewise.
7872 (asin_test_towardzero): Likewise.
7873 (asin_test_downward): Likewise.
7874 (asin_test_upward): Likewise.
7875 (asinh_test): Likewise.
7876 (atan_test): Likewise.
7877 (atanh_test): Likewise.
7878 (atan2_test): Likewise.
7879 (cabs_test): Likewise.
7880 (cacos_test): Use END_COMPLEX macro without arguments.
7881 (cacosh_test): Likewise.
7882 (carg_test): Use END macro without arguments.
7883 (casin_test): Use END_COMPLEX macro without arguments.
7884 (casinh_test): Likewise.
7885 (catan_test): Likewise.
7886 (catanh_test): Likewise.
7887 (cbrt_test): Use END macro without arguments.
7888 (ccos_test): Use END_COMPLEX macro without arguments.
7889 (ccosh_test): Likewise.
7890 (ceil_test): Use END macro without arguments.
7891 (cexp_test): Use END_COMPLEX macro without arguments.
7892 (cimag_test): Use END macro without arguments.
7893 (clog_test): Use END_COMPLEX macro without arguments.
7894 (clog10_test): Likewise.
7895 (conj_test): Likewise.
7896 (copysign_test): Use END macro without arguments.
7897 (cos_test): Likewise.
7898 (cos_test_tonearest): Likewise.
7899 (cos_test_towardzero): Likewise.
7900 (cos_test_downward): Likewise.
7901 (cos_test_upward): Likewise.
7902 (cosh_test): Likewise.
7903 (cosh_test_tonearest): Likewise.
7904 (cosh_test_towardzero): Likewise.
7905 (cosh_test_downward): Likewise.
7906 (cosh_test_upward): Likewise.
7907 (cpow_test): Use END_COMPLEX macro without arguments.
7908 (cproj_test): Likewise.
7909 (creal_test): Use END macro without arguments.
7910 (csin_test): Use END_COMPLEX macro without arguments.
7911 (csinh_test): Likewise.
7912 (csqrt_test): Likewise.
7913 (ctan_test): Likewise.
7914 (ctan_test_tonearest): Likewise.
7915 (ctan_test_towardzero): Likewise.
7916 (ctan_test_downward): Likewise.
7917 (ctan_test_upward): Likewise.
7918 (ctanh_test): Likewise.
7919 (ctanh_test_tonearest): Likewise.
7920 (ctanh_test_towardzero): Likewise.
7921 (ctanh_test_downward): Likewise.
7922 (ctanh_test_upward): Likewise.
7923 (erf_test): Use END macro without arguments.
7924 (erfc_test): Likewise.
7925 (exp_test): Likewise.
7926 (exp_test_tonearest): Likewise.
7927 (exp_test_towardzero): Likewise.
7928 (exp_test_downward): Likewise.
7929 (exp_test_upward): Likewise.
7930 (exp10_test): Likewise.
7931 (exp2_test): Likewise.
7932 (expm1_test): Likewise.
7933 (fabs_test): Likewise.
7934 (fdim_test): Likewise.
7935 (finite_test): Likewise.
7936 (floor_test): Likewise.
7937 (fma_test): Likewise.
7938 (fma_test_towardzero): Likewise.
7939 (fma_test_downward): Likewise.
7940 (fma_test_upward): Likewise.
7941 (fmax_test): Likewise.
7942 (fmin_test): Likewise.
7943 (fmod_test): Likewise.
7944 (fpclassify_test): Likewise.
7945 (frexp_test): Likewise.
7946 (gamma_test): Likewise.
7947 (hypot_test): Likewise.
7948 (ilogb_test): Likewise.
7949 (isfinite_test): Likewise.
7950 (isgreater_test): Likewise.
7951 (isgreaterequal_test): Likewise.
7952 (isinf_test): Likewise.
7953 (isless_test): Likewise.
7954 (islessequal_test): Likewise.
7955 (islessgreater_test): Likewise.
7956 (isnan_test): Likewise.
7957 (isnormal_test): Likewise.
7958 (issignaling_test): Likewise.
7959 (isunordered_test): Likewise.
7960 (j0_test): Likewise.
7961 (j1_test): Likewise.
7962 (jn_test): Likewise.
7963 (ldexp_test): Likewise.
7964 (lgamma_test): Likewise.
7965 (lrint_test): Likewise.
7966 (lrint_test_tonearest): Likewise.
7967 (lrint_test_towardzero): Likewise.
7968 (lrint_test_downward): Likewise.
7969 (lrint_test_upward): Likewise.
7970 (llrint_test): Likewise.
7971 (llrint_test_tonearest): Likewise.
7972 (llrint_test_towardzero): Likewise.
7973 (llrint_test_downward): Likewise.
7974 (llrint_test_upward): Likewise.
7975 (log_test): Likewise.
7976 (log10_test): Likewise.
7977 (log1p_test): Likewise.
7978 (log2_test): Likewise.
7979 (logb_test): Likewise.
7980 (logb_test_downward): Likewise.
7981 (lround_test): Likewise.
7982 (llround_test): Likewise.
7983 (modf_test): Likewise.
7984 (nearbyint_test): Likewise.
7985 (nextafter_test): Likewise.
7986 (nexttoward_test): Likewise.
7987 (pow_test): Likewise.
7988 (pow_test_tonearest): Likewise.
7989 (pow_test_towardzero): Likewise.
7990 (pow_test_downward): Likewise.
7991 (pow_test_upward): Likewise.
7992 (remainder_test): Likewise.
7993 (remainder_test_tonearest): Likewise.
7994 (remainder_test_towardzero): Likewise.
7995 (remainder_test_downward): Likewise.
7996 (remainder_test_upward): Likewise.
7997 (remquo_test): Likewise.
7998 (rint_test): Likewise.
7999 (rint_test_tonearest): Likewise.
8000 (rint_test_towardzero): Likewise.
8001 (rint_test_downward): Likewise.
8002 (rint_test_upward): Likewise.
8003 (round_test): Likewise.
8004 (scalb_test): Likewise.
8005 (scalbn_test): Likewise.
8006 (scalbln_test): Likewise.
8007 (signbit_test): Likewise.
8008 (sin_test): Likewise.
8009 (sin_test_tonearest): Likewise.
8010 (sin_test_towardzero): Likewise.
8011 (sin_test_downward): Likewise.
8012 (sin_test_upward): Likewise.
8013 (sincos_test): Likewise.
8014 (sinh_test): Likewise.
8015 (sinh_test_tonearest): Likewise.
8016 (sinh_test_towardzero): Likewise.
8017 (sinh_test_downward): Likewise.
8018 (sinh_test_upward): Likewise.
8019 (sqrt_test): Likewise.
8020 (tan_test): Likewise.
8021 (tan_test_tonearest): Likewise.
8022 (tan_test_towardzero): Likewise.
8023 (tan_test_downward): Likewise.
8024 (tan_test_upward): Likewise.
8025 (tanh_test): Likewise.
8026 (tgamma_test): Likewise.
8027 (trunc_test): Likewise.
8028 (y0_test): Likewise.
8029 (y1_test): Likewise.
8030 (yn_test): Likewise.
8031 (significand_test): Likewise.
8032
bae143d2
OB
80332013-05-24 Ondřej Bílka <neleai@seznam.cz>
8034
8035 [BZ #15381]
8036 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8037
9323d39b
EM
80382013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8039
d4ea44a0 8040 [BZ #14894]
9323d39b
EM
8041 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8042 __ppc_mdoio and __ppc_mdoom.
8043 * manual/platform.texi: Document new functions __ppc_yield,
8044 __ppc_mdoio and __ppc_mdoom.
8045
13e23af7
CD
80462013-05-22 Carlos O'Donell <carlos@redhat.com>
8047
8048 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8049 (main): Mention "tls" pseudo-hwcap is legacy.
8050 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8051
351fe550
JM
80522013-05-22 Joseph Myers <joseph@codesourcery.com>
8053
8054 * math/gen-libm-test.pl (parse_args): Output only string of
8055 arguments as text for test name, not full call or descriptions of
8056 tests for extra outputs.
8057 (generate_testfile): Do not pass function name to parse_args.
8058 Generate this_func variable from START.
8059 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8060 field to arg_str.
8061 (struct test_ff_f_data): Likewise.
8062 (test_ff_f_data_nexttoward): Likewise.
8063 (struct test_fi_f_data): Likewise.
8064 (struct test_fl_f_data): Likewise.
8065 (struct test_if_f_data): Likewise.
8066 (struct test_fff_f_data): Likewise.
8067 (struct test_c_f_data): Likewise.
8068 (struct test_f_f1_data): Likewise. Remove field extra_name.
8069 (struct test_fF_f1_data): Likewise.
8070 (struct test_ffI_f1_data): Likewise.
8071 (struct test_c_c_data): Rename test_name field to arg_str.
8072 (struct test_cc_c_data): Likewise.
8073 (struct test_f_i_data): Likewise.
8074 (struct test_ff_i_data): Likewise.
8075 (struct test_f_l_data): Likewise.
8076 (struct test_f_L_data): Likewise.
8077 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8078 and extra2_name.
8079 (COMMON_TEST_SETUP): New macro.
8080 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8081 (COMMON_TEST_CLEANUP): Likewise.
8082 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8083 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8084 macros.
8085 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8086 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8087 macros.
8088 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8089 (RUN_TEST_fff_f): Take argument string. Call new setup and
8090 cleanup macros.
8091 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8092 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8093 macros.
8094 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8095 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8096 macros.
8097 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8098 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8099 cleanup macros.
8100 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8101 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8102 cleanup macros.
8103 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8104 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8105 cleanup macros.
8106 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8107 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8108 macros.
8109 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8110 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8111 macros.
8112 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8113 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8114 macros.
8115 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8116 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8117 cleanup macros.
8118 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8119 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8120 cleanup macros.
8121 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8122 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8123 macros.
8124 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8125 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8126 cleanup macros.
8127 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8128 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8129 macros.
8130 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8131 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8132 macros.
8133 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8134 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8135 cleanup macros.
8136 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8137
85118d4d
EBM
81382013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8139
8140 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8141 to _sifields.sigfault.
8142 (si_addr_lsb): Define new macro.
8143 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8144 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8145 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8146
7a44c18f
CD
81472013-05-03 Carlos O'Donell <carlos at redhat.com>
8148
8149 [BZ #15441]
8150 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8151 returns -1.
8152 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8153 null return -1.
8154 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8155 loading the domain.
8156
b50a7181
JM
81572013-05-22 Joseph Myers <joseph@codesourcery.com>
8158
8159 * math/gen-libm-test.pl (parse_args): Do not include expected
8160 result in test name.
8161 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8162 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8163 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8164 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8165 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8167
051063c8
SP
81682013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8169
3ce9e010
SP
8170 * benchtests/Makefile: Sort function entries.
8171
051063c8
SP
8172 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8173 tanh, asinh, acosh, atanh.
8174 * benchtests/acos-inputs: New file.
8175 * benchtests/acosh-inputs: New file.
8176 * benchtests/asin-inputs: New file.
8177 * benchtests/asinh-inputs: New file.
8178 * benchtests/atanh-inputs: New file.
8179 * benchtests/cosh-inputs: New file.
8180 * benchtests/log-inputs: New file.
8181 * benchtests/sinh-inputs: New file.
8182 * benchtests/tanh-inputs: New file.
8183
47c22455
DL
81842013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8185
8186 [BZ #15339]
8187 * posix/tst-getaddrinfo4.c: New test.
8188 * posix/Makefile (tests): Add it.
8189
3d04f5db
SP
81902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8191
8192 [BZ #15339]
8193 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8194 when no services were used.
8195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8196 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8197
d5dd6189
AS
81982013-05-21 Andreas Schwab <schwab@suse.de>
8199
8200 [BZ #15014]
8201 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8202 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8203 successful.
8204 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8205 redundant variable declarations and reallocation of buffer when
8206 parsing as IPv6 address. Always set NSS status when called from
8207 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8208 buffer too small. Correct computation of needed size.
8209 * nss/Makefile (tests): Add test-digits-dots.
8210 * nss/test-digits-dots.c: New test.
8211
fef94eab
SP
82122013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8213
8214 * benchtests/Makefile: Remove instructions for adding
8215 benchmark tests.
8216 * benchtests/README: New file to explain how to execute and
8217 enhance the benchmark tests.
8218
e39adf43
AS
82192013-05-21 Andreas Schwab <schwab@suse.de>
8220
8221 [BZ #15493]
8222 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8223 * setjmp/tst-sigsetjmp.c: New test.
8224
b2b671b6
OB
82252013-05-20 Ondřej Bílka <neleai@seznam.cz>
8226
8227 * sysdeps/x86_64/memset.S (memset): New implementation.
8228 (__bzero): Likewise.
8229 (__memset_tail): New function.
8230
2d48b41c
OB
82312013-05-20 Ondřej Bílka <neleai@seznam.cz>
8232
8233 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8234 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8235 __memcpy_sse2_unaligned ifunc selection.
8236 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8237 Add memcpy-sse2-unaligned.S.
8238 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8239 Add: __memcpy_sse2_unaligned.
8240
f16cc3eb
JM
82412013-05-19 Joseph Myers <joseph@codesourcery.com>
8242
3e694268
JM
8243 [BZ #15490]
8244 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8245 math_force_eval before restoring floating-point envrionment.
8246 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8247 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8248 Likewise.
8249 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8250 <math_private.h>.
8251 (__nearbyintl): Use math_force_eval before restoring
8252 floating-point environment.
8253 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8254
db62a907
JM
8255 * math/gen-libm-test.pl (special_functions): Remove.
8256 (parse_args): Don't handle TEST_extra. Handle functions with no
8257 return value.
8258 * math/libm-test.inc (struct test_sincos_data): Replace with
8259 struct test_fFF_11_data.
8260 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8261 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8262 (sincos_test_data): Change element type to struct
8263 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8264 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8265 RUN_TEST_LOOP_sincos.
8266 * math/README.libm-test: Don't mention special handling of
8267 individual functions.
8268 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8269 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8270 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8271 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8272 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8274
f16cc3eb
JM
8275 * math/gen-libm-test.pl (get_variable): Remove function.
8276 (parse_args): Don't show pointer parameters to call in test
8277 names. Use "extra output N" in test names for extra outputs
8278 rather than naming variables.
8279
3779b5b6
JM
82802013-05-18 Joseph Myers <joseph@codesourcery.com>
8281
2ee094ff
JM
8282 [BZ #15488]
8283 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8284 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8285 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8286 double tests.
8287 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8288 disable.
8289 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8290 check_long_double.
8291
3779b5b6
JM
8292 * math/gen-libm-test.pl (@tests): Remove variable.
8293 ($count): Likewise.
8294 (new_test): Remove function.
8295 (show_exceptions): New function.
8296 (special_functions): Use show_exceptions instead of new_test.
8297 (parse_args): Likewise.
8298 (generate_testfile): Pass only function name in generated call to
8299 print_max_error or print_complex_max_error.
8300 (get_ulps): Do not handle complex tests specially.
8301 (output_test): Rename to ...
8302 (get_all_ulps_for_test): ... this. Return a string rather than
8303 printing to a file. Require ulps to be present.
8304 (output_ulps): Generate arrays rather than #defines.
8305 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8306 (struct ulp_data): New type.
8307 (BUILD_COMPLEX_ULP): Remove macro.
8308 (compare_ulp_data): New function.
8309 (find_ulps): Likewise.
8310 (find_test_ulps): Likewise.
8311 (find_function_ulps): Likewise.
8312 (find_complex_function_ulps): Likewise.
8313 (print_max_error): Determine allowed ulps using
8314 find_function_ulps.
8315 (print_complex_max_error): Determine allowed ulps using
8316 find_complex_function_ulps.
8317 (check_float_internal): Determine max ulps using find_test_ulps.
8318 (check_float): Do not take max_ulp parameter. Update call to
8319 check_float_internal.
8320 (check_complex): Likewise.
8321 (check_int): Do not take max_ulp parameter.
8322 (check_long): Likewise.
8323 (check_bool): Likewise.
8324 (check_longlong): Likewise.
8325 (struct test_f_f_data): Remove max_ulp field.
8326 (struct test_ff_f_data): Likewise.
8327 (struct test_ff_f_data_nexttoward): Likewise.
8328 (struct test_fi_f_data): Likewise.
8329 (struct test_fl_f_data): Likewise.
8330 (struct test_if_f_data): Likewise.
8331 (struct test_fff_f_data): Likewise.
8332 (struct test_c_f_data): Likewise.
8333 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8334 (struct test_fF_f1_data): Likewise.
8335 (struct test_ffI_f1_data): Likewise.
8336 (struct test_c_c_data): Remove max_ulp field.
8337 (struct test_cc_c_data): Likewise.
8338 (struct test_f_i_data): Likewise.
8339 (struct test_ff_i_data): Likewise.
8340 (struct test_f_l_data): Likewise.
8341 (struct test_f_L_data): Likewise.
8342 (struct test_sincos_data): Likewise.
8343 (RUN_TEST_f_f): Do not handle ulps.
8344 (RUN_TEST_LOOP_f_f): Likewise.
8345 (RUN_TEST_2_f): Likewise.
8346 (RUN_TEST_LOOP_2_f): Likewise.
8347 (RUN_TEST_fff_f): Likewise.
8348 (RUN_TEST_LOOP_fff_f): Likewise.
8349 (RUN_TEST_c_f): Likewise.
8350 (RUN_TEST_LOOP_c_f): Likewise.
8351 (RUN_TEST_f_f1): Likewise.
8352 (RUN_TEST_LOOP_f_f1): Likewise.
8353 (RUN_TEST_fF_f1): Likewise.
8354 (RUN_TEST_LOOP_fF_f1): Likewise.
8355 (RUN_TEST_fI_f1): Likewise.
8356 (RUN_TEST_LOOP_fI_f1): Likewise.
8357 (RUN_TEST_ffI_f1): Likewise.
8358 (RUN_TEST_LOOP_ffI_f1): Likewise.
8359 (RUN_TEST_c_c): Likewise.
8360 (RUN_TEST_LOOP_c_c): Likewise.
8361 (RUN_TEST_cc_c): Likewise.
8362 (RUN_TEST_LOOP_cc_c): Likewise.
8363 (RUN_TEST_f_i): Likewise.
8364 (RUN_TEST_LOOP_f_i): Likewise.
8365 (RUN_TEST_f_i_tg): Likewise.
8366 (RUN_TEST_LOOP_f_i_tg): Likewise.
8367 (RUN_TEST_ff_i_tg): Likewise.
8368 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8369 (RUN_TEST_f_b): Likewise.
8370 (RUN_TEST_LOOP_f_b): Likewise.
8371 (RUN_TEST_f_b_tg): Likewise.
8372 (RUN_TEST_LOOP_f_b_tg): Likewise.
8373 (RUN_TEST_f_l): Likewise.
8374 (RUN_TEST_LOOP_f_l): Likewise.
8375 (RUN_TEST_f_L): Likewise.
8376 (RUN_TEST_LOOP_f_L): Likewise.
8377 (RUN_TEST_sincos): Likewise.
8378 (RUN_TEST_LOOP_sincos): Likewise.
8379
8269107f
JM
83802013-05-17 Joseph Myers <joseph@codesourcery.com>
8381
bb38759d
JM
8382 [BZ #15480]
8383 [BZ #15485]
8384 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8385 main case of finite arguments, set rounding mode to FE_TONEAREST
8386 and discard exceptions.
8387 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8388 exceptions.
8389 (remainder_tonearest_test_data): New variable.
8390 (remainder_test_tonearest): New function.
8391 (remainder_towardzero_test_data): New variable.
8392 (remainder_test_towardzero): New function.
8393 (remainder_downward_test_data): New variable.
8394 (remainder_test_downward): New function.
8395 (remainder_upward_test_data): New variable.
8396 (remainder_test_upward): New function.
8397 (main): Call the new test functions.
8398
a00bdcf0
JM
8399 * math/libm-test.inc (struct test_f_f1_data): Remove field
8400 extra_init.
8401 (struct test_fF_f1_data): Likewise.
8402 (struct test_ffI_f1_data): Likewise.
8403 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8404 based on value of EXTRA_EXPECTED.
8405 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8406 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8407 EXTRA_VAR based on value of EXTRA_EXPECTED.
8408 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8409 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8410 EXTRA_VAR based on value of EXTRA_EXPECTED.
8411 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8412 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8413 EXTRA_VAR based on value of EXTRA_EXPECTED.
8414 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8415 * math/gen-libm-test.pl (parse_args): Don't output initializers
8416 for extra output values.
8417
de407f79
JM
8418 * math/libm-test.inc (check_int): Expect result to be exactly
8419 equal to expected value and do not handle ulps.
8420 (check_long): Likewise.
8421 (check_longlong): Likewise.
8422
8269107f
JM
8423 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8424 exceptions.
8425 (cimag_test_data): Likewise.
8426 (conj_test_data): Likewise.
8427 (copysign_test_data): Likewise.
8428 (cproj_test_data): Likewise.
8429 (creal_test_data): Likewise.
8430 (fabs_test_data): Likewise.
8431 (fdim_test_data): Likewise.
8432 (finite_test_data): Likewise.
8433 (floor_test_data): Likewise.
8434 (fmax_test_data): Likewise.
8435 (fmin_test_data): Likewise.
8436 (fmod_test_data): Likewise.
8437 (fpclassify_test_data): Likewise.
8438 (frexp_test_data): Likewise.
8439 (ilogb_test_data): Likewise.
8440 (isfinite_test_data): Likewise.
8441 (isgreater_test_data): Likewise.
8442 (isgreaterequal_test_data): Likewise.
8443 (isinf_test_data): Likewise.
8444 (isless_test_data): Likewise.
8445 (islessequal_test_data): Likewise.
8446 (islessgreater_test_data): Likewise.
8447 (isnan_test_data): Likewise.
8448 (isnormal_test_data): Likewise.
8449 (issignaling_test_data): Likewise.
8450 (isunordered_test_data): Likewise.
8451 (ldexp_test_data): Likewise.
8452 (lrint_test_data): Likewise.
8453 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8454 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8455 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8456 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8457 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8458 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8459 test input.
8460 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8461 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8462 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8463 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8464 that test input.
8465 (lrint_downward_test_data): Test for "inexact" exceptions.
8466 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8467 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8468 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8469 test input.
8470 (lrint_upward_test_data): Test for "inexact" exceptions.
8471 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8472 test input.
8473 (llrint_test_data): Test for "inexact" exceptions.
8474 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8475 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8476 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8477 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8478 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8479 (llrint_downward_test_data): Test for "inexact" exceptions.
8480 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8481 (llrint_upward_test_data): Test for "inexact" exceptions.
8482 (logb_test_data): Likewise.
8483 (logb_downward_test_data): Likewise.
8484 (nextafter_test_data): Likewise.
8485 (nexttoward_test_data): Likewise.
8486 (remainder_test_data): Likewise.
8487 (remquo_test_data): Likewise.
8488 (scalbn_test_data): Likewise.
8489 (scalbln_test_data): Likewise.
8490 (signbit_test_data): Likewise.
8491 (sqrt_test_data): Likewise.
8492 (significand_test_data): Likewise.
8493
48a18de1
SP
84942013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8495
8496 [BZ #15424]
8497 * benchtests/bench-modf.c (struct args): Mark arg0 as
8498 volatile.
8499 * scripts/bench.pl: Mark members of struct args as volatile.
8500
13d3b41a
AZ
85012013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8502
68191c1d 8503 [BZ # 15497]
13d3b41a
AZ
8504 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8505 negative infinity on POWER6 or lower.
8506 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8507
2848b105
MR
85082013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8509
8510 [BZ #15442]
8511 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8512 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8513 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8514 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8515 (_FP_SETQNAN): New macro.
8516 (_FP_SETQNAN_SEMIRAW): Likewise.
8517 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8518 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8519 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8520 (FP_EXTEND): Use _FP_FRAC_SNANP.
8521 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8522 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8523 into account.
8524 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8525 New macro.
8526 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8527 Likewise.
8528
323e5cb7
JM
85292013-05-16 Joseph Myers <joseph@codesourcery.com>
8530
c58b274f
JM
8531 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8532 with DIVIDE_BY_ZERO_EXCEPTION.
8533 (gamma_test_data): Likewise.
8534 (lgamma_test_data): Likewise.
8535 (log_test_data): Likewise.
8536 (log10_test_data): Likewise.
8537 (log2_test_data): Likewise.
8538 (tgamma_test_data): Likewise.
8539
0ab34904
JM
8540 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8541 (acos_test_tonearest): Likewise.
8542 (acos_test_towardzero): Likewise.
8543 (acos_test_downward): Likewise.
8544 (acos_test_upward): Likewise.
8545 (acosh_test): Likewise.
8546 (asin_test): Likewise.
8547 (asin_test_tonearest): Likewise.
8548 (asin_test_towardzero): Likewise.
8549 (asin_test_downward): Likewise.
8550 (asin_test_upward): Likewise.
8551 (asinh_test): Likewise.
8552 (atan_test): Likewise.
8553 (atanh_test): Likewise.
8554 (atan2_test): Likewise.
8555 (cabs_test): Likewise.
8556 (cacos_test): Likewise.
8557 (cacosh_test): Likewise.
8558 (casin_test): Likewise.
8559 (casinh_test): Likewise.
8560 (catan_test): Likewise.
8561 (catanh_test): Likewise.
8562 (cbrt_test): Likewise.
8563 (ccos_test): Likewise.
8564 (ccosh_test): Likewise.
8565 (cexp_test): Likewise.
8566 (clog_test): Likewise.
8567 (clog10_test): Likewise.
8568 (cos_test): Likewise.
8569 (cos_test_tonearest): Likewise.
8570 (cos_test_towardzero): Likewise.
8571 (cos_test_downward): Likewise.
8572 (cos_test_upward): Likewise.
8573 (cosh_test): Likewise.
8574 (cosh_test_tonearest): Likewise.
8575 (cosh_test_towardzero): Likewise.
8576 (cosh_test_downward): Likewise.
8577 (cosh_test_upward): Likewise.
8578 (cpow_test): Likewise.
8579 (csin_test): Likewise.
8580 (csinh_test): Likewise.
8581 (csqrt_test): Likewise.
8582 (ctan_test): Likewise.
8583 (ctan_test_tonearest): Likewise.
8584 (ctan_test_towardzero): Likewise.
8585 (ctan_test_downward): Likewise.
8586 (ctan_test_upward): Likewise.
8587 (ctanh_test): Likewise.
8588 (ctanh_test_tonearest): Likewise.
8589 (ctanh_test_towardzero): Likewise.
8590 (ctanh_test_downward): Likewise.
8591 (ctanh_test_upward): Likewise.
8592 (erf_test): Likewise.
8593 (erfc_test): Likewise.
8594 (exp_test): Likewise.
8595 (exp_test_tonearest): Likewise.
8596 (exp_test_towardzero): Likewise.
8597 (exp_test_downward): Likewise.
8598 (exp_test_upward): Likewise.
8599 (exp10_test): Likewise.
8600 (exp2_test): Likewise.
8601 (expm1_test): Likewise.
8602 (fmod_test): Likewise.
8603 (gamma_test): Likewise.
8604 (hypot_test): Likewise.
8605 (j0_test): Likewise.
8606 (j1_test): Likewise.
8607 (jn_test): Likewise.
8608 (lgamma_test): Likewise.
8609 (log_test): Likewise.
8610 (log10_test): Likewise.
8611 (log1p_test): Likewise.
8612 (log2_test): Likewise.
8613 (logb_test_downward): Likewise.
8614 (pow_test): Likewise.
8615 (pow_test_tonearest): Likewise.
8616 (pow_test_towardzero): Likewise.
8617 (pow_test_downward): Likewise.
8618 (pow_test_upward): Likewise.
8619 (remainder_test): Likewise.
8620 (remquo_test): Likewise.
8621 (sin_test): Likewise.
8622 (sin_test_tonearest): Likewise.
8623 (sin_test_towardzero): Likewise.
8624 (sin_test_downward): Likewise.
8625 (sin_test_upward): Likewise.
8626 (sincos_test): Likewise.
8627 (sinh_test): Likewise.
8628 (sinh_test_tonearest): Likewise.
8629 (sinh_test_towardzero): Likewise.
8630 (sinh_test_downward): Likewise.
8631 (sinh_test_upward): Likewise.
8632 (sqrt_test): Likewise.
8633 (tan_test): Likewise.
8634 (tan_test_tonearest): Likewise.
8635 (tan_test_towardzero): Likewise.
8636 (tan_test_downward): Likewise.
8637 (tan_test_upward): Likewise.
8638 (tanh_test): Likewise.
8639 (tgamma_test): Likewise.
8640 (y0_test): Likewise.
8641 (y1_test): Likewise.
8642 (yn_test): Likewise.
8643
323e5cb7
JM
8644 * math/gen-libm-test.pl (adjust_arg): Remove function.
8645 (special_function): Remove argument $in_func. Only handle
8646 generating output for tables of tests, not inside functions.
8647 (parse_args): Likewise.
8648 (generate_testfile): Remove variable $in_func. Update call to
8649 parse_args.
8650 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8651 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8652 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8653 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8654 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8655 (MAX_VALUE_INIT): Rename macro to max_value.
8656 (MIN_VALUE_INIT): Rename macro to min_value.
8657 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8658 (plus_zero): Remove variable.
8659 (minus_zero): Likewise.
8660 (plus_infty): Likewise.
8661 (minus_infty): Likewise.
8662 (qnan_value): Likewise.
8663 (max_value): Likewise.
8664 (min_value): Likewise.
8665 (min_subnorm_value): Likewise.
8666
e054f494
RA
86672013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8668
8669 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8670 uint64_t or uint32_t usage.
8671 * crypt/sha256-block.c: Likewise.
8672 * crypt/sha256-crypt.c: Likewise.
8673 * crypt/sha256.c: Likewise.
8674 * crypt/sha512-block.c: Likewise.
8675 * crypt/sha512-crypt.c: Likewise.
8676 * crypt/sha512.c: Likewise.
8677 * debug/backtrace-tst.c: Likewise.
8678 * debug/pcprofiledump.c: Likewise.
8679 * elf/cache.c: Likewise.
8680 * elf/dl-cache.c: Likewise.
8681 * elf/dl-misc.c: Likewise.
8682 * elf/dl-profile.c: Likewise.
8683 * elf/dl-support.c: Likewise.
8684 * elf/ldconfig.c: Likewise.
8685 * elf/sprof.c: Likewise.
8686 * iconv/dummy-repertoire.c: Likewise.
8687 * iconv/iconv_charmap.c: Likewise.
8688 * iconv/skeleton.c: Likewise.
8689 * iconvdata/8bit-generic.c: Likewise.
8690 * iconvdata/cp737.h: Likewise.
8691 * iconvdata/cp775.h: Likewise.
8692 * iconvdata/ibm1008.h: Likewise.
8693 * iconvdata/ibm1025.h: Likewise.
8694 * iconvdata/ibm1046.h: Likewise.
8695 * iconvdata/ibm1097.h: Likewise.
8696 * iconvdata/ibm1112.h: Likewise.
8697 * iconvdata/ibm1122.h: Likewise.
8698 * iconvdata/ibm1123.h: Likewise.
8699 * iconvdata/ibm1124.h: Likewise.
8700 * iconvdata/ibm1129.h: Likewise.
8701 * iconvdata/ibm1130.h: Likewise.
8702 * iconvdata/ibm1132.h: Likewise.
8703 * iconvdata/ibm1133.h: Likewise.
8704 * iconvdata/ibm1137.h: Likewise.
8705 * iconvdata/ibm1140.h: Likewise.
8706 * iconvdata/ibm1141.h: Likewise.
8707 * iconvdata/ibm1142.h: Likewise.
8708 * iconvdata/ibm1143.h: Likewise.
8709 * iconvdata/ibm1144.h: Likewise.
8710 * iconvdata/ibm1145.h: Likewise.
8711 * iconvdata/ibm1146.h: Likewise.
8712 * iconvdata/ibm1147.h: Likewise.
8713 * iconvdata/ibm1148.h: Likewise.
8714 * iconvdata/ibm1149.h: Likewise.
8715 * iconvdata/ibm1153.h: Likewise.
8716 * iconvdata/ibm1154.h: Likewise.
8717 * iconvdata/ibm1155.h: Likewise.
8718 * iconvdata/ibm1156.h: Likewise.
8719 * iconvdata/ibm1157.h: Likewise.
8720 * iconvdata/ibm1158.h: Likewise.
8721 * iconvdata/ibm1160.h: Likewise.
8722 * iconvdata/ibm1161.h: Likewise.
8723 * iconvdata/ibm1162.h: Likewise.
8724 * iconvdata/ibm1163.h: Likewise.
8725 * iconvdata/ibm1164.h: Likewise.
8726 * iconvdata/ibm1166.h: Likewise.
8727 * iconvdata/ibm1167.h: Likewise.
8728 * iconvdata/ibm12712.h: Likewise.
8729 * iconvdata/ibm1390.h: Likewise.
8730 * iconvdata/ibm1399.h: Likewise.
8731 * iconvdata/ibm16804.h: Likewise.
8732 * iconvdata/ibm4517.h: Likewise.
8733 * iconvdata/ibm4899.h: Likewise.
8734 * iconvdata/ibm4909.h: Likewise.
8735 * iconvdata/ibm4971.h: Likewise.
8736 * iconvdata/ibm5347.h: Likewise.
8737 * iconvdata/ibm803.h: Likewise.
8738 * iconvdata/ibm856.h: Likewise.
8739 * iconvdata/ibm901.h: Likewise.
8740 * iconvdata/ibm902.h: Likewise.
8741 * iconvdata/ibm9030.h: Likewise.
8742 * iconvdata/ibm9066.h: Likewise.
8743 * iconvdata/ibm921.h: Likewise.
8744 * iconvdata/ibm922.h: Likewise.
8745 * iconvdata/ibm9448.h: Likewise.
8746 * iconvdata/isiri-3342.h: Likewise.
8747 * iconvdata/jis0201.h: Likewise.
8748 * include/link.h: Likewise.
8749 * include/netdb.h: Likewise.
8750 * inet/check_native.c: Likewise.
8751 * inet/check_pf.c: Likewise.
8752 * inet/getipv4sourcefilter.c: Likewise.
8753 * inet/getnameinfo.c: Likewise.
8754 * inet/getsourcefilter.c: Likewise.
8755 * inet/htonl.c: Likewise.
8756 * inet/setipv4sourcefilter.c: Likewise.
8757 * inet/setsourcefilter.c: Likewise.
8758 * inet/test-inet6_opt.c: Likewise.
8759 * inet/tst-network.c: Likewise.
8760 * locale/C-collate.c: Likewise.
8761 * locale/C-ctype.c: Likewise.
8762 * locale/C-time.c: Likewise.
8763 * locale/C-translit.h: Likewise.
8764 * locale/loadarchive.c: Likewise.
8765 * locale/programs/3level.h: Likewise.
8766 * locale/programs/charmap.c: Likewise.
8767 * locale/programs/charmap.h: Likewise.
8768 * locale/programs/ld-address.c: Likewise.
8769 * locale/programs/ld-collate.c: Likewise.
8770 * locale/programs/ld-ctype.c: Likewise.
8771 * locale/programs/ld-identification.c: Likewise.
8772 * locale/programs/ld-measurement.c: Likewise.
8773 * locale/programs/ld-messages.c: Likewise.
8774 * locale/programs/ld-monetary.c: Likewise.
8775 * locale/programs/ld-name.c: Likewise.
8776 * locale/programs/ld-numeric.c: Likewise.
8777 * locale/programs/ld-paper.c: Likewise.
8778 * locale/programs/ld-telephone.c: Likewise.
8779 * locale/programs/ld-time.c: Likewise.
8780 * locale/programs/linereader.c: Likewise.
8781 * locale/programs/locale.c: Likewise.
8782 * locale/programs/locarchive.c: Likewise.
8783 * locale/programs/locfile.h: Likewise.
8784 * locale/programs/repertoire.c: Likewise.
8785 * locale/programs/simple-hash.c: Likewise.
8786 * locale/programs/simple-hash.h: Likewise.
8787 * malloc/memusage.c: Likewise.
8788 * malloc/memusagestat.c: Likewise.
8789 * nis/nis_defaults.c: Likewise.
8790 * nis/nis_hash.c: Likewise.
8791 * nis/nis_print.c: Likewise.
8792 * nis/nis_xdr.c: Likewise.
8793 * nscd/connections.c: Likewise.
8794 * nscd/hstcache.c: Likewise.
8795 * nscd/nscd_gethst_r.c: Likewise.
8796 * nscd/nscd_getserv_r.c: Likewise.
8797 * nscd/nscd_helper.c: Likewise.
8798 * nscd/servicescache.c: Likewise.
8799 * nss/makedb.c: Likewise.
8800 * nss/nss_db/db-XXX.c: Likewise.
8801 * nss/nss_db/db-initgroups.c: Likewise.
8802 * nss/nss_db/db-netgrp.c: Likewise.
8803 * nss/nss_files/files-network.c: Likewise.
8804 * nss/nss_files/files-parse.c: Likewise.
8805 * posix/bug-regex5.c: Likewise.
8806 * posix/fnmatch_loop.c: Likewise.
8807 * posix/regcomp.c: Likewise.
8808 * posix/regexec.c: Likewise.
8809 * posix/tst-rfc3484-2.c: Likewise.
8810 * posix/tst-rfc3484-3.c: Likewise.
8811 * posix/tst-rfc3484.c: Likewise.
8812 * resolv/nss_dns/dns-canon.c: Likewise.
8813 * resolv/nss_dns/dns-network.c: Likewise.
8814 * resolv/res_init.c: Likewise.
8815 * resolv/res_mkquery.c: Likewise.
8816 * resolv/tst-aton.c: Likewise.
8817 * stdlib/cxa_atexit.c: Likewise.
8818 * stdlib/cxa_finalize.c: Likewise.
8819 * stdlib/gen-fpioconst.c: Likewise.
8820 * stdlib/strtol_l.c: Likewise.
8821 * string/tst-endian.c: Likewise.
8822 * sunrpc/auth_des.c: Likewise.
8823 * sunrpc/clnt_udp.c: Likewise.
8824 * sunrpc/rtime.c: Likewise.
8825 * sunrpc/svcauth_des.c: Likewise.
8826 * sunrpc/xdr.c: Likewise.
8827 * sunrpc/xdr_intXX_t.c: Likewise.
8828 * sunrpc/xdr_rec.c: Likewise.
8829 * sysdeps/generic/ldconfig.h: Likewise.
8830 * sysdeps/generic/ldsodefs.h: Likewise.
8831 * sysdeps/generic/memusage.h: Likewise.
8832 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8834 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8835 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8836 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8837 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8838 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8839 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8840 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8842 * sysdeps/posix/getaddrinfo.c: Likewise.
8843 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8844 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8845 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8846 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8847 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8848 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8849 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8850 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8851 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8852 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8853 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8854 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8855 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8856 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8857 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8858 * sysdeps/x86_64/dl-tls.h: Likewise.
8859 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8860 * time/alt_digit.c: Likewise.
8861 * time/era.c: Likewise.
8862 * wcsmbs/tst-c16c32-1.c: Likewise.
8863
8c75f674
JM
88642013-05-16 Joseph Myers <joseph@codesourcery.com>
8865
8866 * math/libm-test.inc (struct test_sincos_data): New type.
8867 (RUN_TEST_LOOP_sincos): New macro.
8868 (sincos_test_data): New variable.
8869 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8870
e6e49e59
RH
88712013-05-16 Richard Henderson <rth@redhat.com>
8872
8873 * math/atest-exp2.c (LIMB64): New macro.
8874 (CONSTSZ): New macro.
8875 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8876 (hexdig): Move ...
8877 (print_mpn_fp): ... to function scope.
8878 (read_mpn_hex): Remove.
8879 (get_log2): Remove.
8880 (exp2_mpn): Use mp_log2.
8881 (main): Use mp_exp1.
8882
15c7c18d
JM
88832013-05-16 Joseph Myers <joseph@codesourcery.com>
8884
105a07df
JM
8885 * math/libm-test.inc: Remove comment about not testing "inexact"
8886 exceptions.
8887 (INEXACT_EXCEPTION): New macro.
8888 (NO_INEXACT_EXCEPTION): Likewise.
8889 (INVALID_EXCEPTION_OK): Update value.
8890 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8891 (OVERFLOW_EXCEPTION_OK): Likewise.
8892 (UNDERFLOW_EXCEPTION_OK): Likewise.
8893 (IGNORE_ZERO_INF_SIGN): Likewise.
8894 (ERRNO_UNCHANGED): Likewise.
8895 (ERRNO_EDOM): Likewise.
8896 (ERRNO_ERANGE): Likewise.
8897 (test_exceptions): Handle testing "inexact" exceptions.
8898 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8899 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8900 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8901 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8902 INEXACT_EXCEPTION.
8903 (rint_towardzero_test_data): Likewise.
8904 (rint_downward_test_data): Likewise.
8905 (rint_upward_test_data): Likewise.
8906
e9eee333
JM
8907 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8908 with OVERFLOW_EXCEPTION.
8909 (exp10_test_data): Likewise.
8910 (exp2_test_data): Likewise.
8911 (expm1_test_data): Likewise.
8912 (lgamma_test_data): Likewise.
8913 (pow_test_data): Likewise.
8914 (tgamma_test_data): Likewise.
8915 (yn_test_data): Remove duplicate test of overflow.
8916
1c38ff73
JM
8917 * math/libm-test.inc (struct test_cc_c_data): New type.
8918 (RUN_TEST_LOOP_cc_c): New macro.
8919 (cpow_test_data): New variable.
8920 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8921
15c7c18d
JM
8922 * math/libm-test.inc (struct test_f_L_data): New type.
8923 (RUN_TEST_LOOP_f_L): New macro.
8924 (llrint_test_data): New variable.
8925 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8926 (llrint_tonearest_test_data): New variable.
8927 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8928 (llrint_towardzero_test_data): New variable.
8929 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8930 (llrint_downward_test_data): New variable.
8931 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8932 (llrint_upward_test_data): New variable.
8933 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8934 (llround_test_data): New variable.
8935 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8936
f137ff13
PC
89372013-05-13 Peter Collingbourne <pcc@google.com>
8938
8939 * math/atest-exp2.c (get_log2): Remove const attribute.
8940
3608cb24
JM
89412013-05-15 Joseph Myers <joseph@codesourcery.com>
8942
8943 * math/libm-test.inc (struct test_f_l_data): New type.
8944 (RUN_TEST_LOOP_f_l): New macro.
8945 (lrint_test_data): New variable.
8946 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8947 (lrint_tonearest_test_data): New variable.
8948 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8949 (lrint_towardzero_test_data): New variable.
8950 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8951 (lrint_downward_test_data): New variable.
8952 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8953 (lrint_upward_test_data): New variable.
8954 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8955 (lround_test_data): New variable.
8956 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8957
39b1f617
PC
89582013-05-15 Peter Collingbourne <pcc@google.com>
8959
1deff3dc
PC
8960 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8961 (EXTRACT_WORDS64) Use where appropriate.
8962 (INSERT_WORDS64) Likewise.
8963
791f3ba0
PC
8964 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8965 constraints with x constraints.
8966 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8967
39b1f617
PC
8968 * malloc/obstack.c (_obstack_compat): Add initializer.
8969
12fba011
EM
89702013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8971
8972 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8973 si_trapno and add si_addr_lsb to _sifields.sigfault.
8974 (si_trapno): Remove macro.
8975 (si_addr_lsb): Define new macro.
8976 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8977
d369f531
JM
89782013-05-15 Joseph Myers <joseph@codesourcery.com>
8979
b861c6c4
JM
8980 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8981 instead of TEST_f_l.
8982 (llrint_test_tonearest): Likewise.
8983 (llrint_test_towardzero): Likewise.
8984 (llrint_test_downward): Likewise.
8985 (llrint_test_upward): Likewise.
8986 (llround_test): Likewise.
8987
7abeee12
JM
8988 * math/libm-test.inc (struct test_f_i_data): Add comment.
8989 (RUN_TEST_LOOP_f_b): New macro.
8990 (RUN_TEST_LOOP_f_b_tg): Likewise.
8991 (finite_test_data): New variable.
8992 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8993 (isfinite_test_data): New variable.
8994 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8995 (isinf_test_data): New variable.
8996 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8997 (isnan_test_data): New variable.
8998 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8999 (isnormal_test_data): New variable.
9000 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9001 (issignaling_test_data): New variable.
9002 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9003 (signbit_test_data): New variable.
9004 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9005
cbe8c4d3
JM
9006 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9007 with INVALID_EXCEPTION.
9008 (acosh_test_data): Likewise.
9009 (asin_test_data): Likewise.
9010 (atanh_test_data): Likewise.
9011 (fmod_test_data): Likewise.
9012 (log_test_data): Likewise.
9013 (log10_test_data): Likewise.
9014 (log2_test_data): Likewise.
9015 (pow_test_data): Likewise.
9016 (sqrt_test_data): Likewise.
9017 (y0_test_data): Likewise.
9018 (y1_test_data): Likewise.
9019 (yn_test_data): Likewise.
9020
5575c0e5
JM
9021 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9022 function contents.
9023
d369f531
JM
9024 * math/libm-test.inc (struct test_ff_i_data): New type.
9025 (RUN_TEST_LOOP_ff_i_tg): New macro.
9026 (isgreater_test_data): New variable.
9027 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9028 (isgreaterequal_test_data): New variable.
9029 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9030 (isless_test_data): New variable.
9031 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9032 (islessequal_test_data): New variable.
9033 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9034 (islessgreater_test_data): New variable.
9035 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9036 (isunordered_test_data): New variable.
9037 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9038
781fd748
DM
90392013-05-14 David S. Miller <davem@davemloft.net>
9040
9041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9042
87aa21df
JM
90432013-05-14 Joseph Myers <joseph@codesourcery.com>
9044
5e908270
JM
9045 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9046
f71172e5
JM
9047 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9048 extra_test to int.
9049 (struct test_f_i_data): Change type of max_ulp to int.
9050
8cfa635a
JM
9051 * math/libm-test.inc (test_ffI_f1_data): New type.
9052 (RUN_TEST_LOOP_ffI_f1): New macro.
9053 (remquo_test_data): New variable.
9054 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9055
2bcb36b2
JM
9056 * setjmp/tst-setjmp-fp.c: New file.
9057 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9058 (link-libm): New variable.
9059 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9060
acbd839a
JM
9061 * math/libm-test.inc (struct test_f_i_data): New type.
9062 (RUN_TEST_LOOP_f_i): New macro.
9063 (RUN_TEST_LOOP_f_i_tg): Likewise.
9064 (fpclassify_test_data): New variable.
9065 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9066 (ilogb_test_data): New variable.
9067 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9068
e414d745
JM
9069 * math/libm-test.inc (scalbln_test): Correct function name in END
9070 call.
9071
d9c2a0fd
JM
9072 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9073 (RUN_TEST_LOOP_fI_f1): New macro.
9074 (frexp_test_data): New variable.
9075 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9076
9dc9095d
JM
9077 * math/libm-test.inc (struct test_fF_f1_data): New type.
9078 (RUN_TEST_LOOP_fF_f1): New macro.
9079 (modf_test_data): New variable.
9080 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9081
87aa21df
JM
9082 * math/libm-test.inc (struct test_f_f1_data): New type.
9083 (RUN_TEST_LOOP_f_f1): New macro.
9084 (gamma_test_data): New variable.
9085 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9086 (lgamma_test_data): New variable.
9087 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9088
141af660
CD
90892013-05-13 Carlos O'Donell <carlos@redhat.com>
9090
9091 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9092 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9093 (main): Comment "tls" pseudo-hwcap.
9094
6d33265c
JM
90952013-05-13 Joseph Myers <joseph@codesourcery.com>
9096
68fc074c
JM
9097 * math/libm-test.inc (struct test_fl_f_data): New type.
9098 (RUN_TEST_LOOP_fl_f): New variable.
9099 (scalbln_test_data): New variable.
9100 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9101
243216e1
JM
9102 * math/libm-test.inc (struct test_fi_f_data): New type.
9103 (RUN_TEST_LOOP_fi_f): New macro.
9104 (ldexp_test_data): New variable.
9105 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9106 (scalbn_test_data): New variable.
9107 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9108
6a1992e2
JM
9109 * math/libm-test.inc (struct test_c_f_data): New type.
9110 (RUN_TEST_LOOP_c_f): New macro.
9111 (cabs_test_data): New variable.
9112 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9113 (carg_test_data): New variable.
9114 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9115 (cimag_test_data): New variable.
9116 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9117 (creal_test_data): New variable.
9118 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9119
0e400df5
JM
9120 * math/libm-test.inc (struct test_if_f_data): New type.
9121 (RUN_TEST_LOOP_if_f): New macro.
9122 (jn_test_data): New variable.
9123 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9124 (yn_test_data): New variable.
9125 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9126
6d33265c
JM
9127 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9128
f98ece5f
AZ
91292013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130
9131 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9132 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9133
0f7d347b
SP
91342013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9135
43fe811b
SP
9136 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9137 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9138 (bench-deps): Add bench-timing.h.
9139 * benchtests-bench-skeleton.c: Include bench-timing.h.
9140 (main): Use TIMING_* macros instead of clock_gettime.
9141 * benchtests/bench-timing.h: New file.
9142
0f7d347b
SP
9143 [BZ #14582]
9144 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9145 Renamed from _LIB_VERSION.
9146 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9147
601a3a5f
JM
91482013-05-12 Joseph Myers <joseph@codesourcery.com>
9149
4f184d30
JM
9150 * math/libm-test.inc (struct test_fff_f_data): New type.
9151 (RUN_TEST_LOOP_fff_f): New macro.
9152 (fma_test_data): New variable.
9153 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9154 (fma_towardzero_test_data): New variable.
9155 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9156 (fma_downward_test_data): New variable.
9157 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9158 (fma_upward_test_data): New variable.
9159 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9160
08198877
JM
9161 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9162 (struct test_c_c_data): New type.
9163 (RUN_TEST_LOOP_c_c): New macro.
9164 (cacos_test_data): New variable.
9165 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9166 (cacosh_test_data): New variable.
9167 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9168 (casin_test_data): New variable.
9169 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9170 (casinh_test_data): New variable.
9171 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9172 (catan_test_data): New variable.
9173 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9174 (catanh_test_data): New variable.
9175 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9176 (ccos_test_data): New variable.
9177 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9178 (ccosh_test_data): New variable.
9179 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9180 (cexp_test_data): New variable.
9181 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9182 (clog_test_data): New variable.
9183 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9184 (clog10_test_data): New variable.
9185 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9186 (conj_test_data): New variable.
9187 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9188 (cproj_test_data): New variable.
9189 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9190 (csin_test_data): New variable.
9191 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9192 (csinh_test_data): New variable.
9193 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9194 (csqrt_test_data): New variable.
9195 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9196 (ctan_test_data): New variable.
9197 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9198 (ctan_tonearest_test_data): New variable.
9199 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9200 (ctan_towardzero_test_data): New variable.
9201 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9202 (ctan_downward_test_data): New variable.
9203 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9204 (ctan_upward_test_data): New variable.
9205 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9206 (ctanh_test_data): New variable.
9207 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9208 (ctanh_tonearest_test_data): New variable.
9209 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9210 (ctanh_towardzero_test_data): New variable.
9211 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9212 (ctanh_downward_test_data): New variable.
9213 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9214 (ctanh_upward_test_data): New variable.
9215 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9216 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9217 of BUILD_COMPLEX.
9218
601a3a5f
JM
9219 * math/libm-test.inc (struct test_ff_f_data): New type.
9220 (struct test_ff_f_data_nexttoward): Likewise.
9221 (RUN_TEST_LOOP_2_f): New macro.
9222 (RUN_TEST_LOOP_ff_f): Likewise.
9223 (atan2_test_data): New variable.
9224 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9225 (copysign_test_data): New variable.
9226 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9227 (fdim_test_data): New variable.
9228 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9229 (fmax_test_data): New variable.
9230 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9231 (fmin_test_data): New variable.
9232 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9233 (fmod_test_data): New variable.
9234 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9235 (hypot_test_data): New variable.
9236 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9237 (nextafter_test_data): New variable.
9238 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9239 (nexttoward_test_data): New variable.
9240 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9241 (pow_test_data): New variable.
9242 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9243 (pow_tonearest_test_data): New variable.
9244 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9245 (pow_towardzero_test_data): New variable.
9246 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9247 (pow_downward_test_data): New variable.
9248 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9249 (pow_upward_test_data): New variable.
9250 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9251 (remainder_test_data): New variable.
9252 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9253 (scalb_test_data): New variable.
9254 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9255 * sysdeps/i386/fpu/libm-test-ulps: Update.
9256
74c57478
JM
92572013-05-11 Joseph Myers <joseph@codesourcery.com>
9258
8329e4da
JM
9259 * math/libm-test.inc (fma_test): Use max_value instead of local
9260 variable fltmax.
9261 (nextafter_test): Likewise.
9262
74c57478
JM
9263 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9264 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9265 (acos_downward_test_data): New variable.
9266 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9267 (acos_upward_test_data): New variable.
9268 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9269 (acosh_test_data): New variable.
9270 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9271 (asin_test_data): New variable.
9272 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9273 (asin_tonearest_test_data): New variable.
9274 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9275 (asin_towardzero_test_data): New variable.
9276 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9277 (asin_downward_test_data): New variable.
9278 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9279 (asin_upward_test_data): New variable.
9280 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9281 (asinh_test_data): New variable.
9282 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9283 (atan_test_data): New variable.
9284 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9285 (atanh_test_data): New variable.
9286 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9287 (cbrt_test_data): New variable.
9288 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9289 (ceil_test_data): New variable.
9290 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9291 (cos_test_data): New variable.
9292 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9293 (cos_tonearest_test_data): New variable.
9294 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9295 (cos_towardzero_test_data): New variable.
9296 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9297 (cos_downward_test_data): New variable.
9298 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9299 (cos_upward_test_data): New variable.
9300 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9301 (cosh_test_data): New variable.
9302 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9303 (cosh_tonearest_test_data): New variable.
9304 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9305 (cosh_towardzero_test_data): New variable.
9306 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9307 (cosh_downward_test_data): New variable.
9308 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9309 (cosh_upward_test_data): New variable.
9310 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9311 (erf_test_data): New variable.
9312 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9313 (erfc_test_data): New variable.
9314 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9315 (exp_test_data): New variable.
9316 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9317 (exp_tonearest_test_data): New variable.
9318 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9319 (exp_towardzero_test_data): New variable.
9320 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9321 (exp_downward_test_data): New variable.
9322 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9323 (exp_upward_test_data): New variable.
9324 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9325 (exp10_test_data): New variable.
9326 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9327 (exp2_test_data): New variable.
9328 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9329 (expm1_test_data): New variable.
9330 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9331 (fabs_test_data): New variable.
9332 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9333 (floor_test_data): New variable.
9334 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9335 (j0_test_data): New variable.
9336 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9337 (j1_test_data): New variable.
9338 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9339 (log_test_data): New variable.
9340 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9341 (log10_test_data): New variable.
9342 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9343 (log1p_test_data): New variable.
9344 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9345 (log2_test_data): New variable.
9346 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9347 (logb_test_data): New variable.
9348 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9349 (logb_downward_test_data): New variable.
9350 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9351 (nearbyint_test_data): New variable.
9352 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9353 (rint_test_data): New variable.
9354 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9355 (rint_tonearest_test_data): New variable.
9356 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9357 (rint_towardzero_test_data): New variable.
9358 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9359 (rint_downward_test_data): New variable.
9360 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9361 (rint_upward_test_data): New variable.
9362 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9363 (round_test_data): New variable.
9364 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9365 (sin_test_data): New variable.
9366 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9367 (sin_tonearest_test_data): New variable.
9368 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9369 (sin_towardzero_test_data): New variable.
9370 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9371 (sin_downward_test_data): New variable.
9372 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9373 (sin_upward_test_data): New variable.
9374 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9375 (sinh_test_data): New variable.
9376 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9377 (sinh_tonearest_test_data): New variable.
9378 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9379 (sinh_towardzero_test_data): New variable.
9380 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9381 (sinh_downward_test_data): New variable.
9382 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9383 (sinh_upward_test_data): New variable.
9384 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9385 (sqrt_test_data): New variable.
9386 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9387 (tan_test_data): New variable.
9388 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9389 (tan_tonearest_test_data): New variable.
9390 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9391 (tan_towardzero_test_data): New variable.
9392 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9393 (tan_downward_test_data): New variable.
9394 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9395 (tan_upward_test_data): New variable.
9396 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9397 (tanh_test_data): New variable.
9398 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9399 (tgamma_test_data): New variable.
9400 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9401 (trunc_test_data): New variable.
9402 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9403 (y0_test_data): New variable.
9404 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9405 (y1_test_data): New variable.
9406 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9407 (significand_test_data): New variable.
9408 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9409
7187d844
CG
94102013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9411
9412 [BZ #12387]
9413 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9414
f63fae73
PT
94152013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9416
9417 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9418
8a67a4b3
AJ
94192013-05-10 Andreas Jaeger <aj@suse.de>
9420
9421 [BZ #15448]
9422 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9423 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9424
51df539d
JM
94252013-05-10 Joseph Myers <joseph@codesourcery.com>
9426
9427 * math/gen-libm-test.pl (adjust_arg): New function.
9428 (special_functions): Handle generating output in both functions
9429 and arrays.
9430 (parse_args): Likewise.
9431 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9432 $in_func argument to parse_args.
9433 * math/libm-test.inc (struct test_f_f_data): New type.
9434 (IF_ROUND_INIT_): New macro.
9435 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9436 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9437 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9438 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9439 (ROUND_RESTORE_): Likewise.
9440 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9441 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9442 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9443 (ROUND_RESTORE_FE_UPWARD): Likewise.
9444 (RUN_TEST_LOOP_f_f): New macro.
9445 (acos_test_data): New variable.
9446 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9447 (acos_tonearest_test_data): New variable.
9448 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9449
5c637fe5
SP
94502013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9451
9452 * benchtests/bench-skeleton.c (startup): Fix coding style.
9453
ab2b9461
JM
94542013-05-10 Joseph Myers <joseph@codesourcery.com>
9455
9456 [BZ #6809]
9457 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9458 negative infinity argument.
9459 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9460 negative infinity argument.
9461 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9462 negative infinity argument.
9463 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9464 domain errors.
9465
4c0fe6fe
FW
94662013-05-10 Florian Weimer <fweimer@redhat.com>
9467
9468 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9469 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9470 * iconv/iconv_prog.c (main): Likewise.
9471 * locale/programs/charmap-dir.c (charmap_readdir)
9472 (fopen_uncompressed): Likewise.
9473 * locale/programs/locfile.c (siblings_uncached)
9474 (write_locale_data): Use lstat64 instead of lstat.
9475 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9476 stat.
9477
a3375d29
AJ
94782013-05-10 Andreas Jaeger <aj@suse.de>
9479
9480 [BZ #15395]
9481 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9482 localization.
9483 Include <locale.h>.
9484
36129722
CD
94852013-05-09 Carlos O'Donell <carlos@redhat.com>
9486
9487 * elf/dl-close.c (_dl_close_worker): Add comments.
9488
faa7f811
JM
94892013-05-09 Joseph Myers <joseph@codesourcery.com>
9490
ed41ffef
JM
9491 [BZ #15359]
9492 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9493 high part of pi/2.
9494 (__ieee754_rem_pio2l): Update comments.
9495
d0213cd0
JM
9496 [BZ #15429]
9497 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9498 high part of pi/2.
9499 (__ieee754_rem_pio2l): Update comments.
9500
0d3e777a
JM
9501 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9502 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9503
24f56066
JM
9504 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9505 M_PI_4l.
9506
faa7f811
JM
9507 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9508 (M_PI_34_LOG10El): Likewise.
9509 (M_PI2_LOG10El): Likewise.
9510 (M_PI4_LOG10El): Likewise.
9511 (M_PI_LOG10El): Likewise.
9512
e9a5e0fd
AZ
95132013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9514
9515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9516
d8cd06db
JM
95172013-05-08 Joseph Myers <joseph@codesourcery.com>
9518
a0d9f9d7
JM
9519 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9520 (MINUS_ZERO_INIT): Likewise.
9521 (PLUS_INFTY_INIT): Likewise.
9522 (MINUS_INFTY_INIT): Likewise.
9523 (QNAN_VALUE_INIT): Likewise.
9524 (MAX_VALUE_INIT): Likewise.
9525 (MIN_VALUE_INIT): Likewise.
9526 (MIN_SUBNORM_VALUE_INIT): Likewise.
9527 (plus_zero): Initialize with PLUS_ZERO_INIT.
9528 (minus_zero): Initialize with MINUS_ZERO_INIT.
9529 (plus_infty): Initialize with PLUS_INFTY_INIT.
9530 (minus_infty): Initialize with MINUS_INFTY_INIT.
9531 (qnan_value): Initialize with QNAN_VALUE_INIT.
9532 (max_value): Initialize with MAX_VALUE_INIT.
9533 (min_value): Initialize with MIN_VALUE_INIT.
9534 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9535
ae08db3b
JM
9536 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9537 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9538 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9539 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9540
f44bf14a
JM
9541 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9542 (RUN_TEST_2_f): Likewise.
9543 (RUN_TEST_ff_f): Likewise.
9544 (RUN_TEST_fi_f): Likewise.
9545 (RUN_TEST_fl_f): Likewise.
9546 (RUN_TEST_fff_f): Likewise.
9547 (RUN_TEST_c_f): Likewise.
9548 (RUN_TEST_f_f1): Likewise.
9549 (RUN_TEST_fF_f1): Likewise.
9550 (RUN_TEST_fI_f1): Likewise.
9551 (RUN_TEST_ffI_f1): Likewise.
9552 (RUN_TEST_c_c): Likewise.
9553 (RUN_TEST_cc_c): Likewise.
9554 (RUN_TEST_f_i): Likewise.
9555 (RUN_TEST_f_i_tg): Likewise.
9556 (RUN_TEST_ff_i_tg): Likewise.
9557 (RUN_TEST_f_b): Likewise.
9558 (RUN_TEST_f_b_tg): Likewise.
9559 (RUN_TEST_f_l): Likewise.
9560 (RUN_TEST_f_L): Likewise.
9561 (RUN_TEST_sincos): Likewise.
9562 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9563 whether to show exceptions. Do not include ");\n" in return
9564 value.
9565 (special_functions): Output call to RUN_TEST_sincos instead of
9566 check_float calls. Update calls to new_test.
9567 (parse_args): Output call to single RUN_TEST_* macro instead of
9568 check_* calls and other assignments. Update calls to new_test.
9569
d8cd06db
JM
9570 [BZ #2546]
9571 [BZ #2560]
9572 [BZ #5159]
9573 [BZ #15426]
9574 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9575 input to result for tgamma overflow.
9576 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9577 (gamma_coeff): New variable.
9578 (NCOEFF): New macro.
9579 (gamma_positive): New function.
9580 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9581 underflow here. Use gamma_positive instead of exp (lgamma) for
9582 other arguments.
9583 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9584 (gamma_coeff): New variable.
9585 (NCOEFF): New macro.
9586 (gammaf_positive): New function.
9587 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9588 underflow here. Use gamma_positive instead of exp (lgamma) for
9589 other arguments.
9590 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9591 (gamma_coeff): New variable.
9592 (NCOEFF): New macro.
9593 (gammal_positive): New function.
9594 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9595 underflow here. Use gamma_positive instead of exp (lgamma) for
9596 other arguments.
9597 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9598 (gamma_coeff): New variable.
9599 (NCOEFF): New macro.
9600 (gammal_positive): New function.
9601 (__ieee754_gammal_r): Handle positive infinity, overflow and
9602 underflow here. Handle NaN the same as positive infinity. Remove
9603 check x < 0xffffffff for negative integers. Use gamma_positive
9604 instead of exp (lgamma) for other arguments.
9605 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9606 (gamma_coeff): New variable.
9607 (NCOEFF): New macro.
9608 (gammal_positive): New function.
9609 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9610 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9611 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9613 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9614 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9615 * sysdeps/generic/math_private.h (__gamma_productf): New
9616 prototype.
9617 (__gamma_product): Likewise.
9618 (__gamma_productl): Likewise.
9619 * math/Makefile (libm-calls): Add gamma_product.
9620 * math/libm-test.inc (tgamma_test): Add more tests.
9621 * sysdeps/i386/fpu/libm-test-ulps: Update.
9622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9623
bb7cf681
OB
96242013-05-08 Ondřej Bílka <neleai@seznam.cz>
9625
9626 * benchtests/bench-skeleton.c (main): Preheat CPU.
9627
ba853947
AJ
96282013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9629
9630 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9631
8347c74c
RM
96322013-05-07 Roland McGrath <roland@hack.frob.com>
9633
9634 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9635 and _dl_skip_args_internal.
9636
e8dd4791
CD
96372013-05-07 Carlos O'Donell <carlos@redhat.com>
9638
9639 * manual/message.texi (Message Translation): Talk about users.
9640 Message to key mapping impacts design.
9641
c7405830
RM
96422013-05-06 Roland McGrath <roland@hack.frob.com>
9643
a9173057
RM
9644 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9645
976e2f03
RM
9646 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9647
9723ffc5
RM
9648 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9649 * sysdeps/wordsize-64/glob64.c: ... here.
9650
962e6658
RM
9651 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9652 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9653 New macros.
9654
ee586a6d
RM
9655 * debug/getlogin_r_chk.c: Moved to ...
9656 * login/getlogin_r_chk.c: ... here.
9657 * debug/Makefile (routines): Move getlogin_r_chk to ...
9658 * login/Makefile (routines): ... here.
9659 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9660 * login/Versions (libc: GLIBC_2.4): ... here.
9661
355f9165
RM
9662 * io/poll.c (__poll): Renamed from poll.
9663 Add libc_hidden_def.
9664 (poll): Define as weak alias.
9665
bd9ffde6
RM
9666 * debug/ptsname_r_chk.c: Moved to ...
9667 * login/ptsname_r_chk.c: ... here.
9668 * debug/Makefile (routines): Move ptsname_r_chk to ...
9669 * login/Makefile (routines): ... here.
9670 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9671 * login/Versions (libc: GLIBC_2.4): ... here.
9672
8fb16a04
RM
9673 * posix/getlogin.c: Moved to ...
9674 * login/getlogin.c: ... here.
9675 * posix/getlogin_r.c: Moved to ...
9676 * login/getlogin_r.c: ... here.
9677 * posix/getlogin_r.c: Moved to ...
9678 * login/getlogin_r.c: ... here.
9679 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9680 * login/Makefile (routines): ... here.
9681 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9682 * login/Versions (libc: GLIBC_2.0): ... here.
9683
b99b892f
RM
9684 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9685 (setrlimit): Define as weak alias.
9686
c7405830
RM
9687 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9688 Call __ names for open, ftruncate, and close.
9689 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9690 (truncate): Define as weak alias.
9691
5bf96de5
JM
96922013-05-06 Joseph Myers <joseph@codesourcery.com>
9693
9ea3513c
JM
9694 * math/gen-libm-test.pl (parse_args): Initialize x before each
9695 test of frexp, modf and remquo.
9696
5bf96de5
JM
9697 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9698 test signgam value.
9699
16e616a7
AZ
97002013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9701
9702 [BZ #15418]
9703 [BZ #15419]
9704 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9705 internal tests.
9706 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9707
d5e82754
RM
97082013-05-06 Roland McGrath <roland@hack.frob.com>
9709
9710 * elf/dl-writev.h: New file.
9711 * elf/dl-misc.c: Include it.
9712 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9713 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9714
a7548d41
JM
97152013-05-04 Joseph Myers <joseph@codesourcery.com>
9716
b7dab1e4
JM
9717 * math/libm-test.inc (noXFails): Remove variable.
9718 (noXPasses): Likewise.
9719 (BUILD_COMPLEX_INT): Remove macro.
9720 (print_screen): Remove xfail argument.
9721 (print_screen_max_error): Likewise.
9722 (update_stats): Likewise.
9723 (print_max_error): Likewise. Update calls to other affected
9724 functions.
9725 (print_complex_max_error): Likewise.
9726 (test_single_exception): Update calls to print_screen.
9727 (test_single_errno): Likewise.
9728 (check_float_internal): Remove xfail argument. Update calls to
9729 other affected functions.
9730 (check_float): Likewise.
9731 (check_complex): Likewise.
9732 (check_int): Likewise.
9733 (check_long): Likewise.
9734 (check_bool): Likewise.
9735 (check_longlong): Likewise.
9736 (main): Don't print noXFails and noXPasses.
9737 * math/gen-libm-test.pl (top level): Don't mention expected
9738 failure handling in comment.
9739 (new_test): Don't handle expected failures.
9740 (parse_args): Don't mention expected failure handling in comment.
9741 (generate_testfile): Don't handle expected failures.
9742 (parse_ulps): Likewise.
9743 (print_ulps_file): Likewise.
9744 (get_failure): Remove function.
9745 (output_test): Don't handle expected failures.
9746 * make/README.libm-test: Don't mention expected failure handling.
9747
a7548d41
JM
9748 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9749 (minus_zero): Likewise.
9750 (plus_infty): Likewise.
9751 (minus_infty): Likewise.
9752 (qnan_value): Likewise.
9753 (max_value): Likewise.
9754 (min_value): Likewise.
9755 (min_subnorm_value): Likewise.
9756 (initialize): Do not initialize those variables dynamically.
9757
60bfd54c
RM
97582013-05-03 Roland McGrath <roland@hack.frob.com>
9759
cc0e6ed8
RM
9760 * io/open.c (__open_2): Moved to ...
9761 * io/open_2.c: ... this new file.
9762 * io/open64.c (__open64_2): Moved to ...
9763 * io/open64_2.c: ... this new file.
9764 * io/openat.c (__openat_2): Moved to ...
9765 * io/openat_2.c: ... this new file.
9766 * io/openat64.c (__openat64_2): Moved to ...
9767 * io/openat64_2.c: ... this new file.
9768 * io/Makefile (routines): Add them.
9769 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9770 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9771 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9772 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9773 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9774 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9775 (__openat64): Add hidden_ver.
9776 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9777 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9778
60bfd54c
RM
9779 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9780 Separately conditionalize setting of GLRO(dl_sysinfo) so
9781 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9782 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9783
83e7640f
AZ
97842013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9785
9786 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9787 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9788 definition.
9789 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9790 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9791 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9792 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9793 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9794
d5dc2af3
JM
97952013-05-03 Joseph Myers <joseph@codesourcery.com>
9796
c31a5b1e
JM
9797 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9798 test signgam value.
9799
d5dc2af3
JM
9800 * math/libm-test.inc (hypot_test): Do not use
9801 IGNORE_ZERO_INF_SIGN.
9802
164fd39d
AJ
98032013-05-03 Andreas Jaeger <aj@suse.de>
9804
9805 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9806 Linux 3.9.
9807 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9808 (PF_MAX): Adjust for VSOCK change.
9809
8237f48c
AZ
98102013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9811
9812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9813
9df02941
CD
98142013-05-02 Carlos O'Donell <carlos@redhat.com>
9815
9816 [BZ #15264]
9817 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9818 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9819 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9820
d422395e
DM
98212013-05-02 David S. Miller <davem@davemloft.net>
9822
9823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9824
a07c5731
OB
98252013-05-01 Ondřej Bílka <neleai@seznam.cz>
9826
9827 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9828
1324e37f
RM
98292013-05-01 Roland McGrath <roland@hack.frob.com>
9830
9831 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9832
0695940b
RS
98332013-05-01 Richard Smith <richard@metafoo.co.uk>
9834
bb5f27ad 9835 [BZ #14952]
0695940b
RS
9836 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9837 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9838 Use __attribute__ ((__gnu_inline__)).
9839 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9840 Don't use __attribute__ ((__gnu_inline__)).
9841
10de07f5
JM
98422013-05-01 Joseph Myers <joseph@codesourcery.com>
9843
9844 [BZ #15423]
9845 * math/s_catan.c (__catan): Handle small real or imaginary part of
9846 input specially to avoid spurious underflow.
9847 * math/s_catanf.c (__catanf): Likewise.
9848 * math/s_catanh.c (__catanh): Likewise.
9849 * math/s_catanhf.c (__catanhf): Likewise.
9850 * math/s_catanhl.c (__catanhl): Likewise.
9851 * math/s_catanl.c (__catanl): Likewise.
9852 * math/libm-test.inc (catan_test): Add more tests.
9853 (catanh_test): Likewise.
9854 * sysdeps/i386/fpu/libm-test-ulps: Update.
9855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9856
cb4d5414
AZ
98572013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9858
9859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9860
caf84319
JM
98612013-04-30 Joseph Myers <joseph@codesourcery.com>
9862
9863 [BZ #15416]
9864 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9865 accurately for denominator in atan2.
9866 * math/s_catanf.c (__catanf): Likewise.
9867 * math/s_catanh.c (__catanh): Likewise.
9868 * math/s_catanhf.c (__catanhf): Likewise.
9869 * math/s_catanhl.c (__catanhl): Likewise.
9870 * math/s_catanl.c (__catanl): Likewise.
9871 * math/libm-test.inc (catan_test): Add more tests.
9872 (catanh_test): Likewise.
9873 * sysdeps/i386/fpu/libm-test-ulps: Update.
9874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9875
d569c6ee
SP
98762013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9877
6dbe713d
SP
9878 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9879
f0ee064b
SP
9880 * benchtests/Makefile (bench): Remove slow benchmarks.
9881 * benchtests/atan-inputs: Add slow benchmark inputs.
9882 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9883 (BENCH_FUNC): Accept variant offset.
9884 (VARIANT): Define.
9885 * benchtests/bench-skeleton.c (main): Run benchmark for each
9886 variant.
9887 * benchtests/cos-inputs: Add slow benchmark inputs.
9888 * benchtests/exp-inputs: Likewise.
9889 * benchtests/pow-inputs: Likewise.
9890 * benchtests/sin-inputs: Likewise.
9891 * benchtests/slowatan-inputs: Remove.
9892 * benchtests/slowatan.c: Remove.
9893 * benchtests/slowcos-inputs: Remove.
9894 * benchtests/slowcos.c: Remove.
9895 * benchtests/slowexp-inputs: Remove.
9896 * benchtests/slowexp.c: Remove.
9897 * benchtests/slowpow-inputs: Remove.
9898 * benchtests/slowpow.c: Remove.
9899 * benchtests/slowsin-inputs: Remove.
9900 * benchtests/slowsin.c: Remove.
9901 * benchtests/slowtan-inputs: Remove.
9902 * benchtests/slowtan.c: Remove.
9903 * benchtests/tan-inputs: Add slow benchmark inputs.
9904 * scripts/bench.pl: Parse comments and directives.
9905
d569c6ee
SP
9906 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9907 in CPPFLAGS.
9908 ($(objpfx)bench-%.c): Remove *-ITER.
9909 * benchtests/bench-modf.c: Remove definition of ITER.
9910 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9911 (main): Loop for DURATION seconds instead of fixed number of
9912 iterations.
9913 * scripts/bench.pl: Don't expect iterations in parameters.
9914
a6a242fe
RM
99152013-04-29 Roland McGrath <roland@hack.frob.com>
9916
9917 * io/fchdir.c (__fchdir): Renamed from fchdir.
9918 (fchdir): Define as weak alias.
9919
f2da7793
JM
99202013-04-29 Joseph Myers <joseph@codesourcery.com>
9921
9922 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9923 (ERRNO_EDOM): Likewise.
9924 (ERRNO_ERANGE): Likewise.
9925 (noErrnoTests): New variable.
9926 (init_max_error): Set errno to 0.
9927 (test_single_errno): New function.
9928 (test_errno): Likewise.
9929 (check_float_internal): Call test_errno. Set errno to 0.
9930 (check_complex): Refer to errno tests in comment.
9931 (check_int): Call test_errno. Set errno to 0.
9932 (check_long): Likewise.
9933 (check_bool): Likewise.
9934 (check_longlong): Likewise.
9935 (cos_test): Use ERRNO_* flags for errno tests instead of
9936 check_int.
9937 (expm1_test): Likewise.
9938 (fmod_test): Likewise.
9939 (ilogb_test): Likewise.
9940 (lgamma_test): Likewise.
9941 (pow_test): Likewise.
9942 (remainder_test): Likewise.
9943 (sin_test): Likewise.
9944 (tan_test): Likewise.
9945 (yn_test): Likewise.
9946 (initialize): Set errno to 0.
9947 (main): Print number of errno tests.
9948 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9949
b1a36ceb
AJ
99502013-04-29 Andreas Jaeger <aj@suse.de>
9951
c3ed8088
AJ
9952 [BZ #15084]
9953 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9954 and RES_USEVC.
9955
f1a24198
AJ
9956 [BZ #15085]
9957 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9958 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9959 unimplemented.
9960
9ce3b2cb
AJ
9961 [BZ #15380]
9962 * stdlib/random.c (__initstate): Return NULL if
9963 __initstate fails.
9964
f1a24198 9965 [BZ #15086]
b1a36ceb
AJ
9966 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9967 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9968 RES_SNGLKUPREOP.
9969
7e7b6f36
AZ
99702013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9971
9972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9973
4d14f449
JM
99742013-04-29 Joseph Myers <joseph@codesourcery.com>
9975
9976 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9977 of individual tests.
9978 (casin_test): Likewise.
9979 (casinh_test): Likewise.
9980
5b4217d7
JM
99812013-04-27 Joseph Myers <joseph@codesourcery.com>
9982
9983 [BZ #15409]
9984 * math/s_catan.c (__catan): Handle arguments with large real or
9985 imaginary part separately without squaring.
9986 * math/s_catanf.c (__catanf): Likewise.
9987 * math/s_catanh.c (__catanh): Likewise.
9988 * math/s_catanhf.c (__catanhf): Likewise.
9989 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9990 and redefine.
9991 (__catanhl): Handle arguments with large real or imaginary part
9992 separately without squaring.
9993 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9994 and redefine.
9995 (__catanl): Handle arguments with large real or imaginary part
9996 separately without squaring.
9997 * math/libm-test.inc (catan_test): Add more tests.
9998 (catanh_test): Likewise.
9999 * sysdeps/i386/fpu/libm-test-ulps: Update.
10000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10001
4220c3ef
AJ
100022013-04-27 Andreas Jaeger <aj@suse.de>
10003
10004 [BZ #15007]
10005 * stdlib/stdlib.h: Update guards for qecvt.
10006 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10007 <stdlib.h>.
10008
4721b2d1
AM
100092013-04-27 Allan McRae <allan@archlinux.org>
10010
10011 * sysdeps/i386/fpu/libm-test-ulps: Update.
10012
f0302940
JM
100132013-04-26 Joseph Myers <joseph@codesourcery.com>
10014
9457fd95
JM
10015 [BZ #15406]
10016 * math/s_catan.c: Include <float.h>.
10017 (__catan): Ensure underflow exception occurs for underflowed
10018 result.
10019 * math/s_catanf.c: Include <float.h>.
10020 (__catanf): Ensure underflow exception occurs for underflowed
10021 result.
10022 * math/s_catanh.c: Include <float.h>.
10023 (__catanh): Ensure underflow exception occurs for underflowed
10024 result.
10025 * math/s_catanhf.c: Include <float.h>.
10026 (__catanhf): Ensure underflow exception occurs for underflowed
10027 result.
10028 * math/s_catanhl.c: Include <float.h>.
10029 (__catanhl): Ensure underflow exception occurs for underflowed
10030 result.
10031 * math/s_catanl.c: Include <float.h>.
10032 (__catanl): Ensure underflow exception occurs for underflowed
10033 result.
10034 * math/libm-test.inc (catan_test): Add more tests.
10035 (catanh_test): Likewise.
10036
f0302940
JM
10037 [BZ #15405]
10038 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10039 underflowed result.
10040 * math/s_ccoshf.c (__ccoshf): Likewise.
10041 * math/s_ccoshl.c (__ccoshl): Likewise.
10042 * math/s_csin.c (__csin): Likewise.
10043 * math/s_csinf.c (__csinf): Likewise.
10044 * math/s_csinh.c (__csinh): Likewise.
10045 * math/s_csinhf.c (__csinhf): Likewise.
10046 * math/s_csinhl.c (__csinhl): Likewise.
10047 * math/s_csinl.c (__csinl): Likewise.
10048 * math/libm-test.inc (ccos_test): Add more tests.
10049 (ccosh_test): Likewise.
10050 (csin_test): Likewise.
10051 (csinh_test): Likewise.
10052
aa630f59
AZ
100532013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10054
10055 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10056 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10057 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10058 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10059 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10060 powerpc/power5+/fpu folders.
10061 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10062
10063
1b835983
MT
100642013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10065
10066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10067
73709b26
JM
100682013-04-25 Joseph Myers <joseph@codesourcery.com>
10069
10070 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10071 additions to variable.
10072 [$(config-machine) = x86_64] (modules-names): Likewise.
10073 ($(objpfx)tst-audit3): Remove dependency.
10074 ($(objpfx)tst-audit3.out): Likewise.
10075 ($(objpfx)tst-audit4): Likewise.
10076 ($(objpfx)tst-audit4.out): Likewise.
10077 ($(objpfx)tst-audit5): Likewise.
10078 ($(objpfx)tst-audit5.out): Likewise.
10079 ($(objpfx)tst-audit6): Likewise.
10080 ($(objpfx)tst-audit6.out): Likewise.
10081 ($(objpfx)tst-audit7): Likewise.
10082 ($(objpfx)tst-audit7.out): Likewise.
10083 (tst-audit3-ENV): Remove variable.
10084 (tst-audit4-ENV): Likewise.
10085 (tst-audit5-ENV): Likewise.
10086 (tst-audit6-ENV): Likewise.
10087 (tst-audit7-ENV): Likewise.
10088 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10089 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10090 addition to variable.
10091 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10092 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10093 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10094 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10095 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10096 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10097 tst-audit3, tst-audit4 and tst-audit5.
10098 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10099 tst-audit6 and tst-audit7.
10100 [$(subdir) = elf] (modules-names): Add audit modules for those
10101 tests.
10102 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10103 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10104 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10105 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10106 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10107 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10108 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10109 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10110 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10111 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10112 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10113 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10114 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10115 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10116 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10117 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10118 Likewise.
10119 [$(subdir) = elf && $(config-cflags-avx) = yes]
10120 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10121 [$(subdir) = elf && $(config-cflags-avx) = yes]
10122 (CFLAGS-tst-auditmod4a.c): Likewise.
10123 [$(subdir) = elf && $(config-cflags-avx) = yes]
10124 (CFLAGS-tst-auditmod4b.c): Likewise.
10125 [$(subdir) = elf && $(config-cflags-avx) = yes]
10126 (CFLAGS-tst-auditmod6b.c): Likewise.
10127 [$(subdir) = elf && $(config-cflags-avx) = yes]
10128 (CFLAGS-tst-auditmod6c.c): Likewise.
10129 [$(subdir) = elf && $(config-cflags-avx) = yes]
10130 (CFLAGS-tst-auditmod7b.c): Likewise.
10131 * elf/tst-audit3.c: Move to ...
10132 * sysdeps/x86_64/tst-audit3.c: ... here.
10133 * elf/tst-audit4.c: Move to ...
10134 * sysdeps/x86_64/tst-audit4.c: ... here.
10135 * elf/tst-audit5.c: Move to ...
10136 * sysdeps/x86_64/tst-audit5.c: ... here.
10137 * elf/tst-audit6.c: Move to ...
10138 * sysdeps/x86_64/tst-audit6.c: ... here.
10139 * elf/tst-audit7.c: Move to ...
10140 * sysdeps/x86_64/tst-audit7.c: ... here.
10141 * elf/tst-auditmod3a.c: Move to ...
10142 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10143 * elf/tst-auditmod3b.c: Move to ...
10144 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10145 * elf/tst-auditmod4a.c: Move to ...
10146 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10147 * elf/tst-auditmod4b.c: Move to ...
10148 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10149 * elf/tst-auditmod5a.c: Move to ...
10150 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10151 * elf/tst-auditmod5b.c: Move to ...
10152 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10153 * elf/tst-auditmod6a.c: Move to ...
10154 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10155 * elf/tst-auditmod6b.c: Move to ...
10156 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10157 * elf/tst-auditmod6c.c: Move to ...
10158 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10159 * elf/tst-auditmod7a.c: Move to ...
10160 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10161 * elf/tst-auditmod7b.c: Move to ...
10162 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10163
1ef74943
PP
101642013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10165
10166 [BZ #15366]
10167 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10168 define unconditionally.
10169 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10170 define unconditionally.
10171 (INT8_C, INT16_C, etc.): Likewise.
10172
93fd48c5
MR
101732013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10174
ae9552cf
MR
10175 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10176 __ehdr_start with hidden visibility.
10177
93fd48c5
MR
10178 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10179
418601aa
CD
101802013-04-24 Carlos O'Donell <carlos@redhat.com>
10181
10182 * math/libm-test.inc (cos_test): Use accurate hex constants.
10183 (sincost_test): Likewise.
10184
2f38fbfe
JM
101852013-04-24 Joseph Myers <joseph@codesourcery.com>
10186
5e221800
JM
10187 * math/libm-test.inc (catan_test): Add more tests.
10188 (catanh_test): Likewise.
10189
77f143fd
JM
10190 * math/s_catanf.c (__catanf): Use suffixed floating-point
10191 constants.
10192 * math/s_catanhf.c (__catanhf): Likewise.
10193 * math/s_catanhl.c (__catanhl): Likewise.
10194 * math/s_catanl.c (__catanl): Likewise.
10195
2f38fbfe
JM
10196 [BZ #15394]
10197 * math/s_catan.c (__catan): Calculate imaginary part of result
10198 with log1p not log unless computing log of number close to 0.
10199 * math/s_catanf.c (__catanf): Likewise.
10200 * math/s_catanl.c (__catanl): Likewise.
10201 * math/s_catanh.c (__catanh): Calculate real part of result with
10202 log1p not log unless computing log of number close to 0.
10203 * math/s_catanhf.c (__catanhf): Likewise.
10204 * math/s_catanhl.c (__catanhl): Likewise.
10205 * math/libm-test.inc (catan_test): Add more tests.
10206 (catanh_test): Likewise.
10207 * sysdeps/i386/fpu/libm-test-ulps: Update.
10208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10209
45d69176
SP
102102013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10211
10212 * benchtests/Makefile: Mention files in which fast and slow
10213 paths of math functions are implemented.
10214
87f51853
RM
102152013-04-23 Roland McGrath <roland@hack.frob.com>
10216
10217 * sysdeps/posix/timespec_get.c: New file.
10218
3c026539
AZ
102192013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10220
10221 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10222 POWER.
10223 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10224 for POWER.
10225 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10226 powerpc/power5/fpu folders.
10227 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10228 * benchtests/Makefile: Add modf testcase.
10229 * benchtests/bench-modf.c: New file: Benchmark test for mo
10230
ff491d14
SP
102312013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10232
10233 [BZ #14888]
10234 * time/Makefile (tests): Add tst-strptime-whitespace.
10235 * time/strptime_l.c (get_number): Use ISSPACE.
10236 (__strptime_internal): Likewise.
10237 * time/tst-strptime-whitespace.c: New test case.
10238
7ed3f4e8
AS
102392013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10240
10241 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10242 member.
10243 (_nss_files_init): Set it here.
10244
5c95f7b6
HC
102452013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10246
10247 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10248 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10249 unsigned.
10250
d34c9158
JBG
102512013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10252
10253 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10254
2169712d
SP
102552013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10256
10257 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10258 size just once.
10259
29c5de99
DM
102602013-04-21 David S. Miller <davem@davemloft.net>
10261
10262 * po/ru.po: Update Russion translation from translation project.
10263
ccdad15d
AC
102642013-04-17 Adam Conrad <adconrad@0c3.net>
10265
10266 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10267 and setfsgid.
10268
0f122b8d
CD
102692013-04-17 Carlos O'Donell <carlos@redhat.com>
10270
5c5b07da 10271 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10272 * configure: Regenerate.
5c5b07da 10273 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10274 Add example to error message.
10275 * sysdeps/i386/configure: Regenerate.
10276
037714dd
SP
102772013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10278
10279 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10280 slowtan.
10281 * benchtests/cos-inputs: New file.
10282 * benchtests/slowcos-inputs: New file.
10283 * benchtests/slowcos.c: New file.
10284 * benchtests/slowtan-inputs: New file.
10285 * benchtests/slowtan.c: New file.
10286 * benchtests/tan-inputs: New file.
10287
e913141d
RM
102882013-04-16 Roland McGrath <roland@hack.frob.com>
10289
10290 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10291 considered kosher.
10292
a2964074
SP
102932013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10294
4856bcd2
SP
10295 * benchtests/Makefile: Include cppflags-iterator.mk to add
10296 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10297
a2964074
SP
10298 * Makefile.in (bench-clean): New target.
10299 * benchtests/Makefile (bench-clean): Likewise.
10300
9fbf9aca
DH
103012013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10302
10303 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10304
207d1e2a
TS
103052013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10306
10307 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10308
306dfba9
AS
103092013-04-15 Andreas Schwab <schwab@suse.de>
10310
10311 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10312 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10313 * nscd/pwdcache.c (cache_addpw): Likewise.
10314 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10315 more than recsize.
10316
206a6699
SP
103172013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10318
10319 * benchtests/Makefile (bench): Write all output to
10320 bench-out.tmp together.
10321
0582f6b3
AS
103222013-04-15 Andreas Schwab <schwab@suse.de>
10323
10324 * nscd/nscd.c (main): Don't fork again after closing files.
10325
acb4325f
SP
103262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10327
5cb26d0a
SP
10328 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10329
acb4325f
SP
10330 * benchtests/Rules (bench-deps): Collect dependencies into a
10331 single variable. Add Makefile to dependencies.
10332 ($(objpfx)bench-%.c): Depend on bench-deps.
10333
47792506
RM
103342013-04-12 Roland McGrath <roland@hack.frob.com>
10335 Xavier Roche <roche+kml2@exalead.com>
10336
10337 [BZ #15361]
10338 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10339 just that it's a file descriptor.
10340 * manual/llio.texi (Synchronizing AIO Operations): Update description
10341 for EBADF error from aio_fsync.
10342
8fc1bee5
SP
103432013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10344
10345 * Rules (bench): Move target definition...
10346 * benchtests/Makefile: ... here.
10347
aba5e333
CD
103482013-04-11 Carlos O'Donell <carlos@redhat.com>
10349
10350 * math/libm-test.inc (cos_test): Fix PI/2 test.
10351 (sincos_test): Likewise.
10352 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10353 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10354
273cdee8
AS
103552013-04-11 Andreas Schwab <schwab@suse.de>
10356
6ecec3b6
AS
10357 [BZ #13988]
10358 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10359 accept exponent character only when digits were seen.
10360 * stdio-common/Makefile (tests): Add bug26.
10361 * stdio-common/bug26.c: New file.
10362
273cdee8
AS
10363 [BZ #14293]
10364 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10365 non-freeable.
10366
8da491f5
SP
103672013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10368
01dc6df9
SP
10369 * Makeconfig (rtld-prefix): Define built linker prefix.
10370 * Rules (run-bench): Use it.
10371 * math/Makefile (run-regen-ulps): Likewise.
10372
8da491f5
SP
10373 * Rules (bench): Remove eval.
10374
abe7f530
SP
103752013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10376 Roland McGrath <roland@hack.frob.com>
10377 Ondrej Bilka <neleai@seznam.cz>
10378
10379 [BZ #15346]
10380 * time/getdate.c: Include ctype.h and alloca.h.
10381 (__getdate_r): Trim leading and trailing spaces of input.
10382 * time/tst-getdate.c (tests): Add tests with leading and
10383 trailing spaces.
10384
61c23e62
RM
103852013-04-08 Roland McGrath <roland@hack.frob.com>
10386
10387 [BZ #14280]
10388 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10389 when computing value.
10390
7208a313
CD
103912013-04-06 Carlos O'Donell <carlos@redhat.com>
10392
085b2d41
CD
10393 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10394 Use testrun.sh to run libm tests.
10395
7208a313
CD
10396 [BZ #15309]
10397 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10398
872c0acd
MM
103992013-04-06 Marko Myllynen <myllynen@redhat.com>
10400
10401 [BZ #15264]
10402 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10403
26510bdd
CD
104042013-04-06 Carlos O'Donell <carlos@redhat.com>
10405
10406 * Makefile.in (regen-ulps): New target.
10407 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10408 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10409 [ifneq (no,$(PERL)] (regen-ulps): New target.
10410 [ifeq (no,$(PERL)] (regen-ulps): New target.
10411 * math/libm-test.inc (ulps_file_name): Define.
10412 (output_dir): New variable.
10413 (options): Add "output-dir" option.
10414 (parse_opt): Handle 'o' case.
10415 (main): If output_dir is non-NULL use it as a prefix
10416 otherwise use "".
10417 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10418
a01f19c8
CD
104192013-04-06 Carlos O'Donell <carlos@redhat.com>
10420
10421 [BZ #10060, #10062]
10422 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10423 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10424 fail configure if __sync_val_compare_and_swap is not inlined.
10425 * sysdeps/i386/configure: Regenerate.
10426 * configure.in: Build for i686 when configured for i386.
10427 * configure: Regenerate.
10428 * README: Remove i386 reference.
10429
b7a329a5
CD
104302013-04-06 Carlos O'Donell <carlos@redhat.com>
10431
10432 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10433 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10434
bf0f50df
TS
104352013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10436
ee091edf
TS
10437 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10438 (lmsnanval): New variables.
10439 (F): Add conversion tests.
10440 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10441 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10442
a8b792d6
TS
10443 * stdio-common/tstdiomisc.c (F): Properly collect individual
10444 tests' results.
10445
a1cbf437
TS
10446 [BZ #14686, #15336]
10447 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10448 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10449 Instead, use input NaN values or generate a qNaN by arithmetic
10450 operation. Also fix bugs to comply with the standard.
10451 * math/libm-test.inc (remainder_test): Add more tests.
10452
8b43a0c9
TS
10453 [BZ #15335, #15342]
10454 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10455 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10456 input NaN values or generate a qNaN by arithmetic operation.
10457
d91da4ce
TS
10458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10459 unreachable code.
10460
bf0f50df
TS
10461 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10462 definitions.
10463
05e166c8
JM
104642013-04-03 Joseph Myers <joseph@codesourcery.com>
10465
10466 [BZ #14478]
10467 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10468 underflowed result.
10469 * math/s_cexpf.c (__cexpf): Likewise.
10470 * math/s_cexpl.c (__cexpl): Likewise.
10471 * math/libm-test.inc (cexp_test): Add more tests.
10472
1cef1b19
AS
104732013-04-03 Andreas Schwab <schwab@suse.de>
10474
10475 [BZ #15330]
10476 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10477 order arrays from heap if bigger than alloca cutoff.
10478
74d87055
TS
104792013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10480
10481 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10482 (SNAN_TESTS_double): Refer to GCC PR56831.
10483 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10484 GCC PR56828.
10485
d755bba4
SP
104862013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10487
90d5d5bb
SP
10488 * Rules (bench): Move bench.out after the run is complete.
10489
73e0cd5d
SP
10490 * Rules (bench): Echo currently running benchmark.
10491
64aabd4b
SP
10492 * benchtests/Makefile (bench): Add atan and slowatan.
10493 * benchtests/atan-inputs: New file.
10494 * benchtests/slowatan-inputs: New file.
10495 * benchtests/slowatan.c: New file.
10496
c871eccd
SP
10497 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10498 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10499 its value.
10500
d755bba4
SP
10501 [BZ #15305]
10502 * sysdeps/unix/sysv/linux/kernel-features.h
10503 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10504 __ASSUME_XFS_RESTRICTED_CHOWN.
10505 * sysdeps/unix/sysv/linux/pathconf.c
10506 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10507 Save and restore errno.
10508
52ce4860
JM
105092013-04-02 Joseph Myers <joseph@codesourcery.com>
10510
10511 [BZ #15327]
10512 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10513 arguments using __kernel_casinh.
10514 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10515 arguments using __kernel_casinhf.
10516 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10517 arguments using __kernel_casinhl.
10518 * math/libm-test.inc (cacosh_test): Add more tests.
10519 * sysdeps/i386/fpu/libm-test-ulps: Update.
10520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10521
81f311c2
SP
105222013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10523
e7906a47
SP
10524 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10525 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10526
92e3664b
SP
10527 * bench/Makefile (bench): Add sin and slowsin.
10528 * benchtests/sin-inputs: New file.
10529 * benchtests/slowsin-inputs: New file.
10530 * benchtests/slowsin.c: New file.
10531
81f311c2
SP
10532 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10533 (bench): Add slowexp and slowpow.
10534 (exp-ITER): Increase iterations.
10535 (pow-ITER): Likewise.
10536 * benchtests/exp-inputs: Change input.
10537 * benchtests/pow-inputs: Likewise.
10538 * benchtests/slowexp-inputs: New file.
10539 * benchtests/slowexp.c: New file.
10540 * benchtests/slowpow-inputs: New file.
10541 * benchtests/slowpow.c: New file.
10542
ab0f1aa9
AZ
105432013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10544
10545 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10546 instructions.
10547 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10548 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10549 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10550 * benchtests/Makefile: Add rint benchtest.
10551 * benchtests/rint-inputs: Input for rint benchtest.
10552
57267616
TS
105532013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10554
10555 * Versions.def (libm): Add GLIBC_2.18.
10556 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10557 hidden libm prototypes.
10558 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10559 * math/Makefile (libm-calls): Add s_issignaling.
10560 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10561 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10562 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10563 declaration.
10564 * math/math.h [__USE_GNU] (issignaling): New macro.
10565 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10566 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10567 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10568 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10569 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10570 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10571 * manual/arith.texi (issignaling): New section.
10572 * manual/libm-err-tab.pl (@all_functions): Update comment.
10573 * math/gen-libm-test.pl (parse_args): Apply special handling for
10574 issignaling.
10575 * math/libm-test.inc (print_float, issignaling_test): New
10576 functions.
10577 (check_float_internal): Add issignaling checks.
10578 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10579 default definition.
10580 * sysdeps/powerpc/math-tests.h: New file.
10581 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10582 tests.
10583 * math/test-snan.c (TEST_FUNC): Likewise.
10584
6142896d
DM
105852013-03-30 David S. Miller <davem@davemloft.net>
10586
10587 * po/de.po: Update from translation team.
10588
ccc8cadf
JM
105892013-03-30 Joseph Myers <joseph@codesourcery.com>
10590
10591 [BZ #10357]
10592 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10593 imaginary part less than 1.0 and real part less than 0.5
10594 specially.
10595 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10596 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10597 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10598 (cacos_test): Add more tests.
10599 (casin_test): Likewise.
10600 (casinh_test): Likewise.
10601 * sysdeps/i386/fpu/libm-test-ulps: Update.
10602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10603
0f6a8d4b
SP
106042013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10605
0d1029de
SP
10606 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10607 ONE with its value.
10608
c2d94018
SP
10609 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10610 (__pow_mp): Replace ONE and MONE with their values.
10611 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10612 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10613 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10614 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10615 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10616 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10617
27ec37f1
SP
10618 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10619
a64d7e0e
SP
10620 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10621 (__pow_mp): Replace ZERO and MZERO with their values.
10622 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10624 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10625 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10626 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10627 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10628 (__sqr): Likewise.
10629
d26dd3eb
SP
10630 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10631
0f6a8d4b
SP
10632 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10633
e57b0c61
RM
106342013-03-28 Roland McGrath <roland@hack.frob.com>
10635
10636 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10637 Declare with __attribute__ ((weak)).
10638 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10639 Call __call_tls_dtors only if it's not NULL.
10640
356b3480
RM
106412013-03-28 Roland McGrath <roland@hack.frob.com>
10642
288f7d79
RM
10643 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10644 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10645 magic __ehdr_start linker symbol if it's defined.
10646 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10647 them up here if it was already done.
10648
dc0a0263
RM
10649 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10650 (_dl_aux_init): Use const in cast when setting it.
10651 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10652 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10653 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10654
3d3436ae
RM
10655 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10656 Declare them here.
10657 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10658 * csu/libc-tls.c: Nor here.
10659 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10660
356b3480
RM
10661 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10662 (__libc_message): Never call vsyslog.
10663
b0f1246a
AM
106642013-03-28 Alan Modra <amodra@gmail.com>
10665
10666 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10667 Define as empty.
10668 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10669 Likewise.
10670
fbbe2b9a
AZ
106712013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10672
10673 [BZ #15214]
10674 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10675 underflow.
10676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10677
1728ab37
SP
106782013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10679
7a86be6e
SP
10680 [BZ #15304]
10681 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10682 Don't add gid passed as argument.
10683
1728ab37
SP
10684 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10685
3a7182a1
JM
106862013-03-27 Joseph Myers <joseph@codesourcery.com>
10687
10688 [BZ #15307]
10689 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10690 imaginary part between 1.0 and 1.5 and real part less than 0.5
10691 specially.
10692 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10693 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10694 * math/libm-test.inc (cacos_test): Add more tests.
10695 (casin_test): Likewise.
10696 (casinh_test): Likewise.
10697 * sysdeps/i386/fpu/libm-test-ulps: Update.
10698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10699
6f2e90e7
SP
107002013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10701
5739f705
SP
10702 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10703 constants.
10704 (norm): Likewise.
10705 (denorm): Likewise.
10706 (__dbl_mp): Likewise.
10707 (add_magnitudes): Likewise.
10708 (sub_magnitudes): Likewise.
10709 (__add): Likewise.
10710 (__sub): Likewise.
10711 (__mul): Likewise.
10712 (__sqr): Likewise.
10713 (__inv): Likewise.
10714 (__dvd): Likewise.
10715
e375e83d
SP
10716 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10717 commented code.
10718 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10719 (__dubcos): Likewise.
10720 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10721 (__ieee754_acos): Likewise.
10722 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10723 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10724 (__exp1): Likewise.
10725 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10726 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10727 (log1): Likewise.
10728 (my_log2): Likewise.
10729 (checkint): Likewise.
10730 * sysdeps/ieee754/dbl-64/e_remainder.c
10731 (__ieee754_remainder): Likewise.
10732 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10733 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10734 (bsloww): Likewise.
10735 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10736
6f2e90e7
SP
10737 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10738 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10739 MANTISSA_STORE_T to store computations on mantissa. Use
10740 macros for rounding and division.
10741 (denorm): Likewise.
10742 (__dbl_mp): Likewise.
10743 (add_magnitudes): Likewise.
10744 (sub_magnitudes): Likewise.
10745 (__mul): Likewise.
10746 (__sqr): Likewise.
10747 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10748 powers of two in terms of TWOPOW macro.
10749 (mp_no): Make type of mantissa as MANTISSA_T.
10750 [!RADIXI]: Define RADIXI.
10751 [!TWO52]: Define TWO52.
10752 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10753
fce14d4e
AZ
107542013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10755
10756 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10757 llroundl symbol when building for PPC32.
10758
9ad027fb
MW
107592013-03-24 Mark H Weaver <mhw@netris.org>
10760
10761 * manual/arith.texi (Normalization Functions): Fix prototypes for
10762 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10763
e42a38dd
AZ
107642013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10765
10766 [BZ #13889]
10767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10768 high value to check if expl overflow.
10769 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10770 to check for underflow and overflow.
10771 * math/libm-test.inc: Add exp test.
10772
2e0fb521
DL
107732013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10774
10775 [BZ #11120]
10776 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10777 with NOT_IN_libc.
10778
b5784d95
AZ
107792013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10780
10781 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10782 symbol.
10783
5aa4a1a1
TS
107842013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10785
bdef0be7
TS
10786 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10787 wrap blocks consisting of several statements.
10788
5aa4a1a1
TS
10789 * sysdeps/generic/math-tests.h: New file.
10790 * sysdeps/i386/fpu/math-tests.h: Likewise.
10791 * math/test-snan.c: Include it.
10792 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10793
98c48fe5
JM
107942013-03-21 Joseph Myers <joseph@codesourcery.com>
10795
10796 [BZ #15285]
10797 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10798 (__ieee754_j0l): Do not improve calculations using cos of twice
10799 input for inputs above LDBL_MAX / 2.0L.
10800 (__ieee754_y0l): Likewise.
10801 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10802 (__ieee754_j1l): Do not improve calculations using cos of twice
10803 input for inputs above LDBL_MAX / 2.0L.
10804 (__ieee754_y1l): Likewise.
10805 * math/libm-test.inc (j0_test): Add another test.
10806 (j1_test): Likewise.
10807 (y0_test): Likewise.
10808 (y1_test): Likewise.
10809 * sysdeps/i386/fpu/libm-test-ulps: Update.
10810
3775a8bc
SP
108112013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10812
10813 * Rules ($(objpfx)bench-%.c): Include code from a C source
10814 file.
10815
0a1b2ae6
JM
108162013-03-21 Joseph Myers <joseph@codesourcery.com>
10817
10818 [BZ #15287]
10819 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10820 imaginary part 1.0 and real part less than 0.5 specially.
10821 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10822 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10823 * math/libm-test.inc (cacos_test): Add more tests.
10824 (casin_test): Likewise.
10825 (casinh_test): Likewise.
10826 * sysdeps/i386/fpu/libm-test-ulps: Update.
10827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10828
b33d4ce4
SP
108292013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10830
10831 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10832 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10833
bef0b507
JM
108342013-03-20 Joseph Myers <joseph@codesourcery.com>
10835
10836 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10837 * config.make.in (config-cflags-sse4): Remove variable.
10838 (config-cflags-avx): Likewise.
10839 (config-cflags-sse2avx): Likewise.
10840 (config-cflags-novzeroupper): Likewise.
10841 (config-asflags-i686): Likewise.
10842 (have-mfma4): Likewise.
10843 (have-as-vis3): Likewise.
10844 (MIG): Likewise.
10845 * configure.in (MIG): Do not AC_SUBST.
10846 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10847 (libc_cv_cc_sse4): Do not AC_SUBST.
10848 (libc_cv_cc_avx): Likewise.
10849 (libc_cv_cc_sse2avx): Likewise.
10850 (libc_cv_cc_novzeroupper): Likewise.
10851 (libc_cv_cc_fma4): Likewise.
10852 (libc_cv_as_i686): Likewise.
10853 (libc_cv_sparc_as_vis3): Likewise.
10854 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10855 LIBC_CONFIG_VAR.
10856 (config-asflags-i686): Likewise.
10857 (config-cflags-avx): Likewise.
10858 (config-cflags-sse2avx): Likewise.
10859 (have-mfma4): Likewise.
10860 (config-cflags-novzeroupper): Likewise.
10861 * sysdeps/mach/configure.in (MIG): Likewise.
10862 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10863 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10864 LIBC_CONFIG_VAR.
10865 (config-cflags-avx): Likewise.
10866 (config-cflags-sse2avx): Likewise.
10867 (have-mfma4): Likewise.
10868 (config-cflags-novzeroupper): Likewise.
10869 * configure: Regenerated.
10870 * sysdeps/i386/configure: Likewise.
10871 * sysdeps/mach/configure: Likewise.
10872 * sysdeps/sparc/configure: Likewise.
10873 * sysdeps/x86_64/configure: Likewise.
10874
912cc4b3
RM
108752013-03-20 Roland McGrath <roland@hack.frob.com>
10876
10877 [BZ #14812]
10878 * locale/programs/localedef.c (options): Put N_ translation marker
10879 on argument names, not just descriptions.
10880
04eed2b0
MS
108812013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10882
10883 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10884
a065ceff
OB
108852013-03-20 Ondřej Bílka <neleai@seznam.cz>
10886
9bb2a810 10887 [BZ #14176]
a065ceff
OB
10888 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10889
a600e5ce
RM
108902013-03-19 Roland McGrath <roland@hack.frob.com>
10891
10892 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10893 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10894 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10895 [!BEFORE_ABORT] (before_abort): New function.
10896 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10897 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10898 (writev_for_fatal): New function.
10899 (WRITEV_FOR_FATAL): New macro; call that.
10900 (backtrace_and_maps): New function.
10901 (BEFORE_ABORT): New macro; call that.
10902 (struct str_list): Type removed.
10903 (__libc_message, __libc_fatal): Functions removed.
10904 Include <sysdeps/posix/libc_fatal.c> instead.
10905
6b18bea6
JM
109062013-03-19 Joseph Myers <joseph@codesourcery.com>
10907
10908 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10909 constants.
10910 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10911 double constants.
10912
aaa8cb4b
AS
109132013-03-19 Andreas Schwab <schwab@suse.de>
10914
44673770
AS
10915 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10916 * sysdeps/gnu/configure: Regenerate.
10917
aaa8cb4b
AS
10918 * configure.in: Substitute libc_cv_rtlddir.
10919 * configure: Regenerate.
10920 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10921 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10922 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10923 * elf/Makefile (install-others, CFLAGS-interp.c)
10924 (ldso_install, common-ldd-rewrite): Likewise.
10925 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10926 $(inst_slibdir)/$(rtld-installed-name).
10927 * scripts/rellns-sh: Add -p option.
10928 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10929 for source.
10930
d3cfc668
SP
109312013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10932
10933 * manual/nptl.texi: Renamed to ...
10934 * manual/threads.texi: ... this.
10935 * manual/Makefile (chapters): Update.
10936
0e2b9cdd
RM
109372013-03-18 Roland McGrath <roland@hack.frob.com>
10938
10939 [BZ #14812]
10940 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10941 on argument names, not just descriptions.
0e2b9cdd
RM
10942 * malloc/memusagestat.c (options): Likewise.
10943 * nss/getent.c (options): Likewise.
63270c24
RM
10944
109452013-03-18 Benno Schulenberg <bensberg@justemail.net>
10946
10947 [BZ #14812]
10948 * iconv/iconv_prog.c (options): Put N_ translation marker
10949 on argument names, not just descriptions.
10950 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10951
b2e1393c
OB
109522013-03-18 Ondrej Bilka <neleai@seznam.cz>
10953
10954 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10955 implementation which is faster on all x86_64 architectures.
10956 Tested on AMD, Intel Nehalem, SNB, IVB.
10957 * sysdeps/x86_64/strnlen.S: Likewise.
10958
10959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10960 Remove all multiarch strlen and strnlen versions.
10961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10962 Remove strlen and strnlen related parts.
10963
10964 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10965 Inline strlen part.
10966 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10967
10968 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10969 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10970 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10971 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10972 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10973 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10974
ec4ff04d
CD
109752013-03-17 Carlos O'Donell <carlos@redhat.com>
10976
10977 * manual/memory.texi (Malloc Tunable Parameters):
10978 Sort parameters alphabetically. Add comments for missing entries.
10979
cd18e90a
DM
109802013-03-17 David S. Miller <davem@davemloft.net>
10981
10982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10983
2a185d32
JM
109842013-03-16 Joseph Myers <joseph@codesourcery.com>
10985
d2f9799e
JM
10986 [BZ #15283]
10987 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10988 for arguments at most half maximum finite value.
10989 * math/libm-test.inc (j0_test): Add more tests.
10990 (j1_test): Likewise.
10991 (y0_test): Likewise.
10992 (y1_test): Likewise.
10993 * sysdeps/i386/fpu/libm-test-ulps: Update.
10994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10995
2a185d32
JM
10996 [BZ #14155]
10997 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10998 1 / x and functions P and Q for arguments above 0x1p256L.
10999 (__ieee754_y0l): Likewise.
11000 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11001 (__ieee754_y1l): Likewise.
11002 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11003 (j1_test): Likewise.
11004 (y0_test): Likewise.
11005 (y1_test): Likewise.
11006
6cbec759
TS
110072013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11008
11009 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11010 variable.
11011
bc16e260
RM
110122013-03-15 Roland McGrath <roland@hack.frob.com>
11013
aefc9b8c
RM
11014 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11015 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11016 zero since it's initialized to EXEC_PAGESIZE.
11017
bc16e260
RM
11018 * sysdeps/unix/sysv/linux/ldsodefs.h
11019 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11020 * sysdeps/generic/ldsodefs.h: ... here.
11021
a57da955
TS
110222013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11023
af00a34d
TS
11024 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11025
495ded2c
TS
11026 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11027 math/test-snan.c.
11028 * math/test-snan.c: Renamed from
11029 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11030 * math/Makefile (tests): Add test-snan.
11031 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11032 test-powerpc-snan.
11033
777b0332
TS
11034 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11035 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11036 functions.
11037 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11038 __builtin_nan family of functions.
11039 * math/libm-test.inc (initialize): Initialize qnan_value with
11040 __builtin_nan family of functions.
11041 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11042 Remove variables.
11043 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11044 Remove functions.
11045 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11046 storage class. Initialize qNaN_var and sNaN_var with
11047 __builtin_nan and __builtin_nans families of functions,
11048 respectively.
11049
64d063b8
TS
11050 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11051 (sqrt_test): Remove duplicate test with qNaN input.
11052 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11053 (round_test, signbit_test, significand_test): Note missing +/-Inf
11054 as well as qNaN tests.
11055
67e971f1
TS
11056 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11057 qNaN_var. Fix a few strings, too.
11058 * math/libm-test.inc (nan_value): Rename to qnan_value.
11059 * math/gen-libm-test.pl (%beautify): Adjust to that.
11060 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11061 * math/test-misc.c (main): Likewise.
11062 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11063 to __qnan_bytes, and __qnan_union, respectively.
11064 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11065 Likewise.
11066 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11067 and lqnanval, respectively.
11068 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11069 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11070 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11071 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11072
64487e12
TS
11073 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11074 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11075 doubles.
11076
e015e27b
TS
11077 * math/test-misc.c (main): Fix copy'n'pastos.
11078 * misc/tst-efgcvt.c (special): Likewise.
11079
a57da955
TS
11080 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11081 Remove declarations.
11082
1e380345
SP
110832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11084
11085 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11086 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11087 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11088 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11089
ef26eece
AZ
110902013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11091
11092 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11093 macro to return vdso values correctly in IFUNC implementations.
11094 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11095 Optimization by using IFUNC.
11096
8cfdb7e0
SP
110972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11098 Richard Henderson <rth@redhat.com>
11099 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11100
11101 * Makefile.in (bench): New target.
11102 * NEWS: Mention the benchmark framework.
11103 * Rules (bench): Likewise.
11104 (binaries-bench): Generate binaries for functions to
11105 benchmark.
11106 * benchtests/Makefile: New makefile for benchmark tests.
11107 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11108 programs.
11109 * benchtests/exp-inputs: New input file for EXP function.
11110 * benchtests/pow-inputs: New input file for POW function.
11111 * scripts/bench.pl: New script to generate source files for
11112 benchmark programs.
11113
bcda9880
SP
111142013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11115
d22ca8cd
SP
11116 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11117 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11118 computations on mantissa. Use macros for rounding and
11119 division.
11120 (denorm): Likewise.
11121 (__dbl_mp): Likewise.
11122 (add_magnitudes): Likewise.
11123 (sub_magnitudes): Likewise.
11124 (__mul): Likewise.
11125 (__sqr): Likewise.
11126 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11127 powers of two in terms of TWOPOW macro.
11128 (mp_no): Make type of mantissa as MANTISSA_T.
11129 [!RADIXI]: Define RADIXI.
11130 [!TWO52]: Define TWO52.
11131 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11132
bcda9880
SP
11133 * manual/nptl.texi (cindex): Modify threads to pthreads.
11134
06d5adfb
JM
111352013-03-15 Joseph Myers <joseph@codesourcery.com>
11136
11137 * sysdeps/x86_64/preconfigure: Regenerated.
11138
41c7328e
JM
111392013-03-14 Joseph Myers <joseph@codesourcery.com>
11140
11141 [BZ #14155]
11142 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11143 0x1p28 and above.
11144 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11145 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11146 0x1p28 and above.
11147 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11148 * math/libm-test.inc (j0_test): Do not allow one spurious
11149 underflow exception.
11150 (y1_test): Likewise.
11151
e25cfa60
SP
111522013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11153
0409959c
SP
11154 * manual/Makefile (chapters): Add nptl.
11155 * manual/debug.texi (Debugging Support): Add link to Threads
11156 chapter.
11157 * manual/nptl.texi: New file.
11158
e25cfa60
SP
11159 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11160
58a1335e
PB
111612013-03-14 Petr Baudis <pasky@ucw.cz>
11162
11163 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11164 for non-NULL pointer before the memory validity test. Pointed
11165 out by Holger Brunck <holger.brunck@keymile.com>.
11166
9dc7c64f
AS
111672013-03-13 Andreas Schwab <schwab@suse.de>
11168
11169 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11170 instead of .os.
11171
54206aa6
JM
111722013-03-13 Joseph Myers <joseph@codesourcery.com>
11173
11174 * timezone/zic.c: Update from tzcode 2013b.
11175
e98cdb38
CD
111762013-03-12 Carlos O'Donell <carlos@redhat.com>
11177
11178 * manual/install.texi (Configuring and compiling):
11179 Mention i686 and i586.
11180 * INSTALL: Regenerate.
11181
9967e003
RM
111822013-03-12 Roland McGrath <roland@hack.frob.com>
11183
11184 * sysdeps/init_array/elf-init.c: New file.
11185 * csu/elf-init.c
11186 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11187 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11188
11189 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11190 __gmon_start__ as global, but as static with a .preinit_array pointer.
11191 * sysdeps/init_array/gmon-start.c: New file. Use that.
11192 * sysdeps/init_array/crti.S: New file, empty except for comments.
11193 * sysdeps/init_array/crtn.S: Likewise.
11194
e6b5a293 111952013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11196
11197 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11198 definining bcopy.
80f844c9
OB
11199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11200 Remove Prefer_SSE_for_memop.
11201 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11202 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11203 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11204 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11205 memset-x86-64.
80f844c9 11206 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11207 Remove bzero, memset ifunc support.
80f844c9
OB
11208 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11209 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11210 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11211 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11212
fb6b0fcb
AS
112132013-03-11 Andreas Schwab <schwab@suse.de>
11214
11215 [BZ #15234]
11216 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11217 by SHLIB_COMPAT.
11218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11219 (GLIBC_2.16): Remove pthread_atfork.
11220
3e6bd4b1
PP
112212013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11222
11223 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11224 (ptestcases.h): Likewise.
11225
222d7f00
RM
112262013-03-08 Roland McGrath <roland@hack.frob.com>
11227
11228 * Makeconfig ($(common-objpfx)config.status): Depend on
11229 sysdeps/*/preconfigure{,.in} too.
11230
1ba4f030
JM
112312013-03-08 Joseph Myers <joseph@codesourcery.com>
11232
a222d91a
JM
11233 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11234 (__free_hook): Use void * instead of __malloc_ptr_t.
11235 (__malloc_hook): Likewise.
11236 (__realloc_hook): Likewise.
11237 (__memalign_hook): Likewise.
11238 (__after_morecore_hook): Likewise.
11239 * malloc/arena.c (save_malloc_hook): Likewise.
11240 (save_free_hook): Likewise.
11241 * malloc/hooks.c (malloc_hook_ini): Likewise.
11242 (realloc_hook_ini): Likewise.
11243 (memalign_hook_ini): Likewise.
11244 * malloc/malloc.c (malloc_hook_ini): Likewise.
11245 (realloc_hook_ini): Likewise.
11246 (memalign_hook_ini): Likewise.
11247 (__free_hook): Likewise.
11248 (__malloc_hook): Likewise.
11249 (__realloc_hook): Likewise.
11250 (__memalign_hook): Likewise.
11251 (__libc_malloc): Likewise.
11252 (__libc_free): Likewise.
11253 (__libc_realloc): Likewise.
11254 (__libc_memalign): Likewise.
11255 (__libc_valloc): Likewise.
11256 (__libc_pvalloc): Likewise.
11257 (__libc_calloc): Likewise.
11258 (__posix_memalign): Likewise.
11259 * malloc/morecore.c (__sbrk): Likewise.
11260 (__default_morecore): Likewise.
11261
5cc45e10
JM
11262 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11263
dd54b864
JM
11264 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11265 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11266 __malloc_ptrdiff_t.
11267
1ba4f030
JM
11268 * malloc/malloc.h (__malloc_size_t): Remove macro.
11269 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11270 __malloc_size_t.
11271 (old_memalign_hook): Likewise.
11272 (old_realloc_hook): Likewise.
11273 (struct hdr): Likewise.
11274 (flood): Likewise.
11275 (mallochook): Likewise.
11276 (memalignhook): Likewise.
11277 (reallochook): Likewise.
11278 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11279 (tr_old_realloc_hook): Likewise.
11280 (tr_old_memalign_hook): Likewise.
11281 (tr_mallochook): Likewise.
11282 (tr_reallochook): Likewise.
11283 (tr_memalignhook): Likewise.
11284
edf66e57
AZ
112852013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11286
11287 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11288 default_ldbl_pack and using as default implementation.
11289 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11290 implementation.
11291 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11292 redundant definition.
11293 (ldbl_insert_mantissa): Likewise.
11294 (ldbl_canonicalize): Likewise.
11295 (ldbl_nearbyint): Likewise.
11296 (ldbl_pack): Rename to ldbl_pack_ppc.
11297 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11298 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11299 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11300
6d9145d8
SP
113012013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11302
11303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11304 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11305 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11306 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11308 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11309 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11310 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11311
4dd4e157
AJ
113122013-03-07 Andreas Jaeger <aj@suse.de>
11313
11314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11315 bits/mman-linux.h.
11316
adbb8027
SP
113172013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11318
ce544b5b
SP
11319 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11320 Include mpa.h and declare __MPEXP.
11321 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11322 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11323 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11324 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11325 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11326 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11327 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11328
4cc149fd
SP
11329 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11330 (__slowpow): Use long double EXPL and LOGL functions to
11331 compute POW.
11332 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11333 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11334 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11335 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11336 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11337 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11338
e6ebd4a7
SP
11339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11340 intermediate variable to calculate exponent.
11341 (__sqr): Likewise.
11342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11343 Likewise.
11344 (__sqr): Likewise.
11345
82a9811d
SP
11346 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11347 [!NO__SQR]: Define __sqr.
11348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11349 and NO__SQR. Remove all code except __mul and __sqr. Include
11350 sysdeps/ieee754/dbl-64/mpa.c.
11351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11352
adbb8027
SP
11353 [BZ #12723]
11354 * posix/Makefile (tests): Add tst-pathconf.
11355 * posix/tst-pathconf.c: New test case.
11356 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11357 _PC_PIPE_BUF.
11358 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11359
39120df9
PF
113602013-03-06 Patsy Franklin <pfrankli@redhat.com>
11361
11362 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11363
67525cb8
AJ
113642013-03-06 Andreas Jaeger <aj@suse.de>
11365
664a9ce4
AJ
11366 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11367 definition via __MAP_ANONYMOUS.
11368
8e39047d
AJ
11369 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11370 it's not part of Linux headers.
11371
67525cb8
AJ
11372 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11373 (MAP_HUGE_MASK): Define.
11374
11375 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11376 Define.
11377 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11378 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11379 Define.
11380 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11381 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11382 Define.
11383 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11384 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11385 Define.
11386 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11387
11388 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11389 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11390 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11391 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11392 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11393 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11394
11395 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11396 Handle f2fs.
11397
11398 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11399 Handle f2fs and efivarfs.
11400
11401 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11402 f2fs.
11403
11404 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11405 (EFIVARFS_MAGIC): Add.
11406 (F2FS_LINK_MAX): Add.
11407
e1b42695
PP
114082013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11409
11410 * stdio-common/vfprintf.c: Replace __builtin_expect with
11411 __glibc_unlikely.
11412
2d67d91a
JM
114132013-03-06 Joseph Myers <joseph@codesourcery.com>
11414
11415 [BZ #13550]
11416 * sysdeps/generic/bp-sym.h: Remove file.
11417 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11418 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11419 <bp-sym.h> and <bp-asm.h>.
11420 (__longjmp): Don't use BP_SYM.
11421 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11422 and <bp-asm.h>.
11423 (memcpy): Don't use BP_SYM.
11424 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11425 <bp-sym.h> and <bp-asm.h>.
11426 (memcpy): Don't use BP_SYM.
11427 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11428 <bp-asm.h>.
11429 (memcpy): Don't use BP_SYM.
11430 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11431 <bp-asm.h>.
11432 (memset): Don't use BP_SYM.
11433 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11434 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11435 (__bzero): Don't use BP_SYM.
11436 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11437 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11438 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11439 <bp-sym.h> and <bp-asm.h>.
11440 (memcmp): Don't use BP_SYM. Remove comment about bounded
11441 pointers.
11442 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11443 <bp-sym.h> and <bp-asm.h>.
11444 (memcpy): Don't use BP_SYM.
11445 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11446 <bp-sym.h> and <bp-asm.h>.
11447 (memset): Don't use BP_SYM.
11448 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11449 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11450 (__bzero): Don't use BP_SYM.
11451 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11452 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11453 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11454 <bp-sym.h> and <bp-asm.h>.
11455 (strncmp): Don't use BP_SYM. Remove comment about bounded
11456 pointers.
11457 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11458 <bp-sym.h> and <bp-asm.h>.
11459 (memcpy): Don't use BP_SYM.
11460 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11461 <bp-sym.h> and <bp-asm.h>.
11462 (memset): Don't use BP_SYM.
11463 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11464 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11465 (__bzero): Don't use BP_SYM.
11466 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11467 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11468 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11469 <bp-sym.h> and <bp-asm.h>.
11470 (__memchr): Don't use BP_SYM.
11471 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11472 <bp-sym.h> and <bp-asm.h>.
11473 (memcmp): Don't use BP_SYM. Remove comment about bounded
11474 pointers.
11475 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11476 <bp-sym.h> and <bp-asm.h>.
11477 (memcpy): Don't use BP_SYM.
11478 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11479 <bp-sym.h> and <bp-asm.h>.
11480 (__mempcpy): Don't use BP_SYM.
11481 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11482 <bp-sym.h> and <bp-asm.h>.
11483 (__memrchr): Don't use BP_SYM.
11484 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11485 <bp-sym.h> and <bp-asm.h>.
11486 (memset): Don't use BP_SYM.
11487 (__bzero): Likewise.
11488 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11489 <bp-sym.h> and <bp-asm.h>.
11490 (__rawmemchr): Don't use BP_SYM.
11491 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11492 <bp-sym.h> and <bp-asm.h>.
11493 (__STRCMP): Don't use BP_SYM.
11494 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11495 <bp-sym.h> and <bp-asm.h>.
11496 (strchr): Don't use BP_SYM.
11497 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11498 <bp-sym.h> and <bp-asm.h>.
11499 (__strchrnul): Don't use BP_SYM.
11500 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11501 <bp-sym.h> and <bp-asm.h>.
11502 (strlen): Don't use BP_SYM.
11503 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11504 <bp-sym.h> and <bp-asm.h>.
11505 (strncmp): Don't use BP_SYM. Remove comment about bounded
11506 pointers.
11507 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11508 <bp-sym.h> and <bp-asm.h>.
11509 (__strnlen): Don't use BP_SYM.
11510 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11511 <bp-sym.h> and <bp-asm.h>.
11512 (__GI__setjmp): Don't use BP_SYM.
11513 (_setjmp): Likewise.
11514 (__sigsetjmp): Likewise.
11515 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11516 (L(start_addresses)): Don't use BP_SYM.
11517 (_start): Likewise.
11518 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11519 <bp-asm.h>.
11520 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11521 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11522 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11523 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11524 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11525 <bp-asm.h>.
11526 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11527 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11528 about bounded pointers.
11529 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11530 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11531 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11532 <bp-asm.h>.
11533 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11534 about bounded pointers. Remove GKM FIXME comments.
11535 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11536 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11537 <bp-asm.h>.
11538 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11539 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11540 Remove GKM FIXME comments.
11541 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11542 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11543 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11544 <bp-asm.h>.
11545 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11546 about bounded pointers. Remove GKM FIXME comment.
11547 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11548 and <bp-asm.h>.
11549 (strncmp): Don't use BP_SYM. Remove comment about bounded
11550 pointers.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11552 <bp-sym.h> and <bp-asm.h>.
11553 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11555 <bp-sym.h> and <bp-asm.h>.
11556 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11557 comment.
11558
cdcf361f
PP
115592013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11560
11561 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11562 call free(NULL).
11563
3c4a2b15
DM
115642013-03-05 David S. Miller <davem@davemloft.net>
11565
11566 * po/es.po: Update from translation team.
11567
cdcf361f 115682013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11569
11570 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11571 <bits/mman-linux.h>.
11572 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11573 is fine.
11574 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11575 <bits/mman-linux.h> to end of file.
11576 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11577 is fine.
11578 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11579 <bits/mman-linux.h> to end of file.
11580 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11581 is fine.
11582 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11583 <bits/mman-linux.h> to end of file.
11584
11585 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11586 (MCL_CURRENT, MCL_FUTURE): Define here.
11587
5f67c04f
AK
115882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11589
8a4473cc 11590 [BZ #15232]
5f67c04f
AK
11591 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11592 attribute_hidden.
11593 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11594
c3e94a95
AK
115952013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11596
11597 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11598 fourth parameter needed for rt_sigprocmask syscall.
11599 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11600 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11601 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11602 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11603 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11604 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11605
cfb6382a
JM
116062013-03-04 Joseph Myers <joseph@codesourcery.com>
11607
11608 [BZ #13550]
11609 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11610 comment about bounded pointers.
11611 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11612 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11613
539d8e01
AJ
116142013-03-04 Andreas Jaeger <aj@suse.de>
11615
11616 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11617 common definitions.
11618
11619 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11620 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11621 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11622 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11623 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11624 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11625
2e167a70 116262013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11627
11628 [BZ #15055]
11629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11630 __ieee754_sqrl instead of __sqrl.
11631
68508633
JM
116322013-03-01 Joseph Myers <joseph@codesourcery.com>
11633
11634 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11635 * sysdeps/powerpc/fpu_control.h: ... here.
11636 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11637 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11638 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11639 * sysdeps/powerpc/bits/mathinline.h: ... here.
11640
7775448e
RM
116412013-03-01 Roland McGrath <roland@hack.frob.com>
11642
11643 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11644 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11645 to just [NEED_DL_SYSINFO_DSO].
11646 * elf/dl-support.c: Likewise.
11647 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11648 * elf/rtld.c (dl_main): Likewise.
11649 * elf/setup-vdso.h (setup_vdso): Likewise.
11650 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11651 * sysdeps/unix/sysv/linux/dl-sysdep.c
11652 (_dl_discover_osversion): Likewise.
11653
4e9b5995
CD
116542013-03-01 Carlos O'Donell <carlos@redhat.com>
11655
11656 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11657 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11658
e23872c8
SP
116592013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11660
e5c74c63
SP
11661 * NEWS: Mention libm performance improvements and non-x86 PI
11662 futex support.
11663
e23872c8
SP
11664 * csu/libc-start.c (__pthread_initialize_minimal): Change
11665 function arguments.
11666 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11667
b5510883
JM
116682013-02-28 Joseph Myers <joseph@codesourcery.com>
11669
11670 [BZ #13550]
11671 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11672 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11673 <bp-sym.h> and <bp-asm.h>.
11674 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11675 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11676 and <bp-asm.h>.
11677 (memcpy): Don't use BP_SYM.
11678 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11679 <bp-asm.h>.
11680 (__mpn_add_n): Don't use BP_SYM.
11681 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11682 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11683 and <bp-asm.h>.
11684 (__mpn_addmul_1): Don't use BP_SYM.
11685 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11686 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11687 <bp-sym.h>.
11688 (_setjmp): Don't use BP_SYM.
11689 (__novmx_setjmp): Likewise.
11690 (__GI__setjmp): Likewise.
11691 (__vmx_setjmp): Likewise.
11692 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11693 <bp-sym.h>.
11694 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11695 (__bzero): Don't use BP_SYM.
11696 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11697 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11698 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11699 <bp-sym.h> and <bp-asm.h>.
11700 (memcpy): Don't use BP_SYM.
11701 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11702 <bp-sym.h> and <bp-asm.h>.
11703 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11704 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11705 <bp-sym.h> and <bp-asm.h>.
11706 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11707 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11708 <bp-asm.h>.
11709 (__mpn_lshift): Don't use BP_SYM.
11710 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11711 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11712 <bp-asm.h>.
11713 (memset): Don't use BP_SYM.
11714 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11715 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11716 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11717 <bp-asm.h>.
11718 (__mpn_mul_1): Don't use BP_SYM.
11719 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11720 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11721 <bp-sym.h> and <bp-asm.h>.
11722 (memcmp): Don't use BP_SYM.
11723 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11724 <bp-sym.h> and <bp-asm.h>.
11725 (memcpy): Don't use BP_SYM.
11726 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11727 <bp-sym.h> and <bp-asm.h>.
11728 (memset): Don't use BP_SYM.
11729 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11730 <bp-sym.h> and <bp-asm.h>.
11731 (strncmp): Don't use BP_SYM.
11732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11733 <bp-sym.h> and <bp-asm.h>.
11734 (memcpy): Don't use BP_SYM.
11735 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11736 <bp-sym.h> and <bp-asm.h>.
11737 (memset): Don't use BP_SYM.
11738 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11739 <bp-sym.h> and <bp-asm.h>.
11740 (__memchr): Don't use BP_SYM.
11741 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11742 <bp-sym.h> and <bp-asm.h>.
11743 (memcmp): Don't use BP_SYM.
11744 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11745 <bp-sym.h> and <bp-asm.h>.
11746 (memcpy): Don't use BP_SYM.
11747 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11748 <bp-sym.h> and <bp-asm.h>.
11749 (__mempcpy): Don't use BP_SYM.
11750 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11751 <bp-sym.h> and <bp-asm.h>.
11752 (__memrchr): Don't use BP_SYM.
11753 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11754 <bp-sym.h> and <bp-asm.h>.
11755 (memset): Don't use BP_SYM.
11756 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11757 <bp-sym.h> and <bp-asm.h>.
11758 (__rawmemchr): Don't use BP_SYM.
11759 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11760 <bp-sym.h> and <bp-asm.h>.
11761 (__STRCMP): Don't use BP_SYM.
11762 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11763 <bp-sym.h> and <bp-asm.h>.
11764 (strchr): Don't use BP_SYM.
11765 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11766 <bp-sym.h> and <bp-asm.h>.
11767 (__strchrnul): Don't use BP_SYM.
11768 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11769 <bp-sym.h> and <bp-asm.h>.
11770 (strlen): Don't use BP_SYM.
11771 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11772 <bp-sym.h> and <bp-asm.h>.
11773 (strncmp): Don't use BP_SYM.
11774 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11775 <bp-sym.h> and <bp-asm.h>.
11776 (__strnlen): Don't use BP_SYM.
11777 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11778 <bp-asm.h>.
11779 (__mpn_rshift): Don't use BP_SYM.
11780 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11781 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11782 <bp-sym.h> and <bp-asm.h>.
11783 (__sigsetjmp): Don't use BP_SYM.
11784 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11785 (L(start_addresses)): Don't use BP_SYM.
11786 (_start): Likewise.
11787 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11788 <bp-asm.h>.
11789 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11790 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11791 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11792 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11793 <bp-asm.h>.
11794 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11795 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11796 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11797 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11798 <bp-asm.h>.
11799 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11800 comments.
11801 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11802 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11803 <bp-asm.h>.
11804 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11805 FIXME comments.
11806 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11807 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11808 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11809 <bp-asm.h>.
11810 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11811 comment.
11812 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11813 and <bp-asm.h>.
11814 (strncmp): Don't use BP_SYM,
11815 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11816 <bp-asm.h>.
11817 (__mpn_sub_n): Don't use BP_SYM.
11818 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11819 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11820 and <bp-asm.h>.
11821 (__mpn_submul_1): Don't use BP_SYM.
11822 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11824 <bp-sym.h> and <bp-asm.h>.
11825 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11827 <bp-sym.h> and <bp-asm.h>.
11828 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11829 comment.
11830
8d19fe64
SP
118312013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11832
11833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11834 Use ZK to minimize writes to Z.
11835 (sub_magnitudes): Simplify code a bit.
11836 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11837 Use ZK to minimize writes to Z.
11838 (sub_magnitudes): Simplify code a bit.
11839
85bd816a
RM
118402013-02-27 Roland McGrath <roland@hack.frob.com>
11841
11842 * csu/gmon-start.c: Add special exception to license text.
11843
b5977bf2
RH
118442013-02-27 Richard Henderson <rth@redhat.com>
11845
11846 * scripts/config.guess: Update from config.git.
11847 * scripts/config.sub: Likewise.
11848
11d6e2f2
SP
118492013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11850
09c14ed2
SP
11851 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11852
a688864e
SP
11853 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11854
6295157a
SP
11855 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11856
b8de2202
SP
11857 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11858
11d6e2f2
SP
11859 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11860
7e80ddb8
RM
118612013-02-26 Roland McGrath <roland@hack.frob.com>
11862
11863 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11864 [$(build-shared = yes].
7e80ddb8 11865
7da6d9ed
SP
118662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11867
45f05884
SP
11868 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11869 (__mul): Reduce iterations for calculating mantissa.
11870
2236d359
SP
11871 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11872 MPTWO.
11873 (__mpranred): Likewise.
11874
7da6d9ed
SP
11875 [BZ #15160]
11876 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11877 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11878
b7688c42
PE
118792013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11880
11881 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11882 Define __attribute__.
11883
53a5c423
SP
118842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11885
11886 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11887 unused.
11888 * posix/regex_internal.h (__attribute): Remove.
11889 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11890 (re_string_context_at): Likewise.
11891 (bitset_not): Use __attribute__ and mark function as possibly
11892 unused.
11893 (bitset_merge): Likewise.
11894 (bitset_mask): Likewise.
11895 (re_string_char_size_at): Likewise.
11896 (re_string_wchar_at): Likewise.
11897 (re_string_elem_size_at): Likewise.
11898
60f5a8b5
SP
118992013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11900
2a983a2e
SP
11901 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11902 code.
11903 (cc32): Likewise.
11904
e69804d1
SP
11905 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11906 (__acr): Likewise.
11907 (__cpy): Likewise.
11908 (norm): Likewise.
11909 (denorm): Likewise.
11910 (__dbl_mp): Likewise.
11911 (add_magnitudes): Likewise.
11912 (sub_magnitudes): Likewise.
11913 (__mul): Likewise.
11914 (__inv): Likewise.
11915
2f22a1e8
SP
11916 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11917 style.
11918
8930ddc7
SP
11919 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11920 style.
11921
dc60cb11
SP
11922 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11923 code.
11924
60f5a8b5
SP
11925 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11926 up changes with default code.
11927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11928 Likewise.
11929
b4d1fd33
AM
119302013-02-24 Allan McRae <allan@archlinux.org>
11931
faf6f8bc
AM
11932 * manual/socket.texi (The Internet Namespace): Order menu items
11933 to match that in the file.
11934
b4d1fd33
AM
11935 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11936 node listing of the info page menu.
11937
2366713d
JM
119382013-02-21 Joseph Myers <joseph@codesourcery.com>
11939
11940 [BZ #13550]
11941 * sysdeps/i386/bp-asm.h: Remove file.
11942 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11943 (PARMS): Do not use macros from bp-asm.h.
11944 (S1): Likewise.
11945 (S2): Likewise.
11946 (SIZE): Likewise.
11947 (__mpn_add_n): Do not use BP_SYM
11948 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11949 "bp-asm.h".
11950 (PARMS): Do not use macros from bp-asm.h.
11951 (S1): Likewise.
11952 (SIZE): Likewise.
11953 (__mpn_addmul_1): Do not use BP_SYM
11954 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11955 "bp-asm.h".
11956 (PARMS): Do not use macros from bp-asm.h.
11957 (SIGMSK): Likewise.
11958 (_setjmp): Likewise. Do not use BP_SYM.
11959 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11960 "bp-asm.h".
11961 (PARMS): Do not use macros from bp-asm.h.
11962 (SIGMSK): Likewise.
11963 (setjmp): Likewise. Do not use BP_SYM.
11964 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11965 "bp-asm.h".
11966 (PARMS): Do not use macros from bp-asm.h.
11967 (__frexp): Do not use BP_SYM.
11968 (frexp): Likewise.
11969 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11970 "bp-asm.h".
11971 (PARMS): Do not use macros from bp-asm.h.
11972 (__frexpf): Do not use BP_SYM.
11973 (frexpf): Likewise.
11974 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11975 "bp-asm.h".
11976 (PARMS): Do not use macros from bp-asm.h.
11977 (__frexpl): Do not use BP_SYM.
11978 (frexpl): Likewise.
11979 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11980 "bp-asm.h".
11981 (PARMS): Do not use macros from bp-asm.h.
11982 (__remquo): Do not use BP_SYM.
11983 (remquo): Likewise.
11984 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11985 "bp-asm.h".
11986 (PARMS): Do not use macros from bp-asm.h.
11987 (__remquof): Do not use BP_SYM.
11988 (remquof): Likewise.
11989 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11990 "bp-asm.h".
11991 (PARMS): Do not use macros from bp-asm.h.
11992 (__remquol): Do not use BP_SYM.
11993 (remquol): Likewise.
11994 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11995 "bp-asm.h".
11996 (PARMS): Do not use macros from bp-asm.h.
11997 (DEST): Likewise.
11998 (SRC): Likewise.
11999 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12000 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12001 "bp-asm.h".
12002 (PARMS): Do not use macros from bp-asm.h.
12003 (strlen): Do not use BP_SYM.
12004 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12005 "bp-asm.h".
12006 (PARMS): Do not use macros from bp-asm.h.
12007 (S1): Likewise.
12008 (S2): Likewise.
12009 (SIZE): Likewise.
12010 (__mpn_add_n): Do not use BP_SYM.
12011 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12012 "bp-asm.h".
12013 (PARMS): Do not use macros from bp-asm.h.
12014 (S1): Likewise.
12015 (SIZE): Likewise.
12016 (__mpn_addmul_1): Do not use BP_SYM.
12017 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12018 weak_alias.
12019 (bzero): Likewise.
12020 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12021 "bp-asm.h".
12022 (PARMS): Do not use macros from bp-asm.h.
12023 (S): Likewise.
12024 (SIZE): Likewise.
12025 (__mpn_lshift): Do not use BP_SYM.
12026 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12027 "bp-asm.h".
12028 (PARMS): Do not use macros from bp-asm.h.
12029 (DEST): Likewise.
12030 (SRC): Likewise.
12031 (LEN): Likewise.
12032 (memcpy): Likewise. Do not use BP_SYM.
12033 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12034 libc_hidden_def and weak_alias.
12035 (mempcpy): Do not use BP_SYM in weak_alias.
12036 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12037 "bp-asm.h".
12038 (PARMS): Do not use macros from bp-asm.h.
12039 (DEST): Likewise.
12040 (LEN): Likewise.
12041 [!BZERO_P] (CHR): Likewise.
12042 (memset): Likewise. Do not use BP_SYM.
12043 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12044 "bp-asm.h".
12045 (PARMS): Do not use macros from bp-asm.h.
12046 (S1): Likewise.
12047 (SIZE): Likewise.
12048 (__mpn_mul_1): Do not use BP_SYM.
12049 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12050 "bp-asm.h".
12051 (PARMS): Do not use macros from bp-asm.h.
12052 (S): Likewise.
12053 (SIZE): Likewise.
12054 (__mpn_rshift): Do not use BP_SYM.
12055 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12056 "bp-asm.h".
12057 (PARMS): Do not use macros from bp-asm.h.
12058 (STR): Likewise.
12059 (CHR): Likewise.
12060 (strchr): Likewise. Do not use BP_SYM.
12061 (index): Do not use BP_SYM in weak_alias.
12062 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12063 "bp-asm.h".
12064 (PARMS): Do not use macros from bp-asm.h.
12065 (DEST): Likewise.
12066 (SRC): Likewise.
12067 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12068 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12069 "bp-asm.h".
12070 (PARMS): Do not use macros from bp-asm.h.
12071 (strlen): Do not use BP_SYM.
12072 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12073 "bp-asm.h".
12074 (PARMS): Do not use macros from bp-asm.h.
12075 (S1): Likewise.
12076 (S2): Likewise.
12077 (SIZE): Likewise.
12078 (__mpn_sub_n): Do not use BP_SYM.
12079 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12080 "bp-asm.h".
12081 (PARMS): Do not use macros from bp-asm.h.
12082 (S1): Likewise.
12083 (SIZE): Likewise.
12084 (__mpn_submul_1): Do not use BP_SYM.
12085 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12086 "bp-asm.h".
12087 (PARMS): Do not use macros from bp-asm.h.
12088 (S1): Likewise.
12089 (S2): Likewise.
12090 (SIZE): Likewise.
12091 (__mpn_add_n): Do not use BP_SYM.
12092 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12093 weak_alias.
12094 (bzero): Likewise.
12095 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12096 "bp-asm.h".
12097 (PARMS): Do not use macros from bp-asm.h.
12098 (BLK2): Likewise.
12099 (LEN): Likewise.
12100 (memcmp): Do not use BP_SYM.
12101 (bcmp): Do not use BP_SYM in weak_alias.
12102 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12103 "bp-asm.h".
12104 (PARMS): Do not use macros from bp-asm.h.
12105 (DEST): Likewise.
12106 (SRC): Likewise.
12107 (LEN): Likewise.
12108 (memcpy): Likewise. Do not use BP_SYM.
12109 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12110 "bp-asm.h".
12111 (PARMS): Do not use macros from bp-asm.h.
12112 (DEST): Likewise.
12113 (SRC): Likewise.
12114 (LEN): Likewise.
12115 (memmove): Likewise. Do not use BP_SYM.
12116 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12117 "bp-asm.h".
12118 (PARMS): Do not use macros from bp-asm.h.
12119 (DEST): Likewise.
12120 (SRC): Likewise.
12121 (LEN): Likewise.
12122 (__mempcpy): Likewise. Do not use BP_SYM.
12123 (mempcpy): Do not use BP_SYM in weak_alias.
12124 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12125 "bp-asm.h".
12126 (PARMS): Do not use macros from bp-asm.h.
12127 (DEST): Likewise.
12128 (LEN): Likewise.
12129 [!BZERO_P] (CHR): Likewise.
12130 (memset): Likewise. Do not use BP_SYM.
12131 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12132 "bp-asm.h".
12133 (PARMS): Do not use macros from bp-asm.h.
12134 (STR2): Likewise.
12135 (strcmp): Do not use BP_SYM.
12136 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12137 "bp-asm.h".
12138 (PARMS): Do not use macros from bp-asm.h.
12139 (STR): Likewise.
12140 (DELIM): Likewise.
12141 [USE_AS_STRTOK_R] (SAVE): Likewise.
12142 (FUNCTION): Likewise. Do not use BP_SYM.
12143 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12144 aliases.
12145 (strtok_r): Likewise.
12146 (__GI___strtok_r): Likewise.
12147 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12148 (PARMS): Do not use macros from bp-asm.h.
12149 (S): Likewise.
12150 (SIZE): Likewise.
12151 (__mpn_lshift): Do not use BP_SYM.
12152 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12153 (PARMS): Do not use macros from bp-asm.h.
12154 (STR): Likewise.
12155 (CHR): Likewise.
12156 (__memchr): Do not use BP_SYM.
12157 (memchr): Do not use BP_SYM in weak_alias.
12158 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12159 (PARMS): Do not use macros from bp-asm.h.
12160 (BLK2): Likewise.
12161 (LEN): Likewise.
12162 (memcmp): Do not use BP_SYM.
12163 (bcmp): Do not use BP_SYM in weak_alias.
12164 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12165 (PARMS): Do not use macros from bp-asm.h.
12166 (S1): Likewise.
12167 (SIZE): Likewise.
12168 (__mpn_mul_1): Do not use BP_SYM.
12169 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12170 "bp-asm.h".
12171 (PARMS): Do not use macros from bp-asm.h.
12172 (STR): Likewise.
12173 (CHR): Likewise.
12174 (__rawmemchr): Do not use BP_SYM.
12175 (rawmemchr): Do not use BP_SYM in weak_alias.
12176 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12177 (PARMS): Do not use macros from bp-asm.h.
12178 (S): Likewise.
12179 (SIZE): Likewise.
12180 (__mpn_rshift): Do not use BP_SYM.
12181 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12182 (PARMS): Do not use macros from bp-asm.h.
12183 (SIGMSK): Likewise.
12184 (__sigsetjmp): Likewise. Do not use BP_SYM.
12185 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12186 (_start): Do not use BP_SYM.
12187 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12188 (PARMS): Do not use macros from bp-asm.h.
12189 (DEST): Likewise.
12190 (SRC): Likewise.
12191 (__stpcpy): Likewise. Do not use BP_SYM.
12192 (stpcpy): Do not use BP_SYM in weak_alias.
12193 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12194 "bp-asm.h".
12195 (PARMS): Do not use macros from bp-asm.h.
12196 (DEST): Likewise.
12197 (SRC): Likewise.
12198 (LEN): Likewise.
12199 (__stpncpy): Likewise. Do not use BP_SYM.
12200 (stpncpy): Do not use BP_SYM in weak_alias.
12201 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12202 (PARMS): Do not use macros from bp-asm.h.
12203 (STR): Likewise.
12204 (CHR): Likewise.
12205 (strchr): Likewise. Do not use BP_SYM.
12206 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12207 "bp-asm.h".
12208 (PARMS): Do not use macros from bp-asm.h.
12209 (STR): Likewise.
12210 (CHR): Likewise.
12211 (__strchrnul): Likewise. Do not use BP_SYM.
12212 (strchrnul): Do not use BP_SYM in weak_alias.
12213 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12214 "bp-asm.h".
12215 (PARMS): Do not use macros from bp-asm.h.
12216 (STOP): Likewise.
12217 (strcspn): Do not use BP_SYM.
12218 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12219 "bp-asm.h".
12220 (PARMS): Do not use macros from bp-asm.h.
12221 (STR): Likewise.
12222 (STOP): Likewise.
12223 (strpbrk): Likewise. Do not use BP_SYM.
12224 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12225 "bp-asm.h".
12226 (PARMS): Do not use macros from bp-asm.h.
12227 (STR): Likewise.
12228 (CHR): Likewise.
12229 (strrchr): Likewise. Do not use BP_SYM.
12230 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12231 (PARMS): Do not use macros from bp-asm.h.
12232 (SKIP): Likewise.
12233 (strspn): Do not use BP_SYM.
12234 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12235 (PARMS): Do not use macros from bp-asm.h.
12236 (STR): Likewise.
12237 (DELIM): Likewise.
12238 (SAVE): Likewise.
12239 (FUNCTION): Likewise. Do not use BP_SYM.
12240 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12241 aliases.
12242 (strtok_r): Likewise.
12243 (__GI___strtok_r): Likewise.
12244 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12245 (PARMS): Do not use macros from bp-asm.h.
12246 (S1): Likewise.
12247 (S2): Likewise.
12248 (SIZE): Likewise.
12249 (__mpn_sub_n): Do not use BP_SYM.
12250 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12251 "bp-asm.h".
12252 (PARMS): Do not use macros from bp-asm.h.
12253 (S1): Likewise.
12254 (SIZE): Likewise.
12255 (__mpn_submul_1): Do not use BP_SYM.
12256 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12257 <bp-sym.h>.
12258 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12259 and <bp-asm.h>.
12260 (PARMS): Do not use macros from bp-asm.h.
12261 (FLAGS): Likewise.
12262 (PTID): Likewise.
12263 (TLS): Likewise.
12264 (CTID): Likewise.
12265 (__clone): Do not use BP_SYM.
12266 (clone): Do not use BP_SYM in weak_alias.
12267 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12268 and <bp-asm.h>.
12269 (PARMS): Do not use macros from bp-asm.h.
12270 (LEN): Likewise.
12271 (__mmap64): Do not use BP_SYM.
12272 (mmap64): Do not use BP_SYM in weak_alias.
12273 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12274 <bp-sym.h> and <bp-asm.h>.
12275 (PARMS): Do not use macros from bp-asm.h.
12276 (__posix_fadvise64_l64): Do not use BP_SYM.
12277 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12278 (PARMS): Do not use macros from bp-asm.h.
12279 (NSOPS): Likewise.
12280 (semtimedop): Do not use BP_SYM.
12281 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12282 and <bp-asm.h>.
12283
582a3cff
AM
122842013-02-21 Allan McRae <allan@archlinux.org>
12285
12286 * manual/message.texi (Charset conversion in gettext):
12287 Move @end statement to beginning of line.
12288
bab8a695
SP
122892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12290
80945231
SP
12291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12292 static.
12293 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12294 Likewise.
12295
bab8a695
SP
12296 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12297 (denorm): Likewise.
12298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12300
e21d7aa7
AK
123012013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12302
12303 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12304 tail-call to the resolved function if pltexit isn't needed.
12305
4c7a4263
SP
123062013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12307
12308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12309 or Y being zero as being unlikely.
12310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12311 Likewise.
12312
41f49342
CD
123132013-02-20 Carlos O'Donell <carlos@redhat.com>
12314
12315 * manual/nss.texi (System Databases and Name Service Switch):
12316 Remove frobnicate @pxref.
12317
50022a93
TS
123182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12319
12320 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12321 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12322
08cbd996
PM
123232013-02-20 Petr Machata <pmachata@redhat.com>
12324
12325 * elf/elf.h (R_ARM_TARGET1): New macro.
12326 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12327 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12328 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12329 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12330 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12331 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12332 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12333 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12334 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12335 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12336 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12337 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12338 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12339 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12340 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12341 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12342 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12343 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12344 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12345 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12346 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12347 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12348 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12349 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12350 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12351 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12352 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12353 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12354 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12355 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12356 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12357 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12358 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12359 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12360 (R_ARM_THM_GOT_BREL12): Likewise.
12361 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12362 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12363 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12364 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12365 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12366 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12367 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12368 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12369 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12370
c7b275d6
TS
123712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12372
12373 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12374 __attribute_used__ to __attribute__ ((unused)).
12375
20cd7fb3
SP
123762013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12377
12378 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12379 powerpc mpa.c.
12380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12381 comment formatting.
12382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12383
92945b52
JM
123842013-02-19 Joseph Myers <joseph@codesourcery.com>
12385
12386 [BZ #13550]
12387 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12388 Remove macro.
12389 (ENTER): Remove both macro definitions.
12390 (LEAVE): Likewise.
12391 (CHECK_BOUNDS_LOW): Likewise.
12392 (CHECK_BOUNDS_HIGH): Likewise.
12393 (CHECK_BOUNDS_BOTH): Likewise.
12394 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12395 (RETURN_BOUNDED_POINTER): Likewise.
12396 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12397 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12398 (POP_ERRNO_LOCATION_RETURN): Likewise.
12399 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12400 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12401 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12402 macros.
12403 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12404 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12405 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12406 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12407 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12408 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12409 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12410 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12411 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12412 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12413 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12414 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12415 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12416 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12417 removed macros.
12418 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12419 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12420 macros.
12421 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12422 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12423 * sysdeps/i386/i586/memset.S (memset): Likewise.
12424 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12425 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12426 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12427 macros.
12428 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12429 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12430 Change uses of L(2) to L(out).
12431 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12432 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12433 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12434 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12435 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12436 removed macros.
12437 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12438 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12439 macros.
12440 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12441 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12442 (RETURN): Do not use macro LEAVE.
12443 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12444 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12445 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12446 * sysdeps/i386/i686/memset.S (memset): Likewise.
12447 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12448 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12449 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12450 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12451 Likewise.
12452 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12453 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12454 L(1_2) and L(1_3) into L(1).
12455 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12456 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12457 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12458 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12459 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12460 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12461 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12462 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12463 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12464 macros.
12465 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12466 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12467 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12468 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12469 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12470 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12471 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12472 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12473 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12474 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12475 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12476 * sysdeps/i386/strspn.S (strspn): Likewise.
12477 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12478 conditional code.
12479 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12480 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12481 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12482 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12483 L(1_3) into L(1_1).
12484 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12485 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12486 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12487 macros.
12488 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12489
2389741a
JJ
124902013-02-19 Jakub Jelinek <jakub@redhat.com>
12491
12492 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12493 macro.
12494
2016b3cd
SP
124952013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12496
e4f22324
SP
12497 * math/atest-exp.c (exp_mpn): Remove ROUND.
12498 * math/atest-exp2.c (exp_mpn): Likewise.
12499 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12500
2016b3cd
SP
12501 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12502 * stdlib/tst-tls-atexit-lib.c: Likewise.
12503 * stdlib/tst-tls-atexit.c: Likewise.
12504
4be9b544
MF
125052013-02-18 Mike Frysinger <vapier@gentoo.org>
12506
12507 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12508 and __attribute_alloc_size__.
12509
2f62b9ee
MF
125102013-02-18 Mike Frysinger <vapier@gentoo.org>
12511
12512 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12513 __attribute_alloc_size__.
12514 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12515 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12516
6ff444c4
MF
125172013-02-18 Mike Frysinger <vapier@gentoo.org>
12518
12519 * include/programs/xmalloc.h: New file.
12520 * catgets/gencat.c: Include it.
12521 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12522 * elf/pldd.c: Likewise.
12523 * iconv/iconv_charmap.c: Likewise.
12524 * iconv/iconvconfig.c: Likewise.
12525 * iconv/strtab.c: Likewise.
12526 * locale/programs/locale.c: Likewise.
12527 * locale/programs/localedef.h: Likewise.
12528 * locale/programs/simple-hash.c: Likewise.
12529 * nscd/nscd.h: Likewise.
12530 * nss/makedb.c: Likewise.
12531 * sysdeps/generic/ldconfig.h: Likewise.
12532
be179c8a
SP
125332013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12534
ba384f6e
SP
12535 * Versions.def: Add GLIBC_2.18.
12536 * include/link.h (struct link_map): New member l_tls_dtor_count.
12537 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12538 (__call_tls_dtors): Likewise.
12539 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12540 __cxa_thread_atexit_impl.
12541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12542 Likewise.
12543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12544 Likewise.
12545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12546 Likewise.
12547 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12548 Likewise.
12549 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12551 Likewise.
12552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12553 Likewise.
12554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12556 Likewise.
12557 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12558 (tests): Add test case tst-tls-atexit.
12559 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12560 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12561 (GLIBC_PRIVATE): Add __call_tls_dtors.
12562 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12563 for libstdc++.
12564 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12565 * stdlib/tst-tls-atexit.c: New test case.
12566 * stdlib/tst-tls-atexit-lib.c: New test case.
12567
ffaa74cf 12568 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12569
be179c8a
SP
12570 * elf/Versions (ld): Add _dl_find_dso_for_object.
12571 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12572 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12573 (dl_open_worker): Use _dl_find_dso_for_object.
12574 * elf/dl-sym.c (do_sym): Likewise.
12575 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12576
f78b5caa
AK
125772013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12578
12579 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12580 Syntactic changes only.
12581 (_dl_runtime_profile): Do a tail-call to the resolved function.
12582
29691210
JM
125832013-02-17 Joseph Myers <joseph@codesourcery.com>
12584
12585 [BZ #13550]
12586 * sysdeps/x86_64/bp-asm.h: Remove file.
12587 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12588 <bp-sym.h> and <bp-asm.h>.
12589 (__clone): Do not use BP_SYM.
12590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12591 <bp-sym.h> and <bp-asm.h>.
12592 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12593 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12594 "bp-asm.h".
12595 (_setjmp): Do not use BP_SYM.
12596 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12597 "bp-asm.h".
12598 (setjmp): Do not use BP_SYM.
12599 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12600 libc_hidden_def.
12601 (mempcpy): Do not use BP_SYM in weak_alias.
12602 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12603 "bp-asm.h".
12604 (strchr): Do not use BP_SYM.
12605 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12606 "bp-asm.h".
12607 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12608 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12609 (_start): Do not use BP_SYM.
12610 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12611 "bp-asm.h".
12612 (strcat): Do not use BP_SYM.
12613 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12614 "bp-asm.h".
12615 (STRCMP): Do not use BP_SYM.
12616 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12617 "bp-asm.h".
12618 (STRCPY): Do not use BP_SYM.
12619 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12620 "bp-asm.h".
12621 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12622 "bp-asm.h".
12623 (FUNCTION): Do not use BP_SYM.
12624 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12625 weak_alias.
12626 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12627
f238fd19
AJ
126282013-02-17 Andreas Jaeger <aj@suse.de>
12629
12630 * time/Versions: Sort entries.
12631 * string/Versions: Likewise.
12632 * resolv/Versions: Likewise.
12633 * posix/Versions: Likewise.
12634 * iconv/Versions: Likewise.
12635 * elf/Versions: Likewise.
12636 * wcsmbs/Versions: Likewise.
12637
bd07f23c 126382013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12639
22af19f9
SP
12640 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12641 loop termination condition.
12642
4709fe76
SP
12643 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12644 variable to calculate EZ.
12645 (__sqr): Likewise.
2d0e0f29
SP
12646
12647 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12648 the lower precision input.
12649
daaa7713
JM
126502013-02-15 Joseph Myers <joseph@codesourcery.com>
12651
12652 [BZ #13550]
12653 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12654 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12655 (run-via-rtld-prefix): Do not handle %-bp tests.
12656 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12657 (all-object-suffixes): Remove .ob.
12658 (bppfx): Remove variable.
12659 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12660 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12661 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12662 [$(build-bounded) = yes] (libtype.ob): Likewise.
12663 * Makerules (elide-routines.ob): Remove variable.
12664 (do-tests-clean): Do not handle *-bp.out.
12665 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12666 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12667 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12668 (tests): Do not include $(tests-bp.out).
12669 (xtests): Do not include $(xtests-bp.out).
12670 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12671 [$(build-bounded) = yes] ($(addprefix
12672 $(objpfx),$(binaries-bounded))): Remove rule.
12673 ($(objpfx)%-bp.out): Remove rule.
12674 * config.make.in (build-bounded): Remove variable.
12675 * crypt/Makefile [$(build-bounded) = yes]
12676 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12677 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12678 append to variable.
12679 [$(build-bounded) = yes] (install-lib): Likewise.
12680 [$(build-bounded) = yes] (generated): Likewise.
12681 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12682 Remove rule.
12683 * intl/Makefile [$(build-bounded) = yes]
12684 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12685 * math/Makefile [$(build-bounded) = yes]
12686 ($(tests:%=$(objpfx)%-bp): Likewise.
12687 * misc/Makefile [$(build-bounded) = yes]
12688 ($(objpfx)tst-tsearch-bp): Likewise.
12689 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12690 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12691 Remove dependency.
12692 * string/Makefile (o-objects.ob): Remove variable.
12693 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12694 (CFLAGS-.ob): Remove variable.
12695 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12696 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12697 both definitions of variable.
12698 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12699 (ASFLAGS-.ob): Remove variable.
12700
e97ed6dd
JM
127012013-02-14 Joseph Myers <joseph@codesourcery.com>
12702
2bdd4ca6
JM
12703 [BZ #13550]
12704 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12705 Remove __BOUNDED_POINTERS__ from condition.
12706 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12707 * string/bits/string2.h [!__NO_STRING_INLINES &&
12708 !__BOUNDED_POINTERS__]: Likewise.
12709 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12710 Likewise.
12711 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12712 Remove conditional code.
12713 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12714 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12715 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12716 condition.
12717
e97ed6dd
JM
12718 [BZ #13550]
12719 * csu/libc-start.c: Do not include <bp-sym.h>.
12720 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12721 * elf/dl-open.c: Do not include <bp-sym.h>.
12722 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12723 * math/fegetenv.c: Do not include <bp-sym.h>.
12724 (fegetenv): Do not use BP_SYM in versioned symbols.
12725 * nptl/sysdeps/pthread/bits/libc-lockP.h
12726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12727 <bp-sym.h>.
12728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12729 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12731 (__pthread_mutex_destroy): Likewise.
12732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12733 (__pthread_mutex_lock): Likewise.
12734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12735 (__pthread_mutex_trylock): Likewise.
12736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12737 (__pthread_mutex_unlock): Likewise.
12738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12739 (__pthread_mutexattr_init): Likewise.
12740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12741 (__pthread_mutexattr_destroy): Likewise.
12742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12743 (__pthread_mutexattr_settype): Likewise.
12744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12745 (__pthread_rwlock_init): Likewise.
12746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12747 (__pthread_rwlock_destroy): Likewise.
12748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12749 (__pthread_rwlock_rdlock): Likewise.
12750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12751 (__pthread_rwlock_tryrdlock): Likewise.
12752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12753 (__pthread_rwlock_wrlock): Likewise.
12754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12755 (__pthread_rwlock_trywrlock): Likewise.
12756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12757 (__pthread_rwlock_unlock): Likewise.
12758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12759 (__pthread_key_create): Likewise.
12760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12761 (__pthread_setspecific): Likewise.
12762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12763 (__pthread_getspecific): Likewise.
12764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12765 Likewise.
12766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12767 (_pthread_cleanup_push_defer): Likewise.
12768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12769 (_pthread_cleanup_pop_restore): Likewise.
12770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12771 (pthread_setcancelstate): Likewise.
12772 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12773 <bp-sym.h>.
12774 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12775 (memchr): Do not use BP_SYM in weak_alias.
12776 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12777 (fegetenv): Do not use BP_SYM in versioned symbols.
12778 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12779 (fesetenv): Do not use BP_SYM in versioned symbols.
12780 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12781 (feupdateenv): Do not use BP_SYM in versioned symbols.
12782 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12783 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12784 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12785 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12786 (open64): Do not use BP_SYM in weak_alias.
12787 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12788 (fegetenv): Do not use BP_SYM in versioned symbols.
12789 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12790 (fesetenv): Do not use BP_SYM in versioned symbols.
12791 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12792 (feupdateenv): Do not use BP_SYM in versioned symbols.
12793 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12794 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12795 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12796 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12797 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12798 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12799 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12800 <bp-sym.h>.
12801 (__libc_start_main): Do not use BP_SYM.
12802
d6752ccd
SP
128032013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12804
cb57ce60
SP
12805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12806 redundant return line.
12807 (norm): Likewise.
12808 (denorm): Likewise.
12809 (dbl_mp): Likewise.
12810 (sub_magnitudes): Likewise.
12811 (__add): Likewise.
12812 (__sub): Likewise.
12813 (__mul): Likewise.
12814 (__inv): Likewise.
12815 (__dvd): Likewise.
12816 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12817 (norm): Likewise.
12818 (denorm): Likewise.
12819 (dbl_mp): Likewise.
12820 (sub_magnitudes): Likewise.
12821 (__add): Likewise.
12822 (__sub): Likewise.
12823 (__mul): Likewise.
12824 (__inv): Likewise.
12825 (__dvd): Likewise.
12826
f414520d
SP
12827 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12828 instead of __mul.
12829 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12830 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12831 (cc32): Likewise.
12832
d6752ccd
SP
12833 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12834 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12835 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12836 of __mul for squares.
12837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12838 function
12839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12840 Likewise.
12841 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12842 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12843
70d9946a
JM
128442013-02-13 Joseph Myers <joseph@codesourcery.com>
12845
12846 [BZ #13550]
12847 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12848 code.
12849 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12850 prototype or function definition. Rename ubp_* variables and
12851 parameters. Remove argv definitions conditional on
12852 [__BOUNDED_POINTERS__].
12853 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12854 * elf/dl-runtime.c (_dl_fixup): Likewise.
12855 * include/set-hooks.h (RUN_HOOK): Likewise.
12856 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12857 definition.
12858 * string/strcpy.c (strcpy): Do not use __unbounded.
12859 * sysdeps/generic/frame.h (struct layout): Likewise.
12860 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12861 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12862 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12863 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12864 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12865 (__backtrace): Likewise.
12866 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12867 use __ptrvalue.
12868 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12869 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12870 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12871 Likewise.
12872 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12873 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12874 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12875 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12876 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12877 Do not use __unbounded.
12878 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12879 Rename __unboundedrlimits parameter to rlimits in prototype.
12880 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12881 Do not use __unbounded.
12882 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12883 not use __ptrvalue.
12884 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12885 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12886 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12887 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12888 __ptrvalue or __unbounded.
12889 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12890 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12891 use __unbounded.
12892 (__new_msgctl): Do not use __ptrvalue.
12893 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12894 __unbounded.
12895 (__libc_msgrcv): Do not use __ptrvalue.
12896 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12897 startup_info): Do not use __unbounded.
12898 (__libc_start_main): Likewise. Rename ubp_* variables and
12899 parameters. Remove argv definitions conditional on
12900 [__BOUNDED_POINTERS__].
12901 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12902 __ptrvalue.
12903 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12904 use __unbounded.
12905 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12906 or __ptrvalue.
12907 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12908 use __unbounded.
12909 (__new_shmctl): Do not use __ptrvalue.
12910 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12911 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12912 Likewise.
12913 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12914 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12915 (__libc_sigaction): Likewise.
12916 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12917 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12918 Likewise.
12919 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12920
cc7834d6
OB
129212013-02-13 Ondřej Bílka <neleai@seznam.cz>
12922
ffb1ec7b 12923 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12924
12925 * string/mempcpy.c: Implement by calling memcpy.
12926
bdf02814
SP
129272013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12928
c2af38aa
SP
12929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12930
4e92d59e
SP
12931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12932 evaluation.
12933
909279a5
SP
12934 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12935 values in the mantissa.
12936
bdf02814
SP
12937 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12938 minimize writes to Z.
12939 (sub_magnitudes): Simplify code a bit.
12940
cd525923
RM
129412013-02-12 Roland McGrath <roland@hack.frob.com>
12942
12943 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12944 from the message. The linker prefixes all warnings with that already.
12945
7e2f0d2d
AS
129462013-02-12 Andreas Schwab <schwab@suse.de>
12947
a445af0b
AS
12948 [BZ #15078]
12949 * posix/regexec.c (extend_buffers): Add parameter min_len.
12950 (check_matching): Pass minimum needed length.
12951 (clean_state_log_if_needed): Likewise.
12952 (get_subexp): Likewise.
12953 * posix/Makefile (tests): Add bug-regex34.
12954 (bug-regex34-ENV): Define.
12955 * posix/bug-regex34.c: New file.
12956
7e2f0d2d
AS
12957 [BZ #11561]
12958 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12959 elements compare against the byte sequence of it, not its name.
12960 * posix/Makefile (tests): Add bug-regex35.
12961 (bug-regex35-ENV): Define.
12962 * posix/bug-regex35.c: New file.
12963
a175b684
TV
129642013-02-11 Tom de Vries <tom@codesourcery.com>
12965
12966 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12967 comment.
12968 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12969 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12970 (CHECK_EOL): Add undef.
12971
310998fe 129722013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12973
12974 * bits/stdlib-bsearch.h: New file.
12975 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12976 * stdlib/stdlib.h: Likewise.
41eda41d 12977
8ded91fb
RM
129782013-02-11 Roland McGrath <roland@hack.frob.com>
12979
12980 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12981 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12982 declaration.
12983 * manual/search.texi (Array Search Function): Add missing const in
12984 lfind prototype.
12985 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12986 declaration to use rlim_t.
12987 (Basic Scheduling Functions): Remove erroneous const from
12988 sched_getparam prototype. Remove erroneous * from
12989 sched_get_priority_max and sched_get_priority_min prototypes.
12990 (Resource Usage): Fix summary @comment on vtimes to refer to
12991 sys/vtimes.h rather than vtimes.h.
12992 Add missing *s in vtimes prototype.
12993 (Limits on Resources): Fix ulimit prototype to return long int.
12994 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12995 prototypes to use long int rather than double.
12996 (BSD Random): Fix initstate and setstate to use char *, not void *.
12997 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12998 prototype to make second argument 'struct aiocb64 *const[]'.
12999 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13000 (Status of AIO Operations): Remove erroneous const in aio_return and
13001 aio_return64 prototypes.
13002 (Synchronizing I/O): Fix sync prototype to return void.
13003 * manual/startup.texi (Suboptions): Remove an erroneous const in
13004 getsubopt prototype.
13005 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13006 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13007 use size_t rather than int.
13008 (Scanning All Users): Likewise for getpwent_r.
13009 (Setting Groups): Add missing const to setgroups prototype.
13010 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13011 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13012 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13013 'const void *' rather than 'const char *'.
13014 (Host Address Functions): Likewise for inet_ntop.
13015 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13016 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13017 ssize_t for return value.
13018 (Sending Data): Likewise for send, sendto, sendmsg.
13019 (Socket Option Functions): Add a missing const in setsockopt prototype.
13020 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13021 use wchar_t for the argument.
13022 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13023 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13024 take no arguments.
13025 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13026 double/float/long double for second argument.
13027 Fix return types of significand, significandf, significandl.
13028 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13029 argument in fchmod prototype.
13030 (File Owner): Use uid_t and gid_t in fchown prototype.
13031 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13032 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13033 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13034 use 'const struct dirent **' as argument types to CMP function pointer
13035 argument.
13036 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13037 (File Times): Fix summary magic @comment for struct utimbuf and utime
13038 to refer to utime.h, not time.h.
13039 * manual/string.texi (Argz Functions): Add missing const in
13040 argz_extract and argz_next prototypes.
13041 (Finding Tokens in a String): Likewise for basename.
13042 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13043 (Copying and Concatenation): Fix typo in wmemmove prototype.
13044 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13045 (Signal Stack): Remove erroneous const in sigstack prototype.
13046 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13047 prototype.
13048 (Simple Calendar Time): Likewise for stime.
13049 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13050 prototype.
13051 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13052 say sys/sysctl.h instead.
13053 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13054 and vsyslog prototypes.
13055
fe77fe6d
TV
130562013-02-11 Tom de Vries <tom@codesourcery.com>
13057
13058 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13059 Remove.
13060
3a09b620
RM
130612013-02-11 Roland McGrath <roland@hack.frob.com>
13062
13063 * misc/sys/mman.h: Fix typo in mremap comment.
13064
550a0b89
RM
130652013-02-08 Roland McGrath <roland@hack.frob.com>
13066
13067 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13068 the '\0' terminator.
13069
a2da1673
JM
130702013-02-08 Joseph Myers <joseph@codesourcery.com>
13071
13072 [BZ #13550]
13073 * debug/segfault.c: Don't include <bp-checks.h>.
13074 * sysdeps/generic/bp-checks.h: Remove file.
13075 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13076 (__GETDENTS): Don't use CHECK_N.
13077 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13078 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13079 (__getgroups): Don't use CHECK_N.
13080 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13081 (setgroups): Don't use CHECK_N.
13082 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13083 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13084 (__libc_msgrcv): Don't use CHECK_N.
13085 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13086 (__libc_msgsnd): Don't use CHECK_N.
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13088 <bp-checks.h>.
13089 (__libc_pread): Don't use CHECK_N.
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13091 include <bp-checks.h>.
13092 (__libc_pread64): Don't use CHECK_N.
13093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13094 include <bp-checks.h>.
13095 (__libc_pwrite): Don't use CHECK_N.
13096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13097 include <bp-checks.h>.
13098 (__libc_pwrite64): Don't use CHECK_N.
13099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13100 <bp-checks.h>.
13101 (__libc_pread): Don't use CHECK_N.
13102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13103 include <bp-checks.h>.
13104 (__libc_pread64): Don't use CHECK_N.
13105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13106 include <bp-checks.h>.
13107 (__libc_pwrite): Don't use CHECK_N.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13109 include <bp-checks.h>.
13110 (__libc_pwrite64): Don't use CHECK_N.
13111 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13112 (do_pread): Don't use CHECK_N.
13113 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13114 (do_pread64): Don't use CHECK_N.
13115 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13116 (do_pwrite): Don't use CHECK_N.
13117 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13118 (do_pwrite64): Don't use CHECK_N.
13119 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13120 (__libc_readv): Don't use CHECK_N.
13121 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13122 (semop): Don't use CHECK_N.
13123 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13124 <bp-checks.h>.
13125 (semtimedop): Don't use CHECK_N.
13126 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13127 (__libc_pread): Don't use CHECK_N.
13128 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13129 <bp-checks.h>.
13130 (__libc_pread64): Don't use CHECK_N.
13131 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13132 <bp-checks.h>.
13133 (__libc_pwrite): Don't use CHECK_N.
13134 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13135 <bp-checks.h>.
13136 (__libc_pwrite64): Don't use CHECK_N.
13137 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13138 <bp-checks.h>.
13139 (__libc_msgrcv): Don't use CHECK_N.
13140 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13141 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13142 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13143 (__libc_writev): Don't use CHECK_N.
13144
b84660a8
RM
131452013-02-08 Roland McGrath <roland@hack.frob.com>
13146
7f3e75f8
RM
13147 * string/strcpy.c: Removed unused variable.
13148
b84660a8
RM
13149 * Makeconfig (+sysdep-includes): Define with := rather than =.
13150 Use an existing include/ subdir of each sysdeps dir before it.
13151
471514d3
CD
131522013-02-08 Carlos O'Donell <carlos@redhat.com>
13153
13154 * nscd/connection.c (register_traced_file): Comment function.
13155 [HAVE_INOTIFY] (union __inev): Define.
13156 [HAVE_INOTIFY] (inotify_check_files): New function.
13157 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13158 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13159 clear_db_cache.
13160 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13161
b2d3c3be
CD
131622013-02-08 Carlos O'Donell <carlos@redhat.com>
13163
13164 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13165 loaded if not already and that a failure is permanent.
13166
b39949d2
CD
131672013-02-08 Carlos O'Donell <carlos@redhat.com>
13168
ddacd1db 13169 [BZ #15006]
b39949d2
CD
13170 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13171 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13172
b2c9eff4
JM
131732013-02-08 Joseph Myers <joseph@codesourcery.com>
13174
f3aae3f3
JM
13175 [BZ #13550]
13176 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13177 (CHECK_1_NULL_OK): Likewise.
13178 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13179 (__fxstat): Do not use CHECK_1.
13180 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13181 <bp-checks.h>.
13182 (___fxstat64): Do not use CHECK_1.
13183 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13184 <bp-checks.h>.
13185 (__fxstatat): Do not use CHECK_1.
13186 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13187 <bp-checks.h>.
13188 (__fxstatat64): Do not use CHECK_1.
13189 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13190 <bp-checks.h>.
13191 (__fxstat): Do not use CHECK_1.
13192 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13193 <bp-checks.h>.
13194 (__fxstatat): Do not use CHECK_1.
13195 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13196 <bp-checks.h>.
13197 (__getresgid): Do not use CHECK_1.
13198 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13199 <bp-checks.h>.
13200 (__getresuid): Do not use CHECK_1.
13201 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13202 <bp-checks.h>.
13203 (__lxstat): Do not use CHECK_1.
13204 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13205 <bp-checks.h>.
13206 (__old_msgctl): Do not use CHECK_1.
13207 (__new_msgctl): Likewise.
13208 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13209 <bp-checks.h>.
13210 (__new_setrlimit): Do not use CHECK_1.
13211 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13212 <bp-checks.h>.
13213 (__old_shmctl): Do not use CHECK_1.
13214 (__new_shmctl): Likewise.
13215 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13216 <bp-checks.h>.
13217 (__xstat): Do not use CHECK_1.
13218 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13219 (__lxstat): Do not use CHECK_1.
13220 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13221 <bp-checks.h>.
13222 (___lxstat64): Do not use CHECK_1.
13223 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13224 (__old_msgctl): Do not use CHECK_1.
13225 (__new_msgctl): Likewise.
13226 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13227 <bp-checks.h>.
13228 (__gettimeofday): Do not use CHECK_1.
13229 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13230 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13231 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13232 <bp-checks.h>.
13233 (__gettimeofday): Do not use CHECK_1.
13234 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13235 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13236 (__new_shmctl): Do not use CHECK_1.
13237 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13238 <bp-checks.h>.
13239 (do_sigtimedwait): Do not use CHECK_1.
13240 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13241 <bp-checks.h>.
13242 (do_sigwaitinfo): Do not use CHECK_1.
13243 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13244 <bp-checks.h>.
13245 (msgctl): Do not use CHECK_1.
13246 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13247 <bp-checks.h>.
13248 (shmctl): Do not use CHECK_1.
13249 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13250 (ustat): Do not use CHECK_1.
13251 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13252 <bp-checks.h>.
13253 (__fxstat): Do not use CHECK_1.
13254 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13255 <bp-checks.h>.
13256 (__fxstatat): Do not use CHECK_1.
13257 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13258 <bp-checks.h>.
13259 (__lxstat): Do not use CHECK_1.
13260 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13261 <bp-checks.h>.
13262 (__xstat): Do not use CHECK_1.
13263 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13264 (__xstat): Do not use CHECK_1.
13265 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13266 (___xstat64): Do not use CHECK_1.
13267
b2c9eff4
JM
13268 [BZ #13550]
13269 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13270 definitions.
13271 (CHECK_BOUNDS_HIGH): Likewise.
13272 * string/strcpy.c: Do not include <bp-checks.h>.
13273 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13274
f1d70dad
RM
132752013-02-07 Roland McGrath <roland@hack.frob.com>
13276
13277 * nscd/nscd-client.h (__nscd_drop_map_ref):
13278 Add __attribute__ ((unused)).
13279 * nis/nss-nisplus.h (niserr2nss): Likewise.
13280
13281 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13282 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13283
13284 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13285 Remove inline keyword.
13286 * include/rounding-mode.h (round_away): Likewise.
13287 * libio/wfileops.c (adjust_wide_data): Likewise.
13288 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13289 (__m128i_strloadu_tolower): Likewise.
13290 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13291 (__m128i_strloadu_tolower): Likewise.
13292 * time/mktime.c (ydhms_diff): Likewise.
13293 * locale/elem-hash.h (elem_hash): Likewise.
13294 * locale/setlocale.c (setdata): Likewise.
13295 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13296 (re_string_wchar_at): Likewise.
13297 (bitset_not, bitset_merge, bitset_mask): Likewise.
13298 [!(__GNUC__ > 3)] (inline): Remove macro.
13299 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13300 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13301 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13302 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13303 * string/memcmp.c (memcmp_bytes): Likewise.
13304 * locale/programs/locarchive.c (compute_hashval): Likewise.
13305 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13306 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13307 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13308 * nss/getent.c (print_rpc, print_protocols): Likewise.
13309 (print_passwd, print_group, print_aliases): Likewise.
13310 * nis/nss-nisplus.h (niserr2nss): Likewise.
13311 * nscd/connections.c (restart_p): Likewise.
13312 Change return type to bool.
13313
eab55bfb
RM
133142013-02-05 Roland McGrath <roland@hack.frob.com>
13315
7bd642f5
RM
13316 * Makeconfig (all-Depend-files): Add existing
13317 $(sorted-subdirs:=/Depend) files.
13318 (all-subdirs): Remove nss.
13319 * sysdeps/unix/inet/Subdirs: Add it here instead.
13320 * hesiod/Depend: New file.
13321
573c29b2
RM
13322 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13323 instead of calling alloca.
13324
b2e25af0
RM
13325 * io/lseek.c (__lseek): Rename to __libc_lseek.
13326 Define __lseek as an alias.
13327
eab55bfb
RM
13328 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13329
9a0d1941
CD
133302013-02-04 Carlos O'Donell <carlos@redhat.com>
13331
13332 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13333 else clause and remove check for non-standard endianness.
13334
b83bbec4
DM
133352013-02-04 David S. Miller <davem@davemloft.net>
13336
13337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13338
6277fdab
JM
133392013-02-04 Joseph Myers <joseph@codesourcery.com>
13340
13341 [BZ #13550]
13342 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13343 (__ubp_memchr): Remove prototype.
13344 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13345 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13346 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13347 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13348 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13349 Remove alias.
13350 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13351 (__ubp_memchr): Likewise.
13352 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13353 (__ubp_memchr): Likewise.
13354 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13355 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13356 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13357 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13358 CHECK_STRING.
13359 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13360 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13361 (__getcwd): Do not use CHECK_STRING.
13362 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13363 <bp-checks.h>.
13364 (__real_chown): Do not use CHECK_STRING.
13365 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13366 <bp-checks.h>.
13367 (fchownat): Do not use CHECK_STRING.
13368 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13369 CHECK_STRING.
13370 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13371 <bp-checks.h>.
13372 (__lchown): Do not use CHECK_STRING.
13373 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13374 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13375 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13376 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13378 include <bp-checks.h>.
13379 (truncate64): Do not use CHECK_STRING.
13380 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13381 <bp-checks.h>.
13382 (__real_chown): Do not use CHECK_STRING.
13383 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13384 <bp-checks.h>.
13385 (__lchown): Do not use CHECK_STRING.
13386 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13387 <bp-checks.h>.
13388 (__chown): Do not use CHECK_STRING.
13389 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13390 <bp-checks.h>.
13391 (truncate64): Do not use CHECK_STRING.
13392 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13393 Likewise.
13394 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13395 (__xmknod): Do not use CHECK_STRING.
13396 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13397 <bp-checks.h>.
13398 (__xmknodat): Do not use CHECK_STRING.
13399 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13400 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13401
903ae060
AS
134022013-02-04 Andreas Schwab <schwab@suse.de>
13403
13404 [BZ #14142]
13405 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13406 * include/netdb.h: Likewise for h_errno.
13407 * elf/tst-stackguard1.c: Include <tls.h>.
13408
542f9466
JK
134092013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13410
13411 * elf/link.h (struct link_map): Extend the l_addr comment.
13412 * include/link.h (struct link_map): Likewise.
13413
e782a927
JM
134142013-02-01 Joseph Myers <joseph@codesourcery.com>
13415
13416 [BZ #13550]
13417 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13418 (BOUNDED_1): Remove macro.
13419 * debug/backtrace.c: Don't include <bp-checks.h>.
13420 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13421 (__backtrace): Likewise.
13422 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13423 <bp-checks.h>.
13424 (__backtrace): Don't use BOUNDED_1.
13425 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13426 <bp-checks.h>.
13427 (__backtrace): Don't use BOUNDED_1.
13428 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13429 (__backtrace): Don't use BOUNDED_1.
13430 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13431 (shmat): Don't use BOUNDED_N.
13432
8cf28c5e
JM
134332013-01-31 Joseph Myers <joseph@codesourcery.com>
13434
3a7ac8a0
JM
13435 [BZ #13550]
13436 * sysdeps/generic/bp-start.h: Remove file.
13437 * csu/libc-start.c: Don't include <bp-start.h>.
13438 (LIBC_START_MAIN): Set up __environ directly instead of using
13439 INIT_ARGV_and_ENVIRON.
13440 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13441 <bp-start.h>.
13442
f3499f95
JM
13443 [BZ #13550]
13444 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13445 definitions.
13446 (CHECK_FCNTL): Likewise.
13447 (CHECK_N_PAGES): Likewise.
13448
32a45bea
JM
13449 [BZ #13550]
13450 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13451 definitions.
13452 (CHECK_SIGSET_NULL_OK): Likewise.
13453 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13454 <bp-checks.h>.
13455 (sigpending): Don't use CHECK_SIGSET.
13456 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13457 <bp-checks.h>.
13458 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13459 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13460 <bp-checks.h>.
13461 (do_sigsuspend): Don't use CHECK_SIGSET.
13462 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13463 use CHECK_SIGSET.
13464 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13465 (do_sigwait): Don't use CHECK_SIGSET.
13466 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13467 use CHECK_SIGSET.
13468 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13469 include <bp-checks.h>.
13470 (sigpending): Don't use CHECK_SIGSET.
13471 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13472 include <bp-checks.h>.
13473 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13474 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13475 <bp-checks.h>.
13476 (sigpending): Don't use CHECK_SIGSET.
13477 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13478 <bp-checks.h>.
13479 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13480
2e8a5c8c
JM
13481 [BZ #13550]
13482 * sysdeps/generic/bp-semctl.h: Remove file.
13483 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13484 <bp-checks.h> and <bp-semctl.h>.
13485 (__old_semctl): Don't use CHECK_SEMCTL.
13486 (__new_semctl): Likewise.
13487 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13488 and <bp-semctl.h>.
13489 (__old_semctl): Don't use CHECK_SEMCTL.
13490 (__new_semctl): Likewise.
13491 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13492 <bp-checks.h> and <bp-semctl.h>.
13493 (__old_semctl): Don't use CHECK_SEMCTL.
13494 (__new_semctl): Likewise.
13495 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13496 <bp-checks.h> and <bp-semctl.h>.
13497 (semctl): Don't use CHECK_SEMCTL.
13498
c2d54929
JM
13499 [BZ #13550]
13500 * Makerules (elide-bp-thunks): Remove variable.
13501 (elide-routines.oS): Don't use $(elide-bp-thunks).
13502 (elide-routines.os): Likewise.
13503 (elide-routines.o): Likewise.
13504 (elide-routines.op): Likewise.
13505 (elide-routines.og): Likewise.
13506 (objects): Don't use $(bp-thunks).
13507 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13508 include.
13509 (common-generated): Do not add s-proto-bp.d.
13510 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13511 (int): Likewise.
13512 (typ): Likewise.
13513 Do not generate makefile rules for bounded-pointer thunks.
13514 * sysdeps/generic/bp-thunks.h: Remove file.
13515 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13516 * sysdeps/unix/s-proto-bp.S: Likewise.
13517
8cf28c5e
JM
13518 [BZ #15062]
13519 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13520 parts of result separately when argument is not close to line from
13521 -i to i and one part of argument is small.
13522 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13523 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13524 * math/libm-test.inc (cacos_test): Add more tests.
13525 (casin_test): Likewise.
13526 (casinh_test): Likewise.
13527 * sysdeps/i386/fpu/libm-test-ulps: Update.
13528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13529
c4e33b8d
DM
135302013-01-31 David S. Miller <davem@davemloft.net>
13531
13532 * po/de.po: Update from translation team.
13533
3b60b421
MK
135342013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13535
13536 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13537
bb931195
TS
135382013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13539
b5a5da23
TS
13540 * configure.in (_AC_PROG_CC_C89): New definition.
13541 * configure: Regenerate.
13542
bb931195
TS
13543 * configure.in (AC_PROG_CPP): New definition.
13544 * configure: Regenerate.
13545
8c53a12c
JM
135462013-01-23 Joseph Myers <joseph@codesourcery.com>
13547
13548 * debug/tst-backtrace.h: New file.
13549 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13550 (ret): Remove variable.
13551 (x): Likewise.
13552 (FAIL): Remove macro.
13553 (NO_INLINE): Likewise.
13554 (fn1): Use match function instead of strstr.
13555 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13556 (ret): Remove variable.
13557 (x): Likewise.
13558 (FAIL): Remove macro.
13559 (NO_INLINE): Likewise.
13560 (fn): Use match function instead of strstr.
13561 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13562 (ret): Remove variable.
13563 (x): Likewise.
13564 (FAIL): Remove macro.
13565 (NO_INLINE): Likewise.
13566 (handle_signal): Use match function instead of strstr.
13567 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13568 (ret): Remove variable.
13569 (x): Likewise.
13570 (FAIL): Remove macro.
13571 (NO_INLINE): Likewise.
13572 (handle_signal): Use match function instead of strstr.
13573
4858fa2a
RM
135742013-01-23 Roland McGrath <roland@hack.frob.com>
13575
13576 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13577
bae8e7f5
DM
135782013-01-23 David S. Miller <davem@davemloft.net>
13579
13580 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13581 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13582 argument of CAS if possible.
13583 * sysdeps/sparc/sparc64/bits/atomic.h
13584 (__arch_compare_and_exchange_val_32_acq): Likewise.
13585 (__arch_compare_and_exchange_val_64_acq): Likewise.
13586
9cbbc4ae
PT
135872013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13588
13589 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13590 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13591 Include <limits.h>.
67b3f58c 13592 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13593
5655a0b5
AC
135942013-01-23 Adam Conrad <adconrad@0c3.net>
13595
13596 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13597 (LDFLAGS-tst-array5): Likewise.
13598
052aff95
JM
135992013-01-23 Joseph Myers <joseph@codesourcery.com>
13600
13601 [BZ #15036]
13602 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13603 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13604 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13605 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13606
7c1e01aa
DM
136072013-01-21 David S. Miller <davem@davemloft.net>
13608
13609 * sysdeps/sparc/backtrace.c: New file.
13610 * sysdeps/sparc/sparc32/backtrace.h: New file.
13611 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13612 * sysdeps/sparc/sparc64/backtrace.h: New file.
13613 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13614 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13615 -funwind-tables.
13616
ab087e0a
AS
136172013-01-21 Andreas Schwab <schwab@suse.de>
13618
13619 [BZ #15020]
13620 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13621 closed its stdout.
13622
ed689c2f
AS
136232013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13624
13625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13626 "mpa2.h".
13627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13628
31d470ac
JM
136292013-01-18 Joseph Myers <joseph@codesourcery.com>
13630 Mark Mitchell <mark@codesourcery.com>
13631 Tom de Vries <tom@codesourcery.com>
13632 Paul Pluzhnikov <ppluzhnikov@google.com>
13633
13634 * debug/tst-backtrace2.c: New file.
13635 * debug/tst-backtrace3.c: Likewise.
13636 * debug/tst-backtrace4.c: Likewise.
13637 * debug/tst-backtrace5.c: Likewise.
13638 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13639 (CFLAGS-tst-backtrace3.c): Likewise.
13640 (CFLAGS-tst-backtrace4.c): Likewise.
13641 (CFLAGS-tst-backtrace5.c): Likewise.
13642 (LDFLAGS-tst-backtrace2): Likewise.
13643 (LDFLAGS-tst-backtrace3): Likewise.
13644 (LDFLAGS-tst-backtrace4): Likewise.
13645 (LDFLAGS-tst-backtrace5): Likewise.
13646 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13647 tst-backtrace4 and tst-backtrace5.
13648
90567f30 136492013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13650 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13651
13652 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13653 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13654 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13655 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13657 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13658 "+r" and remove output regs list as redundant. Add explicit inline
13659 asm to specify register of return val to work around compiler codegen
13660 bug. Remove (int) cast on return value. Add return type parameter to
13661 use in macro so that this macro does not truncate return value for
13662 64-bit values.
13663 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13664 pass to INTERNAL_VSYSCALL_NCS.
13665 (INLINE_VSYSCALL): Add 'long int' as return type to
13666 INTERNAL_VSYSCALL_NCS macro invocation.
13667 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13668 INTERNAL_VSYSCALL_NCS macro invocation.
13669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13670
d3b9ea61
SP
136712013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13672
0b57daeb
SP
13673 [BZ #14496]
13674 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13675 Fix application of SIMD FP exception mask.
13676
caa99d06
SP
13677 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13678 mp_no from a power of two.
13679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13680 __mpexp_twomm1. Use __pow_mp.
13681
d3b9ea61
SP
13682 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13683 multiplication.
13684
1dbaee3c
DM
136852013-01-17 David S. Miller <davem@davemloft.net>
13686
13687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13688
728d7b43
JM
136892013-01-17 Joseph Myers <joseph@codesourcery.com>
13690
13691 [BZ #15023]
13692 * include/complex.h: Condition contents on [!_COMPLEX_H].
13693 (__kernel_casinhf): New prototype.
13694 (__kernel_casinh): Likewise.
13695 (__kernel_casinhl): Likewise.
13696 * math/Makefile (libm_calls): Add k_casinh.
13697 * math/k_casinh.c: New file.
13698 * math/k_casinhf.c: Likewise.
13699 * math/k_casinhl.c: Likewise.
13700 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13701 finite nonzero arguments.
13702 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13703 finite nonzero arguments.
13704 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13705 finite nonzero arguments.
13706 * math/s_casinh.c: Do not include <float.h>.
13707 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13708 * math/s_casinhf.c: Do not include <float.h>.
13709 (__casinhf): Move code for finite nonzero arguments to
13710 k_casinhf.c.
13711 * math/s_casinhl.c: Do not include <float.h>.
13712 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13713 redefine.
13714 (__casinhl): Move code for finite nonzero arguments to
13715 k_casinhl.c.
13716 * math/libm-test.inc (cacos_test): Add more tests.
13717 * sysdeps/i386/fpu/libm-test-ulps: Update.
13718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13719
2a26ef3a
PT
137202013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13721
13722 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13723 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13724 [!HAVE_MREMAP]: Remove [defined linux] case.
13725 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13726
a897655d
SP
137272013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13728
13729 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13730
881ebe89 137312013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13732
13733 * elf/elf.h (R_386_SIZE32): New relocation.
13734 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13735 R_386_SIZE32.
13736 (elf_machine_rela): Likewise.
13737 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13738 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13739
59981e9b
JM
137402013-01-17 Joseph Myers <joseph@codesourcery.com>
13741
13742 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13743 (FP_FAST_FMA): Do not define.
13744 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13745 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13746 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13747 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13748 !_SOFT_FLOAT]: Likewise.
13749 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13750 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13751 value.
13752 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13753 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13754 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13755 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13756 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13757 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13758 file.
13759
cfa8054f
AS
137602013-01-16 Andreas Schwab <schwab@suse.de>
13761
13762 [BZ #14327]
13763 * include/stdlib.h (__mktemp): Add declaration.
13764 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13765 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13766
dd930cc5
SP
137672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13768
881ebe89
SP
13769 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13770 definitions.
13771 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13772 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13773 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13774 definitions here.
13775 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13776 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13777 definitions.
13778 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13779 and ONE.
13780 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13781 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13782 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13783 definitions.
13784 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13785 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13786 definitions.
13787 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13788
dd930cc5
SP
13789 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13790
c19a9f89
DM
137912013-01-15 David S. Miller <davem@davemloft.net>
13792
1aa61767
DM
13793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13794 trunc{,f} to libm-sysdep_routes.
13795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13797 file.
13798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13800 file.
13801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13802 file.
13803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13805 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13806 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13807 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13808 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13809 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13810 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13811
c42d5e98
DM
13812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13813 nearbyint{,f} to libm-sysdep_routes.
13814 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13816 New file.
13817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13818 file.
13819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13820 New file.
13821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13822 file.
13823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13825 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13826 file.
13827 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13828 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13829 file.
13830 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13831 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13832 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13833
c19a9f89
DM
13834 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13835 libc_feholdexcept and libc_fesetenv.
13836
357679d2
MF
138372013-01-15 Mike Frysinger <vapier@gentoo.org>
13838
13839 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13840
65a82e3d
DM
138412013-01-14 David S. Miller <davem@davemloft.net>
13842
8b954ab9
DM
13843 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13844 (SPARC_ASM_VIS2_IFUNC): Likewise.
13845 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13847 use of 'siam' instruction.
13848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13849 Likewise.
13850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13851 Likewise.
13852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13853 Likewise.
13854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13856 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13859 file.
13860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13861 file.
13862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13863 file.
13864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13865 file.
13866 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13867 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13871 new VIS2 routines.
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13875 Likewise.
13876 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13877 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13878 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13879 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13881 routines to libm-sysdep_routines.
13882 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13883
65a82e3d
DM
13884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13885 fdim/fdimf to libm-sysdep_routines.
13886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13887 file.
13888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13890 file.
13891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13894 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13895 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13896 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13897 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13898
e34ab705
SP
138992013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13900
2a91b573
SP
13901 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13902 to optimize copies.
13903
1066a534
SP
13904 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13907
e34ab705
SP
13908 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13909 local variable MPTWO.
13910 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13911 Likewise.
13912
aba5e596
MF
139132013-01-13 Mike Frysinger <vapier@gentoo.org>
13914
13915 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13916 GLOB_NOESCAPE.
13917
e557e9e5
MF
139182013-01-13 Mike Frysinger <vapier@gentoo.org>
13919
13920 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13921
0428cec9
MF
139222013-01-13 Mike Frysinger <vapier@gentoo.org>
13923
13924 * manual/pattern.texi (glob_t): Document gl_flags.
13925 (glob64_t): Likewise.
13926
8794a964
DM
139272013-01-11 David S. Miller <davem@davemloft.net>
13928
66438c3f
RM
13929 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13930 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13931 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13932 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13933 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13934 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13935 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13936 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13937 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13938 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13939 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13940 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13941 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13942
4ae4244d
DM
13943 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13944 sparc V9 rather than using V8 code.
13945 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13946 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13947
8794a964
DM
13948 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13949 Move to...
13950 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13951 Here.
13952
6270516e
RM
139532013-01-11 Roland McGrath <roland@hack.frob.com>
13954
13955 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13956 not in the main loop.
13957 * configure: Regenerated.
13958
6a57d931
JM
139592013-01-11 Joseph Myers <joseph@codesourcery.com>
13960
13961 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13962 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13963 to just #else.
13964 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13965 [!__GLIBC_HAVE_LONG_LONG] case.
13966 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13967 condition to just #else.
13968 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13969 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13970 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13971 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13972 unconditional.
13973 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13974 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13975 #elif condition to just #else.
13976 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13977 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13978 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13979 #elif condition to just #else.
13980
0e8529e9
SE
139812013-01-11 Steve Ellcey <sellcey@mips.com>
13982
13983 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13984 (EF_MIPS_ARCH_64): Fix value.
13985 (EF_MIPS_ARCH_32R2): New.
13986 (EF_MIPS_ARCH_64R2): New.
13987
740b3dbe
L
139882013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13989
13990 * Makeconfig (+link-pie-before-libc): New.
13991 (+link-pie-after-libc): Likewise.
13992 (+link-pie-tests): Likewise.
13993 (+link-pie): Rewritten.
13994 (link-before-libc): Remove $(config-LDFLAGS).
13995 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13996 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13997 (config-LDFLAGS): Renamed to ...
13998 (rtld-LDFLAGS): This.
13999 (rtld-tests-LDFLAGS): New macro.
14000 (link-libc-rpath-link): Likewise.
14001 (link-libc-tests-rpath-link): Likewise.
14002 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14003 (link-libc): Prepand $(link-libc-rpath-link).
14004 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14005 (test-program-prefix): New macro.
14006 (test-via-rtld-prefix): Likewise.
14007 (test-program-cmd): Likewise.
14008 (host-test-program-cmd): Likewise.
14009 * Makefile ($(common-objpfx)testrun.sh): Replace
14010 $(run-program-prefix) with $(test-program-prefix).
14011 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14012 $(rtld-LDFLAGS).
14013 ($(common-objpfx)shlib.lds): Likewise.
14014 (build-module-helper): Likewise.
14015 ($(common-objpfx)format.lds): Likewise.
14016 * Rules (binaries-pie-tests): New.
14017 (binaries-pie-notests): Likewise.
14018 (binaries-pie): Rewritten.
14019 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14020 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14021 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14022 (make-test-out): Replace $(host-built-program-cmd) with
14023 $(host-test-program-cmd).
14024 * config.make.in (build-hardcoded-path-in-tests): New variable.
14025 * configure.in (--enable-hardcoded-path-in-tests): New configure
14026 option.
14027 (hardcoded_path_in_tests): New AC_SUBST.
14028 * configure: Regenerated.
14029 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14030 $(built-program-cmd) with $(test-program-cmd).
14031 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14032 (test_program_cmd): This.
14033 * elf/Makefile ($(objpfx)order.out): Run test with
14034 $(test-program-prefix).
14035 ($(objpfx)order2.out): Likewise.
14036 ($(objpfx)tst-initorder.out): Likewise.
14037 ($(objpfx)tst-initorder2.out): Likewise.
14038 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14039 $(test-program-cmd).
14040 ($(objpfx)tst-array1-static.out): Likewise.
14041 ($(objpfx)tst-array2.out): Likewise.
14042 ($(objpfx)tst-array3.out): Likewise.
14043 ($(objpfx)tst-array4.out): Likewise.
14044 ($(objpfx)tst-array5.out): Likewise.
14045 ($(objpfx)tst-array5-static.out): Likewise.
14046 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14047 $(test-program-cmd).
14048 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14049 $(run-program-prefix) with $(test-program-prefix).
14050 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14051 (test_program_prefix): This.
14052 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14053 $(run-program-prefix) with $(test-program-prefix).
14054 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14055 (test_program_prefix): This.
14056 * iconvdata/tst-tables.sh: Likewise.
14057 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14058 $(run-program-prefix) with $(test-program-prefix).
14059 ($(objpfx)tst-translit.out): Likewise.
14060 ($(objpfx)tst-gettext2.out): Likewise.
14061 ($(objpfx)tst-gettext4.out): Likewise.
14062 ($(objpfx)tst-gettext6.out): Likewise.
14063 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14064 (test_program_prefix): This.
14065 * intl/tst-gettext2.sh: Likewise.
14066 * intl/tst-gettext4.sh Likewise.
14067 * intl/tst-gettext6.sh: Likewise.
14068 * intl/tst-translit.sh: Likewise.
14069 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14070 with $(test-program-cmd).
14071 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14072 $(run-program-prefix) with $(test-program-prefix).
14073 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14074 (test_program_prefix): This.
14075 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14076 $(run-program-prefix) with $(test-program-prefix).
14077 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14078 (test_program_prefix): This.
14079 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14080 * posix/Makefile ($(objpfx)globtest.out): Replace
14081 $(run-via-rtld-prefix) and $(test-wrapper) with
14082 $(test-program-prefix) and $(test-via-rtld-prefix).
14083 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14084 $(test-program-prefix).
14085 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14086 $(host-test-program-cmd).
14087 (tst-spawn-ARGS): Likewise.
14088 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14089 $(test-program-prefix).
14090 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14091 (test_via_rtld_prefix): This.
14092 (test_wrapper): Renamed to ...
14093 (test_program_prefix): This.
14094 (run_program_prefix): Replaced by test_program_prefix.
14095 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14096 (test_program_prefix): This.
14097 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14098 with $(host-test-program-cmd).
14099 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14100 $(run-program-prefix) with $(test-program-prefix).
14101 ($(objpfx)tst-printf.out): Likewise.
14102 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14103 $(test-program-cmd).
14104 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14105 (test_program_prefix): This.
14106 * stdio-common/tst-unbputc.sh: Likewise.
14107 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14108 $(run-program-prefix) with $(test-program-prefix).
14109 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14110 (test_program_prefix): This.
14111 * string/Makefile ($(objpfx)tst-svc.out): Replace
14112 $(built-program-cmd) with $(test-program-cmd).
14113
c6fe55cf
AJ
141142013-01-11 Andreas Jaeger <aj@suse.de>
14115
14116 [BZ #15003]
14117 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14118 value. Sync with Linux 3.7.
14119
9e6919c8
DM
141202013-01-10 David S. Miller <davem@davemloft.net>
14121
14122 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14123 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14124 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14125
1c9f1a02
RM
141262013-01-10 Roland McGrath <roland@hack.frob.com>
14127
14128 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14129 never set.
14130 * configure: Regenerated.
14131
b9de2dde
DM
141322013-01-10 David S. Miller <davem@davemloft.net>
14133
14134 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14135 sparc V9 rather than using V8 code.
14136 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14137 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14138
e7f68ef4
RM
141392013-01-10 Roland McGrath <roland@hack.frob.com>
14140
14141 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14142 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14143 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14144 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14145 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14146 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14147 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14148 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14149 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14150 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14151 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14152 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14153 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14154 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14155 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14156 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14157 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14158 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14159 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14160 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14161 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14162 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14163 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14164 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14165 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14166 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14167 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14168
5a47cc9c
DM
141692013-01-10 David S. Miller <davem@davemloft.net>
14170
14171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14172
4cf8f209
L
141732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14174
14175 * posix/Makefile (tests-static): New variable.
14176 (tests): Add $(tests-static).
14177 (tst-exec-static-ARGS): New variable.
14178 (tst-spawn-static-ARGS): Likewise.
14179 * posix/tst-exec-static.c: New file.
14180 * posix/tst-spawn-static.c: Likewise.
14181 * posix/tst-exec.c: Support run directly.
14182 * posix/tst-spawn.c: Likewise.
14183
fed0faa1
JM
141842013-01-10 Joseph Myers <joseph@codesourcery.com>
14185
828beb13
JM
14186 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14187 long.
14188 * math/bits/mathcalls.h (llrint): Likewise.
14189 (llround): Likewise.
14190 * stdlib/stdlib.h (struct drand48_data): Likewise.
14191 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14192 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14193 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14194 Likewise.
14195 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14196 Likewise.
14197 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14198 (elf_greg_t): Likewise.
14199 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14200 (__jmp_buf): Likewise.
14201 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14202 definitions.
14203 (llrint): Likewise, for all definitions.
14204 (llrintl): Likewise.
14205
fed0faa1
JM
14206 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14207 Remove [__GNUC__] condition.
14208 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14209 condition to just [__USE_ISOC99].
14210 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14211
1a20cb20
L
142122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14213
14214 [BZ #14200]
14215 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14216 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14217 defined.
14218 (_POSIX_V6_ILP32_OFF32): Likewise.
14219 (_XBS5_ILP32_OFF32): Likewise.
14220 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14221 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14222
751b85f7
SP
142232013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14224
7490eb81
SP
14225 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14226
751b85f7
SP
14227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14228 doubles __mpexp_twomm1. Adjust usage.
14229 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14230 Remove.
14231
988197f0
AS
142322013-01-10 Andreas Schwab <schwab@suse.de>
14233
14234 [BZ #14964]
14235 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14236 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14237
e83d7298
DM
142382013-01-09 David S. Miller <davem@davemloft.net>
14239
034ed64b 14240 [BZ #15003]
e83d7298
DM
14241 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14242 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14243 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14244 TCP_FASTOPEN): Define.
14245 (tcp_repair_opt): New structure.
14246 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14247 enum values.
14248 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14249 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14250 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14251 (tcp_cookie_transactions): New structure.
14252
d5e0b9bd
AB
142532013-01-09 Anton Blanchard <anton@samba.org>
14254
14255 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14256 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14257 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14258 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14259
0c07e3ea
JM
142602013-01-09 Joseph Myers <joseph@codesourcery.com>
14261
14262 * include/features.h (__USE_ANSI): Remove.
14263
232f7002
RM
142642013-01-09 Roland McGrath <roland@hack.frob.com>
14265
ad98e30c
RM
14266 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14267
232f7002
RM
14268 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14269
950c99ca
SP
142702013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14271
b5792741
SP
14272 * sysdeps/s390/fpu/libm-test-ulps: Update.
14273
47cf2278
SP
14274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14275
950c99ca
SP
14276 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14277 (__acr): Likewise.
14278 (__cpy): Likewise.
14279 (norm): Likewise.
14280 (denorm): Likewise.
14281 (__mp_dbl): Likewise.
14282 (__dbl_mp): Likewise.
14283 (add_magnitudes): Likewise.
14284 (sub_magnitudes): Likewise.
14285 (__add): Likewise.
14286 (__sub): Likewise.
14287 (__mul): Likewise.
14288 (__inv): Likewise.
14289 (__dvd): Likewise.
14290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14291 (__acr): Likewise.
14292 (__cpy): Likewise.
14293 (norm): Likewise.
14294 (denorm): Likewise.
14295 (__mp_dbl): Likewise.
14296 (__dbl_mp): Likewise.
14297 (add_magnitudes): Likewise.
14298 (sub_magnitudes): Likewise.
14299 (__add): Likewise.
14300 (__sub): Likewise.
14301 (__mul): Likewise.
14302 (__inv): Likewise.
14303 (__dvd): Likewise.
14304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14305 (__acr): Likewise.
14306 (__cpy): Likewise.
14307 (norm): Likewise.
14308 (denorm): Likewise.
14309 (__mp_dbl): Likewise.
14310 (__dbl_mp): Likewise.
14311 (add_magnitudes): Likewise.
14312 (sub_magnitudes): Likewise.
14313 (__add): Likewise.
14314 (__sub): Likewise.
14315 (__mul): Likewise.
14316 (__inv): Likewise.
14317 (__dvd): Likewise.
14318
eede9df9
JM
143192013-01-08 Joseph Myers <joseph@codesourcery.com>
14320
14321 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14322 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14323 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14324 2 && __USE_EXTERN_INLINES]: Likewise.
14325
c40ea3d9
AJ
143262013-01-08 Andreas Jaeger <aj@suse.de>
14327
14328 [BZ# 14985]
14329 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14330 Remove.
14331 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14332 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14333
2ccdea26
AB
143342013-01-07 Anton Blanchard <anton@samba.org>
14335
14336 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14337 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14338 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14339 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14340 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14341 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14342 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14343 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14345 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14346 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14347 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14348 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14349 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14350 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14351 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14352 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14353 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14354 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14355 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14356 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14357 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14358 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14359 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14360 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14361 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14362 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14363 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14364 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14365 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14366 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14368 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14369 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14370 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14371 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14372 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14373 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14374 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14375 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14376 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14377 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14378 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14379
a9708fed
JM
143802013-01-07 Joseph Myers <joseph@codesourcery.com>
14381
375607b9
JM
14382 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14383 (__MALLOC_PMT): Likewise.
14384 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14385 [__GNUC__], only on [_LIBC].
14386 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14387 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14388 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14389 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14390 forward declaration.
14391 (realloc_hook_ini): Likewise.
14392 (memalign_hook_ini): Likewise.
14393 (__libc_memalign): Do not use __MALLOC_PMT in variable
14394 declaration.
14395 (__libc_valloc): Likewise.
14396 (__libc_pvalloc): Likewise.
14397 (__libc_calloc): Likewise.
14398 (__posix_memalign): Likewise.
14399
a9708fed
JM
14400 [BZ #14996]
14401 * math/s_casinh.c: Include <float.h>.
14402 (__casinh): Do not do computation with squaring and square root
14403 for large arguments.
14404 * math/s_casinhf.c: Include <float.h>.
14405 (__casinhf): Do not do computation with squaring and square root
14406 for large arguments.
14407 * math/s_casinhl.c: Include <float.h>.
14408 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14409 (__casinhl): Do not do computation with squaring and square root
14410 for large arguments.
14411 * math/libm-test.inc (casin_test): Add more tests.
14412 (casinh_test): Likewise.
14413 * sysdeps/i386/fpu/libm-test-ulps: Update.
14414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14415
afec409a
L
144162013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14417
14418 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14419 (__x86_64_raw_data_cache_size): Likewise.
14420 (__x86_64_data_cache_size_half): Likewise.
14421 (__x86_64_raw_data_cache_size_half): Likewise.
14422 (__x86_64_shared_cache_size): Likewise.
14423 (__x86_64_raw_shared_cache_size): Likewise.
14424 (__x86_64_shared_cache_size_half): Likewise.
14425 (__x86_64_raw_shared_cache_size_half): Likewise.
14426 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14427 to ...
14428 (__x86_data_cache_size): This.
14429 (__x86_64_raw_data_cache_size): Renamed to ...
14430 (__x86_raw_data_cache_size): This.
14431 (__x86_64_data_cache_size_half): Renamed to ...
14432 (__x86_data_cache_size_half): This.
14433 (__x86_64_raw_data_cache_size_half): Renamed to ...
14434 (__x86_raw_data_cache_size_half): This.
14435 (__x86_64_shared_cache_size): Renamed to ...
14436 (__x86_shared_cache_size): This.
14437 (__x86_64_raw_shared_cache_size): Renamed to ...
14438 (__x86_raw_shared_cache_size): This.
14439 (__x86_64_shared_cache_size_half): Renamed to ...
14440 (__x86_shared_cache_size_half): This.
14441 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14442 (__x86_raw_shared_cache_size_half): This.
14443 * sysdeps/x86_64/memcpy.S: Updated.
14444 * sysdeps/x86_64/memset.S: Likewise.
14445 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14447 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14448
0b3986d0
DM
144492013-01-04 David S. Miller <davem@davemloft.net>
14450
14451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14452
e47686e9
AS
144532013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14454
d643bac1
AS
14455 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14456 1 to avoid redefinition warning.
14457 (__USE_GNU): Don't define.
14458 (init_signaling_nan): Protoize.
14459
e47686e9
AS
14460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14461
b18decba
SP
144622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14463
fffb407f
SP
14464 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14466 (__cpymn): Likewise.
14467 (norm): Remove commented code.
14468 (denorm): Likewise.
14469 (__mp_dbl): Likewise.
14470 (__inv): Likewise.
14471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14472 (__cpymn): Likewise.
14473 (norm): Remove commented code.
14474 (denorm): Likewise.
14475 (__mp_dbl): Likewise.
14476 (__inv): Likewise.
14477
b18decba
SP
14478 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14479 mp_no value for 1.0 and 2.0.
14480 (norm): Use RADIXI instead of radixi.d.
14481 (denorm): Likewise.
14482 (__mul): Use 0.0 instead of zero.d.
14483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14484 mp_no value for 1.0 and 2.0.
14485 (norm): Use RADIXI instead of radixi.d.
14486 (denorm): Likewise.
14487 (__mul): Use 0.0 instead of zero.d.
14488
cdc1c96f
JM
144892013-01-04 Joseph Myers <joseph@codesourcery.com>
14490
14491 [BZ #14994]
14492 * math/s_casinh.c (__casinh): Reduce finite argument to first
14493 quadrant then set signs of results at the end.
14494 * math/s_casinhf.c (__casinhf): Likewise.
14495 * math/s_casinhl.c (__casinhl): Likewise.
14496 * math/libm-test.inc (casin_test): Add more tests.
14497 (casinh_test): Likewise.
14498 * sysdeps/i386/fpu/libm-test-ulps: Update.
14499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14500
302913e1
SP
145012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14502
6420d207
SP
14503 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14504
a9e48ab4
SP
14505 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14506
b7837264
SP
14507 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14508 declarations.
14509 (denorm): Likewise.
14510 (__mp_dbl): Likewise.
14511 (__inv): Likewise.
14512
f8af25d2
SP
14513 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14514 and adjust the header comment.
14515
302913e1
SP
14516 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14517 variable name from declaration.
14518
5d7dd1ca
L
145192013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14520
14521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14522 Initialize COMMON_CPUID_INDEX_7 element.
14523 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14524 (CPUID_RTM): Likewise.
14525 (HAS_RTM): Likewise.
14526 (COMMON_CPUID_INDEX_7): New enum.
14527
2f5f40f4
AS
145282013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14529
14530 [BZ #14981]
14531 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14532 size is zero, record memory as freed.
14533
4056f4a0
AJ
145342013-01-03 Andreas Jaeger <aj@suse.de>
14535
14536 * po/ia.po: Add new Interlingua translation.
14537
ab15736f 145382012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14539
14540 * locale/programs/localedef.c: Fix description of '--posix' flag.
14541
568035b7
JM
145422013-01-02 Joseph Myers <joseph@codesourcery.com>
14543
e6898b8d
JM
14544 * NEWS: Update dates in second copyright notice.
14545 * README: Update copyright dates in example.
14546 * manual/libc.texinfo: Update copyright dates.
14547 * scripts/test-installation.pl: Update copyright date in --version
14548 output.
14549
0e2f9562
JM
14550 * hurd/ctty-input.c: Fix copyright notice formatting.
14551 * hurd/ctty-output.c: Likewise.
14552 * hurd/dtable.c: Likewise.
14553 * hurd/hurd-raise.c: Likewise.
14554 * hurd/hurdprio.c: Likewise.
14555 * hurd/msgportdemux.c: Likewise.
14556 * misc/sys/file.h: Likewise.
14557 * misc/sys/ioctl.h: Likewise.
14558 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14559 * sysdeps/mach/hurd/chdir.c: Likewise.
14560 * sysdeps/mach/hurd/fchdir.c: Likewise.
14561 * sysdeps/mach/hurd/rename.c: Likewise.
14562 * sysdeps/mach/hurd/rmdir.c: Likewise.
14563 * sysdeps/mach/hurd/seekdir.c: Likewise.
14564 * sysdeps/mach/hurd/setsid.c: Likewise.
14565 * sysdeps/posix/wait3.c: Likewise.
14566
568035b7
JM
14567 * All files with FSF copyright notices: Update copyright dates
14568 using scripts/update-copyrights.
14569 * intl/plural.c: Regenerated.
14570 * locale/programs/charmap-kw.h: Likewise.
14571 * locale/programs/locfile-kw.h: Likewise.
14572
da08f647
SP
145732013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14574
0f5477af
SP
14575 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14576 four values.
14577
44e0d4c2
SP
14578 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14579 calculation loop and add branch prediction.
14580
4d55b4e5
SP
14581 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14582 check access beyond bounds of m1np.
14583
da08f647
SP
14584 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14585 MPTWO.
14586 (__inv): Remove local variable MPTWO to use the global
14587 constant.
14588 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14589 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14590 variable MPTWO.
14591 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14592 MP3HALFS static const.
14593
8e051029
DM
145942013-01-01 David S. Miller <davem@davemloft.net>
14595
14596 * po/ca.po: Update from translation team.
14597
f4cf5f2d
JM
145982013-01-01 Joseph Myers <joseph@codesourcery.com>
14599
14600 * scripts/update-copyrights: New file.
14601 * Makeconfig: Reformat copyright notice.
14602 * ctype/ctype.h: Likewise.
14603 * debug/swprintf_chk.c: Likewise.
14604 * elf/dl-cache.c: Likewise.
14605 * elf/dl-debug.c: Likewise.
14606 * elf/dl-object.c: Likewise.
14607 * grp/initgroups.c: Likewise.
14608 * hurd/Makefile: Likewise.
14609 * hurd/hurd/signal.h: Likewise.
14610 * hurd/hurdfault.c: Likewise.
14611 * hurd/hurdioctl.c: Likewise.
14612 * hurd/hurdlookup.c: Likewise.
14613 * hurd/intr-msg.c: Likewise.
14614 * iconv/gconv_open.c: Likewise.
14615 * libio/swprintf.c: Likewise.
14616 * locale/lc-ctype.c: Likewise.
14617 * locale/nl_langinfo.c: Likewise.
14618 * mach/Machrules: Likewise.
14619 * mach/Makefile: Likewise.
14620 * malloc/obstack.h: Likewise.
14621 * manual/Makefile: Likewise.
14622 * manual/tsort.awk: Likewise.
14623 * misc/bits/stab.def: Likewise.
14624 * nis/nis_print_group_entry.c: Likewise.
14625 * nis/nis_table.c: Likewise.
14626 * nis/nss_compat/compat-pwd.c: Likewise.
14627 * nis/nss_compat/compat-spwd.c: Likewise.
14628 * po/Makefile: Likewise.
14629 * posix/fnmatch.c: Likewise.
14630 * posix/regex.h: Likewise.
14631 * resolv/Makefile: Likewise.
14632 * resolv/nss_dns/dns-network.c: Likewise.
14633 * resolv/res_hconf.c: Likewise.
14634 * scripts/gen-sorted.awk: Likewise.
14635 * soft-fp/soft-fp.h: Likewise.
14636 * stdio-common/printf.h: Likewise.
14637 * stdlib/monetary.h: Likewise.
14638 * stdlib/random.c: Likewise.
14639 * stdlib/random_r.c: Likewise.
14640 * sysdeps/generic/Makefile: Likewise.
14641 * sysdeps/gnu/Makefile: Likewise.
14642 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14644 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14645 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14646 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14656 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14665 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14666 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14667 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14670 * sysdeps/mach/hurd/errnos.awk: Likewise.
14671 * sysdeps/mach/hurd/fork.c: Likewise.
14672 * sysdeps/mach/hurd/getcwd.c: Likewise.
14673 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14674 * sysdeps/mach/hurd/mmap.c: Likewise.
14675 * sysdeps/mach/hurd/utimes.c: Likewise.
14676 * sysdeps/mach/hurd/xmknod.c: Likewise.
14677 * sysdeps/posix/profil.c: Likewise.
14678 * sysdeps/posix/readdir_r.c: Likewise.
14679 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14680 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14681 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14682 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14683 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14684 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14685 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14686 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14687 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14688 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14689 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14690 * sysdeps/pthread/lio_listio.c: Likewise.
14691 * sysdeps/sparc/dl-procinfo.h: Likewise.
14692 * sysdeps/unix/i386/sysdep.S: Likewise.
14693 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14694 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14695 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14696 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14698 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14699 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14700 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14701 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14702 * sysdeps/wordsize-32/divdi3.c: Likewise.
14703 * time/sys/time.h: Likewise.
14704 * wcsmbs/Makefile: Likewise.
14705
0549fbba
DM
147062013-01-01 David S. Miller <davem@davemloft.net>
14707
a141f1a7
DM
14708 * po/fr.po: Update from translation team.
14709
0549fbba
DM
14710 * catgets/gencat.c: Update copyright year.
14711 * csu/version.c: Likewise.
14712 * debug/catchsegv.sh: Likewise.
14713 * debug/pcprofiledump.c: Likewise.
14714 * debug/xtrace.sh: Likewise.
14715 * elf/ldconfig.c: Likewise.
14716 * elf/ldd.bash.in: Likewise.
14717 * elf/pldd.c: Likewise.
14718 * elf/sotruss.ksh: Likewise.
14719 * elf/sprof.c: Likewise.
14720 * iconv/iconv_prog.c: Likewise.
14721 * iconv/iconvconfig.c: Likewise.
14722 * locale/programs/locale.c: Likewise.
14723 * locale/programs/localedef.c: Likewise.
14724 * login/programs/pt_chown.c: Likewise.
14725 * malloc/memusage.sh: Likewise.
14726 * malloc/memusagestat.c: Likewise.
14727 * malloc/mtrace.pl: Likewise.
14728 * nscd/nscd.c: Likewise.
14729 * nss/getent.c: Likewise.
14730 * nss/makedb.c: Likewise.
14731 * posix/getconf.c: Likewise.
14732
18ea052c
SP
147332012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14734
14735 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14736 numbers.
14737
9c89fca6
MF
147382012-12-30 Mike Frysinger <vapier@gentoo.org>
14739
14740 * math/bits/mathcalls.h (modf): Use __nonnull.
14741
085ec079
SP
147422012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14743
14744 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14745 (split): Use macro CN instead of the bare value.
14746 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14747 could be used.
14748 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14749 instead of the bare value.
14750 (power1): Likewise.
14751
6d9f97e1
SP
147522012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14753
d63f73be
SP
14754 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14755 __ATAN_TWOM.
14756 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14757
6d9f97e1
SP
14758 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14759 their values.
14760 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14761 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14762 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14763 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14764
4c4febf5
AJ
147652012-12-28 Andreas Jaeger <aj@suse.de>
14766
af5843ef
AJ
14767 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14768 values are from Linux 3.7.
14769
4c4febf5
AJ
14770 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14771 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14772
99136f82
SP
147732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14774
2f216c3c 14775 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14776 TRUE case.
14777
99136f82
SP
14778 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14779 (norm): Likewise.
14780 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14781 variables with preprocessor constants.
14782 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14783 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14784 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14785
7fffbdff
BH
147862012-12-27 Bruno Haible <bruno@clisp.org>
14787
14788 [BZ #14317]
14789 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14790 only if needed.
14791
b76eb5f0
SP
147922012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14793
31a7fe5c
SP
14794 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14795 and use variable directly.
14796 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14797
b76eb5f0
SP
14798 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14799 MPONE.
14800 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14801 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14802 variable MPONE.
14803 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14805 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14806 include directive. Remove local variable MPONE.
14807 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14808 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14809 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14810
2c8bfe7d
DM
148112012-12-25 David S. Miller <davem@davemloft.net>
14812
14813 * version.h (RELEASE): Set to "development".
14814 (VERSION): Set to "2.17.90".
14815 * NEWS: Add 2.18 section.
14816
147d03b0
DM
148172012-12-21 David S. Miller <davem@davemloft.net>
14818
14819 * po/hr.po: Update from translation team.
14820
a8ebb2b9
AK
148212012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14822
14823 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14824
95b4f1b6
SE
148252012-12-19 Steve Ellcey <sellcey@mips.com>
14826
b2d94007 14827 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14828
cedb2a90
MS
148292012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14830
14831 * manual/contrib.texi (Contributors): Spelling correction.
14832
bbf527d6
DM
148332012-12-15 David S. Miller <davem@davemloft.net>
14834
14835 * po/ru.po: Update from translation team.
14836
bc38c906
DM
148372012-12-13 David S. Miller <davem@davemloft.net>
14838
85429b1a
DM
14839 * NEWS: Mention IFUNC testsuite enhancements.
14840
d283e353
DM
14841 * po/pl.po: Update from translation team.
14842 * po/bg.po: Likewise.
14843
bc38c906
DM
14844 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14845 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14846
a181b0d7
DM
148472012-12-11 David S. Miller <davem@davemloft.net>
14848
4641d57e
DM
14849 * po/sv.po: Update from translation team.
14850
f7bc6495
DM
14851 * po/vi.po: Update from translation team.
14852
6fc9048f
DM
14853 * po/cs.po: Update from translation team.
14854
a181b0d7
DM
14855 * po/de.po: Update from translation team.
14856 * po/eo.po: Likewise.
14857 * po/nl.po: Likewise.
14858
f70bfe80
SP
148592012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14860
3c8b4190
SP
14861 [BZ #14246]
14862 * manual/argp.texi (Argp Helper Functions): Move node to follow
14863 Argp Parsing State.
14864
f70bfe80
SP
14865 [BZ #14872]
14866 * manual/conf.texi (Limits on File System Capacity): Mention if
14867 terminating null is included in the max size.
14868
188f0adf
AJ
148692012-12-10 Andreas Jaeger <aj@suse.de>
14870
14871 * po/cs.po: Update from translation team.
14872
56e7d3ad
SP
148732012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14874
14875 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14876 void pointer and cast to uintptr_t.
14877 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14878 path.
14879 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14880 * sysdeps/s390/s390-64/memset.S: Likewise.
14881
76f2d2ea 148822012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14883
14884 [BZ #14833]
14885 * menual/message.texi (Message Translation): Fix typos.
14886 (Helper programs for gettext): Likewise.
14887
67cbf9a2
AS
148882012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14889
14890 [BZ #14898]
14891 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14892 Change to -1.
14893
682d0e9a
DM
148942012-12-07 David S. Miller <davem@davemloft.net>
14895
14896 * po/libc.pot: Update.
14897
573cd484
RH
148982012-12-07 Richard Henderson <rth@redhat.com>
14899
7e9da188 14900 [BZ #10114]
573cd484
RH
14901 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14902 normal/normal case to before the switch.
14903 (_FP_DIV): Likewise.
14904
e933a943
MF
149052012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14906 Mike Frysinger <vapier@gentoo.org>
14907
14908 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14909 check for __NR_fadvise64_64.
14910
82123268
CM
149112012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14912
14913 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14914 0, not just to plain "0" as a statement.
14915 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14916 with cw.
14917
d9814526
JM
149182012-12-06 Joseph Myers <joseph@codesourcery.com>
14919
14920 * NEWS: Use sourceware.org in Bugzilla URL.
14921
7728c574
SP
149222012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14923
f16946dd
SP
14924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14925 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14926
5704bbcb
SP
14927 * stdio-common/tst-put-error.c (do_test): Add newline to the
14928 padded test to ensure flush.
14929
17aa0516
JL
149302012-12-05 Jeff Law <law@redhat.com>
14931
14932 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14933
363313b5
JM
149342012-12-05 Joseph Myers <joseph@codesourcery.com>
14935
effbd42a
JM
14936 * README: Don't refer to ports add-on as distributed separately.
14937 Mention AArch64 in list of systems supported in the ports add-on.
14938
87600365
JM
14939 * LICENSES: Add more non-FSF copyright and license notices.
14940
a0d7066a
JM
14941 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14942 ((unused)).
14943
66ca5a5b
JM
14944 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14945
363313b5
JM
14946 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14947 10000 as width of padded output.
14948
b37984ad
JM
149492012-12-04 Joseph Myers <joseph@codesourcery.com>
14950
9003570a
JM
14951 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14952
b37984ad
JM
14953 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14954 variable LX with __attribute__ ((unused)).
14955 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14956 Likewise.
14957 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14959 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14960 with __attribute__ ((unused)).
14961
c8df52ec
DM
149622012-12-04 David S. Miller <davem@abraco.davemloft.net>
14963
14964 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14965
b3b099af
JM
149662012-12-04 Joseph Myers <joseph@codesourcery.com>
14967
c33aa6e3
JM
14968 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14969 (CFLAGS-nldbl-acos.c): New variable.
14970 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14971 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14972 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14973 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14974 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14975 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14976 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14977 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14978 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14979 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14980 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14981 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14982 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14983 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14984 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14985 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14986 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14987 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14988 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14989 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14990 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14991 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14992 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14993 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14994 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14995 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14996 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14997 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14998 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14999 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15000 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15001 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15002 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15003 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15004 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15005 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15006 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15007 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15008 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15009 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15010 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15011 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15012 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15013 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15014 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15015 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15016 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15017 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15018 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15019 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15020 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15021 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15022 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15023 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15024 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15025 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15026 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15027 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15028 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15029 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15030 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15031 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15032 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15033 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15034 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15035 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15036 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15037 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15038 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15039 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15040 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15041 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15042 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15043 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15044 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15045 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15046 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15047 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15048 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15049 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15050 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15051 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15052 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15053 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15054 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15055 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15056 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15057 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15058 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15059 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15060 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15061 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15062 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15063 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15064 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15065 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15066 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15067
20f0018d
JM
15068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15069 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15070
b3b099af
JM
15071 [BZ #14914]
15072 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15073 whole low double instead of just low 47 bits when splitting values
15074 into two parts.
15075
029264d1
AM
150762012-12-03 Allan McRae <allan@archlinux.org>
15077
15078 * manual/stdio.texi (Predefined Printf Handlers): Remove
15079 @hsep and @vsep usage.
15080
c9d6789e
MF
150812012-12-03 Mike Frysinger <vapier@gentoo.org>
15082
15083 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15084 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15085
4b7634a5
JL
150862012-12-03 Jeff Law <law@redhat.com>
15087
15088 * time/sys/time.h (settimeofday): Do not mark TV argument
15089 as __nonnull.
15090
eb6cbd24
MF
150912012-12-01 Mike Frysinger <vapier@gentoo.org>
15092
15093 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15094 when currently writing and seek to current position when not.
15095 * libio/Makefile (tests): Remove bug-fclose1.
15096 * libio/bug-fclose1.c: Delete.
15097
f638872a
JM
150982012-12-01 Joseph Myers <joseph@codesourcery.com>
15099
15100 * manual/arith.texi (feenableexcept): Fix typo.
15101 (fedisableexcept): Likewise.
15102
48085d14
RM
151032012-11-30 Roland McGrath <roland@hack.frob.com>
15104
15105 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15106 second, differently-typed declaration, rather than a cast.
15107
1a538b9f
SP
151082012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15109
15110 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15111 * include/rpc/svc.h: ... here.
15112
d07f2ff1 151132012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15114
15115 [BZ #13013]
15116 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15117 depending n and resplen2 to catch cases where answer
15118 equals answerp2.
15119
c93ec1f0
CD
151202012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15121
15122 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15123 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15124
37db69de
MF
151252012-11-29 Mike Frysinger <vapier@gentoo.org>
15126
15127 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15128
e10c4e4f
RM
151292012-11-29 Roland McGrath <roland@hack.frob.com>
15130
15131 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15132
2af1b328
JL
151332012-11-28 Jeff Law <law@redhat.com>
15134
15135 [BZ #13761]
15136 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15137 dataset_temporary. Track alloca usage into alloca_used.
15138 If dataset is large allocate and release it via malloc/free.
15139
111db5b1
FW
151402012-06-04 Florian Weimer <fweimer@redhat.com>
15141
f06cc227 15142 [BZ #14197]
111db5b1
FW
15143 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15144
dd694abd
DM
151452012-11-28 David S. Miller <davem@davemloft.net>
15146
15147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15148
9984dd01
JM
151492012-11-28 Joseph Myers <joseph@codesourcery.com>
15150
15151 [BZ #14803]
15152 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15153 of pi/2 rounded to nearest to 64 bits.
15154 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15155 nearest to 64 bits.
15156 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15157 bits.
15158
14bc93a9
JL
151592012-11-28 Jeff Law <law@redhat.com>
15160 Martin Osvald <mosvald@redhat.com>
15161
15162 [BZ #14889]
15163 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15164 * sunrpc/svc.c: Include time.h.
15165 (__svc_accept_failed): New function.
15166 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15167 any reason other than EINTR, call __svc_accept_failed.
15168 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15169 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15170
e3c6aa3a
AS
151712012-11-28 Andreas Schwab <schwab@suse.de>
15172
15173 * scripts/abilist.awk: Also handle indirect functions in .opd
15174 section.
15175
1bead169
JM
151762012-11-28 Joseph Myers <joseph@codesourcery.com>
15177
15178 [BZ #13881]
15179 * sysdeps/x86/fpu/powl_helper.c: New file.
15180 * sysdeps/x86/fpu/Makefile: Likewise.
15181 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15182 (p3): New object.
15183 (__ieee754_powl): Use __powl_helper for finite arguments except
15184 integer exponents below 8.
15185 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15186 (p3): New object.
15187 (__ieee754_powl): Use __powl_helper for finite arguments except
15188 integer exponents below 8.
15189 * math/libm-test.inc (pow_test): Add more tests and enable some
15190 previously disabled tests.
15191 * sysdeps/i386/fpu/libm-test-ulps: Update.
15192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15193
0817d63d
SP
151942012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15195 Carlos O'Donell <carlos_odonell@mentor.com>
15196
15197 * nss/makedb.c (is_prime): Assert that input is odd and greater
15198 than 4. Note that fact in a comment too.
15199 (next_prime): Add 4 to input.
15200
de2fd463
SP
152012012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15202
15203 [BZ #11741]
15204 * libio/Makefile (tests): Add test case tst-fwrite-error.
15205 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15206 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15207 * libio/tst-fwrite-error.c: New test case.
15208
c515fb51
L
152092012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15210
15211 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15212 before casting to void *.
15213 * include/libc-internal.h (__pointer_type): New macro.
15214 (__integer_if_pointer_type_sub): Likewise.
15215 (__integer_if_pointer_type): Likewise.
15216 (cast_to_integer): Likewise.
15217 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15218 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15219 before casting to atomic64_t.
15220 (atomic_exchange_acq): Likewise.
15221 (__arch_exchange_and_add_body): Likewise.
15222 (__arch_add_body): Likewise.
15223 (atomic_add_negative): Likewise.
15224 (atomic_add_zero): Likewise.
15225
4cf77aa9
JM
152262012-11-26 Joseph Myers <joseph@codesourcery.com>
15227
15228 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15229 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15230 (add_fdes): Likewise.
15231 (linear_search_fdes): Likewise.
15232 (binary_search_unencoded_fdes): Likewise.
15233
d260b3b4
AS
152342012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15235
15236 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15237
67060746
AC
152382012-11-24 Adam Conrad <adconrad@0c3.net>
15239
15240 * configure.in: Autodetect C++ header directories.
15241 * configure: Regenerated.
15242
800938a1
MF
152432012-11-23 Mike Frysinger <vapier@gentoo.org>
15244
15245 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15246
4e6e34e6
AS
152472012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15248
15249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15250
7c7feb47
JM
152512012-11-22 Joseph Myers <joseph@codesourcery.com>
15252
7184dcdf
JM
15253 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15254 LDBL_MANT_DIG == 106]: Disable some tests.
15255 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15256 Likewise.
15257 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15258 Likewise.
15259
0a42601f
JM
15260 [BZ #14871]
15261 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15262 input for small inputs. Return +/- pi/2 for large inputs.
15263 * math/libm-test.inc (atan_test): Add more tests.
15264
79c9b9fe
JM
15265 * sysdeps/generic/unwind-dw2-fde-glibc.c
15266 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15267 __attribute__ ((unused)).
15268
c60d3bf2
JM
15269 [BZ #14645]
15270 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15271 x * y if x and y are nonzero and z is zero.
15272
ef1e0867
JM
15273 [BZ #14811]
15274 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15275 nonzero exponents with absolute value below 0x1p-117 to +/-
15276 0x1p-117.
15277
1468ded3
JM
15278 [BZ #14869]
15279 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15280 up arguments below 2**-450, not just those below 2**-500.
15281 * math/libm-test.inc (hypot_test): Add another test.
15282
8e27e3cc
JM
15283 [BZ #14868]
15284 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15285 Return a+b for ratio over 2**120, not 2**60.
15286 * math/libm-test.inc (hypot_test): Add another test.
15287
c9c0279b
JM
15288 * math/libm-test.inc (clog_test): Use
15289 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15290 (clog10_test): Likewise.
15291
7c7feb47
JM
15292 [BZ #6778]
15293 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15294
fff1530e
AS
152952012-11-22 Andreas Schwab <schwab@suse.de>
15296
15297 * sysdeps/i386/fpu/libm-test-ulps: Update.
15298
94558d30
PT
152992012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15300
15301 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15302 printf output with newline.
15303
7e1be741
L
153042012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15305
6bfea974
L
15306 [BZ #14865]
15307 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15308 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15309 -z nodlopen, -z initfirst and -z execstack support.
15310 * configure: Regenerated.
15311
7e1be741
L
15312 * elf/elf.h (DF_1_NODIRECT): New macro.
15313 (DF_1_IGNMULDEF): Likewise.
15314 (DF_1_NOKSYMS): Likewise.
15315 (DF_1_NOHDR): Likewise.
15316 (DF_1_EDITED): Likewise.
15317 (DF_1_NORELOC): Likewise.
15318 (DF_1_SYMINTPOSE): Likewise.
15319 (DF_1_GLOBAUDIT): Likewise.
15320 (DF_1_SINGLETON): Likewise.
15321 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15322 DT_1_SUPPORTED_MASK bits.
15323 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15324
105ce2ce
CD
153252012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15326
15327 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15328
123be9de
TS
153292012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15330
d072f3f7
TS
15331 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15332 macro.
15333
123be9de
TS
15334 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15335 (sendmmsg): Move declarations...
15336 * socket/sys/socket.h: ... here.
15337 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15338 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15339 include it from...
15340 * socket/recvmmsg.c: ... this new file.
15341 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15342 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15343 definition of __sendmmsg hidden.
15344 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15345 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15346 Move ENOSYS stub into and include it from...
15347 * socket/sendmmsg.c: ... this new file.
15348 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15349 (sysdep_routines): Move recvmmsg and sendmmsg...
15350 * socket/Makefile (routines): ... here.
15351 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15352 (GLIBC_PRIVATE): Add __sendmmsg.
15353 * include/sys/socket.h (__sendmmsg): Add declarations.
15354 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15355 sendmmsg.
15356
cf9a5d18
JM
153572012-11-20 Joseph Myers <joseph@codesourcery.com>
15358
15359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15360 variable I1 with __attribute__ ((unused)).
15361 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15362
ecd4caf9
JM
153632012-11-19 Joseph Myers <joseph@codesourcery.com>
15364
be14d48f
JM
15365 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15366 DUMMY variables with __attribute__ ((unused)).
15367
ecd4caf9
JM
15368 * bits/byteswap.h: Include <bits/types.h>.
15369 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15370
986cab95
PT
153712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15372
15373 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15374 string_t. Do not manually set errno.
15375 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15376 length with __strnlen. Make sure to both set errno and return it on
15377 failure.
15378
6d33cc9d
DM
153792012-11-19 David S. Miller <davem@davemloft.net>
15380
15381 With help from Joseph Myers.
15382 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15383 very large arguments properly.
15384 * math/libm-test.inc (atan_test): New tests.
15385 (atan2_test): New tests.
15386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15388
ee663277
JM
153892012-11-19 Joseph Myers <joseph@codesourcery.com>
15390
877f2d8e
JM
15391 [BZ #14856]
15392 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15393 Define to 3.
15394
116fc08a
JM
15395 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15396 [POSIX] (EADDRNOTAVAIL): Likewise.
15397 [POSIX] (EAFNOSUPPORT): Likewise.
15398 [POSIX] (EALREADY): Likewise.
15399 [POSIX] (ECONNABORTED): Likewise.
15400 [POSIX] (ECONNREFUSED): Likewise.
15401 [POSIX] (ECONNRESET): Likewise.
15402 [POSIX] (EDESTADDRREQ): Likewise.
15403 [POSIX] (EDQUOT): Likewise.
15404 [POSIX] (EHOSTUNREACH): Likewise.
15405 [POSIX] (EIDRM): Likewise.
15406 [POSIX] (EISCONN): Likewise.
15407 [POSIX] (ELOOP): Likewise.
15408 [POSIX] (EMULTIHOP): Likewise.
15409 [POSIX] (ENETDOWN): Likewise.
15410 [POSIX] (ENETUNREACH): Likewise.
15411 [POSIX] (ENOBUFS): Likewise.
15412 [POSIX] (ENODATA): Likewise.
15413 [POSIX] (ENOLINK): Likewise.
15414 [POSIX] (ENOMSG): Likewise.
15415 [POSIX] (ENOPROTOOPT): Likewise.
15416 [POSIX] (ENOSR): Likewise.
15417 [POSIX] (ENOSTR): Likewise.
15418 [POSIX] (ENOTCONN): Likewise.
15419 [POSIX] (ENOTSOCK): Likewise.
15420 [POSIX] (EOPNOTSUPP): Likewise.
15421 [POSIX] (EOVERFLOW): Likewise.
15422 [POSIX] (EPROTO): Likewise.
15423 [POSIX] (EPROTONOSUPPORT): Likewise.
15424 [POSIX] (EPROTOTYPE): Likewise.
15425 [POSIX] (ESTALE): Likewise.
15426 [POSIX] (ETIME): Likewise.
15427 [POSIX] (ETXTBSY): Likewise.
15428 [POSIX] (EWOULDBLOCK): Likewise.
15429 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15430 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15431 [POSIX] (SEEK_CUR): Likewise.
15432 [POSIX] (SEEK_END): Likewise.
15433 [POSIX || UNIX98] (mode_t): Do not require.
15434 [POSIX] (off_t): Likewise.
15435 [POSIX] (pid_t): Likewise.
15436 [POSIX] (sys/stat.h): Do not allow header.
15437 [POSIX] (unistd.h): Likewise.
15438 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15439 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15440 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15441 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15442 require.
15443 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15444 sigevent): Specify elements.
15445 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15446 entry.
15447 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15448 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15449
a483863f
JM
15450 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15451 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15452 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15453 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15454 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15455 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15456 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15457 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15458 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15459 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15460 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15461 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15462 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15463 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15464 Likewise.
15465 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15466 Likewise.
15467 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15468 Likewise.
15469 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15470 Likewise.
15471 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15472 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15473 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15474 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15475 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15476 Specify lower bound on value.
15477 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15478 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15479 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15480 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15481 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15482 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15483 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15484 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15485 value.
15486 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15487 as optional.
15488 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15489 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15490 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15491 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15492 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15493 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15494 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15495 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15496 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15497 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15498 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15499 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15500 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15501 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15502 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15503 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15504 entry.
15505 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15506 optional.
15507 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15508 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15509 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15510 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15511 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15512 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15513 Likewise.
15514 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15515 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15516 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15517 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15518 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15519 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15520 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15521 as optional.
15522 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15523 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15524 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15525 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15526 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15527 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15528 specify as optional.
15529 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15530 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15531 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15532 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15533 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15534 [XPG3] (NL_LANGMAX): Likewise.
15535 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15536 [POSIX || XPG3] (NL_NMAX): Likewise.
15537 [POSIX || XPG3] (NL_SETMAX): Likewise.
15538 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15539 [XPG3] (NZERO): Likewise.
15540 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15541 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15542 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15543 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15544 (REG_ERANGE): Expect.
15545 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15546 optional-constant.
15547 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15548 Use (void) in prototype.
15549 [POSIX] (*_t): Allow.
15550 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15551 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15552 (WRDE_BADVAL): Expect.
15553
5ba924e3
JM
15554 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15555 expect.
15556 [XPG3 || XPG4] (O_RSYNC): Likewise.
15557 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15558 Likewise.
15559 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15560 [XPG3 || XPG4] (sigqueue): Likewise.
15561 [XPG3 || XPG4] (sigtimedwait): Likewise.
15562 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15563 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15564 [XPG3 || XPG4] (vsnprintf): Likewise.
15565 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15566 Likewise.
15567 [XPG3 || XPG4] (blksize_t): Likewise.
15568 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15569 Likewise.
15570 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15571 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15572 [XPG3 || XPG4] (struct itimerspec): Likewise.
15573 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15574 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15575 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15576 [XPG3 || XPG4] (clockid_t): Likewise.
15577 [XPG3 || XPG4] (timer_t): Likewise.
15578 [XPG3 || XPG4] (clock_getres): Likewise.
15579 [XPG3 || XPG4] (clock_gettime): Likewise.
15580 [XPG3 || XPG4] (clock_settime): Likewise.
15581 [XPG3 || XPG4] (nanosleep): Likewise.
15582 [XPG3 || XPG4] (timer_create): Likewise.
15583 [XPG3 || XPG4] (timer_delete): Likewise.
15584 [XPG3 || XPG4] (timer_gettime): Likewise.
15585 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15586 [XPG3 || XPG4] (timer_settime): Likewise.
15587 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15588 [XPG3 || XPG4] (getlogin_r): Likewise.
15589 [XPG3 || XPG4] (pread): Likewise.
15590 [XPG3 || XPG4] (pthread_atfork): Likewise.
15591 [XPG3 || XPG4] (pwrite): Likewise.
15592
ee663277
JM
15593 [BZ #14835]
15594 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15595 <bits/siginfo.h>.
15596
942caa16
PT
155972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15598
e19af380
PT
15599 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15600 finalizing MALLSTREAM.
15601
942caa16
PT
15602 * sysdeps/mach/hurd/syncfs.c: New file.
15603
cfde9b46
SP
156042012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15605
15606 [BZ #14719]
15607 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15608 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15609 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15610 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15611 (_nss_dns_gethostbyname4_r): Likewise.
15612 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15613 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15614
f6da27e5
PH
156152012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15616
15617 [BZ #13763]
15618 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15619
6665d4a2
SM
156202012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15621
1f51ee92
SM
15622 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15623 * elf/cache.c (print_entry): Print ",AArch64" for
15624 FLAG_AARCH64_LIB64
15625
6665d4a2
SM
15626 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15627 * elf/cache.c (print_entry): Print ",hard-float" for
15628 FLAG_ARM_LIBHF.
15629
05b227bd
DM
156302012-11-18 David S. Miller <davem@davemloft.net>
15631
15632 With help from Joseph Myers.
15633 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15634 cutoff to 2**-13.
15635 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15636 cutoff to 2**-25.
15637 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15638 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15639 small.
15640 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15641 * math/libm-test.inc (y0_test): New tests.
15642 (y1_test): New tests.
15643 * sysdeps/i386/fpu/libm-test-ulps: Update.
15644 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15646
786b0b67
AS
156472012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15648
15649 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15650 64-bit targets.
15651 * configure: Regenerated.
15652
8e18b86d
DM
156532012-11-17 David S. Miller <davem@davemloft.net>
15654
15655 [BZ #14811]
15656 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15657 nonzero exponents with absolute value below 0x1p-128 to +/-
15658 0x1p-128.
15659
531f1ae0
JM
156602012-11-17 Joseph Myers <joseph@codesourcery.com>
15661
12df29e2
JM
15662 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15663
150dc1a0
JM
15664 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15665
531f1ae0
JM
15666 * posix/getconf-speclist.c: New file.
15667 * posix/posix-envs.def: Likewise.
15668 * posix/confstr.c (START_ENV_GROUP): New macro.
15669 (END_ENV_GROUP): Likewise.
15670 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15671 (KNOWN_PRESENT_ENV_STRING): Likewise.
15672 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15673 (UNKNOWN_ENVIRONMENT): Likewise.
15674 (confstr): Include posix-envs.def instead of handling
15675 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15676 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15677 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15678 (END_ENV_GROUP): Likewise.
15679 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15680 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15681 (UNKNOWN_ENVIRONMENT): Likewise.
15682 (__sysconf): Include posix-envs.def instead of handling associated
15683 cases directly here.
15684 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15685 preprocessing getconf-speclist.c rather than running getconf or
15686 generating empty file.
15687
a93f9cbc
PT
156882012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15689
15690 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15691
d64d9f87
AL
156922012-11-16 Andrej Lajovic <natrij@gmail.com>
15693
15694 [BZ #14672]
15695 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15696
447885eb
DM
156972012-11-16 David S. Miller <davem@davemloft.net>
15698
15699 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15700 smaller than LDBL_EPSILON/2.0L, just return xm1.
15701
bcbf9830
L
157022012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15703
15704 * elf/tst-array1.c (init): Set constructor priority to 1000.
15705 (fini): Set destructor priority to 1000.
15706 * elf/tst-array2dep.c: Likewise.
15707
2b766585
SP
157082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15709
15710 [BZ #11741]
15711 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15712 (_IO_new_file_xsputn): Also return EOF if none of the input
15713 data was written when overflow failed.
15714 * libio/iopadn.c (_IO_padn): Likewise.
15715 * libio/iowpadn.c (_IO_wpadn): Likewise.
15716 * stdio-common/tst-put-error.c: Add copyright notice.
15717 (do_test): Add case for printing padded string.
15718 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15719 _IO_padn returned error.
15720 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15721 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15722 return EOF.
15723
b1848fde
SP
157242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15725
15726 * libio/libioP.h: Add comment note that the references to C++
15727 bits are now obsolete.
15728
2fd89785
MS
157292012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15730
15731 * math/libm-test.inc (check_complex): Use asprintf.
15732
e3ea5409
JM
157332012-11-14 Joseph Myers <joseph@codesourcery.com>
15734
15735 * debug/pcprofiledump.c (print_version): Update copyright year.
15736 * malloc/memusagestat.c (print_version): Likewise.
15737
2e64d265
L
157382012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15739
15740 [BZ #14831]
15741 * elf/Makefile (tests): Add tst-audit8.
15742 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15743 ($(objpfx)tst-audit8.out): New target.
15744 (tst-audit8-ENV): New variable.
15745 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15746 audit if l_reloc_result is NULL.
15747 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15748 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15749 * elf/tst-audit8.c: New file.
15750
c485e4d2
MS
157512012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15752
15753 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15754 * misc/Makefile (CFLAGS-select.c): Define.
15755 * posix/Makefile (CFLAGS-pause.c): Define.
15756
3a0d900a
DM
157572012-11-13 David S. Miller <davem@davemloft.net>
15758
15759 * crypt/Makefile: Move test targets after toplevel Rules
15760 inclusion. Grab any necessary sysdep routines when linking.
15761 * crypt/md5.c (md5_process_block): Remove define, we will always
15762 name it __md5_process_block.
15763 (md5_finish_ctx): Update md5_process_block call.
15764 (md5_stream): Likewise.
15765 (md5_process_bytes): Likewise.
15766 (md5_process_block): Rename to __md5_process_block and move to ...
15767 * crypt/md5-block.c: ... here.
15768 * crypt/sha256.c (sha256_process_block): Move to ...
15769 * crypt/sha256-block.c: ... here.
15770 * crypt/sha512.c (sha512_process_block): Move to ...
15771 * crypt/sha512-block.c: ... here.
15772 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15773 path.
15774 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15775 * sysdeps/sparc/sparc64/multiarch/Makefile
15776 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15777 crypt subdir.
15778 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15779 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15780 multiarch changes.
15781 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15782 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15783 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15784 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15785 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15786 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15787 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15788 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15789 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15790 file.
15791 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15792 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15793 file.
15794 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15795
8ca89318
JM
157962012-11-13 Joseph Myers <joseph@codesourcery.com>
15797
e27d476a
JM
15798 * timezone/tzselect.ksh: Update from tzcode git revision
15799 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15800 * timezone/zdump.c: Likewise.
15801 * timezone/zic.c: Likewise.
15802 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15803 in TZVERSION setting, not $(PKGVERSION).
15804 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15805 REPORT_BUGS_TO settings.
15806
8ca89318
JM
15807 [BZ #14838]
15808 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15809 macro.
15810
47594329
MS
158112012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15812
15813 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15814 detection to immediately after _FP_ROUND().
15815 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15816 bits are 0.
15817
640ac3f1
DM
158182012-11-11 David S. Miller <davem@davemloft.net>
15819
15820 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15821 inttypes.h
15822 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15823 __close rather than their public counterparts.
15824
3d2577bb
JM
158252012-11-10 Joseph Myers <joseph@codesourcery.com>
15826
15827 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15828 file.
15829 [UNIX98] (sem_timedwait): Do not expect.
15830 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15831 [XPG4 || UNIX98] (sockatmark): Do not expect.
15832 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15833 (clock_getcpuclockid): Do not expect.
15834 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15835 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15836 Do not expect.
15837 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15838 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15839 [UNIX98] (vwscanf): Likewise.
15840 [UNIX98] (vswscanf): Likewise.
15841
fb1ae1ee
JM
158422012-11-09 Joseph Myers <joseph@codesourcery.com>
15843
9ec6f8bd
JM
15844 * timezone/version.h: Remove file.
15845 * timezone/README: Do not refer to version.h.
15846 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15847 $(objpfx)version.h.
15848 ($(objpfx)zdump.o): Likewise.
c3f81911 15849 ($(objpfx)version.h): New target.
9ec6f8bd 15850
0aa8f8a1
JM
15851 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15852 2012i.
15853 * timezone/README: Don't mention modification to tzselect.ksh.
15854 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15855 work on unmodified tzselect.ksh. Substitute version numbers in
15856 tzselect.ksh.
15857
4e87147f
JM
15858 * Makefile (format-me): Remove.
15859 (INSTALL): Adjust indentation. Use commands directly instead of
15860 using $(format-me).
15861
8b748aed
JM
15862 * aclocal.m4 (ACX_PKGVERSION): New macro.
15863 (ACX_BUGURL): Likewise.
15864 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15865 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15866 (REPORT_BUGS_TO): Likewise.
15867 * configure: Regenerated.
15868 * config.h.in (PKGVERSION): New macro.
15869 (REPORT_BUGS_TO): Likewise.
15870 * config.make.in (PKGVERSION): New variable.
15871 (PKGVERSION_TEXI): Likewise.
15872 (REPORT_BUGS_TO): Likewise.
15873 (REPORT_BUGS_TEXI): Likewise.
15874 * Makefile (format-me): Use -I$(common-objpfx)manual.
15875 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15876 ($(common-objpfx)manual/%): New target.
15877 (manual/%): Remove target.
15878 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15879 (print_version): Use PKGVERSION.
15880 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15881 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15882 and REPORT_BUGS_TO.
15883 ($(objpfx)xtrace): Likewise.
15884 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15885 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15886 (print_version): Use PKGVERSION.
15887 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15888 (do_version): Use PKGVERSION.
15889 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15890 REPORT_BUGS_TO.
15891 (common-ldd-rewrite): Likewise.
15892 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15893 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15894 (print_version): Use PKGVERSION.
15895 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15896 * elf/pldd.c (argp_program_bug_address): Remove variable.
15897 (more_help): New function.
15898 (argp): Use more_help.
15899 (print_version): Use PKGVERSION.
15900 * elf/sln.c (main): Use PKGVERSION.
15901 (usage): Use REPORT_BUGS_TO.
15902 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15903 (top level): Use PKGVERSION.
15904 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15905 (print_version): Use PKGVERSION.
15906 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15907 (print_version): Use PKGVERSION.
15908 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15909 (print_version): Use PKGVERSION.
15910 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15911 (print_version): Use PKGVERSION.
15912 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15913 (print_version): Use PKGVERSION.
15914 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15915 (print_version): Use PKGVERSION.
15916 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15917 and BUGURL.
15918 ($(objpfx)memusage): Likewise.
15919 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15920 (do_version): Use PKGVERSION.
15921 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15922 (print_version): Use PKGVERSION.
15923 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15924 ($PKGVERSION): New variable.
15925 ($REPORT_BUGS_TO): Likewise.
15926 (usage): Use $REPORT_BUGS_TO.
15927 (top level): Use $PKGVERSION.
15928 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15929 ($(objpfx)pkgvers.texi): New rule.
15930 ($(objpfx)stamp-pkgvers): Likewise.
15931 * manual/install.texi: Include pkgvers.texi.
15932 (--with-pkgversion): Document new configure option.
15933 (--with-bugurl): Likewise.
15934 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15935 than necessarily for this particular distribution. Use
15936 REPORT_BUGS_TO for where to report bugs.
15937 * INSTALL: Regenerated.
15938 * manual/libc.texinfo: Include pkgvers.texi.
15939 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15940 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15941 (print_version): Use PKGVERSION.
15942 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15943 (print_version): Use PKGVERSION.
15944 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15945 (print_version): Use PKGVERSION.
15946 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15947 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15948 macro.
15949 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15950 (print_version): Use PKGVERSION.
15951 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15952 (print_version): Use PKGVERSION.
15953 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15954 and PKGVERSION.
15955
92e4b6a9
JM
15956 * timezone/checktab.awk: Update from tzcode 2012i.
15957 * timezone/ialloc.c: Likewise.
15958 * timezone/private.h: Likewise.
15959 * timezone/scheck.c: Likewise.
15960 * timezone/tzfile.h: Likewise.
15961 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15962 (TZVERSION): Hardcode tzcode version number.
15963 * timezone/zdump.c: Update from tzcode 2012i.
15964 * timezone/zic.c: Likewise.
15965 * timezone/version.h: New file.
15966 * timezone/README: Describe version.h. Update upstream location.
15967
9bde902c
JM
15968 [BZ #14824]
15969 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15970 (mktemp): Enable declaration.
15971 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15972 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15973 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15974 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15975 Likewise.
15976 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15977 Likewise.
15978 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15979 Likewise.
15980 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15981 Likewise.
15982 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15983 Likewise.
15984 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15985 Likewise.
15986
fb1ae1ee
JM
15987 [BZ #14821]
15988 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15989 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15990 for copies of such integer values.
15991 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15992 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15993
2c1adbcb
AJ
159942012-11-09 Andreas Jaeger <aj@suse.de>
15995
15996 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15997 definitions and declarations that are provided by
15998 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15999
d0f8457e
AK
160002012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16001
3a235abb 16002 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
16003 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16004 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16005 definition.
16006
57241e26
MS
160072012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16008
16009 * elf/elf.h: Update comment before AArch64 relocations.
16010
60e8270d
DM
160112012-11-07 David S. Miller <davem@davemloft.net>
16012
16013 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16014 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16015 (__start_context): Declare.
16016 (__makecontext_ret): Delete.
16017 (__makecontext): Hook up __start_context instead of
16018 __makecontext_ret.
16019 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16020 (sysdep_routines): Add __start_context when in stdlib.
16021
0fbb0fbc
JM
160222012-11-07 Joseph Myers <joseph@codesourcery.com>
16023
16024 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16025 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16026 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16027 hardcoded "nm".
16028 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16029 (READELF): New variable. Use it instead of hardcoded "readelf".
16030
eb48db7e
L
160312012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16032
16033 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16034 * sysdeps/x86/Makefile: Here.
16035 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16036 * sysdeps/x86/tst-xmmymm.sh: This.
16037
05bcf62a
JM
160382012-11-07 Joseph Myers <joseph@codesourcery.com>
16039
c4b6cf53
JM
16040 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16041 expectations.
16042 [UNIX98] (pthread_barrier_t): Do not expect.
16043 [UNIX98] (pthread_barrierattr_t): Likewise.
16044 [UNIX98] (pthread_spinlock_t): Likewise.
16045 [UNIX98] (pthread_barrier_destroy): Likewise.
16046 [UNIX98] (pthread_barrier_init): Likewise.
16047 [UNIX98] (pthread_barrier_wait): Likewise.
16048 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16049 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16050 [UNIX98] (pthread_barrierattr_init): Likewise.
16051 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16052 [UNIX98] (pthread_getcpuclockid): Likewise.
16053 [UNIX98] (pthread_mutex_timedlock): Likewise.
16054 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16055 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16056 [UNIX98] (pthread_sigmask): Likewise.
16057 [UNIX98] (pthread_spin_destroy): Likewise.
16058 [UNIX98] (pthread_spin_init): Likewise.
16059 [UNIX98] (pthread_spin_lock): Likewise.
16060 [UNIX98] (pthread_spin_trylock): Likewise.
16061 [UNIX98] (pthread_spin_unlock): Likewise.
16062 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16063 Do not expect.
16064 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16065 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16066 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16067 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16068 [XPG3 || XPG4] (pthread_key_t): Likewise.
16069 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16070 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16071 [XPG3 || XPG4] (pthread_once_t): Likewise.
16072 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16073 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16074 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16075 [XPG3 || XPG4] (pthread_t): Likewise.
16076
cbe6e120
JM
16077 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16078 not expect.
16079 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16080
1b126443
JM
16081 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16082 Change function return type to int.
16083
b961a573
JM
16084 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16085 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16086 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16087 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16088 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16089 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16090 [!POSIX] (posix_madvise): Likewise.
16091 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16092 && !UNIX98].
16093 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16094 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16095 (mode_t): Likewise.
16096 (posix_mem_offset): Likewise.
16097 (posix_typed_mem_get_info): Likewise.
16098 (posix_typed_mem_open): Likewise.
16099
9e188909
JM
16100 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16101 Change condition to [XOPEN2K8].
16102
05bcf62a
JM
16103 * conform/conformtest.pl: Preprocess allow-header data with -x c
16104 instead of from stdin.
16105 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16106 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16107 [C99-based standards] (cerfc): Likewise.
16108 [C99-based standards] (cexp2): Likewise.
16109 [C99-based standards] (cexpm1): Likewise.
16110 [C99-based standards] (clog10): Likewise.
16111 [C99-based standards] (clog1p): Likewise.
16112 [C99-based standards] (clog2): Likewise.
16113 [C99-based standards] (clgamma): Likewise.
16114 [C99-based standards] (ctgamma): Likewise.
16115 [C99-based standards] (cerff): Likewise.
16116 [C99-based standards] (cerfcf): Likewise.
16117 [C99-based standards] (cexp2f): Likewise.
16118 [C99-based standards] (cexpm1f): Likewise.
16119 [C99-based standards] (clog10f): Likewise.
16120 [C99-based standards] (clog1pf): Likewise.
16121 [C99-based standards] (clog2f): Likewise.
16122 [C99-based standards] (clgammaf): Likewise.
16123 [C99-based standards] (ctgammaf): Likewise.
16124 [C99-based standards] (cerfl): Likewise.
16125 [C99-based standards] (cerfcl): Likewise.
16126 [C99-based standards] (cexp2l): Likewise.
16127 [C99-based standards] (cexpm1l): Likewise.
16128 [C99-based standards] (clog10l): Likewise.
16129 [C99-based standards] (clog1pl): Likewise.
16130 [C99-based standards] (clog2l): Likewise.
16131 [C99-based standards] (clgammal): Likewise.
16132 [C99-based standards] (ctgammal): Likewise.
16133 * conform/data/inttypes.h-data [C99-based standards]: Include
16134 stdint.h-data. Remove all expectations for stdint.h contents.
16135 [C99-based standards] (PRI*): Do not allow.
16136 [C99-based standards] (SCN*): Likewise.
16137 [C99-based standards] (*_t): Likewise.
16138 [C99-based-standards] (PRId8): Expect macro.
16139 [C99-based-standards] (PRIi8): Likewise.
16140 [C99-based-standards] (PRIo8): Likewise.
16141 [C99-based-standards] (PRIu8): Likewise.
16142 [C99-based-standards] (PRIx8): Likewise.
16143 [C99-based-standards] (PRIX8): Likewise.
16144 [C99-based-standards] (SCNd8): Likewise.
16145 [C99-based-standards] (SCNi8): Likewise.
16146 [C99-based-standards] (SCNo8): Likewise.
16147 [C99-based-standards] (SCNu8): Likewise.
16148 [C99-based-standards] (SCNx8): Likewise.
16149 [C99-based-standards] (PRIdLEAST8): Likewise.
16150 [C99-based-standards] (PRIiLEAST8): Likewise.
16151 [C99-based-standards] (PRIoLEAST8): Likewise.
16152 [C99-based-standards] (PRIuLEAST8): Likewise.
16153 [C99-based-standards] (PRIxLEAST8): Likewise.
16154 [C99-based-standards] (PRIXLEAST8): Likewise.
16155 [C99-based-standards] (SCNdLEAST8): Likewise.
16156 [C99-based-standards] (SCNiLEAST8): Likewise.
16157 [C99-based-standards] (SCNoLEAST8): Likewise.
16158 [C99-based-standards] (SCNuLEAST8): Likewise.
16159 [C99-based-standards] (SCNxLEAST8): Likewise.
16160 [C99-based-standards] (PRIdFAST8): Likewise.
16161 [C99-based-standards] (PRIiFAST8): Likewise.
16162 [C99-based-standards] (PRIoFAST8): Likewise.
16163 [C99-based-standards] (PRIuFAST8): Likewise.
16164 [C99-based-standards] (PRIxFAST8): Likewise.
16165 [C99-based-standards] (PRIXFAST8): Likewise.
16166 [C99-based-standards] (SCNdFAST8): Likewise.
16167 [C99-based-standards] (SCNiFAST8): Likewise.
16168 [C99-based-standards] (SCNoFAST8): Likewise.
16169 [C99-based-standards] (SCNuFAST8): Likewise.
16170 [C99-based-standards] (SCNxFAST8): Likewise.
16171 [C99-based-standards] (PRId16): Likewise.
16172 [C99-based-standards] (PRIi16): Likewise.
16173 [C99-based-standards] (PRIo16): Likewise.
16174 [C99-based-standards] (PRIu16): Likewise.
16175 [C99-based-standards] (PRIx16): Likewise.
16176 [C99-based-standards] (PRIX16): Likewise.
16177 [C99-based-standards] (SCNd16): Likewise.
16178 [C99-based-standards] (SCNi16): Likewise.
16179 [C99-based-standards] (SCNo16): Likewise.
16180 [C99-based-standards] (SCNu16): Likewise.
16181 [C99-based-standards] (SCNx16): Likewise.
16182 [C99-based-standards] (PRIdLEAST16): Likewise.
16183 [C99-based-standards] (PRIiLEAST16): Likewise.
16184 [C99-based-standards] (PRIoLEAST16): Likewise.
16185 [C99-based-standards] (PRIuLEAST16): Likewise.
16186 [C99-based-standards] (PRIxLEAST16): Likewise.
16187 [C99-based-standards] (PRIXLEAST16): Likewise.
16188 [C99-based-standards] (SCNdLEAST16): Likewise.
16189 [C99-based-standards] (SCNiLEAST16): Likewise.
16190 [C99-based-standards] (SCNoLEAST16): Likewise.
16191 [C99-based-standards] (SCNuLEAST16): Likewise.
16192 [C99-based-standards] (SCNxLEAST16): Likewise.
16193 [C99-based-standards] (PRIdFAST16): Likewise.
16194 [C99-based-standards] (PRIiFAST16): Likewise.
16195 [C99-based-standards] (PRIoFAST16): Likewise.
16196 [C99-based-standards] (PRIuFAST16): Likewise.
16197 [C99-based-standards] (PRIxFAST16): Likewise.
16198 [C99-based-standards] (PRIXFAST16): Likewise.
16199 [C99-based-standards] (SCNdFAST16): Likewise.
16200 [C99-based-standards] (SCNiFAST16): Likewise.
16201 [C99-based-standards] (SCNoFAST16): Likewise.
16202 [C99-based-standards] (SCNuFAST16): Likewise.
16203 [C99-based-standards] (SCNxFAST16): Likewise.
16204 [C99-based-standards] (PRId32): Likewise.
16205 [C99-based-standards] (PRIi32): Likewise.
16206 [C99-based-standards] (PRIo32): Likewise.
16207 [C99-based-standards] (PRIu32): Likewise.
16208 [C99-based-standards] (PRIx32): Likewise.
16209 [C99-based-standards] (PRIX32): Likewise.
16210 [C99-based-standards] (SCNd32): Likewise.
16211 [C99-based-standards] (SCNi32): Likewise.
16212 [C99-based-standards] (SCNo32): Likewise.
16213 [C99-based-standards] (SCNu32): Likewise.
16214 [C99-based-standards] (SCNx32): Likewise.
16215 [C99-based-standards] (PRIdLEAST32): Likewise.
16216 [C99-based-standards] (PRIiLEAST32): Likewise.
16217 [C99-based-standards] (PRIoLEAST32): Likewise.
16218 [C99-based-standards] (PRIuLEAST32): Likewise.
16219 [C99-based-standards] (PRIxLEAST32): Likewise.
16220 [C99-based-standards] (PRIXLEAST32): Likewise.
16221 [C99-based-standards] (SCNdLEAST32): Likewise.
16222 [C99-based-standards] (SCNiLEAST32): Likewise.
16223 [C99-based-standards] (SCNoLEAST32): Likewise.
16224 [C99-based-standards] (SCNuLEAST32): Likewise.
16225 [C99-based-standards] (SCNxLEAST32): Likewise.
16226 [C99-based-standards] (PRIdFAST32): Likewise.
16227 [C99-based-standards] (PRIiFAST32): Likewise.
16228 [C99-based-standards] (PRIoFAST32): Likewise.
16229 [C99-based-standards] (PRIuFAST32): Likewise.
16230 [C99-based-standards] (PRIxFAST32): Likewise.
16231 [C99-based-standards] (PRIXFAST32): Likewise.
16232 [C99-based-standards] (SCNdFAST32): Likewise.
16233 [C99-based-standards] (SCNiFAST32): Likewise.
16234 [C99-based-standards] (SCNoFAST32): Likewise.
16235 [C99-based-standards] (SCNuFAST32): Likewise.
16236 [C99-based-standards] (SCNxFAST32): Likewise.
16237 [C99-based-standards] (PRId64): Likewise.
16238 [C99-based-standards] (PRIi64): Likewise.
16239 [C99-based-standards] (PRIo64): Likewise.
16240 [C99-based-standards] (PRIu64): Likewise.
16241 [C99-based-standards] (PRIx64): Likewise.
16242 [C99-based-standards] (PRIX64): Likewise.
16243 [C99-based-standards] (SCNd64): Likewise.
16244 [C99-based-standards] (SCNi64): Likewise.
16245 [C99-based-standards] (SCNo64): Likewise.
16246 [C99-based-standards] (SCNu64): Likewise.
16247 [C99-based-standards] (SCNx64): Likewise.
16248 [C99-based-standards] (PRIdLEAST64): Likewise.
16249 [C99-based-standards] (PRIiLEAST64): Likewise.
16250 [C99-based-standards] (PRIoLEAST64): Likewise.
16251 [C99-based-standards] (PRIuLEAST64): Likewise.
16252 [C99-based-standards] (PRIxLEAST64): Likewise.
16253 [C99-based-standards] (PRIXLEAST64): Likewise.
16254 [C99-based-standards] (SCNdLEAST64): Likewise.
16255 [C99-based-standards] (SCNiLEAST64): Likewise.
16256 [C99-based-standards] (SCNoLEAST64): Likewise.
16257 [C99-based-standards] (SCNuLEAST64): Likewise.
16258 [C99-based-standards] (SCNxLEAST64): Likewise.
16259 [C99-based-standards] (PRIdFAST64): Likewise.
16260 [C99-based-standards] (PRIiFAST64): Likewise.
16261 [C99-based-standards] (PRIoFAST64): Likewise.
16262 [C99-based-standards] (PRIuFAST64): Likewise.
16263 [C99-based-standards] (PRIxFAST64): Likewise.
16264 [C99-based-standards] (PRIXFAST64): Likewise.
16265 [C99-based-standards] (SCNdFAST64): Likewise.
16266 [C99-based-standards] (SCNiFAST64): Likewise.
16267 [C99-based-standards] (SCNoFAST64): Likewise.
16268 [C99-based-standards] (SCNuFAST64): Likewise.
16269 [C99-based-standards] (SCNxFAST64): Likewise.
16270 [C99-based-standards] (PRIdMAX): Likewise.
16271 [C99-based-standards] (PRIiMAX): Likewise.
16272 [C99-based-standards] (PRIoMAX): Likewise.
16273 [C99-based-standards] (PRIuMAX): Likewise.
16274 [C99-based-standards] (PRIxMAX): Likewise.
16275 [C99-based-standards] (PRIXMAX): Likewise.
16276 [C99-based-standards] (SCNdMAX): Likewise.
16277 [C99-based-standards] (SCNiMAX): Likewise.
16278 [C99-based-standards] (SCNoMAX): Likewise.
16279 [C99-based-standards] (SCNuMAX): Likewise.
16280 [C99-based-standards] (SCNxMAX): Likewise.
16281 [C99-based-standards] (PRIdPTR): Likewise.
16282 [C99-based-standards] (PRIiPTR): Likewise.
16283 [C99-based-standards] (PRIoPTR): Likewise.
16284 [C99-based-standards] (PRIuPTR): Likewise.
16285 [C99-based-standards] (PRIxPTR): Likewise.
16286 [C99-based-standards] (PRIXPTR): Likewise.
16287 [C99-based-standards] (SCNdPTR): Likewise.
16288 [C99-based-standards] (SCNiPTR): Likewise.
16289 [C99-based-standards] (SCNoPTR): Likewise.
16290 [C99-based-standards] (SCNuPTR): Likewise.
16291 [C99-based-standards] (SCNxPTR): Likewise.
16292 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16293 allow.
16294 * conform/data/stdint.h-data: Update comments to clarify
16295 requirements.
16296 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16297 type.
16298 [C99-based standards] (INT8_MAX): Likewise.
16299 [C99-based standards] (INT16_MIN): Likewise.
16300 [C99-based standards] (INT16_MAX): Likewise.
16301 [C99-based standards] (INT32_MIN): Likewise.
16302 [C99-based standards] (INT32_MAX): Likewise.
16303 [C99-based standards] (INT64_MIN): Likewise.
16304 [C99-based standards] (INT64_MAX): Likewise.
16305 [C99-based standards] (UINT8_MAX): Likewise.
16306 [C99-based standards] (UINT16_MAX): Likewise.
16307 [C99-based standards] (UINT32_MAX): Likewise.
16308 [C99-based standards] (UINT64_MAX): Likewise.
16309 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16310 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16311 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16312 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16313 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16314 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16315 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16316 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16317 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16318 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16319 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16320 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16321 [C99-based standards] (INT_FAST8_MIN): Likewise.
16322 [C99-based standards] (INT_FAST8_MAX): Likewise.
16323 [C99-based standards] (INT_FAST16_MIN): Likewise.
16324 [C99-based standards] (INT_FAST16_MAX): Likewise.
16325 [C99-based standards] (INT_FAST32_MIN): Likewise.
16326 [C99-based standards] (INT_FAST32_MAX): Likewise.
16327 [C99-based standards] (INT_FAST64_MIN): Likewise.
16328 [C99-based standards] (INT_FAST64_MAX): Likewise.
16329 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16330 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16331 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16332 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16333 [C99-based standards] (INTPTR_MIN): Likewise.
16334 [C99-based standards] (INTPTR_MAX): Likewise.
16335 [C99-based standards] (UINTPTR_MAX): Likewise.
16336 [C99-based standards] (INTMAX_MIN): Likewise.
16337 [C99-based standards] (INTMAX_MAX): Likewise.
16338 [C99-based standards] (UINTMAX_MAX): Likewise.
16339 [C99-based standards] (PTRDIFF_MIN): Likewise.
16340 [C99-based standards] (PTRDIFF_MAX): Likewise.
16341 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16342 [C99-based standards] (SIZE_MAX): Likewise.
16343 [C99-based standards] (WCHAR_MAX): Likewise.
16344 [C99-based standards] (WINT_MAX): Likewise.
16345 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16346 constraint on value.
16347 [C99-based standards] (WCHAR_MIN): Likewise.
16348 [C99-based standards] (WINT_MIN): Likewise.
16349 [C99-based standards] (*_t): Allow.
16350 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16351 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16352 Include math.h-data and complex.h-data. Remove all expectations
16353 of math.h and complex.h contents.
16354 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16355 at end of line.
16356 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16357 (struct tm): Expect tag.
16358 [C99-based-standards] (wcstof): Expect function.
16359 [C99-based-standards] (wcstold): Likewise.
16360 [C99-based-standards] (wcstoll): Likewise.
16361 [C99-based-standards] (wcstoull): Likewise.
16362 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16363 macro-int-constant. Specify type.
16364 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16365 constraint on value.
16366 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16367 Specify type.
16368 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16369 Specify value.
16370 [ISO C standards]: Do not allow headers.
16371 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16372 wcs[abcdefghijklmnopqrstuvwxyz]*.
16373 [ISO C standards] (*_t): Do not allow.
16374 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16375 Expect function.
16376 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16377 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16378 Specify type.
16379 [ISO C standards]: Do not allow headers.
16380 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16381 is[abcdefghijklmnopqrstuvwxyz]*.
16382 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16383 to[abcdefghijklmnopqrstuvwxyz]*.
16384 [ISO C standards] (*_t): Do not allow.
16385 * conform/data/stdalign.h-data: New file.
16386 * conform/data/stdbool.h-data: Likewise.
16387 * conform/data/stdnoreturn.h-data: Likewise.
16388
7514feb8
RM
163892012-11-07 Roland McGrath <roland@hack.frob.com>
16390
16391 [BZ #14815]
16392 * manual/filesys.texi (Directory Entries): Typo fix.
16393 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16394
19b2ecfc
MS
163952012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16396
16397 * elf/elf.h (EM_AARCH64): New macro.
16398 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16399 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16400 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16401 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16402 (R_AARCH64_TLSDESC): Likewise.
16403 (NT_ARM_TLS): Likewise.
16404 (NT_ARM_HW_BREAK): Likewise.
16405 (NT_ARM_HW_WATCH): Likewise.
16406
60e235ee
JM
164072012-11-07 Joseph Myers <joseph@codesourcery.com>
16408
16409 [BZ #14811]
16410 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16411 (__ieee754_powl): Saturate nonzero exponents with absolute value
16412 below 0x1p-79 to +/- 0x1p-79.
16413 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16414 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16415 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16416 nonzero exponents with absolute value below 0x1p-32 to +/-
16417 0x1p-32.
16418 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16419 (__ieee754_powl): Saturate nonzero exponents with absolute value
16420 below 0x1p-79 to +/- 0x1p-79.
16421 * math/libm-test.inc (pow_test): Add more tests.
16422
0ab234b7
AK
164232012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16424
16425 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16426 _dl_s390_cap_flags with kernel. Increase string length.
16427 (_dl_s390_platforms): Add z196 and zEC12.
16428
45832f74
JM
164292012-11-07 Joseph Myers <joseph@codesourcery.com>
16430
16431 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16432 Change XOPEN21K to XOPEN2K.
16433
19218757
MK
164342012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16435
16436 * string/memmove.c: Use memcpy when possible.
16437
c5f45721
AJ
164382012-11-06 Andreas Jaeger <aj@suse.de>
16439
16440 * po/eo.po: Update from translation team.
16441
82477c28
JM
164422012-11-06 Joseph Myers <joseph@codesourcery.com>
16443
16444 [BZ #14793]
16445 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16446 exponent and small x and y exponents, scale x or y up. Increase
16447 by 2 the exponent used in scaling up.
16448 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16449 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16450 * math/libm-test.inc (fma_test): Add more tests.
16451 (fma_test_towardzero): Likewise.
16452 (fma_test_downward): Likewise.
16453 (fma_test_upward): Likewise.
16454
99252c8c
JM
164552012-11-05 Joseph Myers <joseph@codesourcery.com>
16456
acfa885f
JM
16457 [BZ #14805]
16458 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16459 fenv_t *.
16460
99252c8c
JM
16461 [BZ #14801]
16462 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16463 namespace for names of struct fields.
16464 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16465 fenv_t fields.
16466 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16467 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16468
d6d98dea
ST
164692012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16470
16471 [BZ #3665]
16472 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16473
e10bb107
TS
164742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16475
16476 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16477 PTR_DEMANGLE.
16478
16479 [BZ #5246]
16480 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16481 PTR_DEMANGLE.
16482
a0c2940d
JM
164832012-11-04 Joseph Myers <joseph@codesourcery.com>
16484
16485 [BZ #14797]
16486 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16487 definitely overflow as x * y not x * y + z.
16488 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16489 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16490 * math/libm-test.inc (fma_test): Add more tests.
16491 (fma_test_towardzero): Likewise.
16492 (fma_test_downward): Likewise.
16493 (fma_test_upward): Likewise.
16494
b830319d
TS
164952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16496
16497 [BZ #157]
16498
16499 * include/stub-tag.h: Remove file.
16500 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16501 '#include' of it.
16502 * manual/maint.texi (Porting): Don't reference it.
16503 * Makerules ($(objpfx)stubs): Likewise.
16504 * dirent/closedir.c: Don't include <stub-tag.h>.
16505 * dirent/dirfd.c: Likewise.
16506 * dirent/fdopendir.c: Likewise.
16507 * dirent/getdents.c: Likewise.
16508 * dirent/getdents64.c: Likewise.
16509 * dirent/opendir.c: Likewise.
16510 * dirent/readdir.c: Likewise.
16511 * dirent/readdir64.c: Likewise.
16512 * dirent/readdir64_r.c: Likewise.
16513 * dirent/readdir_r.c: Likewise.
16514 * dirent/rewinddir.c: Likewise.
16515 * dirent/seekdir.c: Likewise.
16516 * dirent/telldir.c: Likewise.
16517 * gmon/profil.c: Likewise.
16518 * grp/setgroups.c: Likewise.
16519 * inet/if_index.c: Likewise.
16520 * io/access.c: Likewise.
16521 * io/chdir.c: Likewise.
16522 * io/chmod.c: Likewise.
16523 * io/chown.c: Likewise.
16524 * io/close.c: Likewise.
16525 * io/dup.c: Likewise.
16526 * io/dup2.c: Likewise.
16527 * io/dup3.c: Likewise.
16528 * io/euidaccess.c: Likewise.
16529 * io/faccessat.c: Likewise.
16530 * io/fchdir.c: Likewise.
16531 * io/fchmod.c: Likewise.
16532 * io/fchmodat.c: Likewise.
16533 * io/fchown.c: Likewise.
16534 * io/fchownat.c: Likewise.
16535 * io/fcntl.c: Likewise.
16536 * io/flock.c: Likewise.
16537 * io/fstatfs.c: Likewise.
16538 * io/fstatfs64.c: Likewise.
16539 * io/fstatvfs.c: Likewise.
16540 * io/fstatvfs64.c: Likewise.
16541 * io/futimens.c: Likewise.
16542 * io/fxstat.c: Likewise.
16543 * io/fxstat64.c: Likewise.
16544 * io/fxstatat.c: Likewise.
16545 * io/fxstatat64.c: Likewise.
16546 * io/getcwd.c: Likewise.
16547 * io/isatty.c: Likewise.
16548 * io/lchmod.c: Likewise.
16549 * io/lchown.c: Likewise.
16550 * io/link.c: Likewise.
16551 * io/linkat.c: Likewise.
16552 * io/lseek.c: Likewise.
16553 * io/lseek64.c: Likewise.
16554 * io/lxstat64.c: Likewise.
16555 * io/mkdir.c: Likewise.
16556 * io/mkdirat.c: Likewise.
16557 * io/mkfifo.c: Likewise.
16558 * io/mkfifoat.c: Likewise.
16559 * io/open.c: Likewise.
16560 * io/open64.c: Likewise.
16561 * io/openat.c: Likewise.
16562 * io/openat64.c: Likewise.
16563 * io/pipe.c: Likewise.
16564 * io/pipe2.c: Likewise.
16565 * io/poll.c: Likewise.
16566 * io/posix_fadvise.c: Likewise.
16567 * io/posix_fadvise64.c: Likewise.
16568 * io/posix_fallocate.c: Likewise.
16569 * io/posix_fallocate64.c: Likewise.
16570 * io/read.c: Likewise.
16571 * io/readlink.c: Likewise.
16572 * io/readlinkat.c: Likewise.
16573 * io/rmdir.c: Likewise.
16574 * io/sendfile.c: Likewise.
16575 * io/sendfile64.c: Likewise.
16576 * io/statfs.c: Likewise.
16577 * io/statfs64.c: Likewise.
16578 * io/statvfs.c: Likewise.
16579 * io/statvfs64.c: Likewise.
16580 * io/symlink.c: Likewise.
16581 * io/symlinkat.c: Likewise.
16582 * io/ttyname.c: Likewise.
16583 * io/ttyname_r.c: Likewise.
16584 * io/umask.c: Likewise.
16585 * io/unlink.c: Likewise.
16586 * io/unlinkat.c: Likewise.
16587 * io/utime.c: Likewise.
16588 * io/utimensat.c: Likewise.
16589 * io/write.c: Likewise.
16590 * io/xmknod.c: Likewise.
16591 * io/xmknodat.c: Likewise.
16592 * io/xstat.c: Likewise.
16593 * io/xstat64.c: Likewise.
16594 * login/getpt.c: Likewise.
16595 * login/grantpt.c: Likewise.
16596 * login/unlockpt.c: Likewise.
16597 * math/e_acoshl.c: Likewise.
16598 * math/e_acosl.c: Likewise.
16599 * math/e_asinl.c: Likewise.
16600 * math/e_atan2l.c: Likewise.
16601 * math/e_atanhl.c: Likewise.
16602 * math/e_coshl.c: Likewise.
16603 * math/e_expl.c: Likewise.
16604 * math/e_fmodl.c: Likewise.
16605 * math/e_gammal_r.c: Likewise.
16606 * math/e_hypotl.c: Likewise.
16607 * math/e_j0l.c: Likewise.
16608 * math/e_j1l.c: Likewise.
16609 * math/e_jnl.c: Likewise.
16610 * math/e_lgammal_r.c: Likewise.
16611 * math/e_log10l.c: Likewise.
16612 * math/e_log2l.c: Likewise.
16613 * math/e_logl.c: Likewise.
16614 * math/e_powl.c: Likewise.
16615 * math/e_rem_pio2l.c: Likewise.
16616 * math/e_sinhl.c: Likewise.
16617 * math/e_sqrtl.c: Likewise.
16618 * math/fclrexcpt.c: Likewise.
16619 * math/fedisblxcpt.c: Likewise.
16620 * math/feenablxcpt.c: Likewise.
16621 * math/fegetenv.c: Likewise.
16622 * math/fegetexcept.c: Likewise.
16623 * math/fegetround.c: Likewise.
16624 * math/feholdexcpt.c: Likewise.
16625 * math/fesetenv.c: Likewise.
16626 * math/fesetround.c: Likewise.
16627 * math/feupdateenv.c: Likewise.
16628 * math/fgetexcptflg.c: Likewise.
16629 * math/fraiseexcpt.c: Likewise.
16630 * math/fsetexcptflg.c: Likewise.
16631 * math/ftestexcept.c: Likewise.
16632 * math/k_cosl.c: Likewise.
16633 * math/k_rem_pio2l.c: Likewise.
16634 * math/k_sinl.c: Likewise.
16635 * math/k_tanl.c: Likewise.
16636 * math/s_asinhl.c: Likewise.
16637 * math/s_atanl.c: Likewise.
16638 * math/s_cbrtl.c: Likewise.
16639 * math/s_erfl.c: Likewise.
16640 * math/s_expm1l.c: Likewise.
16641 * math/s_log1pl.c: Likewise.
16642 * math/s_tanhl.c: Likewise.
16643 * misc/acct.c: Likewise.
16644 * misc/brk.c: Likewise.
16645 * misc/chflags.c: Likewise.
16646 * misc/chroot.c: Likewise.
16647 * misc/fchflags.c: Likewise.
16648 * misc/fgetxattr.c: Likewise.
16649 * misc/flistxattr.c: Likewise.
16650 * misc/fremovexattr.c: Likewise.
16651 * misc/fsetxattr.c: Likewise.
16652 * misc/fsync.c: Likewise.
16653 * misc/ftruncate.c: Likewise.
16654 * misc/futimes.c: Likewise.
16655 * misc/futimesat.c: Likewise.
16656 * misc/getdomain.c: Likewise.
16657 * misc/getdtsz.c: Likewise.
16658 * misc/gethostid.c: Likewise.
16659 * misc/gethostname.c: Likewise.
16660 * misc/getloadavg.c: Likewise.
16661 * misc/getpagesize.c: Likewise.
16662 * misc/getsysstats.c: Likewise.
16663 * misc/getxattr.c: Likewise.
16664 * misc/gtty.c: Likewise.
16665 * misc/ioctl.c: Likewise.
16666 * misc/lgetxattr.c: Likewise.
16667 * misc/listxattr.c: Likewise.
16668 * misc/llistxattr.c: Likewise.
16669 * misc/lremovexattr.c: Likewise.
16670 * misc/lsetxattr.c: Likewise.
16671 * misc/lutimes.c: Likewise.
16672 * misc/madvise.c: Likewise.
16673 * misc/mincore.c: Likewise.
16674 * misc/mlock.c: Likewise.
16675 * misc/mlockall.c: Likewise.
16676 * misc/mmap.c: Likewise.
16677 * misc/mprotect.c: Likewise.
16678 * misc/msync.c: Likewise.
16679 * misc/munlock.c: Likewise.
16680 * misc/munlockall.c: Likewise.
16681 * misc/munmap.c: Likewise.
16682 * misc/preadv.c: Likewise.
16683 * misc/preadv64.c: Likewise.
16684 * misc/ptrace.c: Likewise.
16685 * misc/pwritev.c: Likewise.
16686 * misc/pwritev64.c: Likewise.
16687 * misc/readv.c: Likewise.
16688 * misc/reboot.c: Likewise.
16689 * misc/remap_file_pages.c: Likewise.
16690 * misc/removexattr.c: Likewise.
16691 * misc/revoke.c: Likewise.
16692 * misc/select.c: Likewise.
16693 * misc/setdomain.c: Likewise.
16694 * misc/setegid.c: Likewise.
16695 * misc/seteuid.c: Likewise.
16696 * misc/sethostid.c: Likewise.
16697 * misc/sethostname.c: Likewise.
16698 * misc/setregid.c: Likewise.
16699 * misc/setreuid.c: Likewise.
16700 * misc/setxattr.c: Likewise.
16701 * misc/sstk.c: Likewise.
16702 * misc/stty.c: Likewise.
16703 * misc/swapoff.c: Likewise.
16704 * misc/swapon.c: Likewise.
16705 * misc/sync.c: Likewise.
16706 * misc/syncfs.c: Likewise.
16707 * misc/syscall.c: Likewise.
16708 * misc/truncate.c: Likewise.
16709 * misc/ualarm.c: Likewise.
16710 * misc/usleep.c: Likewise.
16711 * misc/ustat.c: Likewise.
16712 * misc/utimes.c: Likewise.
16713 * misc/vhangup.c: Likewise.
16714 * misc/writev.c: Likewise.
16715 * posix/_exit.c: Likewise.
16716 * posix/alarm.c: Likewise.
16717 * posix/execve.c: Likewise.
16718 * posix/fexecve.c: Likewise.
16719 * posix/fork.c: Likewise.
16720 * posix/fpathconf.c: Likewise.
16721 * posix/getaddrinfo.c: Likewise.
16722 * posix/getegid.c: Likewise.
16723 * posix/geteuid.c: Likewise.
16724 * posix/getgid.c: Likewise.
16725 * posix/getgroups.c: Likewise.
16726 * posix/getlogin.c: Likewise.
16727 * posix/getlogin_r.c: Likewise.
16728 * posix/getpgid.c: Likewise.
16729 * posix/getpid.c: Likewise.
16730 * posix/getppid.c: Likewise.
16731 * posix/getresgid.c: Likewise.
16732 * posix/getresuid.c: Likewise.
16733 * posix/getsid.c: Likewise.
16734 * posix/getuid.c: Likewise.
16735 * posix/glob64.c: Likewise.
16736 * posix/nanosleep.c: Likewise.
16737 * posix/pathconf.c: Likewise.
16738 * posix/pause.c: Likewise.
16739 * posix/posix_madvise.c: Likewise.
16740 * posix/pread.c: Likewise.
16741 * posix/pread64.c: Likewise.
16742 * posix/pwrite.c: Likewise.
16743 * posix/pwrite64.c: Likewise.
16744 * posix/sched_getaffinity.c: Likewise.
16745 * posix/sched_getp.c: Likewise.
16746 * posix/sched_gets.c: Likewise.
16747 * posix/sched_primax.c: Likewise.
16748 * posix/sched_primin.c: Likewise.
16749 * posix/sched_rr_gi.c: Likewise.
16750 * posix/sched_setaffinity.c: Likewise.
16751 * posix/sched_setp.c: Likewise.
16752 * posix/sched_sets.c: Likewise.
16753 * posix/sched_yield.c: Likewise.
16754 * posix/setgid.c: Likewise.
16755 * posix/setlogin.c: Likewise.
16756 * posix/setpgid.c: Likewise.
16757 * posix/setresgid.c: Likewise.
16758 * posix/setresuid.c: Likewise.
16759 * posix/setsid.c: Likewise.
16760 * posix/setuid.c: Likewise.
16761 * posix/sleep.c: Likewise.
16762 * posix/spawni.c: Likewise.
16763 * posix/sysconf.c: Likewise.
16764 * posix/times.c: Likewise.
16765 * posix/wait.c: Likewise.
16766 * posix/wait3.c: Likewise.
16767 * posix/wait4.c: Likewise.
16768 * posix/waitpid.c: Likewise.
16769 * resolv/gai_sigqueue.c: Likewise.
16770 * resource/getpriority.c: Likewise.
16771 * resource/getrlimit.c: Likewise.
16772 * resource/getrusage.c: Likewise.
16773 * resource/nice.c: Likewise.
16774 * resource/setpriority.c: Likewise.
16775 * resource/setrlimit.c: Likewise.
16776 * resource/ulimit.c: Likewise.
16777 * rt/aio_cancel.c: Likewise.
16778 * rt/aio_fsync.c: Likewise.
16779 * rt/aio_read.c: Likewise.
16780 * rt/aio_sigqueue.c: Likewise.
16781 * rt/aio_suspend.c: Likewise.
16782 * rt/aio_write.c: Likewise.
16783 * rt/clock_getres.c: Likewise.
16784 * rt/clock_gettime.c: Likewise.
16785 * rt/clock_nanosleep.c: Likewise.
16786 * rt/clock_settime.c: Likewise.
16787 * rt/lio_listio.c: Likewise.
16788 * rt/mq_close.c: Likewise.
16789 * rt/mq_getattr.c: Likewise.
16790 * rt/mq_notify.c: Likewise.
16791 * rt/mq_open.c: Likewise.
16792 * rt/mq_receive.c: Likewise.
16793 * rt/mq_send.c: Likewise.
16794 * rt/mq_setattr.c: Likewise.
16795 * rt/mq_timedreceive.c: Likewise.
16796 * rt/mq_timedsend.c: Likewise.
16797 * rt/mq_unlink.c: Likewise.
16798 * rt/shm_open.c: Likewise.
16799 * rt/shm_unlink.c: Likewise.
16800 * rt/timer_create.c: Likewise.
16801 * rt/timer_delete.c: Likewise.
16802 * rt/timer_getoverr.c: Likewise.
16803 * rt/timer_gettime.c: Likewise.
16804 * rt/timer_settime.c: Likewise.
16805 * setjmp/__longjmp.c: Likewise.
16806 * setjmp/setjmp.c: Likewise.
16807 * signal/kill.c: Likewise.
16808 * signal/killpg.c: Likewise.
16809 * signal/raise.c: Likewise.
16810 * signal/sigaction.c: Likewise.
16811 * signal/sigaltstack.c: Likewise.
16812 * signal/sigblock.c: Likewise.
16813 * signal/sigignore.c: Likewise.
16814 * signal/sigintr.c: Likewise.
16815 * signal/signal.c: Likewise.
16816 * signal/sigpause.c: Likewise.
16817 * signal/sigpending.c: Likewise.
16818 * signal/sigqueue.c: Likewise.
16819 * signal/sigreturn.c: Likewise.
16820 * signal/sigset.c: Likewise.
16821 * signal/sigsetmask.c: Likewise.
16822 * signal/sigstack.c: Likewise.
16823 * signal/sigsuspend.c: Likewise.
16824 * signal/sigtimedwait.c: Likewise.
16825 * signal/sigvec.c: Likewise.
16826 * signal/sigwait.c: Likewise.
16827 * signal/sigwaitinfo.c: Likewise.
16828 * signal/sysv_signal.c: Likewise.
16829 * socket/accept.c: Likewise.
16830 * socket/accept4.c: Likewise.
16831 * socket/bind.c: Likewise.
16832 * socket/connect.c: Likewise.
16833 * socket/getpeername.c: Likewise.
16834 * socket/getsockname.c: Likewise.
16835 * socket/getsockopt.c: Likewise.
16836 * socket/isfdtype.c: Likewise.
16837 * socket/listen.c: Likewise.
16838 * socket/recv.c: Likewise.
16839 * socket/recvfrom.c: Likewise.
16840 * socket/recvmsg.c: Likewise.
16841 * socket/send.c: Likewise.
16842 * socket/sendmsg.c: Likewise.
16843 * socket/sendto.c: Likewise.
16844 * socket/setsockopt.c: Likewise.
16845 * socket/shutdown.c: Likewise.
16846 * socket/sockatmark.c: Likewise.
16847 * socket/socket.c: Likewise.
16848 * socket/socketpair.c: Likewise.
16849 * stdio-common/ctermid.c: Likewise.
16850 * stdio-common/cuserid.c: Likewise.
16851 * stdio-common/remove.c: Likewise.
16852 * stdio-common/rename.c: Likewise.
16853 * stdio-common/renameat.c: Likewise.
16854 * stdio-common/tempname.c: Likewise.
16855 * stdlib/getcontext.c: Likewise.
16856 * stdlib/makecontext.c: Likewise.
16857 * stdlib/setcontext.c: Likewise.
16858 * stdlib/swapcontext.c: Likewise.
16859 * stdlib/system.c: Likewise.
16860 * streams/fattach.c: Likewise.
16861 * streams/fdetach.c: Likewise.
16862 * streams/getmsg.c: Likewise.
16863 * streams/getpmsg.c: Likewise.
16864 * streams/putmsg.c: Likewise.
16865 * streams/putpmsg.c: Likewise.
16866 * sysdeps/unix/bsd/getpt.c: Likewise.
16867 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16868 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16869 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16871 Likewise.
16872 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16873 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16874 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16875 * sysvipc/msgctl.c: Likewise.
16876 * sysvipc/msgget.c: Likewise.
16877 * sysvipc/msgrcv.c: Likewise.
16878 * sysvipc/msgsnd.c: Likewise.
16879 * sysvipc/semctl.c: Likewise.
16880 * sysvipc/semget.c: Likewise.
16881 * sysvipc/semop.c: Likewise.
16882 * sysvipc/semtimedop.c: Likewise.
16883 * sysvipc/shmat.c: Likewise.
16884 * sysvipc/shmctl.c: Likewise.
16885 * sysvipc/shmdt.c: Likewise.
16886 * sysvipc/shmget.c: Likewise.
16887 * termios/tcdrain.c: Likewise.
16888 * termios/tcflow.c: Likewise.
16889 * termios/tcflush.c: Likewise.
16890 * termios/tcgetattr.c: Likewise.
16891 * termios/tcgetpgrp.c: Likewise.
16892 * termios/tcsendbrk.c: Likewise.
16893 * termios/tcsetattr.c: Likewise.
16894 * termios/tcsetpgrp.c: Likewise.
16895 * time/adjtime.c: Likewise.
16896 * time/clock.c: Likewise.
16897 * time/getitimer.c: Likewise.
16898 * time/gettimeofday.c: Likewise.
16899 * time/setitimer.c: Likewise.
16900 * time/settimeofday.c: Likewise.
16901 * time/stime.c: Likewise.
16902 * time/time.c: Likewise.
16903
169042012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16905
a20492cf
PT
16906 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16907 /usr/old/bin.
16908
72e182e3
PT
16909 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16910 instead of spaces.
16911 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16912
fbeafede
JM
169132012-11-03 Joseph Myers <joseph@codesourcery.com>
16914
5b5b04d6
JM
16915 [BZ #14796]
16916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16917 FE_TONEAREST before applying Dekker multiplication and Knuth
16918 addition. Clear inexact exceptions and check for exact zero
16919 results afterwards.
16920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16921 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16922 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16923 * math/libm-test.inc (fma_test): Add more tests.
16924 (fma_test_towardzero): Likewise.
16925 (fma_test_downward): Likewise.
16926 (fma_test_upward): Likewise.
16927 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16928 function.
16929 (libc_fesetround): New macro.
16930 (libc_fesetroundf): Likewise.
16931 (libc_fesetroundl): Likewise.
16932 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16933 function.
16934 (libc_fesetround_387): Likewise.
16935 (libc_fesetroundf): New macro.
16936 (libc_fesetround): Likewise.
16937 (libc_fesetroundl): Likewise.
16938 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16939 function.
16940 (libc_fesetroundf): New macro.
16941 (libc_fesetround): Likewise.
16942 (libc_fesetroundl): Likewise.
16943 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16944 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16945 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16946 libm_hidden_ver.
16947 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16948 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16949 libm_hidden_def.
16950 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16951 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16952 libm_hidden_ver.
16953 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16954 libm_hidden_def.
16955
fbeafede
JM
16956 [BZ #3439]
16957 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16958 integer constant usable in #if and use that to give value to enum
16959 constant.
16960 (FE_DIVBYZERO): Likewise.
16961 (FE_UNDERFLOW): Likewise.
16962 (FE_OVERFLOW): Likewise.
16963 (FE_INVALID): Likewise.
16964 (FE_INVALID_SNAN): Likewise.
16965 (FE_INVALID_ISI): Likewise.
16966 (FE_INVALID_IDI): Likewise.
16967 (FE_INVALID_ZDZ): Likewise.
16968 (FE_INVALID_IMZ): Likewise.
16969 (FE_INVALID_COMPARE): Likewise.
16970 (FE_INVALID_SOFTWARE): Likewise.
16971 (FE_INVALID_SQRT): Likewise.
16972 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16973 (FE_TONEAREST): Likewise.
16974 (FE_TOWARDZERO): Likewise.
16975 (FE_UPWARD): Likewise.
16976 (FE_DOWNWARD): Likewise.
16977 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16978 (FE_DIVBYZERO): Likewise.
16979 (FE_OVERFLOW): Likewise.
16980 (FE_UNDERFLOW): Likewise.
16981 (FE_INEXACT): Likewise.
16982 (FE_TONEAREST): Likewise.
16983 (FE_DOWNWARD): Likewise.
16984 (FE_UPWARD): Likewise.
16985 (FE_TOWARDZERO): Likewise.
16986 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16987 (FE_UNDERFLOW): Likewise.
16988 (FE_OVERFLOW): Likewise.
16989 (FE_DIVBYZERO): Likewise.
16990 (FE_INVALID): Likewise.
16991 (FE_TONEAREST): Likewise.
16992 (FE_TOWARDZERO): Likewise.
16993 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16994 (FE_OVERFLOW): Likewise.
16995 (FE_UNDERFLOW): Likewise.
16996 (FE_DIVBYZERO): Likewise.
16997 (FE_INEXACT): Likewise.
16998 (FE_TONEAREST): Likewise.
16999 (FE_TOWARDZERO): Likewise.
17000 (FE_UPWARD): Likewise.
17001 (FE_DOWNWARD): Likewise.
17002 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17003 (FE_DIVBYZERO): Likewise.
17004 (FE_OVERFLOW): Likewise.
17005 (FE_UNDERFLOW): Likewise.
17006 (FE_INEXACT): Likewise.
17007 (FE_TONEAREST): Likewise.
17008 (FE_DOWNWARD): Likewise.
17009 (FE_UPWARD): Likewise.
17010 (FE_TOWARDZERO): Likewise.
17011
105ca950
CM
170122012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17013
17014 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17015
a542b389
AS
170162012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17017
17018 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17019 commands. Quote $PWD.
17020 (blacklist_exports): Don't use remove_newlines. Replace "declare
17021 -x" by "export".
17022 (remove_newlines): Remove.
17023
f62c8abc
L
170242012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17025
17026 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17027 * stdlib/stdlib.h (atof): Moved to ...
17028 * include/bits/stdlib-float.h: Here. New file.
17029 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17030 * stdlib/bits/stdlib-float.h: New file.
17031 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17032 -mno-sse -mno-mmx.
17033 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17034 <xmmintrin.h>.
17035
0155d5b2
JM
170362012-11-02 Joseph Myers <joseph@codesourcery.com>
17037
a68d0680
JM
17038 * conform/conformtest.pl (@headers): Add fenv.h.
17039 * conform/data/fenv.h-data: New file.
17040 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17041 include of <math/fenv.h>.
17042
caf7f573
JM
17043 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17044 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17045 && !UNIX98]. Enables tests for XOPEN2K8.
17046 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17047 POSIX2008]: Likewise.
17048
6c073ad6
JM
17049 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17050 (struct rusage): Do not expect type or its members.
17051
0155d5b2
JM
17052 [BZ #3439]
17053 * math/math.h (FP_NAN): Define macro to integer constant usable in
17054 #if and use that to give value to enum constant.
17055 (FP_INFINITE): Likewise.
17056 (FP_ZERO): Likewise.
17057 (FP_SUBNORMAL): Likewise.
17058 (FP_NORMAL): Likewise.
17059
b5dcacb4
AS
170602012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17061
17062 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17063 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17064 arguments.
17065
f7934be8
RM
170662012-11-02 Roland McGrath <roland@hack.frob.com>
17067
17068 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17069 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17070 autoconf-time if not.
17071 * configure.in: Remove AC_PREREQ.
17072
d7d08bde
TMQMF
170732012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17074
17075 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17076 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17077 of the internal implementation.
17078
dcdae19a
JM
170792012-11-02 Joseph Myers <joseph@codesourcery.com>
17080
17081 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17082 except include of <misc/sys/syslog.h>.
17083
d6cffd3e
AS
170842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17085
17086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17087 function returns with a NULL context exit with zero.
17088
b3563932
TMQMF
170892012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17090
17091 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17092
b288a93d
L
170932012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17094
17095 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17096 (run_program_cmd): This.
17097 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17098 (tst_langinfo): New variable. Use it.
17099
a2421a68
SAS
171002012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17101
17102 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17103 floating point opcodes.
17104
6f796e1b
TS
171052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17106
7402596b
TS
17107 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17108 variable.
17109
d0d4f868
TS
17110 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17111
6f796e1b
TS
17112 * sysdeps/mach/hurd/powerpc: Remove directory.
17113 * sysdeps/mach/powerpc: Likewise.
17114
4da224a2
AS
171152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17116
17117 * scripts/check-local-headers.sh: Ignore c++ headers.
17118
341dd673
TS
171192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17120
17121 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17122 __libc_cleanup_region_start argument.
17123
473611b2
JM
171242012-11-01 Joseph Myers <joseph@codesourcery.com>
17125
17126 [BZ #14784]
17127 [BZ #14785]
17128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17129 x * y using scaling, not as x * y + z.
17130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17131 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17132 * math/libm-test.inc (fma_test): Add more tests.
17133 (fma_test_towardzero): Likewise.
17134 (fma_test_downward): Likewise.
17135 (fma_test_upward): Likewise.
17136
4078da3d
TS
171372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17138
17139 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17140
903252aa
JM
171412012-10-31 Joseph Myers <joseph@codesourcery.com>
17142
17143 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17144 New variable.
17145
cbc818d0
TS
171462012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17147
17148 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17149
5a03cb1e
AS
171502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17151
17152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17153 Fix sort order.
17154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17155 Likewise.
17156
90aff2ff
TMQMF
171572012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17158
17159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17160 Fix the order of the list for glibc 2.17.
17161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17162 Likewise.
17163
1818fcb7
AS
171642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17165
17166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17167
ef82f4da
JM
171682012-10-31 Joseph Myers <joseph@codesourcery.com>
17169
16a0e2ec
JM
17170 [BZ #14610]
17171 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17172 for low part of x being zero before using __atanl (y).
17173 * math/libm-test.inc (atan2_test): Add another test.
17174
0eb69512
JM
17175 * manual/install.texi (Configuring and compiling): Document
17176 general use of test-wrapper and test-wrapper-env.
17177 * INSTALL: Regenerated.
17178
ef82f4da
JM
17179 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17180 (__fma): Do not extract and scale down low bits on after-rounding
17181 systems when result rounded to normal precision would have normal
17182 exponent.
17183 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17184 (__fmal): Do not extract and scale down low bits on after-rounding
17185 systems when result rounded to normal precision would have normal
17186 exponent.
17187 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17188 (__fmal): Do not extract and scale down low bits on after-rounding
17189 systems when result rounded to normal precision would have normal
17190 exponent.
17191 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17192 macro.
17193 (fma_test): Add more tests.
17194 (fma_test_towardzero): Likewise.
17195 (fma_test_downward): Likewise.
17196 (fma_test_upward): Likewise.
17197
954ef0d9
L
171982012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17199
17200 * sysdeps/i386/tininess.h: Renamed to ...
17201 * sysdeps/x86/tininess.h: This.
17202 * sysdeps/x86_64/tininess.h: Removed.
17203
df61ffb2
JM
172042012-10-30 Joseph Myers <joseph@codesourcery.com>
17205
17206 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17207 input. Use $(build-program-cmd).
17208 ($(objpfx)tst-array1-static.out): Likewise.
17209 ($(objpfx)tst-array2.out): Likewise.
17210 ($(objpfx)tst-array3.out): Likewise.
17211 ($(objpfx)tst-array4.out): Likewise.
17212 ($(objpfx)tst-array5.out): Likewise.
17213 ($(objpfx)tst-array5-static.out): Likewise.
17214
01767843
CM
172152012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17216
47cc1490
CM
17217 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17218 if defined.
17219
01767843
CM
17220 * nss/nsswitch.h (nss_interface_function): Provide new
17221 macro for use with NSS functions.
17222 * grp/initgroups.c: Use new macro.
17223 * nss/getXXbyYY.c: Likewise.
17224 * nss/getXXbyYY_r.c: Likewise.
17225 * nss/getXXent.c: Likewise.
17226 * nss/getXXent_r.c: Likewise.
17227 * sysdeps/posix/getaddrinfo.c: Likewise.
17228
8321aa97
AJ
172292012-10-30 Andreas Jaeger <aj@suse.de>
17230
17231 * po/ru.po: Update Russion translation from translation project.
17232
2a27fd6d
JM
172332012-10-30 Joseph Myers <joseph@codesourcery.com>
17234
8627a232
JM
17235 [BZ #14152]
17236 [BZ #14783]
17237 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17238 result and shift together with sticky bit instead of replicating
17239 round-to-nearest rounding.
17240 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17242 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17243 missing underflow exceptions.
17244 (fma_test_towardzero): Add more tests.
17245 (fma_test_downward): Likewise.
17246 (fma_test_upward): Likewise.
17247
2a27fd6d
JM
17248 [BZ #14047]
17249 * sysdeps/generic/tininess.h: New file.
17250 * sysdeps/i386/tininess.h: Likewise.
17251 * sysdeps/sh/tininess.h: Likewise.
17252 * sysdeps/x86_64/tininess.h: Likewise.
17253 * stdlib/tst-strtod-underflow.c: Likewise.
17254 * stdlib/tst-tininess.c: Likewise.
17255 * stdlib/strtod_l.c: Include <tininess.h>.
17256 (round_and_return): Do not set errno for exact underflow cases.
17257 Force an underflow exception when setting errno for underflow.
17258 Determine underflow based on rounding to normal precision if
17259 TININESS_AFTER_ROUNDING.
17260 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17261 ERANGE for exact underflow cases.
17262 * stdlib/Makefile (tests): Add tst-tininess and
17263 tst-strtod-underflow.
17264 ($(objpfx)tst-tininess): Use $(link-libm).
17265 ($(objpfx)tst-strtod-underflow): Likewise.
17266
e7170363
AJ
172672012-10-30 Andreas Jaeger <aj@suse.de>
17268
e5088dc6
AJ
17269 [BZ#14767]
17270 * elf/Makefile (tests): Remove conditional for have-initfini-array
17271 since this is now always required and the variable does not exist
17272 anymore.
17273 (tests-static): Likewise.
17274 (modules-names): Likewise.
17275
e7170363 17276 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17277
17278 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17279 merged with constructor/destructor.
17280 (init_array): Likewise.
17281 * elf/tst-array2dep.c (fini_array): Likewise.
17282 (init_array): Likewise.
17283
60457d8a
MF
172842012-10-29 Mike Frysinger <vapier@gentoo.org>
17285
17286 * manual/message.texi: Delete @cartouche tags.
17287
8bece752
PT
172882012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17289
94ce799f
PT
17290 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17291 EOPNOTSUPP.
17292 * sysdeps/mach/hurd/fsync.c: Likewise.
17293
8bece752
PT
17294 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17295 [_POSIX_REALTIME_SIGNALS]: Change condition to
17296 [_POSIX_REALTIME_SIGNALS > 0].
17297
86ebe6b1
AJ
172982012-10-27 Andreas Jaeger <aj@suse.de>
17299
17300 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17301 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17303 [__WORDSIZE != 64]: Likewise.
17304
54399c08
L
173052012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17306
17307 * iconvdata/tst-table.sh: Remove ${SHELL}.
17308 * iconvdata/tst-tables.sh: Likewise.
17309
e2211bed
DM
173102012-10-25 David S. Miller <davem@davemloft.net>
17311
17312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17313 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17314 of strtoull.
17315
f303f97c
DM
17316 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17317 ifunc-impl-list.c
17318 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17319 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17320 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17321 file.
17322
1e9d84cd
RM
173232012-10-25 Roland McGrath <roland@hack.frob.com>
17324
17325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17326 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17327 __getdirentries.
17328
df381762
JM
173292012-10-25 Joseph Myers <joseph@codesourcery.com>
17330 Jim Blandy <jimb@codesourcery.com>
17331
17332 * scripts/cross-test-ssh.sh: New file.
17333 * manual/install.texi (Configuring and compiling): Document use of
17334 cross-test-ssh.sh.
17335 * INSTALL: Regenerated.
17336
bff64913
PT
173372012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17338
17339 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17340 EOPNOTSUPP.
17341
25fe8932
JM
173422012-10-25 Joseph Myers <joseph@codesourcery.com>
17343
17344 * Makeconfig (run-program-prefix): Fix comment.
17345
cc1290d0
JM
173462012-10-24 Joseph Myers <joseph@codesourcery.com>
17347 Jim Blandy <jimb@codesourcery.com>
17348
17349 * Makeconfig (test-wrapper): New variable,
17350 (test-wrapper-env): Likewise.
17351 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17352 (run-built-tests): Define to yes.
17353 (run-program-prefix): Use $(test-wrapper).
17354 (built-program-cmd): Likewise.
17355 * Rules (make-test-out): Use $(test-wrapper-env) and
17356 $(host-built-program-cmd).
17357 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17358 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17359 tst-pathopt.sh.
17360 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17361 $(test-wrapper-env) to tst-rtld-load-self.sh.
17362 ($(objpfx)order2.out): Use $(test-wrapper).
17363 ($(objpfx)tst-initorder.out): Likewise.
17364 ($(objpfx)tst-initorder2.out): Likewise.
17365 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17366 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17367 (test_wrapper_env): New variable. Use it to run ld.so.
17368 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17369 Use it to run ld.so.
17370 (test_wrapper_env): Likewise.
17371 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17372 $(test-wrapper) to run-iconv-test.sh.
17373 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17374 (ICONV): Use $test_wrapper.
17375 * posix/Makefile ($(objpfx)globtest.out): Pass
17376 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17377 globtest.sh, not $(run-program-prefix).
17378 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17379 (test_wrapper): Likewise.
17380 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17381 set together with run_via_rtld_prefix.
17382 (run_program_prefix): Define in terms of test_wrapper and
17383 run_via_rtld_prefix.
17384
6e6249d0
RM
173852012-10-24 Roland McGrath <roland@hack.frob.com>
17386
17387 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17388 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17389 Targets removed.
17390
17391 [BZ #14743]
17392 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17393 Declare __clock_getres, __clock_gettime, __clock_settime,
17394 __clock_nanosleep, and __clock_getcpuclockid.
17395 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17396 Remove librt_hidden_def (clock_gettime).
17397 * sysdeps/unix/clock_gettime.c: Likewise.
17398 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17399 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17400 * rt/clock_getres.c: Define __clock_getres as an alias.
17401 * sysdeps/posix/clock_getres.c: Likewise.
17402 * rt/clock_settime.c: Define __clock_settime as an alias.
17403 * sysdeps/unix/clock_settime.c: Likewise.
17404 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17405 * sysdeps/unix/clock_nanosleep.c: Likewise.
17406 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17407 * rt/clock-compat.c: New file.
17408 * rt/Makefile (librt-routines): Add clock-compat and move
17409 $(clock-routines) to ...
17410 (routines): ... here, new variable.
17411 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17412 Don't add get_clockfreq here.
17413 * rt/Versions (libc: GLIBC_2.17): New version set.
17414 Add clock_* symbols here.
17415 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17416 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17417 (GLIBC_2.17): Add clock_* symbols.
17418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17420 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17422 Likewise.
17423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17424 Likewise.
17425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17429 * NEWS: Mention the move.
17430
17431 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17432 Use __open, __read, __close rather than their public counterparts.
17433 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17434 (__get_clockfreq_via_cpuinfo): Likewise.
17435 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17436 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17437
17438 * config.h.in (HAVE_IFUNC): New #undef.
17439 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17440 was successful.
17441 * configure: Regenerated.
17442
0cae3f4b
MF
174432012-10-24 Mike Frysinger <vapier@gentoo.org>
17444
17445 * configure.in: Move READELF check to start of file.
17446 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17447 libc_cv_asm_gnu_indirect_function in the process.
17448 * configure: Regenerated.
17449
8175a253
MF
174502012-10-24 Mike Frysinger <vapier@gentoo.org>
17451
17452 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17453 send the output to /dev/null.
17454 (libc_cv_cc_with_libunwind): Likewise.
17455 (libc_cv_as_noexecstack): Likewise.
17456 * configure: Regenerate.
17457
0708a7d1
JM
174582012-10-24 Joseph Myers <joseph@codesourcery.com>
17459
10b40d85
JM
17460 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17461
0708a7d1
JM
17462 * posix/globtest.sh (TMPDIR): Do not set.
17463 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17464 (testout): Likewise.
17465
9fddec1a
AJ
174662012-10-24 Andreas Jaeger <aj@suse.de>
17467
3a8db22f
AJ
17468 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17469 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17470 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17471 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17472 posix_fadvise64, posix_fallocate64.
17473
9fddec1a
AJ
17474 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17475 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17476 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17477 Likewise.
17478 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17479 Likewise.
17480 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17481
17482 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17483 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17484 <bits/fcntl-linux.h>.
17485 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17486
17487 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17488 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17489 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17490 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17491 [__WORDSIZE != 64]: Likewise.
17492
ebfd1bbd
JM
174932012-10-23 Joseph Myers <joseph@codesourcery.com>
17494
03ac099f
JM
17495 * Makeconfig (run-built-tests): New variable.
17496 * Rules [$(cross-compiling) = yes]: Change condition to
17497 [$(run-built-tests) = no].
17498 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17499 to [$(run-built-tests) = yes].
17500 * elf/Makefile [$(cross-compiling) = no]: Likewise
17501 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17502 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17503 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17504 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17505 * io/Makefile [$(cross-compiling) = no]: Likewise.
17506 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17507 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17508 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17509 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17510 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17511 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17512 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17513 * string/Makefile [$(cross-compiling) = no]: Likewise.
17514
ebfd1bbd
JM
17515 * posix/Makefile ($(objpfx)globtest.out): Pass
17516 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17517 $(rtld-installed-name).
17518 * posix/globtest.sh (elf_objpfx): Remove variable.
17519 (rtld_installed_name): Likewise.
17520 (library_path): Likewise.
17521 (run_program_prefix): New variable. Use for running globtest
17522 binary.
17523
166bca24
JB
175242012-10-23 Jim Blandy <jimb@codesourcery.com>
17525 Joseph Myers <joseph@codesourcery.com>
17526
17527 * Makeconfig (host-built-program-cmd): New variable.
17528 * elf/Makefile (tst-stackguard1-ARGS): Use
17529 $(host-built-program-cmd).
17530 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17531 (tst-spawn-ARGS): Likewise.
17532 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17533
88866099
JM
175342012-10-23 Joseph Myers <joseph@codesourcery.com>
17535 Jim Blandy <jimb@codesourcery.com>
17536
17537 * Makeconfig (run-via-rtld-prefix): New variable.
17538 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17539 (built-program-cmd): Likewise.
17540
b4b4c296
AJ
175412012-10-22 Andreas Jaeger <aj@suse.de>
17542
17543 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17544 __O_RSYNC if it exists, otherwise to O_SYNC.
17545
6fb54a22
JB
175462012-10-22 Jim Blandy <jimb@codesourcery.com>
17547 Joseph Myers <joseph@codesourcery.com>
17548
17549 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17550 /dev/null.
17551 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17552 from /dev/null
17553 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17554 /dev/null.
17555
481b90b9
AJ
175562012-10-22 Andreas Jaeger <aj@suse.de>
17557
2a0e2669
AJ
17558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17559 Define always.
17560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17561
76e38f9a
AJ
17562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17563 bits/fcntl-linux.h.
17564
7cd37b43
AJ
17565 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17566 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17567
481b90b9
AJ
17568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17569 to __O_LARGEFILE.
17570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17571 to __O_LARGEFILE.
17572
aba75984
JB
175732012-10-21 Jim Blandy <jimb@codesourcery.com>
17574 Joseph Myers <joseph@codesourcery.com>
17575
17576 * config.make.in (NM): New variable.
17577
88d4247f
AJ
175782012-10-21 Andreas Jaeger <aj@suse.de>
17579
17580 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17581 definitions and declarations that are provided by
17582 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17583
f2eed205
L
175842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17585
17586 [BZ #14683]
17587 * elf/Makefile (tests-static): Add tst-leaks1-static.
17588 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17589 ($(objpfx)tst-leaks1-static): New rule.
17590 ($(objpfx)tst-leaks1-static-mem): Likewise.
17591 (tst-leaks1-static-ENV): New macro.
17592 * elf/dl-open.c (dl_open_worker): Check the main application
17593 only if SHARED is defined.
17594 * elf/tst-leaks1-static.c: New file.
17595
335e6931
AJ
175962012-10-20 Andreas Jaeger <aj@suse.de>
17597
17598 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17599 generic values for Linux.
17600 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17601 and declarations that are provided by <bits/fcntl-linux.h> and
17602 include <bits/fcntl-linux.h>.
17603 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17604 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17605
ac5c94d3
RM
176062012-10-20 Roland McGrath <roland@hack.frob.com>
17607
17608 * io/fcntl.h: Move include of <bits/types.h> to the top and
17609 include it unconditionally.
17610
de54b33a
L
176112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17612
228cfb01
L
17613 * wcsmbs/Makefile (tests-ifunc): New variable.
17614 (tests): Add $(tests-ifunc).
17615 * wcsmbs/test-wcschr-ifunc.c: New file.
17616 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17617 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17618 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17619 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17620 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17621
69f07e5f
L
17622 * string/Makefile (tests-ifunc): New variable.
17623 (tests): Add $(tests-ifunc).
17624 * string/test-memccpy.c (TEST_NAME): New macro.
17625 * string/test-memchr.c (TEST_NAME): Likewise.
17626 * string/test-memcmp.c (TEST_NAME): Likewise.
17627 * string/test-memcpy.c (TEST_NAME): Likewise.
17628 * string/test-memmem.c (TEST_NAME): Likewise.
17629 * string/test-memmove.c (TEST_NAME): Likewise.
17630 * string/test-memset.c (TEST_NAME): Likewise.
17631 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17632 * string/test-stpcpy.c (TEST_NAME): Likewise.
17633 * string/test-stpncpy.c (TEST_NAME): Likewise.
17634 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17635 * string/test-strcasestr.c (TEST_NAME): Likewise.
17636 * string/test-strcat.c (TEST_NAME): Likewise.
17637 * string/test-strchr.c (TEST_NAME): Likewise.
17638 * string/test-strcmp.c(TEST_NAME): Likewise.
17639 * string/test-strcpy.c (TEST_NAME): Likewise.
17640 * string/test-strcspn.c (TEST_NAME): Likewise.
17641 * string/test-strlen.c (TEST_NAME): Likewise.
17642 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17643 * string/test-strncmp.c (TEST_NAME): Likewise.
17644 * string/test-strncpy.c (TEST_NAME): Likewise.
17645 * string/test-strnlen.c (TEST_NAME): Likewise.
17646 * string/test-strpbrk.c (TEST_NAME): Likewise.
17647 * string/test-strrchr.c (TEST_NAME): Likewise.
17648 * string/test-strspn.c (TEST_NAME): Likewise.
17649 * string/test-strstr.c (TEST_NAME): Likewise.
17650 * string/test-bcopy-ifunc.c: New file.
17651 * string/test-bzero-ifunc.c: Likewise.
17652 * string/test-memccpy-ifunc.c: Likewise.
17653 * string/test-memchr-ifunc.c: Likewise.
17654 * string/test-memcmp-ifunc.c: Likewise.
17655 * string/test-memcpy-ifunc.c: Likewise.
17656 * string/test-memmem-ifunc.c: Likewise.
17657 * string/test-memmove-ifunc.c: Likewise.
17658 * string/test-mempcpy-ifunc.c: Likewise.
17659 * string/test-memset-ifunc.c: Likewise.
17660 * string/test-rawmemchr-ifunc.c: Likewise.
17661 * string/test-stpcpy-ifunc.c: Likewise.
17662 * string/test-stpncpy-ifunc.c: Likewise.
17663 * string/test-strcasecmp-ifunc.c: Likewise.
17664 * string/test-strcasestr-ifunc.c: Likewise.
17665 * string/test-strcat-ifunc.c: Likewise.
17666 * string/test-strchr-ifunc.c: Likewise.
17667 * string/test-strchrnul-ifunc.c: Likewise.
17668 * string/test-strcmp-ifunc.c: Likewise.
17669 * string/test-strcpy-ifunc.c: Likewise.
17670 * string/test-strcspn-ifunc.c: Likewise.
17671 * string/test-strlen-ifunc.c: Likewise.
17672 * string/test-strncasecmp-ifunc.c: Likewise.
17673 * string/test-strncat-ifunc.c: Likewise.
17674 * string/test-strncmp-ifunc.c: Likewise.
17675 * string/test-strncpy-ifunc.c: Likewise.
17676 * string/test-strnlen-ifunc.c: Likewise.
17677 * string/test-strpbrk-ifunc.c: Likewise.
17678 * string/test-strrchr-ifunc.c: Likewise.
17679 * string/test-strspn-ifunc.c: Likewise.
17680 * string/test-strstr-ifunc.c: Likewise.
17681
de54b33a
L
17682 * debug/Makefile (tests-ifunc): New variable.
17683 (tests): Add $(tests-ifunc).
17684 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17685 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17686 * debug/test-stpcpy_chk-ifunc.c: New file.
17687 * debug/test-strcpy_chk-ifunc.c: Likewise.
17688
88481c16
SP
176892012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17690
17691 [BZ #13601]
17692 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17693 header is not read in.
17694
135948bd
JM
176952012-10-19 Joseph Myers <joseph@codesourcery.com>
17696
89f1c388
JM
17697 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17698 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17699 directly. Pass built executable to script as
17700 $(built-program-cmd).
17701 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17702 $testprogram without using LD_LIBRARY_PATH and $ldso.
17703
e40a0d21
JM
17704 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17705 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17706 $(rtld-installed-name).
17707 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17708 (rtld_installed_name): Likewise.
17709 (library_path): Likewise.
17710 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17711 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17712 $(run-program-prefix) to tst-tables.sh.
17713 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17714 it to run tst-table-from and tst-table-to.
17715 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17716 Pass it to tst-table.sh.
17717 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17718 $(run-program-prefix) to tst-gettext.sh.
17719 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17720 tst-translit.sh.
17721 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17722 tst-gettext2.sh.
17723 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17724 to run tst-gettext.
17725 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17726 to run tst-gettext2.
17727 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17728 to run tst-translit.
17729 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17730 $(run-program-prefix) to tst-mtrace.sh.
17731 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17732 to run tst-mtrace.
17733 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17734 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17735 $(rtld-installed-name).
17736 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17737 (rtld_installed_name): Likewise.
17738 (run_program_prefix): New variable. Use it to run wordexp-test.
17739
728e272a
JM
17740 * Makeconfig (ARCH): Remove all definitions.
17741 (machine): Likewise.
17742 [ARCH]: Remove conditional code.
17743 [!objdir]: Give error.
17744 [!objdir] (objpfx): Remove.
17745 [!objdir] (common-objpfx): Likewise.
17746 [!objdir] (common-objdir): Likewise.
17747 * configure.in (config_makefile): Remove. Hardcode Makefile in
17748 AC_CONFIG_FILES call.
17749 * configure: Regenerated.
17750
d528cdcf
JM
17751 [BZ #13888]
17752 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17753 or TMPDIR.
17754 (testout): Likewise.
17755
135948bd
JM
17756 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17757 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17758 $(rtld-installed-name).
17759 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17760 (rtld_installed_name): Likwise.
17761 (runit): Remove function.
17762 (run_getconf): New variable, Use it for running getconf binary.
17763
38c78296
L
177642012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17765
17766 [BZ #14716]
17767 * string/test-memmem.c (check_result): New function.
17768 (do_one_test): Use it.
17769 (check1): New function.
17770 (test_main): Use it.
17771
d077f65f
MT
177722012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17773
17774 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17775
ced52c71
JM
177762012-10-18 Joseph Myers <joseph@codesourcery.com>
17777
17778 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17779 (_G_LSEEK64): Likewise.
17780 (_G_MMAP64): Likewise.
17781 (_G_FSTAT64): Likewise.
17782 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17783 (_G_LSEEK64): Likewise.
17784 (_G_MMAP64): Likewise.
17785 (_G_FSTAT64): Likewise.
17786 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17787 unconditional. Call __mmap64 directly.
17788 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17789 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17790 __lseek64 directly.
17791 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17792 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17793 __mmap64 directly.
17794 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17795 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17796 __lseek64 directly.
17797 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17798 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17799 __lseek64 directly.
17800 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17801 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17802 __lseek64 directly.
17803 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17804 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17805 __fxstat64 directly.
17806 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17807 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17808 unconditional.
17809 (freopen64) [!_G_OPEN64]: Remove conditional code.
17810 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17811 unconditional.
17812 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17813 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17814 unconditional.
17815 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17816 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17817 unconditional.
17818 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17819 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17820 unconditional.
17821 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17822 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17823 unconditional.
17824 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17825 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17826 unconditional.
17827 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17828 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17829 unconditional.
17830 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17831
b741de23
SP
178322012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17833
17834 [BZ #12140]
17835 * manual/memory.texi (Malloc Tunable Parameters): Add note
17836 about free list pointers overwriting some perturb bytes.
17837 Wording suggested by Roland McGrath.
17838
f9b9d9c9
JM
178392012-10-17 Joseph Myers <joseph@codesourcery.com>
17840
17841 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17842 (lgamma_test): Likewise.
17843 (tgamma_test): Likewise.
17844
172a631a
FW
178452012-10-16 Florian Weimer <fweimer@redhat.com>
17846
17847 [BZ #14700]
17848 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17849 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17850
e9f37252
MK
178512012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17852
17853 * NEWS: Mention BZ #14716.
17854 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17855 when removing AVAILABLE1_USES_J macro.
17856
d394eb74
L
178572012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17858
17859 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17860 (__bswap_64): __uint64_t for unsigned 64-bit int.
17861
ca38dc17
AS
178622012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17863
17864 * include/string.h (memmem): Declare libc hidden alias.
17865 * string/memmem.c (memmem): Define libc hidden alias.
17866 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17867 __read, __close instead of open, read, close.
17868
9a387d1f
L
178692012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17870
ac49ecaf
L
17871 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17872 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17873 global and hidden.
17874 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17875 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17876 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17877 Likewise.
17878 (__rawmemchr_sse2): Likewise.
17879 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17880 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17881 (__strchr_sse2): Likewise.
17882 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17883 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17884 (__strcasecmp_sse2): Likewise.
17885 (__strncasecmp_sse2): Likewise.
17886 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17887 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17888 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17889 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17890 (__strrchr_sse2): Likewise.
17891 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17892 ifunc-impl-list.c.
17893 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17894 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17895 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17896 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17897 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17898 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17899 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17900 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17901 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17902 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17903 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17904 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17905 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17906 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17907 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17908 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17909 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17910 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17911 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17912 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17913 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17914 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17915 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17916 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17917 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17918 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17919 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17920 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17921 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17922 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17923
b090e8ea
L
17924 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17925 global and hidden.
17926 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17927 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17928 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17929 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17930 Likewise.
17931 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17932 Likewise.
17933 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17934 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17935 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17936 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17937 ifunc-impl-list.c.
17938 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17939 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17940 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17941 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17942 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17943 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17944 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17945 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17946 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17947 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17948 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17949 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17950 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17951 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17952 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17953 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17954 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17955 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17956 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17957 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17958 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17959 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17960 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17961 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17962 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17963 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17964 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17965 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17966 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17967 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17968 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17969 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17970 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17971 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17972 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17973 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17974 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17975 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17976 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17977 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17978 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17979
11dd4af6
L
17980 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17981 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17982 * include/ifunc-impl-list.h: New file.
17983 * misc/ifunc-impl-list.c: Likewise.
17984 * misc/Makefile (routines): Add ifunc-impl-list.
17985 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17986 * string/test-string.h: Include <ifunc-impl-list.h>.
17987 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17988 impl_array): New variables.
17989 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17990 are defined.
17991 (test_init): Call __libc_ifunc_impl_list to initialize
17992 func_list if TEST_IFUNC and TEST_NAME are defined.
17993
9a387d1f
L
17994 * string/Makefile (strop-tests): Add bcopy and bzero.
17995 * string/test-bcopy.c: New file.
17996 * string/test-bzero.c: Likewise.
17997 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17998 defined.
17999 * string/test-memset.c: Support bzero test if TEST_BZERO is
18000 defined.
18001 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18002 __libc_memmove.
18003 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18004 __libc_memset.
18005 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18006 of memset.
18007
472371b9
JM
180082012-10-10 Joseph Myers <joseph@codesourcery.com>
18009
1e4a9536
JM
18010 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18011 * configure: Regenerated.
18012
d173d12e
JM
18013 * Makeconfig (+link-static-before-libc): Don't include
18014 $(link-static-libc).
18015
472371b9
JM
18016 * libio/libio.h (_IO_pos_t): Remove.
18017
89a3ad0b
AO
180182012-10-10 Alexandre Oliva <aoliva@redhat.com>
18019
18020 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18021 McGrath.
18022
e7451425
AO
180232012-10-10 Alexandre Oliva <aoliva@redhat.com>
18024
18025 * crypt/crypt-entry.c: Include fips-private.h.
18026 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18027 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18028 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18029 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18030
4ba74a35
AO
180312012-10-10 Alexandre Oliva <aoliva@redhat.com>
18032
18033 * crypt/crypt-private.h: Include stdbool.h.
18034 (_ufc_setup_salt_r): Return bool.
18035 * crypt/crypt-entry.c: Include errno.h.
18036 (__crypt_r): Return NULL with EINVAL for bad salt.
18037 * crypt/crypt_util.c (bad_for_salt): New.
18038 (_ufc_setup_salt_r): Check that salt is long enough and within
18039 the specified alphabet.
18040 * crypt/badsalttest.c: New file.
18041 * crypt/Makefile (tests): Add it.
18042 ($(objpfx)badsalttest): New.
18043
f96f1242
MK
180442012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18045
18046 * NEWS: Add entry for BZ #14602.
18047
0e8e0c1c
JM
180482012-10-09 Joseph Myers <joseph@codesourcery.com>
18049
18050 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18051 type-generic.
18052 * math/libm-test.inc: Update comment listing what functions and
18053 macros are tested.
18054 (isgreater_test): New function.
18055 (isgreaterequal_test): Likewise.
18056 (isless_test): Likewise.
18057 (islessequal_test): Likewise.
18058 (islessgreater_test): Likewise.
18059 (isunordered_test): Likewise.
18060 (main): Call the new functions.
18061
273edc5e
RM
180622012-10-09 Roland McGrath <roland@hack.frob.com>
18063
b8493de0
RM
18064 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18065 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18066 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18067 * sysdeps/i386/configure: Regenerated.
18068 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18069 * sysdeps/mach/configure: Regenerated.
18070 * sysdeps/mach/hurd/configure: Regenerated.
18071 * sysdeps/powerpc/configure: Regenerated.
18072 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18073 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18074 * sysdeps/s390/s390-32/configure: Regenerated.
18075 * sysdeps/s390/s390-64/configure: Regenerated.
18076 * sysdeps/sh/configure: Regenerated.
18077 * sysdeps/sparc/configure: Regenerated.
18078 * sysdeps/unix/sysv/linux/configure: Regenerated.
18079 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18080 * sysdeps/x86_64/configure: Regenerated.
18081
273edc5e
RM
18082 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18083 defined. Don't check if MAP is NULL.
18084
c8450f70
JM
180852012-10-09 Joseph Myers <joseph@codesourcery.com>
18086
18087 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18088 (_G_stat64): Likewise.
18089 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18090 (_G_stat64): Likewise.
18091 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18092 instead of struct _G_stat64.
18093 * libio/fileops.c (mmap_remap_check): Likewise.
18094 (decide_maybe_mmap): Likewise.
18095 (_IO_new_file_seekoff): Likewise.
18096 (_IO_file_stat): Likewise.
18097 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18098 _G_off64_t.
18099 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18100 instead of struct _G_stat64.
18101 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18102
57e605ba
MK
181032012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18104
18105 [BZ #14602]
18106 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18107 Replace with ...
18108 (CHECK_EOL): New macro.
18109 (two_way_short_needle): Check beginning of haystack for EOL. Use
18110 CHECK_EOL.
18111 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18112 Replace with CHECK_EOL.
18113 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18114 Replace with CHECK_EOL.
18115
ef1bb361
JM
181162012-10-08 Joseph Myers <joseph@codesourcery.com>
18117
18118 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18119 type-generic.
18120 * math/libm-test.inc: Update comment listing what functions and
18121 macros are tested.
18122 (finite_test): New function.
18123 (isinf_test): Likewise.
18124 (isnan_test): Likewise.
18125 (fpclassify_test): Test subnormal input.
18126 (isfinite_test): Likewise.
18127 (isnormal_test): Likewise.
18128 (main): Call the new functions.
18129
55f11534
JN
181302012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18131
18132 [BZ #14660]
18133 * Makerules (%.dynsym): Force C locale when running
18134 $(OBJDUMP) --dynamic-syms.
18135
1ab29350
AS
181362012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18137
18138 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18139 <stdint.h>.
18140
f1ecb7ef
DM
181412012-10-06 David S. Miller <davem@davemloft.net>
18142
18143 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18144 upper 32-bits of the length value in %o2 since we use branch-on-register
18145 tests which consider the entire 64-bit register.
18146
5d41d91a
L
181472012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18148
18149 * string/test-strstr.c (check2): Add a test for page boundary.
18150
3baddb72
DM
181512012-10-05 David S. Miller <davem@davemloft.net>
18152
18153 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18154 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18155 file.
18156 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18157 sysdep_routines.
18158 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18159 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18160 and bzero when HWCAP_SPARC_CRYPTO is present.
18161
9cee5585
L
181622012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18163
d7e0dab9
L
18164 [BZ #14602]
18165 * string/test-strstr.c (check2): New function.
18166 (test_main): Call check2.
18167
03759f47
L
18168 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18169 and bug-strchr1.
18170 * string/bug-strcasestr1.c (do_test): Moved to ...
18171 * string/test-strcasestr.c (check1): Here. New function.
18172 (do_one_test): Break out result checking code into ...
18173 (check_result): This. New function.
18174 (do_one_test): Call check_result.
18175 (test_main): Call check1.
18176 * string/bug-strchr1.c (do_test): Moved to ...
18177 * string/test-strchr.c (check1): Here. New function.
18178 (do_one_test): Break out result checking code into ...
18179 (check_result): This. New function.
18180 (do_one_test): Call check_result.
18181 (test_main): Call check1.
18182 * string/bug-strstr1.c (main): Moved to ...
046f153e 18183 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18184 (do_one_test): Break out result checking code into ...
18185 (check_result): This. New function.
18186 (do_one_test): Call check_result.
18187 (test_main): Call check1.
18188 * string/bug-strcasestr1.c: Removed.
18189 * string/bug-strchr1.c: Likewise.
18190 * string/bug-strstr1.c: Likewise.
18191
53cea63e
L
18192 * elf/Makefile (dl-routines): Add hwcaps.
18193 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18194 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18195 (_dl_important_hwcaps): Moved to ...
18196 * elf/dl-hwcaps.c: Here. New file.
18197 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18198
9cee5585 18199 [BZ #14557]
bb859b06
L
18200 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18201 if IS_IN_rtld isn't defined.
18202
9cee5585
L
18203 * elf/dl-support.c (_dl_sysinfo_map): New.
18204 Include "get-dynamic-info.h" and "setup-vdso.h".
18205 (_dl_non_dynamic_init): Call setup_vdso.
18206 * elf/dynamic-link.h: Don't include <assert.h>.
18207 (elf_get_dynamic_info): Moved to ...
18208 * elf/get-dynamic-info.h: Here. New file.
18209 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18210 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18211 * elf/setup-vdso.h: Here. New file.
18212 * elf/rtld.c: Include "setup-vdso.h".
18213 (dl_main): Call setup_vdso.
18214
23c31b76
JM
182152012-10-05 Joseph Myers <joseph@codesourcery.com>
18216
28234b07
JM
18217 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18218 creal in comment listing functions tested. List finite, isinf,
18219 isnan, isless, islessequal, isgreater, isgreaterequal,
18220 islessgreater, isunordered, lgamma_r and pow10 as functions and
18221 macros not tested. Mention which functions not tested are aliases
18222 for other functions. Fix typo. Note that signs of NaNs are not
18223 tested.
18224
23c31b76
JM
18225 * scripts/config.guess: Update from config.git.
18226 * scripts/config.sub: Likewise.
18227
9043e228
RM
182282012-10-04 Roland McGrath <roland@hack.frob.com>
18229
18230 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18231 * misc/madvise.c (madvise): Renamed to __madvise.
18232 Make madvise a weak alias.
18233 * include/sys/mman.h: Declare __madvise.
18234 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18235 * sysdeps/unix/syscalls.list
18236 (madvise): Make __madvise the strong name, and madvise a weak alias.
18237 * sysdeps/unix/sysv/linux/syscalls.list
18238 (madvise, mmap): Remove redundant entries.
18239 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18240 * malloc/malloc.c (mtrim): Likewise.
18241 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18242
f57f8055
RM
182432012-10-03 Roland McGrath <roland@hack.frob.com>
18244
18245 * sysdeps/mach/hurd/dl-cache.c: File removed.
18246 * config.h.in (USE_LDCONFIG): New #undef.
18247 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18248 * configure: Regenerated.
18249 * elf/Makefile (dl-routines): Add dl-cache only under
18250 [$(use-ldconfig) = yes].
18251 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18252 cache on [USE_LDCONFIG].
18253 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18254 [USE_LDCONFIG].
18255 * elf/rtld.c (dl_main): Likewise.
18256
5bb0c10a
PT
182572012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18258
18259 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18260 _SC_LEVEL4_CACHE_LINESIZE.
18261
010188c6
RM
182622012-10-03 Roland McGrath <roland@hack.frob.com>
18263
18264 * sysdeps/unix/bsd/confstr.h: File removed.
18265
b6c5ec07
AO
182662012-10-02 Alexandre Oliva <aoliva@redhat.com>
18267
18268 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18269 sys/sdt-config.h.
18270
408223d4
RM
182712012-10-02 Roland McGrath <roland@hack.frob.com>
18272
18273 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18274 Make 'mapoff' field ElfW(Off) rather than off_t.
18275
bb9510dc
DL
182762012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18277
fc997c6e
DL
18278 * nscd/Makefile: Remove nscd-cflags and all its users.
18279 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18280 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18281
bb9510dc
DL
18282 [BZ #10631]
18283 * malloc.c (malloc_printerr): Clarify error message.
18284
05699367
L
182852012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18286
18287 [BZ #14648]
18288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18289 Set bit_FMA_Usable if FMA is supported.
18290 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18291 macro.
18292 (bit_FMA4_Usable): Updated.
18293 (index_FMA_Usable): New macro.
18294 (CPUID_FMA): Likewise
18295 (HAS_FMA): Defined with bit_FMA_Usable.
18296
51367701
RM
182972012-10-01 Roland McGrath <roland@hack.frob.com>
18298
18299 * bits/types.h (__swblk_t): Type removed.
18300 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18301 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18303 (__SWBLK_T_TYPE): Likewise.
18304 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18305 (__SWBLK_T_TYPE): Likewise.
18306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18307 (__SWBLK_T_TYPE): Likewise.
18308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18309 (__SWBLK_T_TYPE): Likewise.
18310
4d57bf63 183112012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18312 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18313
18314 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18315 (xdr_mapname): Use YPMAXMAP as maxsize.
18316 (xdr_peername): Use YPMAXPEER as maxsize.
18317 (xdr_keydat): Use YPAXRECORD as maxsize.
18318 (xdr_valdat): Use YPMAXRECORD as maxsize.
18319
93c65d43
RM
183202012-10-01 Roland McGrath <roland@hack.frob.com>
18321
497a03d6
RM
18322 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18323
93c65d43
RM
18324 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18325 * csu/init-first.c: ... here.
18326 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18327 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18328 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18329 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18330 * sysdeps/i386/init-first.c: File removed.
18331 * sysdeps/sh/init-first.c: File removed.
18332
bec749fd
JM
183332012-10-01 Joseph Myers <joseph@codesourcery.com>
18334
18335 [BZ #14645]
18336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18337 if x * y might underflow to zero and z is zero.
18338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18339 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18340 * math/libm-test.inc (min_subnorm_value): New variable.
18341 (fma_test): Add more tests.
18342 (fma_test_towardzero): Likewise.
18343 (fma_test_downward): Likewise
18344 (fma_test_upward): Likewise.
18345 (initialize): Set min_subnorm_value.
18346
8ec5b013
JM
183472012-09-29 Joseph Myers <joseph@codesourcery.com>
18348
18349 [BZ #14638]
18350 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18351 0 + 0.
18352 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18353 mode for addition resulting in exact zero.
18354 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18355 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18356 exact 0 + 0.
18357 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18358 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18359 * math/libm-test.inc (fma_test): Add more tests.
18360 (fma_test_towardzero): New function.
18361 (fma_test_downward): Likewise.
18362 (fma_test_upward): Likewise.
18363 (main): Call the new functions.
18364
b1fa802e
DM
183652012-09-28 David S. Miller <davem@davemloft.net>
18366
18367 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18368
d3b9fd9e
RM
183692012-09-28 Roland McGrath <roland@hack.frob.com>
18370
ea4d37b3
RM
18371 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18372 instead of SIGALRM.
18373
ac51c949
RM
18374 * sysdeps/gnu/_G_config.h: Moved to ...
18375 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18376 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18377 * sysdeps/generic/_G_config.h: ... here.
18378
28c195f7
RM
18379 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18380
848917f9
RM
18381 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18382
6bacf05b
RM
18383 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18384 Conditionalize target on [libnss_test1.so-version].
18385
91363dbb
RM
18386 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18387
cc87f7d8
RM
18388 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18389 (elfobjdir): Move out of conditionals.
18390
b1c608fe
RM
18391 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18392 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18393 (__nss_lookup_function): Conditionalize label remove_from_tree on
18394 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18395
1d9a6d96
DM
183962012-09-28 David S. Miller <davem@davemloft.net>
18397
18398 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18399 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18400 file.
18401 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18402 sysdep_routines.
18403 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18405 when HWCAP_SPARC_CRYPTO is present.
18406
72581615
PT
184072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18408
18409 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18410
715a900c
JL
184112012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18412
18413 [BZ #6530]
18414 * stdio-common/vfprintf.c (process_string_arg): Revert
18415 2000-07-22 change.
18416
184172011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18418
18419 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18420 for testcase.
18421 * stdio-common/tst-sprintf.c: Include <locale.h>
18422 (main): Test sprintf's handling of incomplete multibyte
18423 characters.
18424
9bac1d86
L
184252012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18426
18427 * elf/dl-runtime.c (VERSYMIDX): Removed.
18428 * elf/dl-version.c (VERSYMIDX): Likewise.
18429 * elf/do-rel.h (VERSYMIDX): Likewise.
18430 (VALIDX): Likewise.
18431 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18432 * elf/rtld.c (VALIDX): Likewise.
18433 (ADDRIDX): Likewise.
9bac1d86
L
18434 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18435 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18436 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18437 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18438 (VALIDX): Likewise.
18439 (ADDRIDX): Likewise.
9bac1d86 18440
b31606c0
PT
184412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18442
18443 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18444
11541177
JL
184452012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18446
18447 [BZ #11438]
18448 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18449 to global scope.
18450 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18451 addresses are in the same scope as 192.0.2/24.
18452 * posix/gai.conf: Document new scope table defaults.
18453
adb26fae
SP
184542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18455
18456 [BZ #5298]
18457 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18458 for ftell. Compute offsets from write pointers instead.
18459 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18460
4573c6b0
SP
184612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18462
18463 [BZ #14543]
18464 * libio/Makefile (tests): New test case tst-fseek.
18465 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18466 combination works in wide mode.
18467 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18468 state when the external buffer state changes.
18469
aa9bbfe6
DM
184702012-09-27 David S. Miller <davem@davemloft.net>
18471
18472 [BZ #14376]
18473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18474 pass reloc->r_addend in as the 'high' argument to
18475 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18476
784421e7
DM
18477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18478
c39bc8b8
PT
184792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18480
18481 * rt/tst-aio2.c: Include <pthread.h>.
18482 * rt/tst-aio3.c: Likewise.
18483
1ccc2399
SE
184842012-09-27 Steve Ellcey <sellcey@mips.com>
18485
18486 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18487
31ed4153
L
184882012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18489
25f5f885
L
18490 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18491 contents on [SHARED].
31ed4153 18492
b7bfe116
MP
184932012-09-26 Marek Polacek <polacek@redhat.com>
18494
18495 [BZ #14530]
18496 [BZ #13741]
18497 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18498 for C++ and GCC <4.3 as well as for non GCC compilers.
18499
43c4edba
MT
185002012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18501
18502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18503
6a1bf82f
RM
185042012-09-25 Roland McGrath <roland@hack.frob.com>
18505
18506 * Makefile.in (all, install): Declare with .PHONY.
18507 Reported by Michael Hope <michael.hope@linaro.org>.
18508
8ad11b9a
TMQMF
185092012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18510
18511 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18512 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18513 system header.
18514 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18515 Likewise.
18516 (sydep_routines): Add the new and the internal functions.
18517 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18518 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18520 (GLIBC_2.17): Add the new function.
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18522 (GLIBC_2.17): Likewise.
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18524 (GLIBC_2.17): Likewise.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18526 (GLIBC_2.17): Likewise.
18527 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18528
7e2fca8d
AM
185292012-09-25 Alan Modra <amodra@gmail.com>
18530
18531 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18532 Add release barrier before setting once_control to say
18533 initialisation is done. Add hints on lwarx. Use macro in
18534 place of isync.
18535 (clear_once_control): Add release barrier.
18536
b87c4b24
JM
185372012-09-25 Joseph Myers <joseph@codesourcery.com>
18538
d032e0d2
JM
18539 [BZ #13629]
18540 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18541 specially.
18542 * math/s_clog10.c (__clog10): Likewise.
18543 * math/s_clog10f.c (__clog10f): Likewise.
18544 * math/s_clog10l.c (__clog10l): Likewise.
18545 * math/s_clogf.c (__clogf): Likewise.
18546 * math/s_clogl.c (__clogl): Likewise.
18547 * math/Makefile (libm-calls): Add x2y2m1.
18548 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18549 (__x2y2m1): Likewise.
18550 (__x2y2m1l): Likewise.
18551 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18552 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18553 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18554 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18555 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18556 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18557 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18558 * sysdeps/i386/fpu/libm-test-ulps: Update.
18559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18560
b87c4b24
JM
18561 [BZ #14621]
18562 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18563 int as type of variable DEPTH.
18564 (glob): Use size_t instead of int as type of variables NEWCOUNT
18565 and OLD_PATHC.
18566
6d3bf199
LD
185672012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18568
22bf5c17
LD
18569 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18570 Add s_sincosf-sse2.
18571 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18572 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18573 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18574 macros for using routine as __sincosf_ia32.
18575 Use macro for function declaration and weak_alias.
18576 * sysdeps/i386/fpu/libm-test-ulps: Update.
18577
18578 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18580
18581 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18582 subnormal argument.
18583 * math/s_cexpf.c (__cexpf): Likewise.
18584 * math/s_csinf.c (__csinf): Likewise.
18585 * math/s_csinhf.c (__csinhf): Likewise.
18586 * math/s_ctanf.c (__ctanf): Likewise.
18587 * math/s_ctanhf.c (__ctanhf): Likewise.
18588 * math/s_ccosh.c (__ccoshf): Likewise.
18589 * math/s_cexp.c (__cexpl): Likewise.
18590 * math/s_csin.c (__csin): Likewise.
18591 * math/s_csinh.c (__csinh): Likewise.
18592 * math/s_ctan.c (__ctan): Likewise.
18593 * math/s_ctanh.c (ctanh): Likewise.
18594 * math/s_ccoshl.c (__ccoshl): Likewise.
18595 * math/s_cexpl.c (__cexpl): Likewise.
18596 * math/s_csinl.c (__csinl): Likewise.
18597 * math/s_csinhl.c (__csinhl): Likewise.
18598 * math/s_ctanl.c (__ctanl): Likewise.
18599 * math/s_ctanhl.c (__ctanhl): Likewise.
18600
203e5603
JM
186012012-09-25 Joseph Myers <joseph@codesourcery.com>
18602
18603 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18604 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18605 (_IO_off_t): Define to __off_t, not _G_off_t.
18606 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18607 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18608 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18609 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18610 type of __dummy and __dummy2 fields.
18611 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18612 (_G_ssize_t): Likewise.
18613 (_G_off_t): Likewise.
18614 (_G_pid_t): Likewise.
18615 (_G_uid_t): Likewise.
18616 (_G_wchar_t): Likewise.
18617 (_G_wint_t): Likewise.
18618 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18619 (_G_ssize_t): Likewise.
18620 (_G_off_t): Likewise.
18621 (_G_pid_t): Likewise.
18622 (_G_uid_t): Likewise.
18623 (_G_wchar_t): Likewise.
18624 (_G_wint_t): Likewise.
18625 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18626 (_G_ssize_t): Likewise.
18627 (_G_off_t): Likewise.
18628 (_G_pid_t): Likewise.
18629 (_G_uid_t): Likewise.
18630 (_G_wchar_t): Likewise.
18631 (_G_wint_t): Likewise.
18632
9fab36eb
SP
186332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18634
18635 * malloc/arena.c: Include malloc-sysdep.h.
18636 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18637 is sufficient to shrink the heap or an unmap is needed.
18638 * sysdeps/generic/malloc-sysdep.h: New file. Define
18639 new function check_may_shrink_heap.
18640 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18641 new function check_may_shrink_heap.
18642
2b4f00d1
SP
186432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18644
18645 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18646 comments.
18647
9a9028b1
DL
186482012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18649
57c69bef
DL
18650 * catgets/test-gencat.sh: Add "set -e".
18651 * elf/tst-pathopt.sh: Likewise.
18652 * grp/tst_fgetgrent.sh: Likewise.
18653 * iconvdata/run-iconv-test.sh: Likewise.
18654 * intl/tst-gettext.sh: Likewise.
18655 * intl/tst-gettext2.sh: Likewise.
18656 * intl/tst-gettext4.sh: Likewise.
18657 * intl/tst-gettext6.sh: Likewise.
18658 * intl/tst-translit.sh: Likewise.
18659 * io/ftwtest-sh: Likewise.
18660 * libio/test-freopen.sh: Likewise.
18661 * malloc/tst-mtrace.sh: Likewise.
18662 * posix/globtest.sh: Likewise.
18663 * posix/tst-getconf.sh: Likewise.
18664 * posix/wordexp-tst.sh: Likewise.
18665 * stdio-common/tst-printf.sh: Likewise.
18666 * stdio-common/tst-unbputc.sh: Likewise.
18667 * stdlib/tst-fmtmsg.sh: Likewise.
18668 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18669 * catgets/Makefile: Do not specify -e option when running
18670 testsuite shell scripts.
18671 * elf/Makefile: Likewise.
18672 * grp/Makefile: Likewise.
18673 * iconvdata/Makefile: Likewise.
18674 * intl/Makefile: Likewise.
18675 * io/Makefile: Likewise.
18676 * libio/Makefile: Likewise.
18677 * malloc/Makefile: Likewise.
18678 * posix/Makefile: Likewise.
18679 * stdio-common/Makefile: Likewise.
18680 * stdlib/Makefile: Likewise.
18681 * sysdeps/x86_64/Makefile: Likewise.
18682
9a9028b1
DL
18683 * io/ftwtest-sh: Add copyright header.
18684 * posix/globtest.sh: Likewise.
18685 * posix/tst-getconf.sh: Likewise.
18686 * posix/wordexp-tst.sh: Likewise.
18687 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18688
ced6f16e
L
186892012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18690
94b32c39
L
18691 [BZ #13679]
18692 * Makeconfig (+link): Defined as $(+link-static) if
18693 $(build-shared) isn't yes.
18694 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18695 isn't yes.
18696 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18697
189e935b
L
18698 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18699
ced6f16e
L
18700 [BZ #14562]
18701 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18702 new chunk size with MALLOC_ALIGN_MASK.
18703
a9f8e53a
JM
187042012-09-24 Joseph Myers <joseph@codesourcery.com>
18705
18706 [BZ #5044]
18707 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18708 <rounding-mode.h>.
18709 (__printf_fphex): Determine rounding using get_rounding_mode and
18710 round_away.
18711 * stdio-common/tst-printf-round.c (struct hex_test): New
18712 structure.
18713 (hex_tests): New variable.
18714 (test_hex_in_one_mode): New function.
18715 (do_test): Also run tests for hex float output.
18716
43153109
JM
187172012-09-21 Joseph Myers <joseph@codesourcery.com>
18718
18719 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18720 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18721 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18722 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18723 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18724 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18725 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18726 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18727
8a26625d
JM
187282012-09-20 Joseph Myers <joseph@codesourcery.com>
18729
18730 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18731 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18732 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18733 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18734
f3fd569c
DL
187352012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18736
18737 [BZ #14579]
18738 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18739 mode only.
18740 * elf/tst-rtld-load-self.sh: New test.
18741 * elf/Makefile: Run it.
18742
63bbedd4
JM
187432012-09-18 Joseph Myers <joseph@codesourcery.com>
18744
18745 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18746 (tst-writev-ENV): Remove.
18747 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18748
626f8b6a
CM
187492012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18750
18751 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18752
b7aaa4d6
JM
187532012-09-17 Joseph Myers <joseph@codesourcery.com>
18754
18755 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18756 unconditional.
18757 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18758 Likewise.
18759 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18760 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18761 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18762 Likewise.
18763
65513990
L
187642012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18765
18766 [BZ #14587]
18767 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18768 * config.make.in (have-cpp-asm-debuginfo): Removed.
18769 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18770 * configure: Regenerated.
18771
784761be
JM
187722012-09-14 Joseph Myers <joseph@codesourcery.com>
18773
18774 [BZ #5044]
18775 * stdio-common/printf_fp.c: Include <stdbool.h> and
18776 <rounding-mode.h>.
18777 (___printf_fp): Determine rounding using get_rounding_mode and
18778 round_away.
18779 * stdio-common/tst-printf-round.c: New file.
18780 * stdio-common/Makefile (tests): Add tst-printf-round.
18781 (link-libm): New variable.
18782 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18783
9503345f
L
187842012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18785
18786 [BZ #14576]
18787 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18788 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18789 Likewise.
18790 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18791 Likewise.
18792
ad35fc00
JM
187932012-09-13 Joseph Myers <joseph@codesourcery.com>
18794
18795 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18796 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18797 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18798 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18799
6c9b0f68
JM
188002012-09-12 Joseph Myers <joseph@codesourcery.com>
18801
18802 [BZ #14518]
18803 * include/rounding-mode.h: New file.
18804 * sysdeps/generic/get-rounding-mode.h: Likewise.
18805 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18806 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18807 (MAX_VALUE): New macro.
18808 (MIN_VALUE): Likewise.
18809 (overflow_value): New function.
18810 (underflow_value): Likewise.
18811 (round_and_return): Use overflow_value and underflow_value to
18812 determine return values in overflow and underflow cases. Use
18813 round_away to determine rounding depending on rounding mode.
18814 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18815 determine return values in overflow and underflow cases.
18816 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18817 (struct test_results): New structure.
18818 (struct test): Use struct test_results to store expected results
18819 for all rounding modes.
18820 (TEST): Include expected results for all rounding modes.
18821 (test_in_one_mode): New function.
18822 (do_test): Use test_in_one_mode to compute and check results.
18823 Check results for all rounding modes.
18824 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18825 $(link-libm).
18826
19fcedd5
AM
188272012-12-09 Allan McRae <allan@archlinux.org>
18828
1e9d84cd 18829 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18830
8bbfd2f1
JM
188312012-09-11 Joseph Myers <joseph@codesourcery.com>
18832
18833 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18834 (_G_int32_t): Likewise.
18835 (_G_uint16_t): Likewise.
18836 (_G_uint32_t): Likewise.
18837 (_G_HAVE_BOOL): Likewise.
18838 (_G_HAVE_ATEXIT): Likewise.
18839 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18840 (_G_HAVE_IO_FILE_OPEN): Likewise.
18841 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18842 (_G_int32_t): Likewise.
18843 (_G_uint16_t): Likewise.
18844 (_G_uint32_t): Likewise.
18845 (_G_HAVE_BOOL): Likewise.
18846 (_G_HAVE_ATEXIT): Likewise.
18847 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18848 (_G_HAVE_IO_FILE_OPEN): Likewise.
18849 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18850 (_G_int32_t): Likewise.
18851 (_G_uint16_t): Likewise.
18852 (_G_uint32_t): Likewise.
18853 (_G_HAVE_BOOL): Likewise.
18854 (_G_HAVE_ATEXIT): Likewise.
18855 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18856 (_G_HAVE_IO_FILE_OPEN): Likewise.
18857
b1dc5912
L
188582012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18859
18860 * csu/libc-tls.c: Update copyright years.
18861
0e886ef9
JM
188622012-09-10 Joseph Myers <joseph@codesourcery.com>
18863
28361c5e
JM
18864 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18865 [!_G_USING_THUNKS]: Remove conditional code.
18866 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18867 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18868
0e886ef9
JM
18869 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18870 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18871 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18872 (_G_VTABLE_LABEL_PREFIX): Likewise.
18873 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18874 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18875 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18876 (_G_VTABLE_LABEL_PREFIX): Likewise.
18877 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18878 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18879 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18880 (_G_VTABLE_LABEL_PREFIX): Likewise.
18881 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18882
bcba7aa2
L
188832012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18884
18885 * libio/Makefile: Include ../Makeconfig before tests.
18886 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18887 only if $(build-shared) is yes.
18888
06585ee8
L
18889 * iconv/gconv_db.c: Update copyright years.
18890
80ccd52c
LD
188912012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18892
18893 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18894 unwind info if defined PIC. Fix special cases description.
18895 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18896
18897 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18898 DP_HI_MASK entry.
18899 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18900
691bc9c1
L
189012012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18902
3d9b46b3
L
18903 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18904
de2139a9
L
18905 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18906 is NULL.
18907
5ca78dd0
L
18908 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18909 (LDLIBS-tst-chk4): This.
18910 (LDFLAGS-tst-chk5): Renamed to ...
18911 (LDLIBS-tst-chk5): This.
18912 (LDFLAGS-tst-chk6): Renamed to ...
18913 (LDLIBS-tst-chk6): This.
18914 (LDFLAGS-tst-lfschk4): Renamed to ...
18915 (LDLIBS-tst-lfschk4): This.
18916 (LDFLAGS-tst-lfschk5): Renamed to ...
18917 (LDLIBS-tst-lfschk5): This.
18918 (LDFLAGS-tst-lfschk6): Renamed to ...
18919 (LDLIBS-tst-lfschk6): This.
18920
691bc9c1
L
18921 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18922 on $(common-objpfx)soversions.mk.
18923
65cafb1c
JM
189242012-09-07 Joseph Myers <joseph@codesourcery.com>
18925
18926 [BZ #10014]
18927 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18928 example host name.
18929
c78ab094
SP
189302012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18931
18932 * malloc/arena.c (arena_get_retry): New function that gets
18933 another arena for the caller to try its request on.
18934 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18935 current arena cannot fulfill the request.
18936 (__libc_memalign): Likewise.
18937 (__libc_memalign): Likewise.
18938 (__libc_pvalloc): Likewise.
18939 (__libc_calloc): Likewise.
18940
01f49f59
JT
189412012-09-05 John Tobey <john.tobey@gmail.com>
18942
18943 [BZ #13542]
18944 * manual/arith.texi (Operations on Complex): Fix description
18945 of carg branch cut.
18946
4c23fed5
JM
189472012-09-06 Joseph Myers <joseph@codesourcery.com>
18948
1d3c8572
JM
18949 [BZ #10014]
18950 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18951 host name.
18952
4c23fed5
JM
18953 [BZ #10038]
18954 * manual/memory.texi (Memory): Make order of menu items match
18955 order of sections.
18956
04570aaa
L
189572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18958
18959 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18960 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18961 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18962
b80af2f4
L
189632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18964
18965 * csu/libc-tls.c (static_dtv): Renamed to ...
18966 (_dl_static_dtv): This. Make it global.
18967 (_dl_initial_dtv): Removed.
18968 (__libc_setup_tls): Updated.
18969 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18970 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18971 DL_INITIAL_DTV.
18972
2abe9f15
PM
189732012-09-06 Petr Machata <pmachata@redhat.com>
18974
18975 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18976 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18977 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18978 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18979
0948c3af
L
189802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18981
18982 [BZ #14545]
18983 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18984 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18985 freeing dtv[-1].
18986
a5055ad1
L
189872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18988
18989 [BZ #14544]
18990 * Makeconfig (link-static-before-libc): Replace $(+prector)
18991 with $(+prectorT).
18992 (link-static-after-libc): Replace $(+postctor) with
18993 $(+postctorT).
18994 (link-bounded): Replace $(+prector)/$(+postctor) with
18995 $(+prectorT)/$(+postctorT).
18996 (+prectorT): New macro.
18997 (+postctorT): Likewise.
18998
ed8c2ecd
JM
189992012-09-06 Joseph Myers <joseph@codesourcery.com>
19000
19001 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19002 (round_str): Handle values above the maximum for IBM long double
19003 as inexact.
19004 * stdlib/tst-strtod-round.c (tests): Regenerated.
19005
14c996c8
AK
190062012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19007
19008 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19009 assembler flag.
19010 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19011 zarch_nohighgprs around the zarch optimized routines.
19012 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19013 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19014 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19015 for zarch.
19016
430d6ce6
DM
190172012-09-05 David S. Miller <davem@davemloft.net>
19018
19019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19020
ff04dda4
DM
19021 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19022 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19023 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19024 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19025 entries.
19026
24d4e01b
AO
190272012-09-05 Alexandre Oliva <aoliva@redhat.com>
19028
19029 * malloc/arena.c: Fold copyright years.
19030 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19031
61d58174
AO
190322012-09-05 Alexandre Oliva <aoliva@redhat.com>
19033
19034 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19035
20196a5e
AO
190362012-09-05 Alexandre Oliva <aoliva@redhat.com>
19037
19038 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19039
5c447383
AO
190402012-09-05 Alexandre Oliva <aoliva@redhat.com>
19041
19042 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19043 change internal state upon failure.
19044
fad64255
AO
190452012-09-05 Alexandre Oliva <aoliva@redhat.com>
19046
19047 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19048 * malloc/memusage.c (mmap): Likewise.
19049 (mmap64, mremap): Likewise. Adjust name in comment.
19050
1ffb8c90
SP
190512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19052
19053 * libio/fileops.c: Fix typos in comments.
19054 * libio/oldfileops.c: Likewise.
19055 * libio/wfileops.c: Likewise.
19056
6ef9cc37
SP
190572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19058
19059 [BZ #1349]
19060 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19061 (tst-malloc-usable-ENV): Set environment for test case.
19062 * malloc/hooks.c (malloc_check_get_size): New function to get
19063 requested size.
19064 * malloc/malloc.c (musable): Use malloc_check_get_size.
19065 * malloc/tst-malloc-usable.c: New test case.
19066
4d038ae3
AS
190672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19068
19069 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19070
c4e85184
AM
190712012-09-05 Allan McRae <allan@archlinux.org>
19072
b9dafc56 19073 [BZ #13966]
c4e85184
AM
19074 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19075 determine header location.
19076 * configure: Regenerated.
19077
e1343020
AS
190782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19079
19080 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19081 float format.
19082 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19083 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19084 format.
e1343020
AS
19085 (test): Regenerate.
19086
0a9f1987
DM
190872012-09-04 David S. Miller <davem@davemloft.net>
19088
19089 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19090 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19091 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19092
29237804
FW
190932012-09-04 Florian Weimer <fweimer@redhat.com>
19094
19095 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19096 failures.
19097
edb3cb88
FW
19098 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19099
60160d83
JM
191002012-09-04 Joseph Myers <joseph@codesourcery.com>
19101
19102 [BZ #9914]
19103 * libio/iogetdelim.c: Include <limits.h>.
19104 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19105 + len + 1 would overflow.
19106
bcd6c8dc
AJ
191072012-09-03 Andreas Jaeger <aj@suse.de>
19108
19109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19110 * sysdeps/i386/fpu/libm-test-ulps: Update.
19111
4ffffbd2
LD
191122012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19113
19114 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19115 Add s_sinf-sse2, s_conf-sse2.
19116
19117 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19118 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19119 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19120 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19121
19122 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19123 for using routine as __sinf_ia32.
19124 Use macro for function declaration and weak_alias.
19125 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19126 for using routine as __cosf_ia32.
19127 Use macro for function declaration and weak_alias.
19128
19129 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19130 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19131
19132 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19133 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19135
19136 * math/libm-test.inc (cos_test): Add more test cases.
19137 (sin_test): Likewise.
19138 (sincos_test): Likewise.
19139
511fa286
AK
191402012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19141
19142 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19143 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19144 hidden.
19145 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19146
5f30cfec
L
191472012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19148
19149 [BZ #14538]
19150 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19151 first element of the GOT.
19152 (elf_machine_load_address): Return the difference between
19153 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19154
0786794f
AM
191552012-09-01 Allan McRae <allan@archlinux.org>
19156
5f30cfec
L
19157 [BZ #13412]
19158 * configure.in (AWK): Require gawk version 3.0 or later.
19159 * configure: Regenerated.
0786794f 19160
26889eac
JM
191612012-09-01 Joseph Myers <joseph@codesourcery.com>
19162
19163 * sysdeps/unix/sysv/linux/kernel-features.h
19164 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19165 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19166 [__NR_clock_getres]: Make code unconditional.
19167 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19168 (clock_getcpuclockid): Remove code left unreachable by removal of
19169 conditionals.
19170 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19171 code unconditional.
19172 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19173 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19174 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19175 Make code unconditional.
19176 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19177 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19178 * sysdeps/unix/sysv/linux/clock_settime.c
19179 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19180 conditional code.
19181 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19182 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19183
d22e28b0
L
191842012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19185
19186 [BZ #14476]
19187 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19188 scripts/test-installation.pl.
19189
19190 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19191 and $ld_so_version if it is set.
19192
050af9c4
SP
191932012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19194
19195 [BZ #14516]
19196 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19197 failure if reading from procfs failed.
19198 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19199
ad845c0b
JM
192002012-08-27 Joseph Myers <joseph@codesourcery.com>
19201
19202 * sysdeps/unix/sysv/linux/kernel-features.h
19203 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19204 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19205 Remove conditional code.
19206 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19207 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19208 Remove conditional code.
19209 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19210 * sysdeps/unix/sysv/linux/i386/fxstat.c
19211 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19212 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19213 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19214 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19215 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19216 * sysdeps/unix/sysv/linux/i386/lxstat.c
19217 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19218 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19219 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19220 Remove conditional code.
19221 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19222 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19223 Remove conditional code.
19224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19225 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19226 <kernel-features.h>.
19227 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19228 Remove.
19229 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19230 Remove conditional code.
19231 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19232 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19233 Remove conditional.
19234
5dbf56af
MF
192352012-08-27 Mike Frysinger <vapier@gentoo.org>
19236
19237 [BZ #5400]
19238 * NEWS: Add fixed bug number.
19239
d6e70f43
JM
192402012-08-27 Joseph Myers <joseph@codesourcery.com>
19241
7efb4737
JM
19242 [BZ #14519]
19243 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19244 underflowing exponent in case of negative sign.
19245 * stdlib/tst-strtod-round-data: Add more tests.
19246 * stdlib/tst-strtod-round.c (tests): Regenerated.
19247
af92131a
JM
19248 [BZ #3479]
19249 * stdlib/strtod_l.c (NDIG): Remove.
19250 (HEXNDIG): Likewise.
19251 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19252 smallest representable value.
19253 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19254 lie within an exact representation of 1/2 ulp of the result.
19255 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19256 unconditionally.
19257 (TENS_P9_IDX): Define unconditionally.
19258 (TENS_P9_SIZE): Likewise.
19259 (TENS_P10_IDX): Likewise.
19260 (TENS_P10_SIZE): Likewise.
19261 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19262 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19263 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19264 entries for 10^2^13 and 10^2^14.
19265 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19266 (TENS_P13_IDX): Define.
19267 (TENS_P13_SIZE): Likewise.
19268 (TENS_P14_IDX): Likewise.
19269 (TENS_P14_SIZE): Likewise.
19270 (_fpioconst_pow10): Change array size to
19271 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19272 unconditional.
19273 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19274 1024]: Add entries for 10^2^13 and 10^2^14.
19275 [LAST_POW10 > _LAST_POW10]: Remove #error.
19276 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19277 (_fpioconst_pow10): Change array size to
19278 FPIOCONST_POW10_ARRAY_SIZE.
19279 * stdlib/gen-fpioconst.c: New file.
19280 * stdlib/gen-tst-strtod-round.c: Likewise.
19281 * stdlib/tst-strtod-round-data: Likewise.
19282 * stdlib/tst-strtod-round.c: Likewise.
19283 * stdlib/Makefile (tests): Add tst-strtod-round.
19284
d6e70f43
JM
19285 [BZ #14459]
19286 * stdlib/strtod_l.c: Include <stdint.h>.
19287 (NDEBUG): Do not define.
19288 (round_and_return): Change EXPONENT parameter to type intmax_t.
19289 Rearrange calculations to avoid internal overflow possibilities.
19290 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19291 Rearrange calculations to avoid internal overflow possibilities.
19292 Assert that number fits inside MPNSIZE limbs.
19293 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19294 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19295 calculations and add assertions to avoid internal overflow
19296 possibilities. Add casts to avoid signed/unsigned operations.
19297 * stdlib/tst-strtod-overflow.c: New file.
19298 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19299
1f529f7d
MP
193002012-08-25 Marek Polacek <polacek@redhat.com>
19301
19302 * time/time.h: Fix some typos in comments.
19303
59a629f1
RM
193042012-08-23 Roland McGrath <roland@hack.frob.com>
19305
19306 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19307 * posix/tst-rfc3484-2.c: Likewise.
19308 * posix/tst-rfc3484-3.c: Likewise.
19309
d3bafbc9
SM
193102012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19311
19312 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19313 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19314
4efcc022
JM
193152012-08-23 Joseph Myers <joseph@codesourcery.com>
19316
19317 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19318 #include of fxstatat64.c.
19319
3cc3ef96
RM
193202012-08-22 Roland McGrath <roland@hack.frob.com>
19321
f04e2132
RM
19322 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19323 * shadow/getspent_r.c: Likewise.
19324 * shadow/getspnam.c: Likewise.
19325 * shadow/getspnam_r.c: Likewise.
19326 * gshadow/getsgent.c: Likewise.
19327 * gshadow/getsgent_r.c: Likewise.
19328 * gshadow/getsgnam.c: Likewise.
19329 * gshadow/getsgnam_r.c: Likewise.
19330 * inet/getnetbyad.c: Likewise.
19331 * inet/getnetbyad_r.c: Likewise.
19332 * inet/getnetbynm.c: Likewise.
19333 * inet/getnetbynm_r.c: Likewise.
19334 * inet/getnetent.c: Likewise.
19335 * inet/getnetent_r.c: Likewise.
19336 * inet/getproto.c: Likewise.
19337 * inet/getproto_r.c: Likewise.
19338 * inet/getprtent.c: Likewise.
19339 * inet/getprtent_r.c: Likewise.
19340 * inet/getprtname.c: Likewise.
19341 * inet/getprtname_r.c: Likewise.
19342 * inet/getrpcbyname.c: Likewise.
19343 * inet/getrpcbyname_r.c: Likewise.
19344 * inet/getrpcbynumber.c: Likewise.
19345 * inet/getrpcbynumber_r.c: Likewise.
19346 * inet/getrpcent.c: Likewise.
19347 * inet/getrpcent_r.c: Likewise.
19348 * inet/getaliasent.c: Likewise.
19349 * inet/getaliasent_r.c: Likewise.
19350 * inet/getaliasname.c: Likewise.
19351 * inet/getaliasname_r.c: Likewise.
19352 * nscd/getgrgid_r.c: Likewise.
19353 * nscd/getgrnam_r.c: Likewise.
19354 * nscd/gethstbyad_r.c: Likewise.
19355 * nscd/gethstbynm3_r.c: Likewise.
19356 * nscd/getpwnam_r.c: Likewise.
19357 * nscd/getpwuid_r.c: Likewise.
19358 * nscd/getsrvbynm_r.c: Likewise.
19359 * nscd/getsrvbypt_r.c: Likewise.
19360 * nscd/gai.c: Likewise.
19361
c53d909c
RM
19362 * configure.in (build_nscd): New substituted variable, set
19363 by --disable-build-nscd and defaults to $use_nscd.
19364 * configure: Regenerated.
19365 * config.make.in (build-nscd): New substituted variable.
19366 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19367 Change conditional to require [$(build-nscd) = yes] as well.
19368 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19369
3cc3ef96
RM
19370 [BZ# 13696]
19371 * configure.in (use_nscd): New substituted variable, set by
19372 --disable-nscd. If enabled, define USE_NSCD.
19373 * configure: Regenerated.
19374 * config.h.in: Add USE_NSCD.
19375 * config.make.in (use-nscd): New substituted variable.
19376 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19377 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19378 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19379 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19380 (CFLAGS-getgrnam_r.c): Likewise.
19381 (CFLAGS-initgroups.c): Likewise.
19382 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19383 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19384 Variables removed.
19385 * inet/getnetgrent_r.c
19386 (nscd_setnetgrent): New function, broken out of ...
19387 (setnetgrent): ... here. Call it.
19388 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19389 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19390 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19391 * nscd/Makefile (routines, aux): Move definitions after include of
19392 Makeconfig. Conditionalize on [$(use-nscd) != no].
19393 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19394 Conditionalize on [USE_NSCD].
19395 (is_nscd, nscd_init_cb): Likewise.
19396 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19397 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19398 * nss/nss_db/db-init.c: Likewise.
19399 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19400 [USE_NSCD].
19401 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19402 (make_request): Use it.
19403 (cache_valid_p): New function.
19404 (__check_pf): Use it.
19405 * NEWS: Add item for --disable-nscd.
19406
07e51550
DL
194072012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19408
19409 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19410 to support sed >= 4.2.1-20-ga9bf076.
19411 * configure: Regenerated.
19412
35a5b08b
RM
194132012-08-22 Roland McGrath <roland@hack.frob.com>
19414
19415 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19416 Conditionalize whole body on [IREL].
19417
8479f23a
JL
194182012-08-22 Jeff Law <law@redhat.com>
19419
19420 [BZ #14505]
19421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19422 if the family is PF_UNSPEC.
19423
48da0b21
MF
194242012-08-22 Mike Frysinger <vapier@gentoo.org>
19425
19426 * Makerules (lib-version): Rename from V.
19427 (install-lib-nosubdir): Change V to lib-version.
19428
15d0da8c
WS
194292012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19430
19431 [BZ #14252]
19432 * powerpc32/power6/wcschr.c: New file.
19433 * powerpc32/power6/wcscpy.c: New file.
19434 * powerpc32/power6/wcsrchr.c: New file.
19435 * powerpc64/power6/wcschr.c: New file.
19436 * powerpc64/power6/wcscpy.c: New file.
19437 * powerpc64/power6/wcsrchr.c: New file.
19438
bcca0895
MK
194392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19440
19441 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19442 (two_way_short_needle): Use it.
5a4aaa33
RM
19443 * string/strstr.c (AVAILABLE1_USES_J): Define.
19444 * string/strcasestr.c: Likewise.
99677e57
MK
19445
19446 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19447 array references.
19448 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19449
400726de
MK
19450 [BZ #11607]
19451 * NEWS: Add an entry.
19452 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19453 define their defaults.
19454 (two_way_short_needle): Detect end-of-string on-the-fly.
19455 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19456 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19457 * string/bug-strcasestr1.c: New test.
19458 * string/Makefile: Run it.
19459
20a71f2c
MK
194602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19461
19462 [BZ #11607]
19463 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19464 the first character.
19465
21ad0558
RM
194662012-08-21 Roland McGrath <roland@hack.frob.com>
19467
19468 * csu/elf-init.c (__libc_csu_irel): Function removed.
19469 * csu/libc-start.c (apply_irel): New function.
19470 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19471
0e1d9911
JM
194722012-08-21 Joseph Myers <joseph@codesourcery.com>
19473
19474 * sysdeps/unix/sysv/linux/kernel-features.h
19475 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19476 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19477 <kernel-features.h>.
19478 [__NR_fadvise64_64]: Make code unconditional.
19479 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19480 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19481 !__NR_fadvise64_64)]: Likewise.
19482 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19483 !__NR_fadvise64_64))]: Likewise.
19484 [__NR_fadvise64]: Make code unconditional.
19485 [!__NR_fadvise64]: Remove conditional code.
19486 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19487 <kernel-features.h>.
19488 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19489 unconditional.
19490 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19491 conditional code.
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19493 not include <kernel-features.h>.
19494 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19495 unconditional.
19496 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19497 conditional code.
19498 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19499 include <kernel-features.h>.
19500 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19501 unconditional.
19502 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19503 conditional code.
19504
14a50c9d
WS
195052012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19506
19507 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19508 slight instruction rearrangements per scrollpipe analysis.
19509 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19510
c0f4faf0
RM
195112012-08-20 Roland McGrath <roland@hack.frob.com>
19512
696da859
RM
19513 * manual/syslog.texi (syslog; vsyslog, closelog):
19514 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19515 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19516
c0f4faf0
RM
19517 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19518 DSOCAPS to match condition on defining it.
19519
348363b2
JM
195202012-08-20 Joseph Myers <joseph@codesourcery.com>
19521
a35cbf28
JM
19522 * sysdeps/unix/sysv/linux/kernel-features.h
19523 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19525 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19526 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19528 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19529 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19531 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19532 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19533
445f7ecd
JM
19534 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19535 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19536
348363b2
JM
19537 * sysdeps/unix/sysv/linux/kernel-features.h
19538 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19539 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19540 unconditional.
19541 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19542 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19543 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19544 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19545 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19546 Make code unconditional.
19547 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19548 (__mmap64) [!__NR_mmap2]: Likewise.
19549 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19550 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19551 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19552 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19553 [__NR_mmap2]: Make code unconditional.
19554 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19555 (__mmap64) [!__NR_mmap2]: Likewise.
19556
bc5bc0e5
AK
195572012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19558
19559 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19560
88d506de
AJ
195612012-08-18 Andreas Jaeger <aj@suse.de>
19562
19563 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19564
493387d2
MF
195652012-08-18 Mike Frysinger <vapier@gentoo.org>
19566
19567 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19568 * include/unistd.h (__have_sock_cloexec): Likewise.
19569 (__have_pipe2): Likewise.
19570 (__have_dup3): Likewise.
19571
a277af22
MF
195722012-08-18 Mike Frysinger <vapier@gentoo.org>
19573
19574 [BZ #9685]
19575 * include/unistd.h (__have_pipe2): Change define into an extern int.
19576 (__have_dup3): Likewise.
19577 * socket/have_sock_cloexec.c: Include fcntl.h.
19578 (__have_pipe2): New variable.
19579 (__have_dup3): Likewise.
19580
fdab8fd3
MF
195812012-08-17 Mike Frysinger <vapier@gentoo.org>
19582
19583 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19584
31035e80
MP
195852012-08-17 Marek Polacek <polacek@redhat.com>
19586
19587 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19588 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19589
3bd9e993
RM
195902012-08-17 Roland McGrath <roland@hack.frob.com>
19591
c91c505f
RM
19592 * configure.in: Add AC_SUBST for sysheaders.
19593 * configure: Regenerated.
19594 * config.make.in (sysheaders): New substituted variable.
19595
7c6f9d53
RM
19596 * sysdeps/unix/mkfifo.c: Moved ...
19597 * sysdeps/posix/mkfifo.c: ... here.
19598 * sysdeps/unix/mkfifoat.c: Moved ...
19599 * sysdeps/posix/mkfifoat.c: ... here.
19600
19601 * sysdeps/unix/utime.c: Moved ...
19602 * sysdeps/posix/utime.c: ... here.
19603
19604 * sysdeps/unix/time.c: Moved ...
19605 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19606 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19607 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19608
19609 * sysdeps/unix/nice.c: Moved ...
19610 * sysdeps/posix/nice.c: ... here.
19611
19612 * sysdeps/unix/alarm.c: Moved ...
19613 * sysdeps/posix/alarm.c: ... here.
19614
3bd9e993
RM
19615 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19616
d1f09384
JL
196172012-08-17 Jeff Law <law@redhat.com>
19618
19619 * intl/Makefile (codeset_mo): New variable.
19620 ($(codeset_mo)): New target.
19621 (tst-codeset.out): Depend on that. Remove explicit rule.
19622 (tst-gettext3.out, tst-gettext5.out): Likewise.
19623 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19624 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19625 * intl/tst-codeset.sh: Remove.
19626 * intl/tst-gettext3.sh: Likewise.
19627 * intl/tst-gettext5.sh: Likewise.
19628
2ae1ae5c
RM
196292012-08-17 Roland McGrath <roland@hack.frob.com>
19630
c31fdb83
RM
19631 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19632 * sysdeps/unix/syscalls.list: ... here.
19633
a0844057
RM
19634 * sysdeps/posix/getaddrinfo.c
19635 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19636 (gaiconf_init, gaiconf_reload): Use them.
19637 [!_STATBUF_ST_NSEC]
19638 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19639 Define using time_t rather than struct timespec.
19640
750c1f2a
RM
19641 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19642 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19643 Macros removed.
19644 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19645 [!NO_THREADS].
19646 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19647 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19648 Likewise.
19649
2ae1ae5c
RM
19650 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19651 __libc_cleanup_push argument.
19652
e66a42f5
RM
19653 * bits/param.h: New file.
19654 * misc/sys/param.h: New file.
19655 * include/sys/param.h: New file.
19656 * misc/Makefile (headers): Add bits/param.h.
19657 * sysdeps/generic/sys/param.h: File removed.
19658 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19659 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19660 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19661 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19662
b7c08a66
RM
19663 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19664 last change.
19665
b2e1c562
RM
19666 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19667 [_IO_MTSAFE_IO].
19668 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19669 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19670 New macros.
19671
c75ccd4c
RM
19672 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19673 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19674 rather than -D_IO_MTSAFE_IO conditionally.
19675 * stdio-common/Makefile (CPPFLAGS): Likewise.
19676 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19677 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19678 Use $(libio-mtsafe).
19679 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19680 of -D_IO_MTSAFE_IO.
19681 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19682 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19683 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19684 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19685 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19686 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19687 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19688 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19689 (CFLAGS-fread_u_chk.c): Likewise.
19690 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19691 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19692 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19693 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19694 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19695 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19696 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19697 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19698 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19699
19700 * libio/Makefile: Test [$(libc-reentrant) = yes]
19701 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19702
19703 * Makeconfig
19704 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19705 * sysdeps/pthread/configure: File removed.
19706 * sysdeps/pthread/Makeconfig: New file.
19707 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19708 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19709
d9195db8
GB
197102012-08-16 Gary Benson <gbenson@redhat.com>
19711
19712 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19713 unmapping the first object in a namespace.
19714
86466cd9
RM
197152012-08-16 Roland McGrath <roland@hack.frob.com>
19716
19717 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19718 (__internal_setnetgrent): ... this. Add internal_function to
19719 definition. Add libc_hidden_def.
19720 (setnetgrent): Update caller.
19721 (internal_endnetgrent): Renamed to ...
19722 (__internal_endnetgrent): ... this. Add internal_function to
19723 definition. Add libc_hidden_def.
19724 (endnetgrent): Update caller.
19725 (internal_getnetgrent_r): Renamed to ...
19726 (__internal_getnetgrent_r): ... this. Add internal_function to
19727 definition. Add libc_hidden_def.
19728 (__getnetgrent_r): Update caller.
19729 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19730
c3c8283c
JM
197312012-08-16 Joseph Myers <joseph@codesourcery.com>
19732
19733 * stdlib/longlong.h: Update from GCC.
19734
db1ee0a8
RM
197352012-08-16 Roland McGrath <roland@hack.frob.com>
19736
19737 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19738 on _QL, which is set by umul_ppmm but never used.
19739 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19740 variables, which are set by GMP macros but never used.
19741 * stdio-common/_itowa.c (_itowa): Likewise.
19742 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19743 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19744
30f69637
CD
197452012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19746
19747 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19748 struct La_sh_regs is not constant.
19749 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19750 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19751 and struct La_sparc64_regs are not constant.
19752
93a78ac4
JM
197532012-08-16 Joseph Myers <joseph@codesourcery.com>
19754
19755 * sysdeps/unix/sysv/linux/kernel-features.h
19756 (__ASSUME_POSIX_TIMERS): Remove.
19757 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19758 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19759 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19760 Make code unconditional.
19761 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19762 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19763 Make code unconditional.
19764 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19765 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19766 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19767 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19768 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19769 Make code unconditional.
19770 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19771 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19772 (__libc_missing_posix_timers): Remove.
19773
dd924cd7
RM
197742012-08-15 Roland McGrath <roland@hack.frob.com>
19775
4b4f2771
RM
19776 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19777 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19778
601c888b
RM
19779 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19780
176790a7
RM
19781 * elf/dl-sym.c: Include <stdlib.h>.
19782
329bc018
RM
19783 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19784 constants, which avoids warnings in 32-bit builds.
19785
e04e272d
RM
19786 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19787 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19788
952bf94a
RM
19789 * misc/lseek.c: File moved to ...
19790 * io/lseek.c: ... here.
19791
7c99b50a
RM
19792 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19793
dd924cd7
RM
19794 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19795 shifting LEN more than 31 bits at once.
19796
b3f479a8
LD
197972012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19798
19799 [BZ #14195]
8c4ae0d4
RM
19800 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19801 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19802 * string/test-strncasecmp.c (check1): Renamed to...
19803 (bz12205): ...this.
19804 (bz14195): Add new testcase for two empty input strings and N > 0.
19805 (test_main): Call new testcase, adapt for renamed function.
19806
9c55864e
AJ
198072012-08-15 Andreas Jaeger <aj@suse.de>
19808
19809 [BZ #14090]
19810 * crypt/md5test2.c: New test, based on test supplied by Serge
19811 Belyshev <belyshev@depni.sinp.msu.ru>.
19812 * crypt/Makefile (xtests): Add md5test-giant..
19813 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19814
02dcb6c5
PE
198152012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19816
19817 [BZ #14090]
19818 * crypt/md5.c (md5_process_block): Don't assume the buffer
19819 length is less than 2**32.
19820 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19821 length is less than 2**64.
19822
a3f95dcc
RM
198232012-08-15 Roland McGrath <roland@hack.frob.com>
19824
be75d758
RM
19825 * string/str-two-way.h: Include <sys/param.h>.
19826 (MAX): Macro removed.
19827
7312ca90
RM
19828 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19829 Move #define and #undef of memmove to just before and after
19830 including <string.h>.
19831
9a0a5486
RM
19832 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19833 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19834 and after including <string.h>. Move declarations of
19835 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19836 to before #include "string/memmove.c".
19837
67cc348d
RM
19838 * include/dirent.h: Declare __getdirentries.
19839
a3f95dcc
RM
19840 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19841 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19842
ca98e171
MF
198432012-08-14 Mike Frysinger <vapier@gentoo.org>
19844
19845 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19846 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19847 * sysdeps/i386/configure: Regenerated.
19848 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19849 STABS_CURRENT_FILE, and STABS_FUN.
19850 (END): Remove call to STABS_FUN_END.
19851 (STABS_CURRENT_FILE1): Delete.
19852 (STABS_CURRENT_FILE): Likewise.
19853 (STABS_FUN): Likewise.
19854 (STABS_FUN_END): Likewise.
19855 (STABS_FUN2): Likewise.
19856 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19857 * sysdeps/x86_64/configure: Regenerated.
19858
5908bf46
RM
198592012-08-14 Roland McGrath <roland@hack.frob.com>
19860
19861 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19862 * elf/dl-lookup.c: Likewise.
5908bf46 19863
f2c05b9e
JM
198642012-08-14 Joseph Myers <joseph@codesourcery.com>
19865
19866 * sysdeps/unix/sysv/linux/kernel-features.h
19867 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19868 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19869 unconditionally.
19870 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19871 unconditionally.
19872 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19873 condition on __ASSUME_CLONE_THREAD_FLAGS.
19874
e11f5155
AJ
198752012-08-14 Andreas Jaeger <aj@suse.de>
19876
19877 * sysdeps/i386/fpu/libm-test-ulps: Update.
19878
51a9ba86
MK
198792012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19880
2fdd4f78
AJ
19881 * include/atomic.h (atomic_exchange_and_add): Split into ...
19882 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19883 New atomic macros.
51a9ba86 19884
ba6cba9e
MT
198852012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19886
19887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19888
42443a47
JL
198892012-08-13 Jeff Law <law@redhat.com>
19890
19891 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19892 null byte in the output string.
19893
121dce05
JM
198942012-08-10 Joseph Myers <joseph@codesourcery.com>
19895
19896 * sysdeps/unix/sysv/linux/kernel-features.h
19897 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19898 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19899 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19900 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19901 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19902 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19903 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19904
bf51f568
JL
199052012-08-09 Jeff Law <law@redhat.com>
19906
19907 [BZ #13939]
19908 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19909 When avoid_arena is set, don't retry in the that arena. Pick the
19910 next one, whatever it might be.
19911 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19912 (arena_lock): Pass in new parameter to arena_get2.
19913 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19914 arena_get2.
19915 (__libc_malloc): Unify retrying after main arena failure with
19916 __libc_memalign version.
19917 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19918
f85fa270
L
199192012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19920
19921 [BZ #14166]
19922 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19923 to __redirect_strstr.
19924 (__strstr_sse42): Use typeof __redirect_strstr.
19925 (__strstr_ia32): Likewise.
19926 (__libc_strstr): New prototype.
19927 (strstr): Renamed to ...
19928 (__libc_strstr): This.
19929 (strstr): New strong alias of __libc_strstr.
19930 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19931 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19932 __redirect_time.
19933 Include <time.h>.
19934 (__libc_time): New prototype.
19935 (time_ifunc): Replace time with __libc_time.
19936 (time): New strong alias and hidden definition of __libc_time.
19937 (__GI_time): Remove strong alias.
19938 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19939 Include <stddef.h>.
19940 (memmove): Redefined to __redirect_memmove.
19941 (__memmove_sse2): Use typeof __redirect_memmove.
19942 (__memmove_ssse3): Likewise.
19943 (__memmove_ssse3_back): Likewise.
19944 (__libc_memmove): New prototype.
19945 (memmove): Renamed to ...
19946 (__libc_memmove): This.
19947 (memmove): New strong alias of __libc_memmove.
19948
33b4a91e
MS
199492012-08-08 Mark Salter <msalter@redhat.com>
19950
19951 * elf/elf.h
19952 (R_MN10300_TLS_GD): Define.
19953 (R_MN10300_TLS_LD): Likewise.
19954 (R_MN10300_TLS_LDO): Likewise.
19955 (R_MN10300_TLS_GOTIE): Likewise.
19956 (R_MN10300_TLS_IE): Likewise.
19957 (R_MN10300_TLS_LE): Likewise.
19958 (R_MN10300_TLS_DTPMOD): Likewise.
19959 (R_MN10300_TLS_DTPOFF): Likewise.
19960 (R_MN10300_TLS_TPOFF): Likewise.
19961 (R_MN10300_SYM_DIFF): Likewise.
19962 (R_MN10300_ALIGN): Likewise.
19963 (R_MN10300_NUM): Update.
19964
b36137f1
JM
199652012-08-08 Joseph Myers <joseph@codesourcery.com>
19966
19967 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19968 Remove.
19969
cdd915fd
RM
199702012-08-08 Roland McGrath <roland@hack.frob.com>
19971
a2433aac
RM
19972 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19973
cdd915fd
RM
19974 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19975 sysdeps/unix -> sysdeps/posix move.
19976 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19977
bf9b740a
AM
199782012-08-07 Allan McRae <allan@archlinux.org>
19979
19980 [BZ #14303]
19981 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19982 (SUNOS_CPP): Likewise.
19983 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19984 not found.
19985 (open_input): Call CPP using execvp.
19986
93df14ee
JM
199872012-08-07 Joseph Myers <joseph@codesourcery.com>
19988
19989 * sysdeps/unix/sysv/linux/kernel-features.h
19990 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19991 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19992 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19993 (__ASSUME_WAITID_SYSCALL): Likewise.
19994 * sysdeps/unix/sysv/linux/dl-execstack.c
19995 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19996 code unconditional.
19997 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19998 conditional code.
19999 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20000 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20001 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20002 code.
20003 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20004 unconditional.
20005 [__ASSUME_WAITID_SYSCALL]: Likewise.
20006 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20007
d34689de
RM
200082012-08-07 Roland McGrath <roland@hack.frob.com>
20009
a281decc
RM
20010 * sysdeps/unix/closedir.c: Renamed to ...
20011 * sysdeps/posix/closedir.c: ... here.
20012 * sysdeps/unix/dirfd.c: Renamed to ...
20013 * sysdeps/posix/dirfd.c: ... here.
20014 * sysdeps/unix/dirstream.h: Renamed to ...
20015 * sysdeps/posix/dirstream.h: ... here.
20016 * sysdeps/unix/fdopendir.c: Renamed to ...
20017 * sysdeps/posix/fdopendir.c: ... here.
20018 * sysdeps/unix/opendir.c: Renamed to ...
20019 * sysdeps/posix/opendir.c: ... here.
20020 * sysdeps/unix/readdir.c: Renamed to ...
20021 * sysdeps/posix/readdir.c: ... here.
20022 * sysdeps/unix/readdir_r.c: Renamed to ...
20023 * sysdeps/posix/readdir_r.c: ... here.
20024 * sysdeps/unix/rewinddir.c: Renamed to ...
20025 * sysdeps/posix/rewinddir.c: ... here.
20026 * sysdeps/unix/seekdir.c: Renamed to ...
20027 * sysdeps/posix/seekdir.c: ... here.
20028 * sysdeps/unix/telldir.c: Renamed to ...
20029 * sysdeps/posix/telldir.c: ... here.
20030 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20031 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20032 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20033 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20034
22895b47
RM
20035 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20036 * bits/fcntl.h: ... here.
20037
707a53b6
RM
20038 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20039 not 0.
20040 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20041 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20042 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20043 (struct flock): Move l_start, l_len to the beginning.
20044 Use __pid_t for l_pid.
20045 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20046 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20047 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20048 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20049 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20050 [__USE_LARGEFILE64] (struct flock64): New type.
20051 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20052
f0bd3e25
RM
20053 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20054 * bits/dirent.h: ... here.
20055
d34689de
RM
20056 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20057 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20058
6dad2c06
JM
200592012-08-07 Joseph Myers <joseph@codesourcery.com>
20060
20061 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20062 Change from 2.6.0 to 2.6.16.
20063 * sysdeps/unix/sysv/linux/configure: Regenerated.
20064 * sysdeps/unix/sysv/linux/kernel-features.h
20065 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20066 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20067 version.
20068 (__ASSUME_UTIMES): Likewise.
20069 (__ASSUME_CLONE_STOPPED): Remove.
20070 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20071 architectures, not kernel version.
20072 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20073 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20074 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20075 (__ASSUME_WAITID_SYSCALL): Likewise.
20076 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20077 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20078 * README: State 2.6.16 as minimum Linux kernel version. Do not
20079 refer to older versions.
20080
03af9520
RM
200812012-08-06 Roland McGrath <roland@hack.frob.com>
20082
8e49df1d
RM
20083 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20084 Define alphasort64 as an alias.
20085 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20086 Define versionsort64 as an alias.
20087 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20088 Define scandir64 as an alias.
20089 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20090 Define scandirat64 as an alias.
20091 * dirent/alphasort64.c (alphasort64):
20092 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20093 * dirent/versionsort64.c: Likewise.
20094 * dirent/scandir64.c: Likewise.
20095 * dirent/scandirat64.c: Likewise.
20096 * sysdeps/wordsize-64/alphasort.c: File removed.
20097 * sysdeps/wordsize-64/alphasort64.c: File removed.
20098 * sysdeps/wordsize-64/scandir.c: File removed.
20099 * sysdeps/wordsize-64/scandir64.c: File removed.
20100 * sysdeps/wordsize-64/scandirat.c: File removed.
20101 * sysdeps/wordsize-64/scandirat64.c: File removed.
20102 * sysdeps/wordsize-64/versionsort.c: File removed.
20103 * sysdeps/wordsize-64/versionsort64.c: File removed.
20104 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20105 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20106 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20107 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20108 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20109 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20110 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20111 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20112
20113 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20115 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20116 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20117 [defined __arch64__ || defined __sparcv9]
20118 (__INO_T_MATCHES_INO64_T): New macro.
20119 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20120 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20121 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20122 * sysdeps/unix/sysv/linux/bits/dirent.h
20123 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20124 (_DIRENT_MATCHES_DIRENT64): New macro.
20125
03af9520
RM
20126 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20127 Define lockf64 as an alias.
20128 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20129 Define fseeko64 as an alias.
20130 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20131 Define ftello64 as an alias.
20132 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20133 Define _IO_fgetpos64 and fgetpos64 as aliases.
20134 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20135 Define _IO_fsetpos64 and fsetpos64 as aliases.
20136 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20137 Conditionalize body on this.
20138 * libio/fseeko64.c: Likewise.
20139 * libio/ftello64.c: Likewise.
20140 * libio/iofgetpos64.c: Likewise.
20141 * libio/iofsetpos64.c: Likewise.
20142 * sysdeps/wordsize-64/lockf.c: File removed.
20143 * sysdeps/wordsize-64/lockf64.c: File removed.
20144 * sysdeps/wordsize-64/fseeko.c: File removed.
20145 * sysdeps/wordsize-64/fseeko64.c: File removed.
20146 * sysdeps/wordsize-64/ftello.c: File removed.
20147 * sysdeps/wordsize-64/ftello64.c: File removed.
20148 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20149 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20150 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20151 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20152 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20153 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20154 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20155 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20156 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20157 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20158 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20159 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20160 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20161 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20162
20163 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20164 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20165 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20166 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20167 [defined __arch64__ || defined __sparcv9]
20168 (__OFF_T_MATCHES_OFF64_T): New macro.
20169 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20170 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20171 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20172 (__OFF_T_MATCHES_OFF64_T): New macro.
20173
c5757acd
L
201742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20175
20176 * stdlib/secure-getenv.c (__secure_getenv): Replace
20177 GLIBC_2_16 with GLIBC_2_17.
20178
3a31811e
L
201792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20180
20181 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20182 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20183
faa2bccb
DM
201842012-08-03 David S. Miller <davem@davemloft.net>
20185
20186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20187
85fe1997
JM
201882012-08-03 Joseph Myers <joseph@codesourcery.com>
20189
20190 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20191 Remove.
20192 (__ASSUME_CORRECT_SI_PID): Likewise.
20193 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20194 (__ASSUME_TMPFS_NAME): Likewise.
20195 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20196 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20197 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20198 (HAVE_AUX_SECURE): Make definition unconditional.
20199 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20200 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20201
4f75b7a0
RM
202022012-08-03 Roland McGrath <roland@hack.frob.com>
20203
20204 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20205 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20206 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20207 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20208 __eloop_threshold instead of SYMLOOP_MAX.
20209
20210 * sysdeps/generic/eloop-threshold.h: New file.
20211 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20212 of MAXSYMLINKS.
20213 * elf/chroot_canon.c (chroot_canon): Likewise.
20214
7aab07e4
JM
202152012-08-03 Joseph Myers <joseph@codesourcery.com>
20216
20217 [BZ #13717]
20218 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20219 Change to 2.6.0 everywhere.
20220 * sysdeps/unix/sysv/linux/configure: Regenerated.
20221 * sysdeps/unix/sysv/linux/kernel-features.h
20222 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20223 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20224 kernel versions.
20225 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20226 (__ASSUME_FUTEX_REQUEUE): Remove.
20227 (__ASSUME_STATFS64): Define unconditionally.
20228 (__ASSUME_AT_SECURE): Likewise.
20229 (__ASSUME_CORRECT_SI_PID): Likewise.
20230 (__ASSUME_TGKILL): Define without depending on kernel version for
20231 i386.
20232 (__ASSUME_UTIMES): Likewise.
20233 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20234 kernel version.
20235 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20236 (__ASSUME_TMPFS_NAME): Likewise.
20237 * README: Update reference to Linux kernel versions.
20238
b67e9372
MP
202392012-08-02 Marek Polacek <polacek@redhat.com>
20240
1f529f7d 20241 [BZ# 14150]
b67e9372
MP
20242 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20243 libc_cv_asm_type_prefix with %.
20244 * configure: Regenerated.
d2441631
RM
20245 * include/libc-symbols.h: Remove comment about
20246 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20247 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20248 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20249 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20250 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20251 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20252 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20253 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20254 * elf/tst-unique2mod1.c: Likewise.
20255 * elf/tst-unique1mod2.c: Likewise.
20256 * elf/tst-unique1mod1.c: Likewise.
20257 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20258 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20259 Replace ASM_TYPE_DIRECTIVE with .type.
20260 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20261 * sysdeps/i386/sysdep.h: Likewise.
20262 * sysdeps/x86_64/sysdep.h: Likewise.
20263 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20265 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20266 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20267 * sysdeps/powerpc/powerpc32/sysdep.h:
20268 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20269 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20270 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20271 * sysdeps/i386/fpu/e_powf.S: Likewise.
20272 * sysdeps/i386/fpu/e_expl.S: Likewise.
20273 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20274 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20275 * sysdeps/i386/fpu/e_pow.S: Likewise.
20276 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20277 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20278 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20279 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20280 * sysdeps/i386/fpu/e_log2.S: Likewise.
20281 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20282 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20283 * sysdeps/i386/fpu/e_powl.S: Likewise.
20284 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20285 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20286 * sysdeps/i386/fpu/e_logl.S: Likewise.
20287 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20288 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20289 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20290 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20291 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20292 * sysdeps/i386/fpu/e_log.S: Likewise.
20293 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20294 * sysdeps/i386/fpu/e_logf.S: Likewise.
20295 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20296 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20297 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20298 * sysdeps/i386/fpu/e_log10.S: Likewise.
20299 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20300 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20301 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20302 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20303 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20304 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20305 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20306 * sysdeps/i386/i686/strtok.S: Likewise.
20307 * sysdeps/i386/i386-mcount.S: Likewise.
20308 * sysdeps/i386/strtok.S: Likewise.
20309 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20310 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20311 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20312 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20313 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20314 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20315 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20316 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20317 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20318 * sysdeps/x86_64/_mcount.S: Likewise.
20319 * sysdeps/x86_64/strtok.S: Likewise.
20320 * sysdeps/sh/_mcount.S: Likewise.
20321
2747bf9a
RM
203222012-08-01 Roland McGrath <roland@hack.frob.com>
20323
20324 * libio/iofopen.c: Include <fcntl.h>.
20325 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20326 (_IO_fopen64, fopen64): Define as aliases.
20327 * libio/iofopen64.c: Include <fcntl.h>.
20328 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20329 Conditionalize body on this.
20330 * sysdeps/wordsize-64/iofopen.c: File removed.
20331 * sysdeps/wordsize-64/iofopen64.c: File removed.
20332
3fb791b8
MP
203332012-08-01 Marek Polacek <polacek@redhat.com>
20334
20335 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20336 Use dlfcn directly instead of a variable.
20337 (binfmt-subdir): Do not define.
20338 (dlfcn): Likewise.
20339
a9f1039f
JM
203402012-08-01 Joseph Myers <joseph@codesourcery.com>
20341
23bddc06
JM
20342 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20343 Remove all definitions.
20344 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20345 <kernel-features.h>.
20346 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20347 (miss_F_GETOWN_EX): Remove all definitions.
20348 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20349 macro definition.
20350 [!__ASSUME_FCNTL64]: Remove conditional code.
20351 [__ASSUME_FCNTL64]: Make code unconditional.
20352 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20353 <kernel-features.h>.
20354 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20355 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20356 (lockf64) [__NR_fcntl64]: Make code unconditional.
20357 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20358
a9f1039f
JM
20359 * sysdeps/unix/sysv/linux/kernel-features.h
20360 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20361 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20362 Make code unconditional.
20363 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20364 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20366 [__NR_vfork]: Make code unconditional.
20367 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20368 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20370 [__NR_vfork]: Make code unconditional.
20371 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20372 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20373
09c0ee5f
RM
203742012-08-01 Roland McGrath <roland@hack.frob.com>
20375
48aec5b9
RM
20376 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20377 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20378
cd97c966
RM
20379 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20380 Define mkstemp64 as an alias.
3f55550c
RM
20381 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20382 Define mkstemps64 as an alias.
cd97c966
RM
20383 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20384 Define mkostemp64 as an alias.
b8625cfc
RM
20385 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20386 Define mkostemps64 as an alias.
cd97c966
RM
20387 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20388 Conditionalize body on this.
20389 * misc/mkostemp64.c: Likewise.
b8625cfc 20390 * misc/mkostemps64.c: Likewise.
3f55550c 20391 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20392 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20393 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20394 * sysdeps/wordsize-64/mkostemp.c: File removed.
20395 * sysdeps/wordsize-64/mkstemp.c: File removed.
20396 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20397 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20398 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20399 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20400
09c0ee5f
RM
20401 [BZ #14138]
20402 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20403 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20404 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20405 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20406
20407 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20408 compat_symbol macros from <shlib-compat.h> rather than the underlying
20409 default_symbol_version and symbol_version macros, so that DEFAULT
20410 lines in shlib-versions are respected.
20411 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20412
7e66ee51
FW
204132012-08-01 Florian Weimer <fweimer@redhat.com>
20414
20415 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20416 Declare with warn_unused_result.
20417 (setgid, setregid, setegid, setresgid): Likewise.
20418 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20419 Likewise.
20420 * WUR-REPORT: Remove set*id functions.
20421
d2a54255
PT
204222012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20423
20424 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20425
7ecdb005
RM
204262012-07-31 Roland McGrath <roland@hack.frob.com>
20427
b4180a5e 20428 [BZ #10191]
789bd351
RM
20429 * include/sys/socket.h (__libc_accept, __libc_accept4):
20430 Add attribute_hidden.
20431 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20432
40ce302d
RM
20433 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20434 use of PTR_MANGLE.
20435 * inet/getnetgrent_r.c (setup): Likewise.
20436
7ecdb005
RM
20437 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20438
e2eabb2c
DM
204392012-07-31 David S. Miller <davem@davemloft.net>
20440
20441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20442
d0419dbf
JM
204432012-07-31 Joseph Myers <joseph@codesourcery.com>
20444
20445 [BZ #13629]
20446 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20447 value between 1.0 and 2.0 and smaller part has absolute value less
20448 than 1.0.
20449 * math/s_clog10.c (__clog10): Likewise.
20450 * math/s_clog10f.c (__clog10f): Likewise.
20451 * math/s_clog10l.c (__clog10l): Likewise.
20452 * math/s_clogf.c (__clogf): Likewise.
20453 * math/s_clogl.c (__clogl): Likewise.
20454 * math/libm-test.inc (clog_test): Add more tests.
20455 (clog10_test): Likewise.
20456 * sysdeps/i386/fpu/libm-test-ulps: Update.
20457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20458
2bc13872
FW
204592012-07-31 Florian Weimer <fweimer@redhat.com>
20460
20461 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20462 Exit with zero in case no suitable GID is found, and write a
20463 message to standard error.
20464
bea9b193
RM
204652012-07-30 Roland McGrath <roland@hack.frob.com>
20466
20467 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20468 rather than to 1.
20469 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20470 (MAXPATHLEN): Removed.
20471 (NOGROUP, NODEV): New macros.
20472 (setbit, clrbit, isset, isclr): New macros.
20473 (howmany, roundup, powerof2): New macros.
20474 (DEV_BSIZE): New macro.
20475
20476 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20477 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20478
20479 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20480 definition on [!__NO_LONG_DOUBLE_MATH].
20481
20482 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20483 PTR_MANGLE and PTR_DEMANGLE.
20484
20485 * socket/accept4.c (accept4): Rename to __libc_accept4.
20486 Define accept4 as a weak alias.
20487
20488 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20489 on [_DIRENT_HAVE_D_TYPE].
20490 * io/ftw.c (ftw_dir): Likewise.
20491
20492 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20493
20494 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20495
20496 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20497 Use the BSD numbers rather than the arbitrary ones we had.
20498 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20499 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20500 (SIGXCPU, SIGXFSZ): New macros.
20501 (_NSIG): Now 32.
20502
20503 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20504 initializer on [_LIBC_REENTRANT].
20505
20506 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20507 definitions inside [_POSIX_MAPPED_FILES].
20508
20509 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20510
20511 * dirent/opendir.c: Include <fcntl.h>.
20512
20513 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20514 (__libc_getspecific): Likewise.
20515 (__libc_key_create): Likewise.
20516
20517 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20518 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20519 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20520 (tmpfile64): Define as alias.
20521 * sysdeps/wordsize-64/tmpfile.c: File removed.
20522 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20523 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20524 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20525
20526 * stdio-common/vfscanf.c: Include <stdbool.h>.
20527 * nss/makedb.c: Likewise.
20528 * stdio-common/_i18n_number.h: Likewise.
20529 * argp/argp-help.c: Likewise.
20530 * posix/wordexp.c: Likewise.
20531 * sysdeps/posix/spawni.c: Likewise.
20532 * nss/nss_files/files-initgroups.c: Likewise.
20533 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20534 * nss/nss_files/files-initgroups.c: Likewise.
20535 * nss/nss_db/db-netgrp.c: Likewise.
20536 * nss/nss_db/db-initgroups.c: Likewise.
20537 * io/fchmodat.c: Include <sys/stat.h>.
20538
20539 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20540 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20541
20542 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20543 [HAVE_MMAP].
20544
20545 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20546 Add multiple inclusion protection.
20547
e5abc686
DM
205482012-07-27 David S. Miller <davem@davemloft.net>
20549
20550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20551
815e6fa3
GB
205522012-07-27 Gary Benson <gbenson@redhat.com>
20553
20554 [BZ #14298]
20555 * elf/rtld.c: Include <stap-probe.h>.
20556 (dl_main): Added static probes "init_start" and "init_complete".
20557 * elf/dl-load.c: Include <stap-probe.h>.
20558 (lose): Take new parameter "nsid".
20559 Added static probe "map_failed".
20560 (_dl_map_object_from_fd): Pass namespace id to lose.
20561 Added static probe "map_start".
20562 (open_verify): Pass namespace id to lose.
20563 * elf/dl-open.c: Include <stap-probe.h>.
20564 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20565 and "reloc_complete".
20566 * elf/dl-close.c: Include <stap-probe.h>.
20567 (_dl_close_worker): Added static probes "unmap_start" and
20568 "unmap_complete".
20569 * elf/rtld-debugger-interface.txt: New file documenting the above.
20570
9f98c16c
RM
205712012-07-26 Roland McGrath <roland@hack.frob.com>
20572
20573 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20574 rather than a string variable.
20575 * sunrpc/rpc_main.c (h_output): Likewise.
20576 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20577
f3c22df3
PT
205782012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20579
20580 * inet/check_native.c: New file.
20581
3129cfc6
JM
205822012-07-26 Joseph Myers <joseph@codesourcery.com>
20583
da865e95
JM
20584 [BZ #13629]
20585 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20586 if larger part has absolute value 1.0.
20587 * math/s_clog10.c (__clog10): Likewise.
20588 * math/s_clog10f.c (__clog10f): Likewise.
20589 * math/s_clog10l.c (__clog10l): Likewise.
20590 * math/s_clogf.c (__clogf): Likewise.
20591 * math/s_clogl.c (__clogl): Likewise.
20592 * math/libm-test.inc (clog_test): Add more tests.
20593 (clog10_test): Likewise.
20594 * sysdeps/i386/fpu/libm-test-ulps: Update.
20595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20596
3129cfc6
JM
20597 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20598 (pltexit): Likewise.
20599 (La_regs): Likewise.
20600 (La_retval): Likewise.
20601 (int_retval): Likewise.
20602 Update #error for removed macros to refer only to definitions in
20603 tst-audit.h.
20604 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20605 macro.
20606 (pltexit): Likewise.
20607 (La_regs): Likewise.
20608 (La_retval): Likewise.
20609 (int_retval): Likewise.
20610 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20611 macro.
20612 (pltexit): Likewise.
20613 (La_regs): Likewise.
20614 (La_retval): Likewise.
20615 (int_retval): Likewise.
20616 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20617 macro.
20618 (pltexit): Likewise.
20619 (La_regs): Likewise.
20620 (La_retval): Likewise.
20621 (int_retval): Likewise.
20622 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20623 macro.
20624 (pltexit): Likewise.
20625 (La_regs): Likewise.
20626 (La_retval): Likewise.
20627 (int_retval): Likewise.
20628 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20629 macro.
20630 (pltexit): Likewise.
20631 (La_regs): Likewise.
20632 (La_retval): Likewise.
20633 (int_retval): Likewise.
20634 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20635 macro.
20636 (pltexit): Likewise.
20637 (La_regs): Likewise.
20638 (La_retval): Likewise.
20639 (int_retval): Likewise.
20640 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20641 macro definitions in tst-audit.h.
20642 * sysdeps/i386/tst-audit.h: New file.
20643 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20644 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20645 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20646 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20647 * sysdeps/sh/tst-audit.h: Likewise.
20648 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20649 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20650 * sysdeps/x86_64/tst-audit.h: Likewise.
20651
bfc07087
AJ
206522012-07-26 Andreas Jaeger <aj@suse.de>
20653
b1b2aaf8
AJ
20654 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20655 ptrace.
20656
20657 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20658 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20659 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20660 PTRACE_O_MASK.
20661 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20662 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20663 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20664
bfc07087
AJ
20665 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20666 value.
20667
20668 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20669 _sigsys.
20670 (si_call_addr, si_syscall, si_arch): Define new macro.
20671 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20672 _sigsys.
20673 (si_call_addr, si_syscall, si_arch): Define new marcro.
20674 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20675 _sigsys.
20676 (si_call_addr, si_syscall, si_arch): Define new macro.
20677 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20678 _sigsys.
20679 (si_call_addr, si_syscall, si_arch): Define new macro.
20680
89b4b02f
JM
206812012-07-25 Joseph Myers <joseph@codesourcery.com>
20682
20683 [BZ #13717]
20684 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20685 Change to 2.4.21 where previously 2.4.1.
20686 * sysdeps/unix/sysv/linux/configure: Regenerated.
20687 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20688 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20689 Linux kernel version.
20690 (__ASSUME_STD_AUXV): Remove.
20691 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20692 kernel version.
20693 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20694 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20695 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20696 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20697 (__ASSUME_NETLINK_SUPPORT): Likewise.
20698 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20699 (__no_netlink_support): Remove conditional definition.
20700 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20701 Remove.
20702 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20703 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20704 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20705 (if_nameindex_ioctl): Remove.
20706 (if_nameindex_netlink): Do not handle __no_netlink_support.
20707 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20708 code.
20709 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20710 Remove conditional code.
20711 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20712 code.
20713 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20714 unconditional.
20715 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20716 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20717 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20718 Remove.
20719 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20720 [!__ASSUME_STD_AUXV]: Remove conditional code.
20721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20722 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20723 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20725 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20726 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20727 code.
20728 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20730 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20731 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20732 conditional code.
20733 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20735 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20736 code.
20737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20738 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20739 conditional code.
20740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20741 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20742 code unconditional.
20743 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20744 conditional code.
20745 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20746 unconditional.
20747 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20748 conditional code.
20749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20750 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20751 unconditional.
20752 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20753 conditional code.
20754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20755 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20756 code unconditional.
20757 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20758 conditional code.
20759 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20760 unconditional.
20761 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20762 conditional code.
20763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20764 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20765 code unconditional.
20766 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20767 conditional code.
20768 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20769 unconditional.
20770 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20771 conditional code.
20772
842a39cd
AS
207732012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20774
20775 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20776 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20777 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20778 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20779 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20780 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20781 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20782 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20783 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20784 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20785 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20786 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20787 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20788 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20789 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20790 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20791 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20792 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20793 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20795 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20796 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20797 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20798
84b3fd84
FW
207992012-07-25 Florian Weimer <fweimer@redhat.com>
20800
20801 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20802 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20803 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20804 Introduce __libc_secure_getenv.
0c7936d5
FW
20805 * stdlib/Versions (2.17): Add secure_getenv
20806 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20807 * stdlib/secure-getenv.c: Rename __secure_getenv to
20808 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20809 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20810 * stdlib/tst-secure-getenv.c: New.
20811 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20812 * manual/startup.texi (Environment Access): Document
20813 secure_getenv.
84b3fd84
FW
20814 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20815 __libc_secure_getenv.
20816 * inet/ruserpass.c (ruserpass): Likewise.
20817 * malloc/mtrace.c (mtrace): Likewise.
20818 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20819 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20820 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20821 * sysdeps/posix/tempname.c: Likewise. Evaluate
20822 HAVE_SECURE_GETENV.
20823 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20824 __secure_getenv to __libc_secure_getenv.
84b3fd84 20825 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20827 Likewise.
20828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20829 Likewise.
20830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20833 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20837
56e49b71
JM
208382012-07-25 Joseph Myers <joseph@codesourcery.com>
20839
20840 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20841 (struct La_i86_retval): Likewise.
20842 (struct La_x86_64_regs): Likewise.
20843 (struct La_x86_64_retval): Likewise.
20844 (struct La_x32_regs): Likewise.
20845 (struct La_x32_retval): Likewise.
20846 (struct La_ppc32_regs): Likewise.
20847 (struct La_ppc32_retval): Likewise.
20848 (struct La_ppc64_regs): Likewise.
20849 (struct La_ppc64_retval): Likewise.
20850 (struct La_sh_regs): Likewise.
20851 (struct La_sh_retval): Likewise.
20852 (struct La_s390_32_regs): Likewise.
20853 (struct La_s390_32_retval): Likewise.
20854 (struct La_s390_64_regs): Likewise.
20855 (struct La_s390_64_retval): Likewise.
20856 (struct La_sparc32_regs): Likewise.
20857 (struct La_sparc32_retval): Likewise.
20858 (struct La_sparc64_regs): Likewise.
20859 (struct La_sparc64_retval): Likewise.
20860 (struct audit_ifaces): Remove architecture-specific pltenter and
20861 pltexit members.
20862 * sysdeps/i386/ldsodefs.h: New file.
20863 * sysdeps/powerpc/ldsodefs.h: Likewise.
20864 * sysdeps/s390/ldsodefs.h: Likewise.
20865 * sysdeps/sh/ldsodefs.h: Likewise.
20866 * sysdeps/sparc/ldsodefs.h: Likewise.
20867 * sysdeps/x86_64/ldsodefs.h: Likewise.
20868
354691b7
MP
208692012-07-25 Marek Polacek <polacek@redhat.com>
20870
20871 [BZ #6808]
20872 * math/libm-test.inc (yn_test): Add another test.
20873 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20874 to ERANGE when the result is +-Inf.
20875 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20876 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20877 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20878 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20879
bf9e2071
JM
208802012-07-24 Joseph Myers <joseph@codesourcery.com>
20881
20882 * conform/data/time.h-data (NULL): Use macro-constant. Require
20883 equal to 0.
20884 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20885 clock_t.
20886 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20887
57633811
TS
208882012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20889
20890 * configure.in <sysdeps resolving>: Correct printing
20891 Implies_before.
20892 * configure: Regenerate.
20893
c23c33b0
TS
208942012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20895
20896 * math/w_ilogb.c: Include <limits.h>.
20897 * math/w_ilogbl.c: Likewise.
20898
b5982523
JM
208992012-07-20 Joseph Myers <joseph@codesourcery.com>
20900
20901 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20902 va_copy. Document allowing for unavailable va_copy only as
20903 pre-C99 compatibility.
20904 * manual/string.texi (Copying and Concatenation): Use va_copy
20905 instead of __va_copy in concat example.
20906
ac4ea442
PT
209072012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20908
20909 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20910 (__sendto): Use create_address_port. Initialize APORT and deallocate
20911 it if not null.
20912
f98eafbd
PT
20913 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20914 with O_NOLINK passed to __file_name_lookup.
20915
898c7aab
PT
20916 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20917 with O_NOLINK passed to __file_name_lookup.
20918
0ced335a
PT
20919 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20920 negative N or less than NGIDS.
20921
b3404dbd
PT
20922 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20923 type to string_t. Set ERANGE as errno and return it if NAME is not big
20924 enough. Use memcpy instead of strncpy.
20925
0f48659e
JM
209262012-07-20 Joseph Myers <joseph@codesourcery.com>
20927
20928 * elf/Makefile (check-data): Remove.
20929 (localplt.data): New vpath directive.
20930 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20931 instead of $(check-data).
20932 * scripts/data/localplt-generic.data: Move to ...
20933 * sysdeps/generic/localplt.data: ... here.
20934 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20935 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20936 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20938 ... here.
20939 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20941 ... here.
20942 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20944 ... here.
20945 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20947 ... here.
20948 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20950 ... here.
20951 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20953 ... here.
20954
d37cbdaa
AZ
209552012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20956
20957 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20958 PPC32 and PPC64 files.
20959 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20960 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20961
46f85fc2
AK
209622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20963
20964 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20965 __makecontext_ret to ...
20966 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20967 ... here and call exit if uc_link is NULL. New file.
20968 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20969 __makecontext_ret.S.
20970 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20971 __makecontext_ret to ...
20972 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20973 ... here and call exit if uc_link is NULL. New file.
20974 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20975 __makecontext_ret.S.
20976
08f43f9b
AK
209772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20978
20979 * elf/elf.h (R_390_IRELATIVE): New definition.
20980 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20981 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20982 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20983 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20984 (elf_machine_lazy_rel): Likewise.
20985 * sysdeps/s390/dl-irel.h: New file.
20986 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20987 * sysdeps/s390/s390-64/memset.S: New asm code.
20988 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20989 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20990 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20991 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20992 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20993 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20994 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20995 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20996 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20997 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20998 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20999 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21000 * sysdeps/s390/s390-32/memset.S: New asm code.
21001 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21002
3b05db33
MP
210032012-07-17 Marek Polacek <polacek@redhat.com>
21004
21005 [BZ #14349]
21006 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21007 * sysdeps/s390/s390-64/configure.in: Likewise.
21008 * sysdeps/sparc/configure.in: Likewise.
21009 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21010 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21011 * sysdeps/i386/configure.in: Likewise.
21012 * sysdeps/x86_64/configure.in: Likewise.
21013 * sysdeps/sh/configure.in: Likewise.
21014 * sysdeps/s390/s390-32/configure: Regenerated.
21015 * sysdeps/s390/s390-64/configure: Likewise.
21016 * sysdeps/x86_64/configure: Likewise.
21017 * sysdeps/sh/configure: Likewise.
21018 * sysdeps/powerpc/powerpc64/configure: Likewise.
21019 * sysdeps/powerpc/powerpc32/configure: Likewise.
21020 * sysdeps/sparc/configure: Likwise.
21021 * sysdeps/i386/configure: Likewise.
21022
a66877c6
MP
21023 * elf/dl-open.c: Comment fixes.
21024
cfc82fd8
JM
210252012-07-17 Joseph Myers <joseph@codesourcery.com>
21026
bd29910a
JM
21027 * Makefile [CXX] (check-data): Remove.
21028 [CXX] (c++-types.data): New vpath directive.
21029 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21030 vpath. Do not allow for C++ type data being missing.
21031 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21032 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21033 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21034 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21035 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21036 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21037 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21039 ... here.
21040 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21042 ... here.
21043 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21045 ... here.
21046 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21048 ... here.
21049 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21051 ... here.
21052 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21054 ... here.
21055 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21057 ... here.
21058 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21059 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21060
cfc82fd8
JM
21061 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21062 definitions to architecture-specific files.
21063 (TLS_IE): Likewise.
21064 (TLS_LD): Likewise.
21065 (TLS_GD): Likewise.
21066 * sysdeps/i386/tls-macros.h: New file.
21067 * sysdeps/powerpc/tls-macros.h: Likewise.
21068 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21069 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21070 * sysdeps/sh/tls-macros.h: Likewise.
21071 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21072 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21073 * sysdeps/x86_64/tls-macros.h: Likewise.
21074
f7db3170
TS
210752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21076
07cbfc23
TS
21077 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21078 zero value for regular exit case.
21079
f7db3170
TS
21080 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21081 (__start_context): Preserve zero value for regular exit case.
21082
dc97c227
TS
210832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21084 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21085
21086 * manual/setjmp.texi (setcontext): Clarify normal process
21087 termination when uc_link is the null pointer.
21088 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21089 exit call.
21090
d0cd7d02
AS
210912012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21092
21093 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21094 preprocessor. Test for each exception mask separately.
21095
dd318934
AJ
210962012-07-16 Andreas Jaeger <aj@suse.de>
21097
21098 * po/ru.po: Update from translation team.
21099
8048311a
JM
211002012-07-15 Joseph Myers <joseph@codesourcery.com>
21101
21102 * conform/data/string.h-data (NULL): Use macro-constant. Require
21103 equal to 0.
21104 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21105 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21106 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21107 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21109
b637d46e
AJ
211102012-07-13 Andreas Jaeger <aj@suse.de>
21111
21112 * po/fr.po: Update from translation team.
21113
541428fe
MP
211142012-07-12 Marek Polacek <polacek@redhat.com>
21115
21116 [BZ #14173]
21117 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21118 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21119 loop condition.
21120
ec332e94
JM
211212012-07-12 Joseph Myers <joseph@codesourcery.com>
21122
21123 [BZ #13717]
21124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21125 Change to 2.4.1 where previously 2.4.0.
21126 * sysdeps/unix/sysv/linux/configure: Regenerated.
21127 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21128 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21129 version.
21130 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21131 (__ASSUME_AT_CLKTCK): Remove.
21132 (__ASSUME_AT_PAGESIZE): Likewise.
21133 (__ASSUME_AT_XID): Likewise.
21134 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21135 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21136 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21137 unconditionally.
21138 (HAVE_AUX_PAGESIZE): Likewise.
21139 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21140 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21141 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21142
7b6e99be
JB
211432012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21144
21145 [BZ #14307]
21146 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21147 the temporary buffer used to invoke __gethostbyname2_r,
21148 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21149 host_data / struct gaih_addrtuple.
21150 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21151 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21152 header file nss/nsswitch.h.
21153 * nss/nsswitch.h (global scope): Add definition of implementation
21154 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21155 resolv/nss_dns/dns-host.c).
21156
608404eb
AJ
211572012-07-11 Andreas Jaeger <aj@suse.de>
21158
21159 * po/fr.po: Update from translation team.
21160
71220aca
AJ
21161 * po/sv.po: Update from translation team
21162 * po/fr.po: Another update from translation team.
21163
28cfe843
AZ
211642012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21165
21166 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21167 for subnormals or multiply small sinh result by itself.
21168 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21170
6b90f981
DM
211712012-07-11 David S. Miller <davem@davemloft.net>
21172
21173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21174
c6825772
AS
211752012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21176
21177 [BZ #14347]
21178 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21179 (INTERNAL_MARK): Shift it here.
21180
7b8e0d49
MP
211812012-07-10 Marek Polacek <polacek@redhat.com>
21182
21183 [BZ #14151]
21184 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21185 libc_cv_asm_global_directive with .globl.
21186 * configure: Regenerated.
21187 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21188 with .globl.
21189 * sysdeps/i386/configure: Regenerated.
21190 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21191 with .globl.
21192 * sysdeps/x86_64/configure: Regenerated.
21193 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21194 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21195 * elf/tst-unique2mod2.c: Likewise.
21196 * elf/tst-unique2mod1.c: Likewise.
21197 * elf/tst-unique1mod2.c: Likewise.
21198 * elf/tst-unique1mod1.c: Likewise.
21199 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21200 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21201 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21202 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21203 * sysdeps/mach/sysdep.h: Likewise.
21204 * sysdeps/i386/sysdep.h: Likewise.
21205 * sysdeps/i386/i386-mcount.S: Likewise.
21206 * sysdeps/x86_64/_mcount.S: Likewise.
21207 * sysdeps/x86_64/sysdep.h: Likewise.
21208 * sysdeps/sh/_mcount.S: Likewise.
21209 * sysdeps/sh/sysdep.h: Likewise.
21210 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21211 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21212 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21213 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21214 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21215 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21216 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21217 * locale/localeinfo.h: Likewise.
21218 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21219 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21220
6c55cda3
RM
212212012-07-09 Roland McGrath <roland@hack.frob.com>
21222
21223 [BZ #14336]
21224 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21225 system".
21226 * manual/message.texi (The Uniforum approach): Likewise.
21227 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21228 (glibc iconv Implementation): Likewise.
21229
638a572e
JM
212302012-07-09 Joseph Myers <joseph@codesourcery.com>
21231
21232 [BZ #14337]
21233 * math/s_clog.c (__clog): Avoid scaling a value down where that
21234 could result in underflow.
21235 * math/s_clog10.c (__clog10): Likewise.
21236 * math/s_clog10f.c (__clog10f): Likewise.
21237 * math/s_clog10l.c (__clog10l): Likewise.
21238 * math/s_clogf.c (__clogf): Likewise.
21239 * math/s_clogl.c (__clogl): Likewise.
21240 * math/libm-test.inc (clog_test): Add more tests.
21241 (clog10_test): Likewise.
21242 * sysdeps/i386/fpu/libm-test-ulps: Update.
21243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21244
261f4859
AS
212452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21246
0abaf3e4
AS
21247 [BZ #14283]
21248 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21249 by 7 not 8 to examine high bit of fractional part.
21250
261f4859
AS
21251 [BZ #14042]
21252 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21253 for call to __mcount_internal.
21254 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21255 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21256 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21257
f17ac40d
JM
212582012-07-06 Joseph Myers <joseph@codesourcery.com>
21259
9ad63c23
JM
21260 [BZ #14154]
21261 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21262 approximation for values within 0x1p-13f of an odd multiple of
21263 pi/4.
21264 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21265 exception. Add more tests.
21266 * sysdeps/i386/fpu/libm-test-ulps: Update.
21267
f17ac40d
JM
21268 [BZ #6778]
21269 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21270 inputs and return -1 for them. Do not check for +Inf in case not
21271 reachable for +Inf.
21272 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21273 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21274 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21275 and return -1 for them. Do not check for +Inf in case not
21276 reachable for +Inf.
21277 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21278 define.
21279 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21280 and return -1 for them. Do not check for +Inf in case not
21281 reachable for +Inf.
21282 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21283 spurious underflow.
21284 * sysdeps/i386/fpu/libm-test-ulps: Update.
21285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21286
fb21f89b
MF
212872012-07-06 Mike Frysinger <vapier@gentoo.org>
21288
21289 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21290
cdfe2c5e
JM
212912012-07-05 Joseph Myers <joseph@codesourcery.com>
21292
21293 [BZ #14157]
21294 [BZ #14331]
21295 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21296 could result in spurious underflow. Scale down values above
21297 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21298 * math/s_csqrtf.c (__csqrtf): Likewise.
21299 * math/s_csqrtl.c (__csqrtl): Likewise.
21300 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21301 spurious underflow.
21302 * sysdeps/i386/fpu/libm-test-ulps: Update.
21303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21304
70d35b67
AS
213052012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21306
704bc459
AS
21307 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21308 xopen-msg.sed.
21309 * catgets/xopen-msg.awk: New file.
21310 * catgets/xopen-msg.sed: Removed.
21311
70d35b67
AS
21312 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21313 po2text.sed.
21314 * intl/po2test.awk: New file.
21315 * intl/po2test.sed: Removed.
21316
ca61cf32
JM
213172012-07-04 Joseph Myers <joseph@codesourcery.com>
21318
21319 [BZ #14328]
21320 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21321 or multiply small sinh result by itself.
21322 * math/s_ctanf.c (__ctanf): Likewise.
21323 * math/s_ctanh.c (__ctanh): Likewise.
21324 * math/s_ctanhf.c (__ctanhf): Likewise.
21325 * math/s_ctanhl.c (__ctanhl): Likewise.
21326 * math/s_ctanl.c (__ctanl): Likewise.
21327 * math/libm-test.inc (ctan_test_tonearest): New function.
21328 (ctan_test_towardzero): Likewise.
21329 (ctan_test_downward): Likewise.
21330 (ctan_test_upward): Likewise.
21331 (ctanh_test_tonearest): Likewise.
21332 (ctanh_test_towardzero): Likewise.
21333 (ctanh_test_downward): Likewise.
21334 (ctanh_test_upward): Likewise.
21335 (main): Call these new functions.
21336 * sysdeps/i386/fpu/libm-test-ulps: Update.
21337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21338
ca48a46a
MF
213392012-07-03 Mike Frysinger <vapier@gentoo.org>
21340
21341 * .gitignore: Delete /ports entry.
21342
9d63d37d
AJ
213432012-07-03 Andreas Jaeger <aj@suse.de>
21344
21345 * po/bg.po: Update from translation team.
21346 * po/cs.po: Likewise.
21347 * po/de.po: Likewise.
21348 * po/hr.po: Likewise.
21349 * po/nl.pl: Likewise.
21350 * po/pl.po: Likewise.
21351 * po/vi.po: Likewise.
21352
370ca3d2
JM
213532012-07-03 Joseph Myers <joseph@codesourcery.com>
21354
95f5a9a8
JM
21355 * Makeconfig [!+link] (+link-before-libc): New variable.
21356 [!+link] (+link-after-libc): Likewise.
21357 [!+link] (+link-tests): Likewise.
21358 [!+link] (+link): Define in terms of $(+link-before-libc) and
21359 $(+link-after-libc).
21360 [!+link-static] (+link-static-before-libc): New variable.
21361 [!+link-static] (+link-static-after-libc): Likewise.
21362 [!+link-static] (+link-static-tests): Likewise.
21363 [!+link-static] (+link-static): Define in terms of
21364 $(+link-static-before-libc) and $(+link-static-after-libc).
21365 [build-shared] (link-libc-before-gnulib): New variable.
21366 [build-shared] (link-libc-tests): Likewise.
21367 [build-shared] (link-libc): Define in terms of
21368 $(link-libc-before-gnulib).
21369 [!build-shared] (link-libc-tests): New variable.
21370 (link-libc-static-tests): New variable.
21371 [!gnulib] (gnulib-arch): New variable.
21372 [!gnulib] (gnulib-tests): Likewise.
21373 [!gnulib] (static-gnulib-arch): Likewise.
21374 [!gnulib] (static-gnulib-tests): Likewise.
21375 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21376 Define with "=" instead of ":=".
21377 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21378 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21379 * Rules (binaries-all-notests): New variable.
21380 (binaries-all-tests): Likewise.
21381 (binaries-static-notests): Likewise.
21382 (binaries-static-tests): Likewise.
21383 (binaries-all): Define using $(binaries-all-notests) and
21384 $(binaries-all-tests).
21385 (binaries-static): Define using $(binaries-static-notests) and
21386 $(binaries-static-tests).
21387 (binaries-shared-tests): New variable.
21388 (binaries-shared-notests): Likewise.
21389 (binaries-shared): Remove variable.
21390 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21391 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21392 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21393 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21394 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21395 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21396 * elf/Makefile (sln-modules): New variable.
21397 (extra-objs): Add $(sln-modules:=.o).
21398 (ldconfig-modules): Add static-stubs.
21399 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21400 * elf/static-stubs.c: New file.
21401
7a845b2c
JM
21402 [BZ #14283]
21403 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21404 by 7 not 8 to examine high bit of fractional part. Use volatile
21405 variables when splitting into final array of floats if
21406 __FLT_EVAL_METHOD__ != 0.
21407 * math/libm-test.inc (cos_test): Add another test.
21408 (sin_test): Likewise.
21409 * sysdeps/i386/fpu/libm-test-ulps: Update.
21410
e2283f38
JM
21411 [BZ #14273]
21412 * math/libm-test.inc (cosh_test): Add more tests.
21413
370ca3d2
JM
21414 * version.h (RELEASE): Set to "development".
21415 (VERSION): Set to "2.16.90".
21416
ee9247c3
CD
214172012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21418
21419 * NEWS: Update copyright. Remove last-updated date.
21420 Mention math library bug fixes and timezone data changes.
21421 * README: Mention GNU/Hurd, x32, and HPPA support status.
21422
4648c381
TS
214232012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21424
21425 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21426
aac78a43
AJ
214272012-06-27 Andreas Jaeger <aj@suse.de>
21428
21429 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21430
ed3dbfad
AJ
214312012-06-25 Andreas Jaeger <aj@suse.de>
21432
21433 * sysdeps/s390/fpu/libm-test-ulps: Update.
21434
4d0ee855
AS
214352012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21436 Thomas Schwinge <thomas@codesourcery.com>
21437
21438 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21439 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21440 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21441 fanotify_mark.
21442
af1bce34
TS
214432012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21444
a9fa33ba
TS
21445 * sysdeps/mach/start.c: Remove file.
21446 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21447 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21448 * sysdeps/sh/init-first.c: Likewise.
21449
58f902b8
TS
21450 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21451 registers for frame unwinding purposes, add CFI directives.
21452 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21453 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21454 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21455 Likewise.
21456
1518f58b
TS
21457 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21458 __fortify_fail returning.
21459 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21460
db9b5059
TS
21461 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21462 sysdeps/sh/____longjmp_chk.S.
21463 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21464 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21465 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21466 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21467
967705fe
TS
21468 * sysdeps/sh/abort-instr.h: New file.
21469 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21470 process in case exit returns.
21471
a9def8c4
TS
21472 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21473 initialize the GOT register before use.
21474
2a649725
TS
21475 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21476 calculation of ARGC > 4.
21477
af1bce34
TS
21478 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21479 meaningful names to some local labels.
21480
d230f50a
KK
214812012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21482 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21483
21484 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21485 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21486 (__arch_compare_and_exchange_val_16_acq): Likewise.
21487 (__arch_compare_and_exchange_val_32_acq): Likewise.
21488 (atomic_exchange_and_add): Fix gUSA sequence.
21489 (atomic_add): Likewise.
21490 (atomic_add_negative): Likewise.
21491 (atomic_add_zero): Likewise.
21492 (atomic_bit_test_set): Likewise.
21493
0479b305
AS
214942012-06-22 Andreas Schwab <schwab@redhat.com>
21495
21496 [BZ #13579]
21497 * include/link.h (struct link_map): Add l_free_initfini.
21498 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21499 l_initfini.
21500 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21501 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21502 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21503 set.
21504
0e3933b9
CD
215052012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21506
21507 * configure.in: Use AC_LANG_SOURCE.
21508 * configure: Regenerate.
21509
4248b1b1
RM
215102012-06-22 Roland McGrath <roland@hack.frob.com>
21511
21512 * configure.in (libc_cv_localstatedir): New substituted variable.
21513 * configure: Regenerated.
21514 * config.make.in (localstatedir): New variable, substituted from
21515 libc_cv_localstatedir.
21516 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21517 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21518 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21519 * sysdeps/gnu/configure: Regenerated.
21520
006dd861
JL
215212012-06-21 Jeff Law <law@redhat.com>
21522
21523 [BZ #14277]
21524 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21525 free. Simplify list management for _LIBC case.
21526
79662d42
JM
215272012-06-21 Joseph Myers <joseph@codesourcery.com>
21528
b7abb4bf
JM
21529 [BZ #14273]
21530 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21531 Clear sign bit of 64-bit integer value before comparing against
21532 overflow value.
21533
79662d42
JM
21534 * sysdeps/mach/configure: Regenerated.
21535
1f150908
L
215362012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21537
21538 [BZ #14278]
21539 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21540
28363bbf
JL
215412012-06-21 Jeff Law <law@redhat.com>
21542
21543 [BZ #13882]
21544 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21545 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21546 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21547 * elf/dl-open.c (dl_open_worker): Likewise.
21548
09615db4
CD
215492012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21550
21551 * scripts/list-sources.sh: Scan PORTS for translations.
21552 * po/libc.pot: Regenerated.
21553
2174c6dd
AJ
215542012-06-21 Andreas Jaeger <aj@suse.de>
21555
21556 [BZ #12194]
21557 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21558 warning.
21559 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21560 * bits/byteswap-16.h (__bswap_16): Likewise.
21561 * bits/byteswap.h (__bswap_constant_16): Likewise.
21562
3ee947b1
L
215632012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21564
21565 [BZ #14117]
a2f34833
L
21566 * sysdeps/i386/fpu_control.h: Removed.
21567 * sysdeps/x86_64/fpu_control.h: Moved to ...
21568 * sysdeps/x86/fpu_control.h: Here.
21569
3ee947b1
L
21570 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21571 (_FPU_SETCW): Likewise.
21572
ed1825f8
L
215732012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21574
25f1282a
L
21575 [BZ #14117]
21576 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21577 * sysdeps/x86/fpu/bits/mathinline.h: This.
21578 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21579
ed1825f8
L
21580 [BZ #14050]
21581 [BZ #14117]
21582 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21583 functions if __x86_64__ is defined.
21584
36d54b74
CLT
215852012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21586
21587 * string/endian.h: Add !__ASSEMBLER__ condition for including
21588 conversion interfaces.
21589
10285c21
JM
215902012-06-15 Joseph Myers <joseph@codesourcery.com>
21591
21592 [BZ #14241]
21593 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21594 of ABS(x) in calculating zero to negative powers other than odd
21595 integers.
21596 * math/libm-test.inc (pow_test): Add more tests.
21597
06c5abbd
AJ
215982012-06-15 Andreas Jaeger <aj@suse.de>
21599
21600 * manual/contrib.texi (Contributors): Update entry of Liubov
21601 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21602 Machado Filho.
21603
a3aeac40
CH
216042012-06-15 Cyril Hrubis <metan@ucw.cz>
21605
21606 * string/string.h: Add __wur to GNU version of strerror_r.
21607
49bdf4c1
L
216082012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21609
21610 [BZ #14229]
21611 * string/Makefile (tests): Add tst-strtok_r.
21612 * string/tst-strtok_r.c: New file.
21613 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21614 RAX_LP/RDX_LP on SAVE_PTR.
21615
834f9b8d
RM
216162012-06-14 Roland McGrath <roland@hack.frob.com>
21617
21618 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21619
75fa1921
JM
216202012-06-14 Joseph Myers <joseph@codesourcery.com>
21621
21622 * libm_test.inc (csqrt_test): Allow more spurious underflow
21623 exceptions.
21624 (j0_test): Likewise.
21625 (j1_test): Likewise.
21626 (y0_test): Likewise.
21627 (y1_test): Likewise.
21628
771766df
CD
216292012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21630
21631 * po/Makefile (libc.pot): Use UTF-8 charset.
21632
ceb9e56b
PP
216332012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21634
21635 [BZ #14210]
21636 Suppress sign-conversion warning from FD_SET.
21637 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21638 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21639 not unsigned long int.
21640 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21641
ddb28975
L
216422012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21643
21644 [BZ #14050]
21645 [BZ #14117]
21646 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21647 __extern_always_inline instead of __extern_inline.
21648 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21649 (__signbit): Likewise.
21650 (__signbitl): Support C++ namespace.
21651 (lrintf): New inline function.
21652 (lrint): Likewise.
21653 (llrintf): Likewise.
21654 (llrint): Likewise.
21655 (fmaxf): Likewise.
21656 (fmax): Likewise.
21657 (fminf): Likewise.
21658 (fmin): Likewise.
21659 (rint): Likewise.
21660 (rintf): Likewise.
21661 (ceil): Likewise.
21662 (ceilf): Likewise.
21663 (floor): Likewise.
21664 (floorf): Likewise.
21665 (nearbyint): Likewise.
21666 (nearbyintf): Likewise.
21667
d7b4fb26
TS
216682012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21669
21670 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21671 non-default versions.
21672
eb55f5c2
RM
216732012-06-11 Roland McGrath <roland@hack.frob.com>
21674
21675 [BZ #14218]
21676 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21677
366af02c
TS
216782012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21679
99ff6e5c
TS
21680 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21681 (FE_UPWARD, FE_DOWNWARD): Don't define.
21682 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21683 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21684
366af02c
TS
21685 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21686 reading it.
21687 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21688 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21689
793ea851
KK
216902012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21691
21692 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21693 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21694 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21695 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21696
a728a38f
L
216972012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21698
21699 [BZ #14117]
c08010c7
L
21700 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21701 * sysdeps/i386/fpu/Implies: New file.
21702 * sysdeps/x86_64/fpu/Implies: Likewise.
21703 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21704 * sysdeps/x86/fpu/bits/fenv.h: This.
21705
a728a38f
L
21706 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21707 __SSE_MATH__.
21708
6e230d11
SP
217092012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21710
21711 [BZ #14134]
21712 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21713 character 0xffff that matches the last element of the
21714 conversion table.
21715
1b671feb
AZ
217162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21717
21718 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21719 fmodl commit.
21720
6043738b
AZ
217212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21722
21723 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21724 values higher than 25.6283.
21725
34ae0b32
AZ
217262012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21727
21728 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21729 subnormal exponent extraction and add some __builtin_expect.
21730 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21731 Fix for subnormal mantissa calculation.
21732
1214ec8f
MF
217332012-06-04 Mike Frysinger <vapier@gentoo.org>
21734
21735 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21736 cpu2 is -1 and errno is not ENOSYS.
21737
f3d1f93c
L
217382012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21739
21740 [BZ #14117]
0e4a3cd7
L
21741 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21742 * sysdeps/x86/bits/string.h: This.
21743 * sysdeps/x86_64/bits/string.h: Removed.
21744
6704c645
L
21745 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21746 if not compiling for x86-64, but compiling for >= i486.
21747
48495318
L
21748 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21749 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21750
14adcbfc
L
21751 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21752 New macro from Linux kernel 3.4.0.
21753 (FP_XSTATE_MAGIC2): Likewise.
21754 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21755 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21756 (struct _fpx_sw_bytes): New struct.
21757 (struct _xsave_hdr): Likewise.
21758 (struct _ymmh_state): Likewise.
21759 (struct _xstate): Likewise.
21760
68e408ab
L
21761 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21762 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21763 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21764 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21765 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21766 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21767
f3d1f93c
L
21768 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21769 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21770 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21771 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21772 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21773 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21774
d9dc34cd
TMQMF
217752012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21776
21777 [BZ #13743]
21778 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21779 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21780 (sysdep_headers): Include sys/platform/ppc.h.
21781 * sysdeps/powerpc/test-gettimebase.c: Test for
21782 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21783 * manual/Makefile (appendices): Include platform.texi.
21784 * manual/contrib.texi (Contributors): Update @node pointers.
21785 * manual/maint.texi (Maintenance): Likewise.
21786 (Platform): New node.
21787 * manual/platform.texi: New file. Document the new features.
21788
4af3879c
SP
217892012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21790 Jakub Jelinek <jakub@redhat.com>
21791
21792 [BZ #14188]
21793 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21794 where __builtin_expect is unavailable.
21795
2fd6ff13
DM
217962012-06-03 David S. Miller <davem@davemloft.net>
21797
21798 * stdlib/longlong.h: Updated from GCC.
21799
173f7220
AS
218002012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21801
21802 [BZ #14042]
21803 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21804 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21805 __mcount_internal.
21806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21807 (GLIBC_2.16): Likewise.
21808
f34a1c6f
L
218092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21810
21811 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21812
88a4576f
JM
218132012-06-01 Joseph Myers <joseph@codesourcery.com>
21814
ea32bcdd
JM
21815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21816 (default-abi): New variable.
21817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21818 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21819 variable.
21820 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21821 Likewise.
21822 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21823 Likewise.
21824 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21825 Likewise.
21826
88a4576f
JM
21827 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21828 definition. Document in comment.
21829
402fe938
DM
218302012-06-01 David S. Miller <davem@davemloft.net>
21831
21832 * stdlib/longlong.h: Updated from GCC.
21833
3553723f
L
218342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21835
21836 [BZ #14117]
3bd872c4
L
21837 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21838 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21839 sys/debugreg.h sys/io.h here.
21840 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21841 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21842 sys/io.h.
21843 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21844 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21845 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21846 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21847 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21848 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21849
3553723f
L
21850 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21851 Define only if __x86_64__ is defined.
21852
4842e4fe
JM
218532012-06-01 Joseph Myers <joseph@codesourcery.com>
21854
c5bfe3d5
JM
21855 [BZ #14048]
21856 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21857 Use int64_t for variable i.
21858 * math/libm-test.inc (fmod_test): Add more tests.
21859
4842e4fe
JM
21860 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21861 z computation is not scheduled after fetestexcept.
21862 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21863 Use math_force_eval instead of asm to ensure calculation scheduled
21864 before exception test.
21865 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21866 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21867
efb73488
AJ
218682012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21869
21870 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21871 computation is not scheduled after fetestexcept.
21872
29bcce7c
L
218732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21874
21875 [BZ #14117]
21876 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21877 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21878
73a68f94
AZ
218792012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21880
21881 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21882 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21883
67b6df78
L
218842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21885
edf2933a 21886 [BZ #14117]
ebc64a18
L
21887 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21888 <bits/wordsize.h>.
21889 (__WCHAR_MIN): Support __WORDSIZE == 64.
21890 (__WCHAR_MAX): Likewise.
21891
edf2933a
L
21892 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21893 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21894
57c6cf40
L
21895 [BZ #14183]
21896 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21897 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21898
67b6df78 21899 [BZ #14117]
8eb6281e
L
21900 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21901 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21902
aac639f4
L
21903 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21904 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21905
67b6df78
L
21906 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21907 Defined to 1 if __x86_64__ isn't defined.
21908 (_STAT_VER_LINUX_OLD): New.
21909 (st_atime): Remove duplicate.
21910 (st_mtime): Likewise.
21911 (st_ctime): Likewise.
21912
1c2cfe81
DM
219132012-05-31 David S. Miller <davem@davemloft.net>
21914
21915 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21916 entries.
21917
5be8418c
AS
219182012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21919
e7725326
AS
21920 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21921 gen-libm-test.pl.
21922
5be8418c
AS
21923 [BZ #14132]
21924 * elf/dl-reloc.c: Include <_itoa.h>.
21925 (_dl_reloc_bad_type): Remove use of INTUSE.
21926 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21927 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21928 * stdio-common/psiginfo.c (psiginfo): Likewise.
21929 * stdio-common/psignal.c (psignal): Likewise.
21930 * string/strsignal.c (strsignal): Likewise.
21931 * include/signal.h (_sys_siglist): Declare hidden proto.
21932 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21933 INTVARDEF with libc_hidden_data_def.
21934 * stdio-common/itoa-udigits.c: Likewise.
21935 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21936 (_itoa_lower_digits_internal): Remove declaration.
21937 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21938 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21939 (_sys_sigabbrev_internal): Remove aliases.
21940 (_sys_siglist): Define hidden alias.
21941
507352f1
MT
219422012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21943
21944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21945 bits/sysctl.h.
21946
42bbb1c3
L
219472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21948
21949 [BZ #14117]
6bd784b6
L
21950 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21951 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21952
8bca20f0
L
21953 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21954 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21955 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21956 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21957 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21958 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21959
f9e890a9
L
21960 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21961 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21962 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21963
471101a1
L
21964 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21965 with __addr.
21966 (insw): Likewise.
21967 (insl): Likewise.
21968 (outsb): Likewise.
21969 (outsw): Likewise.
21970 (outsl): Likewise.
21971
6451c862
L
21972 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21973 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21974 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21975
a254b8c9
L
21976 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21977 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21978 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21979 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21980 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21981 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21982
b8dfdd92
L
21983 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21984 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21985
578cd270
L
21986 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21987 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21988
de662f5f
L
21989 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21990 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21991 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21992
25653439
L
21993 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21994 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21995 to ...
21996 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21997
6bad24a0
L
21998 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21999 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22000 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22001
42bbb1c3
L
22002 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22003 for x86-64.
22004 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22005
2d10d547
JM
220062012-05-31 Joseph Myers <joseph@codesourcery.com>
22007
22008 * math/math.h (M_El): Use two more decimal places.
22009 (M_LOG2El): Likewise.
22010 (M_LOG10El): Likewise.
22011 (M_LN2l): Likewise.
22012 (M_LN10l): Likewise.
22013 (M_PIl): Likewise.
22014 (M_PI_2l): Likewise.
22015 (M_PI_4l): Likewise.
22016 (M_1_PIl): Likewise.
22017 (M_2_PIl): Likewise.
22018 (M_2_SQRTPIl): Likewise.
22019 (M_SQRT2l): Likewise.
22020 (M_SQRT1_2l): Likewise.
22021
f230c29b
DM
220222012-05-31 David S. Miller <davem@davemloft.net>
22023
22024 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22025 values between float registers.
22026 * sysdeps/sparc/sparc64/memset.S: Likewise.
22027 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22028
fed806c3
MF
220292012-05-31 Mike Frysinger <vapier@gentoo.org>
22030
22031 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22032 -D_FORTIFY_SOURCE=1.
22033 (CPPFLAGS-tst-longjmp_chk.c): Define.
22034 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22035 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22036 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22037 CFLAGS-tst-wchar-h.c.
22038
30917259
MP
220392012-05-31 Marek Polacek <polacek@redhat.com>
22040
22041 [BZ #14132]
22042 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22043 __endmntent_internal): Remove declaration.
22044 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22045 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22046 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22047
1c58d5dc
DM
220482012-05-30 David S. Miller <davem@davemloft.net>
22049
22050 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22051 (___Q_simulate_exceptions): Use real FP ops rather than writing
22052 into the %fsr.
22053 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22054 Likewise.
22055
7dc00e0d
L
220562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22057
22058 [BZ #14117]
0bd53985
L
22059 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22060 * sysdeps/x86/bits/xtitypes.h: This.
22061
3a257e66
L
22062 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22063 * sysdeps/x86/bits/wordsize.h: This.
22064
62f62904
L
22065 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22066 * sysdeps/x86/bits/huge_vall.h: This.
22067
404fe9d9
L
22068 * sysdeps/i386/bits/select.h: Removed.
22069 * sysdeps/x86_64/bits/select.h: Renamed to ...
22070 * sysdeps/x86/bits/select.h: This.
22071
d48d0446
L
22072 * sysdeps/i386/bits/setjmp.h: Removed.
22073 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22074 * sysdeps/x86/bits/setjmp.h: This.
22075
7dc00e0d
L
22076 * sysdeps/i386/bits/mathdef.h: Removed.
22077 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22078 * sysdeps/x86/bits/mathdef.h: This.
22079
03277f8f
AS
220802012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22081
22082 [BZ #14132]
22083 * include/sys/socket.h (__connect_internal)
22084 (__libc_sa_len_internal): Remove declaration.
22085 (__connect, __libc_sa_len): Declare hidden_proto.
22086 (SA_LEN): Remove use of INTUSE.
22087 * socket/connect.c: Add libc_hidden_def.
22088 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22089 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22090 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22091 alias.
22092 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22093 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22094 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22095 of adding _internal alias.
22096
13764867
L
220972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22098
22099 [BZ #14117]
6bd97696
L
22100 * sysdeps/i386/bits/link.h: Removed.
22101 * sysdeps/i386/bits/linkmap.h: Likewise.
22102 * sysdeps/x86_64/bits/link.h: Renamed to ...
22103 * sysdeps/x86/bits/link.h: This.
22104 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22105 * sysdeps/x86/bits/linkmap.h: This.
22106
f726f0bb
L
22107 * sysdeps/i386/bits/endian.h: Removed.
22108 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22109 * sysdeps/x86/bits/endian.h: This.
22110
13764867
L
22111 * sysdeps/i386/bits/byteswap.h: Removed.
22112 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22113 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22114 * sysdeps/x86/bits/byteswap.h: This.
22115 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22116 * sysdeps/x86/bits/byteswap-16.h: This.
22117 * sysdeps/i386/Implies: Add x86.
22118 * sysdeps/x86_64/Implies: Likewise.
22119
ae251b0b
DM
221202012-05-30 David S. Miller <davem@davemloft.net>
22121
22122 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22123 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22124 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22125 (FP_TRAPPING_EXCEPTIONS): Define.
22126 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22127 (FP_TRAPPING_EXCEPTIONS): Define.
22128 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22129 subnormals only when inexact has been signalled or underflow
22130 exceptions are enabled.
22131 (_FP_PACK_CANONICAL): Likewise.
22132
d5c90867
L
221332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22134
22135 [BZ #14183]
22136 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22137 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22138
63f1549e
RH
221392012-05-30 Richard Henderson <rth@twiddle.net>
22140
8d8f2279
RH
22141 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22142 with #ifndef NOT_IN_libc.
22143
63f1549e
RH
22144 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22145 marked to avoid plt entry.
22146
0ab0291b
L
221472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22148
22149 [BZ #14112]
22150 * Makeconfig (default-abi): New macro.
22151 (abi-includes): Likewise.
22152 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22153 $(abi-$(default-abi)-lib-soname) for soname if defined.
22154 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22155 abi-variants.
22156 * Makefile (installed-stubs): Likewise.
22157 * include/stubs-biarch.h: Removed.
22158 * scripts/lib-names.awk: Only handle one library at a time.
22159 * scripts/soversions.awk: Remove WORDSIZE support.
22160 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22161 entries.
22162 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22163 Removed.
22164 (syscall-list-default-condition): Likewise.
22165 (syscall-list-default-condition): Likewise.
22166 (syscall-list-includes): Likewise.
22167 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22168 syscall-list-* with abi-*. Handle undefined abi-variants.
22169 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22170 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22171 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22172 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22173 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22174 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22175 Removed.
22176 (syscall-list-32-options): Likewise.
22177 (syscall-list-32-condition): Likewise.
22178 (syscall-list-64-options): Likewise.
22179 (syscall-list-64-condition): Likewise.
22180 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22181 macro.
22182 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22183 Renamed to ...
22184 (abi-*): This.
22185 (abi-64-ld-soname): New macro.
22186 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22187 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22188 Renamed to ...
22189 (abi-*): This.
22190 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22191 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22192
4da0431d
JM
221932012-05-30 Joseph Myers <joseph@codesourcery.com>
22194
3a85279c
JM
22195 * sysdeps/unix/sysv/linux/kernel-features.h
22196 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22197 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22198 include <kernel-features.h>.
22199 [!__NR_ftruncate64]: Remove conditional code.
22200 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22201 [__NR_ftruncate64]: Make code unconditional.
22202 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22203 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22204 include <kernel-features.h>.
22205 [!__NR_ftruncate64]: Remove conditional code.
22206 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22207 [__NR_ftruncate64]: Make code unconditional.
22208 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22210 include <kernel-features.h>.
22211 [!__NR_ftruncate64]: Remove conditional code.
22212 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22213 [__NR_ftruncate64]: Make code unconditional.
22214 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22216 include <kernel-features.h>.
22217 [!__NR_ftruncate64]: Remove conditional code.
22218 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22219 [__NR_ftruncate64]: Make code unconditional.
22220 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22221
4da0431d
JM
22222 * configure.in (libc_cv_fpie): Weaken to a compile test using
22223 LIBC_TRY_CC_OPTION.
22224 * configure: Regenerated.
22225
11ef492c
AK
222262012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22227
22228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22229 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22232 Refreshed.
22233 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22238 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22239 Refreshed.
22240
d66ef399
DM
222412012-05-27 David S. Miller <davem@davemloft.net>
22242
22243 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22244 (___Q_zero): New.
22245 (__Q_simulate_exceptions): Return void. Change to simulate
22246 exceptions by writing into the %fsr.
22247 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22248 (__Qp_handle_exceptions): Likewise.
22249 (numbers): Delete.
22250 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22251 __Qp_handle_exceptions.
22252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22253 __Qp_handle_exceptions.
22254 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22255 as unused and give dummy FP_RND_NEAREST initializer.
22256 (FP_INHIBIT_RESULTS): Define.
22257 (___Q_simulate_exceptions): Update declaration.
22258 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22259 formatting.
22260 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22261 as unused and give dummy FP_RND_NEAREST initializer.
22262 (__Qp_handle_exceptions): Update declaration.
22263 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22264 formatting.
22265
04fb54b5
TS
222662012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22267
22268 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22269 the temporary FPU control word.
22270 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22271 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22272 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22273 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22274 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22275 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22276 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22277 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22278 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22279 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22280 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22281
3f99608f
KK
222822012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22283
22284 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22285 fields.
22286
65a4de4e
CLT
222872012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22288
22289 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22290 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22291 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22292 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22293 Likewise.
22294 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22295 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22296 Likewise.
22297
15749d40
UD
222982012-05-27 Ulrich Drepper <drepper@gmail.com>
22299
22300 * po/h.po: Update from translation team.
22301
25dbcb27
AS
223022012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22303
3d3f8e55
AS
22304 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22305
25dbcb27
AS
22306 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22307 handling of denormals.
22308 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22309 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22310 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22311 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22312 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22313 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22315 Likewise.
22316
7ad47a80 223172012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22318
22319 [BZ #14152]
22320 * math/libm-test.inc (fma_test): Don't always expect underflow
22321 exception.
22322
9c6ea9fa
SP
223232012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22324
22325 [BZ #12416]
22326 * elf/tst-execstack.c: Include stackinfo.h.
22327 (do_test): Adjust test case to ensure that pthread_getattr_np
22328 behaviour remains the same after marking stack executable.
22329
a8239222
JM
223302012-05-25 Joseph Myers <joseph@codesourcery.com>
22331
22332 * sysdeps/unix/sysv/linux/kernel-features.h
22333 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22334 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22335 kernel-features.h.
22336 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22337 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22338 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22339 kernel-features.h.
22340 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22341 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22342
918b5606
L
223432012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22344
22345 * configure.in: Define the default includes to being none.
22346 * configure: Regenerated.
22347
3a097cc7
RM
223482012-05-25 Roland McGrath <roland@hack.frob.com>
22349
8422c9a5
RM
22350 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22351 * sysdeps/x86_64/setjmp.S: Likewise.
22352 * sysdeps/i386/bsd-setjmp.S: Likewise.
22353 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22354 * sysdeps/i386/setjmp.S: Likewise.
22355 * sysdeps/i386/__longjmp.S: Likewise.
22356 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22357 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22358
3a097cc7
RM
22359 * include/stap-probe.h: New file.
22360 * configure.in: Handle --enable-systemtap.
22361 * configure: Regenerated.
22362 * config.h.in (USE_STAP_PROBE): New #undef.
22363 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22364 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22365 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22366
21708942
JM
223672012-05-25 Joseph Myers <joseph@codesourcery.com>
22368
22369 [BZ #13717]
22370 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22371 to 2.4.0 where earlier.
22372 * sysdeps/unix/sysv/linux/configure: Regenerated.
22373 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22374 <kernel-features.h>.
22375 [__ASSUME_32BITUIDS]: Make code unconditional.
22376 [!__ASSUME_32BITUIDS]: Remove conditional code.
22377 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22378 <kernel-features.h>.
22379 [__ASSUME_32BITUIDS]: Make code unconditional.
22380 [!__ASSUME_32BITUIDS]: Remove conditional code.
22381 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22382 [__ASSUME_32BITUIDS]: Make code unconditional.
22383 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22384 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22385 <kernel-features.h>.
22386 [__ASSUME_32BITUIDS]: Make code unconditional.
22387 [!__ASSUME_32BITUIDS]: Remove conditional code.
22388 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22389 <kernel-features.h>.
22390 [__ASSUME_32BITUIDS]: Make code unconditional.
22391 [!__ASSUME_32BITUIDS]: Remove conditional code.
22392 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22393 <kernel-features.h>.
22394 [__ASSUME_32BITUIDS]: Make code unconditional.
22395 [!__ASSUME_32BITUIDS]: Remove conditional code.
22396 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22397 <kernel-features.h>.
22398 [__ASSUME_32BITUIDS]: Make code unconditional.
22399 [!__ASSUME_32BITUIDS]: Remove conditional code.
22400 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22401 <kernel-features.h>.
22402 [__ASSUME_32BITUIDS]: Make code unconditional.
22403 [!__ASSUME_32BITUIDS]: Remove conditional code.
22404 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22405 <kernel-features.h>.
22406 [__ASSUME_32BITUIDS]: Make code unconditional.
22407 [!__ASSUME_32BITUIDS]: Remove conditional code.
22408 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22409 <kernel-features.h>.
22410 [__ASSUME_32BITUIDS]: Make code unconditional.
22411 [!__ASSUME_32BITUIDS]: Remove conditional code.
22412 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22413 <kernel-features.h>.
22414 [__ASSUME_32BITUIDS]: Make code unconditional.
22415 [!__ASSUME_32BITUIDS]: Remove conditional code.
22416 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22417 <kernel-features.h>.
22418 [__ASSUME_32BITUIDS]: Make code unconditional.
22419 [!__ASSUME_32BITUIDS]: Remove conditional code.
22420 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22421 <kernel-features.h>.
22422 [__ASSUME_32BITUIDS]: Make code unconditional.
22423 [!__ASSUME_32BITUIDS]: Remove conditional code.
22424 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22425 <kernel-features.h>.
22426 [__NR_setresgid] (__setresgid): Do not declare.
22427 [__ASSUME_32BITUIDS]: Make code unconditional.
22428 [!__ASSUME_32BITUIDS]: Remove conditional code.
22429 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22430 <kernel-features.h>.
22431 [__NR_setresuid] (__setresuid): Do not declare.
22432 [__ASSUME_32BITUIDS]: Make code unconditional.
22433 [!__ASSUME_32BITUIDS]: Remove conditional code.
22434 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22435 <kernel-features.h>.
22436 [__ASSUME_32BITUIDS]: Make code unconditional.
22437 [!__ASSUME_32BITUIDS]: Remove conditional code.
22438 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22439 <kernel-features.h>.
22440 [__ASSUME_32BITUIDS]: Make code unconditional.
22441 [!__ASSUME_32BITUIDS]: Remove conditional code.
22442 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22443 <kernel-features.h>.
22444 [__ASSUME_32BITUIDS]: Make code unconditional.
22445 [!__ASSUME_32BITUIDS]: Remove conditional code.
22446 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22447 <kernel-features.h>.
22448 [__ASSUME_32BITUIDS]: Make code unconditional.
22449 [!__ASSUME_32BITUIDS]: Remove conditional code.
22450 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22451 <kernel-features.h>.
22452 [__ASSUME_32BITUIDS]: Make code unconditional.
22453 [!__ASSUME_32BITUIDS]: Remove conditional code.
22454 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22455 <kernel-features.h>.
22456 [__ASSUME_32BITUIDS]: Make code unconditional.
22457 [!__ASSUME_32BITUIDS]: Remove conditional code.
22458 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22459 <kernel-features.h>.
22460 [__ASSUME_32BITUIDS]: Make code unconditional.
22461 [!__ASSUME_32BITUIDS]: Remove conditional code.
22462 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22463 <kernel-features.h>.
22464 [__ASSUME_32BITUIDS]: Make code unconditional.
22465 [!__ASSUME_32BITUIDS]: Remove conditional code.
22466 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22467 <kernel-features.h>.
22468 [__ASSUME_32BITUIDS]: Make code unconditional.
22469 [!__ASSUME_32BITUIDS]: Remove conditional code.
22470 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22471 <kernel-features.h>.
22472 [__ASSUME_32BITUIDS]: Make code unconditional.
22473 [!__ASSUME_32BITUIDS]: Remove conditional code.
22474 * sysdeps/unix/sysv/linux/kernel-features.h
22475 (__ASSUME_SETRESUID_SYSCALL): Remove.
22476 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22477 (__ASSUME_32BITUIDS): Likewise.
22478 (__ASSUME_LDT_WORKS): Likewise.
22479 (__ASSUME_O_DIRECTORY): Likewise.
22480 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22481 architecture but not kernel version.
22482 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22483 (__ASSUME_MMAP2_SYSCALL): Likewise.
22484 (__ASSUME_STAT64_SYSCALL): Likewise.
22485 (__ASSUME_IPC64): Likewise.
22486 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22487 <kernel-features.h>.
22488 [__ASSUME_32BITUIDS]: Make code unconditional.
22489 [!__ASSUME_32BITUIDS]: Remove conditional code.
22490 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22491 <kernel-features.h>.
22492 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22493 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22494 132096]: Remove conditional code.
22495 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22496 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22497 <kernel-features.h>.
22498 [__ASSUME_32BITUIDS]: Make code unconditional.
22499 [!__ASSUME_32BITUIDS]: Remove conditional code.
22500 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22501 <kernel-features.h>.
22502 [__ASSUME_32BITUIDS]: Make code unconditional.
22503 [!__ASSUME_32BITUIDS]: Remove conditional code.
22504 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22505 <kernel-features.h>.
22506 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22507 unconditional.
22508 (__setresgid): Do not declare.
22509 [__ASSUME_32BITUIDS]: Make code unconditional.
22510 [!__ASSUME_32BITUIDS]: Remove conditional code.
22511 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22512 <kernel-features.h>.
22513 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22514 unconditional.
22515 (__setresuid): Do not declare.
22516 [__ASSUME_32BITUIDS]: Make code unconditional.
22517 [!__ASSUME_32BITUIDS]: Remove conditional code.
22518 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22519 <kernel-features.h>.
22520 [__ASSUME_32BITUIDS]: Make code unconditional.
22521 [!__ASSUME_32BITUIDS]: Remove conditional code.
22522 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22523 <kernel-features.h>.
22524 [__ASSUME_32BITUIDS]: Make code unconditional.
22525 [!__ASSUME_32BITUIDS]: Remove conditional code.
22526
a386f1cc
RH
225272012-05-25 Richard Henderson <rth@twiddle.net>
22528
22529 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22530 dl_hwcap to ifunc resolver.
22531 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22532 elf_ifunc_invoke.
22533 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22534 dl_hwcap to ifunc resolver.
22535 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22536
b6550497
JM
225372012-05-24 Joseph Myers <joseph@codesourcery.com>
22538
22539 [BZ #14153]
22540 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22541 for |x| <= 2**-26, not 2**-57.
22542 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22543 exception.
22544
b0bc23a1
JL
225452012-05-24 Jeff Law <law@redhat.com>
22546
22547 * stdio-common/Makefile (tests): Add bug25.
22548 * stdio-common/bug25.c: New test.
22549
347c92e9
L
225502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22551
22552 [BZ #13576]
22553 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22554 multiple of MALLOC_ALIGNMENT in size.
22555 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22556
6bcc8b3f
JM
225572012-05-24 Joseph Myers <joseph@codesourcery.com>
22558
22559 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22560 Require >= 256.
22561 (FILENAME_MAX): Use macro-int-constant.
22562 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22563 (_IOFBF): Use macro-int-constant.
22564 (_IOLBF): Likewise.
22565 (_IONBF): Likewise.
22566 (SEEK_CUR): Likewise.
22567 (SEEK_END): Likewise.
22568 (SEEK_SET): Likewise.
22569 (TMP_MAX): Likewise.
22570 (EOF): Use macro-int-constant. Require < 0.
22571 (NULL): Use macro-constant. Require == 0.
22572 (stdin): Require type to be FILE *.
22573 (stdout): Likewise.
22574 (stderr): Likewise.
22575 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22576 macro-int-constant.
22577 (EXIT_SUCCESS): Likewise.
22578 (NULL): Use macro-constant. Require == 0.
22579 (RAND_MAX): Use macro-int-constant.
22580 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22581 [C99-based standards] (strtof): Require function.
22582 [C99-based standards] (strtold): Likewise.
22583 [C99-based standards] (strtoll): Likewise.
22584 [C99-based standards] (strtoull): Likewise.
22585 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22586 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22587 [ISO || ISO99 || ISO11] (math.h): Likewise.
22588 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22589 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22590 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22591
d18ea0c5
AS
225922012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22593
22594 [BZ #14132]
56d25bb8
AS
22595 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22596 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22597 * intl/dgettext.c (DCGETTEXT): Likewise.
22598 * intl/gettext.c (DCGETTEXT): Likewise.
22599 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22600 * posix/regex_internal.h (gettext): Likewise.
22601 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22602 Remove declaration.
22603 * include/argz.h (__argz_count_internal)
22604 (__argz_stringify_internal): Remove declaration.
22605 (__argz_count, __argz_stringify): Declare hidden proto.
22606 * intl/dcgettext.c: Remove use of INTDEF.
22607 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22608 * string/argz-stringify.c: Likewise.
22609 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22610 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22611 Declare hidden proto.
d18ea0c5
AS
22612 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22613 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22614 Declare hidden proto.
22615 * include/stdio.h (__asprintf_internal): Don't declare.
22616 (__asprintf): Don't define as macro. Declare hidden proto.
22617 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22618 (__fsetlocking): Declare hidden proto.
22619 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22620 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22621 hidden proto.
22622 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22623 (_IO_setlinebuf): Remove use of INTUSE.
22624 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22625 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22626 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22627 Remove declaration.
22628 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22629 (_IO_do_flush): Remove use of INTUSE.
22630 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22631 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22632 (_IO_adjust_column, _IO_least_wmarker)
22633 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22634 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22635 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22636 (_IO_default_doallocate, _IO_wdefault_doallocate)
22637 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22638 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22639 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22640 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22641 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22642 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22643 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22644 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22645 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22646 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22647 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22648 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22649 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22650 proto.
22651 (_IO_flush_all_internal, _IO_adjust_column_internal)
22652 (_IO_default_uflow_internal, _IO_default_finish_internal)
22653 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22654 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22655 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22656 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22657 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22658 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22659 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22660 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22661 (_IO_file_close_internal, _IO_file_close_it_internal)
22662 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22663 (_IO_file_init_internal, _IO_file_attach_internal)
22664 (_IO_file_fopen_internal, _IO_file_read_internal)
22665 (_IO_file_sync_internal, _IO_file_seek_internal)
22666 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22667 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22668 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22669 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22670 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22671 (_IO_list_all_internal, _IO_link_in_internal)
22672 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22673 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22674 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22675 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22676 (_IO_do_write_internal, _IO_padn_internal)
22677 (_IO_getline_info_internal, _IO_getline_internal)
22678 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22679 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22680 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22681 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22682 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22683 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22684 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22685 with libc_hidden_ver, remove use of INTUSE.
22686 * libio/genops.c: Likewise.
22687 * libio/freopen.c: Likewise.
22688 * libio/freopen64.c: Likewise.
22689 * libio/iofclose.c: Likewise.
22690 * libio/iofdopen.c: Likewise.
22691 * libio/iofflush.c: Likewise.
22692 * libio/iofflush_u.c: Likewise.
22693 * libio/iofgets.c: Likewise.
22694 * libio/iofgets_u.c: Likewise.
22695 * libio/iofopen.c: Likewise.
22696 * libio/iofopncook.c: Likewise.
22697 * libio/iofread.c: Likewise.
22698 * libio/iofread_u.c: Likewise.
22699 * libio/ioftell.c: Likewise.
22700 * libio/iofwrite.c: Likewise.
22701 * libio/iogetline.c: Likewise.
22702 * libio/iogets.c: Likewise.
22703 * libio/iogetwline.c: Likewise.
22704 * libio/iopadn.c: Likewise.
22705 * libio/iopopen.c: Likewise.
22706 * libio/ioseekoff.c: Likewise.
22707 * libio/ioseekpos.c: Likewise.
22708 * libio/iosetbuffer.c: Likewise.
22709 * libio/iosetvbuf.c: Likewise.
22710 * libio/ioungetc.c: Likewise.
22711 * libio/ioungetwc.c: Likewise.
22712 * libio/iovdprintf.c: Likewise.
22713 * libio/iovsprintf.c: Likewise.
22714 * libio/iovsscanf.c: Likewise.
22715 * libio/memstream.c: Likewise.
22716 * libio/obprintf.c: Likewise.
22717 * libio/oldfileops.c: Likewise.
22718 * libio/oldiofclose.c: Likewise.
22719 * libio/oldiofdopen.c: Likewise.
22720 * libio/oldiofopen.c: Likewise.
22721 * libio/oldiopopen.c: Likewise.
22722 * libio/oldstdfiles.c: Likewise.
22723 * libio/putc.c: Likewise.
22724 * libio/setbuf.c: Likewise.
22725 * libio/setlinebuf.c: Likewise.
22726 * libio/stdfiles.c: Likewise.
22727 * libio/strops.c: Likewise.
22728 * libio/vasprintf.c: Likewise.
22729 * libio/vscanf.c: Likewise.
22730 * libio/vsnprintf.c: Likewise.
22731 * libio/vswprintf.c: Likewise.
22732 * libio/wfiledoalloc.c: Likewise.
22733 * libio/wfileops.c: Likewise.
22734 * libio/wgenops.c: Likewise.
22735 * libio/wmemstream.c: Likewise.
22736 * libio/wstrops.c: Likewise.
22737 * libio/__fpurge.c: Likewise.
22738 * libio/__fsetlocking.c: Likewise.
22739 * assert/assert.c: Likewise.
22740 * debug/fgets_chk.c: Likewise.
22741 * debug/fgets_u_chk.c: Likewise.
22742 * debug/fread_chk.c: Likewise.
22743 * debug/fread_u_chk.c: Likewise.
22744 * debug/gets_chk.c: Likewise.
22745 * debug/obprintf_chk.c: Likewise.
22746 * debug/vasprintf_chk.c: Likewise.
22747 * debug/vdprintf_chk.c: Likewise.
22748 * debug/vsnprintf_chk.c: Likewise.
22749 * debug/vsprintf_chk.c: Likewise.
22750 * malloc/mtrace.c: Likewise.
22751 * misc/error.c: Likewise.
22752 * misc/syslog.c: Likewise.
22753 * stdio-common/asprintf.c: Likewise.
22754 * stdio-common/fxprintf.c: Likewise.
22755 * stdio-common/getw.c: Likewise.
22756 * stdio-common/isoc99_fscanf.c: Likewise.
22757 * stdio-common/isoc99_scanf.c: Likewise.
22758 * stdio-common/isoc99_vfscanf.c: Likewise.
22759 * stdio-common/isoc99_vscanf.c: Likewise.
22760 * stdio-common/isoc99_vsscanf.c: Likewise.
22761 * stdio-common/printf-prs.c: Likewise.
22762 * stdio-common/printf_fp.c: Likewise.
22763 * stdio-common/printf_fphex.c: Likewise.
22764 * stdio-common/printf_size.c: Likewise.
22765 * stdio-common/putw.c: Likewise.
22766 * stdio-common/scanf.c: Likewise.
22767 * stdio-common/sprintf.c: Likewise.
22768 * stdio-common/tmpfile.c: Likewise.
22769 * stdio-common/vfprintf.c: Likewise.
22770 * stdio-common/vfscanf.c: Likewise.
22771 * stdlib/strfmon_l.c: Likewise.
22772 * sunrpc/openchild.c: Likewise.
22773 * sunrpc/xdr_stdio.c: Likewise.
22774 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22775 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22776
d6c33fda
RM
227772012-05-24 Roland McGrath <roland@hack.frob.com>
22778
c1487492
RM
22779 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22780
22781 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22782 in the third column, to generate for the shared library an IFUNC
22783 that uses _dl_vdso_vsym.
22784 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22785 * Makeconfig (object-suffixes-noshared): New variable.
22786
22787 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22788 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22789 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22790 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22791
d6c33fda
RM
22792 [BZ #14132]
22793 * include/sys/time.h (__gettimeofday): Remove macro.
22794 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22795 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22796 Remove INTDEF.
22797 (__gettimeofday): Add libc_hidden_def.
22798 (gettimeofday): Add libc_hidden_weak.
22799 * sysdeps/mach/gettimeofday.c: Likewise.
22800 * sysdeps/posix/gettimeofday.c: Likewise.
22801 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22802 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22803 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22804 (__gettimeofday_internal): Remove strong_alias.
22805 (__gettimeofday): Add libc_hidden_def.
22806 (gettimeofday): Add libc_hidden_weak.
22807 * sysdeps/unix/syscalls.list (gettimeofday):
22808 Remove __gettimeofday_internal alias.
22809
b5a2bbe6
L
228102012-05-24 Daniel Jacobowitz <drow@false.org>
22811 H.J. Lu <hongjiu.lu@intel.com>
22812
22813 [BZ #12495]
22814 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22815 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22816 (largebin_index_32_big): New.
22817 (largebin_index): Use it for 16-byte alignment.
22818 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22819 correction with front_misalign.
22820
cfba4fda
L
228212012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22822
7f907421
L
22823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22824 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22825 Likewise.
22826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22827 Likewise.
22828 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22829 Likewise.
22830 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22831 Likewise.
22832 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22833 Likewise.
22834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22835 Likewise.
22836 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22837 Likewise.
22838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22839 Likewise.
22840 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22841 Likewise.
22842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22843 Likewise.
22844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22845 Likewise.
22846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22847 Likewise.
22848
cfba4fda
L
22849 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22850 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22851
80bad0cc
JM
228522012-05-24 Joseph Myers <joseph@codesourcery.com>
22853
7a25eb06
JM
22854 [BZ #10846]
22855 [BZ #14036]
22856 * math/libm-test.inc (exp_test): Add test from bug 14036.
22857 (pow_test): Add test from bug 10846.
22858
795405f9
JM
22859 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22860 and other flags.
22861 (special_function): Do not include flags in test name.
22862 (parse_args): Likewise.
22863 * sysdeps/i386/fpu/libm-test-ulps: Update.
22864 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22865 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22866 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22868
80bad0cc
JM
22869 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22870 exceptions.
22871 * math/libm-test.inc ("Philosophy"): Update comment about
22872 exception testing.
22873 (UNDERFLOW_EXCEPTION): New macro.
22874 (UNDERFLOW_EXCEPTION_OK): Likewise.
22875 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22876 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22877 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22878 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22879 (INVALID_EXCEPTION_OK): Update value.
22880 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22881 (OVERFLOW_EXCEPTION_OK): Likewise.
22882 (IGNORE_ZERO_INF_SIGN): Likewise.
22883 (test_exceptions): Handle underflow exceptions.
22884 (acos_test): Update for underflow exception expectations.
22885 (cexp_test): Likewise.
22886 (clog_test): Likewise.
22887 (clog10_test): Likewise.
22888 (csqrt_test): Likewise.
22889 (ctan_test): Likewise.
22890 (ctanh_test): Likewise.
22891 (exp_test): Likewise.
22892 (exp10_test): Likewise.
22893 (exp2_test): Likewise.
22894 (expm1_test): Likewise.
22895 (fma_test): Likewise.
22896 (j0_test): Likewise.
22897 (jn_test): Likewise.
22898 (nexttoward_test): Likewise.
22899 (pow_test): Likewise.
22900 (scalbn_test): Likewise.
22901 (scalbln_test): Likewise.
22902 (tan_test): Likewise.
22903 (y1_test): Likewise.
22904 * sysdeps/i386/fpu/libm-test-ulps: Update.
22905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22906
9e0e3d0b
DM
229072012-05-23 David S. Miller <davem@davemloft.net>
22908
22909 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22910 (__libc_sigaction): Remove unused local variables.
22911
ccd0a08f
L
229122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22913
22914 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22915
62bdf9a6
PE
229162012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22917
f8591f80
PE
22918 mktime: avoid signed integer overflow
22919 * time/mktime.c (__mktime_internal): Do not mishandle the case
22920 where diff == INT_MIN.
22921
94c7d826
PE
22922 mktime: simplify computation of average
22923 * time/mktime.c (ranged_convert): Use new time_t_avg function
22924 instead of rolling our own (probably-slower) code.
22925
ce73d683
PE
22926 mktime: do not assume signed right shift propagates sign bit
22927 * time/mktime.c (isdst_differ): New static function.
22928 (__mktime_internal): No need to normalize tm_isdst now.
22929 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22930 tm_isdst values.
22931
72a22e59
PE
22932 mktime: merge another wrapv change from gnulib
22933 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22934 from some compilers.
22935
68605433
PE
22936 mktime: remove incorrect attempt at unusual arithmetics
22937 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22938 The code didn't really work on such machines anyway.
22939 (TYPE_MINIMUM): Assume two's complement.
22940 (twos_complement_arithmetic): Verify that long_int and time_t
22941 are two's complement (or unsigned, in the latter case).
22942
03cf7fe3
PE
22943 mktime: check signed shifts on long_int and time_t, too
22944 * time/mktime.c (SHR): Check that shifts work as desired
22945 on the types long_int and time_t too, as SHR is used on
22946 such types.
22947
f04dfbc2
PE
22948 mktime: do not assume 'long' is wide enough
22949 * time/mktime.c (verify): Move decl up.
22950 (long_int): New type.
22951 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22952 to remove assumption in the code that 'long' is wide enough to
22953 store year values. This assumption is not true on x32 and on
22954 some non-glibc platforms.
22955
62bdf9a6
PE
22956 mktime: merge wrapv change from gnulib
22957 * time/mktime.c (WRAPV): New macro.
22958 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22959 (guess_time_tm, __mktime_internal): Do not assume that signed
22960 integer overflow wraps around; modern compilers generate code
22961 where this assumption is no longer valid.
22962
5e292e4f
L
229632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22964
22965 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22966 Replace "jmp L(pseudo_end)" with "ret".
22967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22968 Likewise.
22969
8caf8c87
AJ
229702012-05-23 Andreas Jaeger <aj@suse.de>
22971
22972 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22973 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22974
1a09dc56
AJ
229752012-05-23 Andreas Jaeger <aj@suse.de>
22976 Maximilian Attems <max@stro.at>
22977
22978 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22979 New macros.
22980
1c87aba0
L
229812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22982
22983 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22984 code so that pseudo_end is just ret and the stack pointer is
22985 correct also for static library in error case.
22986
40e45bd5
JM
229872012-05-23 Joseph Myers <joseph@codesourcery.com>
22988
c2670533
JM
22989 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22990 move to syscalls.list.
22991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22995
40e45bd5
JM
22996 * manual/install.texi (Running make install): Do not mention Linux
22997 kernel version for which pt_chown is not needed.
22998 (Linux): Do not mention problems with nscd with 2.0 kernels.
22999 * INSTALL: Regenerated.
23000
be08eda5
AJ
230012012-05-23 Andreas Jaeger <aj@suse.de>
23002
23003 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23004 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23005 macro.
23006 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23007 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23008 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23009 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23010 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23011 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23012 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23013 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23014 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23015 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23016 * sysdeps/unix/sysv/linux/bits/in.h
23017 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23018
a6a056bb
RM
230192012-05-22 Roland McGrath <roland@hack.frob.com>
23020
23021 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23022 (PREPARE_VERSION): Just use assert instead, it will be elided
23023 under [NDEBUG] anyway.
23024
c9009328
L
230252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23026
23027 * sysdeps/unix/sysv/linux/Makefile: Include
23028 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23029 (sysdep_routines): Remove sysctl.
c9009328
L
23030 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23031 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23032 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23033 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23034 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23035
73338355
AJ
230362012-05-22 Andreas Jaeger <aj@suse.de>
23037
23038 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23039 that pseudo_end is just ret and the stack pointer is correct also
23040 for static library in error case.
23041
d44638b0
PP
230422012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23043
23044 [BZ #14122]
23045 * nss/nsswitch.c (defconfig_entries): New variable.
23046 (__nss_database_lookup): Don't leak defconfig entries.
23047 (nss_parse_service_list): Don't leak on error paths.
23048 (free_database_entries): New function.
23049 (free_defconfig): New function.
23050 (free_mem): Move common code to free_database_entries.
23051
31a39bd8
L
230522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23053
da0331a8
L
23054 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23055 Add arch_prctl.
23056 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23057
31a39bd8
L
23058 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23059 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23061 New macro.
23062 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23063 (INTERNAL_SYSCALL_TYPES): Likewise.
23064 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23065 (LOAD_REGS_TYPES_[1-6]): Likewise.
23066 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23067 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23068
45470df3
AZ
230692012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23070
23071 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23072 copysignl for GLIBC_2_0.
23073 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23074 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23076 logbl for GLIBC_2_0.
23077 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23078 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23079
98a61bcb
L
230802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23081
a4f6e481
L
23082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23083 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23084
f63d5db6
L
23085 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23086 Use "neg %eax".
23087
98a61bcb
L
23088 * time/mktime.c: Update copyright years.
23089
95770f14
PE
230902012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23091
6226efbd
PE
23092 mktime: merge comment-quoting-style change from gnulib
23093 * time/mktime.c: Quote 'like this' in comments.
23094 The GNU coding standards suggest that we no longer quote `like this',
23095 as "`" and "'" are typically rendered asymmetrically nowadays.
23096 The typical gnulib style is to quote 'like this' when quoting
23097 code, and "like this" when quoting English.
23098
b99e4f78
PE
23099 * time/mktime.c (compile-command): Add "-I.".
23100
643e01e6
PE
23101 mktime: merge mktime-internal.h change from gnulib
23102 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23103
2554247d
PE
23104 mktime: merge time_r change from gnulib
23105 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23106
826dd0ab
PE
23107 mktime: merge DEBUG change from gnulib
23108 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23109 case system <time.h> has a #define.
23110
bd83aabe
PE
23111 mktime: merge <sys/types.h> change from gnulib
23112 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23113 since <time.t> is now guaranteed to define time_t.
23114
95770f14
PE
23115 mktime: merge HAVE_CONFIG_H change from gnulib
23116 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23117
5e1a27a9
L
231182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23119
0e44a77e
L
23120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23121 Use "neg %eax".
23122
5e1a27a9
L
23123 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23124 __rlim_t cast.
23125 (struct rusage): Use anonymous union to pad each field to
23126 __syscall_slong_t.
23127
46259bec
DM
231282012-05-21 David S. Miller <davem@davemloft.net>
23129
23130 * Makefules (o-iterator): Remove .s cases.
23131 (compile-command.s): Delete.
23132 (COMPILE.s): Delete.
23133 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23134
59f0c22e
JM
231352012-05-21 Joseph Myers <joseph@codesourcery.com>
23136
23137 * configure.in (libc_cv_predef_stack_protector): Only consider
23138 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23139 * configure: Regenerated.
23140
20c07380
L
231412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23142
bbb3154b
L
23143 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23144 New macro. Use R*LP on int and pointer.
23145 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23146 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23147 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23148 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23149
20c07380
L
23150 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23151 [__WORDSIZE_TIME64_COMPAT32] instead of
23152 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23153 (struct utmp): Likewise.
23154 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23155 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23156 Renamed to ...
23157 (__WORDSIZE_TIME64_COMPAT32): This.
23158 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23159 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23160 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23161 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23162 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23163 (__WORDSIZE_TIME64_COMPAT32): New macro.
23164
d8d1017e
AJ
231652012-05-21 Andreas Jaeger <aj@suse.de>
23166
23167 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23168 only if [SHARED]. Add prototype for __wcschr_ia32.
23169
6c7fb145
RM
231702012-05-21 Roland McGrath <roland@hack.frob.com>
23171
23172 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23173 of %rbp unmolested in the jmp_buf while mangling the low bits.
23174 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23175 unmolested high bits of %rbp while demangling the low bits.
23176 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23177
66274218
AJ
231782012-05-21 Andreas Jaeger <aj@suse.de>
23179
07c58f8f
AJ
23180 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23181 * sunrpc/svc_simple.c: Use it for registerrpc.
23182 * sunrpc/xcrypt.c: Use it for passwd2des.
23183
66274218
AJ
23184 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23185
61f65140
L
231862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23187
23188 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23189 Don't define if [__SYSCALL_WORDSIZE != 32].
23190 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23191 New macro.
23192
5fefb436
AJ
231932012-05-21 Bruno Haible <bruno@clisp.org>
23194 Andreas Jaeger <aj@suse.de>
23195
23196 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23197 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23198 inptr and inend for must_buffer_ch.
23199 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23200 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23201 * stdio-common/Makefile (tests): Remove bug15.
23202 (bug15-ENV): Remove macro.
23203 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23204 anymore.
23205
d8e272ab
AJ
232062012-05-19 Andreas Jaeger <aj@suse.de>
23207 Roland McGrath <roland@hack.frob.com>
23208
23209 * manual/contrib.texi: Completely rewritten. It contains now an
23210 alphabetical list of contributors and their contributions.
23211
4a56a162
RH
232122012-05-21 Richard Henderson <rth@twiddle.net>
23213
23214 * misc/getauxval.c (__getauxval): Use unsigned long int.
23215 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23216 (getauxval): Use unsigned long int.
23217
d024d23c
L
232182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23219
23220 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23221
cbc00a03
RM
232222012-05-21 Roland McGrath <roland@hack.frob.com>
23223
23224 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23225 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23226 __alignof__ (long double).
23227
478143fa
AZ
232282012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23229
23230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23231
c7683a6d
RH
232322012-05-20 Richard Henderson <rth@twiddle.net>
23233
23234 * misc/getauxval.c: New file.
23235 * misc/sys/auxv.h: New file.
23236 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23237 (routines): Add getauxval.
23238 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23239 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23240 * elf/dl-sysdep.c (_dl_auxv): Remove.
23241 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23242 * elf/dl-support.c (_dl_auxv): New variable.
23243 (_dl_aux_init): Initialize it.
23244 * manual/startup.texi (Auxiliary Vector): New node.
23245 * sysdeps/generic/bits/hwcap.h: New file.
23246 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23247 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23248 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23249 * sysdeps/sparc/sysdep.h: ... here. Include it.
23250 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23251 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23253 Update.
c7683a6d
RH
23254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23257 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23262
a6f1845d
AZ
232632012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23264
23265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23266
cbcbe830
DM
232672012-05-19 David S. Miller <davem@davemloft.net>
23268
23269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23270
e0b16cc2
JM
232712012-05-19 Joseph Myers <joseph@codesourcery.com>
23272
23273 [BZ #14123]
23274 * math/s_ccosh.c: Include <float.h>
23275 (__ccosh): Avoid internal overflow calculating sinh and cosh
23276 values before multiplying by sin and cos values.
23277 * math/s_ccoshf.c: Likewise.
23278 * math/s_ccoshl.c: Likewise.
23279 * math/s_csin.c: Likewise.
23280 * math/s_csinf.c: Likewise.
23281 * math/s_csinl.c: Likewise.
23282 * math/s_csinh.c: Likewise.
23283 * math/s_csinhf.c: Likewise.
23284 * math/s_csinhl.c: Likewise.
23285 * math/libm-test.inc (ccos_test): Add more tests.
23286 (ccosh_test): Likewise.
23287 (csin_test): Likewise.
23288 (csinh_test): Likewise.
23289 * sysdeps/i386/fpu/libm-test-ulps: Update.
23290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23291
6ad13e08
L
232922012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23293
f66f0ce8
L
23294 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23295 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23296
6ad13e08
L
23297 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23298
b1d072a7
JM
232992012-05-19 Joseph Myers <joseph@codesourcery.com>
23300
23301 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23302 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23303 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23304 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23305 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23306 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23307 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23308 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23309 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23310 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23311 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23312 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23313 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23314 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23315 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23316 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23317 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23318 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23319 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23320 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23321 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23322 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23323 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23324 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23325 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23326 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23327 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23328 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23329 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23330 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23331 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23332
9eae47cb
AJ
233332012-05-18 Andreas Jaeger <aj@suse.de>
23334
23335 * csu/.gitignore: Delete.
23336
bb07f69f
L
233372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23338
23339 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23340 (timex): Use __syscall_slong_t.
23341
e6bdb741
AJ
233422012-05-18 Andreas Jaeger <aj@suse.de>
23343 Carlos O'Donell <carlos_odonell@mentor.com>
23344
23345 * manual/install.texi (Configuring and compiling): Update
23346 description about files modified in the source directory.
d6c33fda 23347 * INSTALL: Regenerated.
e6bdb741 23348
1b74487e
L
233492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23350
23351 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23352 value. Use "or" to set return value to -1.
23353 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23354 negate return value.
23355
a88b64b9
TMQMF
233562012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23357
23358 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23359 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23360 failure if the compiler has Graphite support disabled.
23361 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23362 Likewise.
23363 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23364 CFLAGS-memmove.c): Likewise.
23365 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23366 Likewise.
23367
3707636e
L
233682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23369
610b8622
L
23370 * sysdeps/x86_64/x32/_itoa.h: New file.
23371
7cd195df
L
23372 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23373 getdents system call only if kernel and user dirents have the
23374 same d_ino and d_off.
23375
94b07d20
L
23376 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23377 LLONG_MAX != LONG_MAX.
23378 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23379 (_fitoa_word): Likewise.
23380
18298070
L
23381 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23382 years.
23383 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23384 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23385 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23386
553c7ea4
L
23387 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23388 include <bits/wordsize.h>. Check __x86_64__ instead of
23389 __WORDSIZE.
23390 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23391 if __x86_64__ is defined. Use anonymous union on fpstate.
23392
3707636e
L
23393 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23394 anonymous union.
23395
b53ef01a
AS
233962012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23397
37fb1dc0
AS
23398 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23399 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23400 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23401 Refer to _rtld_local_ro instead of _rtld_global_ro.
23402 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23403 Likewise.
23404 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23405 Likewise.
23406 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23407 Likewise.
23408 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23409 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23410 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23411
b53ef01a
AS
23412 * sysdeps/powerpc/powerpc32/dl-machine.c
23413 (__elf_machine_runtime_setup) [PROF]: Don't reference
23414 _dl_prof_resolve.
23415
7a185db2
AJ
234162012-05-18 Andreas Jaeger <aj@suse.de>
23417
23418 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23419 function only available for GCCs before 3.4 since GCC 3.4
23420 introduced a builtin.
23421 (lrint): Likewise.
23422 (llrintf): Likewise.
23423 (llrint): Likewise.
23424 (fmaxf): Likewise.
23425 (fmax): Likewise.
23426 (fminf): Likewise.
23427 (fmin): Likewise.
23428 (rint): Likewise.
23429 (rintf): Likewise.
23430 (nearbyint): Likewise.
23431 (nearbyintf): Likewise.
23432 (ceil): Likewise.
23433 (ceilf): Likewise.
23434 (floor): Likewise.
23435 (floorf): Likewise.
23436
3e5aef87
L
234372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23438
428bd707
L
23439 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23440 on both fields and cast pointer to __syscall_ulong_t.
23441
3e5aef87
L
23442 * bits/types.h (__fsword_t): New type.
23443 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23444 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23445 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23446 (__FSWORD_T_TYPE): Likewise.
23447 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23448 (__FSWORD_T_TYPE): Likewise.
23449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23450 (__FSWORD_T_TYPE): Likewise.
23451 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23452 (__FSWORD_T_TYPE): Likewise.
23453 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23454 __SWORD_TYPE with __fsword_t.
23455 (statfs64): Likewise.
23456
1ba7c3dc
DM
234572012-05-17 David S. Miller <davem@davemloft.net>
23458
23459 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23460
59910343
AJ
234612012-05-17 Andreas Jaeger <aj@suse.de>
23462
23463 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23464 warning.
23465
2e4c1e9e
L
234662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23467
23468 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23469
de7f5ce7
AJ
234702012-05-17 Andreas Jaeger <aj@suse.de>
23471
23472 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23473 when it is used.
23474
286abc3d
CM
234752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23476
23477 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23478
477cc68e
L
234792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23480
23481 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23482 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23483
1a0994f5
CD
234842012-05-17 Andreas Jaeger <aj@suse.de>
23485 Carlos O'Donell <carlos_odonell@mentor.com>
23486
23487 [BZ #14059]
23488 * sysdeps/x86_64/multiarch/init-arch.h
23489 (bit_YMM_Usable): Rename to...
23490 (bit_AVX_Usable): ... this.
23491 (bit_FMA4_Usable): New macro.
23492 (bit_XMM_state): New macro.
23493 (bit_YMM_state): New macro.
23494 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23495 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23496 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23497 (CPUID_OSXSAVE): New macro.
23498 (CPUID_AVX): New macro.
23499 (CPUID_FMA4): New macro.
23500 (index_YMM_Usable): Rename to...
23501 (index_AVX_Usable): ... this.
23502 (HAS_AVX): Use HAS_ARCH_FEATURE.
23503 (HAS_FMA4): Likewise.
23504 (HAS_YMM_USABLE): Remove.
23505 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23506 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23507 are present.
23508 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23509 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23510 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23511 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23512 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23513
0af797de
CM
235142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23515
23516 * math/libm-test.c: Support platforms without multiple rounding modes.
23517 * math/bug-nextafter.c: Support platforms without FP exceptions.
23518 * math/bug-nexttoward.c: Likewise.
23519 * math/test-fenv.c: Likewise.
23520 * math/test-misc.c: Likewise.
23521 * stdlib/bug-getcontext.c: Likewise.
23522
e39745ff
AJ
235232012-05-17 Andreas Jaeger <aj@suse.de>
23524
23525 * manual/examples/search.c (critter_cmp): Change signature to
23526 avoid warnings.
23527 * manual/string.texi (Collation Functions): Likewise.
23528
48970aba
L
235292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23530
23531 * bits/types.h: Fold copyright years.
23532 * bits/typesizes.h: Likewise.
23533 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23534 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23535 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23536 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23537 * time/time.h: Likewise.
23538
bedee953
PP
235392012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23540
23541 [BZ #208]
23542 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23543 in instead of returning them. Return void.
23544 (__libc_mallinfo): Accumulate over all arenas.
23545 (__malloc_stats): Adjust for change in int_mallinfo interface.
23546
61653dfb
RM
235472012-05-16 Roland McGrath <roland@hack.frob.com>
23548
30b99d79
RM
23549 [BZ #10375]
23550 * configure.in (NM): Add AC_CHECK_TOOL for it.
23551 (libc_extra_cflags): New substituted variable.
23552 Check for -fstack-protector being used implicitly.
23553 * configure: Regenerated.
23554 * config.make.in (config-extra-cflags): New variable,
23555 gets @libc_extra_cflags@.
23556 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23557
61653dfb
RM
23558 [BZ #10375]
23559 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23560 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23561 * configure: Regenerated.
23562 * config.make.in (CPPUNDEFS): New substituted variable.
23563 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23564 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23565 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23566
661768bb
L
235672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23568
23569 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23570 (mq_attr): Use __syscall_slong_t.
23571
d4261567
L
235722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23573
23574 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23575 Check __x86_64__ instead of __WORDSIZE.
23576 (_STAT_VER_LINUX): Likewise.
23577 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23578 __syscall_ulong_t and __syscall_slong_t.
23579 (stat64): Likewise.
23580
cf3ff365
L
235812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23582
23583 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23584
76cf3e4d
L
235852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23586
23587 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23588
a637753a
L
235892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23590
23591 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23592 __syscall_ulong_t.
23593
d5e05119
L
23594 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23595 include <bits/wordsize.h>. Check __x86_64__ instead of
23596 __WORDSIZE.
23597 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23598 defined.
23599 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23600
f62ee380
L
23601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23602 include <bits/wordsize.h>. Check __x86_64__ instead of
23603 __WORDSIZE.
23604 (user_regs_struct): Use "__extension__ unsigned long long"
23605 instead of "unsigned long" if __x86_64__ is defined.
23606 (user): Likewise. Pad after pointer field if __ILP32__ is
23607 defined.
23608
4e124ced
JM
236092012-05-16 Joseph Myers <joseph@codesourcery.com>
23610
6a3951a0
JM
23611 * configure.in (makeinfo): Require version 4.5 or later. Allow
23612 versions 5 to 9.
23613 * configure: Regenerated.
23614 * manual/install.texi (texinfo): Increase version requirement to
23615 4.5 or later.
23616 * INSTALL: Regenerated.
23617
4e124ced
JM
23618 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23619
953ca31a
L
236202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23621
23622 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23623
617aca05
L
23624 * sysdeps/x86_64/x32/ffs.c: New file.
23625
5762f7ae
L
23626 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23627 __syscall_ulong_t.
23628 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23629 defined. Use __syscall_ulong_t.
23630 (shminfo): Use __syscall_ulong_t.
23631 (shm_info): Likewise.
23632
a26b6856
L
23633 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23634 __syscall_ulong_t.
23635
cb2b9ef7
L
23636 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23637 <bits/wordsize.h>.
23638 (msgqnum_t): Use __syscall_ulong_t.
23639 (msglen_t): Likewise.
23640 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23641 __syscall_ulong_t.
23642
34683bb0
L
23643 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23644 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23645
84a68786
L
23646 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23647
48baa5f1
L
23648 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23649 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23650
180be88b
L
23651 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23652 __syscall_slong_t.
23653
5e90c8ad
L
23654 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23655 include <bits/wordsize.h>. Check __x86_64__ instead of
23656 __WORDSIZE.
23657
23dfb58b
L
23658 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23659 "unsigned long long int" if __x86_64__ is defined.
23660 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23661
ce5d54b0
L
23662 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23663 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23664 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23665
13dc9eac
L
23666 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23667 <stdint.h>.
23668 (GET_PC): Cast to uintptr_t first.
23669 (GET_FRAME): Likewise.
23670 (GET_STACK): Likewise.
23671
a7895d15
L
23672 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23673 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23674 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23675 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23676 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23677 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23678 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23679 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23680 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23681 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23682 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23683 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23684 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23685 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23686 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23687 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23688 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23689 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23690 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23691 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23692 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23693 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23694 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23695 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23696 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23697 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23698 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23699 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23700 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23701
656416c9
AS
237022012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23703
5bd66283
AS
23704 * Makerules (+depfiles): Also collect depfiles from .oS in
23705 $(extra-objs).
23706 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23707 .oS, $(libnldbl-routines)).
23708
656416c9
AS
23709 * Makerules (native-compile-mkdep-flags): Define.
23710 * sunrpc/Makefile (extra-objs): Add $(addprefix
23711 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23712 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23713 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23714 calling $(make-target-directory).
23715
a46f2169
L
237162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23717
23718 * bits/types.h (__snseconds_t): Removed.
23719 * time/time.h (struct timespec): Replace __snseconds_t with
23720 __syscall_slong_t.
23721 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23722 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23723 Likewise.
23724 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23725 (__SNSECONDS_T_TYPE): Likewise.
23726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23727 (__SNSECONDS_T_TYPE): Likewise.
23728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23729 (__SNSECONDS_T_TYPE): Likewise.
23730
6af6528b
L
237312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23732
23733 * sysdeps/mach/hurd/bits/typesizes.h
23734 (__SYSCALL_SLONG_TYPE): New macro.
23735 (__SYSCALL_ULONG_TYPE): Likewise.
23736
de986b56
L
237372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23738
23739 * bits/types.h (__syscall_slong_t): New type.
23740 (__syscall_ulong_t): Likewise.
23741
23742 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23743 (__SYSCALL_ULONG_TYPE): Likewise.
23744 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23745 (__SYSCALL_SLONG_TYPE): Likewise.
23746 (__SYSCALL_ULONG_TYPE): Likewise.
23747 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23748 (__SYSCALL_SLONG_TYPE): Likewise.
23749 (__SYSCALL_ULONG_TYPE): Likewise.
23750 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23751 (__SYSCALL_SLONG_TYPE): Likewise.
23752 (__SYSCALL_ULONG_TYPE): Likewise.
23753
85736dc7
L
237542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23755
23756 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23757 Add sigaltstack-offsets.sym.
23758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23759 <sigaltstack-offsets.h>.
23760 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23761 longjmp_msg pointer.
23762 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23763 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23764 signal stack.
23765 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23766
cc03b296
JM
237672012-05-15 Joseph Myers <joseph@codesourcery.com>
23768
a9538892
JM
23769 * elf/stackguard-macros.h: Remove file.
23770 * sysdeps/generic/stackguard-macros.h: New file.
23771 * sysdeps/i386/stackguard-macros.h: Likewise.
23772 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23773 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23774 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23775 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23776 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23777 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23778 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23779 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23780 <elf/stackguard-macros.h>.
23781
cc03b296
JM
23782 [BZ #14109]
23783 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23784 __aligned__ in attribute.
23785 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23786 (gregset_t): Likewise.
23787
93171016
L
237882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23789
23790 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23791 * sysdeps/x86_64/64/Implies-after: Here. New file.
23792 * sysdeps/x86_64/x32/Implies-after: New file.
23793
d86813a0
L
237942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23795
23796 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23797 and access return value for _dl_profile_fixup. Use R10_LP to
23798 load frame size.
23799
2953ec75
L
238002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23801
23802 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23803
3b550e9e
L
238042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23805
23806 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23807 * sysdeps/x86_64/x32/sysdep.h: New file.
23808
eda41706
L
238092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23810
23811 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23812 * sysdeps/x86_64/setjmp.S: Likewise.
23813
9ea01d93
AZ
238142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23815
23816 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23817 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23818 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23819 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23820 remove unused global constant.
23821
02a91938
CM
238222012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23823
23824 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23825 include of <not-cancel.h>.
23826
6540185f
RM
238272012-05-15 Roland McGrath <roland@hack.frob.com>
23828
23829 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23830
509072a0
AJ
238312012-05-15 Jeff Law <law@redhat.com>
23832 Andreas Jaeger <aj@suse.de>
23833
23834 [BZ #13594]
23835 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23836 out from...
23837 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23838 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23839 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23840 code changing __hst_map_handle.map.
23841
ba75122d
RM
238422012-05-15 Roland McGrath <roland@hack.frob.com>
23843
23844 * configure.in (sysnames): Look for Implies-before and Implies-after
23845 files.
23846 * configure: Regenerated.
23847
890d8bd8
L
238482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23849
23850 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23851 8-byte data alignment with LP_SIZE alignment.
23852
f6ee6623
L
238532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23854
23855 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23856 into R10_LP.
23857
ea2626f6
L
238582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23859
23860 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23861
085f715e
L
238622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23863
23864 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23865 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23866 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23867 Likewise.
23868 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23869
be8498fc
L
238702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23871
23872 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23873 (stackinfo_sub_sp): Likewise.
23874
70bc83b9
L
238752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23876
23877 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23878 RAX_LP.
23879
9bc0b730
L
238802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23881
23882 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23883 into R*_LP.
23884
6d2850e7
L
238852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23886
23887 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23888 sizes into R*_LP.
23889
3cb84561
L
238902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23891
23892 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23893
54e2ed81
L
238942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23895
23896 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23897 into R11_LP and load __x86_64_shared_cache_size_half into
23898 R8_LP.
23899
8a17f349
L
239002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23901
23902 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23903 R8_LP.
23904
777b1eea
AZ
239052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23906
23907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23908 logb for POWER7.
23909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23910 logbf for POWER7.
23911 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23912 logbl for POWER7.
23913 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23914 powerpc32/power7/fpu/s_logb.c via #include.
23915 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23916 powerpc32/power7/fpu/s_logbf.c via #include.
23917 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23918 powerpc32/power7/fpu/s_logbl.c via #include.
23919
d20d4ac2
JM
239202012-05-15 Joseph Myers <joseph@codesourcery.com>
23921
23922 * README.libm: Remove file.
23923
6cdef1ab
L
239242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23925
23926 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23927 count for x32. Use R*_LP and omit operand-size suffix.
23928
0b254d8f
L
239292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23930
23931 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23932 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23933 * sysdeps/x86_64/x32/shlib-versions: New file.
23934
ceb809dc
RM
239352012-05-14 Roland McGrath <roland@hack.frob.com>
23936
23937 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23938 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23939 Use _dl_fatal_printf instead.
23940
37f1abd4
JM
239412012-05-14 Joseph Myers <joseph@codesourcery.com>
23942
23943 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23944 set if not set by the user. Do not allow for being unset.
23945 * sysdeps/unix/sysv/linux/configure: Regenerated.
23946
11de3a33
L
239472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23948
23949 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23950 the `q' suffix from lea and replace .quad with ASM_ADDR.
23951
e02f153a
L
239522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23953
23954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23955 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23956 instead of $17.
23957 (PTR_DEMANGLE): Likewise.
23958
520ae0fd
L
239592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23960
23961 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23962 (LP_OP): Likewise.
23963 (ASM_ADDR): Likewise.
23964 (RAX_LP): Likewise.
23965 (RBP_LP): Likewise.
23966 (RBX_LP): Likewise.
23967 (RCX_LP): Likewise.
23968 (RDI_LP): Likewise.
23969 (RSI_LP): Likewise.
23970 (RSP_LP): Likewise.
23971 (R8_LP): Likewise.
23972 (R9_LP): Likewise.
23973 (R10_LP): Likewise.
23974 (R10_LP): Likewise.
23975 (R11_LP): Likewise.
23976 (R12_LP): Likewise.
23977 (R13_LP): Likewise.
23978 (R14_LP): Likewise.
23979 (R15_LP): Likewise.
23980
b985be81
L
239812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23982
23983 * sysdeps/x86_64/x32/dl-machine.h: New file.
23984
6a4888ff
AJ
239852012-05-14 Andreas Jaeger <aj@suse.de>
23986
23987 * manual/Makefile (subdir): Remove export of subdir.
23988 (all): Remove target.
23989 (.PHONY): Remove all from list.
23990 (mkinstalldirs): Remove.
23991 (.PHONY): Remove installdirs from list.
23992 ($(inst_infodir)/libc.info): Use make-target-directory.
23993 (installdirs): Remove.
23994 (subdir_%): Remove.
23995 (glibc-targets): Remove.
23996 (lib): Remove.
23997 (stubs): Remove.
23998 ($(objpfx)stubs ../po/manual.pot): Remove.
23999 ($(objpfx)stamp%): Remove.
24000 (make-target-directory): Remove.
24001 (subdir_install): Remove.
24002 (routines): Remove.
24003 (aux): Remove.
24004 (sources): Remove.
24005 (objects): Remove.
24006 (headers): Remove.
24007
24008 [BZ #13750]
24009 * manual/.gitignore: Remove, it's not needed anymore.
24010 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24011 all files in it.
24012 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24013 directory.
24014 (texis): Renamed to $(objpfx)texis.
24015 (texis-path): New, contains path to generated files.
24016 (chapters.%): Use texis-path for complete path, add extra argument
24017 libc-texinfo.sh.
24018 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24019 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24020 (summary,texi, stamp-summary): Use complete path of
24021 files. Generate files in build dir.
24022 (dir-add.texi): Build in build dir.
24023 (libm-err.texi,stamp-libm-err): Likewise.
24024 (version.texi, stamp-version): Likewise.
24025 (.%c.texi): Likewise.
24026 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24027 (mostlyclean): Remove target.
24028 (realclean): Remove target.
24029 (generated): Add new variable with contents from mostlyclean and
24030 realclean, remove entries duplicated in common-mostlyclean, add
24031 stamp-libm-err and stamp-version.
24032 (generated-dirs): Add libc directory.
24033 ($(inst_infodir)/libc.info): Install files from build dir.
24034
24035 * manual/install.texi (Configuring and compiling): Adjust since
24036 the info files are not part of the tar ball anymore.
24037
7ac77294
AJ
240382012-05-14 Andreas Jaeger <aj@suse.de>
24039
24040 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24041 variable.
24042
ffb7875d
JM
240432012-05-14 Joseph Myers <joseph@codesourcery.com>
24044
24045 [BZ #13717]
24046 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24047 to 2.2.0 where earlier.
24048 * sysdeps/unix/sysv/linux/configure: Regenerated.
24049 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24050 Remove conditional code.
24051 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24052 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24053 Remove conditional code.
24054 [!__NR_lchown]: Likewise.
24055 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24056 [__NR_lchown]: Likewise.
24057 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24058 comment referencing __ASSUME_LCHOWN_SYSCALL.
24059 * sysdeps/unix/sysv/linux/i386/sigaction.c
24060 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24061 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24062 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24063 Remove conditional code.
24064 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24065 (__protocol_available): Remove #if 0 code.
24066 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24067 conditional code.
24068 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24069 * sysdeps/unix/sysv/linux/kernel-features.h
24070 (__ASSUME_GETCWD_SYSCALL): Don't define.
24071 (__ASSUME_REALTIME_SIGNALS): Likewise.
24072 (__ASSUME_PREAD_SYSCALL): Likewise.
24073 (__ASSUME_PWRITE_SYSCALL): Likewise.
24074 (__ASSUME_POLL_SYSCALL): Likewise.
24075 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24076 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24077 non-SPARC.
24078 (__ASSUME_SIOCGIFNAME): Don't define.
24079 (__ASSUME_MSG_NOSIGNAL): Likewise.
24080 (__ASSUME_SENDFILE): Define unconditionally.
24081 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24082 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24083 conditional code.
24084 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24085 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24086 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24087 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24088 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24089 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24090 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24092 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24095 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24098 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24099 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24101 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24102 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24104 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24105 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24107 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24108 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24110 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24111 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24113 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24114 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24115 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24116 Remove conditional code.
24117 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24118 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24119 Remove conditional code.
24120 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24121 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24122 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24123 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24124 Remove conditional code.
24125 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24126 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24127 Remove conditional code.
24128 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24129 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24130 Remove conditional code.
24131 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24132 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24133 Remove conditional code.
24134 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24135 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24136 Remove conditional code.
24137 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24138 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24139 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24140 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24141 * sysdeps/unix/sysv/linux/sigaction.c
24142 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24143 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24144 * sysdeps/unix/sysv/linux/sigpending.c
24145 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24146 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24147 * sysdeps/unix/sysv/linux/sigprocmask.c
24148 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24149 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24150 * sysdeps/unix/sysv/linux/sigsuspend.c
24151 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24152 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24153 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24154 (__libc_missing_rt_sigs): Remove.
24155 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24156 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24157 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24158 Remove conditional code.
24159 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24160 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24161 return 1.
24162 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24163 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24164 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24165 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24166
1bfb7291
AJ
241672012-05-14 Andreas Jaeger <aj@suse.de>
24168
caae5a81
AJ
24169 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24170 it's not used in glibc.
24171 (__coshm1): Likewise.
24172 (__acosh1p): Likewise.
24173 (__sgn): Likewise.
24174
1bfb7291
AJ
24175 * manual/string.texi (Copying and Concatenation): Add missing
24176 variable in concat example.
24177 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24178
c044d724
L
241792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24180
144c5467 24181 [BZ #14103]
c044d724
L
24182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24183 __builtin_clzl with __builtin_clzll.
24184
2523c62b
L
241852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24186
24187 [BZ #14104]
24188 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24189 libc_freeres_ptr.
24190
d7bb4c42
LD
241912012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24192
24193 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24194 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24195 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24196 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24197
9dc4e1fb
MF
241982012-05-14 Mike Frysinger <vapier@gentoo.org>
24199
24200 * NEWS: Update ia64 info.
24201
c7df0112
AS
242022012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24203
24204 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24205 used as bcopy.
24206
dc70356c
TS
242072012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24208
24209 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24210 * sysdeps/unix/syscalls.list (dup3): Likewise.
24211 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24212 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24213
9fb1a21f
L
242142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24215
24216 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24217 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24218
4822a2a5
L
242192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24220
24221 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24222 thread pointer.
24223 (TLS_IE): Use mov/add instead of movq/addq to load thread
24224 pointer.
24225 (TLS_GD_PREFIX): New.
24226 (TLS_GD): Use it.
24227
842b81d6
DM
242282012-05-11 David S. Miller <davem@davemloft.net>
24229
24230 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24231 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24232 (_FPU_SETCW): Likewise.
24233
1cf463cd
L
242342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24235
24236 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24237 is 32-byte aligned.
24238
60cc4a18
AS
242392012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24240
24241 [BZ #11837]
24242 * iconvdata/gb18030.c: Update tables.
24243 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24244 characters specially.
24245 (BODY for TO_LOOP): Add encoding of missing ranges.
24246
febb44a4
TS
242472012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24248
24249 [BZ #13673]
24250 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24251 * sysdeps/mach/hurd/dup3.c: Likewise.
24252 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24253 * sysdeps/powerpc/memmove.c:: Likewise.
24254
0a10fb9e
L
242552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24256
24257 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24258 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24259
df8a552f
L
242602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24261
24262 * elf/elf.h (R_X86_64_RELATIVE64): New.
24263 (R_X86_64_NUM): Updated.
24264 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24265 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24266 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24267 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24268 tst-quad1pie tst-quad2pie
24269 (modules-names): Add tst-quadmod1 tst-quadmod2.
24270 ($(objpfx)tst-quad1): New dependency.
24271 ($(objpfx)tst-quad2): Likewise.
24272 ($(objpfx)tst-quad1pie): Likewise.
24273 ($(objpfx)tst-quad2pie): Likewise.
24274 * sysdeps/x86_64/tst-quad1.c: New file.
24275 * sysdeps/x86_64/tst-quad1pie.c: New file.
24276 * sysdeps/x86_64/tst-quad2.c: Likewise.
24277 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24278 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24279 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24280 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24281 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24282
f34d6f84
ST
242832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24284
f42d41d1
ST
24285 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24286 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24287 * streams/stropts.h (t_scalar_t): Define type.
24288
3c3571fc
ST
24289 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24290 (_PATH_PRESERVE): Set to "/var/lib".
24291 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24292
61f06bd3
ST
24293 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24294 instead of int.
24295
918d4d71
ST
24296 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24297 if __dir_mkfile succeeded.
24298
f34d6f84
ST
24299 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24300 checking for _hurd_dtablesize. Unlock it right after having
24301 finished _hurd_dtable allocation.
24302
10589b4a
TS
243032012-05-10 Thomas Schwinge <thomas@schwinge.name>
24304
674cdbc7
TS
24305 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24306 * sysdeps/mach/hurd/configure: Regenerated.
24307 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24308 special-casing to...
24309 * sysdeps/gnu/configure.in: ... this new file.
24310 * sysdeps/unix/sysv/linux/configure: Regenerated.
24311 * sysdeps/gnu/configure: New generated file.
24312
8e41b99f
TS
24313 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24314 for Linux: use nsec instead of usec, as well as:
24315 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24316 members of type struct timespec.
24317 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24318 New macros.
24319 (struct stat64): Likewise.
24320 (_STATBUF_ST_NSEC): New macro.
24321 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24322
10589b4a
TS
24323 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24324 __strtoul_internal rather than strtoul.
24325
63643c85
PT
243262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24327
24328 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24329 and reject them.
24330
3faebe6a
ST
243312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24332
24333 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24334 which preserves existing values.
24335 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24336
c6474b07
PT
243372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24338
24339 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24340 TIMEOUT values. Return EINVAL for NFDS values either negative or
24341 greater than FD_SETSIZE.
24342
1043890b
ST
243432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24344
24345 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24346 allocated, call __vm_protect to finish enabling the existing space, and
24347 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24348 allocate the remainder.
24349
37ed8b9b
PT
243502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24351
24352 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24353 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24354
db653660
ST
243552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24356
37ed8b9b
PT
24357 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24358 sysdeps/mach/hurd/readlink.c.
b29d4053 24359
db653660
ST
24360 * posix/tst-sysconf.c (posix_options): Only use
24361 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24362 _POSIX_SYNCHRONIZED_IO when they are defined
24363 * sysdeps/mach/hurd/bits/posix_opt.h:
24364 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24365 (_XOPEN_REALTIME): Undefine macro.
24366 (_XOPEN_REALTIME_THREADS): Undefine macro.
24367 (_XOPEN_SHM): Undefine macro.
24368 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24369 macro to -1.
24370 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24371 macro to -1.
24372 (_POSIX_ASYNC_IO): Undefine macro.
24373 (_POSIX_PRIORITIZED_IO): Undefine macro.
24374 (_POSIX_SPIN_LOCKS): Define macro to -1.
24375
ee16e894
ST
24376 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24377 SA_NODEFER, SA_RESETHAND.
24378 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24379 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24380 F_DUPFD_CLOEXEC.
24381
6103ae3b
TS
243822012-05-10 Thomas Schwinge <thomas@schwinge.name>
24383
24384 * elf/Makefile (pldd-modules): Define unconditionally.
24385
80b4e5f3
TS
243862012-05-10 Thomas Schwinge <thomas@schwinge.name>
24387
24388 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24389
edadcbd6
ST
243902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24391
24392 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24393 Return ENOENT when name is empty.
24394 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24395
80694780
TS
243962012-05-10 Thomas Schwinge <thomas@schwinge.name>
24397
1792c087
TS
24398 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24399
80694780
TS
24400 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24401
6b645f0d
ST
244022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24403
80694780
TS
24404 Fix mlock in all cases except non-readable pages.
24405 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24406 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24407
6b645f0d
ST
24408 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24409 (__mkdir): When path is `/', just fail with EEXIST.
24410 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24411
e468f8a3
TS
244122012-05-10 Thomas Schwinge <thomas@schwinge.name>
24413
24414 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24415 <sys/uio.h> (for writev).
24416 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24417 and <sys/param.h> (for MIN).
24418
a4186cff
PT
244192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24420
24421 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24422 REQUESTED_TIME. Properly set the remaining time and return EINTR
24423 if interrupted.
24424
510bbf14
TS
244252012-05-10 Thomas Schwinge <thomas@schwinge.name>
24426
24427 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24428 Depend on against $(link-rpcuserlibs).
24429
5d5722e8
ST
244302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24431
a4186cff
PT
24432 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24433 (__libc_stack_end): Do not use attribute_relro.
24434 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24435 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24436 to libthread-provided value.
a4186cff
PT
24437 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24438 attribute_relro.
5d5722e8 24439
37233df9
TS
244402012-05-10 Thomas Schwinge <thomas@schwinge.name>
24441
be971a2b
TS
24442 [BZ #3748]
24443 * bits/libc-lock.h (__libc_once_get): New macro.
24444 * sysdeps/mach/bits/libc-lock.h: Likewise.
24445 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24446 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24447 instead of using implementation details.
24448
37233df9
TS
24449 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24450 * libio/freopen.c: Likewise.
24451 * libio/freopen64.c: Likewise.
24452 * misc/syslog.c: Likewise.
24453 * nscd/connections.c: Likewise.
24454 * nscd/netgroupcache.c: Likewise.
24455 * sysdeps/posix/getcwd.c: Likewise.
24456
38de94a5
RM
244572012-05-10 Roland McGrath <roland@hack.frob.com>
24458
24459 * math/w_ilogbf.c: Add #include <limits.h>.
24460
67530489
ST
244612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24462
a4186cff 24463 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24464 path instead of returning without unlocking.
24465
67530489
ST
24466 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24467 immediate-write ioctls.
24468 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24469
5aa3a74a
TS
244702012-05-10 Thomas Schwinge <thomas@schwinge.name>
24471
18bad2ae
TS
24472 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24473 __builtin_frame_address instead of making assumptions about the
24474 location of the return address relative to DATA. Force early load of
24475 the return address.
24476 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24477 __builtin_frame_address.
24478
5aa3a74a
TS
24479 dup3 for GNU Hurd.
24480 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24481 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24482 implement dup3 and do some further code clean-ups.
24483 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24484 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24485
ecd0de9a
ST
244862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24487
cd9fa985
ST
24488 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24489
a4186cff
PT
24490 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24491 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24492 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24493 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24494 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24495 d->port.lock.
802ca5a5 24496
a4186cff
PT
24497 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24498 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24499 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24500
bcf55240
TS
245012012-05-10 Thomas Schwinge <thomas@schwinge.name>
24502
6960eb42
TS
24503 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24504 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24505 definitions.
24506
eb43375f
TS
24507 accept4 for GNU Hurd.
24508 * include/sys/socket.h (__libc_accept4): New prototype.
24509 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24510 to implement __libc_accept4.
24511 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24512 __libc_accept4.
24513 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24514
bcf55240
TS
24515 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24516 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24517 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24518 signal-defines.sym.
24519
6178c55b
ST
245202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24521
a4186cff 24522 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24523
6f080c2f
TS
245242012-05-10 Thomas Schwinge <thomas@schwinge.name>
24525
24526 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24527 assertion on O_CLOEXEC flag.
24528 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24529 * hurd/intern-fd.c: Likewise.
24530 * hurd/port2fd.c: Likewise.
24531
bcfe3a54
ST
245322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24533
24534 [BZ #3906]
24535 * bits/in.h (IPV6_PKTINFO): Define new macro.
24536 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24537
89c9aa49
AZ
245382012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24539
24540 [BZ #13954]
24541 [BZ #13955]
24542 [BZ #13956]
24543 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24544 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24545 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24546 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24548 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24549 * math/libm-test.inc (logb_test) : Additional logb tests.
24550
021db4be
AJ
245512012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24552 Andreas Jaeger <aj@suse.de>
24553
24554 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24555 * configure: Regenerated.
24556 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24557 * config.make.in (link-obsolete-rpc): New substituted variable.
24558 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24559 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24560 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24561 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24562 so that libc.a contains the symbols.
24563 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24564 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24565 * sunrpc/auth_none.c: Likewise.
24566 * sunrpc/auth_unix.c: Likewise.
24567 * sunrpc/authdes_prot.c: Likewise.
24568 * sunrpc/authuxprot.c: Likewise.
24569 * sunrpc/clnt_gen.c: Likewise.
24570 * sunrpc/clnt_perr.c: Likewise.
24571 * sunrpc/clnt_raw.c: Likewise.
24572 * sunrpc/clnt_simp.c: Likewise.
24573 * sunrpc/clnt_tcp.c: Likewise.
24574 * sunrpc/clnt_udp.c: Likewise.
24575 * sunrpc/clnt_unix.c: Likewise.
24576 * sunrpc/des_crypt.c: Likewise.
24577 * sunrpc/des_soft.c: Likewise.
24578 * sunrpc/get_myaddr.c: Likewise.
24579 * sunrpc/key_call.c: Likewise.
24580 * sunrpc/key_prot.c: Likewise.
24581 * sunrpc/netname.c: Likewise.
24582 * sunrpc/pm_getmaps.c: Likewise.
24583 * sunrpc/pm_getport.c: Likewise.
24584 * sunrpc/pmap_clnt.c: Likewise.
24585 * sunrpc/pmap_prot.c: Likewise.
24586 * sunrpc/pmap_prot2.c: Likewise.
24587 * sunrpc/pmap_rmt.c: Likewise.
24588 * sunrpc/publickey.c: Likewise.
24589 * sunrpc/rpc_cmsg.c: Likewise.
24590 * sunrpc/rpc_common.c: Likewise.
24591 * sunrpc/rpc_dtable.c: Likewise.
24592 * sunrpc/rpc_prot.c: Likewise.
24593 * sunrpc/rpc_thread.c: Likewise.
24594 * sunrpc/rtime.c: Likewise.
24595 * sunrpc/svc.c: Likewise.
24596 * sunrpc/svc_auth.c: Likewise.
24597 * sunrpc/svc_raw.c: Likewise.
24598 * sunrpc/svc_run.c: Likewise.
24599 * sunrpc/svc_tcp.c: Likewise.
24600 * sunrpc/svc_udp.c: Likewise.
24601 * sunrpc/svc_unix.c: Likewise.
24602 * sunrpc/svcauth_des.c: Likewise.
24603 * sunrpc/xcrypt.c: Likewise.
24604 * sunrpc/xdr.c: Likewise.
24605 * sunrpc/xdr_array.c: Likewise.
24606 * sunrpc/xdr_float.c: Likewise.
24607 * sunrpc/xdr_intXX_t.c: Likewise.
24608 * sunrpc/xdr_mem.c: Likewise.
24609 * sunrpc/xdr_rec.c: Likewise.
24610 * sunrpc/xdr_ref.c: Likewise.
24611 * sunrpc/xdr_sizeof.c: Likewise.
24612 * sunrpc/xdr_stdio.c: Likewise.
24613
b5c086a2
RM
246142012-05-10 Roland McGrath <roland@hack.frob.com>
24615
24616 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24617 change. Update copyright years.
24618
6d74dd09
JM
246192012-05-10 Joseph Myers <joseph@codesourcery.com>
24620
24621 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24622
28e72501
MK
246232012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24624 Joseph Myers <joseph@codesourcery.com>
24625 Paul Pluzhnikov <ppluzhnikov@google.com>
24626
24627 [BZ #14012]
24628 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24629 requiring rpcgen.
24630 [cross-compiling] (extra-libs): Likewise.
24631 [cross-compiling] (extra-libs-others): Likewise.
24632 [cross-compiling] (librpcsvc-routines): Likewise.
24633 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24634 [cross-compiling] (omit-deps): Likewise.
24635 (sunrpc-CPPFLAGS): New variable.
24636 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24637 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24638 (cross-rpcgen-objs): New variable.
24639 (extra-objs): Append $(cross-rpcgen-objs).
24640 ($(cross-rpcgen-objs)): New rule.
24641 ($(objpfx)cross-rpcgen): Likewise.
24642 (rpcgen-cmd): Define to use $(built-program-file). Expand
24643 comment.
24644 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24645 ($(objpfx)x%.stmp): Likewise.
24646 * sunrpc/proto.h [IS_IN_build] (_): Define.
24647 [IS_IN_build] (_libc_intl_domainname): Likewise.
24648
c8c59454
L
246492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24650
24651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24652 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24653 and R_X86_64_TPOFF64.
24654
6f27cd16
JM
246552012-05-10 Joseph Myers <joseph@codesourcery.com>
24656
24657 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24658 sysdeps/unix/sysv/syscalls.list.
24659 (stime): Likewise.
24660 (utime): Likewise.
24661 * sysdeps/unix/sysv/syscalls.list: Remove file.
24662
02467e1c
PE
246632012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24664
24665 [BZ #3440]
24666 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24667 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24668 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24669 (__LC_IDENTIFICATION): Make these macros useful in #if
24670 expressions, as required by C99.
24671
da392631
AS
246722012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24673
24674 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24675 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24676 after this.
24677
8115f29b
L
246782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24679
24680 * stdlib/longlong.h: Updated from GCC.
24681
bdd74070
AJ
246822012-05-09 Andreas Jaeger <aj@suse.de>
24683
edfe0dbe
AJ
24684 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24685 default is first entry.
24686 (run_mode): Set type.
24687 (main): Remove informal message about syslog.
24688 (options): Fix typo.
24689
bcfe3a54
ST
24690 [BZ #14053]
24691 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24692 to asm.
bcfe3a54
ST
24693 (lrint): Likewise.
24694 (llrintf): Likewise.
24695 (llrint): Likewise.
24696 (rint): Likewise.
24697 (rintf): Likewise.
24698 (nearbyint): Likewise.
24699 (nearbyintf): Likewise.
bdd74070 24700
91d8d69e
AJ
247012012-05-09 Andreas Jaeger <aj@suse.de>
24702 Pedro Alves <palves@redhat.com>
24703
24704 * nscd/nscd.c (run_mode): Use enum.
24705 (main): Cleanup coding style issue.
24706
bb90b80b
AJ
247072012-05-09 Alexandre Oliva <aoliva@redhat.com>
24708 Andreas Jaeger <aj@suse.de>
24709
bcfe3a54
ST
24710 * nscd/nscd.c (go_background): Replaced with...
24711 (run_mode): ... this.
bb90b80b 24712 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24713 (options): Add -F --foreground.
24714 (main): Implement it.
24715 (parse_opt): Parse it.
bb90b80b 24716
1a4b75a1
AJ
247172012-05-09 Andreas Jaeger <aj@suse.de>
24718
24719 [BZ #14083]
24720 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24721 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24722 -Wconversion warning.
24723 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24724 Likewise.
24725
b1cc2472
JM
247262012-05-09 Joseph Myers <joseph@codesourcery.com>
24727
24728 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24729 == 0.
24730 (LC_ALL): Use macro-int-constant.
24731 (LC_COLLATE): Likewise.
24732 (LC_CTYPE): Likewise.
24733 (LC_MESSAGES): Likewise.
24734 (LC_MONETARY): Likewise.
24735 (LC_NUMERIC): Likewise.
24736 (LC_TIME): Likewise.
24737 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24738 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24739 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24740 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24741 Specify type.
24742 [C99-based standards] (float_t): Expect type.
24743 [C99-based standards] (double_t): Expect type.
24744 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24745 type.
24746 [C99-based standards] (HUGE_VALL): Likewise.
24747 [C99-based standards] (INFINITY): Likewise.
24748 [C99-based standards] (NAN): Likewise.
24749 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24750 [C99-based standards] (FP_NAN): Likewise.
24751 [C99-based standards] (FP_NORMAL): Likewise.
24752 [C99-based standards] (FP_SUBNORMAL): Likewise.
24753 [C99-based standards] (FP_ZERO): Likewise.
24754 [C99-based standards] (FP_FAST_FMA): Use
24755 optional-macro-int-constant. Specify type. Require == 1.
24756 [C99-based standards] (FP_FAST_FMAF): Likewise.
24757 [C99-based standards] (FP_FAST_FMAL): Likewise.
24758 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24759 [C99-based standards] (FP_ILOGBNAN): Likewise.
24760 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24761 Specify type.
24762 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24763 [C99-based standards] (math_errhandling): Specify type.
24764 [ISO99 || ISO11] (signgam): Do not allow.
24765 [non-C99-based standards] (copysignf): Do not allow.
24766 [non-C99-based standards] (exp2f): Likewise.
24767 [non-C99-based standards] (log2f): Likewise.
24768 [non-C99-based standards] (modff): Allow.
24769 [non-C99-based standards] (erff): Do not allow.
24770 [non-C99-based standards] (erfcf): Likewise.
24771 [non-C99-based standards] (gammaf): Likewise.
24772 [non-C99-based standards] (hypotf): Likewise.
24773 [non-C99-based standards] (j0f): Likewise.
24774 [non-C99-based standards] (j1f): Likewise.
24775 [non-C99-based standards] (jnf): Likewise.
24776 [non-C99-based standards] (lgammaf): Likewise.
24777 [non-C99-based standards] (tgammaf): Likewise.
24778 [non-C99-based standards] (y0f): Likewise.
24779 [non-C99-based standards] (y1f): Likewise.
24780 [non-C99-based standards] (ynf): Likewise.
24781 [non-C99-based standards] (isnanf): Likewise.
24782 [non-C99-based standards] (acoshf): Likewise.
24783 [non-C99-based standards] (asinhf): Likewise.
24784 [non-C99-based standards] (atanhf): Likewise.
24785 [non-C99-based standards] (cbrtf): Likewise.
24786 [non-C99-based standards] (expm1f): Likewise.
24787 [non-C99-based standards] (ilogbf): Likewise.
24788 [non-C99-based standards] (log1pf): Likewise.
24789 [non-C99-based standards] (logbf): Likewise.
24790 [non-C99-based standards] (nextafterf): Likewise.
24791 [non-C99-based standards] (remainderf): Likewise.
24792 [non-C99-based standards] (rintf): Likewise.
24793 [non-C99-based standards] (scalbf): Likewise.
24794 [non-C99-based standards] (copysignl): Likewise.
24795 [non-C99-based standards] (exp2l): Likewise.
24796 [non-C99-based standards] (log2l): Likewise.
24797 [non-C99-based standards] (modfl): Allow.
24798 [non-C99-based standards] (erfl): Do not allow.
24799 [non-C99-based standards] (erfcl): Likewise.
24800 [non-C99-based standards] (gammal): Likewise.
24801 [non-C99-based standards] (hypotl): Likewise.
24802 [non-C99-based standards] (j0l): Likewise.
24803 [non-C99-based standards] (j1l): Likewise.
24804 [non-C99-based standards] (jnl): Likewise.
24805 [non-C99-based standards] (lgammal): Likewise.
24806 [non-C99-based standards] (tgammal): Likewise.
24807 [non-C99-based standards] (y0l): Likewise.
24808 [non-C99-based standards] (y1l): Likewise.
24809 [non-C99-based standards] (ynl): Likewise.
24810 [non-C99-based standards] (isnanl): Likewise.
24811 [non-C99-based standards] (acoshl): Likewise.
24812 [non-C99-based standards] (asinhl): Likewise.
24813 [non-C99-based standards] (atanhl): Likewise.
24814 [non-C99-based standards] (cbrtl): Likewise.
24815 [non-C99-based standards] (expm1l): Likewise.
24816 [non-C99-based standards] (ilogbl): Likewise.
24817 [non-C99-based standards] (log1pl): Likewise.
24818 [non-C99-based standards] (logbl): Likewise.
24819 [non-C99-based standards] (nextafterl): Likewise.
24820 [non-C99-based standards] (remainderl): Likewise.
24821 [non-C99-based standards] (rintl): Likewise.
24822 [non-C99-based standards] (scalbl): Likewise.
24823 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24824 [non-C99-based standards] (FP_*): Do not allow.
24825 [C99-based standards] (FP_*): Change to
24826 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24827 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24828 allow.
24829 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24830 (SIG_ERR): Likewise.
24831 [X/Open-based standards] (SIG_HOLD): Likewise.
24832 (SIG_IGN): Likewise.
24833 (SIGABRT): Use macro-int-constant. Specify type. Require
24834 positive value.
24835 (SIGFPE): Likewise.
24836 (SIGILL): Likewise.
24837 (SIGINT): Likewise.
24838 (SIGSEGV): Likewise.
24839 (SIGTER): Likewise.
24840 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24841 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24842 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24843 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24844 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24845 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24846 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24847 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24848 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24849 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24850 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24851 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24852 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24853 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24854 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24855 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24856 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24857 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24858 [X/Open-based standards] (SIGTRAP): Likewise.
24859 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24860 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24861 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24862 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24863 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24864 allow.
24865
b9f1922d
IW
248662012-05-08 Ian Wienand <ianw@vmware.com>
24867
24868 [BZ #14080]
24869 * time/tzset.c (__tzset_parse_tz): Update default rules for
24870 daylight time changes in the Energy Policy Act of 2005.
24871
1db86e88
AJ
248722012-05-09 Andreas Jaeger <aj@suse.de>
24873
24874 [BZ #13983]
24875 * elf/ldconfig.c (parse_conf): Change string to make clear that
24876 ldconfig only issued a warning if ld.so.conf does not exist.
24877
dee4a4e3
DM
248782012-05-08 David S. Miller <davem@davemloft.net>
24879
ee0db190
DM
24880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24881 movxtod instead of popping the value on the stack.
24882
dee4a4e3
DM
24883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24884
6a43ec98
CD
248852012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24886
24887 * config.h.in: Add HAVE_ARM_PCS_VFP.
24888
05c2c961
RMG
248892012-05-08 Roland Mc Grath <roland@hack.frob.com>
24890
bcfe3a54
ST
24891 [BZ #13979]
24892 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24893 checking but the checks are disabled for any reason.
05c2c961 24894
4b30f61a
L
248952012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24896
24897 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24898 and ELF64_R_TYPE with ELFW(R_TYPE).
24899
eee2bc67
JM
249002012-05-08 Joseph Myers <joseph@codesourcery.com>
24901
7ea5391a
JM
24902 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24903 (ulimit): Likewise.
24904
eee2bc67
JM
24905 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24906 (settimeofday): Likewise.
24907
abb66a67
MF
249082012-05-08 Mike Frysinger <vapier@gentoo.org>
24909
24910 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24911 a struct th_u2 inside the union, and move tu_block/tu_code into
24912 a new th_u3 union of tu_block/tu_code inside of that. Move
24913 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24914 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24915 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24916 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24917 (th_stuff): Change to th_u1.tu_stuff.
24918 (th_data): Define.
24919 (th_msg): Change to th_u1.th_u2.tu_data.
24920
7f18b530
DM
249212012-05-07 David S. Miller <davem@davemloft.net>
24922
05760585
DM
24923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24924
7f18b530
DM
24925 [BZ #14074]
24926 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24927 (SETUP_PIC_REG): Use it.
24928 (SETUP_PIC_REG_LEAF): Use it.
24929
495fd99f
JM
249302012-05-07 Joseph Myers <joseph@codesourcery.com>
24931
24932 [BZ #13885]
24933 [BZ #13923]
24934 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24935 USE_AS_EXPM1L.
24936 (EXPL_FINITE): Likewise.
24937 (FLDLOG): Likewise.
24938 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24939 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24940 e_expl.S.
24941 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24942 USE_AS_EXPM1L.
24943 (EXPL_FINITE): Likewise.
24944 (FLDLOG): Likewise.
24945 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24946 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24947 e_expl.S.
24948 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24949 test of -max_value argument for long double.
24950 * sysdeps/i386/fpu/libm-test-ulps: Update.
24951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24952
6693d694
DM
249532012-05-06 David S. Miller <davem@davemloft.net>
24954
24955 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24956 quad soft-float symbols whose references which are compiler
24957 generated.
24958 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24959
6c23e11c
JM
249602012-05-06 Joseph Myers <joseph@codesourcery.com>
24961
d8b82cad
JM
24962 [BZ #13884]
24963 [BZ #13914]
24964 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24965 USE_AS_EXP10L.
24966 (EXPL_FINITE): Likewise.
24967 (FLDLOG): Likewise.
24968 (c0): Likewise.
24969 (c1): Likewise.
24970 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24971 Adjust comments for base varying.
24972 (__expl_finite): Change alias to EXPL_FINITE.
24973 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24974 e_expl.S.
24975 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24976 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24977 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24978 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24980 USE_AS_EXP10L.
24981 (EXPL_FINITE): Likewise.
24982 (FLDLOG): Likewise.
24983 (c0): Likewise.
24984 (c1): Likewise.
24985 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24986 Adjust comments for base varying.
24987 (__expl_finite): Change alias to EXPL_FINITE.
24988 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24989 tests for bugs.
24990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24991
6c23e11c
JM
24992 [BZ #14064]
24993 * math/libm-test.inc (check_float_internal): Correct ulp
24994 calculation for subnormal expected results.
24995
29ba805c
AJ
249962012-05-06 Andreas Jaeger <aj@suse.de>
24997
24998 * Makeconfig (+math-flags): New, set to -frounding-math.
24999 (+cflags): Add +math-flags so that all of glibc gets compiled with
25000 it.
25001
25002 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25003
7b17aeda
JM
250042012-05-05 Joseph Myers <joseph@codesourcery.com>
25005
5779f134
JM
25006 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25007 Disable one test.
25008
41498f4d
JM
25009 [BZ #13787]
25010 [BZ #13922]
25011 [BZ #14036]
25012 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25013 (__ieee754_expl): Allow for and saturate large arguments.
25014 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25015 (u_threshold): Likewise.
25016 (__exp): Call __ieee754_exp before checking for overflow and
25017 underflow.
25018 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25019 (u_threshold): Likewise.
25020 (__expf): Call __ieee754_expf before checking for overflow and
25021 underflow.
25022 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25023 (u_threshold): Likewise.
25024 (__expl): Call __ieee754_expl before checking for overflow and
25025 underflow.
25026 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25027 (__ieee754_expl): Allow for and saturate large arguments.
25028 * math/libm-test.inc (exp_test): Add another test. Do not allow
25029 missing overflow exception on overflow.
25030 (expm1_test): Do not allow missing overflow exception on overflow.
25031
6698b8bf
JM
25032 * sysdeps/i386/fpu/e_expl.c: Move to ...
25033 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25034 rather than using inline asm.
25035 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25036 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25037 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25038
7b17aeda
JM
25039 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25040 (nice): Likewise.
25041 (poll): Likewise.
25042 (signal): Likewise.
25043 (time): Likewise.
25044 (times): Likewise.
25045
f7c85819
JM
250462012-05-04 Joseph Myers <joseph@codesourcery.com>
25047
25048 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25049 sysdeps/unix/common/syscalls.list.
25050 (fchmod): Likewise.
25051 (fchown): Likewise.
25052 (ftruncate): Likewise.
25053 (getrusage): Likewise.
25054 (gettimeofday): Likewise.
25055 (setpgid): Likewise.
25056 (setregid): Likewise.
25057 (setreuid): Likewise.
25058 (sigaction): Likewise.
25059 (truncate): Likewise.
25060 (vhangup): Likewise.
25061 * sysdeps/unix/common/syscalls.list: Remove file.
25062 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25063 * sysdeps/unix/sysv/linux/Implies: Likewise.
25064
336270d0
L
250652012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25066
25067 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25069 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25070 Moved to ...
25071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25072 Here.
25073 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25074 to ...
25075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25076 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25077 to ...
25078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25079 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25080 to ...
25081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25082 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25083 to ...
25084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25085 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25086 to ...
25087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25088 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25089 to ...
25090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25091 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25092 to ...
25093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25094 Here.
25095 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25096 to ...
25097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25098 Here.
25099 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25100 to ...
25101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25102 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25103 Moved to ...
25104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25105 Here.
25106 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25107 to ...
25108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25109
d128e450
JM
251102012-05-04 Joseph Myers <joseph@codesourcery.com>
25111
fa8ee516
JM
25112 * sysdeps/unix/common/bits/dirent.h: Remove file.
25113 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25114
d128e450
JM
25115 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25116 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25117 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25118 * sysdeps/unix/bsd/isatty.c: Likewise.
25119 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25120 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25121 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25122
ff8faaf0 251232012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25124
62881be4 25125 [BZ #13563]
31dc8730
AZ
25126 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25127 long double comparison inaccuracies.
25128 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25130
6fef930c
AS
251312012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25132
25133 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25134 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25135
8f203e6c
JM
251362012-05-04 Joseph Myers <joseph@codesourcery.com>
25137
25138 [BZ #14049]
25139 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25140 nonzero digits before rounding a hex value.
25141 * stdlib/tst-strtod.c (tests): Add another test.
25142
5197d9c2
AK
251432012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25144
25145 * sysdeps/s390/fpu/libm-test-ulps: Update.
25146
f0c1dedf
AJ
251472012-05-03 Andreas Jaeger <aj@suse.de>
25148
25149 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25150 does not get optimized out.
25151 (malloc_opt_barrier): New.
25152
a65ef2ae 251532012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25154 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25155
2b942cb7 25156 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25157 intermediate file deletion.
2b942cb7 25158 (generated): Add .symlist files.
a65ef2ae 25159
54b71e02
JM
251602012-05-03 Joseph Myers <joseph@codesourcery.com>
25161
25162 [BZ #13775]
25163 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25164 Redirect under this condition.
25165 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25166 [__USE_GNU] (__dprintf_chk): Not under this condition.
25167 [__USE_GNU] (__vdprintf_chk): Likewise.
25168 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25169 under this condition.
25170 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25171 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25172 [__USE_XOPEN2K8] (vdprintf): Likewise.
25173 [__USE_GNU] (__dprintf_chk): Not under this condition.
25174 [__USE_GNU] (__vdprintf_chk): Likewise.
25175 [__USE_GNU] (dprintf): Likewise.
25176 [__USE_GNU] (vdprintf): Likewise.
25177
d3dfcc41
RM
251782012-05-03 Roland McGrath <roland@hack.frob.com>
25179
25180 * elf/Makefile (common-generated): Set this instead of generated for
25181 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25182 $(all-built-dso)-derived lists.
25183
7ac30cc5
AJ
251842012-05-03 Andreas Jaeger <aj@suse.de>
25185
0c51e550
AJ
25186 * sysdeps/i386/fpu/libm-test-ulps: Update.
25187
7ac30cc5
AJ
25188 * FAQ: Removed.
25189 * FAQ.in: Likewise.
25190 * scripts/gen-FAQ.pl: Likewise.
25191 * manual/install.texi (Installation): Point to online location of
25192 FAQ.
25193 * Makefile (files-for-dist): Remove FAQ.
25194 (FAQ): Remove.
25195
d4c2917f
AM
251962012-05-02 Allan McRae <allan@archlinux.org>
25197
25198 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25199 (LDFLAGS-reldepmod5.so): Likewise.
25200 (LDFLAGS-reldep6mod1.so): Likewise.
25201 (LDFLAGS-reldep6mod4.so): Likewise.
25202 (LDFLAGS-reldep8mod3.so): Likewise.
25203 (LDFLAGS-unload4mod1.so): Likewise.
25204 (LDFLAGS-unload4mod2.so): Likewise.
25205 (LDFLAGS-tst-initorder): Likewise.
25206 (LDFLAGS-tst-initordera2.so): Likewise.
25207 (LDFLAGS-tst-initordera3.so): Likewise.
25208 (LDFLAGS-tst-initordera4.so): Likewise.
25209 (LDFLAGS-tst-initorderb2.so): Likewise.
25210 (LDFLAGS-noload): Likewise.
25211 (LDFLAGS-next): Likewise.
25212 (LDFLAGS-order2mod1.so): Likewise.
25213 (LDFLAGS-order2mod2.so): Likewise.
25214 (LDFLAGS-tst-initorder2): Likewise.
25215 (LDFLAGS-tst-initorder2a.so): Likewise.
25216 (LDFLAGS-tst-initorder2b.so): Likewise.
25217 (LDFLAGS-tst-initorder2c.so): Likewise.
25218 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25219
d77f993f
DM
252202012-05-02 David S. Miller <davem@davemloft.net>
25221
25222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25223
171a70b4
PP
252242012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25225
25226 [BZ #14055]
25227 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25228
0be196ad
AJ
252292012-05-02 Andreas Jaeger <aj@suse.de>
25230
25231 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25232 since we manipulate rounding mode.
25233 (CPPFLAGS-test-idouble.c): Likewise.
25234 (CPPFLAGS-test-ifloat.c): Likewise.
25235 (CFLAGS-test-ldouble.c): Likewise.
25236 (CFLAGS-test-double.c): Likewise.
25237 (CFLAGS-test-float.c): Likewise.
25238 (CFLAGS-test-misc.c): Likewise.
25239 (CFLAGS-test-test-fenv.c): Likewise.
25240
4f9d04aa
AZ
252412012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25242
2b942cb7
RM
25243 [BZ #2550]
25244 [BZ #2570]
25245 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25246 comparisons to determine direction to adjust input.
4f9d04aa 25247
82a79e7d
RM
252482012-05-01 Roland McGrath <roland@hack.frob.com>
25249
f5a01ca9
RM
25250 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25251 output to the target.
25252
90fe4186
RM
25253 * scripts/localplt.awk: New file.
25254 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25255 (check-localplt-CFLAGS): Variable removed.
25256 ($(all-built-dso:=.jmprel)): New static pattern rule.
25257 (generated): Add those targets.
25258 (localplt-built-dso): New variable.
25259 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25260
25261 * elf/check-localplt.c: File removed.
25262
82397ed6
RM
25263 * scripts/check-execstack.awk: New file.
25264 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25265 (check-execstack-CFLAGS): Variable removed.
25266 ($(objpfx)check-execstack.h): Target removed.
25267 ($(objpfx)execstack-default): New target.
25268 (generated): Add that instead of check-execstack.h.
25269 ($(all-built-dso:=.phdr)): New static pattern rule.
25270 (generated): Add those targets.
25271 * elf/check-execstack.c: File removed.
25272
82a79e7d
RM
25273 * scripts/check-textrel.awk: New file.
25274 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25275 (check-textrel-CFLAGS): Variable removed.
25276 (all-built-dso): Use := to define.o
25277 ($(all-built-dso:=.dyn)): New static pattern rule.
25278 (generated): Add those targets.
25279 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25280 * config.make.in (READELF): New substituted variable.
25281 * elf/check-textrel.c: File removed.
25282
62fde54f 252832012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25284
615605c9
JM
25285 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25286 allow.
25287 * conform/data/ctype.h-data [C99-based standards] (isblank):
25288 Expect function.
25289 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25290 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25291 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25292 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25293 Specify type. Require positive value.
25294 (EILSEQ): Likewise.
25295 (ERANGE): Likewise.
25296 [ISO || POSIX] (EILSEQ): Do not expect.
25297 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25298 Specify type. Require positive value.
25299 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25300 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25301 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25302 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25303 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25304 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25305 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25306 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25307 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25308 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25309 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25310 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25311 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25312 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25313 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25314 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25315 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25316 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25317 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25318 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25319 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25320 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25321 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25322 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25323 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25324 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25325 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25326 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25327 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25328 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25329 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25330 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25331 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25332 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25333 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25334 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25335 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25336 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25337 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25338 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25339 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25340 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25341 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25342 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25343 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25344 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25345 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25346 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25347 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25348 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25349 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25350 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25351 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25352 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25353 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25354 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25355 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25356 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25357 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25358 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25359 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25360 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25361 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25362 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25363 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25364 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25365 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25366 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25367 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25368 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25369 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25370 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25371 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25372 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25373 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25374 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25375 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25376 Require >= 2.
25377 (FLT_ROUNDS): Expect as macro, not constant.
25378 (FLT_MANT_DIG): Use macro-int-constant.
25379 (DBL_MANT_DIG): Likewise.
25380 (LDBL_MANT_DIG): Likewise.
25381 (FLT_DIG): Likewise.
25382 (DBL_DIG): Likewise.
25383 (LDBL_DIG): Likewise.
25384 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25385 (DBL_MIN_EXP): Likewise.
25386 (LDBL_MIN_EXP): Likewise.
25387 (FLT_MAX_EXP): Use macro-int-constant.
25388 (DBL_MAX_EXP): Likewise.
25389 (LDBL_MAX_EXP): Likewise.
25390 (FLT_MAX_10_EXP): Likewise.
25391 (DBL_MAX_10_EXP): Likewise.
25392 (LDBL_MAX_10_EXP): Likewise.
25393 (FLT_MAX): Use macro-constant.
25394 (DBL_MAX): Likewise.
25395 (LDBL_MAX): Likewise.
25396 (FLT_EPSILON): Use macro-constant. Give upper bound.
25397 (DBL_EPSILON): Likewise.
25398 (LDBL_EPSILON): Likewise.
25399 (FLT_MIN): Likewise.
25400 (DBL_MIN): Likewise.
25401 (LDBL_MIN): Likewise.
25402 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25403 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25404 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25405 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25406 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25407 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25408 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25409 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25410 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25411 [ISO11] (FLT_TRUE_MIN): Likewise.
25412 [ISO11] (LDBL_TRUE_MIN): Likewise.
25413 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25414 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25415 (SCHAR_MIN): Use macro-int-constant. Specify type.
25416 (SCHAR_MAX): Likewise.
25417 (UCHAR_MAX): Likewise.
25418 (CHAR_MIN): Likewise.
25419 (CHAR_MAX): Likewise.
25420 (MB_LEN_MAX): Use macro-int-constant.
25421 (SHRT_MIN): Use macro-int-constant. Specify type.
25422 (SHRT_MAX): Likewise.
25423 (USHRT_MAX): Likewise.
25424 (INT_MAX): Likewise.
25425 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25426 bound negative.
25427 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25428 bound with "U".
25429 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25430 bound with "L".
25431 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25432 bound negative. Suffix upper bound with "L".
25433 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25434 bound with "UL".
25435 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25436 Specify type.
25437 [C99-based standards] (LLONG_MAX): Likewise.
25438 [C99-based standards] (ULLONG_MAX): Likewise.
25439 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25440 == 0.
25441 [ISO11] (max_align_t): Require type.
25442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25443
c9140a62
JM
25444 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25445 from $CFLAGS, without defining away __attribute__ calls.
25446 (checknamespace): Use $CFLAGS_namespace.
25447
9af0bf29
JM
25448 * conform/conformtest.pl (@keywords): Only include C99 keywords
25449 for standards based on C99 or C11.
25450
343222a2
JM
25451 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25452 Disable tests.
25453 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25454 UNIX98]: Likewise.
25455
661f8cf0
JM
25456 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25457 usability of symbols in #if.
25458
ee74b9cb
JM
25459 * conform/conformtest.pl: If macro or constant types start
25460 "promoted:", expect the symbol to be of the following type
25461 promoted by the integer promotions.
62fde54f 25462
aafc49b3
JM
25463 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25464 in one place. Also handle "macro-constant".
25465
fefdf574
JM
25466 * conform/conformtest.pl: Only accept expected macro values with
25467 "==". Parse all "macro" lines in one place.
25468 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25469
f2d922fe
JM
25470 * conform/conformtest.pl: Handle braced types on "constant" lines
25471 instead of handling "typed-constant".
25472 * conform/data/signal.h-data: Use "constant" instead of
25473 "typed-constant".
25474
d22956c9
JM
25475 * conform/conformtest.pl: Handle "optional-" at start of lines in
25476 one place rather than duplicating several cases. Handle each
25477 format of "macro" line with initial "optional-".
25478
028e2e38
JM
25479 * conform/conformtest.pl: Only accept expected constant or
25480 optional-constant values with "==". Parse all "constant" lines in
25481 one place. Parse all "optional-constant" lines in one place.
25482 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25483 * conform/data/fmtmsg.h-data: Likewise.
25484 * conform/data/netinet/in.h-data: Likewise.
25485 * conform/data/tar.h-data: Likewise.
25486 * conform/data/limits.h-data: Use "==" form on "constant" and
25487 "optional-constant" lines.
25488
1b8f2850
JM
25489 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25490 Use -std=c99 for XOPEN2K.
25491 (@knownproblems): Remove.
25492 (newtoken): Don't check %isknown.
25493
a05a144b
JM
25494 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25495 Do not expect macro.
25496 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25497 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25498 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25499 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25500 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25501 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25502 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25503 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25504 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25505 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25506 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25507 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25508 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25509 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25510 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25511 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25512 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25513 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25514 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25515 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25516 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25517 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25518 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25519 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25520 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25521 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25522 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25523 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25524 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25525 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25526 [XPG3] (acosh): Likewise.
25527 [XPG3] (asinh): Likewise.
25528 [XPG3] (atanh): Likewise.
25529 [XPG3] (cbrt): Likewise.
25530 [XPG3] (expm1): Likewise.
25531 [XPG3] (ilogb): Likewise.
25532 [XPG3] (log1p): Likewise.
25533 [XPG3] (logb): Likewise.
25534 [XPG3] (nextafter): Likewise.
25535 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25536 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25537 [XPG3] (remainder): Likewise.
25538 [XPG3] (rint): Likewise.
25539 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25540 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25541 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25542 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25543 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25544 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25545 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25546 [UNIX98 || XOPEN2K] (scalb): Expect.
25547 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25548 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25549 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25550 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25551 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25552 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25553 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25554 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25555 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25556 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25557 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25558 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25559 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25560 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25561 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25562 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25563 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25564 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25565 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25566 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25567 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25568 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25569 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25570 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25571 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25572 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25573 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25574 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25575 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25576 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25577 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25578 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25579 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25580 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25581 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25582 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25583 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25584 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25585 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25586 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25587 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25588 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25589 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25590 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25591 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25592 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25593 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25594 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25595 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25596 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25597 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25598 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25599 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25600 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25601 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25602 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25603 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25604 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25605 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25606 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25607 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25608 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25609 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25610 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25611 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25612 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25613 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25614 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25615 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25616 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25617 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25618 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25619 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25620 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25621 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25624 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25625 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25626 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25627 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25628 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25629 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25633 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25634 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25635 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25641 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25642 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25654 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25655 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25663 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25664 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25665 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25666 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25667 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25668 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25669 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25670 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25671 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25672 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25673 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25674 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25675 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25676 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25677 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25678 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25679 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25680 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25681 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25682 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25683 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25684
73c5ebe3
JM
25685 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25686 _XOPEN_SOURCE_EXTENDED for XPG4.
25687
39c33b6c
JM
25688 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25689
62fde54f
JM
25690 * Makeconfig (localtime): Remove variable.
25691 (inst_localtime-file): Likewise.
25692
0741d64c
AS
256932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25694
25695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25696 Update.
25697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25698 Update.
25699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25700 Update.
25701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25702 Update.
25703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25704 Update.
25705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25706 Update.
25707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25708 Update.
25709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25710 Update.
25711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25712 Update.
25713
7cb029ee
JM
257142012-05-01 Joseph Myers <joseph@codesourcery.com>
25715
25716 [BZ #2550]
25717 [BZ #2570]
25718 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25719 comparisons to determine direction to adjust input.
25720 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25721 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25722 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25723 Likewise.
25724 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25725 Likewise.
25726 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25727 Likewise.
25728 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25729 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25730 Likewise.
25731 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25732 Likewise.
25733 * math/libm-test.inc (nexttoward_test): Add more tests.
25734
412bd966
AS
257352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25736
25737 [BZ #14040]
25738 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25739 in version GLIBC_2.1, not GLIBC_2.0.
25740 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25741 Likewise.
25742
9568c0c2
JM
257432012-04-30 Joseph Myers <joseph@codesourcery.com>
25744
adfbc8ac
JM
25745 [BZ #13942]
25746 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25747 (1 - x) * (1 + x).
25748 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25749 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25750 * math/libm-test.inc (acos_test): Add more tests.
25751 (asin_test): Likewise.
25752 * sysdeps/i386/fpu/libm-test-ulps: Update.
25753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25754
5ba3cc69
JM
25755 [BZ #14034]
25756 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25757 of square root.
25758 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25759 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25760 * math/libm-test.inc (acos_test_tonearest): New function.
25761 (acos_test_towardzero): Likewise.
25762 (acos_test_downward): Likewise.
25763 (acos_test_upward): Likewise.
25764 (asin_test_tonearest): Likewise.
25765 (asin_test_towardzero): Likewise.
25766 (asin_test_downward): Likewise.
25767 (asin_test_upward): Likewise.
25768 (main): Call the new functions.
25769 * sysdeps/i386/fpu/libm-test-ulps: Update.
25770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25771
9568c0c2
JM
25772 [BZ #13884]
25773 [BZ #13924]
25774 * math/e_exp10.c: Include <float.h>.
25775 (__ieee754_exp10): Handle underflow here rather than multiplying
25776 large negative argument by M_LN10.
25777 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25778 of __ieee754_expf.
25779 * math/e_exp10l.c: Include <float.h>.
25780 (__ieee754_exp10l): Handle underflow here rather than multiplying
25781 large negative argument by M_LN10l.
25782 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25783 spurious overflow exception on underflow.
25784
5ac3ea17
MP
257852012-04-29 Marek Polacek <polacek@redhat.com>
25786
25787 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25788 (__fortify_function): New macro.
25789 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25790 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25791 __extern_always_inline.
25792 * libio/bits/stdio2.h: Likewise.
25793 * libio/bits/stdio.h: Likewise.
25794 * string/string.h: Likewise.
25795 * string/bits/string3.h: Likewise.
25796 * include/stdio.h: Likewise.
25797 * stdlib/bits/stdlib.h: Likewise.
25798 * stdlib/stdlib.h: Likewise.
25799 * rt/bits/mqueue2.h: Likewise.
25800 * rt/mqueue.h: Likewise.
25801 * posix/bits/unistd.h: Likewise.
25802 * posix/unistd.h: Likewise.
25803 * io/bits/poll2.h: Likewise.
25804 * io/bits/fcntl2.h: Likewise.
25805 * io/fcntl.h: Likewise.
25806 * io/sys/poll.h: Likewise.
25807 * misc/bits/syslog.h: Likewise.
25808 * misc/bits/syslog-ldbl.h: Likewise.
25809 * misc/sys/syslog.h: Likewise.
25810 * socket/bits/socket2.h: Likewise.
25811 * socket/sys/socket.h: Likewise.
25812 * debug/tst-chk1.c: Likewise.
25813 * wcsmbs/bits/wchar2.h: Likewise.
25814 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25815 * wcsmbs/wchar.h: Likewise.
25816
ecf0ebfb
AJ
258172012-04-29 Andreas Jaeger <aj@suse.de>
25818
25819 * Makerules (tests): Remove enable-check-abi protection.
25820 (check-abi-warn): Remove.
25821 (check-abi-%): Remove check-abi-warn usage.
25822
25823 * configure.in: Remove check-abi configure option.
25824 * configure: Regenerated.
25825 * config.make.in (enable-check-abi): Remove.
25826
6d5c57fa
AS
258272012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25828
24c5d07e 25829 [BZ #14033]
ded5180a
AS
25830 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25831 double functions to double *_finite functions.
25832
7e0d315d
AS
25833 [BZ #13941]
25834 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25835 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25836 LDBL_MIN_EXP.
25837 * stdio-common/Makefile (tests): Add tst-sprintf3.
25838 * stdio-common/tst-sprintf3.c: New file.
25839
6d5c57fa
AS
25840 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25841 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25842
0749ff8b
JM
258432012-04-28 Joseph Myers <joseph@codesourcery.com>
25844
25845 * conform/conformtest.pl: Remove duplicate typed-constant
25846 handling.
25847
8dbd5d7b
DM
258482012-04-28 David S. Miller <davem@davemloft.net>
25849
25850 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25851 (check-abi-%): Remove AWK script prerequisite and explicit
25852 abilist directory.
25853 (check-abi): Rewrite to just diff the symlist with the abilist.
25854 (config-tls, config-abi-config): Delete, no longer used.
25855 (update-abi-%): Remove AWK script and explicit abilist directory.
25856 (update-abi): Rewrite to simply compare and conditionally copy the
25857 symlist and the sysdep abilist file. Remove update-abi-config
25858 checks.
25859 * abilist/ld.abilist: Remove.
25860 * abilist/libBrokenLocale.abilist: Remove.
25861 * abilist/libanl.abilist: Remove.
25862 * abilist/libcrypt.abilist: Remove.
25863 * abilist/libdl.abilist: Remove.
25864 * abilist/librt.abilist: Remove.
25865 * abilist/libthread_db.abilist: Remove.
25866 * abilist/libutil.abilist: Remove.
25867 * scripts/extract-abilist.awk: Remove.
25868 * scripts/merge-abilist.awk: Remove.
25869 * sysdeps/generic/libcidn.abilist: New file.
25870 * sysdeps/generic/libnss_compat.abilist: New file.
25871 * sysdeps/generic/libnss_db.abilist: New file.
25872 * sysdeps/generic/libnss_dns.abilist: New file.
25873 * sysdeps/generic/libnss_files.abilist: New file.
25874 * sysdeps/generic/libnss_hesiod.abilist: New file.
25875 * sysdeps/generic/libnss_nis.abilist: New file.
25876 * sysdeps/generic/libnss_nisplus.abilist: New file.
25877 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25878 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25879 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25880 file.
25881 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25882 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25883 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25884 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25885 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25886 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25887 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25888 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25889 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25890 file.
25891 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25892 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25893 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25894 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25895 file.
25896 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25897 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25898 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25899 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25900 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25901 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25902 file.
25903 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25904 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25905 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25906 file.
25907 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25909 New file.
25910 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25911 New file.
25912 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25913 New file.
25914 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25915 New file.
25916 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25917 New file.
25918 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25919 New file.
25920 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25921 New file.
25922 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25923 New file.
25924 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25925 New file.
25926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25927 New file.
25928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25929 New file.
25930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25931 New file.
25932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25933 New file.
25934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25935 file.
25936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25937 New file.
25938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25939 New file.
25940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25941 file.
25942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25943 New file.
25944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25945 New file.
25946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25947 file.
25948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25949 New file.
25950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25951 New file.
25952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25953 New file.
25954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25955 New file.
25956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25957 New file.
25958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25959 New file.
25960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25962 file.
25963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25964 New file.
25965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25966 file.
25967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25968 file.
25969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25970 file.
25971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25972 file.
25973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25974 file.
25975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25976 New file.
25977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25978 file.
25979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25980 file.
25981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25982 New file.
25983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25984 file.
25985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25987 file.
25988 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25989 New file.
25990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25991 file.
25992 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25993 file.
25994 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25995 file.
25996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25997 file.
25998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25999 file.
26000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26001 New file.
26002 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26003 file.
26004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26005 file.
26006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26007 New file.
26008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26009 file.
26010 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26011 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26012 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26013 file.
26014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26015 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26016 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26017 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26018 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26019 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26020 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26021 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26022 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26023 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26026 file.
26027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26028 New file.
26029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26030 file.
26031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26032 file.
26033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26034 file.
26035 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26036 file.
26037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26038 file.
26039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26040 New file.
26041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26042 New file.
26043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26044 file.
26045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26046 New file.
26047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26048 file.
26049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26051 file.
26052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26053 New file.
26054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26055 file.
26056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26057 file.
26058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26059 file.
26060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26061 file.
26062 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26063 file.
26064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26065 New file.
26066 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26067 New file.
26068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26069 file.
26070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26071 New file.
26072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26073 file.
26074
41d73a1b
JM
260752012-04-28 Joseph Myers <joseph@codesourcery.com>
26076
26077 * conform/conformtest.pl: Fix typo in handling typed-constant from
26078 allow-header.
26079
28aeeda4
JM
260802012-04-27 Joseph Myers <joseph@codesourcery.com>
26081
adae8f5e
JM
26082 * README: Cut down references to pre-2.6 Linux kernels and
26083 Linuxthreads. Update lists of configurations in libc and ports
26084 and sort alphabetically. Say "or newer" with Linux kernel version
26085 requirements.
26086
28aeeda4
JM
26087 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26088
a462cb63
RA
260892012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26090
26091 [BZ #887]
26092 * math/libm-test.inc (logb_test_downward): New test to expose
26093 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26094 rounding mode.
26095
6ad3493e
JM
260962012-04-27 Joseph Myers <joseph@codesourcery.com>
26097
26098 [BZ #14027]
26099 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26100 to be done.
26101 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26102 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26103
2ce4f015
JM
261042012-04-26 Joseph Myers <joseph@codesourcery.com>
26105
5aeb141a
JM
26106 * sysdeps/unix/i386/brk.S: Remove file.
26107 * sysdeps/unix/i386/dl-brk.S: Likewise.
26108 * sysdeps/unix/i386/pipe.S: Likewise.
26109 * sysdeps/unix/i386/sigreturn.S: Likewise.
26110 * sysdeps/unix/i386/syscall.S: Likewise.
26111 * sysdeps/unix/i386/vfork.S: Likewise.
26112 * sysdeps/unix/i386/wait.S: Likewise.
26113
7143acae
JM
26114 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26115 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26116
2ce4f015
JM
26117 * configure.in (arm*-none*): Do not allow without
26118 --enable-hacker-mode.
26119 (netbsd*): Remove case setting base_os.
26120 (386bsd*): Likewise.
26121 (freebsd*): Likewise.
26122 (bsdi*): Likewise.
26123 (osf*): Likewise.
26124 (sunos*): Likewise.
26125 (ultrix*): Likewise.
26126 (newsos*): Likewise.
26127 (dynix*): Likewise.
26128 (*bsd*): Likewise.
26129 (sysv*): Likewise.
26130 (isc*): Likewise.
26131 (esix*): Likewise.
26132 (sco*): Likewise.
26133 (minix*): Likewise.
26134 (irix4*): Likewise.
26135 (irix6*): Likewise.
26136 (solaris[2-9]*): Likewise.
26137 (none): Likewise.
26138 * configure: Regenerated.
26139
0ac229c8
AZ
261402012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26141
26142 [BZ #11521]
26143 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26144 overflow or cancellation in calculating denominator.
26145 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26146 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26147 down expression to avoid unexpected rounding in newer GCCs.
26148 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26149
33f244f4
DM
261502012-04-26 David S. Miller <davem@davemloft.net>
26151
26152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26153 long-double compat symbols.
26154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26167
cfa1f3e8
DM
261682012-04-25 David S. Miller <davem@davemloft.net>
26169
26170 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26171 HWCAP_* values only after the memory barriers have been defined.
26172 (atomic_full_barrier): Define.
26173 (atomic_read_barrier): Define.
26174 (atomic_write_barrier): Define.
26175
6e236b92
SP
261762012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26177
26178 * shlib-versions: Add libgcc_s version information.
26179 * sysdeps/generic/libgcc_s.h: Remove.
26180 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26181 libgcc_s.h.
26182 * sysdeps/gnu/unwind-resume.c: Likewise.
26183 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26184
aab39a09
DM
261852012-04-25 David S. Miller <davem@davemloft.net>
26186
26187 * sysdeps/unix/sparc/brk.S: Delete.
26188 * sysdeps/unix/sparc/dl-brk.S: Delete.
26189 * sysdeps/unix/sparc/pipe.S: Delete.
26190 * sysdeps/unix/sparc/sysdep.S: Delete.
26191 * sysdeps/unix/sparc/sysdep.h: Delete.
26192 * sysdeps/unix/sparc/vfork.S: Delete.
26193 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26194 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26195 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26196 ret_ERRVAL, r0, r1, MOVE): Define.
26197 (JUMPTARGET): Remove.
26198 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26199 sysdeps/unix/sparc/sysdep.h
26200 (ENTRY, END): Remove.
26201 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26202
a3cc4f48
JM
262032012-04-25 Joseph Myers <joseph@codesourcery.com>
26204
2ed8cda2
JM
26205 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26206 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26207 -DIS_IN_build.
26208
35d76d59
JM
26209 * timezone/README: Update upstream location and email address for
26210 tzcode and tzdata.
26211 * timezone/zdump.c: Update from tzcode 2012b.
26212 * timezone/zic.c: Likewise.
26213
a3cc4f48
JM
26214 * configure.in (libc_cv_as_needed): Remove test.
26215 * configure: Regenerated.
26216 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26217 conditional definition.
26218 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26219 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26220 * config.make.in (have-as-needed): Remove variable.
26221
ceab42c3
SP
262222012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26223 Paul Pluzhnikov <ppluzhnikov@google.com>
26224
26225 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26226 strings correctly.
26227
3ce2865f
CLT
262282012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26229
26230 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26231 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26232 * sysdeps/sh/strlen.S: Likewise.
26233
f37e0d68
JM
262342012-04-24 Joseph Myers <joseph@codesourcery.com>
26235
ae186e9a
JM
26236 * sysdeps/unix/fork.S: Remove file.
26237 * sysdeps/unix/i386/fork.S: Likewise.
26238 * sysdeps/unix/sparc/fork.S: Likewise.
26239
b96914af
JM
26240 * sysdeps/unix/system.c: Remove file.
26241 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26242
f37e0d68
JM
26243 * sysdeps/unix/getegid.S: Remove file.
26244 * sysdeps/unix/geteuid.S: Likewise.
26245
87ef29ca
RM
262462012-04-24 Roland McGrath <roland@hack.frob.com>
26247
83bcd236
RM
26248 * scripts/check-localplt.awk: New file.
26249 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26250 of diff.
26251 * scripts/data/localplt-generic.data: Add a comment.
26252
87ef29ca
RM
26253 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26254 NODE when __dir_mkfile failed.
26255 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26256 Reported by Ludovic Courtès <ludo@gnu.org>.
26257
e5a6e567
AJ
262582012-04-24 Andreas Jaeger <aj@suse.de>
26259
26260 * Makerules (common-clean): Also remove gen-as-const-headers
26261 files.
26262
c1820385
JM
262632012-04-24 Joseph Myers <joseph@codesourcery.com>
26264
26265 * Makerules (native-compile): Do not change working directory for
26266 build. Use $(OUTPUT_OPTION) in command.
26267 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26268
94e02fc4
AZ
262692012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26270
26271 [BZ #13886]
26272 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26273 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26274 * math/libm-test.inc (floor_test): Add more tests.
26275 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26276
3a533ca3
JM
262772012-04-24 Joseph Myers <joseph@codesourcery.com>
26278
940ab4b3
JM
26279 * sysdeps/unix/getdents.c: Remove file.
26280 * sysdeps/unix/sysv/getdents.c: Likewise.
26281 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26282
90e037bd
JM
26283 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26284 sysdeps/unix/mman/syscalls.list.
26285 (mmap): Likewise.
26286 (mprotect): Likewise.
26287 (msync): Likewise.
26288 (munmap): Likewise.
26289 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26290 * sysdeps/unix/mman/syscalls.list: Remove.
26291 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26292
3a533ca3
JM
26293 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26294 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26295 * configure: Regenerated.
26296 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26297 $(libgcc_s_suffix).
26298 * config.make.in (libgcc_s_suffix): Remove variable.
26299
1ad743de
JM
263002012-04-23 Joseph Myers <joseph@codesourcery.com>
26301
4ad451e2
JM
26302 * sysdeps/unix/sysv/gethostname.c: Move to ...
26303 * sysdeps/posix/gethostname.c: ... here.
26304
5e37ce39
JM
26305 * sysdeps/unix/execve.S: Remove file.
26306
1ad743de
JM
26307 * sysdeps/unix/_exit.S: Remove file.
26308
4e681b5b
AJ
263092012-04-23 Andreas Jaeger <aj@suse.de>
26310
26311 [BZ #13739]
26312 * manual/Makefile: Remove make dist support, there's no
26313 need for a stand-alone documentation tar ball.
26314 (TEXI2DVI): Define always, it's not in Makeconfig.
26315 (dist): Removed.
26316 (tar-it): Removed.
26317 (edition): Removed.
26318 (glibc-doc-$(edition).tar): Removed
26319 (%.Z): Removed.
26320 (%.gz): Removed.
26321 (%.uu): Removed.
26322 (ETAGS): Remove, it's in Makeconfig.
26323 (move-if-change): Remove, it's in Makeconfig.
26324
38686a03 263252012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26326
26327 [BZ #13970]
26328 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26329 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26330 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26331 (strtod_l, strtof_l, strtold_l): Remove __wur.
26332 It is not necessarily an error to ignore strtol's return value.
26333 One can reliably look at the stored endptr to decide whether
26334 the number had valid syntax.
26335
7c0616fa
AJ
263362012-04-21 Andreas Jaeger <aj@suse.de>
26337
803cb6b7 26338 [BZ #13739]
7c0616fa
AJ
26339 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26340
b0fe253f
JM
263412012-04-21 Joseph Myers <joseph@codesourcery.com>
26342
26343 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26344 * sysdeps/unix/sysv/Versions: Remove file.
26345
8280f22d
MT
263462012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26347
26348 [BZ #13927]
26349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26350
75ce411f 263512012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26352
26353 [BZ #7064]
26354 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26355 version from __vm86.
26356
097d59fa
JM
263572012-04-20 Joseph Myers <joseph@codesourcery.com>
26358
a90f3bcb
JM
26359 * sysdeps/unix/common/lxstat.c: Remove file.
26360 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26361
edc7ea78
JM
26362 * sysdeps/unix/sysv/Makefile: Remove file.
26363
cb78c221
JM
26364 * sysdeps/unix/sysv/direct.h: Remove file.
26365
efa6a45f
JM
26366 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26367 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26368 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26369 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26370 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26371 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26372 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26373
9c9f2d0c
JM
26374 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26375
4541c83b
JM
26376 * sysdeps/unix/xmknod.c: Remove file.
26377 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26378
f5d153a0
JM
26379 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26380
aa746595
JM
26381 * sysdeps/unix/sysv/i386/time.S: Remove file.
26382
cce5905e
JM
26383 * sysdeps/unix/fxstat.c: Remove file.
26384 * sysdeps/unix/xstat.c: Likewise.
26385 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26386
37fa3841
JM
26387 * sysdeps/unix/sysv/sigaction.c: Remove file.
26388
ff1962a3
JM
26389 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26390 (sysdep_headers): Remove variable.
26391 [termio.h not in sysdep_headers] (generated): Likewise.
26392 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26393 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26394 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26395 * sysdeps/unix/sysv/tcflow.c: Likewise.
26396 * sysdeps/unix/sysv/tcflush.c: Likewise.
26397 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26398 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26399 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26400 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26401 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26402
e7740d31
JM
26403 * sysdeps/unix/siglist.c: Remove file.
26404
ee06f18b
JM
26405 * sysdeps/unix/getppid.S: Remove file.
26406
097d59fa
JM
26407 * sysdeps/unix/mkdir.c: Remove file.
26408 * sysdeps/unix/rmdir.c: Likewise.
26409
ff3d51ec
AS
264102012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26411
26412 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26413 ERR_MAX value.
26414 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26415 errlist-compat value.
26416
50f81fd7
DM
264172012-04-18 David S. Miller <davem@davemloft.net>
26418
26419 * sysdeps/generic/memcopy.h (reg_char): Delete.
26420 * debug/strcat_chk.c: Use char, not reg_char.
26421 * debug/strcpy_chk.c: Likewise.
26422 * debug/strncat_chk.c: Likewise.
26423 * debug/strncpy_chk.c: Likewise.
26424 * string/memchr.c: Likewise.
26425 * string/memrchr.c: Likewise.
26426 * string/rawmemchr.c: Likewise.
26427 * string/strcat.c: Likewise.
26428 * string/strchr.c: Likewise.
26429 * string/strchrnul.c: Likewise.
26430 * string/strcmp.c: Likewise.
26431 * string/strcpy.c: Likewise.
26432 * string/strncat.c: Likewise.
26433 * string/strncmp.c: Likewise.
26434 * string/strncpy.c: Likewise.
26435
8ff41c46
WS
264362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26437
26438 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26439 __builtin_memcopy is called when src and dest ranges are known to not
26440 overlap.
26441
6b652f46
WS
264422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26443
26444 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26445 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26446 fwd_align_merge macro call.
26447 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26448 bwd_align_merge macro call.
26449 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26450
b282631e
WS
264512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26452
26453 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26454 bwd_align_merge macros.
26455 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26456 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26457 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26458
95aa737c
DM
264592012-04-18 David S. Miller <davem@davemloft.net>
26460
26461 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26462
7a99a614
AJ
264632012-04-18 Andreas Jaeger <aj@suse.de>
26464
26465 [BZ# 6794]
26466 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26467 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26468 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26469
26470 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26471 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26472 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26473
26474 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26475 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26476 Adjust for changed ldbl-128 files.
26477
26478 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26479 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26480 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26481
e5270c23
DM
264822012-04-17 David S. Miller <davem@davemloft.net>
26483
26484 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26485
fb5e92c9
AS
264862012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26487
26488 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26489 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26490 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26491 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26492 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26493 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26494
76da7265
AZ
264952012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26496
26497 [BZ #6794]
26498 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26499 * math/libm-test.inc: Add ilogb errno and exception tests.
26500 * math/w_ilogb.c: New file: ilogb wrapper.
26501 * math/w_ilogbf.c: New file: ilogbf wrapper.
26502 * math/w_ilogbl.c: New file: ilogbl wrapper.
26503 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26504 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26505 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26506 exception being thrown with 0.0 as argument.
26507 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26508 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26509 exception being thrown with 0.0 as argument.
26510 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26511 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26512 exception being thrown with 0.0 as argument.
26513 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26514 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26515 exception being thrown with 0.0 as argument.
26516 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26517 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26518 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26519 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26520 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26521 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26522 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26523 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26524 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26525
0396e69d
PB
265262012-04-17 Petr Baudis <pasky@ucw.cz>
26527
26528 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26529 with altivec.
26530
750b5926
MP
265312012-04-16 Marek Polacek <polacek@redhat.com>
26532
26533 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26534
751728a1
MP
265352012-04-16 Marek Polacek <polacek@redhat.com>
26536
26537 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26538 operands of fdivp instruction.
26539
34a27407
L
265402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26541
26542 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26543 * elf/tst-auditmod3b.c: Likewise.
26544 * elf/tst-auditmod4b.c: Likewise.
26545 * elf/tst-auditmod5b.c: Likewise.
26546 * elf/tst-auditmod6b.c: Likewise.
26547 * elf/tst-auditmod6c.c: Likewise.
26548 * elf/tst-auditmod7b.c: Likewise.
26549 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26550 * sysdeps/x86_64/preconfigure.in: Likewise.
26551 * sysdeps/x86_64/preconfigure: Regenerated.
26552
7e73e17d
L
265532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26554
26555 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26556 __ILP32__.
26557
c7a6ab72
AB
265582012-04-13 Antoine Balestrat <merkil33@gmail.com>
26559
26560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26561 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26562
a9e8e0e0
CL
265632012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26564
26565 [BZ #13973]
26566 * locale/iso-639.def: Fix gl language name. Spotted by
26567 Yaron Shahrabani.
26568
ec98af7d
RM
265692012-04-12 Roland McGrath <roland@hack.frob.com>
26570
26571 [BZ #2074]
26572 * libio/libio.h (__io_write_fn): Update comment.
26573
247c3ede
PB
265742012-04-12 Petr Baudis <pasky@ucw.cz>
26575
26576 [BZ #2074]
26577 * stdio.texi (Hook Functions): The user provided writer function
26578 is not allowed to return -1.
26579
55939d6d
DM
265802012-04-11 David S. Miller <davem@davemloft.net>
26581
26582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26583
90020f5a
MF
265842012-04-11 Mike Frysinger <vapier@gentoo.org>
26585
26586 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26587 Add a leading slash to rtkaio.
26588
288f9098
JM
265892012-04-11 Jim Meyering <meyering@redhat.com>
26590
90020f5a
MF
26591 [BZ #11959]
26592 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26593 It is not necessarily an error to ignore fwrite's return
26594 value. One can reliably use ferror to test for errors after
26595 the fact.
288f9098 26596
4be2b570
L
265972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26598
26599 * bits/types.h (__snseconds_t): New type.
26600 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26601
26602 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26604 (__SNSECONDS_T_TYPE): Likewise.
26605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26606 (__SNSECONDS_T_TYPE): Likewise.
26607 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26608 (__SNSECONDS_T_TYPE): Likewise.
26609
288f9098 266102012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26611
26612 [BZ #2636]
26613 * manual/time.texi (Processor Time): Return type of times is
26614 elapsed real time since an arbitrary point in the past.
26615 (CPU Time): Move CLK_TCK from here...
26616 (Processor Time): ...to here. Correct description.
26617 * manual/conf.texi (Constants for Sysconf): Correct description of
26618 _SC_CLK_TCK.
26619
d7dd4413
DM
266202012-04-10 David S. Miller <davem@davemloft.net>
26621
26622 [BZ #13967]
26623 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26624 where the is a gap between DT_REL(A) and DT_JMPREL.
26625
b46068fc
L
266262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26627
26628 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26629 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26630 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26631
73d65cc3
SP
266322012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26633
26634 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26635 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26636 (dl_main): Handle --inhibit-cache.
26637 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26638 _dl_inhibit_cache.
26639 * elf/dl-load.c (_dl_map_object): Use it.
26640 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26641
bcc8d661
JM
266422012-04-09 Joseph Myers <joseph@codesourcery.com>
26643
8f9a2fae
JM
26644 [BZ #13872]
26645 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26646 (__ieee754_powl): Saturate large exponents rather than testing for
26647 overflow of y*log2(x).
26648 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26649 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26650 exceptions.
26651
bcc8d661
JM
26652 [BZ #11521]
26653 * math/s_ctan.c: Include <float.h>.
26654 (__ctan): Avoid internal overflow or cancellation in calculating
26655 denominator.
26656 * math/s_ctanf.c: Likewise.
26657 * math/s_ctanl.c: Likewise.
26658 * math/s_ctanh.c: Likewise.
26659 * math/s_ctanhf.c: Likewise.
26660 * math/s_ctanhl.c: Likewise.
26661 * math/libm-test.inc (ctan_test): Add more tests.
26662 (ctanh_test): Likewise.
26663 * sysdeps/i386/fpu/libm-test-ulps: Update.
26664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26665
823fbbb4
AJ
266662012-04-09 Andreas Jaeger <aj@suse.de>
26667
03879793
AJ
26668 [BZ #6894]
26669 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26670 is an optional BSD extension.
26671
823fbbb4
AJ
26672 [BZ #10254]
26673 * manual/stdio.texi (Opening Streams): Document additional fopen
26674 parameters.
26675
8de131cb
RM
266762012-04-09 Roland McGrath <roland@hack.frob.com>
26677
26678 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26679 %eax without telling the compiler.
26680
c0ed9d7d
CD
266812012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26682
26683 [BZ # 13963]
26684 * manual/install.texi: Use sourceware.org.
26685
c483f6b4
JM
266862012-04-09 Joseph Myers <joseph@codesourcery.com>
26687
d7dd9453
JM
26688 [BZ #13873]
26689 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26690 (__ieee754_pow): Generate overflow and underflow using huge*huge
26691 and tiny*tiny rather than just returning constant infinity or zero
26692 for large exponents.
26693 * math/libm-test.inc (pow_test): Require overflow exceptions for
26694 applicable cases of large exponents.
26695
c483f6b4
JM
26696 [BZ #706]
26697 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26698 (__ieee754_pow): Use iterative multiplication algorithm only for
26699 integer exponents with absolute value below 1024. Check for odd
26700 integer exponents when using algorithm for real exponents.
26701 * math/libm-test.inc (pow_test): Add more tests.
26702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26703
d2de7579
JM
267042012-04-08 Joseph Myers <joseph@codesourcery.com>
26705
26706 [BZ #13705]
26707 * math/libm-test.inc (exp_test): Do not allow overflow exception
26708 on underflow test.
26709
f77f1232
AJ
267102012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26711
26712 [BZ #13705]
26713 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26714 instead of __kernel_standard_f.
26715
3884932b
MF
267162012-04-08 Mike Frysinger <vapier@gentoo.org>
26717
26718 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26719 * sysdeps/x86_64/memset_chk.S: Likewise.
26720
54472e9c
AJ
267212012-04-08 Andreas Jaeger <aj@suse.de>
26722
6ab0fbfc
AJ
26723 [BZ #10153]
26724 * manual/startup.texi (Environment Access): Describe return value
26725 for putenv and setenv.
26726
61efba8c
AJ
26727 [BZ #6895]
26728 * manual/filesys.texi (Directory Entries): Add description for
26729 DT_LNK.
26730
95c3f29a
AJ
26731 [BZ #6890]
26732 * manual/filesys.texi (Directory Entries): Clarify that it's file
26733 system not operating system in the description of DT_UNKNOWN.
26734
54472e9c
AJ
26735 [BZ #6578]
26736 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26737
624254b1
SC
267382012-04-08 Stephen Compall <s11@member.fsf.org>
26739
26740 [BZ #6649]
26741 * manual/llio.texi (Opening and Closing Files): Add cross
26742 reference to explain mode argument.
26743
1e4920e0
MF
267442012-04-07 Mike Frysinger <vapier@gentoo.org>
26745
26746 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26747 * sysdeps/x86_64/memset_chk.S: Likewise.
26748
5ed848f3
DM
267492012-04-07 David S. Miller <davem@davemloft.net>
26750
26751 * elf/elf.h (R_SPARC_WDISP10): Define.
26752 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26753 R_SPARC_SIZE32.
26754 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26755 R_SPARC_SIZE64 and R_SPARC_H34.
26756
96154cd8
CD
267572012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26758
26759 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26760 conditions and remove no longer applicable assertion.
26761
9904dc47
L
267622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26763
26764 * bits/byteswap.h: Include <features.h>.
26765 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26766 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26767
f8887d0a
L
267682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26769
26770 * bits/byteswap.h (__bswap_16): Removed.
26771 Include <bits/byteswap-16.h> to get __bswap_16.
26772 * sysdeps/i386/bits/byteswap.h: Likewise.
26773 * sysdeps/s390/bits/byteswap.h: Likewise.
26774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26775 * bits/byteswap-16.h: New file.
26776 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26777 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26778 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26779 * string/Makefile (headers): Add bits/byteswap-16.h.
26780
62470f60
PP
267812012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26782
26783 [BZ #13895]
26784 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26785 extra indirection.
26786 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26787 * nss/tst-nss-static.c: New.
26788
4dad7bab
RM
267892012-04-06 Robert Millan <rmh@gnu.org>
26790
26791 [BZ #6486]
26792 * manual/llio.texi (File Position Primitive): lseek
26793 refers to WHENCE when it really means OFFSET.
26794
e9142a17
AJ
267952012-04-06 Andreas Jaeger <aj@suse.de>
26796
2c040eff
AJ
26797 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26798 strncmp declarations.
26799
e9142a17
AJ
26800 * abilist/libc.abilist: Add __poll and __ppoll.
26801
ff9f1c5f
DM
268022012-04-05 David S. Miller <davem@davemloft.net>
26803
dcd2ae90
DM
26804 * scripts/check-local-headers.sh: Accept a host triplet in the
26805 path matched by the exclude regexp.
26806
993eb054
DM
26807 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26808 definition.
26809 * sysdeps/powerpc/powerpc32/dl-machine.h
26810 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26811 * sysdeps/s390/s390-32/dl-machine.h
26812 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26813 * sysdeps/sparc/sparc32/dl-machine.h
26814 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26815 * sysdeps/sparc/sparc64/dl-machine.h
26816 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26817
ff9f1c5f
DM
26818 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26819 lazy binding.
48e2e132 26820 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26821 undefined symbol errors.
26822
48e2e132 26823 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26824 DT_NEEDED entries.
26825
e80d6f94
MM
268262012-04-05 Michael Matz <matz@suse.de>
26827
26828 [BZ #13592]
26829 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26830
349fa79f
AJ
268312012-04-05 Andreas Jaeger <aj@suse.de>
26832
26833 [BZ #13908]
26834 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26835 comment.
26836
f402708f
KK
268372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26838
26839 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26840 which ROUND is no valid rounding mode.
26841
2ecccfc9
KK
268422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26843
26844 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26845 read again.
26846 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26847
8a53f50f
KK
268482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26849
26850 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26851 an exception using FPU order intentionally.
26852
268532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26854
26855 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26856 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26857 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26858 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26859
d653abb7
SJ
268602012-04-05 Simon Josefsson <simon@josefsson.org>
26861
26862 [BZ #12340]
26863 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26864 EINVAL when BUFLEN is too smal.
26865
c3b1bf7d
TS
268662012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26867
26868 [BZ #13553]
26869 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26870 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26871
b1aa60f3
AJ
268722012-04-03 Andreas Jaeger <aj@suse.de>
26873
c3b1bf7d 26874 [BZ #13938]
67f60a26
AJ
26875 * manual/setjmp.texi (System V contexts): Fix sentence.
26876
b1aa60f3
AJ
26877 [BZ #13926]
26878 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26879 New macro for this case.
26880 [!__GNUC__] (__bswap_64): New inline function for this case.
26881 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26882 * bits/byteswap.h: Likewise.
26883 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26884 ull, guard with __GLIBC_HAVE_LONG_LONG.
26885
26886 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26887 __GLIBC_HAVE_LONG_LONG.
26888
26889 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26890 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26891
39c59c35
TMQMF
268922012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26893
26894 [BZ #13691]
26895 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26896 inptr and inend, rather than using last_ch.
26897
135ffda8
DM
268982012-04-02 David S. Miller <davem@davemloft.net>
26899
26900 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26901 * stdio-common/printf-parse.h (read_int): Change return type to
26902 'int', return -1 on INT_MAX overflow.
26903 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26904 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26905 overflows INT_MAX. Check for overflow of in-format-string precision
26906 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26907 SIZE_MAX not INT_MAX for integer overflow test.
26908 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26909 skip the construct in the format string but do not record anything.
26910 * stdio-common/bug22.c: Adjust to test both width/prevision
26911 INT_MAX overflow as well as total length INT_MAX overflow. Check
26912 explicitly for proper errno values.
26913
228c019e
TS
269142012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26915
302cadd3
TS
26916 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26917 CHAR_MAX.
26918 * string/test-strcmp.c [! WIDE]: Likewise.
26919 * time/tst-mktime2.c: Likewise for INT_MAX.
26920 * string/test-string.h: #include <sys/param.h> for MIN.
26921
228c019e
TS
26922 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26923 * sysdeps/i386/init-first.c (init): Likewise.
26924 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26925 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26926 * sysdeps/sh/init-first.c (init): Likewise.
26927
cfa633f5
UD
269282012-04-01 Ulrich Drepper <drepper@gmail.com>
26929
26930 * po/ru.po: Update from translation team.
d1635ef8 26931 * po/vi.po: Likewise.
cfa633f5 26932
6cd0a5ea
SP
269332012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26934
26935 * resolv/nss_dns/dns-host.c: Merge copyright years.
26936
4b43400f
LD
269372012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26938
26939 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26940 Optimize memcpy with prefetch if
26941 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26942 src, dst pointers have unequal 16 byte alignments.
26943
48c41d04
SP
269442012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26945
26946 [BZ #13928]
26947 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26948 from a CNAME entry and return the minimum ttl for the query.
26949 (gaih_getanswer_slice): Likewise.
26950
b8dc394d
JL
269512012-03-30 Jeff Law <law@redhat.com>
26952
26953 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26954 due to long keys.
26955 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26956 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26957
2f5a5ed0
JL
26958 * resolv/nss_dns/dns-host.c: Update copyright year.
26959
1d39e359
UD
269602012-03-30 Ulrich Drepper <drepper@gmail.com>
26961
c030f70c 26962 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26963 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26964
1d39e359
UD
26965 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26966 comments for sendmmsg.
26967
269682012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26969
26970 [BZ #13691]
26971 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26972 with only 1 character between 0x0041 and 0x01b0.
26973 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26974 * wcsmbs/tst-mbsnrtowcs.c: New file.
26975
20fde227
DM
269762012-03-29 David S. Miller <davem@davemloft.net>
26977
26978 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26979 small copies by hand.
26980
984a4237
JL
269812012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26982
26983 [BZ #13761]
26984 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26985 _nss_compat_initgroups_dyn): Fall back to malloc/free
26986 for large group memberships.
26987
18c9d62b
DM
269882012-03-28 David S. Miller <davem@davemloft.net>
26989
88d85d4f
DM
26990 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26991 that branches into memcpy.
26992 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26993 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26995 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26997 bits.
26998 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26999 implementation too.
27000 * sysdeps/sparc/mempcpy.S: New file.
27001
e5aa83e1
DM
27002 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27003 the IFUNC routine in the libc case.
27004 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27005
88570753
DM
27006 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27007 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27008 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27009 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27010 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27011 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27012 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27013 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27014
249d7567
DM
27015 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27016 loop to 256 bytes instead of 64 bytes and fix test signedness.
27017
18c9d62b
DM
27018 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27019 * sysdeps/sparc/sparc32/Makefile: rather than here...
27020 * sysdeps/sparc/sparc64/Makefile: and here.
27021
05f3d1f6
UD
270222012-03-28 Ulrich Drepper <drepper@gmail.com>
27023
27024 * malloc/mallocbug.c: Avoid warnings about unused variables.
27025
86ae07a8
JL
270262012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27027
27028 [BZ #13760]
27029 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27030 in the right place. Discard and retry query if response is
27031 larger than input buffer size.
27032
41bf21a1
JM
270332012-03-28 Joseph Myers <joseph@codesourcery.com>
27034
d6270972
JM
27035 [BZ #369]
27036 [BZ #2678]
27037 [BZ #3866]
27038 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27039 x for large integer exponent.
27040 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27041 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27042 sign of result as needed afterwards.
27043 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27044 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27045 result for underflowing pow the same as for overflow.
27046 (__kernel_standard_l): Handle powl overflow and underflow here
27047 rather than calling __kernel_standard.
27048 * math/libm-test.inc (pow_test): Add more tests.
27049
414fca03 27050 [BZ #3868]
41bf21a1
JM
27051 [BZ #13879]
27052 [BZ #13910]
27053 [BZ #13911]
27054 [BZ #13912]
27055 [BZ #13913]
27056 [BZ #13915]
27057 [BZ #13916]
27058 [BZ #13917]
27059 [BZ #13918]
27060 [BZ #13919]
27061 [BZ #13920]
27062 [BZ #13921]
27063 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27064 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27065 (__kernel_standard_l): New function.
27066 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27067 __kernel_standard.
27068 * math/w_acosl.c (__acosl): Likewise.
27069 * math/w_asinl.c (__asinl): Likewise.
27070 * math/w_atan2l.c (__atan2l): Likewise.
27071 * math/w_atanhl.c (__atanhl): Likewise.
27072 * math/w_coshl.c (__coshl): Likewise.
27073 * math/w_exp10l.c (__exp10l): Likewise.
27074 * math/w_exp2l.c (__exp2l): Likewise.
27075 * math/w_fmodl.c (__fmodl): Likewise.
27076 * math/w_hypotl.c (__hypotl): Likewise.
27077 * math/w_j0l.c (__j0l, __y0l): Likewise.
27078 * math/w_j1l.c (__j1l, __y1l): Likewise.
27079 * math/w_jnl.c (__jnl, __ynl): Likewise.
27080 * math/w_lgammal.c (__lgammal): Likewise.
27081 * math/w_log10l.c (__log10l): Likewise.
27082 * math/w_log2l.c (__log2l): Likewise.
27083 * math/w_logl.c (__logl): Likewise.
27084 * math/w_powl.c (__powl): Likewise.
27085 * math/w_remainderl.c (__remainderl): Likewise.
27086 * math/w_scalbl.c (sysv_scalbl): Likewise.
27087 * math/w_sinhl.c (__sinhl): Likewise.
27088 * math/w_sqrtl.c (__sqrtl): Likewise.
27089 * math/w_tgammal.c (__tgammal): Likewise.
27090 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27091 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27092 * math/libm-test.inc (acos_test): Add more tests.
27093 (acosh_test): Likewise.
27094 (asin_test): Likewise.
27095 (atanh_test): Likewise.
27096 (exp_test): Likewise.
27097 (exp10_test): Likewise.
27098 (exp2_test): Likewise.
27099 (expm1_test): Likewise.
27100 (lgamma_test): Likewise.
27101 (log_test): Likewise.
27102 (log10_test): Likewise.
27103 (log1p_test): Likewise.
27104 (log2_test): Likewise.
27105 (pow_test): Do not allow some spurious overflow exceptions.
27106 (sqrt_test): Add more tests.
27107 (tgamma_test): Likewise.
27108 (y0_test): Likewise.
27109 (y1_test): Likewise.
27110 (yn_test): Likewise.
27111
dd62fda6
AB
271122012-03-27 Anton Blanchard <anton@samba.org>
27113
27114 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27115 MAP_HUGETLB.
27116 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27119
1e3cdfda
AJ
271202012-03-27 David S. Miller <davem@davemloft.net>
27121
b855ab85
DM
27122 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27123
1e3cdfda
AJ
27124 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27125 have-as-vis3 check.
27126
271272012-03-27 Andreas Jaeger <aj@suse.de>
27128
27129 * sysdeps/x86_64/elf/configure.in: Moved to ...
27130 * sysdeps/x86_64/configure.in: ... here.
27131 * sysdeps/x86_64/elf/start.S: Moved to ...
27132 * sysdeps/x86_64/start.S: ... here.
27133 * sysdeps/x86_64/elf/configure: Delete.
27134
27135 * sysdeps/x86_64/configure.in: Merge contents from
27136 sysdeps/i386/configure.in (without i686 check).
27137
27138 * sysdeps/i386/elf/Versions: Merge into ...
27139 * sysdeps/i386/Versions: ... this.
27140 * sysdeps/i386/elf/Versions: Delete file.
27141 * sysdeps/i386/elf/start.S: Moved to ...
27142 * sysdeps/i386/start.S: ...here.
27143 * sysdeps/i386/elf/configure.in: Merge into...
27144 * sysdeps/i386/configure.in: ...here.
27145 * sysdeps/i386/elf/configure.in: Delete file.
27146 * sysdeps/i386/elf/configure: Delete file.
27147
27148 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27149 * debug/backtracesyms.c: ... here.
27150 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27151 * debug/backtracesymsfd.c: ... here.
27152 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27153 * sysdeps/generic/ifunc-sel.h: ... here.
27154
27155 * sysdeps/unix/i386/start.c: Delete file.
27156 * sysdeps/unix/sparc/start.c: Delete file.
27157 * sysdeps/unix/start.c: Delete file.
27158
27159 * sysdeps/sh/elf/configure.in: Moved to ...
27160 * sysdeps/sh/configure.in: ... here.
27161 * sysdeps/sh/elf/start.S: Moved to ...
27162 * sysdeps/sh/start.S: ... here.
27163 * sysdeps/sh/elf/configure: Delete file.
27164
27165 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27166 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27167 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27168 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27169 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27170 * sysdeps/powerpc/powerpc64/start.S: here.
27171 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27172 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27173 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27174 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27175 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27176
27177 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27178 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27179 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27180 * sysdeps/powerpc/powerpc32/start.S: ... here.
27181 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27182 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27183 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27184
27185 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27186 * sysdeps/powerpc/ifunc-sel.h: ... here.
27187 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27188 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27189
27190 * sysdeps/sparc/elf/configure.in: Moved to ...
27191 * sysdeps/sparc/configure.in: ... here.
27192 * sysdeps/sparc/elf/configure: Delete file.
27193 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27194 * sysdeps/sparc/sparc32/start.S: ... here.
27195 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27196 * sysdeps/sparc/sparc64/start.S: ... here.
27197 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27198 * sysdeps/sparc/sparc32/Makefile: ... this.
27199 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27200 * sysdeps/sparc/sparc64/Makefile: ... this.
27201
27202 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27203 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27204 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27205 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27206 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27207 * sysdeps/s390/s390-32/setjmp.S: ... here.
27208 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27209 * sysdeps/s390/s390-32/configure.in: ... here.
27210 * sysdeps/s390/s390-32/elf/configure: Delete file.
27211 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27212 * sysdeps/s390/s390-32/start.S: ... here.
27213
27214 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27215 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27216 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27217 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27218 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27219 * sysdeps/s390/s390-64/setjmp.S: ... here.
27220 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27221 * sysdeps/s390/s390-64/configure.in: ... here
27222 * sysdeps/s390/s390-64/elf/configure: Delete file.
27223 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27224 * sysdeps/s390/s390-64/start.S: ... here.
27225 * sysdeps/s390/s390-64/elf/configure: Delete.
27226
27227 * configure.in: Remove support for elf directories in sysdeps.
27228
27229 * configure: Regenerated.
27230 * sysdeps/i386/configure: Regenerated.
27231 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27232 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27233 * sysdeps/s390/s390-32/configure: Regenerated.
27234 * sysdeps/s390/s390-64/configure: Regenerated.
27235 * sysdeps/sh/configure: Regenerated.
27236 * sysdeps/sparc/configure: Regenerated.
27237 * sysdeps/x86_64/configure: Regenerated.
27238
a3f61311
AS
272392012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27240
c876e002
AS
27241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27242
a3f61311
AS
27243 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27244 denormal result into account.
27245
ac4c54f0
RM
272462012-03-25 Roland McGrath <roland@hack.frob.com>
27247
27248 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27249 Reported by Allan McRae <allan@archlinux.org>.
27250
6a9b9c02
JL
272512012-03-23 Jeff Law <law@redhat.com>
27252
27253 * nss/getnssent.c (__nss_getent): Fix typo.
27254
4c42a0c1
DM
272552012-03-23 David S. Miller <davem@davemloft.net>
27256
27257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27258
1532c7ac
L
272592012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27260
27261 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27262 to pad to uint64_t for each field.
27263 (dl_tls_index): Replace unsigned long with uint64_t.
27264
3ff42526
PP
272652012-03-23 Daniel Jacobowitz <dmj@google.com>
27266 Paul Pluzhnikov <ppluzhnikov@google.com>
27267
27268 [BZ #6528]
27269 * grp/Makefile (otherlibs): Don't set it.
27270 * inet/Makefile (otherlibs): Likewise.
27271 * login/Makefile (otherlibs): Likewise.
27272 * nscd/Makefile (otherlibs): Likewise.
27273 * posix/Makefile (otherlibs): Likewise.
27274 * pwd/Makefile (otherlibs): Likewise.
27275 * rt/Makefile (otherlibs): Likewise.
27276 * sunrpc/Makefile (otherlibs): Likewise.
27277 * nss/Makefile (otherlibs): Likewise.
27278 Add libnss_files to routines and static-only-routines.
27279 ($(objpfx)getent): Remove rule.
27280 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27281 static-only-routines.
27282
7c69cd14
JM
272832012-03-22 Joseph Myers <joseph@codesourcery.com>
27284
27285 [BZ #13892]
27286 * math/s_cexp.c: Include <float.h>.
27287 (__cexp): Handle exp result overflowing not necessarily
27288 overflowing both real and imaginary parts of result.
27289 * math/s_cexpf.c: Likewise.
27290 * math/s_cexpl.c: Likewise.
27291 * math/libm-test.inc (cexp_test): Add more tests.
27292 * sysdeps/i386/fpu/libm-test-ulps: Update.
27293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27294
81b035fe
L
272952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27296
27297 * include/link.h (ELFW): New macro.
27298 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27299 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27300
1da7940c
L
273012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27302
27303 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27304 with uint64_t.
27305
b749dbb9
L
273062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27307
27308 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27309 declaration.
27310 (struct La_x32_retval): Likewise.
27311
2ff87f3f
L
273122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27313
27314 * sysdeps/x86_64/preconfigure.in: New file.
27315 * sysdeps/x86_64/preconfigure: New generated file.
27316
c0df8e69
JM
273172012-03-22 Joseph Myers <joseph@codesourcery.com>
27318
48e44791
JM
27319 [BZ #13824]
27320 * math/e_exp2l.c: Include <float.h>.
27321 (__ieee754_exp2l): Handle overflow and underflow cases
27322 separately. Only pass fractional part of argument to
27323 __ieee754_expl.
27324 * math/libm-test.inc (exp2_test): Add more tests.
27325
c0df8e69
JM
27326 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27327 negating x to take absolute value.
27328 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27329 Likewise.
27330 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27331 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27332 Likewise.
27333 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27334 computing low part if x was negated.
27335 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27336
c8e43ba7
L
273372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27338
27339 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27340 la_x32_gnu_pltexit.
27341 (pltexit): Cast int_retval to ptrdiff_t.
27342 * elf/tst-auditmod3b.c: Likewise.
27343 * elf/tst-auditmod4b.c: Likewise.
27344 * elf/tst-auditmod5b.c: Likewise.
27345 * elf/tst-auditmod6b.c: Likewise.
27346 * elf/tst-auditmod6c.c: Likewise.
27347 * elf/tst-auditmod7b.c: Likewise.
27348
27349 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27350 and x32_gnu_pltexit.
27351
27352 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27353 __ELF_NATIVE_CLASS.
27354 (La_x32_regs): New macro.
27355 (La_x32_retval): Likewise.
27356 (la_x32_gnu_pltenter): New function prototype.
27357 (la_x32_gnu_pltexit): Likewise.
27358
7998fa78
AS
273592012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27360
dcb33988
AS
27361 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27362 exponent.
27363
233fc563
AS
27364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27365
7998fa78
AS
27366 * configure.in (libc_cv_cc_nofma): Check for option to disable
27367 generation of FMA instructions.
27368 * configure: Regenerate.
27369 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27370 * sysdeps/ieee754/dbl-64/Makefile: New file.
27371 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27372 Remove brandred-fma4.
27373 (CFLAGS-brandred-fma4.c): Remove.
27374 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27375 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27376 define.
27377 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27378 define.
27379
8e95c99a
L
273802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27381
27382 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27383 LLONG_MAX != LONG_MAX.
27384 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27385 (_fitoa_word): Likewise.
27386 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27387 LLONG_MAX != LONG_MAX.
27388 * stdio-common/_itowa.h: Include <_itoa.h>.
27389 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27390 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27391 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27392 only if not defined.
27393 (_ITOA_WORD_TYPE): Likewise.
27394 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27395 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27396
6f4db457
DM
273972012-03-21 David S. Miller <davem@davemloft.net>
27398
27399 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27400
7785fe5a
L
274012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27402
27403 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27404 of x86_64 when setting libc_cv_slibdir, libdir and
27405 libc_cv_localedir.
27406 * sysdeps/unix/sysv/linux/configure: Regenerated.
27407
4535cd55
JM
274082012-03-21 Joseph Myers <joseph@codesourcery.com>
27409
27410 * manual/lang.texi (Old Varargs): Remove section.
27411 (How Variadic): Update menu.
27412 (va_start): Do not mention varargs.h.
27413
17228132
TS
274142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27415 Joseph Myers <joseph@codesourcery.com>
27416
27417 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27418 link test.
27419 * configure: Regenerated.
27420
8149f976
TS
274212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27422
05f3d1f6
UD
27423 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27424 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27425 conformtest.pl
8149f976 27426
1a4ac776
JM
274272012-03-21 Joseph Myers <joseph@codesourcery.com>
27428
be22ce65
JM
27429 * NOTES: Remove.
27430 * Makefile (files-for-dist): Remove NOTES.
27431 (NOTES): Remove rule.
27432 * README: Don't refer to NOTES.
27433 * manual/creature.texi: Don't include macros.texi.
27434 * manual/intro.texi (creature.texi): Remove comment referring to
27435 NOTES.
27436
40b601fb
JM
27437 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27438 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27439 * configure: Regenerated.
27440 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27441 LIBC_TRY_CC_OPTION.
27442 (libc_cv_as_i686): Likewise.
27443 (libc_cv_cc_avx): Likewise.
27444 (libc_cv_cc_sse2avx): Likewise.
27445 (libc_cv_cc_fma4): Likewise.
27446 (libc_cv_cc_novzeroupper): Likewise.
27447 * sysdeps/i386/configure: Regenerated.
27448
1a4ac776
JM
27449 [BZ #13883]
27450 * sysdeps/i386/fpu/s_cexp.S: Remove.
27451 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27452 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27453 * math/libm-test.inc (cexp_test): Add more tests.
27454 * sysdeps/i386/fpu/libm-test-ulps: Update.
27455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27456
a458e7fe
AM
274572012-03-21 Allan McRae <allan@archlinux.org>
27458
27459 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27460
0cb7efc5
JM
274612012-03-21 Joseph Myers <joseph@codesourcery.com>
27462
27463 [BZ #13871]
27464 * math/w_exp2.c: Do not include <float.h>.
27465 (o_threshold, u_threshold): Remove.
27466 (__exp2): Calculate result before checking finiteness and calling
27467 __kernel_standard.
27468 * math/w_exp2f.c: Likewise.
27469 * math/w_exp2l.c: Likewise.
27470 * math/libm-test.inc (exp2_test): Require overflow exception for
27471 1e6 input.
2460d3aa
JM
27472
27473 [BZ #3866]
27474 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27475 range of signed 64-bit integers before using fistpll. Remove
27476 checks for whether integers fit in mantissa bits.
27477 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27478 the range of signed 32-bit integers before using fistpl. Remove
27479 checks for whether integers fit in mantissa bits.
27480 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27481 (__ieee754_powl): Test for y outside the range of signed 64-bit
27482 integers before using fistpll. Reduce 64-bit values to 63-bit
27483 ones as needed.
27484 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27485 divide-by-zero is raised for zero to large negative powers.
27486 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27487 (__ieee754_powl): Test for y outside the range of signed 64-bit
27488 integers before using fistpll. Reduce 64-bit values to 63-bit
27489 ones as needed.
27490 * math/libm-test.inc (pow_test): Add more tests.
27491
eb96ffb0
L
274922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27493
27494 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27495 <stdio-common/_itoa.h>.
27496 * debug/segfault.c: Likewise.
27497 * elf/dl-cache.c: Likewise.
27498 * elf/dl-minimal.c: Likewise.
27499 * elf/dl-misc.c: Likewise.
27500 * elf/dl-sysdep.c: Likewise.
27501 * elf/dl-version.c: Likewise.
27502 * elf/rtld.c: Likewise.
27503 * hurd/hurdsock.c: Likewise.
27504 * hurd/lookup-retry.c: Likewise.
27505 * malloc/malloc.c: Likewise.
27506 * malloc/mtrace.c: Likewise.
27507 * nscd/nscd_getgr_r.c: Likewise.
27508 * nscd/nscd_getpw_r.c: Likewise.
27509 * nscd/nscd_getserv_r.c: Likewise.
27510 * posix/getopt_init.c: Likewise.
27511 * posix/wordexp.c: Likewise.
27512 * stdio-common/_itoa.c: Likewise.
27513 * stdio-common/printf_fphex.c: Likewise.
27514 * stdio-common/vfprintf.c: Likewise.
27515 * string/_strerror.c: Likewise.
27516 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27517 * sysdeps/i386/i686/hp-timing.h: Likewise.
27518 * sysdeps/mach/_strerror.c: Likewise.
27519 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27520 * sysdeps/mach/hurd/sethostid.c: Likewise.
27521 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27522 * sysdeps/mach/xpg-strerror.c: Likewise.
27523 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27524 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27525 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27526 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27527 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27528 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27529 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27530 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27531 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27532 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27533 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27534 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27535 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27536 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27537 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27538 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27539 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27540 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27541 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27542 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27543 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27544
27545 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27546
27547 * stdio-common/_itoa.h: Moved to ...
27548 * sysdeps/generic/_itoa.h: Here.
27549
27550 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27551
27552 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27553 instead of "_itoa.h" and "_itowa.h".
27554 * stdio-common/vfprintf.: Likewise.
27555
d1af992d
L
275562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27557
27558 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27559 <bits/wordsize.h>.
27560 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27561 (__signbit): Likwise.
27562 (llrintf): Likwise.
27563 (llrint): Likwise.
27564
114883e0
L
275652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27566
27567 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27568 __WORDSIZE != 64.
27569
c135cc1b
JM
275702012-03-20 Joseph Myers <joseph@codesourcery.com>
27571
27572 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27573 OVERFLOW_EXCEPTION_OK.
27574 * math/libm-test.inc ("Philosophy"): Update comment about
27575 exception testing.
27576 (OVERFLOW_EXCEPTION): Define.
27577 (OVERFLOW_EXCEPTION_OK): Likewise.
27578 (INVALID_EXCEPTION_OK): Renumber.
27579 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27580 (IGNORE_ZERO_INF_SIGN): Likewise.
27581 (test_exceptions): Handle FE_OVERFLOW.
27582 (exp10_test): Expect overflow exceptions.
27583 (exp2_test): Likewise.
27584 (expm1_test): Likewise.
27585 (nextafter_test): Likewise.
27586 (pow_test): Likewise.
27587 (scalbn_test): Likewise.
27588 (scalbln_test): Likewise.
27589
95443d88
L
275902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27591
27592 * sysdeps/x86_64/bits/atomic.h
27593 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27594 64bit integer.
27595 (atomic_exchange_acq): Likewise.
27596 (__arch_exchange_and_add_body): Likewise.
27597 (__arch_add_body): Likewise.
27598 (atomic_add_negative): Likewise.
27599 (atomic_add_zero): Likewise.
27600
490df6c4
L
276012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27602
c2722551 27603 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27604 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27605
5e52b189
L
276062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27607
27608 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27609 Check __x86_64__ instead of __WORDSIZE.
27610
a9879d4c
L
276112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27612
27613 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27614
5df98260
DM
276152012-03-19 David S. Miller <davem@davemloft.net>
27616
e1497744
DM
27617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27618
5df98260
DM
27619 * sysdeps/sparc/fpu/fenv_private.h: New file.
27620 * sysdeps/sparc/fpu/math_private.h: Use it.
27621 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27622 Remove.
27623 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27624 (libc_feholdexcept_setroundl): Remove.
27625 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27626 Remove.
27627 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27628 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27629
b4c35121
L
276302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27631
27632 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27633 int64_t instead of long int.
27634 (INSERT_WORDS64): Likwise.
27635
56965fd7
L
276362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27637
27638 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27639 _Unwind_GetCFA return to _Unwind_Ptr first.
27640
83d1aec8
JM
276412012-03-19 Joseph Myers <joseph@codesourcery.com>
27642
1897ad44
JM
27643 [BZ #13629]
27644 * math/s_clog.c: Include <float.h>.
27645 (__clog): Scale large or subnormal inputs.
27646 * math/s_clogf.c: Likewise.
27647 * math/s_clogl.c: Likewise.
27648 * math/s_clog10.c: Include <float.h>.
27649 (M_LOG10_2): Define.
27650 (__clog10): Scale large or subnormal inputs.
27651 * math/s_clog10f.c: Likewise.
27652 * math/s_clog10l.c: Likewise.
27653 * math/libm-test.inc (clog_test): Add more tests.
27654 (clog10_test): Likewise.
27655 * sysdeps/i386/fpu/libm-test-ulps: Update.
27656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27657
7726d6a9
JM
27658 [BZ #11451]
27659 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27660 x and y.
27661 * math/libm-test.inc (atan2_test): Add another test.
27662
83d1aec8
JM
27663 * Makerules (common-objdir-compile): Remove.
27664 * sysdeps/unix/Makefile (config-generated): Do not add
27665 $(unix-generated) to variable.
27666 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27667 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27668 Remove rule.
27669 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27670 Likewise.
27671 [generic bits/local_lim.h] (before-compile): Do not append to
27672 variable.
27673 [generic bits/local_lim.h] (common-generated): Likewise.
27674 [generic sys/param.h] (before-compile): Do not append to variable.
27675 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27676 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27677 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27678 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27679 include.
27680 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27681 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27682 [generic sys/param.h] ($(addprefix
27683 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27684 [generic sys/param.h] (common-generated): Do not append to
27685 variable.
27686 [generic sys/param.h] (sysdep_headers): Likewise.
27687 [generic bits/errno.h] (before-compile): Do not append to
27688 variable.
27689 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27690 rule.
27691 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27692 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27693 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27694 [generic bits/errno.h] (common-generated): Do not append to
27695 variable.
27696 [generic bits/ioctls.h] (before-compile): Do not append to
27697 variable.
27698 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27699 rule.
27700 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27701 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27702 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27703 rule.
27704 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27705 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27706 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27707 [generic bits/ioctls.h] (common-generated): Do not append to
27708 variable.
27709 [generic sys/syscall.h] (syscall.h): Remove variable.
27710 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27711 rule.
27712 [generic sys/syscall.h] (before-compile): Do not append to
27713 variable.
27714 [generic sys/syscall.h] (common-generated): Likewise.
27715 * sysdeps/unix/errnos-tmpl.c: Remove file.
27716 * sysdeps/unix/errnos.awk: Likewise.
27717 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27718 * sysdeps/unix/ioctls.awk: Likewise.
27719 * sysdeps/unix/mk-local_lim.c: Likewise.
27720 * sysdeps/unix/snarf-ioctls: Likewise.
27721
4851a949
RH
277222012-03-19 Richard Henderson <rth@twiddle.net>
27723
bd37f2ee
RH
27724 * sysdeps/i386/fpu/fenv_private.h: New file.
27725 * sysdeps/i386/fpu/math_private.h: Use it.
27726 (math_opt_barrier, math_force_eval): Remove.
27727 (libc_feholdexcept_setround_53bit): Remove.
27728 (libc_feupdateenv_53bit): Remove.
27729 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27730 (math_opt_barrier, math_force_eval): Remove.
27731 (libc_feholdexcept): Remove.
27732 (libc_feholdexcept_setround): Remove.
27733 (libc_fetestexcept, libc_fesetenv): Remove.
27734 (libc_feupdateenv_test): Remove.
27735 (libc_feupdateenv, libc_feholdsetround): Remove.
27736 (libc_feresetround): Remove.
27737
d0adc922
RH
27738 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27739 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27740
0fe0f1f8
RH
27741 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27742 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27743 (libc_feupdateenv_testl): New.
27744 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27745 (libc_feupdateenv_testf): New.
27746 (libc_feupdateenv): Use libc_feupdateenv_test.
27747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27748 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27749
eb92c487
RH
27750 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27751 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27752 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27753 (libc_feresetround_noex): New.
27754 (libc_feresetround_noexf): New.
27755 (libc_feresetround_noexl): New.
27756 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27757 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27758 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27759 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27760 SET_RESTORE_ROUND.
27761 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27763 (__cos): Likewise.
27764 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27765 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27766 SET_RESTORE_ROUND_NOEX.
27767 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27768 SET_RESTORE_ROUND_NOEXF.
27769 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27770 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27771 (libc_feholdsetroundf): New.
27772 (libc_feresetround, libc_feresetroundf): New.
27773
7d2e8012
RH
27774 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27775 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27776 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27777
b4dabbb4
RH
27778 * sysdeps/generic/math_private.h: Include <fenv.h>.
27779 (default_libc_feholdexcept): New.
27780 (default_libc_feholdexcept_setround): New.
27781 (default_libc_fesetenv, default_libc_feupdateenv): New.
27782 (libc_feholdexcept): Only define if undefined.
27783 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27784 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27785 (libc_feholdexcept_setroundl): Likewise.
27786 (libc_feholdexcept_setround_53bit): Likewise.
27787 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27788 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27789 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27790 (libc_feupdateenv_53bit): Likewise.
27791 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27792 (libc_feholdexcept): Convert from macro to inline function.
27793 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27794 (libc_fesetenv, libc_feupdateenv): Likewise.
27795
4851a949
RH
27796 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27797 not previously defined.
27798 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27799 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27800 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27801 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27802 * sysdeps/ieee754/flt-32/math_private.h: New file.
27803 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27804 math_private.h below SET_FLOAT_WORD.
27805 (__isnan, __isinf_ns, __finite): Remove.
27806 (__isnanf, __isinf_nsf, __finitef): Remove.
27807
e79d442e
AS
278082012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27809
27810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27811
90b80344
DM
278122012-03-17 David S. Miller <davem@davemloft.net>
27813
27814 [BZ #6471]
27815 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27816 for 2.16.
27817
edc21804
DM
278182012-03-16 David S. Miller <davem@davemloft.net>
27819
77e927af
DM
27820 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27821 warnings.
27822
374976dd
DM
27823 [BZ #6471]
27824 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27825 properly.
27826 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27827 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27828 sysdep_routines when subdir is sysvipc.
27829 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27830 __getshmlba helper.
27831
edc21804
DM
27832 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27833
473c3ef3
L
278342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27835
27836 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27837 [__LP64__].
27838
eb0f39b6
L
278392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27840
27841 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27842 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27843 (__lround): Renamed to ...
27844 (__llround): This. Replace long int with long long int.
27845 Define lround functions as aliases of llround functions.
27846 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27847
6b6cd74b
L
278482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27849
27850 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27851 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27852 adresses to uintptr_t. Replace "long int" and "unsigned long
27853 int" with "greg_t" on va_arg.
27854
f1a77b01
L
278552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27856
27857 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27858 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27859
27860 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27861 Move e_machine check before EI_CLASS check. Handle x32
27862 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27863 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27864 SKIP_EM_IA_64 and include
27865 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27866
27867 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27868 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27869 (add_system_dir): New macro.
27870
27871 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27872 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27873
11b90b9f
JM
278742012-03-16 Joseph Myers <joseph@codesourcery.com>
27875
c36e1d23
JM
27876 [BZ #2551]
27877 [BZ #2552]
27878 [BZ #2553]
27879 [BZ #2554]
27880 [BZ #2562]
27881 [BZ #2563]
27882 [BZ #2565]
27883 [BZ #2566]
27884 [BZ #2576]
27885 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27886 (y0): Likewise.
27887 * math/w_j0f.c (j0f): Likewise.
27888 (y0f): Likewise.
27889 * math/w_j0l.c (__j0l): Likewise.
27890 (__y0l): Likewise.
27891 * math/w_j1.c (j1): Likewise.
27892 (y1): Likewise.
27893 * math/w_j1f.c (j1f): Likewise.
27894 (y1f): Likewise.
27895 * math/w_j1l.c (__j1l): Likewise.
27896 (__y1l): Likewise.
27897 * math/w_jn.c (jn): Likewise.
27898 (yn): Likewise.
27899 * math/w_jnf.c (jnf): Likewise.
27900 (ynf): Likewise.
27901 * math/w_jnl.c (__jnl): Likewise.
27902 (__ynl): Likewise.
27903 * math/libm-test.inc (j0_test): Add more tests.
27904 (j1_test): Likewise.
27905 (jn_test): Likewise. Add trailing semicolon to existing test.
27906 (y0_test): Likewise.
27907 (y1_test): Likewise.
27908 * sysdeps/i386/fpu/libm-test-ulps: Update.
27909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27910
11b90b9f
JM
27911 [BZ #13851]
27912 [BZ #13854]
27913 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27914 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27915 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27916 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27917 (__tanl): Set errno for infinite argument.
27918 * sysdeps/i386/fpu/mptan.c: Remove.
27919 * sysdeps/i386/fpu/s_tan.S: Likewise.
27920 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27921 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27922 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27923 * math/libm-test.inc (tan_test): Add more tests and enable more
27924 tests for double and long double.
27925 * sysdeps/i386/fpu/libm-test-ulps: Update.
27926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27927
6a1bd2a1
JK
279282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27929
27930 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27931 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27932
10a803e0
RM
279332012-03-16 Roland McGrath <roland@hack.frob.com>
27934
27935 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27936 * configure.in: Use it for both main tree and add-ons.
27937 * configure: Regenerated.
27938
f196c7f7
L
279392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27940
27941 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27942
8848d99d
JM
279432012-03-16 Joseph Myers <joseph@codesourcery.com>
27944
96cbe7f4
JM
27945 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27946 in comment.
27947
8848d99d
JM
27948 [BZ #13851]
27949 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27950 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27951 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27952 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27953 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27954 infinite argument.
27955 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27956 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27957 != 0 for prec == 2.
27958 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27959 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27960 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27961 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27962 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27963 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27964 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27965 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27966 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27967 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27968 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27969 * math/libm-test.inc (cos_test): Add more tests and enable more
27970 tests for long double.
27971 (sin_test): Likewise.
27972 (sincos_test): Likewise.
27973 * sysdeps/i386/fpu/libm-test-ulps: Update.
27974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27975
dd7f4703
DM
279762012-03-16 David S. Miller <davem@davemloft.net>
27977
27978 * sysdeps/sparc/fpu/math_private.h: New file.
27979
006f1daa
DM
279802012-03-15 David S. Miller <davem@davemloft.net>
27981
c0c83bc8
DM
27982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27983 file.
e6a62e18 27984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27986 file.
e6a62e18
DM
27987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27988 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27989 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27990 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27992 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27993 sysdep routines.
27994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27995
88cb87d9
DM
27996 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27997 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27998
006f1daa 27999 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
28000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28001 sparc-ifunc.h
006f1daa 28002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
28003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28004 Likewise.
28005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28006 Likewise.
006f1daa
DM
28007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
28010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28011 Likewise.
006f1daa
DM
28012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
28016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28017 Likewise.
28018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28019 Likewise.
006f1daa
DM
28020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28024 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28025 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28026 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28027 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28036 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28037 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28042 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28043 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28044
11e0098e
AS
280452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28046
28047 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28048 scaling.
28049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28050
e85b09d0
AJ
280512012-03-15 Andreas Jaeger <aj@suse.de>
28052
28053 [BZ #13852]
28054 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28055 ieee754/flt-32 implementation for sin, cos and sincos.
28056 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28057 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28058 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28059 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28060 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28061 ieee754/flt-32 implementation for tan.
28062
28063 * math/libm-test.inc (cos_test): Enable some large input tests for
28064 float as well
28065 (sin_test): Likewise.
28066 (sincos_test): Likewise.
28067 (tan_test): Add tests for large input.
28068
28069 * sysdeps/i386/fpu/libm-test-ulps: Update.
28070
81c64153
AJ
280712012-03-15 Andreas Jaeger <aj@suse.de>
28072
28073 [BZ #13658]
28074 * math/libm-test.inc (cos_test): Add more test cases.
28075 (sin_test): Likewise.
28076 (sincos_test): Likewise.
28077
7bbfa5c6
AJ
280782012-03-15 Andreas Jaeger <aj@suse.de>
28079
28080 [BZ #13837]
28081 * math/libm-test.inc (cos_test): Add a test case for large input
28082 value.
28083 (sin_test): Likewise.
28084 (sincos_test): Likewise.
28085
280862012-03-15 Andreas Jaeger <aj@suse.de>,
28087 Joseph Myers <joseph@codesourcery.com>
28088
28089 [BZ #13658]
0671f479 28090 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28091 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28092 * sysdeps/i386/fpu/branred.c: Likewise.
28093 * sysdeps/i386/fpu/dosincos.c: Likewise.
28094 * sysdeps/i386/fpu/mpa.c: Likewise.
28095 * sysdeps/i386/fpu/s_cos.S: Likewise.
28096 * sysdeps/i386/fpu/s_sin.S: Likewise.
28097 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28098 * sysdeps/i386/fpu/sincos32.c: Likewise.
28099
28100 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28101 Define.
28102 (libc_feupdateenv_53bit): Define.
28103 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28104 Define.
28105 (libc_feupdateenv_53bit): Define.
28106
28107 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28108 53 bit (without extend i386 double precision).
28109
28110 * math/libm-test.inc (sincos_test): Add tests for large input.
28111 (sin): Likewise.
28112 (cos): Likewise.
28113
28114 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28115
9cad04ea
AS
281162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28117
28118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28119
f7062b9a
DM
281202012-03-15 David S. Miller <davem@davemloft.net>
28121
28122 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28123 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28124 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28125 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28130 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28131 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28132 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28138 file.
f7062b9a 28139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28141 file.
f7062b9a 28142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28144 file.
f7062b9a 28145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28147 file.
f7062b9a
DM
28148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28149 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28150 fmin/fmax sysdep routines.
28151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28152
7bd951ff
DM
281532012-03-14 David S. Miller <davem@davemloft.net>
28154
559398ab
DM
28155 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28156 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28157 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28158 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28159 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28160 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28161 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28162 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28163 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28164 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28165 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28166 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28167 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28168 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28169 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28170 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28171 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28172 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28173 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28174 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28175 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28177 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28178 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28179 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28180 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28181 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28182 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28184 routines.
28185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28186 file.
559398ab 28187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28189 file.
559398ab 28190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28192 file.
559398ab 28193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28195 file.
559398ab 28196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28198 file.
559398ab 28199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28201 file.
28202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28203 file.
28204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28205 file.
28206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28207 file.
28208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28209 New file.
28210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28211 file.
28212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28213 file.
559398ab 28214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28216 file.
559398ab 28217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28219 file.
559398ab 28220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28222 file.
559398ab 28223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28225 VIS3 routines.
559398ab
DM
28226
28227 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28228 New file.
28229
5a1c1e32
DM
28230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28231
eae47a36
DM
28232 * sysdeps/sparc/configure.in: New file.
28233 * sysdeps/sparc/configure: Generate.
28234 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28235 * configure: Regenerate.
28236 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28237 * config.make.in (have-as-vis3): New.
28238 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28239 available use -Av9d instead of -Av9a.
28240 * sysdeps/sparc/sparc64/Makefile: Likewise.
28241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28243 New file.
28244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28245 file.
28246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28247 New file.
28248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28249 file.
eae47a36
DM
28250 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28251 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28252 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28253 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28254 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28255
c0c83bc8
DM
28256 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28257 fzeros/fnegs to load 0x80000000 into a float register instead of
28258 using the stack.
7bd951ff
DM
28259 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28260
bd951ccb
JM
282612012-03-14 Joseph Myers <joseph@codesourcery.com>
28262
28263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28264 bits/syscall.h.
28265 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28266 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28267 ($(inst_includedir)/bits/syscall.h): Remove rule.
28268 ($(objpfx)bits/syscall.d): Include instead of
28269 $(objpfx)syscall-list.d.
28270 (generated): Change syscall-list.h and syscall-list.d to
28271 bits/syscall.h and bits/syscall.d.
28272
bb4e6db2
RM
282732012-03-14 Roland McGrath <roland@hack.frob.com>
28274
28275 [BZ #13846]
28276 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28277
aa4a2ae1
JM
282782012-03-14 Joseph Myers <joseph@codesourcery.com>
28279
e456826d
JM
28280 [BZ #13841]
28281 * math/s_csqrt.c: Include <float.h>.
28282 (__csqrt): Scale large or subnormal inputs.
28283 * math/s_csqrtf.c: Likewise.
28284 * math/s_csqrtl.c: Likewise.
28285 * math/libm-test.inc (csqrt_test): Add more tests.
28286 * sysdeps/i386/fpu/libm-test-ulps: Update.
28287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28288
aa4a2ae1
JM
28289 [BZ #13840]
28290 * math/libm-test.inc (hypot_test): Add more tests.
28291
7c10fd35
DM
282922012-03-13 David S. Miller <davem@davemloft.net>
28293
28294 [BZ #13840]
28295 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28296 double-precision for the calculation instead of scaling.
28297
f453b98b
JM
282982012-03-13 Joseph Myers <joseph@codesourcery.com>
28299
28300 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28301 manipulate bits before adding and subtracting TWO52[sx].
28302 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28303 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28304 Likewise.
28305 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28306
09a3453f
DM
283072012-03-13 David S. Miller <davem@davemloft.net>
28308
8e59da90
DM
28309 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28310 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28311 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28312 rtld-global-offsets.h
28313 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28314
2a8ab7f2
DM
28315 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28316 large parameters.
28317
10f62770
DM
28318 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28319
5f0bdb18
DM
28320 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28321 'err' in the ifdef scope in which it is actually used.
28322
09a3453f
DM
28323 * nss/nss_db/db-init.c: Include string.h
28324
b4b2eb5e
DM
283252012-03-12 David S. Miller <davem@davemloft.net>
28326
98bb2f1c
DM
28327 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28328 masking out of the most significant byte of random value used.
28329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28330 Fix coding style in previous change.
28331
b4b2eb5e
DM
28332 * sysdeps/unix/sysv/linux/kernel-features.h
28333 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28334 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28335 expression.
28336 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28337 later.
28338
6e226b09
DM
283392012-03-11 David S. Miller <davem@davemloft.net>
28340
a1bcbd40
DM
28341 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28342 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28344 for 'resultvar' otherwise things get truncated on 64-bit.
28345
cb9d6174
DM
28346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28347 Fix masking out of the most significant byte of random value used.
28348
6e226b09
DM
28349 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28350
058c132d
AS
283512012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28352
28353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28354
2d2cd515
DM
283552012-03-09 David S. Miller <davem@davemloft.net>
28356
28357 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28358 variables with appropriate CPP guards.
28359 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28360 frame pointer, not the stack pointer. Correct layout comments. Fix test
28361 on resulting framesize and the management of the outregs buffer for pltexit.
28362 Preserve floating point return values across _dl_call_pltexit call.
28363 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28364 framesize and the management of the outregs buffer for pltexit.
28365 Preserve floating point return values across _dl_call_pltexit
28366 call.
28367 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28368 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28369 (print_exit): Fix format string for return register value.
28370
9a07f9d0
JM
283712012-03-10 Joseph Myers <joseph@codesourcery.com>
28372
28373 * sunrpc/Makefile (others): Add rpcgen.
28374 ($(objpfx)rpcgen): Remove special build rule and dependency on
28375 libc.
28376 * sunrpc/rpcgen.c: New file.
28377
547b5e30
PE
283782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28379
c524201a
PE
28380 [BZ #13673]
28381 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28382 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28383 * sysdeps/i386/crti.S: Likewise.
28384 * sysdeps/i386/crtn.S: Likewise.
28385 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28386 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28387 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28388 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28389 * sysdeps/sh/crti.S: Likewise.
28390 * sysdeps/sh/crtn.S: Likewise.
28391 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28392
7b6235f2
PE
28393 [BZ #13673]
28394 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28395 with URL.
28396 * locale/programs/locfile-kw.gperf: Likewise.
28397 * locale/programs/charmap-kw.h: Regenerated.
28398 * locale/programs/locfile-kw.h: Likewise.
28399
547b5e30
PE
28400 [BZ #13673]
28401 * intl/plural.y: Replace FSF snail mail address with URL.
28402 * intl/plural.c: Regenerated.
28403
5f0a5dae
RH
284042012-03-09 Richard Henderson <rth@twiddle.net>
28405
28406 * include/math_private.h: Remove file.
28407 * math/math_private.h: Move file ...
28408 * sysdeps/generic/math_private.h: ... here.
28409
b8c03620
RH
28410 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28411 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28412 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28413
4e234f5d 28414 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28415 and <math_private.h>.
28416 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28417 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28418 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28419 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28420 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28421 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28422 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28423 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28424 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28425 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28426 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28427 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28428 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28429 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28432 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28433 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28434 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28437 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28438 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28440 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28441 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28442 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28443 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28444 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28446 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28447 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28448 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28449 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28450 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28451 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28452 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28453 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28454 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28455 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28456 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28457 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28458 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28459 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28460 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28461 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28462 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28463 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28464 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28466 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28467 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28468 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28469 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28470 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28471 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28472 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28473 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28474 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28475 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28476 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28477 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28478 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28479 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28483 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28484 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28485 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28490 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28491 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28492 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28494 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28495 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28496 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28497 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28498 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28499 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28500 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28501 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28502 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28503 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28504 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28505 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28506 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28507 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28508 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28509 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28510 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28511 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28512 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28513 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28514 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28515 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28516 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28517 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28518 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28519 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28520 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28521 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28522 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28523 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28524 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28525 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28526 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28527 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28528 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28529 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28530 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28531 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28532 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28533 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28534 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28535 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28536 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28537 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28538 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28539 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28540 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28541 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28542 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28543 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28544 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28545 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28546 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28547 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28548 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28549 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28550 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28551 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28552 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28553 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28554 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28555 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28556 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28557 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28558 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28559 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28560 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28561 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28562 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28563 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28564 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28565 * sysdeps/ieee754/k_standard.c: Likewise.
28566 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28567 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28568 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28569 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28570 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28571 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28572 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28573 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28574 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28575 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28576 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28577 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28578 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28579 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28580 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28581 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28582 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28583 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28584 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28585 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28586 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28587 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28588 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28589 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28590 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28591 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28592 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28593 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28594 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28595 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28596 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28597 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28599 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28600 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28602 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28603 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28604 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28609 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28643 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28645 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28648 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28649 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28650 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28653 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28654 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28657 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28658 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28659 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28660 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28661 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28662 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28664 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28665 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28666 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28667 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28668 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28669 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28670 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28671 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28672 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28673 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28674 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28676 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28677 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28681 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28682 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28683 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28684 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28685 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28686 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28687 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28688 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28691 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28693 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28694 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28695 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28696 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28698 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28701 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28705 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28710 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28714 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28715 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28716 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28719 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28720 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28726 * sysdeps/ieee754/s_lib_version.c: Likewise.
28727 * sysdeps/ieee754/s_matherr.c: Likewise.
28728 * sysdeps/ieee754/s_signgam.c: Likewise.
28729 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28730 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28731 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28732 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28733 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28734 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28735 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28736 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28737 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28738 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28739 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28740 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28741 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28742 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28743 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28744 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28745 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28746 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28747 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28748 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28749 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28750
1991fa03
JM
287512012-03-09 Joseph Myers <joseph@codesourcery.com>
28752
28753 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28754 * sunrpc/rpc_main.c: Likewise.
28755 * sunrpc/rpc_svcout.c: Likewise.
28756
60d6f5a6
DM
287572012-03-09 David S. Miller <davem@davemloft.net>
28758
28759 * include/math_private.h: New file.
28760
4962050e
JM
287612012-03-09 Joseph Myers <joseph@codesourcery.com>
28762
02a6f887
JM
28763 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28764 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28765 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28766 from <bits/socket_type.h>.
28767 (enum __socket_type): Don't define here.
28768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28769 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28770 bits/socket_type.h.
28771
c6e013c1
JM
28772 [BZ #13566]
28773 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28774 checking __USE_GNU.
28775
4962050e
JM
28776 * Makerules ($(inst_includedir)/%.h): New rule.
28777 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28778 (install-others): Remove variable setting.
28779 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28780
38842f45
RH
287812012-03-08 Richard Henderson <rth@twiddle.net>
28782
67bb6da6
RH
28783 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28784 from macro to inline function; merge with the
28785 !__LIBC_INTERNAL_MATH_INLINES version.
28786 (__ieee754_sqrtf): Likewise.
28787
15194b4b
RH
28788 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28789 to inline function.
28790 (__rintf, __floor, __floorf): Likewise.
28791
64e21ede
RH
28792 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28793 macro to inline function.
28794 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28795
38842f45
RH
28796 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28797 not <math/math_private.h>.
28798
c64bf5fe
DM
287992012-03-08 David S. Miller <davem@davemloft.net>
28800
28801 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28802 copyright year.
28803 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28804
82d86f28
TS
288052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28806
28807 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28808 normalization.
28809 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28810 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28811
aea5d727
UD
288122012-03-08 Ulrich Drepper <drepper@gmail.com>
28813
28814 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28815 be defined individually, they must be defined as a block. Define
28816 S for printing a string instead of hidint the different by using a
28817 macro for adding the 'l'.
28818 * stdio-common/tst-fphex-wide.c: Adjust.
28819
70bca0a3
MP
288202012-03-07 Marek Polacek <polacek@redhat.com>
28821
28822 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28823
65b81130
MP
288242012-03-08 Marek Polacek <polacek@redhat.com>
28825
28826 [BZ #13806]
28827 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28828 * stdio-common/tst-fphex.c: Define a few macros to make the
28829 test reusable. Use them.
28830 * stdio-common/tst-fphex-wide.c: New file.
28831
07037eeb
JM
288322012-03-08 Joseph Myers <joseph@codesourcery.com>
28833
a7a93d50
JM
28834 [BZ #6911]
28835 * manual/macros.texi (gnusystems): New macro.
28836 (nongnusystems): Likewise.
28837 (gnulinuxhurdsystems): Likewise.
28838 (gnuhurdsystems): Likewise..
28839 (gnulinuxsystems): Likewise.
28840 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28841 variants of the GNU system, not "GNU system".
28842 * manual/conf.texi: Likewise.
28843 * manual/errno.texi: Likewise. Update example of errno macro
28844 expansion.
28845 * manual/filesys.texi: Likewise.
28846 (getumask): Document as specific to GNU/Hurd.
28847 * manual/install.texi: Likewise. Reword some references to
28848 GNU/Linux.
28849 * manual/intro.texi: Likewise.
28850 * manual/io.texi: Likewise.
28851 (File Name Portability): Detail which constraints are inapplicable
28852 to all GNU systems and which are only inapplicable to GNU/Hurd.
28853 * manual/job.texi: Likewise.
28854 * manual/llio.texi: Likewise.
28855 (O_NOCTTY): Document as present on GNU/Linux.
28856 * manual/maint.texi: Likewise.
28857 * manual/memory.texi: Likewise.
28858 * manual/pattern.texi: Likewise.
28859 * manual/pipe.texi: Likewise.
28860 * manual/process.texi: Likewise.
28861 * manual/resource.texi: Likewise.
28862 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28863 child on GNU/Hurd.
28864 * manual/setjmp.texi: Likewise.
28865 * manual/signal.texi: Likewise.
28866 * manual/startup.texi: Likewise.
28867 * manual/stdio.texi: Likewise.
28868 * manual/terminal.texi: Likewise.
28869 (ONLCR): Document as POSIX.
28870 (OXTABS): Document availability on GNU/Linux as XTABS.
28871 (ONOEOT): Document availability separately from other bits.
28872 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28873 * manual/time.texi: Likewise.
28874 * manual/users.texi: Likewise.
28875 * INSTALL: Regenerated.
28876 * sysdeps/gnu/errlist.c: Regenerated.
28877
07037eeb
JM
28878 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28879 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28880 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28881 puts.
28882 * configure: Regenerated.
28883
d1d3431a
JM
288842012-03-07 Joseph Myers <joseph@codesourcery.com>
28885
af6a1e37
JM
28886 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28887 default includes instead of AC_HEADER_CHECK.
28888 * sysdeps/i386/configure: Regenerated.
28889
d1d3431a
JM
28890 [BZ #10716]
28891 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28892 * math/s_cacoshf.c (__cacoshf): Likewise.
28893 * math/s_cacoshl.c (__cacoshl): Likewise.
28894 * math/s_casinh.c (__casinh): Set signs of result from argument.
28895 * math/s_casinhf.c (__casinhf): Likewise.
28896 * math/s_casinhl.c (__casinhl): Likewise.
28897 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28898 (casinh_test): Add more tests.
28899 * sysdeps/i386/fpu/libm-test-ulps: Update.
28900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28901
482ff4da
UD
289022012-03-07 Ulrich Drepper <drepper@gmail.com>
28903
872fda05
UD
28904 * po/zh_TW.po: Update from translation team.
28905
a4300c7a
UD
28906 * login/Makefile (distribute): Remove variable.
28907 * catgets/Makefile: Likewise.
28908 * mach/Makefile: Likewise.
28909 * malloc/Makefile: Likewise.
28910 * misc/Makefile: Likewise.
28911 * iconv/Makefile: Likewise.
28912 * nscd/Makefile: Likewise.
28913 * hurd/Makefile: Likewise.
28914 * manual/Makefile: Likewise.
28915 * locale/Makefile: Likewise.
28916 * intl/Makefile: Likewise.
28917 * conform/Makefile: Likewise.
28918 * nss/Makefile: Likewise.
28919 * time/Makefile: Likewise.
28920 * soft-fp/Makefile: Likewise.
28921 * dirent/Makefile: Likewise.
28922 * gmon/Makefile: Likewise.
28923 * po/Makefile: Likewise.
28924 * rt/Makefile: Likewise.
28925 * socket/Makefile: Likewise.
28926 * math/Makefile: Likewise.
28927 * signal/Makefile: Likewise.
28928 * debug/Makefile: Likewise.
28929 * elf/Makefile: Likewise.
28930 * timezone/Makefile: Likewise.
28931 * stdlib/Makefile: Likewise.
28932 * iconvdata/Makefile: Likewise.
28933 * sunrpc/Makefile: Likewise.
28934 * io/Makefile: Likewise.
28935 * argp/Makefile: Likewise.
28936 * inet/Makefile: Likewise.
28937 * hesiod/Makefile: Likewise.
28938 * grp/Makefile: Likewise.
28939 * csu/Makefile: Likewise.
28940 * wctype/Makefile: Likewise.
28941 * crypt/Makefile: Likewise.
28942 * libio/Makefile: Likewise.
28943 * string/Makefile: Likewise.
28944 * nis/Makefile: Likewise.
28945 * resolv/Makefile: Likewise.
28946 * stdio-common/Makefile: Likewise.
28947 * wcsmbs/Makefile: Likewise.
28948 * dlfcn/Makefile: Likewise.
28949 * posix/Makefile: Likewise.
28950
3b7c4e74 28951 [BZ #6959]
482ff4da
UD
28952 * timezone/Makefile: Don't install timezone files, just the programs
28953 and scripts.
28954
f72ed77d
UD
289552012-03-06 Ulrich Drepper <drepper@gmail.com>
28956
a000466f
UD
28957 * nss/databases.def: Add missing gshadow entry.
28958
f72ed77d
UD
28959 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28960
a53b7a4e
MP
289612012-03-06 Marek Polacek <polacek@redhat.com>
28962
28963 [BZ #13726]
28964 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28965 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28966 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28967 * stdio-common/tst-long-dbl-fphex.c: New file.
28968
e9258400
DM
289692012-03-06 David S. Miller <davem@davemloft.net>
28970
28971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28972 (set_obp_int): New function.
28973 (get_obp_int): New function.
28974 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28975 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28976 Avoid unused variable warnings on 'val' and use builtin_expect.
28977 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28978 __builtin_expect.
e9258400
DM
28979 (INLINE_CLONE_SYSCALL): Likewise.
28980
3bd2c723
DM
289812012-03-05 David S. Miller <davem@davemloft.net>
28982
28983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28984
bbb78d03
AS
289852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28986
884c5db4
AS
28987 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28988
bbb78d03
AS
28989 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28990 only for |x| >= 40.
28991 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28992
1c9f702a 289932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28994
28995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28996 Replace gettimeofday with __vdso_gettimeofday.
28997
7be16f82
RM
28998 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28999 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29000 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
29001
29002 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29003 time with __vdso_time.
29004
ed58a00f
JM
290052012-03-05 Joseph Myers <joseph@codesourcery.com>
29006
29007 * manual/lang.texi (size_t): Note types to which size_t may be
29008 equivalent with the GNU C Library, but do not describe when
29009 differences between them are significant.
29010
30ee4ced
AJ
290112012-03-05 Andreas Jaeger <aj@suse.de>
29012
29013 * sysdeps/i386/fpu/libm-test-ulps: Update.
29014
b7cd39e8
JM
290152012-03-05 Joseph Myers <joseph@codesourcery.com>
29016
29017 [BZ #3976]
29018 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29019 (__ieee754_pow): Save and restore rounding mode and use
29020 round-to-nearest for main computations.
29021 * math/libm-test.inc (pow_test_tonearest): New function.
29022 (pow_test_towardzero): Likewise.
29023 (pow_test_downward): Likewise.
29024 (pow_test_upward): Likewise.
29025 (main): Call the new functions.
29026 * sysdeps/i386/fpu/libm-test-ulps: Update.
29027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29028
29029 [BZ #3976]
29030 * math/libm-test.inc (cosh_test_tonearest): New function.
29031 (cosh_test_towardzero): Likewise.
29032 (cosh_test_downward): Likewise.
29033 (cosh_test_upward): Likewise.
29034 (sinh_test_tonearest): Likewise.
29035 (sinh_test_towardzero): Likewise.
29036 (sinh_test_downward): Likewise.
29037 (sinh_test_upward): Likewise.
29038 (main): Call the new functions.
29039 * sysdeps/i386/fpu/libm-test-ulps: Update.
29040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29041
6c6a98c9
TV
290422012-03-05 Tom de Vries <tom@codesourcery.com>
29043
29044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29045 default stack guard is set in last bytes.
29046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29047
21bb2d2e 290482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29049
21bb2d2e 29050 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29051
21bb2d2e
AJ
29052 [BZ #13656]
29053 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29054 possibly allocate from heap instead of stack.
29055 * stdio-common/bug-vfprintf-nargs.c: New file.
29056 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29057
c6922934
AS
290582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29059
29060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29061
bc957d53
MP
290622012-03-03 Marek Polacek <polacek@redhat.com>
29063
29064 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29065 * math/math_private.h: Likewise.
29066 * stdlib/tst-strtod.c: Likewise.
29067 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29068 * sysdeps/x86_64/bits/atomic.h: Likewise.
29069
6358490d
DM
290702012-03-02 David S. Miller <davem@davemloft.net>
29071
29072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29076 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29077 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29078 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29079 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29080
01ae168d
RM
290812012-03-02 Roland McGrath <roland@hack.frob.com>
29082
d9a17c07
RM
29083 [BZ #13792]
29084 * manual/examples/README: New file, says the example source files
29085 can be used under GPL>=2.
29086 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29087 line containing just "*/".
29088 * manual/examples/add.c: Add copyright header (GPL>=2).
29089 * manual/examples/argp-ex1.c: Likewise.
29090 * manual/examples/argp-ex2.c: Likewise.
29091 * manual/examples/argp-ex3.c: Likewise.
29092 * manual/examples/argp-ex4.c: Likewise.
29093 * manual/examples/atexit.c: Likewise.
29094 * manual/examples/db.c: Likewise.
29095 * manual/examples/dir.c: Likewise.
29096 * manual/examples/dir2.c: Likewise.
29097 * manual/examples/execinfo.c: Likewise.
29098 * manual/examples/filecli.c: Likewise.
29099 * manual/examples/filesrv.c: Likewise.
29100 * manual/examples/fmtmsgexpl.c: Likewise.
29101 * manual/examples/genpass.c: Likewise.
29102 * manual/examples/inetcli.c: Likewise.
29103 * manual/examples/inetsrv.c: Likewise.
29104 * manual/examples/isockad.c: Likewise.
29105 * manual/examples/longopt.c: Likewise.
29106 * manual/examples/memopen.c: Likewise.
29107 * manual/examples/memstrm.c: Likewise.
29108 * manual/examples/mkfsock.c: Likewise.
29109 * manual/examples/mkisock.c: Likewise.
29110 * manual/examples/mygetpass.c: Likewise.
29111 * manual/examples/pipe.c: Likewise.
29112 * manual/examples/popen.c: Likewise.
29113 * manual/examples/rprintf.c: Likewise.
29114 * manual/examples/search.c: Likewise.
29115 * manual/examples/select.c: Likewise.
29116 * manual/examples/setjmp.c: Likewise.
29117 * manual/examples/sigh1.c: Likewise.
29118 * manual/examples/sigusr.c: Likewise.
29119 * manual/examples/stpcpy.c: Likewise.
29120 * manual/examples/strdupa.c: Likewise.
29121 * manual/examples/strftim.c: Likewise.
29122 * manual/examples/strncat.c: Likewise.
29123 * manual/examples/subopt.c: Likewise.
29124 * manual/examples/swapcontext.c: Likewise.
29125 * manual/examples/termios.c: Likewise.
29126 * manual/examples/testopt.c: Likewise.
29127 * manual/examples/testpass.c: Likewise.
29128 * manual/examples/timeval_subtract.c: Likewise.
29129
01ae168d
RM
29130 [BZ #13792]
29131 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29132 function to ...
29133 * manual/timeval_subtract.c.texi: ... here, new file.
29134
49efa33d
DM
291352012-03-02 David S. Miller <davem@davemloft.net>
29136
29137 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29138
28afd92d
JM
291392012-03-02 Joseph Myers <joseph@codesourcery.com>
29140
804360ed
JM
29141 [BZ #3976]
29142 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29143 (__sin): Save and restore rounding mode and use round-to-nearest
29144 for all computations.
29145 (__cos): Save and restore rounding mode and use round-to-nearest
29146 for all computations.
29147 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29148 <fenv.h>.
29149 (tan): Save and restore rounding mode and use round-to-nearest for
29150 all computations.
29151 * math/libm-test.inc (cos_test_tonearest): New function.
29152 (cos_test_towardzero): Likewise.
29153 (cos_test_downward): Likewise.
29154 (cos_test_upward): Likewise.
29155 (sin_test_tonearest): Likewise.
29156 (sin_test_towardzero): Likewise.
29157 (sin_test_downward): Likewise.
29158 (sin_test_upward): Likewise.
29159 (tan_test_tonearest): Likewise.
29160 (tan_test_towardzero): Likewise.
29161 (tan_test_downward): Likewise.
29162 (tan_test_upward): Likewise.
29163 (main): Call the new functions.
29164 * sysdeps/i386/fpu/libm-test-ulps: Update.
29165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29166
a6d06d7b
JM
29167 [BZ #10135]
29168 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29169 small n, then large n, before computing and testing k+n.
29170 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29172 Likewise.
29173 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29174 Likewise.
29175 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29176 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29177 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29178 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29181 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29182 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29183 * math/libm-test.inc (scalbn_test): Add more tests.
29184 (scalbln_test): Likewise.
29185
07e12bb3
JM
29186 * manual/filesys.texi (mode_t): Describe constraints on size and
29187 signedness, not exact equivalence to a particular type.
29188 (ino_t): Likewise.
29189 (ino64_t): Likewise.
29190 (dev_t): Likewise.
29191 (nlink_t): Likewise.
29192 (blkcnt_t): Likewise.
29193 (blkcnt64_t): Likewise.
29194 * manual/llio.texi (off_t): Likewise.
29195
28afd92d
JM
29196 [BZ #3976]
29197 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29198 (__ieee754_exp): Save and restore rounding mode and use
29199 round-to-nearest for all computations.
29200 * math/libm-test.inc (exp_test_tonearest): New function.
29201 (exp_test_towardzero): Likewise.
29202 (exp_test_downward): Likewise.
29203 (exp_test_upward): Likewise.
29204 (main): Call the new functions.
29205 * sysdeps/i386/fpu/libm-test-ulps: Update.
29206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29207
b1eeb65d
CD
292082012-03-01 Chris Demetriou <cgd@google.com>
29209
29210 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29211 have predictable order.
29212
53362a4b
DM
292132012-03-01 David S. Miller <davem@davemloft.net>
29214
3c969083
DM
29215 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29216
759707de
DM
29217 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29218 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29219 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29220 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29221
dfdb8ff2
DM
29222 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29223 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29224 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29226 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29227 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29228 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29229 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29230 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29231
ead89f96
DM
29232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29233
7f66bd07
DM
29234 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29235 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29236 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29237
53362a4b
DM
29238 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29239 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29240 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29241 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29242 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29245 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29246 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29247 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29248 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29249 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29251 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29252 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29254 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29255 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29256 * sysdeps/sparc/elf/configure: Regenerated.
29257
7b1902cb
JM
292582012-03-01 Joseph Myers <joseph@codesourcery.com>
29259
bec039bc
JM
29260 * configure.in (AS, LD): Require binutils 2.20 or later.
29261 * configure: Regenerated.
29262 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29263 as required minimum version.
29264 * INSTALL: Regenerated.
29265
7b1902cb
JM
29266 [BZ #2541]
29267 [BZ #4108]
29268 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29269 before squaring exponent.
29270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29271 bottom long double and 27 bits of top long double before squaring
29272 exponent.
29273 * math/libm-test.inc (erfc_test): Add more tests.
29274 * sysdeps/i386/fpu/libm-test-ulps: Update.
29275 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29277
f775c276
KT
292782012-03-01 Kai Tietz <ktietz@redhat.com>
29279
29280 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29281 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29282 containing bit-fields.
29283 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29284 * soft-fp/single.h (_FP_UNION_S): Likewise.
29285 * soft-fp/double.h (_FP_UNION_D): Likewise.
29286
5b8a4d4a
JM
292872012-02-29 Joseph Myers <joseph@codesourcery.com>
29288
0bab47b6
JM
29289 [BZ #13786]
29290 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29291 not include ../strcmp.S.
29292 [USE_AS_STRNCASECMP_L]: Likewise.
29293 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29294 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29295 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29296 (__strncasecmp_l_ia32): Define as alias to
29297 __strncasecmp_l_nonascii.
29298
0fcad3e2
JM
29299 [BZ #5794]
29300 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29301 * sysdeps/i386/fpu/libm-test-ulps: Update.
29302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29303
5b8a4d4a
JM
29304 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29306
8fdceb2e
JL
293072012-02-29 Jeff Law <law@redhat.com>
29308
29309 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29310 out of bounds read.
29311
1f393a11
MP
293122012-02-29 Marek Polacek <polacek@redhat.com>
29313
29314 [BZ #13706]
29315 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29316 * elf/Makefile: Add rules to run tst-unused-dep.out.
29317
8847f037
DM
293182012-02-28 David S. Miller <davem@davemloft.net>
29319
29320 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29321 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29323 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29324 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29325 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29326
169d7f11
JM
293272012-02-29 Joseph Myers <joseph@codesourcery.com>
29328
29329 * math/libm-test.inc (llround_test): Move one test from
29330 lround_test. Use TEST_f_L in moved test.
29331 (lround_test): Move misplaced test to llround_test. Add testcase
29332 from bug 2561.
29333
39adf059
UD
293342012-02-28 Ulrich Drepper <drepper@gmail.com>
29335
29336 * sysdeps/x86_64/fpu/e_expf.S: New file.
29337 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29338
71b5d1c5
SB
293392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29340
29341 [BZ #13637]
29342 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29343 of remain_len that may cause incomplete multi-byte character and
29344 false match.
29345 * posix/bug-regex33.c: New file.
29346 * posix/Makefile (tests): Add bug-regex33.
29347
1f77f049
JM
293482012-02-28 Joseph Myers <joseph@codesourcery.com>
29349
29350 * manual/macros.texi: New file.
29351 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29352 * manual/libc.texinfo: Include macros.texi.
29353 * manual/creatute.texi: Likewise.
29354 * manual/install.texi: Likewise.
29355 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29356 @glibcadj{} in references to the GNU C Library.
29357 * manual/charset.texi: Likewise.
29358 * manual/conf.texi: Likewise.
29359 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29360 when not using those macros.
29361 * manual/creature.texi: Likewise.
29362 * manual/crypt.texi: Likewise.
29363 * manual/errno.texi: Likewise.
29364 * manual/filesys.texi: Likewise.
29365 * manual/header.texi: Likewise.
29366 * manual/install.texi: Likewise.
29367 * manual/intro.texi: Likewise.
29368 * manual/io.texi: Likewise.
29369 * manual/job.texi: Likewise.
29370 * manual/lang.texi: Likewise.
29371 * manual/libc.texiinfo: Likewise.
29372 * manual/llio.texi: Likewise.
29373 * manual/locale.texi: Likewise.
29374 * manual/maint.texi: Likewise.
29375 * manual/math.texi: Likewise.
29376 * manual/memory.texi: Likewise.
29377 * manual/message.texi: Likewise.
29378 * manual/nss.texi: Likewise.
29379 * manual/pattern.texi: Likewise.
29380 * manual/process.texi: Likewise.
29381 * manual/resource.texi: Likewise.
29382 * manual/search.texi: Likewise.
29383 * manual/setjmp.texi: Likewise.
29384 * manual/signal.texi: Likewise.
29385 * manual/socket.texi: Likewise.
29386 * manual/startup.texi: Likewise.
29387 * manual/stdio.texi: Likewise.
29388 * manual/string.texi: Likewise.
29389 * manual/sysinfo.texi: Likewise.
29390 * manual/syslog.texi: Likewise.
29391 * manual/terminal.texi: Likewise.
29392 * manual/time.texi: Likewise.
29393 * manual/users.texi: Likewise.
29394 * INSTALL: Regenerated.
29395 * NOTES: Regenerated.
d40c5d54 29396 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29397
450bf206
AS
293982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29399
29400 * include/dirent.h: Include <dirstream.h> before
29401 <dirent/dirent.h>.
29402
741a235b
DM
294032012-02-28 David S. Miller <davem@davemloft.net>
29404
29405 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29406 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29407 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29408 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29409
d6b5aa58
DM
294102012-02-27 David S. Miller <davem@davemloft.net>
29411
1aff59a3
DM
29412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29414 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29415 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29416
d6b5aa58
DM
29417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29418 frame pointer instead of stack pointer relative arg slot.
29419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29420 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29421 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29422
433f48bf
CD
294232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29424
29425 [BZ #3992]
29426 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29427
d674b76d
DM
294282012-02-27 David S. Miller <davem@davemloft.net>
29429
29430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29434 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29435 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29436 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29437 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29438
0e7727f7
JM
294392012-02-27 Joseph Myers <joseph@codesourcery.com>
29440
29441 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29442 later. Allow versions 5-9.
43be4ca2 29443 * configure: Regenerated.
0e7727f7
JM
29444 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29445 required minimum version and 4.6 as recommended version. Do not
29446 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29447 * INSTALL: Regenerated.
0e7727f7 29448
a78bc654
DM
294492012-02-27 David S. Miller <davem@davemloft.net>
29450
428d5830
DM
29451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29455 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29456 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29457 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29458 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29459
a78bc654
DM
29460 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29461 manipulate bits before adding and subtracting TWO112[sx].
29462 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29463
4579f81c
RM
294642012-02-27 Roland McGrath <roland@hack.frob.com>
29465
36c8acb4
RM
29466 [BZ #13775]
29467 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29468 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29469 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29470 being in POSIX, because they are in 1003.1-2008.
29471
84ad622b
RM
29472 * rt/tst-aio.c: Include <fcntl.h>.
29473 * rt/tst-aio7.c: Likewise.
29474 * rt/tst-aio64.c: Likewise.
29475
4579f81c
RM
29476 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29477
abd923db
JM
294782012-02-27 Joseph Myers <joseph@codesourcery.com>
29479
29480 * manual/install.texi (--with-headers): Describe headers as
29481 interface headers, not private headers.
29482 (Specific advice for GNU/Linux systems): Describe use of headers
29483 from "make headers_install", not private headers from older
29484 kernels.
43be4ca2 29485 * INSTALL: Regenerated.
abd923db
JM
29486 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29487 Change to 2.6.19.
29488 * sysdeps/unix/sysv/linux/configure: Regenerated.
29489
6664049b
JM
29490 * manual/llio.texi (fclean): Remove documentation.
29491
bb8b6697
JM
29492 * manual/Makefile (libc-texi-generated): New variable. Include
29493 version.texi.
29494 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29495 $(libc-texi-generated), not duplicated list of files.
29496 (version.texi, stamp-version): New rules.
29497 (realclean): Remove $(libc-texi-generated), not individual files
29498 from that list. Do not remove dir-add.texinfo.
29499 * manual/libc.texinfo: Comment out uses of edition numbers and
29500 references to printed manual. Remove last-updated dates.
29501 (EDITION): Comment out.
29502 (ISBN): Likewise.
29503 (VERSION, UPDATED): Remove.
29504 (version.texi): Include.
29505
12e5c3b9
AS
295062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29507
29508 * sysdeps/posix/spawni.c: Include <signal.h>.
29509 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29510 * sysdeps/pthread/aio_fsync.c: Likewise.
29511
4efeffc1 295122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29513
ba63ba08
UD
29514 * conform/Makefile (tests): Run only when not cross-compiling and
29515 when fast-check is not defined.
29516
d94a4670
UD
29517 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29518 * conform/data/limits.h-data: Fixes for POSIX2008.
29519 * conform/run-conformtest.sh: Run all tests.
29520 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29521 headers.
29522 * include/bits/dlfcn.h: Likewise.
29523 * include/langinfo.h: Likewise.
29524 * include/monetary.h: Likewise.
29525 * include/sys/poll.h: Likewise.
29526
29527 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29528 for __USE_GNU.
29529 * posix/spawn.h: Define __need_sigset_t.
29530 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29531 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29532 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29533 to get sigevent_t only.
29534 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29535 only for __USE_GNU.
29536 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29537 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29538 process_vm_writev only for __USE_GNU.
29539 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29540
29541 * conform/Makefile: For now ignore errors from run-conformtest.
29542 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29543 POSIX to avoid namespace pollution. Don't prepend headers.
29544 * conform/data/aio.h-data: Fixes for POSIX testing.
29545 * conform/data/fcntl.h-data: Likewise.
29546 * conform/data/glob.h-data: Likewise.
29547 * conform/data/grp.h-data: Likewise.
29548 * conform/data/pthread.h-data: Likewise.
29549 * conform/data/pwd.h-data: Likewise.
29550 * conform/data/signal.h-data: Likewise.
29551 * conform/data/spawn.h-data: Likewise.
29552 * conform/data/stdio.h-data: Likewise.
29553 * conform/data/stdlib.h-data: Likewise.
29554 * conform/data/stropts.h-data: Likewise.
29555 * conform/data/sys/mman.h-data: Likewise.
29556 * conform/data/sys/stat.h-data: Likewise.
29557 * conform/data/sys/types.h-data: Likewise.
29558 * conform/data/sys/wait.h-data: Likewise.
29559 * conform/data/time.h-data: Likewise.
29560 * conform/data/unistd.h-data: Likewise.
29561 * conform/data/utime.h-data: Likewise.
29562
29563 * io/sys/stat.h: fchmod was always in POSIX.
29564 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29565 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29566 * rt/aio.h: Define __need_timespec before including <time.h>.
29567 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29568 struct. Add forward declaration of pthread_attr_t and use it in
29569 sigevent.
29570 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29571 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29572 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29573 always remove CLK_TCK definition.
29574
c20105c3
AS
295752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29576
29577 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29578
7a270350
UD
295792012-02-25 Ulrich Drepper <drepper@gmail.com>
29580
31341567
UD
29581 * conform/run-conformtest.sh: New file.
29582 * conform/Makefile: Run run-conformtest for tests.
29583 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29584 support.
29585
29586 * conform/data/uchar.h-data: New file.
29587 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29588 * conform/data/arpa/inet.h-data: Likewise.
29589 * conform/data/assert.h-data: Likewise.
29590 * conform/data/complex.h-data: Likewise.
29591 * conform/data/cpio.h-data: Likewise.
29592 * conform/data/ctype.h-data: Likewise.
29593 * conform/data/dirent.h-data: Likewise.
29594 * conform/data/dlfcn.h-data: Likewise.
29595 * conform/data/errno.h-data: Likewise.
29596 * conform/data/fcntl.h-data: Likewise.
29597 * conform/data/float.h-data: Likewise.
29598 * conform/data/fmtmsg.h-data: Likewise.
29599 * conform/data/fnmatch.h-data: Likewise.
29600 * conform/data/ftw.h-data: Likewise.
29601 * conform/data/glob.h-data: Likewise.
29602 * conform/data/grp.h-data: Likewise.
29603 * conform/data/iconv.h-data: Likewise.
29604 * conform/data/inttypes.h-data: Likewise.
29605 * conform/data/langinfo.h-data: Likewise.
29606 * conform/data/libgen.h-data: Likewise.
29607 * conform/data/limits.h-data: Likewise.
29608 * conform/data/locale.h-data: Likewise.
29609 * conform/data/math.h-data: Likewise.
29610 * conform/data/monetary.h-data: Likewise.
29611 * conform/data/mqueue.h-data: Likewise.
29612 * conform/data/ndbm.h-data: Likewise.
29613 * conform/data/net/if.h-data: Likewise.
29614 * conform/data/netdb.h-data: Likewise.
29615 * conform/data/netinet/in.h-data: Likewise.
29616 * conform/data/nl_types.h-data: Likewise.
29617 * conform/data/poll.h-data: Likewise.
29618 * conform/data/pthread.h-data: Likewise.
29619 * conform/data/pwd.h-data: Likewise.
29620 * conform/data/regex.h-data: Likewise.
29621 * conform/data/sched.h-data: Likewise.
29622 * conform/data/search.h-data: Likewise.
29623 * conform/data/semaphore.h-data: Likewise.
29624 * conform/data/setjmp.h-data: Likewise.
29625 * conform/data/signal.h-data: Likewise.
29626 * conform/data/spawn.h-data: Likewise.
29627 * conform/data/stdarg.h-data: Likewise.
29628 * conform/data/stdio.h-data: Likewise.
29629 * conform/data/stdlib.h-data: Likewise.
29630 * conform/data/string.h-data: Likewise.
29631 * conform/data/strings.h-data: Likewise.
29632 * conform/data/stropts.h-data: Likewise.
29633 * conform/data/sys/ipc.h-data: Likewise.
29634 * conform/data/sys/mman.h-data: Likewise.
29635 * conform/data/sys/msg.h-data: Likewise.
29636 * conform/data/sys/resource.h-data: Likewise.
29637 * conform/data/sys/select.h-data: Likewise.
29638 * conform/data/sys/sem.h-data: Likewise.
29639 * conform/data/sys/shm.h-data: Likewise.
29640 * conform/data/sys/socket.h-data: Likewise.
29641 * conform/data/sys/stat.h-data: Likewise.
29642 * conform/data/sys/statvfs.h-data: Likewise.
29643 * conform/data/sys/time.h-data: Likewise.
29644 * conform/data/sys/timeb.h-data: Likewise.
29645 * conform/data/sys/times.h-data: Likewise.
29646 * conform/data/sys/types.h-data: Likewise.
29647 * conform/data/sys/uio.h-data: Likewise.
29648 * conform/data/sys/un.h-data: Likewise.
29649 * conform/data/sys/utsname.h-data: Likewise.
29650 * conform/data/sys/wait.h-data: Likewise.
29651 * conform/data/syslog.h-data: Likewise.
29652 * conform/data/tar.h-data: Likewise.
29653 * conform/data/termios.h-data: Likewise.
29654 * conform/data/utime.h-data: Likewise.
29655 * conform/data/utmpx.h-data: Likewise.
29656 * conform/data/varargs.h-data: Likewise.
29657 * conform/data/wchar.h-data: Likewise.
29658 * conform/data/wctype.h-data: Likewise.
29659 * conform/data/wordexp.h-data: Likewise.
29660
29661 * include/stropts.h: New file.
29662 * include/uchar.h: New file.
29663 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29664 * include/assert.h: Likewise.
29665 * include/ctype.h: Likewise.
29666 * include/dirent.h: Likewise.
29667 * include/dlfcn.h: Likewise.
29668 * include/fcntl.h: Likewise.
29669 * include/fnmatch.h: Likewise.
29670 * include/glob.h: Likewise.
29671 * include/grp.h: Likewise.
29672 * include/libio.h: Likewise.
29673 * include/locale.h: Likewise.
29674 * include/math.h: Likewise.
29675 * include/net/if.h: Likewise.
29676 * include/netdb.h: Likewise.
29677 * include/netinet/in.h: Likewise.
29678 * include/pthread.h: Likewise.
29679 * include/pwd.h: Likewise.
29680 * include/regex.h: Likewise.
29681 * include/sched.h: Likewise.
29682 * include/search.h: Likewise.
29683 * include/setjmp.h: Likewise.
29684 * include/signal.h: Likewise.
29685 * include/stdio.h: Likewise.
29686 * include/stdlib.h: Likewise.
29687 * include/string.h: Likewise.
29688 * include/sys/cdefs.h: Likewise.
29689 * include/sys/mman.h: Likewise.
29690 * include/sys/msg.h: Likewise.
29691 * include/sys/resource.h: Likewise.
29692 * include/sys/select.h: Likewise.
29693 * include/sys/socket.h: Likewise.
29694 * include/sys/stat.h: Likewise.
29695 * include/sys/statvfs.h: Likewise.
29696 * include/sys/time.h: Likewise.
29697 * include/sys/times.h: Likewise.
29698 * include/sys/uio.h: Likewise.
29699 * include/sys/utsname.h: Likewise.
29700 * include/sys/wait.h: Likewise.
29701 * include/termios.h: Likewise.
29702 * include/time.h: Likewise.
29703 * include/ulimit.h: Likewise.
29704 * include/unistd.h: Likewise.
29705 * include/utime.h: Likewise.
29706 * include/wchar.h: Likewise.
29707 * include/wctype.h: Likewise.
29708 * include/wordexp.h: Likewise.
29709
29710 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29711
7a270350
UD
29712 * time/time.h: TIME_UTC must be a macro.
29713 Make timespec_get available for ISO C11 only as well.
29714
7724defc
UD
297152012-02-24 Ulrich Drepper <drepper@gmail.com>
29716
29717 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29718 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29719
6b1d1d46
JM
297202012-02-24 Joseph Myers <joseph@codesourcery.com>
29721
29722 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29723
0f8bbd69
JM
297242012-02-24 Joseph Myers <joseph@codesourcery.com>
29725
29726 * manual/texinfo.tex: Update to version 2012-01-19.16.
29727
66ab80bc
JM
297282012-02-24 Joseph Myers <joseph@codesourcery.com>
29729
29730 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29731
74981cc5
RM
297322012-02-24 Roland McGrath <roland@hack.frob.com>
29733
ee968201
RM
29734 [BZ #13738]
29735 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29736 * manual/fdl-1.3.texi: New file.
29737 * manual/fdl-1.1.texi: File removed.
29738
74981cc5
RM
29739 [BZ #13738]
29740 * manual/libc.texinfo (FDL_VERSION): New @set.
29741 Use it for mention of FDL in cover text.
29742 (Documentation License): Use it in @include file name.
29743
7bb764bc
JM
297442012-02-22 Joseph Myers <joseph@codesourcery.com>
29745 Roland McGrath <roland@hack.frob.com>
29746
29747 [BZ #5461]
29748 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29749 not LONG_LONG_MAX and LONG_LONG_MIN.
29750 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29751 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29752 name.
29753 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29754
6cbeae47
JM
297552012-02-22 Joseph Myers <joseph@codesourcery.com>
29756
29757 [BZ #2547]
29758 [BZ #11365]
29759 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29760 manipulate bits before adding and subtracting TWO23[sx].
29761 * math/libm-test.inc (nearbyint_test): Add more tests.
29762
fe45ce09
JM
297632012-02-22 Joseph Myers <joseph@codesourcery.com>
29764
29765 [BZ #2548]
29766 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29767 bits before adding and subtracting TWO23[sx].
29768 * math/libm-test.inc (rint_test): Add more tests.
29769 (rint_test_tonearest): Likewise.
29770 (rint_test_towardzero): Likewise.
29771 (rint_test_downward): Likewise.
29772 (rint_test_upward: Likewise.
29773
ff3b3d82
JM
297742012-02-22 Joseph Myers <joseph@codesourcery.com>
29775
29776 [BZ #10110]
29777 * include/stdc-predef.h: New file. Extracted from features.h.
29778 * include/features.h: Include stdc-predef.h.
29779 * Makefile (headers): Add stdc-predef.h.
29780 * CONFORMANCE (Compiler limitations): Update.
29781
ef0aab35
JM
297822012-02-22 Joseph Myers <joseph@codesourcery.com>
29783
29784 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29785
58639409
DM
297862012-02-21 David S. Miller <davem@davemloft.net>
29787
29788 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29789 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29790
c0e70b25
DM
297912012-02-20 David S. Miller <davem@davemloft.net>
29792
29793 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29794 using a normal save/restore sequence, rather than allocating a
29795 dummy stack frame just to store a frame pointer and restore.
29796 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29797
fb06851d
JM
297982012-02-21 Joseph Myers <joseph@codesourcery.com>
29799
29800 * manual/install.texi: Fix stray word in line-wrapped comment.
29801
7a8b71c3
DM
298022012-02-20 David S. Miller <davem@davemloft.net>
29803
d510c123
DM
29804 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29805 both binutils and gcc support GOTDATA.
29806
0722d7c2
DM
29807 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29808 "rd %pc" in the PIC register setup sequences.
29809
3d2b3019
DM
29810 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29811 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29812 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29813 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29814 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29816 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29817 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29819 (SYSCALL_ERROR_HANDLER): Likewise.
29820 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29821 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29822 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29823 (SYSCALL_ERROR_HANDLER): Likewise.
29824
c80098a9
DM
29825 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29826 (HAVE_GCC_GOTDATA): New.
29827 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29828 relocation support in both binutils and gcc.
29829 * sysdeps/sparc/elf/configure: Regenerate.
29830
3a2545a0
DM
29831 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29832 * sysdeps/sparc/sparc32/elf/configure: Delete.
29833 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29834 * sysdeps/sparc/sparc64/elf/configure: Delete.
29835 * sysdeps/sparc/elf/configure.in: New file.
29836 * sysdeps/sparc/elf/configure: Generate.
29837
7a8b71c3
DM
29838 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29839 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29840 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29841 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29842 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29843
f1e86fca
JM
298442012-02-21 Joseph Myers <joseph@codesourcery.com>
29845
29846 * manual/install.texi: Do not mention specific glibc version
29847 numbers.
29848 * manual/libc.texinfo (VERSION, UPDATED): Update.
29849 (@copying): Use @copyright{} and range of years.
29850
0e7dfaef
JM
298512012-02-21 Joseph Myers <joseph@codesourcery.com>
29852
29853 [BZ #13695]
29854 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29855 [crti.S not in sysdirs] (generated): Do not append.
29856 [crti.S not in sysdirs] (omit-deps): Likewise.
29857 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29858 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29859 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29860 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29861 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29862 Likewise.
29863 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29864 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29865 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29866 * csu/defs.awk: Remove file.
29867 * sysdeps/generic/initfini.c: Likewise.
29868 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29869 variable.
29870 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29871 Likewise.
29872
599af3ca
JM
298732012-02-20 Joseph Myers <joseph@codesourcery.com>
29874
29875 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29876 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29877 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29878 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29879 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29880 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29881 <bits/epoll.h>.
29882 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29883 (__EPOLL_PACKED): Define to empty if not defined by
29884 <bits/epoll.h>.
29885 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29886 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29887 bits/epoll.h.
29888
0e499750
JM
298892012-02-20 Joseph Myers <joseph@codesourcery.com>
29890
29891 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29892 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29893 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29894 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29895 <bits/timerfd.h>.
29896 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29898 bits/timerfd.h.
29899
5ad91f6e
JM
299002012-02-20 Joseph Myers <joseph@codesourcery.com>
29901
29902 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29903 in C locale.
29904 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29905 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29906 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29908
06b99b02
AJ
299092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29910
29911 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29912 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29913
7638c0fd
AS
299142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29915
29916 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29917 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29918 defined.
29919 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29920 Likewise.
29921 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29922 entry for 2.16.
29923
92221550
AJ
299242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29925
29926 * math/w_acos.c: Use non-signaling floating-point comparisons.
29927 * math/w_acosf.c: Likewise.
29928 * math/w_acosh.c: Likewise.
29929 * math/w_acoshf.c: Likewise.
29930 * math/w_acoshl.c: Likewise.
29931 * math/w_acosl.c: Likewise.
29932 * math/w_asin.c: Likewise.
29933 * math/w_asinf.c: Likewise.
29934 * math/w_asinl.c: Likewise.
29935 * math/w_atanh.c: Likewise.
29936 * math/w_atanhf.c: Likewise.
29937 * math/w_atanhl.c: Likewise.
29938 * math/w_exp2.c: Likewise.
29939 * math/w_exp2f.c: Likewise.
29940 * math/w_exp2l.c: Likewise.
29941 * math/w_j0.c: Likewise.
29942 * math/w_j0f.c: Likewise.
29943 * math/w_j0l.c: Likewise.
29944 * math/w_j1.c: Likewise.
29945 * math/w_j1f.c: Likewise.
29946 * math/w_j1l.c: Likewise.
29947 * math/w_jn.c: Likewise.
29948 * math/w_jnf.c: Likewise.
29949 * math/w_log.c: Likewise.
29950 * math/w_log10.c: Likewise.
29951 * math/w_log10f.c: Likewise.
29952 * math/w_log10l.c: Likewise.
29953 * math/w_log2.c: Likewise.
29954 * math/w_log2f.c: Likewise.
29955 * math/w_log2l.c: Likewise.
29956 * math/w_logf.c: Likewise.
29957 * math/w_logl.c: Likewise.
29958 * math/w_sqrt.c: Likewise.
29959 * math/w_sqrtf.c: Likewise.
29960 * math/w_sqrtl.c: Likewise.
29961 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29962 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29963 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29964 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29965 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29966
ebaf36eb
JM
299672012-02-19 Joseph Myers <joseph@codesourcery.com>
29968
29969 [BZ #9739]
29970 * manual/string.texi (strnlen): Use correct parameter name in
29971 equivalent expression.
29972
71c254a6
JM
299732012-02-19 Joseph Myers <joseph@codesourcery.com>
29974
29975 [BZ #11174]
29976 * manual/users.texi (seteuid): Consistently use neweuid for
29977 argument name.
29978
16d2c631
JM
299792012-02-19 Joseph Myers <joseph@codesourcery.com>
29980
29981 [BZ #13704]
29982 * manual/nss.texi (Services in the NSS configuration): Correct
29983 list of services in example configuration file.
29984
cd837b09
NB
299852012-02-19 Nick Bowler <nbowler@draconx.ca>
29986
29987 [BZ #11322]
29988 * manual/arith.texi: Remove statements about negative zero
29989 behaving identically to zero.
29990
02c4bbad
JM
299912012-02-18 Joseph Myers <joseph@codesourcery.com>
29992
29993 [BZ #5993]
29994 * manual/install.texi: Do not document upgrading from libc5.
29995
366842e7
JM
299962012-02-18 Joseph Myers <joseph@codesourcery.com>
29997
29998 [BZ #4596]
29999 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30000
dd54084d
DM
300012012-02-18 David S. Miller <davem@davemloft.net>
30002
30003 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30004 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30005 %o7 across the call.
30006 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30007 instead.
30008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30009 SETUP_PIC_REG_LEAF.
30010 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30011 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30012 * sysdeps/sparc/crtn.S: Likewise.
30013
2bcc53a3
UD
300142012-02-17 Ulrich Drepper <drepper@gmail.com>
30015
30016 * aout/Makefile: Remove.
30017
09c093b5
RK
300182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30019
30020 [BZ #13058]
30021 * manual/examples/argp-ex1.c (main): Format definition in GNU
30022 style.
30023 * manual/examples/argp-ex2.c (main): Likewise.
30024 * manual/examples/argp-ex3.c (main): Likewise.
30025 * manual/examples/argp-ex4.c (main): Likewise.
30026 * manual/examples/longopt.c (main): Use new-style prototype
30027 definition.
30028 * manual/examples/strncat.c (main): Specify return type and use
30029 (void) for arguments.
30030 * manual/examples/subopt.c (main): Use char **argv argument.
30031
2ee633a2
JM
300322012-02-17 Joseph Myers <joseph@codesourcery.com>
30033
30034 [BZ #5077]
30035 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30036 rounding modes.
30037
0520adde
FB
300382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30039
30040 [BZ #6907]
30041 * manual/string.texi (strchr): Change when strchrnul is
30042 recommended.
30043
3f4081cd
DGM
300442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30045
30046 [BZ #174]
30047 * manual/locale.texi (setlocale): Document LOCPATH.
30048
d1b10e78
JM
300492012-02-17 Joseph Myers <joseph@codesourcery.com>
30050
30051 [BZ #10210]
30052 * manual/process.texi (execle): Move @dots{} before last argument.
30053
79c6869c
PB
300542012-02-17 Paul Bolle <pebolle@tiscali.nl>
30055
30056 [BZ #12047]
30057 * manual/charset.texi (Generic Charset Conversion): Fix typo
30058 (LC_TYPE -> LC_CTYPE).
30059
cc6e48bc
NB
300602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30061
30062 [BZ #5805]
30063 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30064 (scalbnf): Likewise.
30065 (scalbnl): Likewise.
30066 (scalbln): Likewise.
30067 (scalblnf): Likewise.
30068 (scalblnl): Likewise.
30069 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30070 (vwarnx): Likewise.
30071 (verr): Likewise.
30072 (verrx): Likewise.
30073 * manual/filesys.texi (telldir): Use braces around return type.
30074 * manual/llio.texi (mmap): Add space after comma.
30075 (mmap64): Likewise.
30076 * manual/math.texi (jn): Use @var{} on parameter names.
30077 (jnf): Likewise.
30078 (jnl): Likewise.
30079 (yn): Likewise.
30080 (ynf): Likewise.
30081 (ynl): Likewise.
30082 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30083 line.
30084 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30085 "...".
30086 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30087 (sched_get_priority_max): Likewise.
30088 * manual/signal.texi (sigvec): Add space after comma.
30089 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30090 names.
30091 (if_indextoname): Likewise.
30092 (if_freenameindex): Likewise.
30093 (sendto): Use ',' instead of '.' in prototype.
30094 * manual/startup.texi (syscall): Use @dots{} instead of literal
30095 "...".
30096 * manual/stdio.texi (__fpending): Separate initial words of
30097 paragraph from @deftypefun line.
30098 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30099 "...".
30100 (vsyslog): Use @var{} on parameter names.
30101 * manual/terminal.texi (stty): Use @var{} on parameter names.
30102 * manual/users.texi (getutmp): Use @var{} on parameter names.
30103 (getutmpx): Likewise.
30104
5b23062f
JM
301052012-02-17 Joseph Myers <joseph@codesourcery.com>
30106
30107 [BZ #6884]
30108 * manual/stdio.texi (fopen): Fix typos in description of
30109 ",ccs=STRING".
30110
8dee4833
AJ
301112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30112
30113 [BZ #4026]
30114 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30115 get clock_id definition.
30116
9078ce93
TS
301172012-02-17 Thomas Schwinge <thomas@schwinge.name>
30118
30119 [BZ #4822]
30120 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30121 (madvise): Cast every argument to void on its own.
30122
3835c55f
JM
301232012-02-17 Joseph Myers <joseph@codesourcery.com>
30124
30125 [BZ #9902]
30126 * manual/startup.texi (Exit Status): Fix typo.
30127
35c47e37
JM
301282012-02-17 Joseph Myers <joseph@codesourcery.com>
30129
30130 [BZ #10140]
30131 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30132 * manual/examples/argp-ex2.c: Likewise.
30133 * manual/examples/argp-ex3.c: Likewise.
30134
e3b69ca7
RH
301352012-02-16 Richard Henderson <rth@redhat.com>
30136
30137 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30138 * sysdeps/s390/s390-32/initfini.c: Remove.
30139 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30140 * sysdeps/s390/s390-64/initfini.c: Remove.
30141
df83af67
KK
301422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30143
30144 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30145 compiler output for sysdeps/generic/initfini.c.
30146 * sysdeps/sh/elf/initfini.c: Remove file.
30147
f63f3380
DM
301482012-02-16 David S. Miller <davem@davemloft.net>
30149
fb59b3a4
DM
30150 [BZ #11494]
30151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30152
f63f3380
DM
30153 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30154 * sysdeps/sparc/crti.S: New file.
30155 * sysdeps/sparc/crtn.S: New file.
30156 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30157 * sysdeps/sparc/sparc64/Makefile: Likewise.
30158
df6a4a4a
MF
301592012-02-15 Mike Frysinger <vapier@gentoo.org>
30160
6dd8f3dc 30161 [BZ #3335]
df6a4a4a
MF
30162 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30163
1cac7236
RM
301642012-02-15 Roland McGrath <roland@hack.frob.com>
30165
d2c736f8
RM
30166 [BZ #4822]
30167 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30168
1cac7236
RM
30169 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30170 (write, read, close): Likewise.
30171 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30172
8e475601
JM
301732012-02-15 Joseph Myers <joseph@codesourcery.com>
30174
30175 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30176 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30177 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30178 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30179 <bits/signalfd.h>.
30180 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30182 bits/signalfd.h.
30183
ed656b40
MP
301842012-02-14 Marek Polacek <polacek@redhat.com>
30185
30186 * sysdeps/x86_64/crti.S: New file.
30187 * sysdeps/x86_64/crtn.S: New file.
30188 * sysdeps/x86_64/elf/initfini.c: Remove file.
30189
2a979d3a
JM
301902012-02-13 Joseph Myers <joseph@codesourcery.com>
30191
30192 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30193 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30194 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30195 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30196 <bits/inotify.h>.
30197 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30198 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30199 bits/inotify.h.
30200
2a418ac3
JM
302012012-02-13 Joseph Myers <joseph@codesourcery.com>
30202
30203 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30204 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30205 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30206 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30207 <bits/eventfd.h>.
30208 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30210 bits/eventfd.h.
30211
fb779be7
TS
302122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30213
e19e83c5
RM
30214 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30215 __feraiseexcept instead of feraiseexcept.
7c35ffed 30216
fb779be7
TS
30217 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30218 nanosleep invocations.
30219 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30220 strings, and add error checking for a nanosleep invocations.
30221
59ba27a6
PE
302222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30223
30224 Replace FSF snail mail address with URLs, as per GNU coding standards.
30225 Most of the snail mail addresses were wrong anyway, and omitting
30226 them makes the source code easier to maintain. Almost all of the
30227 changes are to license notices and to locale LC_IDENTIFICATION
30228 addresses, except for this one:
30229 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30230 not its snail mail address.
30231
57b957eb
RH
302322012-02-09 Richard Henderson <rth@twiddle.net>
30233
af850b1c
RH
30234 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30235 of kernel-features.h.
30236
57b957eb
RH
30237 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30238
6b73181a
MP
302392012-02-08 Marek Polacek <polacek@redhat.com>
30240
30241 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30242 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30243 * sysdeps/gnu/_G_config.h: Likewise.
30244 * sysdeps/generic/_G_config.h: Likewise.
30245
26ecc33a
AS
302462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30247
6c6dbc63
AS
30248 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30249 tests.
30250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30251
e216c012
AS
30252 * sysdeps/powerpc/powerpc32/crti.S: New file.
30253 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30254 * sysdeps/powerpc/powerpc64/crti.S: New file.
30255 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30256
26ecc33a
AS
30257 * Makeconfig (have-initfini): Don't set.
30258 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30259 * configure.in (nopic_initfini): Don't substitute.
30260 * config.h.in (HAVE_INITFINI): Don't #undef.
30261 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30262 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30263
3add8e13
JM
302642012-02-08 Joseph Myers <joseph@codesourcery.com>
30265
30266 Support crti.S and crtn.S provided directly by architectures.
30267 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30268 [crti.S in sysdirs] (omit-deps): Likewise.
30269 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30270 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30271 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30272 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30273 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30274 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30275 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30276 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30277 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30278 compiler output for sysdeps/generic/initfini.c.
30279 * sysdeps/i386/elf/Makefile: Remove file.
30280 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30281
a22f12b4
MP
302822012-02-07 Marek Polacek <polacek@redhat.com>
30283
30284 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30285 * sysdeps/gnu/_G_config.h: Likewise.
30286 * sysdeps/mach/hurd/_G_config.h: Likewise.
30287
148cf100
MP
302882012-02-07 Marek Polacek <polacek@redhat.com>
30289
30290 * math/Makefile (tests): Add tst-CMPLX2.
30291 * math/tst-CMPLX2.c: New file.
30292
cfdc0dd7
AS
302932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30294
84ba42c4
AS
30295 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30296
cfdc0dd7
AS
30297 * math/libm-test.inc (jn_test): Add missing L suffix.
30298
622c86f4
MP
302992012-02-06 Marek Polacek <polacek@redhat.com>
30300
30301 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30302 * sysdeps/i386/fpu/e_powf.S: Likewise.
30303 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30304 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30305 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30306 * sysdeps/i386/fpu/e_pow.S: Likewise.
30307 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30308 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30309 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30310 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30311 * sysdeps/i386/fpu/e_log2.S: Likewise.
30312 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30313 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30314 * sysdeps/i386/fpu/e_powl.S: Likewise.
30315 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30316 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30317 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30318 * sysdeps/i386/fpu/e_logl.S: Likewise.
30319 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30320 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30321 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30322 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30323 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30324 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30325 * sysdeps/i386/fpu/e_log.S: Likewise.
30326 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30327 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30328 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30329 * sysdeps/i386/fpu/e_logf.S: Likewise.
30330 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30331 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30332 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30333 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30334 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30335 * sysdeps/i386/fpu/e_log10.S: Likewise.
30336 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30337 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30338 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30339 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30340 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30341 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30342 * sysdeps/i386/asm-syntax.h: Likewise.
30343 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30344 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30345 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30346 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30347 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30348 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30349 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30350 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30351 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30352 * sysdeps/powerpc/sysdep.h: Likewise.
30353 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30354 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30355
d4a54ac6
JM
303562012-02-06 Joseph Myers <joseph@codesourcery.com>
30357
30358 [BZ #411]
30359 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30360
314054ea
JM
303612012-02-06 Joseph Myers <joseph@codesourcery.com>
30362
30363 * sysdeps/i386/sysdep.h: Include <features.h>.
30364 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30365 version.
30366
d8e0ca50
JM
303672012-02-05 Joseph Myers <joseph@codesourcery.com>
30368
30369 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30370 Define.
30371 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30372 LOAD_PIC_REG_STR.
30373
b1da7dd9
JM
303742012-02-03 Joseph Myers <joseph@codesourcery.com>
30375
30376 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30377 (SETUP_PIC_REG): Use GET_PC_THUNK.
30378 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30379 macro.
30380
9a1d9254
JM
303812012-02-03 Joseph Myers <joseph@codesourcery.com>
30382
30383 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30384 for non-PIC compilation.
30385 (SETUP_PIC_REG): Add .p2align directive.
30386 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30387 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30388 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30389 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30390 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30391 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30392 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30393 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30394 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30395 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30396 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30397 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30398 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30399 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30400 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30401 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30402 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30403 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30404 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30405 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30406 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30407 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30408 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30409 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30410 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30411 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30412 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30413 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30414 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30415 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30416 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30417 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30418 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30419 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30420 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30421 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30422 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30423 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30424 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30425 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30426 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30427
65dc3b75
JM
304282012-02-03 Joseph Myers <joseph@codesourcery.com>
30429
30430 * math/tst-CMPLX.c: Include <stdio.h>.
30431
d55bf177
JM
304322012-01-31 Joseph Myers <joseph@codesourcery.com>
30433
30434 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30435 float.
30436 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30437 * sysdeps/sparc/bits/mathdef.h: Likewise.
30438
69db4f8f
MP
304392012-01-31 Marek Polacek <polacek@redhat.com>
30440
30441 * libio/libio.h: Don't define _PARAMS.
30442 * locale/programs/config.h: Don't define PARAMS.
30443 * stdlib/strtol_l.c: Likewise.
30444 (__strtol_l): Remove PARAMS from the prototype.
30445
41b81892
UD
304462012-01-31 Ulrich Drepper <drepper@gmail.com>
30447
3b49edc0
UD
30448 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30449 names. Just use the correct names. Remove unnecessary wrapper
30450 functions.
30451 * malloc/arena.c: Likewise.
30452 * malloc/hooks.c: Likewise.
30453
41b81892
UD
30454 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30455 ARENA_TEST says not to. Simplify test for creation of a new arena.
30456 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30457
27a25b6e
UD
304582012-01-30 Ulrich Drepper <drepper@gmail.com>
30459
30460 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30461 into tail calls.
30462 (update_get_addr): New function.
30463 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30464 GET_ADDR_MODULE parameter.
30465
c8a89e7d
JM
304662012-01-30 Joseph Myers <joseph@codesourcery.com>
30467
30468 * crypt/cert.c: Remove __STDC__ conditionals.
30469 * crypt/crypt-entry.c: Likewise.
30470 * crypt/crypt_util.c: Likewise.
30471 * libio/filedoalloc.c: Likewise.
30472 * libio/fileops.c: Likewise.
30473 * libio/genops.c: Likewise.
30474 * libio/iofclose.c: Likewise.
30475 * libio/iofdopen.c: Likewise.
30476 * libio/iofopen.c: Likewise.
30477 * libio/iofopen64.c: Likewise.
30478 * libio/iogetdelim.c: Likewise.
30479 * libio/iopopen.c: Likewise.
30480 * libio/obprintf.c: Likewise.
30481 * libio/oldfileops.c: Likewise.
30482 * libio/oldiofclose.c: Likewise.
30483 * libio/oldiofdopen.c: Likewise.
30484 * libio/oldiofopen.c: Likewise.
30485 * libio/oldiopopen.c: Likewise.
30486 * libio/wfiledoalloc.c: Likewise.
30487 * libio/wgenops.c: Likewise.
30488 * locale/programs/xmalloc.c: Likewise.
30489 * misc/syslog.c: Likewise.
30490 * stdio-common/xbug.c: Likewise.
30491 * string/memchr.c: Likewise.
30492 * string/memcmp.c: Likewise.
30493 * string/memrchr.c: Likewise.
30494 * string/rawmemchr.c: Likewise.
30495 * sysdeps/posix/getcwd.c: Likewise.
30496 * time/strftime_l.c: Likewise.
30497
3b100462
JM
304982012-01-30 Joseph Myers <joseph@codesourcery.com>
30499
30500 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30501 * config.make.in (config-cflags-sse2avx): Define.
30502 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30503 Fix typo.
30504
607998af
CM
305052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30506
30507 * scripts/config.guess: Update from upstream config git repository.
30508 * scripts/config.sub: Likewise.
30509
3601428f
CM
305102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30511
3ac8b282
CM
30512 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30513 (EM_NUM): Update.
30514 (R_TILEPRO_*, R_TILEGX_*): New macros.
30515
e034841e
CM
30516 * scripts/firstversions.awk: Fix bug in version range handling.
30517
540d7568
CM
30518 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30519
3601428f
CM
30520 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30521
463de862
CM
30522 * include/sys/epoll.h: New file.
30523 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30524 libc_hidden_def.
30525
73139a76
UD
305262012-01-28 Ulrich Drepper <drepper@gmail.com>
30527
96bc5b45
UD
30528 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30529 Avoid unnecessary __WORDSIZE == 64 test.
30530 (fmaxf): Use VEX format if possible.
30531 (fmax): Likewise.
30532 (fminf): Likewise.
30533 (fmin): Likewise.
30534
56f6f6a2
UD
30535 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30536 * math/math_private.h: Remove libc_fegetround* and
30537 libc_fesetround*.
30538 * sysdeps/i386/configure.in: Check for -msse2avx.
30539 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30540 also if SSE2AVX is defined.
30541 Remove libc_fegetround* and libc_fesetround*.
30542 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30543 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30544 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30545 of HAS_YMM_USABLE.
30546 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30547 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30548 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30549 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30550 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30551
73139a76
UD
30552 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30553
d73f93a4
AZ
305542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30555
30556 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30557 size is not set.
30558 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30559
6ee65ed6
UD
305602012-01-27 Ulrich Drepper <drepper@gmail.com>
30561
30562 [BZ #13618]
30563 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30564 relocation.
30565 * Makeconfig (libm): Define.
30566 * elf/Makefile: Add rules to build and run tst-relsort1.
30567 * elf/tst-relsort1.c: New file.
30568 * elf/tst-relsort1mod1.c: New file.
30569 * elf/tst-relsort1mod2.c: New file.
30570
8db21882
JM
305712012-01-27 Joseph Myers <joseph@codesourcery.com>
30572
30573 * math/s_ldexp.c: Remove __STDC__ conditionals.
30574 * math/s_ldexpf.c: Likewise.
30575 * math/s_ldexpl.c: Likewise.
30576 * math/s_nextafter.c: Likewise.
30577 * math/s_nexttowardf.c: Likewise.
30578 * math/s_significand.c: Likewise.
30579 * math/s_significandf.c: Likewise.
30580 * math/s_significandl.c: Likewise.
30581 * math/w_jnl.c: Likewise.
30582 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30583 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30584 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30585 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30586 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30587 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30588 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30589 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30590 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30591 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30592 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30593 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30594 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30595 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30596 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30597 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30598 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30599 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30600 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30601 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30602 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30603 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30604 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30605 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30606 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30607 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30608 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30609 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30610 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30611 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30612 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30613 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30614 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30615 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30616 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30617 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30618 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30619 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30620 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30621 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30622 * sysdeps/ieee754/k_standard.c: Likewise.
30623 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30624 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30625 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30626 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30627 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30628 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30629 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30630 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30631 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30632 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30633 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30634 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30635 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30636 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30637 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30638 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30639 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30641 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30642 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30643 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30644 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30645 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30646 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30647 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30648 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30649 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30650 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30654 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30655 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30656 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30658 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30659 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30660 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30661 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30662 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30663 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30664 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30665 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30666 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30668 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30669 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30671 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30672 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30676 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30681 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30682 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30683 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30684 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30685 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30686 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30687 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30688 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30689 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30692 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30696 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30697 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30698 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30701 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30702 * sysdeps/ieee754/s_matherr.c: Likewise.
30703 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30704 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30705 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30706 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30707
965a54a4
JM
307082012-01-26 Joseph Myers <joseph@codesourcery.com>
30709
30710 * crypt/md5.h: Remove __STDC__ conditionals.
30711 * libio/libioP.h: Likewise.
30712 * locale/programs/config.h: Likewise.
30713 * sysdeps/generic/sysdep.h: Likewise.
30714 * sysdeps/i386/asm-syntax.h: Likewise.
30715 * sysdeps/s390/asm-syntax.h: Likewise.
30716 * sysdeps/unix/sysdep.h: Likewise.
30717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30719
7071ad79
JM
307202012-01-26 Joseph Myers <joseph@codesourcery.com>
30721
30722 * libio/libio.h: Remove __STDC__ conditionals.
30723 * malloc/obstack.h: Likewise.
30724 * math/complex.h: Likewise.
30725 * math/math.h: Likewise.
30726 * sysdeps/generic/_G_config.h: Likewise.
30727 * sysdeps/gnu/_G_config.h: Likewise.
30728 * sysdeps/mach/hurd/_G_config.h: Likewise.
30729 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30730 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30731 * sysdeps/sparc/bits/mathdef.h: Likewise.
30732
afc5ed09
UD
307332012-01-26 Ulrich Drepper <drepper@gmail.com>
30734
30735 [BZ #13583]
30736 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30737 Clean up HAS_* macros.
afc5ed09 30738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30739 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30740 possible.
30741 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30742 HAS_AVX.
30743 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30744 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30745 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30746 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30747 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30748
bdb6de1d
JM
307492012-01-25 Joseph Myers <joseph@codesourcery.com>
30750
30751 * elf/tst-unique3.cc (gets): Remove declaration.
30752 * elf/tst-unique3lib.cc (gets): Likewise.
30753 * elf/tst-unique3lib2.cc (gets): Likewise.
30754 * elf/tst-unique4.cc (gets): Likewise.
30755
b15549e6
UD
307562012-01-24 Ulrich Drepper <drepper@gmail.com>
30757
30758 * include/stdio.h: Add C++ protection. Add gets declarations and
30759 definitions.
30760 * debug/tst-chk1.c: Don't declare gets here.
30761 * stdio-common/tst-gets.c: Likewise.
30762
a037381f
JM
307632012-01-24 Joseph Myers <joseph@codesourcery.com>
30764
30765 * posix/glob: Remove directory.
30766
f1d4aa75
JM
307672012-01-24 Joseph Myers <joseph@codesourcery.com>
30768
30769 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30770
81c0c964
PT
307712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30772
30773 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30774 of the non-standard EPFNOSUPPORT.
30775
0ea698ae
ST
307762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30777
30778 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30779 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30780 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30781
d220b117
UD
307822012-01-21 Ulrich Drepper <drepper@gmail.com>
30783
30784 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30785
3e1aa84e
UD
307862012-01-20 Ulrich Drepper <drepper@gmail.com>
30787
30788 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30789 transient errors.
30790 * nscd/grpcache.c (cache_addgr): Likewise.
30791 * nscd/hstcache.c (cache_addhst): Likewise.
30792 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30793 * nscd/pwdcache.c (cache_addpw): Likewise.
30794 * nscd/servicescache.c (cache_addserv): Likewise.
30795
400aa020
UD
307962012-01-16 Ulrich Drepper <drepper@gmail.com>
30797
d77e7869
UD
30798 * malloc/malloc.c: Various cleanups.
30799 * malloc/hooks.c: Likewise.
30800
400aa020
UD
30801 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30802 * stdlib/bug-fmtmsg1.c: New file.
30803
30804 * stdlib/fmtmsg.c (init): Add missing unlock.
30805 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30806
e0a309cf
MP
308072012-01-12 Marek Polacek <polacek@redhat.com>
30808
30809 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30810 and _GNU_SOURCE.
30811
929d11c7
WS
308122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30813
30814 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30815 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30816 macro to ensure uniqueness of label name.
30817 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30818 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30819
41d0e869
UD
308202012-01-11 Ulrich Drepper <drepper@gmail.com>
30821
0cc5ed3b
UD
30822 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30823
41d0e869
UD
30824 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30825 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30826 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30828
a47a831a
UD
308292012-01-10 Ulrich Drepper <drepper@gmail.com>
30830
daa891c0
UD
30831 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30832
30833 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30834 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30835 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30836
e58ef0f2
UD
30837 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30838
a47a831a 30839 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30840 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30841 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30843
30844 * math/bits/math-finite.h: Add ldexp support.
30845
a0bfc9c7
MP
308462012-01-10 Marek Polacek <polacek@redhat.com>
30847
30848 * locale/programs/localedef.h (show_archive_content): Add noreturn
30849 attribute.
30850
d6e97a1d
UD
308512012-01-09 Ulrich Drepper <drepper@gmail.com>
30852
30853 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30854
d5835c26
UD
308552012-01-08 Ulrich Drepper <drepper@gmail.com>
30856
e5f484c6
UD
30857 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30858
d5835c26
UD
30859 * io/Makefile (headers): Add bits/poll2.h.
30860
d1f741e9
WS
308612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30862
30863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30864 typo #include statement.
30865
ec09c1c4
UD
308662012-01-08 Ulrich Drepper <drepper@gmail.com>
30867
30868 * include/sys/cdefs.h: Define __attribute_alloc_size.
30869 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30870 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30871 * elf/pldd.c: Likewise.
30872 * iconv/iconv_charmap.c: Likewise.
30873 * iconv/iconvconfig.c: Likewise.
30874 * iconv/strtab.c: Likewise.
30875 * locale/programs/locale.c: Likewise.
30876 * locale/programs/localedef.h: Likewise.
30877 * locale/programs/simple-hash.c: Likewise.
30878 * nscd/nscd.h: Likewise.
30879 * nss/makedb.c: Likewise.
30880 * sysdeps/generic/ldconfig.h: Likewise.
30881 * locale/programs/localedef.c: Remove xmalloc prototype.
30882 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30883
20b38e03
PP
308842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30885
30886 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30887 appropriate.
30888
a0da5fe1
UD
308892012-01-08 Ulrich Drepper <drepper@gmail.com>
30890
1d5a644a 30891 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30892 * math/tst-CMPLX.c: New file.
1d5a644a 30893
8784a6db
UD
30894 * math/complex.h (CMPLXL): Fix typo.
30895
d9a216c0
UD
30896 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30897 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30898 GLIBC_2.16.
30899 * debug/tst-chk1.c: Add poll and ppoll tests.
30900 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30901 * include/sys/poll.h: Add hidden proto for ppoll.
30902 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30903 * sysdeps/mach/hurd/ppoll.c: Likewise.
30904 * io/ppoll.c: Likewise.
30905 * debug/poll_chk.c: New file.
30906 * debug/ppoll_chk.c: New file.
30907 * include/bits/poll2.h: New file.
30908 * io/bits/poll2.h: New file.
30909
ac097f5c
UD
30910 [BZ #1350]
30911 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30912
2119dcfa
UD
30913 * configure.in: static is always set to yes. Remove.
30914 * config.make.in: Don't set build-static.
30915 * Makeconfig: Remove use of build-static.
30916 * dlfcn/Makefile: Likewise.
30917 * elf/Makefile: Likewise.
30918 * math/Makefile: Likewise.
30919 * misc/Makefile: Likewise.
30920 * nptl/Makefile: Likewise.
30921 * sysdeps/mach/hurd/Makefile: Likewise.
30922
121766a9
UD
30923 * configure.in: PWD_P is not used anymore.
30924 * config.make.in: Remove PWD_P entry.
30925
51a1d39c 30926 * configure.in: Remove last remnants of RANLIB.
8720d066 30927 No need to check for signed size_t anymore.
215f4bdc
UD
30928 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30929 and IA-64.
3857022a 30930 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30931 * aclocal.m4: Likewise.
30932
d3ed7225
UD
30933 * wcsmbs/mbrtoc16.c: Implement using towc function.
30934 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30935 * wcsmbs/wcsmbsload.c: Likewise.
30936 * iconv/gconv_simple.c: Likewise.
30937 * iconv/gconv_int.h: Likewise.
30938 * iconv/gconv_builtin.h: Likewise.
30939 * iconv/iconv_prog.c: Remove CHAR16 handling.
30940
30941 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30942
30943 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30944
a0da5fe1
UD
30945 * configure.in: Remove --with-elf and --enable-bounded options.
30946 Dont set base_machine for ia64. More non-ELF conditions removed.
30947 Remove testing and setting of leading underscore information.
30948 * config.make.in (build-bounded): Set to no.
30949 * config.h.in: Remove NO_UNDERSCORES entry.
30950 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30951 them.
30952 * csu/start.c: Remove !NO_UNDERSCORE code.
30953 * locale/localeinfo.h: Likewise.
30954 * sysdeps/generic/machine-gmon.h: Likewise.
30955 * sysdeps/generic/sysdep.h: Likewise.
30956 * sysdeps/i386/sysdep.h: Likewise.
30957 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30958 * sysdeps/mach/sysdep.h: Likewise.
30959 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30961 * sysdeps/sh/sysdep.h: Likewise.
30962 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30963 * sysdeps/unix/i386/sysdep.S: Likewise.
30964 * sysdeps/unix/sparc/start.c: Likewise.
30965 * sysdeps/unix/sparc/sysdep.S: Likewise.
30966 * sysdeps/unix/sparc/sysdep.h: Likewise.
30967 * sysdeps/unix/start.c: Likewise.
30968 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30969 * sysdeps/x86_64/sysdep.h: Likewise.
30970
df78418a
UD
309712012-01-07 Ulrich Drepper <drepper@gmail.com>
30972
a784e502
UD
30973 [BZ #13553]
30974 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30975 for non-gcc.
30976 * argp/argp-fmtstream.h: Use const instead __const.
30977 * argp/argp.h: Likewise.
30978 * assert/assert.h: Likewise.
30979 * bits/fenv.h: Likewise.
30980 * bits/sched.h: Likewise.
30981 * bits/sigset.h: Likewise.
30982 * bits/sigthread.h: Likewise.
30983 * catgets/nl_types.h: Likewise.
30984 * conform/data/pthread.h-data: Likewise.
30985 * crypt/crypt-private.h: Likewise.
30986 * crypt/crypt.h: Likewise.
30987 * crypt/crypt_util.c: Likewise.
30988 * ctype/ctype.h: Likewise.
30989 * debug/execinfo.h: Likewise.
30990 * debug/mbsnrtowcs_chk.c: Likewise.
30991 * debug/mbsrtowcs_chk.c: Likewise.
30992 * debug/wcsnrtombs_chk.c: Likewise.
30993 * debug/wcsrtombs_chk.c: Likewise.
30994 * debug/wcstombs_chk.c: Likewise.
30995 * dirent/dirent.h: Likewise.
30996 * dlfcn/dlfcn.h: Likewise.
30997 * elf/neededtest4.c: Likewise.
30998 * grp/grp.h: Likewise.
30999 * gshadow/gshadow.h: Likewise.
31000 * iconv/gconv.h: Likewise.
31001 * iconv/gconv_int.h: Likewise.
31002 * iconv/gconv_simple.c: Likewise.
31003 * iconv/iconv.h: Likewise.
31004 * iconv/loop.c: Likewise.
31005 * iconv/skeleton.c: Likewise.
31006 * include/aio.h: Likewise.
31007 * include/aliases.h: Likewise.
31008 * include/argz.h: Likewise.
31009 * include/arpa/inet.h: Likewise.
31010 * include/assert.h: Likewise.
31011 * include/dirent.h: Likewise.
31012 * include/dlfcn.h: Likewise.
31013 * include/execinfo.h: Likewise.
31014 * include/fcntl.h: Likewise.
31015 * include/fenv.h: Likewise.
31016 * include/glob.h: Likewise.
31017 * include/grp.h: Likewise.
31018 * include/libintl.h: Likewise.
31019 * include/mntent.h: Likewise.
31020 * include/netdb.h: Likewise.
31021 * include/pwd.h: Likewise.
31022 * include/rpc/netdb.h: Likewise.
31023 * include/sched.h: Likewise.
31024 * include/search.h: Likewise.
31025 * include/shadow.h: Likewise.
31026 * include/signal.h: Likewise.
31027 * include/stdio.h: Likewise.
31028 * include/stdlib.h: Likewise.
31029 * include/string.h: Likewise.
31030 * include/sys/socket.h: Likewise.
31031 * include/sys/stat.h: Likewise.
31032 * include/sys/statfs.h: Likewise.
31033 * include/sys/statvfs.h: Likewise.
31034 * include/sys/syslog.h: Likewise.
31035 * include/sys/time.h: Likewise.
31036 * include/sys/uio.h: Likewise.
31037 * include/time.h: Likewise.
31038 * include/unistd.h: Likewise.
31039 * include/utmp.h: Likewise.
31040 * include/wchar.h: Likewise.
31041 * include/wctype.h: Likewise.
31042 * inet/aliases.h: Likewise.
31043 * inet/arpa/inet.h: Likewise.
31044 * inet/netinet/ether.h: Likewise.
31045 * inet/netinet/in.h: Likewise.
31046 * intl/libintl.h: Likewise.
31047 * io/bits/fcntl2.h: Likewise.
31048 * io/fcntl.h: Likewise.
31049 * io/ftw.h: Likewise.
31050 * io/sys/poll.h: Likewise.
31051 * io/sys/stat.h: Likewise.
31052 * io/sys/statfs.h: Likewise.
31053 * io/sys/statvfs.h: Likewise.
31054 * io/utime.h: Likewise.
31055 * libio/bits/stdio.h: Likewise.
31056 * libio/bits/stdio2.h: Likewise.
31057 * libio/libio.h: Likewise.
31058 * libio/libioP.h: Likewise.
31059 * libio/stdio.h: Likewise.
31060 * locale/lc-ctype.c: Likewise.
31061 * locale/locale.h: Likewise.
31062 * login/utmp.h: Likewise.
31063 * malloc/arena.c: Likewise.
31064 * malloc/malloc.c: Likewise.
31065 * malloc/malloc.h: Likewise.
31066 * malloc/mcheck.c: Likewise.
31067 * malloc/mtrace.c: Likewise.
31068 * math/bits/mathcalls.h: Likewise.
31069 * math/fenv.h: Likewise.
31070 * math/math_private.h: Likewise.
31071 * misc/bits/error.h: Likewise.
31072 * misc/bits/syslog.h: Likewise.
31073 * misc/err.h: Likewise.
31074 * misc/error.h: Likewise.
31075 * misc/fstab.h: Likewise.
31076 * misc/mntent.h: Likewise.
31077 * misc/regexp.h: Likewise.
31078 * misc/search.h: Likewise.
31079 * misc/sgtty.h: Likewise.
31080 * misc/sys/mman.h: Likewise.
31081 * misc/sys/syslog.h: Likewise.
31082 * misc/sys/uio.h: Likewise.
31083 * misc/sys/xattr.h: Likewise.
31084 * misc/ttyent.h: Likewise.
31085 * nis/rpcsvc/ypclnt.h: Likewise.
31086 * nss/nss.h: Likewise.
31087 * posix/bits/unistd.h: Likewise.
31088 * posix/fnmatch.h: Likewise.
31089 * posix/glob.h: Likewise.
31090 * posix/sched.h: Likewise.
31091 * posix/spawn.h: Likewise.
31092 * posix/sys/wait.h: Likewise.
31093 * posix/unistd.h: Likewise.
31094 * posix/wordexp.h: Likewise.
31095 * pwd/pwd.h: Likewise.
31096 * resolv/netdb.h: Likewise.
31097 * resource/sys/resource.h: Likewise.
31098 * rt/aio.h: Likewise.
31099 * rt/bits/mqueue2.h: Likewise.
31100 * rt/mqueue.h: Likewise.
31101 * shadow/shadow.h: Likewise.
31102 * signal/signal.h: Likewise.
31103 * socket/send.c: Likewise.
31104 * socket/sendto.c: Likewise.
31105 * socket/sys/socket.h: Likewise.
31106 * stdio-common/printf.h: Likewise.
31107 * stdlib/bits/stdlib.h: Likewise.
31108 * stdlib/fmtmsg.h: Likewise.
31109 * stdlib/monetary.h: Likewise.
31110 * stdlib/stdlib.h: Likewise.
31111 * stdlib/ucontext.h: Likewise.
31112 * streams/stropts.h: Likewise.
31113 * string/argz.h: Likewise.
31114 * string/bits/string2.h: Likewise.
31115 * string/string.h: Likewise.
31116 * string/strings.h: Likewise.
31117 * sunrpc/rpc/auth.h: Likewise.
31118 * sunrpc/rpc/auth_des.h: Likewise.
31119 * sunrpc/rpc/clnt.h: Likewise.
31120 * sunrpc/rpc/netdb.h: Likewise.
31121 * sunrpc/rpc/pmap_clnt.h: Likewise.
31122 * sunrpc/rpc/xdr.h: Likewise.
31123 * sysdeps/generic/inttypes.h: Likewise.
31124 * sysdeps/generic/net/if.h: Likewise.
31125 * sysdeps/generic/sys/swap.h: Likewise.
31126 * sysdeps/gnu/net/if.h: Likewise.
31127 * sysdeps/gnu/utmpx.h: Likewise.
31128 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31129 * sysdeps/i386/i486/bits/string.h: Likewise.
31130 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31131 * sysdeps/s390/bits/string.h: Likewise.
31132 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31133 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31134 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31135 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31136 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31137 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31138 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31139 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31140 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31141 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31142 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31143 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31144 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31145 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31146 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31147 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31148 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31150 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31151 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31152 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31153 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31154 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31155 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31156 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31157 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31158 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31159 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31160 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31161 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31162 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31163 * sysvipc/sys/ipc.h: Likewise.
31164 * sysvipc/sys/msg.h: Likewise.
31165 * sysvipc/sys/sem.h: Likewise.
31166 * sysvipc/sys/shm.h: Likewise.
31167 * termios/termios.h: Likewise.
31168 * time/sys/time.h: Likewise.
31169 * time/time.h: Likewise.
31170 * wcsmbs/bits/wchar2.h: Likewise.
31171 * wcsmbs/uchar.h: Likewise.
31172 * wcsmbs/wchar.h: Likewise.
31173 * wctype/wctype.h: Likewise.
31174
0269750c
UD
31175 [BZ #13551]
31176 * Makeconfig: Remove all but ELF support including AIX support.
31177 * Makerules: Likewise.
31178 * config.h.in: Likewise.
31179 * config.make.in: Likewise.
31180 * configure: Likewise.
31181 * configure.in: Likewise.
31182 * csu/Makefile: Likewise.
31183 * csu/version.c: Likewise.
31184 * debug/Makefile: Likewise.
31185 * dlfcn/Makefile: Likewise.
31186 * elf/Makefile: Likewise.
31187 * extra-lib.mk: Likewise.
31188 * iconv/Makefile: Likewise.
31189 * include/libc-symbols.h: Likewise.
31190 * include/shlib-compat.h: Likewise.
31191 * resolv/Makefile: Likewise.
31192 * resolv/res_libc.c: Likewise.
31193 * rt/Makefile: Likewise.
31194 * sysdeps/i386/asm-syntax.h: Likewise.
31195 * sysdeps/i386/sysdep.h: Likewise.
31196 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31197 * sysdeps/mach/sysdep.h: Likewise.
31198 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31199 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31200 * sysdeps/s390/asm-syntax.h: Likewise.
31201 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31202 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31203 * sysdeps/sh/sysdep.h: Likewise.
31204 * sysdeps/unix/sparc/sysdep.h: Likewise.
31205 * sysdeps/wordsize-32/divdi3.c: Likewise.
31206 * sysdeps/x86_64/sysdep.h: Likewise.
31207
00bbd29b
UD
31208 * argp/Versions: Remove _argp_unlock_xxx.
31209
31210 [BZ #13559]
31211 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31212 * abilist/libBrokenLocale.abilist: Likewise.
31213 * abilist/libanl.abilist: Likewise.
31214 * abilist/libc.abilist: Likewise.
31215 * abilist/libcrypt.abilist: Likewise.
31216 * abilist/libdl.abilist: Likewise.
31217 * abilist/libm.abilist: Likewise.
31218 * abilist/libnsl.abilist: Likewise.
31219 * abilist/libpthread.abilist: Likewise.
31220 * abilist/libresolv.abilist: Likewise.
31221 * abilist/librt.abilist: Likewise.
31222 * abilist/libthread_db.abilist: Likewise.
31223 * abilist/libutil.abilist: Likewise.
31224 * abilist/libnss_db.abilist: New file.
31225
31226 * scripts/abilist.awk: Add support for indirect functions.
31227
a2693a0e
UD
31228 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31229
3f05895f
UD
31230 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31231
ecb6fb48
UD
31232 * shlib-versions: Remove entries for ports architectures.
31233
664f8cb9
UD
31234 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31235 files in ports.
31236 * elf/stackguard-macros.h: Remove support for IA-64.
31237 * elf/tst-auditmod1.c: Likewise.
31238 * sysdeps/generic/ldsodefs.h: Likewise.
31239
7ae81d88
UD
31240 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31241 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31242 configure files.
31243
bdeba135
UD
31244 [BZ #13552]
31245 * configure.in: Remove --enable-omitfp support.
31246 * FAQ.in: Adjust.
31247 * config.make.in: Likewise.
31248 * Makeconfig: Likewise.
31249 * manual/install.texi: Likewise.
31250
d75a0a62
UD
31251 In case anyone cares, the IA-64 architecture could move to ports.
31252 * sysdeps/ia64/*: Removed.
31253 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31254 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31255
dcc9756b
UD
31256 [BZ #13555]
31257 * configure.in: Remove entries for unsupported architectures.
31258
d3761ebc 31259 [BZ #13533]
9954432e
UD
31260 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31261 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31262 routines.
31263 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31264 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31265 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31266 fall back to using wcrtomb.
31267 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31268 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31269 renaming.
31270 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31271 * wcsmbs/tst-c16c32-1.c: New file.
31272
31273 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31274 local variable.
31275
c3a87236
UD
31276 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31277
28926a1b
UD
31278 * elf/tst-unique3.cc: Add explicit declaration of gets.
31279 * elf/tst-unique3lib.cc: Likewise.
31280 * elf/tst-unique3lib2.cc: Likewise.
31281 * elf/tst-unique4.cc: Likewise.
31282
df78418a
UD
31283 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31284
8ecd6b2a
JM
312852012-01-06 Joseph Myers <joseph@codesourcery.com>
31286
31287 [BZ #13566]
31288 * assert/assert.h (static_assert): Don't define for C++.
31289 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31290 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31291
9f115170
UD
312922012-01-03 Ulrich Drepper <drepper@gmail.com>
31293
5e0d0300
UD
31294 * iconv/loop.c (single loop): Fix assertion in storing of
31295 remaining bytes.
31296
9f115170
UD
31297 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31298
81fb02b0
UD
312992012-01-01 Ulrich Drepper <drepper@gmail.com>
31300
31301 * posix/getconf.c: Update copyright year.
31302 * nss/getent.c: Likewise.
a316c1f6 31303 * nss/makedb.c: Likewise.
81fb02b0
UD
31304 * iconv/iconvconfig.c: Likewise.
31305 * iconv/iconv_prog.c: Likewise.
31306 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31307 * elf/pldd.c: Likewise.
31308 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31309 * catgets/gencat.c: Likewise.
31310 * csu/version.c: Likewise.
31311 * elf/ldd.bash.in: Likewise.
31312 * elf/sprof.c (print_version): Likewise.
31313 * locale/programs/locale.c: Likewise.
31314 * locale/programs/localedef.c: Likewise.
a316c1f6 31315 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31316 * nscd/nscd.c (print_version): Likewise.
31317 * debug/xtrace.sh: Likewise.
31318 * malloc/memusage.sh: Likewise.
31319 * malloc/mtrace.pl: Likewise.
31320 * debug/catchsegv.sh: Likewise.
31321
2ba92745
JJ
313222011-12-30 Jakub Jelinek <jakub@redhat.com>
31323
31324 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31325 pure attribute.
31326
dadebdae
UD
313272011-12-24 Ulrich Drepper <drepper@gmail.com>
31328
d3761ebc 31329 [BZ #13533]
db6af3eb
UD
31330 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31331 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31332 transformations.
31333 * iconv/gconv_int.h: Likewise.
31334 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31335 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31336 from libc for GLIBC_2.16.
31337 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31338 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31339 * wcsmbs/uchar.h: Really define mbstate_t.
31340 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31341 * wcsmbs/c16rtomb.c: New file.
31342 * wcsmbs/mbrtoc16.c: New file.
31343 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31344 for C/POSIX locale.
31345 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31346 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31347
dadebdae
UD
31348 * wcsmbs/wchar.h: Add missing __restrict.
31349
67371b56
UD
313502011-12-23 Ulrich Drepper <drepper@gmail.com>
31351
74033a25
UD
31352 [BZ #13532]
31353 * time/Makefile (routines): Add timespec_get.
31354 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31355 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31356 timespec for ISO C11.
31357 * time/timespec_get.c: New file.
31358 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31359 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31360
380d7e87
UD
31361 [BZ #13531]
31362 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31363 * stdlib/stdlib.h: Declare aligned_alloc.
31364 * Versions.def: Add GLIBC_2.16 for libc.
31365 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31366
4e9e7a35
UD
31367 [BZ 13527]
31368 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31369 ISO C11.
31370
380d7e87 31371 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31372 code.
31373
03a71829
UD
31374 [BZ #13528]
31375 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31376
839e283e
UD
31377 [BZ #13529]
31378 * assert/assert.h (static_assert): Define.
31379
ce5294e2 31380 * version.h: Update for 2.16 development version.
90fa7312 31381
8d44e150 31382 [BZ #13526]
d7809905
UD
31383 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31384 _ISOC11_SOURCE.
31385
c0da14cd
UD
31386 * version.h (RELEASE): Bump for 2.15 release.
31387 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31388
530a3249
MP
31389 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31390 Patch by Marek Polacek <mpolacek@redhat.com>.
31391
67371b56
UD
31392 * bits/byteswap.h: Protect long long constants with __extension__.
31393 * sysdeps/i386/bits/byteswap.h: Likewise.
31394 * sysdeps/ia64/bits/byteswap.h: Likewise.
31395 * sysdeps/s390/bits/byteswap.h: Likewise.
31396 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31397
15db4de1
LD
313982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31399
31400 [BZ #13540]
bbe315ea
LD
31401 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31402 destination buffer.
15db4de1
LD
31403 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31404
2b2596b1
MP
314052011-12-23 Marek Polacek <polacek@redhat.com>
31406
31407 * elf/dl-addr.c (determine_info): Add inline keyword.
31408 * elf/tst-auditmod4b.c (check_avx): Likewise.
31409 * elf/tst-auditmod6b.c (check_avx): Likewise.
31410 * elf/tst-auditmod6c.c (check_avx): Likewise.
31411 * elf/tst-auditmod7b.c (check_avx): Likewise.
31412
70c6c246
UD
314132011-12-23 Ulrich Drepper <drepper@gmail.com>
31414
31415 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31416 !__SSE_MATH__.
31417
c044cf14
LD
314182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31419
15db4de1 31420 [BZ #13540]
c044cf14
LD
31421 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31422 processing for last bytes.
31423
6b13d9d9
BH
314242011-08-06 Bruno Haible <bruno@clisp.org>
31425
d455f537
BH
31426 [BZ #13061]
31427 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31428 U+0385, not to U+1FEE.
31429
6b13d9d9
BH
31430 [BZ #13062]
31431 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31432 entry for U+00A5 U+0301.
31433
db910efd
UD
314342011-12-22 Ulrich Drepper <drepper@gmail.com>
31435
27deeafc
UD
31436 [BZ #13166]
31437 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31438 buffer for the output is too small.
31439
aed9d171
UD
31440 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31441 optimization.
31442
db910efd
UD
31443 [BZ #13185]
31444 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31445 SSE flags if possible.
31446
2bd779ae
LD
314472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31448
e7f9dac3 31449 [BZ #13540]
2bd779ae
LD
31450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31451 processing for last bytes.
31452
154bfc16
JM
314532011-12-22 Joseph Myers <joseph@codesourcery.com>
31454
31455 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31456 (syscall-list-default-options, syscall-list-default-condition)
31457 (syscall-list-includes): Define.
31458 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31459 list of ABIs and options and #if conditions for each ABI. Do not
31460 handle common syscalls between ABIs specially.
31461 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31462 Remove.
31463 (syscall-list-variants, syscall-list-32bit-options)
31464 (syscall-list-32bit-condition, syscall-list-64bit-options)
31465 (syscall-list-64bit-condition): Define.
31466 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31467 (syscall-list-variants, syscall-list-32bit-options)
31468 (syscall-list-32bit-condition, syscall-list-64bit-options)
31469 (syscall-list-64bit-condition): Define.
31470 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31471 Remove.
31472 (syscall-list-variants, syscall-list-32bit-options)
31473 (syscall-list-32bit-condition, syscall-list-64bit-options)
31474 (syscall-list-64bit-condition): Define.
31475 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31476 Remove.
31477 (syscall-list-variants, syscall-list-32bit-options)
31478 (syscall-list-32bit-condition, syscall-list-64bit-options)
31479 (syscall-list-64bit-condition): Define.
31480
21eaf3a5
UD
314812011-12-22 Ulrich Drepper <drepper@gmail.com>
31482
16c6f992
UD
31483 * locale/iso-639.def: Add brx entry.
31484
41043168
UD
31485 [BZ #13328]
31486 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31487 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31488
21eaf3a5
UD
31489 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31490 __feraiseexcept_renamed.
31491
e3a851a2
UD
314922011-12-21 Ulrich Drepper <drepper@gmail.com>
31493
4920765e
UD
31494 [BZ #13538]
31495 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31496 EPOLLET with unsigned values.
31497 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31498 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31499
e3a851a2
UD
31500 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31501 to large cancellation.
31502 * math/s_cacoshf.c: Likewise.
31503 * math/s_cacoshl.c: Likewise.
31504
b27e24b8
RK
315052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31506
31507 [BZ #13305]
aebefeee 31508 [BZ #12786]
b27e24b8
RK
31509 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31510 * math/s_cacoshf.c: Likewise.
31511 * math/s_cacoshl.c: Likewise.
31512
ee190f67
UD
315132011-12-21 Ulrich Drepper <drepper@gmail.com>
31514
31515 [BZ #13439]
31516 * iconv/gconv.h: Define __GCONV_SWAP.
31517 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31518 * iconvdata/utf-16.c: Likewise.
31519 * iconvdata/utf-32.c: Likewise.
31520
707f25df
AS
315212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31522
31523 [BZ #13524]
31524 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31525 numerator after shifting it by one limb.
31526
d2daaa1e
RÁE
315272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31528
31529 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31530 under [__USE_EXTERN_INLINES].
31531
a4647e72
UD
315322011-12-17 Ulrich Drepper <drepper@gmail.com>
31533
31534 [BZ #13446]
31535 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31536
f0b264f1
AZ
315372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31538
31539 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31540 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31541 optimized code.
31542 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31543 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31544 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31545 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31546 for strncasecmp/strncasecmp_l compilation.
31547 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31548 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31549
8ef4f244
MP
315502011-12-08 Marek Polacek <mpolacek@redhat.com>
31551
31552 [BZ #13484]
31553 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31554 of __asm__.
31555
97ac2654
UD
315562011-12-17 Ulrich Drepper <drepper@gmail.com>
31557
31558 [BZ #13506]
31559 * time/tzfile.c (__tzfile_read): Check values from file header.
31560
91d2a845
WS
315612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31562
31563 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31564 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31565 * powerpc/powerpc32/dl-start.S: Likewise.
31566 * powerpc/powerpc32/elf/start.S: Likewise.
31567 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31568 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31569 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31570 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31571 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31572 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31573 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31574 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31575 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31576 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31577 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31578 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31579 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31580 * powerpc/powerpc32/memset.S: Likewise.
31581 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31582 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31583 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31584 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31585 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31586 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31587 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31588 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31589 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31590 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31591 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31592 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31593 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31594
a1267ba1
AZ
315952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31596
31597 * math/libm-test.inc: Added more nearbyint tests.
31598 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31599 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31600 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31601 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31602
ad8ac1bd
RL
316032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31604
31605 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31606 FD_CLOEXEC.
31607
1d3e4b61
UD
316082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31609
31610 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31611 Add wcscpy-ssse3 wcscpy-c.
31612 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31613 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31614 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31615 * sysdeps/x86_64/wcschr.S: New file.
31616 * sysdeps/x86_64/wcsrchr.S: New file.
31617 * string/test-strcmp.c: Remove checking of wcscmp function for
31618 wrong alignments.
31619 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31620 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31621 wcsrchr-sse2 wcsrchr-c.
31622 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31623 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31624 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31625 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31626 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31627 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31628 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31629 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31630 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31631 * wcsmbc/wcschr.c (WCSCHR): New macro.
31632
5b330a2d
UD
316332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31634
31635 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31636 * wcsmbs/test-wcsrchr.c: New file.
31637 * string/test-strrchr.c: Add wcsrchr support.
31638 (WIDE): New macro.
31639 * wcsmbs/test-wcscpy.c: New file.
31640 * string/test-strcpy.c: Add wcscpy support.
31641 (WIDE): New macro.
26428b7c 31642
f039c043
UD
316432011-12-10 Ulrich Drepper <drepper@gmail.com>
31644
31645 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31646 the inner loop.
31647
850fb039
AS
316482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31649
31650 [BZ #13472]
31651 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31652
4efbd5cb
UD
316532011-12-04 Ulrich Drepper <drepper@gmail.com>
31654
52ff5dd0 31655 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31656 Minor optimizations.
52ff5dd0 31657
4efbd5cb
UD
31658 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31659 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31660 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31661
8a426e12
UD
316622011-12-03 Ulrich Drepper <drepper@gmail.com>
31663
aff2453d
UD
31664 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31665 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31666 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31667 for gcc to avoid warnings.
31668 * inet/Makefile (tests): Add tst-checks.
31669 * inet/tst-checks.c: New file.
31670
31671 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31672 warning.
31673
31674 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31675 __wmemcmp_sse2.
31676
31677 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31678 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31679
8a426e12
UD
31680 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31681
9bea3473
UD
316822011-12-02 Ulrich Drepper <drepper@gmail.com>
31683
3a965496
UD
31684 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31685 problem.
31686
9bea3473
UD
31687 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31688
f101631b
UD
316892011-11-29 Joseph Myers <joseph@codesourcery.com>
31690
31691 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31692 conditional on GCC version.
31693 (__arch_compare_and_exchange_val_8_acq)
31694 (__arch_compare_and_exchange_val_16_acq)
31695 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31696 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31697 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31698
a98275aa
UD
316992011-12-02 Joseph Myers <joseph@codesourcery.com>
31700
31701 * sysdeps/sh/backtrace.c: New file.
31702
d4cc29a2
AS
317032011-12-02 Andreas Schwab <schwab@redhat.com>
31704
31705 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31706 parenthesis.
31707
6257af2d
AS
317082011-12-01 Andreas Schwab <schwab@redhat.com>
31709
31710 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31711 falling back to utime.
31712
b5f44c1a
AS
317132011-11-30 Andreas Schwab <schwab@redhat.com>
31714
31715 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31716 expectations for float.
31717
f3a6cc0a
AS
317182011-11-29 Andreas Schwab <schwab@redhat.com>
31719
31720 * locale/weight.h (findidx): Add parameter len.
31721 * locale/weightwc.h (findidx): Likewise.
31722 * posix/fnmatch_loop.c (FCT): Adjust caller.
31723 * posix/regcomp.c (build_equiv_class): Likewise.
31724 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31725 * posix/regexec.c (check_node_accept_bytes): Likewise.
31726 * string/strcoll_l.c (STRCOLL): Likewise.
31727 * string/strxfrm_l.c (STRXFRM): Likewise.
31728
9d65ea3a
UD
317292011-11-17 Ulrich Drepper <drepper@gmail.com>
31730
31731 * Makefile.in: Remove CVSOPT handling.
31732 * configure.in: Remove use of AC_REVISION.
31733 * iconvdata/Makefile (distribute): No need to filter out CVS.
31734 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31735 handling.
31736
5583a086
AS
317372011-11-16 Andreas Schwab <schwab@redhat.com>
31738
31739 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31740 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31741 [USE_AS_STRNCASECMP_L]: Likewise.
31742 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31743 NO_TLS_DIRECT_SEG_REFS.
31744 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31745 Fix argument offsets for non-PIC.
31746 [USE_AS_STRNCASECMP_L]: Likewise.
31747 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31748 NO_TLS_DIRECT_SEG_REFS.
31749
d62a8200
UD
317502011-11-15 Ulrich Drepper <drepper@gmail.com>
31751
9d65ea3a 31752 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31753 O_CLOEXEC.
31754 * locale/loadlocale.c (_nl_load_locale): Likewise.
31755
09f93bd3
AS
317562011-11-15 Andreas Schwab <schwab@redhat.com>
31757
446514f9
AS
31758 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31759 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31760 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31761 (SYSCALL_GETTIME): Set errno on error.
31762
09f93bd3
AS
31763 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31764 count references to noai6ai_cached.
31765
312be3f9
UD
317662011-11-15 Ulrich Drepper <drepper@gmail.com>
31767
31768 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31769
31770 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31771 FD_CLOEXEC for /proc/self/maps.
31772
31773 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31774 FD_CLOEXEC for /proc/meminfo.
31775
31776 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31777 gai.conf.
31778
31779 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31780 FD_CLOEXEC for given file.
31781
31782 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31783
31784 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31785 FD_CLOEXEC for /etc/hosts.
31786 (_gethtent): Likewise.
31787
31788 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31789
31790 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31791 cancellation and set FD_CLOEXEC for /etc/netgroup.
31792
31793 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31794 reading /etc/publickey.
31795
31796 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31797 allow cancellation when reading /etc/group.
31798
31799 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31800 cancellation.
31801 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31802
31803 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31804 when using data file.
31805
31806 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31807
31808 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31809 (write_nis_obj): Use "c" and "e" in fopen.
31810
31811 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31812
31813 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31814
31815 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31816
31817 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31818
31819 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31820 locale.alias.
31821
31822 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31823
31824 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31825
31826 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31827
31828 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31829 file parsing and set FD_CLOEXEC.
31830
82af0fa8
UD
318312011-11-14 Ulrich Drepper <drepper@gmail.com>
31832
31833 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31834
a5fb313c
AS
318352011-11-14 Andreas Schwab <schwab@redhat.com>
31836
31837 * malloc/arena.c (arena_get2): Don't call reused_arena when
31838 _int_new_arena failed.
31839
6abf3465
UD
318402011-11-14 Ulrich Drepper <drepper@gmail.com>
31841
31842 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31843 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31844 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31845 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31846 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31847 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31848 to compile strcasecmp and strncasecmp.
31849 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31850 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31851
31852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31853
76e3966e
UD
318542011-11-13 Ulrich Drepper <drepper@gmail.com>
31855
31856 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31857 locale-defines.sym to gen-as-const-headers.
31858 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31859 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31861 to compile strcasecmp and strncasecmp.
31862 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31863 strcasecmp_l and strncasecmp_l.
31864 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31865 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31866 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31867 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31868 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31869 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31870 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31871 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31872 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31873 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31874 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31875
ab26144e
UD
318762011-11-12 Ulrich Drepper <drepper@gmail.com>
31877
7edb22ef
UD
31878 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31879 result of SYSDEP_GETTIME_CPU to retval.
31880 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31881 parameter list to macro. Remove trailing semicolon. Adjust users.
31882
9694fc44
UD
31883 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31884 variable.
31885
8ad89ef8
UD
31886 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31887 mantissa words.
31888 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31889
0c822ef9
UD
31890 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31891 from unused variable.
31892
874e0564
UD
31893 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31894 DWARF definitions.
31895 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31896 for assembling.
31897
3a2edc79
UD
31898 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31899 over namespaces.
31900
f3c2577f
UD
31901 * sunrpc/rpc_prot.c (rejected): Fix case value.
31902
294ce126
UD
31903 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31904 unsigned long long int to avoid warnings in shift.
31905
5e2b63c6
UD
31906 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31907 of use of trans.
31908 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31909 variable tmp.
31910
e7f4b08e
UD
31911 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31912 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31913 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31914
ab26144e
UD
31915 * nis/nis_table.c (nis_list): Use variable of correct type for
31916 result of __follow_path call.
31917
8a6d5255
AZ
319182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31919
31920 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31921 of math functions ceil, trunc, floor, round, and sqrt, when
31922 avaliable on the platform.
31923 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31924 name clash.
31925 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31926 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31927 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31928
aaddc98c
MP
319292011-10-30 Marek Polacek <mpolacek@redhat.com>
31930
31931 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31932 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31933
95b7042b
RM
319342011-11-11 Roland McGrath <roland@hack.frob.com>
31935
31936 * include/unistd.h: Fix __readlink return type.
31937 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31938
57769839
UD
319392011-11-11 Ulrich Drepper <drepper@gmail.com>
31940
31941 * stdlib/ucontext.h: Undo last change for makecontext.
31942
edc5984d
AS
319432011-11-11 Andreas Schwab <schwab@redhat.com>
31944
98591e58
AS
31945 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31946
edc5984d
AS
31947 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31948 * setjmp/setjmp.h: Mark functions as non-leaf.
31949 * setjmp/bits/setjmp2.h: Likewise.
31950 * stdlib/ucontext.h: Likewise.
31951
77cdc054
AS
319522011-11-10 Andreas Schwab <schwab@redhat.com>
31953
31954 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31955 (reused_arena): Don't check arena limit.
31956 (arena_get2): Atomically check arena limit.
31957
fe72eebd
UD
319582011-11-08 Ulrich Drepper <drepper@gmail.com>
31959
5f078c32
UD
31960 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31961 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31962
fe72eebd
UD
31963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31964 instructions.
31965
ae1bc2fa
AS
319662011-11-07 Andreas Schwab <schwab@redhat.com>
31967
7583a88d
AS
31968 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31969 handler when locking.
31970
ae1bc2fa
AS
31971 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31972 Fix size of allocated buffer.
31973
10fb0bfa
AS
319742011-11-04 Andreas Schwab <schwab@redhat.com>
31975
998832a4
AS
31976 [BZ #10103]
31977 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31978 declarations for long double functions.
31979 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31980
10fb0bfa
AS
31981 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31982
3d7ba52b
AS
319832011-11-03 Andreas Schwab <schwab@redhat.com>
31984
a9ae54a1
AS
31985 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31986 installed.
31987
3d7ba52b
AS
31988 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31989 is disabled.
31990
bc8db248
ST
319912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31992
31993 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31994
45b96dd6
AS
319952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31996
647776f6
AS
31997 * include/alloca.h (stackinfo_alloca_round): Define.
31998 (extend_alloca): Use it.
31999 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32000 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32001 here.
32002
d91a8b93
AS
32003 * scripts/check-local-headers.sh: Ignore libaudit.h.
32004
45b96dd6
AS
32005 * nscd/Makefile (extra-objs): Make recursively expanded.
32006
432d41ce
UD
320072011-11-01 Ulrich Drepper <drepper@gmail.com>
32008
34372fc6
UD
32009 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32010 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32011
fadb59f8
UD
32012 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32013 * posix/tst-rfc3484-2.c: Likewise.
32014 * posix/tst-rfc3484-3.c: Likewise.
32015
78239589
UD
32016 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32017 process_vm_writev.
32018 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32019 process_vm_writev.
32020 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32021 process_vm_writev from libc using GLIBC_2.15 version.
32022
432d41ce
UD
32023 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32024
02f9c6cf
PP
320252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32026
32027 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32028 stack usage.
32029
3a2c0242
UD
320302011-10-31 Ulrich Drepper <drepper@gmail.com>
32031
f4ec4833
UD
32032 [BZ #13367]
32033 * nss/getent.c (initgroups_keys): Show error message in case no group
32034 names are given.
32035
3a2c0242
UD
32036 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32037 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32038 __bump_nl_timestamp.
32039 * nscd/connections (nscd_init): When host database is served open
32040 netlink socket and request notification about configuration changes.
32041 (main_loop_poll): Track netlink file descriptor and bump timestamp
32042 in case data becomes available.
32043 (main_loop_epoll): Likewise.
32044 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32045 (database_pers_head): Add extra_data fileds.
32046 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32047 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32048 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32049 Adjust caller.
32050 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32051 in6ai data, call __free_in6ai.
32052 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32053 Add -DHAVE_NETLINK.
32054 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32055 interface information. Reuse previous data if netlink timestamp
32056 is not changed.
32057 (__bump_nl_timestamp): New function.
32058 (__free_in6ai): New function.
32059
636064eb
UD
320602011-10-30 Ulrich Drepper <drepper@gmail.com>
32061
32062 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32063 close_not_cancel_no_status here.
32064 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32065
9beb2334
UD
320662011-10-29 Ulrich Drepper <drepper@gmail.com>
32067
6ef76f3b
UD
32068 [BZ #13276]
32069 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32070 return value.
32071
0ffc4f3e 32072 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32073 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32074 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32075
cb95113e
UD
320762011-07-03 Andreas Jaeger <aj@suse.de>
32077
32078 [BZ #10709]
32079 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32080 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32081 * math/libm-test.inc (sin_test): Add test case.
32082
a1b560ff
UD
320832011-10-29 Ulrich Drepper <drepper@gmail.com>
32084
c9aaface
UD
32085 [BZ #13337]
32086 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32087 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32088
d272e7f1
UD
32089 * elf/chroot_canon.c (chroot_canon): Cleanups.
32090
1bc33071
UD
32091 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32092
1760874d
TJ
32093 [BZ #13335]
32094 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32095 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32096
51d91b18
UD
32097 * string/test-strchr.c: Make usable for strchrnul testing.
32098 * string/test-strchrnul.c: New file.
32099 * string/Makefile (strop-tests): Add strchrnul.
32100
a1b560ff 32101 * po/it.po: Update from translation team.
b611fb81 32102 * po/es.po: Likewise.
a1b560ff 32103
a5b81e1f
UD
321042011-10-28 Ulrich Drepper <drepper@gmail.com>
32105
fd52bc6d
UD
32106 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32107 the three constants needed as parameters. Drop the others.
32108 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32109 __m128i_strloadu_tolower.
52e4b9eb
UD
32110 Create and initialize variable zero and use it in all the places
32111 where _mm_setzero_si128 was used.
fd52bc6d 32112
a5b81e1f
UD
32113 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32114 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32115 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32116 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32117 anymore.
32118 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32119 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32120 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32121 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32122 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32123 __mpranred, __mptan.
32124 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32125 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32126 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32127 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32128 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32129 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32130 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32131 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32132 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32133
b4343346
AS
321342011-10-28 Andreas Schwab <schwab@redhat.com>
32135
0c92d8a8
AS
32136 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32137 redefine if SHARED.
32138 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32139
b4343346
AS
32140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32141 wide char related routines to wcsmbs subdir.
32142
3871f58f
AS
321432011-10-27 Andreas Schwab <schwab@redhat.com>
32144
32145 [BZ #13344]
32146 * misc/sys/cdefs.h (__THROWNL): Define.
32147 * posix/unistd.h: Use __THREADNL instead of __THREAD
32148 for memory synchronization functions.
32149
94d44d9f
RM
321502011-10-26 Roland McGrath <roland@hack.frob.com>
32151
21b64b15 32152 [BZ #13349]
94d44d9f
RM
32153 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32154 doesn't exist.
32155 * manual/stdio.texi (Obstack Streams): Node removed.
32156
f6ce9294
AS
321572011-10-26 Andreas Schwab <schwab@redhat.com>
32158
80479147
AS
32159 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32160 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32161 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32162
f6ce9294
AS
32163 * math/math_private.h (math_force_eval): Allow non-addressable
32164 arguments.
32165 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32166
618280a1
UD
321672011-10-25 Ulrich Drepper <drepper@gmail.com>
32168
e0016b11
UD
32169 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32170 file is not needed.
32171
32172 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32173 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32174 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32175 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32176 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32177 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32178 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32179 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32180 Add AVX variants.
32181 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32182 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32183 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32184 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32185 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32186 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32187 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32188 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32189 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32190 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32191 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32192 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32193 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32194 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32195 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32196 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32197 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32198 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32199 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32200
32201 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32202 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32203
618280a1
UD
32204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32205 place. Use VEX encoding when compiling for AVX.
32206
37822576
AS
322072011-10-25 Andreas Schwab <schwab@redhat.com>
32208
1f1e1947
AS
32209 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32210 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32211
37822576
AS
32212 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32213
31ea014d
UD
322142011-10-25 Ulrich Drepper <drepper@gmail.com>
32215
d7826aa1 32216 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32217 useless if() expression.
d7826aa1
UD
32218 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32219 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32220 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32221 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32222 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32223 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32224 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32225 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32226 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32227 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32228 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32229 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32230 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32231 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32232 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32233 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32234 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32235 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32236 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32237
31ea014d
UD
32238 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32239
16437fec
AS
322402011-10-25 Andreas Schwab <schwab@redhat.com>
32241
32242 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32243 condition.
32244 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32245
31d3cc00
UD
322462011-10-25 Ulrich Drepper <drepper@gmail.com>
32247
32248 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32249 .text section. Avoid duplicate constants.
32250 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32251 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32252 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32253 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32254 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32255 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32256 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32257 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32258 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32259 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32260 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32261 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32262 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32263 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32264 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32265 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32266 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32267 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32268 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32269 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32270 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32271 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32272 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32273 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32274 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32275 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32276 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32277 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32278 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32279 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32280 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32281 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32282 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32283 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32284 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32285 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32286 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32287 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32288 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32289 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32290 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32291 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32292 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32293 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32294 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32295
58985aa9
UD
322962011-10-24 Ulrich Drepper <drepper@gmail.com>
32297
202c9deb
UD
32298 * sysdeps/x86_64/dla.h: Move to ...
32299 * sysdeps/x86_64/fpu/dla.h: ...here.
32300 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32301 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32302
af968f62
UD
32303 * config.make.in: Add have-mfma4 entry.
32304 * configure.in: Substitute libc_cv_cc_fma4.
32305 * math/Makefile (dbl-only-routines): Add sincostab.
32306 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32307 Use __sincostab not sincos.
32308 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32309 name is a macro.
32310 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32311 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32312 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32313 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32314 using __copysign.
32315 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32316 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32317 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32318 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32319 and __inv.
32320 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32321 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32322 __copysign.
32323 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32324 define aliases when function name is a macro.
32325 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32326 sysdeps/ieee754/dbl-64/sincos.tbl.
32327 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32328 fma4-enabled routines.
32329 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32330 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32331 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32332 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32333 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32334 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32335 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32336 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32337 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32338 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32339 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32340 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32341 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32342 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32343 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32344 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32345 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32346 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32347 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32348 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32349 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32350 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32351 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32352 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32353 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32354 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32355 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32356 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32357 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32358 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32359
58985aa9
UD
32360 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32361 rename.
32362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32363 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32367 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32368 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32369 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32370
a201fbcf
AS
323712011-10-24 Andreas Schwab <schwab@redhat.com>
32372
32373 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32374
fc2ee42a
LD
323752011-10-23 Ulrich Drepper <drepper@gmail.com>
32376
bb3129bd
UD
32377 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32378
0275fff8
UD
32379 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32380 prediction.
32381 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32382
2fa2ae85
UD
32383 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32384 Remove unused variable magic_bits.
32385 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32386
fc2ee42a
LD
32387 * string/strnlen.c: Define and use STRNLEN macro.
32388 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32389 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32391 * wcsmbs/wcslen.c: Define and use WCSLEN.
32392 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32393 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32394 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32395 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32396 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32397 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32398 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32399
ce7dd29f
LD
324002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32401
32402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32403 strnlen-sse2-no-bsf.
32404 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32406 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32407 Add strnlen support.
32408 (USE_AS_STRNLEN): New macro.
32409 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32410 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32411 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32412 * sysdeps/x86_64/wcslen.S: New file.
32413
979c70a3
MZ
324142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32415
32416 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32417 XMM-moves are used for copying on small sizes.
32418
2d09f82f
LD
324192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32420
32421 * wcsmbs/Makefile (strop-tests): Add wcschr.
32422 * wcsmbs/test-wcschr.c: New file.
32423 * string/test-strchr.c: Update.
32424 Add wcschr support.
32425 (WIDE): New macro.
32426
619fccca
LD
324272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32428
2d09f82f 32429 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32430 * wcsmbs/test-wcslen.c: New file.
32431 * string/test-strlen.c: Update.
32432 Add wcslen support.
32433 (WIDE): New macro.
32434
09f699ea
UD
324352011-10-23 Ulrich Drepper <drepper@gmail.com>
32436
32437 * po/it.po: Update from translation team.
32438
95584d3b
LD
324392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32440
32441 * sysdeps/x86_64/wcscmp.S: Update.
32442 Fix wrong comparison semantics.
32443 wcscmp shall use signed comparison not unsigned.
32444 Don't use substraction to avoid overflow bug.
32445 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32446 * wcsmbc/wcscmp.c: Likewise.
32447 * string/test-strcmp.c: Likewise.
32448 Add new tests to check cases with negative values.
32449
c8b3296b
UD
324502011-10-23 Ulrich Drepper <drepper@gmail.com>
32451
32452 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32453 * sysdeps/x86_64/dla.h: ...here. New file.
32454 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32455 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32456 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32457 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32458 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32459 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32460 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32461 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32462 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32463
246ad57a
AS
324642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32465
32466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32467 __ynl_finite aliases.
32468
a1a87169
UD
324692011-10-22 Ulrich Drepper <drepper@gmail.com>
32470
0d355eb7
UD
32471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32472
a1a87169
UD
32473 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32474 define DLA_FMA.
32475 [DLA_FMA] (EMULV): Use DLA_FMA.
32476 [DLA_FMA] (MUL12): Use EMULV.
32477 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32478 that are not needed.
32479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32486
ee2aafe0
AS
324872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32488
32489 * math/s_nan.c: Undef __nan.
32490 * math/s_nanf.c: Undef __nanf.
32491 * math/s_nanl.c: Undef __nanl.
32492 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32493 "math_private.h".
32494
bc62c2fb
UD
324952011-10-22 Ulrich Drepper <drepper@gmail.com>
32496
77425c63
UD
32497 * math/s_catan.c: Add branch predictions.
32498 * math/s_catanf.c: Likewise.
32499 * math/s_catanh.c: Likewise.
32500 * math/s_catanhf.c: Likewise.
32501 * math/s_catanhl.c: Likewise.
32502 * math/s_catanl.c: Likewise.
32503 * math/s_cexp.c: Likewise.
32504 * math/s_cexpf.c: Likewise.
32505 * math/s_cexpl.c: Likewise.
32506 * math/s_clog.c: Likewise.
32507 * math/s_clog10.c: Likewise.
32508 * math/s_clog10f.c: Likewise.
32509 * math/s_clog10l.c: Likewise.
32510 * math/s_clogf.c: Likewise.
32511 * math/s_clogl.c: Likewise.
32512 * math/s_csqrt.c: Likewise.
32513 * math/s_csqrtf.c: Likewise.
32514 * math/s_csqrtl.c: Likewise.
32515 * math/s_ctanf.c: Likewise.
32516 * math/s_ctanh.c: Likewise.
32517 * math/s_ctanhf.c: Likewise.
32518 * math/s_ctanhl.c: Likewise.
32519 * math/s_ctanl.c: Likewise.
32520
bc62c2fb
UD
32521 * math/math_private.h: Define __nan, __nanf, __nanl.
32522 * math/s_cacosh.c: Include <math_private.h>.
32523 * math/s_cacoshl.c: Likewise.
32524 * math/s_casinh.c: Likewise.
32525 * math/s_casinhf.c: Likewise.
32526 * math/s_casinhl.c: Likewise.
32527 * math/s_ccos.c: Rely entire on ccosh.
32528 * math/s_ccosf.c: Rely entire on ccoshf.
32529 * math/s_ccosl.c: Rely entirely on ccoshl.
32530 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32531 Remove tests for FE_INVALID.
32532 * math/s_ccoshf.c: Likewise.
32533 * math/s_ccoshl.c: Likewise.
32534 * math/s_csin.c: Likewise.
32535 * math/s_csinf.c: Likewise.
32536 * math/s_csinh.c Likewise.
32537 * math/s_csinhf.c: Likewise.
32538 * math/s_csinhl.c: Likewise.
32539 * math/s_csinl.c: Likewise.
32540 * math/s_ctan.c: Likewise.
32541 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32542 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32543 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32544
8ec250a4
UD
325452011-10-21 Ulrich Drepper <drepper@gmail.com>
32546
c196fed8
UD
32547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32548 compilation problems.
32549
8ec250a4
UD
32550 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32551 __builtin_expect.
32552
8d4f46c6
UD
325532011-10-20 Ulrich Drepper <drepper@gmail.com>
32554
ed72b654
UD
32555 * sysdeps/i386/configure.in: Test for -mfma4 option.
32556 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32557 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32558 COMMON_CPUID_INDEX_80000001.
32559 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32560 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32561 use it if FMA3 is not supported.
32562 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32563
8d4f46c6
UD
32564 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32565 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32566
d45c60c2
AS
325672011-10-20 Andreas Schwab <schwab@redhat.com>
32568
32569 [BZ #12892]
32570 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32571 it would create a cycle with a link time dependency.
32572
d9a4d2ab
UD
325732011-10-19 Ulrich Drepper <drepper@gmail.com>
32574
855d1560
UD
32575 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32576 instruction.
32577 * string/Makefile (strop-tests): Add rawmemchr.
32578 * string/test-rawmemchr.c: New file.
32579
d9a4d2ab
UD
32580 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32582 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32583 when compiling str{,n}casecmp and when AVX is available. Hook up
32584 new optimized code in initializers.
32585
8f3b1ffe
AS
325862011-10-19 Andreas Schwab <schwab@redhat.com>
32587
32588 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32589 __feraiseexcept instead of feraiseexcept.
32590
d38f1dba
UD
325912011-10-18 Ulrich Drepper <drepper@gmail.com>
32592
d9a8d0ab
UD
32593 * math/math_private.h: Define defaults for libc_fetestexcept and
32594 libc_feupdateenv.
32595 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32596 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32597 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32598 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32599 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32600 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32601 libc_fetestexcept and libc_feupdateenv.
32602
4855e3dd
UD
32603 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32604 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32605 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32606 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32607 libc_feholdexcept_setround.
32608
581d30e3
UD
32609 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32610 Add s_nearbyint-c and s_nearbyintf-c.
32611 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32612 nearbyintf inlines.
32613 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32614 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32615 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32616 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32617
d38f1dba
UD
32618 * math/math_private.h: Define defaults for libc_fegetround,
32619 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32620 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32621 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32623 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32624 standard functions.
32625 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32626 Remove comments and hacks for old compiler versions.
32627 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32628 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32629 libc_feholdexceptl.
32630
caa6c9d8
AS
326312011-10-18 Andreas Schwab <schwab@redhat.com>
32632
32633 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32634 (__feraiseexcept_renamed): Add __NTH.
32635 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32636 namespace violations.
32637
97c066e6
UD
326382011-10-17 Ulrich Drepper <drepper@gmail.com>
32639
99ce7b04
UD
32640 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32641
1004d182
UD
32642 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32643
228a984d
UD
32644 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32645 recently added interfaces.
32646 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32647
c8553a6a
UD
32648 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32649 about macro parameter expansion.
32650
ed22dcf6
UD
32651 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32652 __NO_MATH_INLINES is defined. Cleanups.
32653
32654 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32655 and __floorf is target has SSE4.1.
32656 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32657 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32658 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32659 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32660
b171c137
UD
32661 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32662 name.
32663 (floorf): Likewise.
32664
97c066e6
UD
32665 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32666
629f62ef
AS
326672011-10-17 Andreas Schwab <schwab@redhat.com>
32668
49a43d80
AS
32669 * misc/sys/cdefs.h: Fix last change.
32670
629f62ef
AS
32671 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32672 database lookup.
32673
e453f6cd
UD
326742011-10-16 Ulrich Drepper <drepper@gmail.com>
32675
aa78043a
UD
32676 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32677
ad0f5cad
UD
32678 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32680 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32681 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32682 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32683 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32684 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32685 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32686 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32687 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32688 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32689 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32690 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32691 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32692 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32693 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32694 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32695 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32696 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32697 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32698 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32699 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32700
32701 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32702 ceil, ceilf, floor, floorf.
32703
32704 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32705 Perform IRELATIVE relocations last.
32706
e453f6cd
UD
32707 * elf/do-rel.h: Add another parameter nrelative, replacing the
32708 local variable with the same name. Change name of the function
32709 to end in Rel or Rela (uppercase).
32710 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32711 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32712 elf_dynamic_do_##reloc function.
32713
fd5bdc09
UD
327142011-10-15 Ulrich Drepper <drepper@gmail.com>
32715
79b195b5
UD
32716 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32717 is sufficient, at least on modern CPUs.
32718
d4a28569
UD
32719 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32720
b61099b5
UD
32721 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32722 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32723
bcf01e6d
UD
32724 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32725 __expl_finite.
32726 * math/bits/math-finite.h: Add entries for exp.
32727 * math/e_expl.c: Add __*_finite alias.
32728 * sysdeps/i386/fpu/e_exp.S: Likewise.
32729 * sysdeps/i386/fpu/e_expf.S: Likewise.
32730 * sysdeps/i386/fpu/e_expl.c: Likewise.
32731 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32732 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32733 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32734 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32735 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32736 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32737 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32738
ba1a0d59
UD
32739 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32740 is sufficient, at least on modern CPUs.
32741
fd5bdc09
UD
32742 * ctype/ctype-info.c (__ctype_init): Define.
32743 * include/ctype.h (__ctype_init): Declare.
32744 (__ctype_b_loc): The variable is always initialized.
32745 (__ctype_toupper_loc): Likewise.
32746 (__ctype_tolower_loc): Likewise.
32747 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32748 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32749
7872cfb0
AS
327502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32751
b468825a
AS
32752 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32753
7872cfb0
AS
32754 * configure.in: Also look in $cxxmachine/include for C++ system
32755 headers.
32756
be13f7bf
LD
327572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32758
32759 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32760 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32761 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32762 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32763 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32764 (USE_AS_WMEMCMP): New macro.
32765 Fixing indents.
32766 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32767 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32768 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32769 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32771 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32772 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32773 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32774 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32775 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32776 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32777 (USE_AS_WMEMCMP): New macro.
32778 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32779 * sysdeps/string/test-memcmp.c: Update.
32780 Fix simple_wmemcmp.
32781 Add new tests.
32782 * wcsmbs/wmemcmp.c: Update.
32783 (WMEMCMP): New macro.
32784 Fix overflow bug.
32785
556a2007
AJ
327862011-10-12 Andreas Jaeger <aj@suse.de>
32787
32788 [BZ #13268]
32789 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32790
538faaa7
UD
327912011-10-15 Ulrich Drepper <drepper@gmail.com>
32792
ab6737ff
UD
32793 * libio/iofwide.c (do_length): Avoid warning.
32794
538faaa7
UD
32795 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32796
396a21b1
UD
327972011-10-14 Ulrich Drepper <drepper@gmail.com>
32798
cdf2901f
UD
32799 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32800
38ad40ce
UD
32801 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32802 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32803 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32804 * sysdeps/i386/i686/fpu/e_log.S: New file.
32805 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32806 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32807
396a21b1
UD
32808 * ctype/ctype.h: Add support for inlined isXXX functions when
32809 compiling C++ code.
32810
6b1f68c9
AS
328112011-10-14 Andreas Schwab <schwab@redhat.com>
32812
349290c0
AS
32813 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32814
6b1f68c9
AS
32815 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32816
f2282d42
RM
328172011-10-13 Roland McGrath <roland@hack.frob.com>
32818
32819 [BZ #13291]
32820 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32821
5298ffa8
AS
328222011-10-13 Andreas Schwab <schwab@redhat.com>
32823
714fad23
AS
32824 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32825 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32826 feraiseexcept.
32827
81dcc7fb
AS
32828 * sysdeps/x86_64/memrchr.S: Check for zero size.
32829
5298ffa8
AS
32830 * string/stratcliff.c: Add memrchr tests.
32831
951fbcec
LD
328322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32833
32834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32835 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32836 rawmemchr-sse2 rawmemchr-sse2-bsf.
32837 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32838 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32839 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32840 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32841 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32842 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32843 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32844 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32845 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32846 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32847 * string/memrchr.c (MEMRCHR): New macro.
32848
0ac5ae23
UD
328492011-10-12 Ulrich Drepper <drepper@gmail.com>
32850
32851 Add integration with gcc's -ffinite-math-only and optimize wrapper
32852 functions in libm.
32853 * Versions.def: Define GLIBC_2.15 version for libm.
32854 * math/Makefile (headers): Add bits/math-finite.h.
32855 * math/bits/math-finite.h: New file.
32856 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32857 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32858 * math/e_acoshl.c: Add __*_finite alias.
32859 * math/e_acosl.c: Likewise.
32860 * math/e_asinl.c: Likewise.
32861 * math/e_atan2l.c: Likewise.
32862 * math/e_atanhl.c: Likewise.
32863 * math/e_coshl.c: Likewise.
32864 * math/e_exp10.c: Likewise.
32865 * math/e_exp10f.c: Likewise.
32866 * math/e_exp10l.c: Likewise.
32867 * math/e_exp2l.c: Likewise.
32868 * math/e_fmodl.c: Likewise.
32869 * math/e_gammal_r.c: Likewise.
32870 * math/e_hypotl.c: Likewise.
32871 * math/e_j0l.c: Likewise.
32872 * math/e_j1l.c: Likewise.
32873 * math/e_jnl.c: Likewise.
32874 * math/e_lgammal_r.c: Likewise.
32875 * math/e_log10l.c: Likewise.
32876 * math/e_log2l.c: Likewise.
32877 * math/e_logl.c: Likewise.
32878 * math/e_powl.c: Likewise.
32879 * math/e_sinhl.c: Likewise.
32880 * math/e_sqrtl.c: Likewise.
32881 * math/e_scalb.c: Completely rewritten and optimized.
32882 * math/e_scalbf.c: Likewise.
32883 * math/e_scalbl.c: Likewise.
32884 * math/w_acos.c: Likewise.
32885 * math/w_acosf.c: Likewise.
32886 * math/w_acosl.c: Likewise.
32887 * math/w_acosh.c: Likewise.
32888 * math/w_acoshf.c: Likewise.
32889 * math/w_acoshl.c: Likewise.
32890 * math/w_asin.c: Likewise.
32891 * math/w_asinf.c: Likewise.
32892 * math/w_asinl.c: Likewise.
32893 * math/w_atan2.c: Likewise.
32894 * math/w_atan2f.c: Likewise.
32895 * math/w_atan2l.c: Likewise.
32896 * math/w_atanh.c: Likewise.
32897 * math/w_atanhf.c: Likewise.
32898 * math/w_atanhl.c: Likewise.
32899 * math/w_exp10.c: Likewise.
32900 * math/w_exp10f.c: Likewise.
32901 * math/w_exp10l.c: Likewise.
32902 * math/w_fmod.c: Likewise.
32903 * math/w_fmodf.c: Likewise.
32904 * math/w_fmodl.c: Likewise.
32905 * math/w_j0.c: Likewise.
32906 * math/w_j0f.c: Likewise.
32907 * math/w_j0l.c: Likewise.
32908 * math/w_j1.c: Likewise.
32909 * math/w_j1f.c: Likewise.
32910 * math/w_j1l.c: Likewise.
32911 * math/w_jn.c: Likewise.
32912 * math/w_jnf.c: Likewise.
32913 * math/w_log.c: Likewise.
32914 * math/w_logf.c: Likewise.
32915 * math/w_logl.c: Likewise.
32916 * math/w_log10.c: Likewise.
32917 * math/w_log10f.c: Likewise.
32918 * math/w_log10l.c: Likewise.
32919 * math/w_log2.c: Likewise.
32920 * math/w_log2f.c: Likewise.
32921 * math/w_log2l.c: Likewise.
32922 * math/w_pow.c: Likewise.
32923 * math/w_powf.c: Likewise.
32924 * math/w_powl.c: Likewise.
32925 * math/w_remainder.c: Likewise.
32926 * math/w_remainderf.c: Likewise.
32927 * math/w_remainderl.c: Likewise.
32928 * math/w_scalb.c: Likewise.
32929 * math/w_scalbf.c: Likewise.
32930 * math/w_scalbl.c: Likewise.
32931 * math/w_sqrt.c: Likewise.
32932 * math/w_sqrtf.c: Likewise.
32933 * math/w_sqrtl.c: Likewise.
32934 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32935 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32936 used.
32937 * math/math_private.h: Declare __kernel_standard_f.
32938 * math/w_cosh.c: Remove cruft and optimize a bit.
32939 * math/w_coshf.c: Likewise.
32940 * math/w_coshl.c: Likewise.
32941 * math/w_exp2.c: Likewise.
32942 * math/w_exp2f.c: Likewise.
32943 * math/w_exp2l.c: Likewise.
32944 * math/w_hypot.c: Likewise.
32945 * math/w_hypotf.c: Likewise.
32946 * math/w_hypotl.c: Likewise.
32947 * math/w_lgamma.c: Likewise.
32948 * math/w_lgamma_r.c: Likewise.
32949 * math/w_lgammaf.c: Likewise.
32950 * math/w_lgammaf_r.c: Likewise.
32951 * math/w_lgammal.c: Likewise.
32952 * math/w_lgammal_r.c: Likewise.
32953 * math/w_sinh.c: Likewise.
32954 * math/w_sinhf.c: Likewise.
32955 * math/w_sinhl.c: Likewise.
32956 * math/w_tgamma.c: Likewise.
32957 * math/w_tgammaf.c: Likewise.
32958 * math/w_tgammal.c: Likewise.
32959 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32960 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32961 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32962 Minor optimizations. Pretty printing. Remove cruft.
32963 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32964 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32965 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32966 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32967 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32968 * sysdeps/i386/fpu/e_asin.S: Likewise.
32969 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32970 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32971 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32972 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32973 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32974 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32975 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32976 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32977 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32978 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32979 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32980 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32981 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32982 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32983 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32984 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32985 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32986 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32987 * sysdeps/i386/fpu/e_log.S: Likewise.
32988 * sysdeps/i386/fpu/e_log10.S: Likewise.
32989 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32990 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32991 * sysdeps/i386/fpu/e_log2.S: Likewise.
32992 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32993 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32994 * sysdeps/i386/fpu/e_logf.S: Likewise.
32995 * sysdeps/i386/fpu/e_logl.S: Likewise.
32996 * sysdeps/i386/fpu/e_pow.S: Likewise.
32997 * sysdeps/i386/fpu/e_powf.S: Likewise.
32998 * sysdeps/i386/fpu/e_powl.S: Likewise.
32999 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33000 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33001 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33002 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33003 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33004 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33005 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33006 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33007 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33008 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33017 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33018 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33019 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33021 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33022 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33024 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33025 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33026 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33027 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33028 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33029 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33030 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33031 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33032 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33033 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33034 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33035 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33036 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33037 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33038 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33039 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33040 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33041 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33042 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33043 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33044 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33045 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33046 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33047 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33048 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33049 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33050 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33053 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33054 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33064 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33065 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33066 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33067 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33068 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33070 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33071 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33073 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33076 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33077 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33078 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33079 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33080 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33081 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33082 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33083 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33084 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33085 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33087 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33088 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33089 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33090 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33091 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33092 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33093 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33094 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33095 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33096 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33097 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33098 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33099 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33100 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33101 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33102 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33103 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33104 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33105 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33106 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33107 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33108 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33109 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33110 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33111 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33112 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33113 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33114 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33115 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33116 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33117 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33118 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33119 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33120 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33121 (__isnanf): Likewise.
33122 (__isinf_ns): Likewise.
33123 (__isinf_nsf): Likewise.
33124 (__finite): Likewise.
33125 (__finitef): Likewise.
33126 (__ieee754_sqrt): Define as macro.
33127 (__ieee754_sqrtf): Define as macro.
33128 (__ieee754_sqrtl): Define as macro.
33129 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33130 inlined copy.
33131 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33132 __FINITE_MATH_ONLY__ consistent.
33133 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33134
12cc2fcd
AS
331352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33136
a843a204
AS
33137 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33138 of rawmemchr.
33139
12cc2fcd
AS
33140 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33141
c853acd5
UD
331422011-10-09 Ulrich Drepper <drepper@gmail.com>
33143
33144 * po/ja.po: Update from translation team.
33145
c658d255
RM
331462011-10-08 Roland McGrath <roland@hack.frob.com>
33147
110946e4
RM
33148 * locale/programs/locarchive.c (prepare_address_space): New function.
33149 (create_archive, enlarge_archive, open_archive): Use it.
33150
50604220
RM
33151 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33152 inside [SHARED], where it is used.
33153
c658d255
RM
33154 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33155
33156 * nss/getent.c (netgroup_keys): Remove unused variable.
33157 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33158
6a621eb7
UD
331592011-10-08 Ulrich Drepper <drepper@gmail.com>
33160
7edb55ce
UD
33161 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33162 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33163 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33164 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33165 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33166 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33167 * math/Makefile (libm-calls): Add s_isinf_ns.
33168 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33169 * math/multc3.c: Likewise.
33170 * math/s_casin.c: Likewise.
33171 * math/s_casinf.c: Likewise.
33172 * math/s_casinl.c: Likewise.
33173 * math/s_ccos.c: Likewise.
33174 * math/s_ccosf.c: Likewise.
33175 * math/s_ccosl.c: Likewise.
33176 * math/s_ctan.c: Likewise.
33177 * math/s_ctanf.c: Likewise.
33178 * math/s_ctanh.c: Likewise.
33179 * math/s_ctanhf.c: Likewise.
33180 * math/s_ctanhl.c: Likewise.
33181 * math/s_ctanl.c: Likewise.
33182 * math/w_fmod.c: Likewise.
33183 * math/w_fmodf.c: Likewise.
33184 * math/w_fmodl.c: Likewise.
33185 * math/w_remainder.c: Likewise.
33186 * math/w_remainderf.c: Likewise.
33187 * math/w_remainderl.c: Likewise.
33188 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33189 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33190 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33192 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33193 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33194 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33195 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33196
187da0ae
UD
33197 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33198 of the number.
33199 * stdio-common/printf_fphex.c: Likewise.
33200 * stdio-common/printf_size.c: Likewise.
33201
9277c064
UD
33202 * math/e_exp10.c: Include math_private.h using <...> not "...".
33203 * math/e_exp10f.c: Likewise.
33204 * math/e_exp10l.c: Likewise.
33205 * math/e_exp2l.c: Likewise.
33206 * math/e_j0l.c: Likewise.
33207 * math/e_j1l.c: Likewise.
33208 * math/e_jnl.c: Likewise.
33209 * math/e_lgammal_r.c: Likewise.
33210 * math/e_rem_pio2l.c: Likewise.
33211 * math/e_scalb.c: Likewise.
33212 * math/e_scalbf.c: Likewise.
33213 * math/e_scalbl.c: Likewise.
33214 * math/k_cosl.c: Likewise.
33215 * math/k_sinl.c: Likewise.
33216 * math/k_tanl.c: Likewise.
33217 * math/s_cacoshf.c: Likewise.
33218 * math/s_catan.c: Likewise.
33219 * math/s_catanf.c: Likewise.
33220 * math/s_catanh.c: Likewise.
33221 * math/s_catanhf.c: Likewise.
33222 * math/s_catanhl.c: Likewise.
33223 * math/s_catanl.c: Likewise.
33224 * math/s_ccosh.c: Likewise.
33225 * math/s_ccoshf.c: Likewise.
33226 * math/s_ccoshl.c: Likewise.
33227 * math/s_cexp.c: Likewise.
33228 * math/s_cexpf.c: Likewise.
33229 * math/s_cexpl.c: Likewise.
33230 * math/s_clog.c: Likewise.
33231 * math/s_clog10.c: Likewise.
33232 * math/s_clog10f.c: Likewise.
33233 * math/s_clog10l.c: Likewise.
33234 * math/s_clogf.c: Likewise.
33235 * math/s_clogl.c: Likewise.
33236 * math/s_csin.c: Likewise.
33237 * math/s_csinf.c: Likewise.
33238 * math/s_csinh.c: Likewise.
33239 * math/s_csinhf.c: Likewise.
33240 * math/s_csinhl.c: Likewise.
33241 * math/s_csinl.c: Likewise.
33242 * math/s_csqrt.c: Likewise.
33243 * math/s_csqrtf.c: Likewise.
33244 * math/s_csqrtl.c: Likewise.
33245 * math/s_ctan.c: Likewise.
33246 * math/s_ctanf.c: Likewise.
33247 * math/s_ctanh.c: Likewise.
33248 * math/s_ctanhf.c: Likewise.
33249 * math/s_ctanhl.c: Likewise.
33250 * math/s_ctanl.c: Likewise.
33251 * math/s_ldexp.c: Likewise.
33252 * math/s_ldexpf.c: Likewise.
33253 * math/s_ldexpl.c: Likewise.
33254 * math/s_significand.c: Likewise.
33255 * math/s_significandf.c: Likewise.
33256 * math/s_significandl.c: Likewise.
33257 * math/w_acos.c: Likewise.
33258 * math/w_acosf.c: Likewise.
33259 * math/w_acosh.c: Likewise.
33260 * math/w_acoshf.c: Likewise.
33261 * math/w_acoshl.c: Likewise.
33262 * math/w_acosl.c: Likewise.
33263 * math/w_asin.c: Likewise.
33264 * math/w_asinf.c: Likewise.
33265 * math/w_asinl.c: Likewise.
33266 * math/w_atan2.c: Likewise.
33267 * math/w_atan2f.c: Likewise.
33268 * math/w_atan2l.c: Likewise.
33269 * math/w_atanh.c: Likewise.
33270 * math/w_atanhf.c: Likewise.
33271 * math/w_atanhl.c: Likewise.
33272 * math/w_cosh.c: Likewise.
33273 * math/w_coshf.c: Likewise.
33274 * math/w_coshl.c: Likewise.
33275 * math/w_dremf.c: Likewise.
33276 * math/w_exp10.c: Likewise.
33277 * math/w_exp10f.c: Likewise.
33278 * math/w_exp10l.c: Likewise.
33279 * math/w_exp2.c: Likewise.
33280 * math/w_exp2f.c: Likewise.
33281 * math/w_fmod.c: Likewise.
33282 * math/w_fmodf.c: Likewise.
33283 * math/w_fmodl.c: Likewise.
33284 * math/w_hypot.c: Likewise.
33285 * math/w_hypotf.c: Likewise.
33286 * math/w_hypotl.c: Likewise.
33287 * math/w_j0.c: Likewise.
33288 * math/w_j0f.c: Likewise.
33289 * math/w_j0l.c: Likewise.
33290 * math/w_j1.c: Likewise.
33291 * math/w_j1f.c: Likewise.
33292 * math/w_j1l.c: Likewise.
33293 * math/w_jn.c: Likewise.
33294 * math/w_jnf.c: Likewise.
33295 * math/w_jnl.c: Likewise.
33296 * math/w_lgamma.c: Likewise.
33297 * math/w_lgamma_r.c: Likewise.
33298 * math/w_lgammaf.c: Likewise.
33299 * math/w_lgammaf_r.c: Likewise.
33300 * math/w_lgammal.c: Likewise.
33301 * math/w_lgammal_r.c: Likewise.
33302 * math/w_log.c: Likewise.
33303 * math/w_log10.c: Likewise.
33304 * math/w_log10f.c: Likewise.
33305 * math/w_log10l.c: Likewise.
33306 * math/w_log2.c: Likewise.
33307 * math/w_log2f.c: Likewise.
33308 * math/w_log2l.c: Likewise.
33309 * math/w_logf.c: Likewise.
33310 * math/w_logl.c: Likewise.
33311 * math/w_pow.c: Likewise.
33312 * math/w_powf.c: Likewise.
33313 * math/w_powl.c: Likewise.
33314 * math/w_remainder.c: Likewise.
33315 * math/w_remainderf.c: Likewise.
33316 * math/w_remainderl.c: Likewise.
33317 * math/w_scalb.c: Likewise.
33318 * math/w_scalbf.c: Likewise.
33319 * math/w_scalbl.c: Likewise.
33320 * math/w_sinh.c: Likewise.
33321 * math/w_sinhf.c: Likewise.
33322 * math/w_sinhl.c: Likewise.
33323 * math/w_sqrt.c: Likewise.
33324 * math/w_sqrtf.c: Likewise.
33325 * math/w_sqrtl.c: Likewise.
33326 * math/w_tgamma.c: Likewise.
33327 * math/w_tgammaf.c: Likewise.
33328 * math/w_tgammal.c: Likewise.
33329
6a621eb7
UD
33330 * po/ja.po: Update from translation team.
33331
bf582445
AJ
333322011-09-29 Andreas Jaeger <aj@suse.de>
33333
f9efbf3a
AJ
33334 [BZ #13179]
33335 * sunrpc/netname.c (netname2host): Fix logic.
33336
bf582445
AJ
33337 [BZ #6779]
33338 [BZ #6783]
33339 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33340 correctly.
33341 * math/w_remainder.c (__remainder): Likewise.
33342 * math/w_remainderf.c (__remainderf): Likewise.
33343 * math/libm-test.inc (remainder_test): Add test cases.
33344
48693bea
AK
333452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33346
33347 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33348 sdiv_qrnnd.
33349
42622229
LD
333502011-10-07 Ulrich Drepper <drepper@gmail.com>
33351
33352 * string/test-memcmp.c: Avoid unncessary #defines.
33353 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33354
093ecf92
LD
333552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33356
33357 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33358 Use new sse2 version for core i3 - i7 as it's faster
33359 than sse42 version.
33360 (bit_Prefer_PMINUB_for_stringop): New.
33361 * sysdeps/x86_64/rawmemchr.S: Update.
33362 Replace with faster SSE2 version.
33363 * sysdeps/x86_64/memrchr.S: New file.
33364 * sysdeps/x86_64/memchr.S: Update.
33365 Replace with faster SSE2 version.
33366
fde56e5c
MP
333672011-09-12 Marek Polacek <mpolacek@redhat.com>
33368
33369 * elf/dl-load.c (lose): Add cast to avoid warning.
33370
21fd49a9
UD
333712011-10-07 Ulrich Drepper <drepper@gmail.com>
33372
5a06e643
UD
33373 * po/ca.po: Update from translation team.
33374
684ae515
UD
33375 * inet/getnetgrent_r.c: Hook up nscd.
33376 * nscd/Makefile (routines): Add nscd_netgroup.
33377 (nscd-modules): Add netgroupcache.
33378 (CFLAGS-netgroupcache.c): Define.
33379 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33380 (cache_search): Add const to second parameter.
33381 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33382 INNETGR.
33383 (dbs): Add netgrdb entry.
33384 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33385 (verify_persistent_db): Handle netgrdb.
33386 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33387 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33388 GETFDNETGR.
33389 (netgroup_response_header): Define.
33390 (innetgroup_response_header): Define.
33391 (datahead): Add netgroup_response_header and innetgroup_response_header
33392 elements.
33393 * nscd/nscd.conf: Add entries for netgroup cache.
33394 * nscd/nscd.h (dbtype): Add netgrdb.
33395 (_PATH_NSCD_NETGROUP_DB): Define.
33396 (netgroup_iov_disabled): Declare.
33397 (xmalloc, xcalloc, xrealloc): Move declarations here.
33398 (cache_search): Adjust prototype.
33399 Add netgroup-related prototypes.
33400 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33401 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33402 (__nscd_innetgr): Declare.
33403 * nscd/selinux.c (perms): Use access_vector_t as element type and
33404 add netgroup-related initializers.
33405 * nscd/netgroupcache.c: New file.
33406 * nscd/nscd_netgroup.c: New file.
33407 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33408 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33409 For four parameters use innetgr.
33410 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33411 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33412 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33413 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33414
21fd49a9
UD
33415 * nscd/connections.c (register_traced_file): Don't register file
33416 for disabled databases.
33417
054c0457
UD
334182011-10-06 Ulrich Drepper <drepper@gmail.com>
33419
32b63198
UD
33420 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33421
054c0457
UD
33422 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33423 from tree and freeing node.
33424
64031225
JO
334252011-09-25 Jiri Olsa <jolsa@redhat.com>
33426
33427 * nss/nsswitch.c (__nss_database_lookup): Handle
33428 nss_parse_service_list out of memory case.
33429
0490345c
JO
334302011-09-15 Jiri Olsa <jolsa@redhat.com>
33431
33432 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33433 out of memory case.
33434
3a62d00d
AS
334352011-10-04 Andreas Schwab <schwab@redhat.com>
33436
33437 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33438 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33439 pass it down.
33440 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33441 elf_machine_rela, elf_machine_lazy_rel.
33442 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33443 (ELF_DYNAMIC_DO_REL): Likewise.
33444 (ELF_DYNAMIC_DO_RELA): Likewise.
33445 (ELF_DYNAMIC_RELOCATE): Likewise.
33446 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33447 to ELF_DYNAMIC_DO_REL.
33448 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33449 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33450 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33451 elf_machine_rela.
33452 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33453 skip_ifunc, don't call ifunc function if non-zero.
33454 (elf_machine_rela): Likewise.
33455 (elf_machine_lazy_rel): Likewise.
33456 (elf_machine_lazy_rela): Likewise.
33457 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33458 (elf_machine_lazy_rel): Likewise.
33459 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33460 Likewise.
33461 (elf_machine_lazy_rel): Likewise.
33462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33463 Likewise.
33464 (elf_machine_lazy_rel): Likewise.
33465 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33466 (elf_machine_lazy_rel): Likewise.
33467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33468 (elf_machine_lazy_rel): Likewise.
33469 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33470 (elf_machine_lazy_rel): Likewise.
33471 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33472 (elf_machine_lazy_rel): Likewise.
33473 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33474 (elf_machine_lazy_rel): Likewise.
33475 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33476 (elf_machine_lazy_rel): Likewise.
33477
68577918
UD
334782011-09-28 Ulrich Drepper <drepper@gmail.com>
33479
33480 * nss/nss_files/files-init.c (_nss_files_init): Use static
33481 initialization for all the *_traced_file variables.
33482
68822d74
AS
334832011-09-28 Andreas Schwab <schwab@redhat.com>
33484
33485 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33486
2056100b
RM
334872011-09-27 Roland McGrath <roland@hack.frob.com>
33488
33489 [BZ #13226]
33490 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33491
32c76b63
AS
334922011-09-27 Andreas Schwab <schwab@redhat.com>
33493
33494 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33495 Reread the line before reparsing it.
33496
bf972c9d
AS
334972011-09-26 Andreas Schwab <schwab@redhat.com>
33498
33499 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33500
e057a1b5
JM
335012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33502 Maxim Kuvyrkov <maxim@codesourcery.com>
33503 Joseph Myers <joseph@codesourcery.com>
33504
33505 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33506 if needed for __stack_chk_guard.
33507
bc7e1c36
RM
335082011-09-19 Roland McGrath <roland@hack.frob.com>
33509
ecb1482f
RM
33510 * sysdeps/posix/spawni.c (script_execute): Always define it.
33511 It will be optimized away if unused.
33512 (maybe_script_execute): New function.
33513 (__spawni): Call it.
33514
bc7e1c36
RM
33515 * Makerules: Don't include tls.make.
33516 (config-tls): Always set to thread.
33517 * tls.make.c: File removed.
33518
1c3b002b
MF
335192011-09-19 Mike Frysinger <vapier@gentoo.org>
33520
33521 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33522 * config.make.in (CPPFLAGS-config): New substituted variable.
33523
2840865d
UD
335242011-09-15 Ulrich Drepper <drepper@gmail.com>
33525
88738eb6
UD
33526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33527
cbf645a6 33528 [BZ #13192]
2840865d
UD
33529 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33530 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33531
b402e91a
RM
335322011-09-15 Roland McGrath <roland@hack.frob.com>
33533
33534 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33535 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33536 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33537 (CALL_FAIL): Likewise.
33538 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33539 (CALL_FAIL): Macro removed.
33540 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33541
4c1a1f71
UD
335422011-09-15 Ulrich Drepper <drepper@gmail.com>
33543
33544 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33545 for __FINITE_MATH_ONLY__ == 1.
33546
edc121be
AS
335472011-09-15 Andreas Schwab <schwab@redhat.com>
33548
33549 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33550 __ieee754_sqrt instead of sqrt.
33551 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33552 __ieee754_sqrtf instead of sqrtf.
33553 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33554 __floorf instead of floorf.
33555 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33556 __floorf, __truncf instead of floorf, truncf.
33557
cd205654
UD
335582011-09-14 Ulrich Drepper <drepper@gmail.com>
33559
ee4d0315
UD
33560 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33561
cd205654
UD
33562 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33563 __extern_always_inline.
33564 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33565 32-bit.
33566
48b67d71
AS
335672011-09-14 Andreas Schwab <schwab@redhat.com>
33568
33569 * elf/rtld.c (dl_main): Also relocate in dependency order when
33570 doing symbol dependency testing.
33571
1ae12c75
AS
335722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33573
33574 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33575 Always define `refsym'.
33576
995a80df
AS
335772011-09-13 Andreas Schwab <schwab@redhat.com>
33578
e529793b
AS
33579 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33580 (__FD_ELT): Renamed from __FDELT.
33581 * misc/bits/select2.h (__FD_ELT): Likewise.
33582 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33583 __FD_MASK instead of __FDELT, __FDMASK.
33584 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33585 Likewise.
33586 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33587 Likewise.
33588
52d4fef8
AS
33589 * elf/Makefile (gen-ldd): Fix pattern.
33590
995a80df
AS
33591 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33592 (init_tls): Likewise.
33593
8682f8b0
UD
335942011-09-12 Ulrich Drepper <drepper@gmail.com>
33595
33596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33597
de82006d
AS
335982011-09-12 Andreas Schwab <schwab@redhat.com>
33599
a7c8e6a1
AS
33600 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33601 `struct cmsghdr *' instead of `void *'.
33602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33603 Likewise.
33604
0f31fe77
AS
336052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33606
33607 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33608 if non-absolute.
33609 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33610 ldd_rewrite_script.
0f31fe77 33611
32b4c839
UD
336122011-09-11 Ulrich Drepper <drepper@gmail.com>
33613
83cd1420
UD
33614 * configure.in: Remove --with-tls option.
33615 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33616 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33617 out in case it is missing.
33618 * sysdeps/ia64/elf/configure.in: Likewise.
33619 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33620 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33621 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33622 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33623 * sysdeps/sh/elf/configure.in: Likewise.
33624 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33625 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33626 * sysdeps/x86_64/elf/configure.in: Likewise.
33627 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33628 * sysdeps/mach/hurd/tls.h: Likewise.
33629
633f745d
UD
33630 [BZ #13067]
33631 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33632
f318beb8
UD
33633 [BZ #13090]
33634 * configure.in: Fix use of AC_INIT.
33635
32b4c839
UD
33636 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33637
3ce1f295
UD
336382011-09-10 Ulrich Drepper <drepper@gmail.com>
33639
bb016596
UD
33640 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33641 __set_errno.
8e58439c
UD
33642 * malloc/hooks.c: Likewise.
33643
aebae053 33644 [BZ #11929]
02d46fc4
UD
33645 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33646 variables statically.
33647 (narenas): Initialize.
33648 (list_lock): Initialize.
bb016596
UD
33649 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33650 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33651 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33652 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33653 Add initializers to main_arena and mp_.
33654 (malloc_state): Remove pagesize member. Change all users to use
33655 GLRO(dl_pagesize).
33656
33657 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33658 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33659 is always initialized.
33660
22a89187
UD
33661 * malloc/malloc.c: Removed unused configurations and dead code.
33662 * malloc/arena.c: Likewise.
33663 * malloc/hooks.c: Likewise.
02d46fc4 33664 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33665
d063d164
UD
33666 * include/tls.h: Removed. USE___THREAD must always be defined.
33667 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33668 * elf/dl-libc.c: Likewise.
33669 * elf/dl-tsd.c: Likewise.
33670 * include/errno.h: Likewise.
33671 * include/netdb.h: Likewise.
33672 * include/resolv.h: Likewise.
33673 * inet/herrno-loc.c: Likewise.
33674 * inet/herrno.c: Likewise.
33675 * malloc/arena.c: Likewise.
33676 * malloc/hooks.c: Likewise.
33677 * malloc/malloc.c: Likewise.
33678 * resolv/res-state.c: Likewise.
33679 * resolv/res_libc.c: Likewise.
33680 * sysdeps/i386/dl-machine.h: Likewise.
33681 * sysdeps/ia64/dl-machine.h: Likewise.
33682 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33683 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33684 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33685 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33686 * sysdeps/sh/dl-machine.h: Likewise.
33687 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33688 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33689 * sysdeps/unix/i386/sysdep.S: Likewise.
33690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33691 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33692 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33693 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33694 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33695 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33696 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33699 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33700 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33701 * sysdeps/x86_64/dl-machine.h: Likewise.
33702 * tls.make.c: Likewise.
33703
3ce1f295
UD
33704 * configure.in: Remove --with-__thread option. Make tests for
33705 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33706 tls_model attribute fail if no support is available. Remove
33707 USE_IN_LIBIO.
33708 * Makeconfig: Adjust for dropped configure option. All features are
33709 now mandatory.
33710 * Makerules: Likewise.
33711 * Versions.def: Likewise.
33712 * argp/argp-fmtstream.c: Likewise.
33713 * argp/argp-fmtstream.h: Likewise.
33714 * argp/argp-help.c: Likewise.
33715 * assert/assert.c: Likewise.
33716 * config.h.in: Likewise.
33717 * config.make.in: Likewise.
33718 * configure: Likewise.
33719 * configure.in: Likewise.
33720 * csu/Versions: Likewise.
33721 * csu/init.c: Likewise.
33722 * elf/tst-audit2.c: Likewise.
33723 * elf/tst-tls10.c: Likewise.
33724 * elf/tst-tls10.h: Likewise.
33725 * elf/tst-tls11.c: Likewise.
33726 * elf/tst-tls12.c: Likewise.
33727 * elf/tst-tls14.c: Likewise.
33728 * elf/tst-tlsmod11.c: Likewise.
33729 * elf/tst-tlsmod12.c: Likewise.
33730 * elf/tst-tlsmod13.c: Likewise.
33731 * elf/tst-tlsmod13a.c: Likewise.
33732 * elf/tst-tlsmod14a.c: Likewise.
33733 * elf/tst-tlsmod15b.c: Likewise.
33734 * elf/tst-tlsmod16a.c: Likewise.
33735 * elf/tst-tlsmod16b.c: Likewise.
33736 * elf/tst-tlsmod7.c: Likewise.
33737 * elf/tst-tlsmod8.c: Likewise.
33738 * elf/tst-tlsmod9.c: Likewise.
33739 * gmon/gmon.c: Likewise.
33740 * grp/fgetgrent_r.c: Likewise.
33741 * grp/putgrent.c: Likewise.
33742 * hurd/fopenport.c: Likewise.
33743 * include/libc-symbols.h: Likewise.
33744 * include/tls.h: Likewise.
33745 * intl/gettextP.h: Likewise.
33746 * intl/loadinfo.h: Likewise.
33747 * locale/global-locale.c: Likewise.
33748 * locale/localeinfo.h: Likewise.
33749 * mach/devstream.c: Likewise.
33750 * malloc/arena.c: Likewise.
33751 * malloc/set-freeres.c: Likewise.
33752 * misc/err.c: Likewise.
33753 * misc/getttyent.c: Likewise.
33754 * misc/mntent_r.c: Likewise.
33755 * posix/getopt.c: Likewise.
33756 * posix/wordexp.c: Likewise.
33757 * pwd/fgetpwent_r.c: Likewise.
33758 * resolv/Versions: Likewise.
33759 * resolv/res_hconf.c: Likewise.
33760 * shadow/fgetspent_r.c: Likewise.
33761 * shadow/putspent.c: Likewise.
33762 * stdio-common/printf_fphex.c: Likewise.
33763 * stdio-common/tmpfile.c: Likewise.
33764 * stdlib/abort.c: Likewise.
33765 * stdlib/fmtmsg.c: Likewise.
33766 * sunrpc/auth_unix.c: Likewise.
33767 * sunrpc/clnt_perr.c: Likewise.
33768 * sunrpc/clnt_tcp.c: Likewise.
33769 * sunrpc/clnt_udp.c: Likewise.
33770 * sunrpc/clnt_unix.c: Likewise.
33771 * sunrpc/openchild.c: Likewise.
33772 * sunrpc/svc_simple.c: Likewise.
33773 * sunrpc/svc_tcp.c: Likewise.
33774 * sunrpc/svc_udp.c: Likewise.
33775 * sunrpc/svc_unix.c: Likewise.
33776 * sunrpc/xdr.c: Likewise.
33777 * sunrpc/xdr_array.c: Likewise.
33778 * sunrpc/xdr_rec.c: Likewise.
33779 * sunrpc/xdr_ref.c: Likewise.
33780 * sunrpc/xdr_stdio.c: Likewise.
33781
1248c1c4
PB
337822011-09-09 Ulrich Drepper <drepper@gmail.com>
33783
33784 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33785
337862011-07-03 Andreas Jaeger <aj@suse.de>
33787
33788 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33789 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33790 regenerate with gen-libm-tests.pl.
33791
337922010-05-12 Petr Baudis <pasky@suse.cz>
33793
33794 [BZ #11589]
33795 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33796 around j0() zero points by switching to j1().
33797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33798 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33801
f22e1074
UD
338022011-09-09 Ulrich Drepper <drepper@gmail.com>
33803
f19009c1
UD
33804 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33805 instead of 0.
33806 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33807 instead of 0.
f19009c1
UD
33808 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33809 Patch in part by Pavel Roskin <proski@gnu.org>.
33810
3f8cc204
UD
33811 [BZ #13138]
33812 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33813 realloc.
33814 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33815 Free memory block if necessary.
33816
f22e1074
UD
33817 [BZ #12847]
33818 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33819 be NULL. Don't lock in this case.
33820
0a2349f9
RM
338212011-09-09 Roland McGrath <roland@hack.frob.com>
33822
33823 * elf/elf.h (ELFOSABI_GNU): New macro.
33824 (ELFOSABI_LINUX): Define to that.
33825
f3cdd467
DZ
338262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33827
33828 * string/strncat.c (strncat): Undef the symbol in case it has been
33829 defined in bits/string.h.
33830
74718d13
UD
338312011-09-09 Ulrich Drepper <drepper@gmail.com>
33832
633e9e0f
UD
33833 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33834
0a2349f9 33835 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33836 link map.
33837
f9924780
AJ
338382011-08-17 Andreas Jaeger <aj@suse.de>
33839
33840 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33841
7f5517aa
PP
338422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33843 Ian Lance Taylor <iant@google.com>
33844
33845 * math/libm-test.inc (lround_test): New testcase.
33846 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33847
762011fe
UD
338482011-09-08 Ulrich Drepper <drepper@gmail.com>
33849
92963737
UD
33850 * Makefile: Remove support for automatic cvs check-ins.
33851 * Makerules: Likewise.
33852 * config.make.in: Likewise.
33853 * configure.in: Likewise.
33854 * intl/Makefile: Likewise.
33855 * locale/Makefile: Likewise.
33856 * po/Makefile: Likewise.
33857 * posix/Makefile: Likewise.
33858 * sysdeps/gnu/Makefile: Likewise.
33859 * sysdeps/mach/hurd/Makefile: Likewise.
33860 * sysdeps/sparc/sparc32/Makefile: Likewise.
33861
b0727fd8
JS
33862 [BZ #13118]
33863 * posix/Makefile (bug-regex32-ENV): Define.
33864 Patch by John Stanley <jpsinthemix@verizon.net>.
33865
a0f33f99
UD
33866 * misc/Makefile (headers): Add bits/select2.h.
33867 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33868 * misc/bits/select2.h: New file.
33869 * include/bits/select2.h: New file.
33870 * debug/Makefile (routines): Add fdelt_chk.
33871 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33872 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33873 FD_ISSET.
33874 * debug/fdelt_chk.c: New file.
33875
762011fe
UD
33876 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33877 * wcsmbs/test-wmemcmp.c: Likewise.
33878 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33879 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33880
338812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33882
33883 * string/Makefile (strop-tests): Add memcmp.
33884 * string/test-wmemcmp.c: New file.
33885 * string/test-memcmp.c: Add wmemcmp support.
33886
7f513ec8
RM
338872011-09-08 Roland McGrath <roland@hack.frob.com>
33888
0442afb4
RM
33889 [BZ #13153]
33890 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33891 2011-07-19 change.
33892
7f513ec8
RM
33893 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33894 garbage value in a __mach_port_mod_refs call in the cases of the
33895 task-self and thread-self ports.
33896
a12b2239
ST
338972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33898
33899 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33900
610f9ab4
AS
339012011-09-08 Andreas Schwab <schwab@redhat.com>
33902
7f513ec8 33903 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33904
48882a1a
LD
339052011-09-07 Ulrich Drepper <drepper@gmail.com>
33906
b49865be
UD
33907 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33908
fdc86bc9
UD
33909 * elf/dl-libc.c (dlerror_run): Pass back error code from
33910 dl_catch_error.
33911
c966526a
UD
33912 [BZ #13123]
33913 * elf/dl-load.c (lose): Free l_origin if it is valid.
33914
48882a1a
LD
33915 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33916 names.
33917 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33918 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33919 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33920 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33921 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33922 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33923
77a2a8b4
AZ
339242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33925
33926 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33927 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33928 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33929 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33930 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33931 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33932 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33933 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33934 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33935 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33936
24f579d8
AM
339372011-08-15 Alan Modra <amodra@gmail.com>
33938
33939 [BZ #13092]
33940 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33941 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33942 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33943 ppc_mcount to static-only-routines.
33944 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33945 __mcount_internal.
33946 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33947 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33948
3d4837df
UD
339492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33950
33951 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33952 for finite and infinity parameters.
33953
22700377
WS
339542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33955
33956 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33957 and add nop instructions for throughput optimization.
33958 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33959
5025581e
WS
339602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33961
33962 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33963 aligned copy for power7 with vector-scalar instructions.
33964 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33965
08a300c9
L
339662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33967
33968 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33969 AVX check.
33970
59178ef9
AS
339712011-09-07 Andreas Schwab <schwab@redhat.com>
33972
33973 [BZ #13144]
33974 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33975 last change.
33976
e38ba7ab
UD
339772011-09-07 Ulrich Drepper <drepper@gmail.com>
33978
33979 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33980 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33981 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33982 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33983 clock_gettime.
33984
d53a73ac
UD
339852011-09-06 Ulrich Drepper <drepper@gmail.com>
33986
fc8bffcc
UD
33987 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33988 Forgot to demangle the pointer.
33989
ceaa0c5d
UD
33990 * sysdeps/i386/sysdep.h: Define atom_text_section.
33991 * sysdeps/x86_64/sysdep.h: Likewise.
33992 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33993 section with atom_text_section.
33994 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33995 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33996 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33997 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33998 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33999
a77d3c17
UD
34000 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34001 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34002 already be defined. Change to take two parameters and don't assign
34003 result to variable. Adjust all users.
34004 Define INTERNAL_GETTIME if not already defined.
34005 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34006 call.
34007 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34008 HAVE_CLOCK_GETTIME_VSYSCALL.
34009 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34010
d53a73ac
UD
34011 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34012 gettimeofday vsyscall, just use time.
34013
a8f84144
AS
340142011-09-06 Andreas Schwab <schwab@redhat.com>
34015
34016 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34017 <errno.h>.
34018
ef606249
UD
340192011-09-06 Ulrich Drepper <drepper@gmail.com>
34020
34021 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34022 syscall on x86-64.
34023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34024 syscall.
34025 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34026 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34027 syscall if possible.
34028
6585cb60
UD
340292011-09-05 Ulrich Drepper <drepper@gmail.com>
34030
34031 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34032 e_ident. Don't pass to find_mapsXX.
34033 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34034
a5f524e4
LD
340352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34036
34037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34038 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34039 * sysdeps/x86_64/multiarch/strchr.S: Update.
34040 Check bit_slow_BSF bit.
34041 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34042 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34043 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34044
554881ef
UD
340452011-09-05 Ulrich Drepper <drepper@gmail.com>
34046
d96de963
UD
34047 [BZ #13134]
34048 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34049 before glibc 2.15.
34050 (tryshell): Define.
34051 (__spawni): Change last parameter to be flag. Test
34052 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34053 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34054 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34055 * posix/spawni.c: Likewise.
34056 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34057 * posix/spawnp.c: Likewise. Change normal version to use
34058 SPAWN_XFLAGS_USE_PATH.
34059 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34060 SPAWN_XFLAGS_TRY_SHELL.
34061
d48e5868
UD
34062 [BZ #13150]
34063 * posix/glob.h: Remove gcc 1.x support.
34064
554881ef
UD
34065 [BZ #13068]
34066 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34067
693fb948
LD
340682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34069
34070 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34071 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34072 strrchr-sse2-bsf
34073 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34074 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34075 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34076 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34077 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34078 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34079
1b48c537
UD
340802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34081
49d42c37
UD
34082 * sysdeps/x86_64/wcscmp.S: New file.
34083
1b48c537
UD
34084 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34085 wcscmp-c wcscmp-sse2
34086 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34087 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34088 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34089 * wcsmbs/wcscmp.c: Allow renaming.
34090
15c95c5d
DM
340912011-09-05 David S. Miller <davem@davemloft.net>
34092
34093 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34094 stack slot, rather than the struct return pointer slot.
34095 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34096 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34098 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34099
2f0ad8f3
UD
341002011-09-05 Ulrich Drepper <drepper@gmail.com>
34101
d88ae418
UD
34102 * po/ja.po: Update from translation team.
34103
2f0ad8f3
UD
34104 [BZ #13144]
34105 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34106 kernel in 64-bit binaries.
34107
5f4318d1
DM
341082011-09-01 David S. Miller <davem@davemloft.net>
34109
34110 * elf/elf.h (HWCAP_SPARC_*): Move to..
34111 * sysdeps/sparc/sysdep.h: this new file and add new values.
34112 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34113 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34114 _DL_HWCAP_COUNT to 24.
34115 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34116 entries.
34117 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34118 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34119 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34121 instead of magic constants.
34122 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34123
3ba57516
DM
341242011-08-31 David S. Miller <davem@davemloft.net>
34125
34126 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34127 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34128 Reimplement to do errno handling inline.
34129 (SYSCALL_ERROR_HANDLER): New macro.
34130 (__SYSCALL_STRING): Do not do errno handling in asm.
34131 (__CLONE_SYSCALL_STRING): Delete.
34132 (__INTERNAL_SYSCALL_STRING): Delete.
34133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34134 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34135 (PSEUDO): Reimplement to do errno handling inline.
34136 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34137 (SYSCALL_ERROR_HANDLER): New macro.
34138 (__SYSCALL_STRING): Do not do errno handling in asm.
34139 (__CLONE_SYSCALL_STRING): Delete.
34140 (__INTERNAL_SYSCALL_STRING): Delete.
34141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34142 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34143 i386.
34144 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34145 (inline_syscall*): Add 'err' argument.
34146 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34147 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34148 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34149 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34150
34151 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34152 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34153
2bc17433
AS
341542011-08-30 Andreas Schwab <schwab@redhat.com>
34155
34156 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34157
fbeb5f4d
JO
341582011-08-29 Jiri Olsa <jolsa@redhat.com>
34159
34160 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34161 directive.
34162
ad69cc26
DM
341632011-08-24 David S. Miller <davem@davemloft.net>
34164
34165 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34166
39dd69df
AS
341672011-08-24 Andreas Schwab <schwab@redhat.com>
34168
34169 * elf/Makefile: Add rules to build and run unload8 test.
34170 * elf/unload8.c: New file.
34171 * elf/unload8mod1.c: New file.
34172 * elf/unload8mod1x.c: New file.
34173 * elf/unload8mod2.c: New file.
34174 * elf/unload8mod3.c: New file.
34175
34176 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34177 it wasn't used.
34178
2c0b250a
DM
341792011-08-23 David S. Miller <davem@davemloft.net>
34180
34181 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34182 subtract stack bias.
34183 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34184 %sp not %fp in calculations.
34185 (_JMPBUF_UNWINDS_ADJ): Likewise.
34186
22044b48
DM
34187 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34188 (aio_suspend): Call it to force an exception region around the
34189 AIO_MISC_WAIT() invocation.
34190
2cae4995
AS
341912011-08-23 Andreas Schwab <schwab@redhat.com>
34192
34193 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34194 backslash.
34195
873a772e
AJ
341962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34197
34198 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34199 protection macro.
34200 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34201 and <dl-machine.h>.
34202 (Elf64_FuncDesc): Remove.
34203
25ad0df1
DM
342042011-08-22 David S. Miller <davem@davemloft.net>
34205
34206 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34207 sigaltstack check, add missing cfi directives.
34208 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34209 missing cfi directives, and sigaltstack handling.
34210
e888bcbe
AS
342112011-08-16 Andreas Schwab <schwab@redhat.com>
34212
34213 [BZ #11724]
34214 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34215 object is seen twice.
34216 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34217
34218 * elf/Makefile (distribute): Add tst-initorder2.c.
34219 (tests): Add tst-initorder2.
34220 (modules-names): Add tst-initorder2a tst-initorder2b
34221 tst-initorder2c tst-initorder2d. Add rules to build them.
34222 ($(objpfx)tst-initorder2.out): New rule.
34223 * elf/tst-initorder2.c: New file.
34224 * elf/tst-initorder2.exp: New file.
34225
87162f46
AS
342262011-08-22 Andreas Schwab <schwab@redhat.com>
34227
70538b7f
AS
34228 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34229
f55ffe58
AS
34230 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34231 dependencies back to end of function.
34232
87162f46
AS
34233 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34234 $(elfobjdir)/ld.so.
34235
91b392a4
UD
342362011-08-21 Ulrich Drepper <drepper@gmail.com>
34237
34238 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34239 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34240 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34241 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34242 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34243 of __vdso_gettimeofday.
34244 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34245 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34246 attribute_hidden.
34247 (_libc_vdso_platform_setup): Remove initialization of
34248 __vdso_gettimeofday and __vdso_time.
34249
5c43483f
UD
342502011-08-20 Ulrich Drepper <drepper@gmail.com>
34251
775a77e7
UD
34252 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34253 and fgetc_unlocked.
34254 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34255 getc_unlocked.
89f447ed 34256
49c74ba9
UD
34257 * elf/dl-open.c (add_to_global): Report additions to the global scope
34258 for LD_DEBUG=scopes.
34259 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34260 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34261
5c43483f
UD
34262 [BZ #13114]
34263 * stdio-common/Makefile (tests): Add bug24.
34264 * stdio-common/bug24.c: New file.
34265
a101b025
AJ
342662011-08-19 Andreas Jaeger <aj@suse.de>
34267
34268 [BZ #13114]
34269 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34270 non-existant file when using close-on-exec mode.
34271
c88f1766
UD
342722011-08-20 Ulrich Drepper <drepper@gmail.com>
34273
0276a718
UD
34274 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34275 the very first instruction.
34276
c88f1766
UD
34277 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34278 the CFI state in the end.
34279 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34280 inclusion of dl-trampoline.h.
34281 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34282
51ccffa0
AS
342832011-08-19 Andreas Schwab <schwab@redhat.com>
34284
94d7165f
AS
34285 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34286 expectations for long double.
34287
51ccffa0
AS
34288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34289 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34290
fd708658 342912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34292
34293 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34294 artificual limit depends upon the system page size.
34295
44f0a71e
UD
342962011-08-17 Ulrich Drepper <drepper@gmail.com>
34297
34298 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34299 * resolv/Makefile: Define CFLAGS-libresolv.
34300
8de79a24
AS
343012011-08-17 Andreas Schwab <schwab@redhat.com>
34302
34303 * nss/makedb.c (compute_tables): Make variables used in nested
34304 function static.
34305
27724598
UD
343062011-08-17 Ulrich Drepper <drepper@gmail.com>
34307
c5305d88
UD
34308 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34309 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34310 if buffer was too small.
34311
27724598
UD
34312 * elf/pldd.c (main): Attach to all threads in the process.
34313 Rewrite /proc handling to use *at functions.
34314
076fe015
UD
343152011-08-16 Ulrich Drepper <drepper@gmail.com>
34316
174baab3
UD
34317 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34318 specifies first scope to show.
34319 (dl_open_worker): Update callers. Move printing scope of new
34320 object to before the relocation.
44f0a71e 34321 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34322 * sysdeps/generic/ldsodefs.h: Update declaration.
34323
076fe015
UD
34324 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34325 string for the scope number.
34326
a60df2c3
UD
343272011-08-14 Ulrich Drepper <drepper@gmail.com>
34328
34329 * nscd/servicescache.c (cache_addserv): Make sure written is always
34330 initialized.
34331
5e4287d1
RM
343322011-08-14 Roland McGrath <roland@hack.frob.com>
34333
85ae0589
RM
34334 * sysdeps/i386/i486/bits/atomic.h
34335 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34336 statement expression, so as to suppress "set but not used" warning.
34337 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34338
69f63097
RM
34339 * string/strncat.c (STRNCAT): Use prototype definition.
34340
675456ef
RM
34341 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34342 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34343 -Iprograms here.
34344 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34345 (localedef-modules): Add localedef.
34346 (locale-modules): Add locale.
34347
5e4287d1
RM
34348 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34349 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34350 to avoid a warning.
34351
9c96ff23
DM
343522011-08-14 David S. Miller <davem@davemloft.net>
34353
34354 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34355 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34356
f9ddf089
UD
343572011-08-13 Ulrich Drepper <drepper@gmail.com>
34358
44f0a71e 34359 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34360 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34361 * elf/rtld.c (dl_main): Set l_name of vDSO.
34362 Call _dl_show_scope when DL_DEBUG_SCOPES.
34363 (process_dl_debug): Recognize scopes flag and also set it for all.
34364 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34365 Declare _dl_show_scope.
34366
1dc27704
UD
34367 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34368 (do_dlopen): Pass caller_dlopen to dl_open.
34369 (__libc_dlopen_mode): Initialize caller_dlopen.
34370
f9ddf089
UD
34371 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34372 of libc. Make tolower call locale-independent. Optimize a bit by
34373 using isdigit instead of isalnum.
34374 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34375
9ac533d3
UD
343762011-08-12 Ulrich Drepper <drepper@gmail.com>
34377
34378 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34379 was a dependency or dynamically loaded.
34380
89edf2e9
UD
343812011-08-11 Ulrich Drepper <drepper@gmail.com>
34382
8e999d29
UD
34383 * intl/l10nflist.c: Allow architecture-specific pop function.
34384 * sysdeps/x86_64/l10nflist.c: New file.
34385
89edf2e9
UD
34386 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34387 classification.
34388
14d96785
AS
343892011-08-10 Andreas Schwab <schwab@redhat.com>
34390
34391 * include/dirent.h: Add libc_hidden_proto for scandirat and
34392 scandirat64. Don't declare __scandirat64.
34393 * dirent/scandirat.c: Add libc_hidden_def.
34394 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34395 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34396
6761ac04
DM
343972011-08-10 David S. Miller <davem@davemloft.net>
34398
34399 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34400 enum.
34401 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34402 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34403 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34404
c55fbd1e
UD
344052011-08-09 Ulrich Drepper <drepper@gmail.com>
34406
34407 * Versions.def [libc]: Add GLIBC_2.15.
34408 * dirent/Makefile (routines): Add scandirat and scandirat64.
34409 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34410 GLIBC_2.15.
34411 * dirent/dirent.h: Declare scandirat and scandirat64.
34412 * dirent/scandirat.c: New file.
34413 * dirent/scandirat64.c: New file.
34414 * sysdeps/wordsize-64/scandirat.c: New file.
34415 * sysdeps/wordsize-64/scandirat64.c: New file.
34416 * dirent/opendir.c: Define opendirat.
34417 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34418 using scandirat.
34419 * dirent/scandir64.c: Adjust for scandir.c change.
34420 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34421 __scandirat64, and __scandir_cancel_handler.
34422 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34423 additional parameter and use openat instead of open (outside of ld.so).
34424 Add new __opendir as wrapper around __opendirat.
34425 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34426 here without requiring old scandirat implementation.
34427
879165f2
UD
344282011-08-08 Ulrich Drepper <drepper@gmail.com>
34429
34430 * dirent/scandir.c (cancel_handler): Renamed to
34431 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34432 defined. Adjust users.
34433 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34434 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34435
cb7e923b
UD
344362011-08-04 Ulrich Drepper <drepper@gmail.com>
34437
16292edd
UD
34438 * string/test-string.h (IMPL): Use __STRING to expand name and then
34439 stringify it.
34440
cb7e923b
UD
34441 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34442 of cleanups.
34443
cff82933
LD
344442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34445
34446 * string/Makefile: Update.
34447 (strop-tests): Append strncat.
34448 * string/test-wcscmp.c: New file.
34449 New comprehensive test for wcscmp.
34450 * string/test-strcmp.c: Update.
34451 (WIDE): New define.
34452
9be9bfcc
AS
344532011-07-22 Andreas Schwab <schwab@redhat.com>
34454
34455 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34456 line.
34457
2e96f1c7
AS
344582011-07-26 Andreas Schwab <schwab@redhat.com>
34459
34460 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34461 encoding to ACE if AI_IDN.
34462
85188888
JJ
344632011-08-01 Jakub Jelinek <jakub@redhat.com>
34464
34465 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34466 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34467
5fa16e9b
LD
344682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34469
34470 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34471 Fix overflow bug in strncat.
34472 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34473
34474 * string/test-strncat.c: Update.
34475 Add new tests for checking overflow bugs.
34476
344772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34478
34479 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34480 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34481 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34482 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34483 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34484 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34485 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34486 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34487 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34488
34489 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34490 (USE_AS_STRCAT): Define.
34491 Add strcat and strncat support.
34492 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34493
8c1a459f
AS
344942011-07-25 Andreas Schwab <schwab@redhat.com>
34495
34496 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34497 __n bigger than INT_MAX+1.
34498 (__strncmp_g): Likewise.
34499
bba33c28
UD
345002011-07-23 Ulrich Drepper <drepper@gmail.com>
34501
798be72d
UD
34502 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34503 * libio/stido.h: Likewise.
34504
8accd4dc
UD
34505 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34506 (AF_NFC): Define.
34507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34508 (AF_NFC): Define.
34509
cbff0d96
UD
34510 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34512 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34513 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34514 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34515
9191c04a
UD
34516 [BZ #13021]
34517 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34518 installed.
34519
bba33c28
UD
34520 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34521 typo.
34522 (_dl_x86_64_save_sse): Likewise.
34523
90f139dd
UD
345242011-07-22 Ulrich Drepper <drepper@gmail.com>
34525
1aae088a
UD
34526 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34527 OSXSAVE.
34528 (_dl_x86_64_save_sse): Likewise.
34529
8e2045f5
UD
34530 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34531
90f139dd
UD
34532 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34533
1d002f25
AS
345342011-07-21 Andreas Schwab <schwab@redhat.com>
34535
34536 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34537 change.
34538 (_dl_x86_64_save_sse): Use correct AVX check.
34539
21137f89
UD
345402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34541
34542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34543 bug in strncpy/strncat.
34544 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34545
a65c0b7a
UD
345462011-07-21 Ulrich Drepper <drepper@gmail.com>
34547
34548 * string/tester.c (test_strcat): Add tests for different alignments
34549 of source and destination.
34550 (test_strncat): Likewise.
34551
6986b98a
UD
345522011-07-20 Ulrich Drepper <drepper@gmail.com>
34553
90bb2039
UD
34554 [BZ #12852]
34555 * posix/glob.c (glob): Check passed in values before using them in
34556 expressions to avoid some overflows.
34557 (glob_in_dir): Likewise.
34558
5644ef54
UD
34559 [BZ #13007]
34560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34561 check for AVX enablement so that we don't crash with old kernels and
34562 new hardware.
34563 * elf/tst-audit4.c: Add same checks here.
34564 * elf/tst-audit6.c: Likewise.
34565
34566 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34567
bfc9dc9b
AS
345682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34569
34570 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34571
702e64bb
UD
345722011-07-20 Ulrich Drepper <drepper@gmail.com>
34573
34574 * po/cs.po: Update from translation team.
34575 * po/bg.po: Likewise.
34576
295e904f
MP
345772011-07-12 Marek Polacek <mpolacek@redhat.com>
34578
34579 * misc/sys/cdefs.h: Add support for const attribute.
34580 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34581 to gnu_dev_{major,minor,makedev} functions.
34582
3ff94596
MP
345832011-07-20 Marek Polacek <mpolacek@redhat.com>
34584
34585 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34586
28b59fca
AS
345872011-07-20 Andreas Schwab <schwab@redhat.com>
34588
34589 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34590 strlen results.
34591
19df733e
AK
345922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34593
34594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34595 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34596 register in order to avoid conflicts with the soft frame pointer
34597 being held in r11 when necessary.
34598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34599 (INTERNAL_VSYSCALL_NCS): Likewise.
34600
c8835729
MP
346012011-07-14 Marek Polacek <mpolacek@redhat.com>
34602
34603 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34604 * elf/dl-fini.c (_dl_fini): Adjust caller.
34605 * elf/dl-close.c (_dl_close_worker): Likewise.
34606 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34607
b902330c
MP
346082011-07-15 Marek Polacek <mpolacek@redhat.com>
34609
8991e135
MP
34610 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34611 "aux_cache->nlibs < 0".
34612
b902330c
MP
34613 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34614 in the reload-count case.
34615
99710781
LD
346162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34617
34618 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34619 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34620 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34621 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34622 * sysdeps/x86_64/multiarch/strcat.S: New file.
34623 * sysdeps/x86_64/multiarch/strncat.S: New file.
34624 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34625 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34626 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34627 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34628 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34629 (USE_AS_STRCAT): Define.
34630 Add strcat and strncat support.
34631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34632 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34633 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34634 * string/strncat.c: Update.
34635 (USE_AS_STRNCAT): Define.
34636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34637 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34638 and i7.
34639 * sysdeps/x86_64/multiarch/init-arch.h
34640 (bit_Prefer_PMINUB_for_stringop): New.
34641 (index_Prefer_PMINUB_for_stringop): Likewise.
34642 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34643 bit_Prefer_PMINUB_for_stringop.
34644
7dc6bd90
UD
346452011-07-19 Ulrich Drepper <drepper@gmail.com>
34646
34647 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34648 buffer64.
34649 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34650 of casting of buffer.
34651 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34652 buffer32 and buffer64.
34653 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34654 writes instead of casting of buffer.
34655 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34656 buffer32.
34657 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34658 casting of buffer.
34659
e0e72284
AS
346602011-07-19 Andreas Schwab <schwab@redhat.com>
34661
34662 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34663
feb1eb0b
UD
346642011-07-19 Ulrich Drepper <drepper@gmail.com>
34665
34666 * nscd/nscd.c (termination_handler): Don't do anything for a database
34667 if it has not yet been initialized.
34668
298711ff
UD
346692011-07-18 Ulrich Drepper <drepper@gmail.com>
34670
34671 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34672
346732011-07-15 Marek Polacek <mpolacek@redhat.com>
34674
34675 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34676
f9d68389
UD
346772011-07-18 Ulrich Drepper <drepper@gmail.com>
34678
34679 * po/nl.po: Update from translation team.
34680 * po/sv.po: Likewise.
34681
db290cf5
RM
346822011-07-16 Roland McGrath <roland@hack.frob.com>
34683
34684 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34685 now disallowed by GCC.
5c550700 34686
fd5e21c7
RM
34687 * configure.in (use-default-link): Default to yes if a test -shared
34688 link meets our qualifications.
34689 * configure: Regenerated.
34690
5c550700
RM
34691 * config.make.in (output-format): New variable.
34692 * configure.in: Check for ld --print-output-format support.
34693 * configure: Regenerated.
34694 * Makerules ($(common-objpfx)format.lds)
34695 [$(output-format) != unknown]: Just use $(output-format),
34696 instead of the linker-script munging.
34697
9fa2c032
RM
346982011-07-14 Roland McGrath <roland@hack.frob.com>
34699
a6928d51
RM
34700 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34701 of $(common-objpfx)shlib.lds.
34702 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34703
661607b3
RM
34704 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34705 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34706
9fa2c032
RM
34707 * configure.in (-z relro check): Adjust test code to add a large
34708 writable data section after it.
34709 * configure: Regenerated.
34710
defe9061
RM
347112011-07-11 Roland McGrath <roland@hack.frob.com>
34712
34713 * configure.in (-z relro check): Fix test code to make the variable
34714 truly const.
34715 * configure: Regenerated.
34716
319b9ad4
UD
347172011-07-11 Ulrich Drepper <drepper@gmail.com>
34718
34719 * nscd/nscd.h (struct traced_file): Define.
34720 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34721 elements. Add traced_files.
34722 (inotify_fd): Declare.
34723 (register_traced_file): Declare.
34724 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34725 (inotify_fd): Export.
34726 (resolv_conf_descr): Remove.
34727 (nscd_init): Move inotify descriptor creation to main.
34728 Don't register files for notification here.
34729 (register_traced_file): New function.
34730 (invalidate_cache): Don't use reset_res to determine whether to call
34731 res_init, go through the list of registered files.
34732 (main_loop_poll): The inotify descriptors are now stored in the
34733 structures for the traced files.
34734 (main_loop_epoll): Likewise
34735 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34736 to __nss_disable_nscd.
34737 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34738 for a database anymore. Check the records for all the registered
34739 files instead.
34740 * nss/Makefile (libnss_files-routines): Add files-init.
34741 (libnss_db-routines): Add db-init.
34742 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34743 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34744 * nss/nss_db/db-init.c: New file.
34745 * nss/nss_files/files-init.c: New file.
34746 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34747 __nss_lookup_function.
34748 (__nss_lookup_function): Call nss_load_library.
34749 (nss_load_all_libraries): New function.
34750 (__nss_disable_nscd): Take parameter with callback function for files
34751 to register. Set is_nscd. Load all the DSOs for the NSS modules
34752 used for the cached services.
34753 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34754 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34755 options for features to all the files in nscd.
34756
34757 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34758
23bee3e8
RM
347592011-07-10 Roland McGrath <roland@hack.frob.com>
34760
34761 * csu/elf-init.c (__libc_csu_init): Comment typo.
34762
46a5b7f0
UD
347632011-07-09 Ulrich Drepper <drepper@gmail.com>
34764
34765 * po/pl.po: Update from translation team.
34766 * po/ja.po: Likewise.
34767 * po/ru.po: Likewise.
34768 * po/ko.po: Likewise.
34769 * po/fr.po: Likewise.
34770
d30cf5bb
RM
347712011-07-09 Roland McGrath <roland@hack.frob.com>
34772
113ddea4
RM
34773 * configure.in (.ctors/.dtors header and trailer check):
34774 Use an empirical test on a built program.
34775 * configure: Regenerated.
34776
574920b4
RM
34777 * configure.in (-z relro check): Use an empirical test on a built DSO.
34778 Detect, but do not require, on ia64.
34779 * configure: Regenerated.
34780
d30cf5bb
RM
34781 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34782 Update tests that use readelf to use $READELF instead.
34783 * configure: Regenerated.
34784
8538fdb3
UD
347852011-07-08 Ulrich Drepper <drepper@gmail.com>
34786
34787 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34788 if the result is not used.
34789
04d08991
AJ
347902011-07-05 Andreas Jaeger <aj@suse.de>
34791
34792 [BZ#9696]
34793 * stdlib/tst-strtod.c: Add testcase.
34794
de283087
AD
347952011-07-07 Ulrich Drepper <drepper@gmail.com>
34796
4e5f31c8 34797 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34798 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34799 The latter has a higher limit. Take additional parameter to pass to
34800 the new function.
34801 (__pathconf): Pass file to __statfs_link_max.
34802 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34803 __statfs_link_max.
34804 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34805 __statfs_link_max.
34806
de283087
AD
34807 [BZ #12868]
34808 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34809 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34810 Handle Lustre.
34811 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34812 (__statfs_filesize_max): Likewise.
34813 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34814
c75fa153
AJ
348152011-07-05 Andreas Jaeger <aj@suse.de>
34816
34817 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34818
1a544854
UD
348192011-07-06 Marek Polacek <mpolacek@redhat.com>
34820
34821 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34822 `status' variable.
34823 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34824 Likewise.
34825
6f0eec67
UD
348262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34827
34828 * Makefile (strop-tests): Add strncat.
34829 * string/test-strncat.c: New file.
34830
aae30307
UD
348312011-06-30 Marek Polacek <mpolacek@redhat.com>
34832
34833 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34834
c0cfb5eb
UD
348352011-06-21 Andreas Jaeger <aj@suse.de>
34836
34837 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34838 Copy rule from iconvdata/Makefile.
34839
01636b21
UD
348402011-07-06 Ulrich Drepper <drepper@gmail.com>
34841
34842 [BZ #12922]
34843 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34844 but no long options are defined, just return 'W'.
34845
9895c8bc
UD
348462011-06-22 Marek Polacek <mpolacek@redhat.com>
34847
34848 [BZ #9696]
34849 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34850
5d4cf042
UD
348512011-07-06 Ulrich Drepper <drepper@gmail.com>
34852
34853 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34854 netgroups to read.
960e5535 34855 (innetgr): Likewise.
5d4cf042 34856
751eb97e
RM
348572011-07-05 Roland McGrath <roland@hack.frob.com>
34858
34859 * config.make.in (install_root): Default to $(DESTDIR).
34860
f15f1e45
UD
348612011-07-05 Ulrich Drepper <drepper@gmail.com>
34862
34863 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34864
4e34ac6a
RM
348652011-07-02 Roland McGrath <roland@hack.frob.com>
34866
5e9b6af4
RM
34867 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34868
84f9ea0f
RM
34869 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34870 containing directory rather than embedding absolute directory names.
34871
ea5ee9f7
RM
34872 * scripts/check-local-headers.sh: Rewritten using awk.
34873 Match by word, not by line. Print error messages for matches.
34874 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34875
1b74661a
RM
34876 * Makerules [shlib-lds-flags empty]:
34877 ($(common-objpfx)libc_pic.opts): New target.
34878 ($(common-objpfx)libc_pic.os.clean): New target.
34879 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34880
34881 * config.make.in (OBJCOPY): New variable.
34882 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34883 * configure: Regenerated.
34884
f781ef40
RM
34885 * config.make.in (use-default-link): New variable.
34886 * configure.in (use_default_link): Grok --with-default-link to set it.
34887 * configure: Regenerated.
34888 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34889 (shlib-lds, shlib-lds-flags): Define to empty.
34890
2d4fa81e
RM
34891 * Makerules (shlib-lds): New variable.
34892 (shlib-lds-flags): New variable.
34893 (build-shlib, build-moduile, build-module-asneeded): Use it.
34894 ($(common-objpfx)libc.so): Use $(shlib-lds).
34895 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34896 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34897
31fffa6b
RM
34898 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34899 DT_FLAGS/DT_FLAGS_1 with zero flags.
34900
4e34ac6a
RM
34901 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34902 linker script munging.
34903
fcfc776b
UD
349042011-07-02 Ulrich Drepper <drepper@gmail.com>
34905
34906 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34907 as 128-bit value.
34908 * crypt/sha512.c (sha512_process_block): Perform total addition using
34909 128-bit if possible.
34910 (__sha512_finish_ctx): Likewise.
34911 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34912 as 64-bit value.
34913 * crypt/sha256.c (SWAP64): Define.
34914 (sha256_process_block): Perform total addition using 64-bit if
34915 possible.
34916 (__sha256_finish_ctx): Likewise.
34917
99231d9a
UD
349182011-07-01 Ulrich Drepper <drepper@gmail.com>
34919
34920 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34922 * nscd/hstcache.c (cache_addhst): Likewise.
34923 * nscd/grpcache.c (cache_addgr): Likewise.
34924 * nscd/aicache.c (addhstaiX): Likewise
34925 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34926
445b4a53
TK
349272011-07-01 Thorsten Kukuk <kukuk@suse.de>
34928
34929 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34930 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34931 * nscd/hstcache.c (cache_addhst): Likewise.
34932 * nscd/grpcache.c (cache_addgr): Likewise.
34933 * nscd/aicache.c (addhstaiX): Likewise
34934
6d4d8e8e
AS
349352011-07-01 Andreas Schwab <schwab@redhat.com>
34936
34937 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34938 domain only when needed.
34939
89f654c5
AS
349402011-06-30 Andreas Schwab <schwab@redhat.com>
34941
34942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34943 is always restored.
34944
cf3b23ff
UD
349452011-06-29 Ulrich Drepper <drepper@gmail.com>
34946
34947 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34948 are re-adding the entry.
34949 * nscd/servicescache.c (cache_addserv): Likewise.
34950
751626f9
AJ
349512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34952
34953 * sysdeps/generic/dl-irel.h: fix protection against multiple
34954 inclusions.
34955 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34956
9113ea1f
UD
349572011-06-28 Ulrich Drepper <drepper@gmail.com>
34958
5c0b8d90
UD
34959 [BZ #12935]
34960 * malloc/memusage.sh: Fix quoting in message.
34961 * debug/xtrace.sh: Likewise.
34962
9113ea1f
UD
34963 * configure.in: Remove support for --experimental-malloc option, make
34964 it the default.
34965 * config.make.in: Likewise.
34966 * malloc/Makefile: Likewise.
34967
a4172181
AS
349682011-06-27 Andreas Schwab <schwab@redhat.com>
34969
34970 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34971 two-byte characters.
34972
78a7eee7
RM
349732011-06-27 Roland McGrath <roland@hack.frob.com>
34974
62bede13
RM
34975 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34976 AC_CACHE_CHECK invocation.
34977 * configure: Regenerated.
34978
78a7eee7
RM
34979 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34980
5ce33a62
UD
349812011-06-27 Ulrich Drepper <drepper@gmail.com>
34982
034807a9
UD
34983 [BZ #12350]
34984 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34985 bit from old_res_options.
34986
4902da17
UD
34987 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34988
5ce33a62
UD
34989 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34990 value type for setfct.
34991
c2344f56
L
349922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34993
34994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34995 __gettimeofday instead of gettimeofday.
34996
68468076
UD
349972011-06-26 Ulrich Drepper <drepper@gmail.com>
34998
34999 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35000
acb0d739
L
350012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35002
35003 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35004
35005 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35006 info.
35007
8912479f
L
350082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35009
35010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35011 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35012 strcpy-sse2-unaligned strncpy-sse2-unaligned
35013 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35014 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35015 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35016 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35017 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35018 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35019 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35020 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35021 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35022 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35023 (STRCPY): Support SSE2 and SSSE3 versions.
35024
d5495a11
UD
350252011-06-24 Ulrich Drepper <drepper@gmail.com>
35026
35027 [BZ #12874]
35028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35029 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35030 kernels which artificially limit size of requests.
35031
0b1cbaae
L
350322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35033
35034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35035 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35036 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35037 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35038 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35039 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35040 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35041 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35042 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35044 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35045 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35046 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35047 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35048 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35050 Enable unaligned load optimization for Intel Core i3, i5 and i7
35051 processors.
35052 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35053 Define.
35054 (index_Fast_Unaligned_Load): Define.
35055 (HAS_FAST_UNALIGNED_LOAD): Define.
35056
07f494a0
MP
350572011-06-23 Marek Polacek <mpolacek@redhat.com>
35058
35059 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35060
fa3fc0fe
UD
350612011-06-22 Ulrich Drepper <drepper@gmail.com>
35062
35063 [BZ #12907]
35064 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35065 until it is clear that the information is realy needed.
35066 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35067
e12df166
AS
350682011-06-22 Andreas Schwab <schwab@redhat.com>
35069
35070 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35071
852eb34d
UD
350722011-06-22 Ulrich Drepper <drepper@gmail.com>
35073
84e2a551
UD
35074 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35075 /sys/devices/system/cpu/online if it is usable.
35076
852eb34d
UD
35077 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35078 reading the information from the /proc filesystem to once a second.
35079
6e502e19
UD
350802011-06-21 Andreas Jaeger <aj@suse.de>
35081
35082 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35083 NULL after inclusion of kernel headers.
35084
75d39ff2
UD
350852011-06-21 Ulrich Drepper <drepper@gmail.com>
35086
51f9aa6a
UD
35087 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35088 calls to internal_setent.
35089
c0244a9d
UD
35090 [BZ #12885]
35091 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35092 addresses using gethostbyname4_r ignore IPv4 addresses.
35093
c5e3c2ae
UD
35094 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35095 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35096
75d39ff2
UD
35097 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35098
42675c6f
DM
350992011-06-20 David S. Miller <davem@davemloft.net>
35100
35101 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35102 inclusions.
35103 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35104
35105 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35106 (elf_irel): Use it.
35107 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35108 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35109 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35110 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35111 * sysdeps/x86_64/dl-irel.h: Likewise.
35112
35113 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35114 * elf/dl-sym.c: Likewise.
35115
57912a71
UD
351162011-06-15 Ulrich Drepper <drepper@gmail.com>
35117
35118 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35119 need to dereference resplen2.
35120
ee22793d
AS
351212011-06-14 Andreas Schwab <schwab@redhat.com>
35122
35123 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35124
a9e836b0
UD
351252011-06-15 Ulrich Drepper <drepper@gmail.com>
35126
77fb9117
UD
35127 * Makeconfig: Define vardbdir and inst_vardbdir.
35128 * nss/Makefile: Add rules to install db-Makefile.
35129
40c1b22c
UD
35130 * nss/nss_db/db-XXX.c: Cleanup.
35131
9f2da732
UD
35132 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35133 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35134 GLIBC_PRIVATE.
35135 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35136 * nss/makedb.c: Implement -g option to specify that value strings
35137 are generated and should not be added to table iterated over for
35138 get*ent calls.
35139 * nss/nss_db/db-initgroups.c: New file.
35140
82e9a1f7
UD
35141 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35142 interface.
35143
c41af17e
UD
35144 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35145 (internal_getgrouplist): Adjust to name change.
35146 Update use_initgroups_entry if this is not the first call.
35147 * nss/databases.def: Add initgroups entry.
35148
a9e836b0
UD
35149 * nss/makedb.c (compute_tables): Check result of multiple hash table
35150 sizes to minimize maximum chain length.
35151
2666d441
UD
351522011-06-14 Ulrich Drepper <drepper@gmail.com>
35153
35154 * Versions.def: Add entry for libnss_db.
35155 * shlib-versions: Likewise.
35156 * nss/Makefile: Add rules to build libnss_db.
35157 * nss/Versions: Add libnss_db information. Organize libnss_files
35158 entries better.
35159 * nss/db-Makefile: Add gshadow support. Change rules for the new
35160 makedb progra. Some minor improvements to generate smaller files.
35161 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35162 here from...
35163 * nss/makedb.c: ...here.
35164 Improve database format to be smaller and require less memory at
35165 runtime.
35166 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35167 db anymore.
35168 * nss/nss_db/db-netgrp.c: Likewise.
35169 * nss/nss_db/db-open.c: Likewise.
35170 * nss/nss_files/flies-XXX.x: Adjust comments.
35171 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35172 * nss/nss_files/files-grp.c: Likewise.
35173 * nss/nss_files/files-hosts.c: Likewise.
35174 * nss/nss_files/files-network.c: Likewise.
35175 * nss/nss_files/files-proto.c: Likewise.
35176 * nss/nss_files/files-pwd.c: Likewise.
35177 * nss/nss_files/files-rpc.c: Likewise.
35178 * nss/nss_files/files-service.c: Likewise.
35179 * nss/nss_files/files-sgrp.c: Likewise.
35180 * nss/nss_files/files-spwd.c: Likewise.
35181 * nss/nss_db/db-alias.c: Removed.
35182 * nss/nss_db/dummy-db.h: Removed.
35183
9ee76b5a
UD
351842011-06-02 Ulrich Drepper <drepper@gmail.com>
35185
35186 * nss/makedb.c: Rewritten to not use database library.
35187 * nss/Makefile: Update to build new makedb program.
35188
c71ca1f8
AJ
351892011-06-14 Andreas Jaeger <aj@suse.de>
35190
35191 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35192 memset declaration.
35193
3154bfb8
UD
351942011-06-10 Andreas Schwab <schwab@redhat.com>
35195
35196 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35197 tmpbuf.
35198
b350afab
RM
351992011-06-10 Roland McGrath <roland@hack.frob.com>
35200
decd4e50
RM
35201 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35202 * elf/Makefile ($(objpfx)ld.so): Likewise.
35203
5615eaf2
RM
35204 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35205 Don't list ld.so twice in dependencies.
35206
35207 * posix/bug-regex31.c: Include <stdlib.h>.
35208
35209 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35210
35211 * nis/nss_compat/compat-spwd.c
35212 (getspent_next_nss_netgr): Remove unused variable.
35213 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35214
35215 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35216 nonmembers" output to use the right array.
35217
35218 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35219
35220 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35221
35222 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35223 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35224 * catgets/gencat.c (read_input_file): Likewise.
35225 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35226
35227 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35228 variable definition inside #if's controlling its use.
35229
35230 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35231
35232 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35233
35234 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35235
35236 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35237 unreachable code.
35238
35239 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35240
b68e08db
RM
35241 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35242 * configure: Regenerated.
35243
b350afab
RM
35244 * Makerules: Revert last change.
35245 * elf/Makefile: Likewise.
35246
28368601
RM
352472011-06-09 Roland McGrath <roland@hack.frob.com>
35248
35249 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35250 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35251 (reloc-link): Likewise.
35252
11988f8f
UD
352532011-06-09 Ulrich Drepper <drepper@gmail.com>
35254
35255 * elf/Makefile: Add rules to build pldd.
35256 * elf/pldd.c: New file.
35257 * elf/pldd-xx.c: New file.
35258
e80fab37
UD
352592011-06-07 Ulrich Drepper <drepper@gmail.com>
35260
35261 * version.h: Update for 2.15 development version.
35262
9b849836
DM
352632011-06-07 David S. Miller <davem@davemloft.net>
35264
35265 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35266 ifuncs.
35267 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35268 elf_machine_lazy_rel): Likewise.
35269 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35270 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35271 elf_machine_lazy_rel): Likewise.
35272 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35273 dl_hwcap via passed in argument.
35274 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35275 Likewise.
35276
5a31b283
AK
352772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35278
35279 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35280
069e52f8
RM
352812011-06-06 Roland McGrath <roland@hack.frob.com>
35282
35283 [BZ #12849]
35284 * manual/fdl-1.1.texi: New file, verbatim from:
35285 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35286 * manual/lgpl-2.1.texi: New file, verbatim from:
35287 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35288 * manual/Makefile (licenses): New variable, list those new file names.
35289 (texis): Use it.
35290 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35291
35292 * manual/fdl.texi: File removed.
35293 * manual/lesser.texi: File removed.
35294 * manual/libc.texinfo (Copying, Documentation License):
35295 Use new @include file names, put @appendix directive before @include.
35296
f16846a5
JJ
352972011-06-04 Jakub Jelinek <jakub@redhat.com>
35298
35299 [BZ #12841]
35300 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35301 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35302 (mq_open): Add __NTH.
35303
3d29045b
L
353042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35305
35306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35307 Assume Intel Core i3/i5/i7 processor if AVX is available.
35308
8c297311
UD
353092011-05-31 Ulrich Drepper <drepper@gmail.com>
35310
35311 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35312 typo.
35313
c8fc0c91
UD
353142011-05-31 Andreas Schwab <schwab@redhat.com>
35315
35316 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35317 memory. Use alloca_account. Fix memory leak when retrying.
35318
5b27a807
UD
353192011-05-31 Ulrich Drepper <drepper@gmail.com>
35320
356f8bc6
UD
35321 * version.h (RELEASE): Bump for 2.14 release.
35322 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35323
5b27a807
UD
35324 * config.make.in (RANLIB): Remove entry.
35325
01f16ab0
UD
353262011-05-30 Ulrich Drepper <drepper@gmail.com>
35327
41fce8bd
UD
35328 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35329 (libc.pot): Work around missing support for .ksh extension in xgettext.
35330
4769ae77
UD
35331 [BZ #12684]
35332 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35333 if both request failed.
35334 (send_dg): In case of server errors clear resplen or *resplen2.
35335
6b1e7d19
UD
35336 [BZ #12454]
35337 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35338 when there are multiple maps.
35339 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35340 (_dl_fini): Remove test here.
35341
01f16ab0
UD
35342 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35343
b1ebd700
UD
353442011-05-29 Ulrich Drepper <drepper@gmail.com>
35345
7ae22829
UD
35346 [BZ #12350]
35347 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35348 bit from old_res_options.
35349 (gaih_inet): Likewise.
35350
553149f6 35351 [BZ #11099]
18a84741 35352 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35353 as signed.
35354
652ffab1
UD
35355 * resolv/res_init.c (res_setoptions): Make the code more compact.
35356
16985fd0
UD
35357 [BZ #11558]
35358 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35359 set RES_USEVC.
35360
0464f746
UD
35361 [BZ #11634]
35362 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35363
7d17596c
UD
35364 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35365
cf6bbbd7
UD
35366 [BZ #11781]
35367 * malloc/malloc.h: Declare malloc hook variables as volatile.
35368
13f1ab36
UD
35369 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35370 in last patch.
35371
b1ebd700
UD
35372 [BZ #11799]
35373 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35374 raise in the comment.
80e2212d
UD
35375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35376 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35377 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35378
ce67228d
UD
353792011-05-28 Ulrich Drepper <drepper@gmail.com>
35380
8887a920
UD
35381 [BZ #12811]
35382 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35383 grow the buffers more if it already has to be sufficient.
35384 (build_wcs_upper_buffer): Likewise.
35385 * posix/regexec.c (check_matching): Likewise.
35386 (clean_state_log_if_needed): Likewise.
35387 (extend_buffers): Don't enlarge buffers beyond size of the input
35388 buffer.
35389 Patches mostly by Emil Wojak <emil@wojak.eu>.
35390 * posix/bug-regex32.c: New file.
35391 * posix/Makefile (tests): Add bug-regex32.
35392
4f031072
UD
35393 * locale/findlocale.c (_nl_find_locale): Return right away if
35394 _nl_explode_name failed.
35395 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35396
d0478f0c
UD
35397 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35398
de81b246
UD
35399 * debug/xtrace.sh: Unify messages.
35400 * malloc/memusage.sh: Likewise.
35401
c738465a
UD
35402 [BZ #12813]
35403 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35404 time symbol from vDSO. Substitute with vsyscall if not available.
35405 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35406 __vdso_time.
35407
f1f929d7
UD
35408 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35409 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35410 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35411 Add sendmmsg and internal_sendmmsg.
35412 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35413 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35414 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35415
ce67228d
UD
35416 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35417 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35418 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35419
e57420c6
UD
354202011-05-27 Ulrich Drepper <drepper@gmail.com>
35421
a8509ca5
UD
35422 [BZ #12813]
35423 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35424 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35425 available.
35426 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35427 __vdso_getcpu.
35428
e57420c6
UD
35429 [BZ #12814]
35430 * iconvdata/Makefile (tests): Add bug-iconv9.
35431 * iconvdata/bug-iconv9.c: New file.
35432
4d07db15
AS
354332011-05-27 Andreas Schwab <schwab@redhat.com>
35434
35435 [BZ #12814]
35436 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35437
ea486f69
JJ
354382011-05-25 Jakub Jelinek <jakub@redhat.com>
35439
35440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35441 (struct user_regs_struct): Change intcs field back to cs.
35442
6f038433
UD
354432011-05-25 Ulrich Drepper <drepper@gmail.com>
35444
35445 * po/ja.po: Update from translation team.
35446
67f86a25
UD
354472011-05-23 Ulrich Drepper <drepper@gmail.com>
35448
35449 [BZ #12795]
35450 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35451 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35452
def7fbd6
AS
354532011-05-20 Andreas Schwab <schwab@redhat.com>
35454
35455 * stdlib/longlong.h: Update from GCC.
35456
f50ef8f1
AS
354572011-05-23 Andreas Schwab <schwab@redhat.com>
35458
35459 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35460 parameter name.
35461 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35462 Add parameter name.
35463 (__sysconf): Pass it down.
35464
de7ce8f1
UD
354652011-05-22 Ulrich Drepper <drepper@gmail.com>
35466
f2962a71
UD
35467 [BZ #12671]
35468 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35469 some situations.
35470 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35471 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35472 add in in __libc_use_alloca calls. Adjust callers.
35473 (glob): Use malloc in some situations.
35474
de7ce8f1
UD
35475 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35476 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35477 pltexit.
35478
aec84f53
UD
354792011-05-21 Ulrich Drepper <drepper@gmail.com>
35480
05bb4a68
UD
35481 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35482 and CLOCK_BOOTTIME_ALARM.
35483
7ea72f99
UD
35484 [BZ #12782]
35485 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35486 is returned.
35487
7e4afad5
UD
35488 * string/_strerror.c (__strerror_r): Print negative errors as signed
35489 numbers.
35490
8e211fec
UD
35491 [BZ #12777]
35492 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35493 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35494 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35495
f7d82dc9
UD
35496 * configure.in: Fix typo in redirection and correct removal of test
35497 files in two cases.
35498
cc9e536d
UD
35499 [BZ #12788]
35500 * locale/setlocale.c (new_composite_name): Fix test to check for
35501 identical name of all categories.
35502
aec84f53
UD
35503 [BZ #12792]
35504 * libio/filedoalloc.c (local_isatty): New function.
35505 (_IO_file_doallocate): Use local_isatty.
35506 * stdio-common/perror.c (perror): In case a new stream is used
35507 forward the stream error.
35508 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35509 error flag.
35510
78e64fdc
RT
355112011-05-20 Ulrich Drepper <drepper@gmail.com>
35512
34a9094f
UD
35513 [BZ #11869]
35514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35515 alloca.
35516 * include/alloca.h (extend_alloca_account): Define.
35517
78e64fdc
RT
35518 [BZ #11857]
35519 * posix/regex.h: Fix comments with documentation of user-accessible
35520 fields after compilation and describe correct free'ing of pattern
35521 after re_compile_pattern.
35522 Patch by Reuben Thomas <rrt@sc3d.org>.
35523
457bddfc
RA
355242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35525
35526 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35527 and -mno-altivec to prevent the compiler from using Altivec and/or
35528 VSX instructions when the corresponding registers are not available.
35529
a4527b51
AS
355302011-05-19 Andreas Schwab <schwab@redhat.com>
35531
35532 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35533
ed690b2f
UD
355342011-05-19 Ulrich Drepper <drepper@gmail.com>
35535
35536 * libio/freopen.c (freopen): Use __dup2, not dup2.
35537 * libio/freopen64.c (freopen64): Likewise.
35538
8db73634
L
355392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35540
35541 [BZ #12775]
35542 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35543 * math/Makefile (tests): Add test-powl.
35544 (CFLAGS-test-powl.c): Define.
35545 * math/test-powl.c: New file.
35546
0a197a9d
L
355472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35548
35549 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35550
ee30c380
UD
355512011-05-17 Ulrich Drepper <drepper@gmail.com>
35552
35553 [BZ #11837]
35554 * iconvdata/gb18030.c: Update to GB18020-2005.
35555
6ce75379
UD
355562011-05-16 Ulrich Drepper <drepper@gmail.com>
35557
a4b89fd8
AR
35558 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35559 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35560 Patch by Aharon Robbins <arnold@skeeve.com>.
35561
ea389b12
UD
35562 [BZ #11892]
35563 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35564 on the stack.
35565
68a3f91f
UD
35566 [BZ #11895]
35567 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35568 through underflows.
35569
15cc7dd1
UD
35570 [BZ #12766]
35571 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35572 point to strings before performing equality test for error_one_per_line
35573 mode.
35574
f3799213
UD
35575 [BZ #11697]
35576 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35577
d79a9c94
UD
35578 [BZ #11820]
35579 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35580 (struct user_fpregs_struct): Avoid __uint*_t types.
35581
56e5eb46
UD
35582 [BZ #6420]
35583 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35584 symbol info. Use it instead of calling _dl_addr locally.
35585 (lock_and_info): New function.
35586 (tr_freehook): Call lock_and_info and pass symbol info as additional
35587 parameter to tr_where.
35588 (tr_mallochook): Likewise.
35589 (tr_reallochook): Likewise.
35590 (tr_memalignhook): Likewise.
35591
6ce75379
UD
35592 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35593 used and couldn't be at all thread-safe.
35594
f8a3b5bf
UD
355952011-05-15 Ulrich Drepper <drepper@gmail.com>
35596
94b7cc37
UD
35597 * libio/freopen.c (freopen): Don't close old file descriptor
35598 before the new one is opened. Instead dup the new file descriptor
35599 to the old one after the new stream is created.
35600 * libio/freopen64.c (freopen64): Likewise.
35601 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35602 * libio/fileops.c (_IO_new_file_close_it): Handle new
35603 _IO_FLAGS2_NOCLOSE flag.
35604 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35605 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35606 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35607 _IO_FLAGS2_NOCLOSE flag.
35608 * include/unistd.h: Add hidden_proto for dup3.
35609 Define __have_dup3.
35610 * io/dup3.c: Define hidden symbol.
35611 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35612
bd25564e
UD
35613 [BZ #7101]
35614 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35615 when an incomplete long option is used.
35616 * posix/tst-getopt_long1.c: New file.
35617 * posix/Makefile (tests): Add tst-getopt_long1.
35618
c84cfef4
UD
35619 [BZ #10138]
35620 * scripts/config.guess: Update from autoconf-2.68.
35621 * scripts/config.sub: Likewise.
35622
3b85df27
UD
35623 [BZ #10157]
35624 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35625 tests into ...
35626 (has_cpuclock): ...this. New function.
35627 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35628 macro here based on has_cpuclock code.
35629
15a856b1
UD
35630 [BZ #10149]
35631 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35632 First byte (not low byte) is now always NUL.
35633 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35634
05f399e6
UD
35635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35636 Use non-cancelable interfaces.
35637
10a52685 35638 [BZ #9809]
94ecc67d
UD
35639 * locale/iso-639.def: Add entry for Sorani.
35640
f8a3b5bf
UD
35641 [BZ #11901]
35642 * include/stdlib.h: Move include protection to the right place.
35643 Define abort_msg_s. Declare __abort_msg with it.
35644 * stdlib/abort.c (__abort_msg): Adjust type.
35645 * assert/assert.c (__assert_fail_base): New function. Majority
35646 of code from __assert_fail. Allocate memory for __abort_msg with
35647 mmap.
35648 (__assert_fail): Now call __assert_fail_base.
35649 * assert/assert-perr.c: Remove bulk of implementation. Use
35650 __assert_fail_base.
35651 * include/assert.hL Declare __assert_fail_base.
35652 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35653 mmap.
35654 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35655
1af4e298
UD
356562011-05-14 Ulrich Drepper <drepper@gmail.com>
35657
f8a3b5bf 35658 [BZ #11952]
d26dfc60
MG
35659 [BZ #12453]
35660 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35661 until all modules are registered in the DTV.
35662 * elf/Makefile: Add rules to build and run tst-tls19.
35663 * elf/tst-tls19.c: New file.
35664 * elf/tst-tls19mod1.c: New file.
35665 * elf/tst-tls19mod2.c: New file.
35666 * elf/tst-tls19mod3.c: New file.
35667 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35668
2fc54d6f
UD
35669 [BZ #12083]
35670 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35671 correctly.
35672
98d76b46
UD
35673 [BZ #12601]
35674 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35675 two-byte sequence errors.
35676 * iconvdata/Makefile (tests): Add bug-iconv8.
35677 * iconvdata/bug-iconv8.c: New file.
35678
da3c19ef
UD
35679 [BZ #12626]
35680 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35681 buf2 definition.
35682
ca408c15
UD
35683 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35684
d6f67f7d
UD
35685 [BZ #12432]
35686 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35687 (dummy_getcfa): New function.
35688 (init): Get _Unwind_GetCFA address, use dummy if not found.
35689 (backtrace_helper): In recursion check, also check whether CFA changes.
35690 (__backtrace): Completely initialize arg.
35691
1af4e298 35692 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35693 storing incomplete byte sequence in state object. Avoid testing for
35694 guaranteed too small input if we know there is enough data available.
1af4e298 35695
da62f81b
AS
356962011-05-11 Andreas Schwab <schwab@redhat.com>
35697
35698 * Makeconfig (+link-pie): Indent.
35699 * Rules (binaries-pie): Define if $(have-fpie) and
35700 $(build-shared).
35701 (binaries-shared): Also filter out $(binaries-pie).
35702 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35703 * nscd/Makefile (others-pie): Add nscd.
35704 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35705 ($(objpfx)nscd): Remove command override.
35706 * login/Makefile (others-pie): Add pt_chown.
35707 ($(objpfx)pt_chown): Remove command override.
35708 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35709 remove command overrides.
35710
fcabc0f8
UD
357112011-05-13 Ulrich Drepper <drepper@gmail.com>
35712
20030ae6
UD
35713 * libio/tst_putwc.c: Fix error messages.
35714
fcabc0f8
UD
35715 [BZ #12724]
35716 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35717 currently writing and seek to current position when not.
35718 * libio/Makefile (tests): Add bug-fclose1.
35719 * libio/bug-fclose1.c: New file.
35720
320a5dc0
PB
357212011-05-12 Ulrich Drepper <drepper@gmail.com>
35722
35723 [BZ #12511]
35724 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35725 don't set DF_1_NODELETE here.
35726 (do_lookup_x): When entering new entry test for copy relocation
35727 and if necessary set DF_1_NODELETE flag.
35728 * elf/tst-unique4.cc: New file.
35729 * elf/tst-unique4.h: New file.
35730 * elf/tst-unique4lib.cc: New file.
35731 * elf/Makefile: Add rules to build and run tst-unique4.
35732 Patch by Piotr Bury <pbury@goahead.com>.
35733
22836f52
UD
357342011-05-11 Ulrich Drepper <drepper@gmail.com>
35735
f574184a
UD
35736 [BZ #12052]
35737 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35738
e1fb097f
UD
35739 [BZ #12625]
35740 * misc/mntent_r.c (addmntent): Flush the stream after the output
35741
22836f52
UD
35742 [BZ #12393]
35743 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35744 (is_trusted_path_normalize): Skip initial colon. Append slash
35745 to empty buffer. Duplicate is_trusted_path code but allow
35746 constructed patch to be prefix.
35747 (is_dst): Allow $ORIGIN followed by /.
35748 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35749 Correct testing of result of is_trusted_path_normalize
35750 (decompose_rpath): Fix warning.
35751
7b3b0b2a
UD
357522011-05-10 Ulrich Drepper <drepper@gmail.com>
35753
35754 [BZ #11257]
35755 * grp/initgroups.c (internal_getgrouplist): When we found the service
35756 list through the initgroups entry in nsswitch.conf do not always
35757 continue on a successful lookup. Don't always use the
eac80ce2 35758 __nss_group_database value if it is set.
7b3b0b2a
UD
35759 * nss/nsswitch.conf (initgroups): Change action for successful db
35760 lookup to continue for compatibility.
35761
2a81eaa5
UD
357622011-05-09 Ulrich Drepper <drepper@gmail.com>
35763
be97a69e
UD
35764 [BZ #11532]
35765 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35766 and CP774 modules.
35767 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35768 and CP774 modules.
35769 * iconvdata/tst-tables.sh: Likewise.
35770 * iconvdata/cp770.c: New file.
35771 * iconvdata/cp771.c: New file.
35772 * iconvdata/cp772.c: New file.
35773 * iconvdata/cp773.c: New file.
35774 * iconvdata/cp774.c: New file.
35775 * iconvdata/testdata/CP770: New file.
35776 * iconvdata/testdata/CP770..UTF8: New file.
35777 * iconvdata/testdata/CP771: New file.
35778 * iconvdata/testdata/CP771..UTF8: New file.
35779 * iconvdata/testdata/CP772: New file.
35780 * iconvdata/testdata/CP772..UTF8: New file.
35781 * iconvdata/testdata/CP773: New file.
35782 * iconvdata/testdata/CP773..UTF8: New file.
35783 * iconvdata/testdata/CP774: New file.
35784 * iconvdata/testdata/CP774..UTF8: New file.
35785
35786 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35787 END CHARMAP line.
35788 * iconvdata/gen-8bit-gap.sh: Likewise.
35789 * iconvdata/gen-8bit.sh: Likewise.
35790
c1e9e399
UD
35791 * locale/iso-639.def: Add ary entry.
35792
24c55fb3 35793 [BZ #11258]
96b4b1b0
UD
35794 * locale/C-translit.h.in: Add U20A1 transliteration.
35795
bdc2f971
KB
35796 [BZ #12178]
35797 * locale/iso-639.def: Add wae entry.
35798 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35799
2952b117
UD
35800 [BZ #12545]
35801 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35802 for n.
35803
2a81eaa5
UD
35804 [BZ #12711]
35805 * locale/C-translit.h.in: Add entry for U20B9.
35806 Patch by pravin.d.s@gmail.com.
35807
28377d1b
UD
358082011-05-08 Ulrich Drepper <drepper@gmail.com>
35809
7fb90fb8
UD
35810 [BZ #12713]
35811 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35812 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35813 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35814 in rtld. Use *stat64.
7fb90fb8 35815 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35816 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35817 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35818 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35819 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35820 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35821 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35822 __fstatat64 macros.
7fb90fb8
UD
35823 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35824 * dirent/rewinddir.c: Add libc_hidden_def.
35825 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35826 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35827
28377d1b
UD
35828 * include/dirent.h (__alloc_dir): Add flags parameter.
35829 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35830 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35831 __alloc_dir.
35832 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35833 from fdopendir if O_CLOEXEC is already set.
35834
66bdbaa4
AM
358352011-03-15 Alan Modra <amodra@gmail.com>
35836
35837 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35838 l_tls_firstbyte_offset non-zero. Save padding offset in
35839 l_tls_firstbyte_offset for later use.
35840 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35841 freeing static tls block.
35842
95721191
JN
358432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35844
35845 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35846 where #ifdef was intended. The intent is to prevent ARG_MAX from
35847 being defined by the kernel headers.
35848
f87dfb1f
UD
358492011-05-07 Ulrich Drepper <drepper@gmail.com>
35850
35851 [BZ #12734]
35852 * resolv/resolv.h: Define RES_NOTLDQUERY.
35853 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35854 no-tld-query and set RES_NOTLDQUERY.
35855 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35856 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35857 modern BIND to search name as TLD unless forbidden.
35858
47c3cd7a
UD
358592011-05-07 Petr Baudis <pasky@suse.cz>
35860 Ulrich Drepper <drepper@gmail.com>
35861
35862 [BZ #12393]
35863 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35864 (is_trusted_path): ...to here.
c1e9ea35 35865 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35866 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35867 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35868
8a35c912
PP
358692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35870
35871 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35872 __BEGIN/__END_DECLS.
35873
acd41f47
UD
358742011-05-06 Ulrich Drepper <drepper@gmail.com>
35875
35876 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35877 NSS_STATUS_NOTFOUND if no record was found.
35878
597df647
AS
358792011-05-05 Andreas Schwab <schwab@redhat.com>
35880
35881 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35882 (headers-not-in-tirpc): Remove rpc/netdb.h
35883 * resolv/netdb.h: Revert last change.
35884
b9af1301
PP
358852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35886
35887 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35888 circular dependency between libgcc.a and libc.a.
35889
4e34d5f5
AS
358902011-05-05 Andreas Schwab <schwab@redhat.com>
35891
35892 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35893 * nis/Makefile: Don't install rpcsvc/*.
35894 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35895 instead of <rpc/types.h>.
35896 (MAXHOSTNAMELEN): Define.
35897
00ee369c
AS
358982011-05-03 Andreas Schwab <schwab@redhat.com>
35899
35900 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35901
0b592a30
MB
359022011-04-28 Maciej Babinski <mbabinski@google.com>
35903
35904 [BZ #12714]
35905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35906 gethostbyname4_r when IPv6 results are possible.
35907
6e04cbbe
UD
359082011-05-02 Ulrich Drepper <drepper@gmail.com>
35909
35910 [BZ #12723]
35911 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35912 _PC_PIPE_BUF handling.
35913
e4ecafe0
BH
359142011-04-30 Bruno Haible <bruno@clisp.org>
35915
35916 [BZ #12717]
35917 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35918 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35919 to 'int'.
35920 * inet/getnameinfo.c (getnameinfo): Likewise.
35921
125ee683
UD
359222011-04-29 Ulrich Drepper <drepper@gmail.com>
35923
35924 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35925 to groups setting in database lookup.
35926 * nss/nsswitch.conf: Add initgroups entry.
35927
b722481a
EB
359282011-04-22 Ulrich Drepper <drepper@gmail.com>
35929
35930 [BZ #12685]
35931 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35932 mode string.
35933 Patch by Eric Blake <eblake@redhat.com>.
35934
4df46dbd
L
359352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35936
35937 * sunrpc/Makefile (need-export-routines): Add svc_run.
35938 (routines): Remove svc_run.
35939 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35940 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35941 * sunrpc/svc_run.c (svc_run): Likewise.
35942 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35943
e84142d2
UD
359442011-04-21 Ulrich Drepper <drepper@gmail.com>
35945
35946 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35947 problem in reallocation in last patch.
35948
877175d8
UD
359492011-04-20 Ulrich Drepper <drepper@gmail.com>
35950
35951 * sunrpc/Makefile: Move inclusion of Rules.
35952
ab8eed78
UD
359532011-04-19 Ulrich Drepper <drepper@gmail.com>
35954
35955 * nss/nss_files/files-initgroups.c: New file.
35956 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35957 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35958 _nss_files_initgroups_dyn.
35959
e3d8f584
RS
359602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35961
35962 * elf/elf.h (R_ARM_IRELATIVE): Define.
35963
af190f45
UD
359642011-04-19 Ulrich Drepper <drepper@gmail.com>
35965
35966 * po/ru.po: Update from translation team.
35967
53cf59ef
UD
359682011-04-17 Ulrich Drepper <drepper@gmail.com>
35969
35970 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35971 dependencies.
35972
4c559bcd
MF
359732011-02-06 Mike Frysinger <vapier@gentoo.org>
35974
35975 [BZ #12653]
35976 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35977 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35978 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35979 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35980 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35981
4420675c
AS
359822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35983
35984 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35985 differing bytes.
35986 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35987 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35988 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35989
75ea32ab
UD
359902011-04-17 Ulrich Drepper <drepper@gmail.com>
35991
35992 [BZ #12420]
35993 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35994 storing it.
35995 * stdlib/bug-getcontext.c: New file.
35996 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35997
27390476
AK
359982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35999
36000 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36001 instructions into .machine "z9-109".
36002 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36003 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36004
10442705
AK
360052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36006
36007 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36008 between environment variables and auxiliary vector.
36009
7b57bfe5
UD
360102011-04-16 Ulrich Drepper <drepper@gmail.com>
36011
36012 * Makefile: Add rules to build linkobj/libc.so.
36013 * include/libc-symbols.h: Define libc_hidden_nolink.
36014 * include/rpc/auth.h: Mark functions which are to be hidden.
36015 * include/rpc/auth_des.h: Likewise.
36016 * include/rpc/auth_unix.h: Likewise.
36017 * include/rpc/clnt.h: Likewise.
36018 * include/rpc/des_crypt.h: Likewise.
36019 * include/rpc/key_prot.h: Likewise.
36020 * include/rpc/pmap_clnt.h: Likewise.
36021 * include/rpc/pmap_prot.h: Likewise.
36022 * include/rpc/pmap_rmt.h: Likewise.
36023 * include/rpc/rpc_msg.h: Likewise.
36024 * include/rpc/svc.h: Likewise.
36025 * include/rpc/svc_auth.h: Likewise.
36026 * include/rpc/xdr.h: Likewise.
36027 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36028 * nss/Makefile: Likewise.
36029 * sunrpc/Makefile: Don't install headers. Build library with normal
36030 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36031 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36032 for the compat linking library. Remove use of INTDEF/INTUSE.
36033 * sunrpc/auth_none.c: Likewise.
36034 * sunrpc/auth_unix.c: Likewise.
36035 * sunrpc/authdes_prot.c: Likewise.
36036 * sunrpc/authuxprot.c: Likewise.
36037 * sunrpc/clnt_gen.c: Likewise.
36038 * sunrpc/clnt_perr.c: Likewise.
36039 * sunrpc/clnt_raw.c: Likewise.
36040 * sunrpc/clnt_simp.c: Likewise.
36041 * sunrpc/clnt_tcp.c: Likewise.
36042 * sunrpc/clnt_udp.c: Likewise.
36043 * sunrpc/clnt_unix.c: Likewise.
36044 * sunrpc/des_crypt.c: Likewise.
36045 * sunrpc/des_soft.c: Likewise.
36046 * sunrpc/get_myaddr.c: Likewise.
36047 * sunrpc/key_call.c: Likewise.
36048 * sunrpc/key_prot.c: Likewise.
36049 * sunrpc/netname.c: Likewise.
36050 * sunrpc/pm_getmaps.c: Likewise.
36051 * sunrpc/pm_getport.c: Likewise.
36052 * sunrpc/pmap_clnt.c: Likewise.
36053 * sunrpc/pmap_prot.c: Likewise.
36054 * sunrpc/pmap_prot2.c: Likewise.
36055 * sunrpc/pmap_rmt.c: Likewise.
36056 * sunrpc/publickey.c: Likewise.
36057 * sunrpc/rpc_cmsg.c: Likewise.
36058 * sunrpc/rpc_common.c: Likewise.
36059 * sunrpc/rpc_dtable.c: Likewise.
36060 * sunrpc/rpc_prot.c: Likewise.
36061 * sunrpc/rpc_thread.c: Likewise.
36062 * sunrpc/rtime.c: Likewise.
36063 * sunrpc/svc.c: Likewise.
36064 * sunrpc/svc_auth.c: Likewise.
36065 * sunrpc/svc_authux.c: Likewise.
36066 * sunrpc/svc_raw.c: Likewise.
36067 * sunrpc/svc_run.c: Likewise.
36068 * sunrpc/svc_simple.c: Likewise.
36069 * sunrpc/svc_tcp.c: Likewise.
36070 * sunrpc/svc_udp.c: Likewise.
36071 * sunrpc/svc_unix.c: Likewise.
36072 * sunrpc/svcauth_des.c: Likewise.
36073 * sunrpc/xcrypt.c: Likewise.
36074 * sunrpc/xdr.c: Likewise.
36075 * sunrpc/xdr_array.c: Likewise.
36076 * sunrpc/xdr_float.c: Likewise.
36077 * sunrpc/xdr_intXX_t.c: Likewise.
36078 * sunrpc/xdr_mem.c: Likewise.
36079 * sunrpc/xdr_rec.c: Likewise.
36080 * sunrpc/xdr_ref.c: Likewise.
36081 * sunrpc/xdr_sizeof.c: Likewise.
36082 * sunrpc/xdr_stdio.c: Likewise.
36083
e6c61494
UD
360842011-04-10 Ulrich Drepper <drepper@gmail.com>
36085
36086 [BZ #12650]
36087 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36088 * sysdeps/ia64/dl-tls.h: Likewise.
36089 * sysdeps/powerpc/dl-tls.h: Likewise.
36090 * sysdeps/s390/dl-tls.h: Likewise.
36091 * sysdeps/sh/dl-tls.h: Likewise.
36092 * sysdeps/sparc/dl-tls.h: Likewise.
36093 * sysdeps/x86_64/dl-tls.h: Likewise.
36094 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36095
34fe483e
AS
360962011-03-14 Andreas Schwab <schwab@redhat.com>
36097
36098 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36099 rpath element also skip the following colon.
36100 (expand_dynamic_string_token): Add is_path parameter and pass
36101 down to DL_DST_REQUIRED and _dl_dst_substitute.
36102 (decompose_rpath): Call expand_dynamic_string_token with
36103 non-zero is_path. Ignore empty rpaths.
36104 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36105 with zero is_path.
36106
f12a32e6
AS
361072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36108
36109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36110 Make cancelable.
36111
38a7d692
UD
361122011-04-09 Ulrich Drepper <drepper@gmail.com>
36113
36114 [BZ #12655]
36115 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36116 Patch by Filipe David Manana <fdmanana@apache.org>.
36117
e451d22b
AS
361182011-04-07 Andreas Schwab <schwab@redhat.com>
36119
36120 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36121 Maintain aligned stack.
36122 (CHECK_RSP): Remove unused macro.
36123
dedc7c7b
UD
361242011-04-03 Ulrich Drepper <drepper@gmail.com>
36125
36126 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36127 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36128
94521213
UD
361292011-04-02 Ulrich Drepper <drepper@gmail.com>
36130
36131 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36132
8cb700c0 36133 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36134
0354e355
L
361352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36136
36137 [BZ #12518]
36138 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36139 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36140 * sysdeps/x86_64/memmove.c: New file.
36141 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36142 (memcpy): Renamed to ...
36143 (__new_memcpy): This.
36144 (memcpy): Provide GLIBC_2_14 memcpy.
36145 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36146 (memcpy): Provide GLIBC_2_2_5 memcpy.
36147
8593482f
UD
361482011-04-01 Ulrich Drepper <drepper@gmail.com>
36149
36150 [BZ #12631]
36151 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36152
81a5726b
AS
361532011-03-30 Andreas Schwab <schwab@redhat.com>
36154
36155 * misc/syncfs.c: New file.
36156 * misc/Makefile (routines): Add syncfs.
36157 * posix/unistd.h: Declare syncfs.
36158 * sysdeps/unix/syscalls.list: Add syncfs.
36159
00e5419f
AS
361602011-04-01 Andreas Schwab <schwab@redhat.com>
36161
36162 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36163 open_by_handle_at.
36164 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36165 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36166 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36167 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36168 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36169 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36171
748876bf
UD
361722011-04-01 Ulrich Drepper <drepper@gmail.com>
36173
658e451d
UD
36174 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36175 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36176 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36178 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36181
748876bf
UD
36182 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36183 sync_file_range.c with -fexceptions.
36184 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36185 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36186 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36187 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36188 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36189 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36191 sync_file_range as cancellation point
36192 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36193 now a wrapper around __call_sync_file_range with cancellation handling.
36194 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36195 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36196 function name to __call_sync_file_range.
36197 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36198 Add call_sync_file_range.
748876bf 36199
6e63d5e1
AS
362002011-04-01 Andreas Schwab <schwab@redhat.com>
36201
36202 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36203 bits/timex.h.
6e63d5e1 36204
46998f74
UD
362052011-04-01 Ulrich Drepper <drepper@gmail.com>
36206
4c1423ed
UD
36207 * iconv/iconv.h: Fix typo in comment.
36208 * io/fcntl.h: Likewise.
36209 * libio/stdio.h: Likewise.
36210 * posix/spawn.h: Likewise.
36211 * posix/unistd.h: Likewise.
36212 * stdlib/stdlib.h: Likewise.
36213 * time/time.h: Likewise.
36214 * wcsmbs/wchar.h: Likewise.
36215
158648c0
UD
36216 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36217 open_by_handle): Add.
36218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36219 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36220 Augment a few comments.
36221 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36223 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36225 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36226 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36227 open_by_handle.
36228
46998f74
UD
36229 * io/fcntl.h (AT_EMPTY_PATH): Define.
36230
83fe108b
UD
362312011-03-30 Ulrich Drepper <drepper@gmail.com>
36232
36233 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36234 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36235 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36236 to...
36237 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36238 * Versions.def: Add GLIBC_2.14.
36239 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36240 Export.
83fe108b 36241
bb242059
UD
362422011-03-22 Ulrich Drepper <drepper@gmail.com>
36243
36244 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36245 round counter.
36246 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36247
c97a1282
L
362482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36249
36250 [BZ #12597]
36251 * string/test-strncmp.c (do_page_test): New function.
36252 (check2): Likewise.
36253 (test_main): Call check2.
36254 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36255
2a115601
UD
362562011-03-20 Ulrich Drepper <drepper@gmail.com>
36257
36258 [BZ #12587]
36259 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36260 Handle cache information in CPU leaf 4.
36261 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36262
8126d904
UD
362632011-03-18 Ulrich Drepper <drepper@gmail.com>
36264
042c49c6 36265 [BZ #12583]
8126d904
UD
36266 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36267 character representation.
36268 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36269
ccfe366e
RA
362702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36271
36272 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36273 END(__isnan) to END(__isnanf) to match function entry point/label
36274 EALIGN(__isnanf,...).
36275
c6e13027
JJ
362762011-03-10 Jakub Jelinek <jakub@redhat.com>
36277
36278 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36279
33f85a3f
UD
362802011-03-10 Ulrich Drepper <drepper@gmail.com>
36281
028478fa
UD
36282 [BZ #12510]
36283 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36284 copy from the symbol referenced in the relocation to initialize the
36285 used variable.
36286 Patch by Piotr Bury <pbury@goahead.com>.
36287 * elf/Makefile: Add rules to build and tst-unique3.
36288 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36289 * elf/tst-unique3.cc: New file.
36290 * elf/tst-unique3.h: New file.
36291 * elf/tst-unique3lib.cc: New file.
36292 * elf/tst-unique3lib2.cc: New file.
36293
33f85a3f
UD
36294 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36295
03592fc7
MF
362962011-03-10 Mike Frysinger <vapier@gentoo.org>
36297
36298 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36299 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36300 to _start.
03592fc7 36301
6a5ee102
UD
363022011-03-06 Ulrich Drepper <drepper@gmail.com>
36303
36304 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36305 to-be-loaded object along a path to loader is ld.so.
36306
7e4ba49c
HJ
363072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36308 Ulrich Drepper <drepper@gmail.com>
36309
36310 * sysdeps/x86_64/memset.S: After aligning destination, code
36311 branches to different locations depending on the value of
36312 misalignment, when multiarch is enabled. Fix this.
36313
363142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36315
36316 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36317 Set _x86_64_preferred_memory_instruction for AMD processsors.
36318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36319 Set bit_Prefer_SSE_for_memop for AMD processors.
36320
13a804de
UD
363212011-03-04 Ulrich Drepper <drepper@gmail.com>
36322
36323 * libio/fmemopen.c (fmemopen): Optimize a bit.
36324
9d25c392
AS
363252011-03-03 Andreas Schwab <schwab@redhat.com>
36326
36327 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36328
a5543c6a
RM
363292011-03-03 Roland McGrath <roland@redhat.com>
36330
36331 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36332
012d35f7
DM
363332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36334
7e4ba49c 36335 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36336 __bzero_ultra1 instead of __memset_ultra1.
36337
4bff6e01
AS
363382011-02-23 Andreas Schwab <schwab@redhat.com>
36339 Ulrich Drepper <drepper@gmail.com>
36340
36341 [BZ #12509]
36342 * include/link.h (struct link_map): Add l_orig_initfini.
36343 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36344 returning unsuccessfully.
36345 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36346 close of a file loaded at startup, restore the original l_initfini
36347 list.
36348 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36349 list, store the pointer.
36350 * elf/Makefile ($(objpfx)noload-mem): New rule.
36351 (noload-ENV): Define.
36352 (tests): Add $(objpfx)noload-mem.
36353 * elf/noload.c: Include <memcheck.h>.
36354 (main): Call mtrace. Close all opened handles.
36355
f2092faf
AS
363562011-02-17 Andreas Schwab <schwab@redhat.com>
36357
36358 [BZ #12454]
36359 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36360 dependencies are missing.
36361
6c8a2e88
ST
363622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36363
f2092faf 36364 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36365 Hurd needs munmap.
36366 * sysdeps/mach/hurd/ifreq.h: New file.
36367
84a42118
PB
363682011-01-27 Petr Baudis <pasky@suse.cz>
36369 Ulrich Drepper <drepper@gmail.com>
36370
071f805e 36371 [BZ 12445]#
84a42118
PB
36372 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36373 to extend_alloca().
36374 * stdio-common/bug23.c: New file.
36375 * stdio-common/Makefile (tests): Add bug23.
36376
e23fe25b
AS
363772010-09-28 Andreas Schwab <schwab@redhat.com>
36378 Ulrich Drepper <drepper@gmail.com>
36379
36380 [BZ #12489]
36381 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36382 before performing relro protection. At old place add assertion
36383 to make sure nothing changed.
36384
d3f02e10
NS
363852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36386 Glauber de Oliveira Costa <glommer@gmail.com>
36387
36388 * elf/elf.h: Add new ARM TLS relocs.
36389
d55fd7a5
RA
363902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36391
36392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36393 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36394 cast from r3.
36395 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36396 'tests' variable.
36397 * sysdeps/wordsize-64/tst-writev.c: New file.
36398
2206397e
RA
363992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36400
36401 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36402 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36403 insns in _dl_start to prevent a TOC reference before relocs are
36404 resolved.
36405
e9433893
UD
364062011-02-15 Ulrich Drepper <drepper@gmail.com>
36407
36408 [BZ #12469]
36409 * Makeconfig: Remove RANLIB definition.
36410 * Makerules: Don't use RANLIB.
36411 * aclocal.m4: Remove ranlib test.
36412 * configure.in: No need to check for ranlib.
36413 * elf/rtld-Rules: Don't use RANLIB.
36414
f75286c6
ST
364152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36416
8e31c82d
ST
36417 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36418 protection macro.
36419 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36420 inclusion protection macro.
36421
f75286c6
ST
36422 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36423 SIGRTMIN and SIGRTMAX and print information in that case only when
36424 SIGRTMIN is defined.
36425
c1d0e639
JJ
364262011-02-11 Jakub Jelinek <jakub@redhat.com>
36427
36428 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36429 arginfo fn returning -1.
36430
36431 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36432 and thousands string is zero terminated.
36433
edf9294e
AS
364342011-02-03 Andreas Schwab <schwab@redhat.com>
36435
36436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36437 sysdeps/unix/sysv/linux/bits/socket.h.
36438
2b7e92df
ST
364392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36440
edf9294e
AS
36441 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36442 (__CPU_COUNT): Remove old macros.
36443 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36444 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36445 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36446 (__sched_cpualloc, __sched_cpufree): Add declarations.
36447
a4c7ea7b
UD
364482011-02-05 Ulrich Drepper <drepper@gmail.com>
36449
36450 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36451 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36452 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36453 (readdhstai): Return value of addhstaiX call.
36454 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36455 (addgrbyX): Return value returned by cache_addgr.
36456 (readdgrbyname): Return value returned by addgrbyX.
36457 (readdgrbygid): Likewise.
36458 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36459 (addpwbyX): Return value returned by cache_addpw.
36460 (readdpwbyname): Return value returned by addhstbyX.
36461 (readdpwbyuid): Likewise.
36462 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36463 (addservbyX): Return value returned by cache_addserv.
36464 (readdservbyname): Return value returned by addservbyX:
36465 (readdservbyport): Likewise.
36466 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36467 (addhstbyX): Return value returned by cache_addhst.
36468 (readdhstbyname): Return value returned by addhstbyX.
36469 (readdhstbyaddr): Likewise.
36470 (readdhstbynamev6): Likewise.
36471 (readdhstbyaddrv6): Likewise.
36472 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36473 (readdinitgroups): Return value returned by addinitgroupsX.
36474 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36475 (prune_cache): Keep track of timeout value of re-added entries.
36476 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36477 * nscd/nscd.h: Adjust prototypes of readd* functions.
36478
a0bf67cc
RM
364792011-02-04 Roland McGrath <roland@redhat.com>
36480
36481 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36482 (nis_stats): Likewise.
36483 * nis/nis_modify.c (nis_modify): Likewise.
36484 * nis/nis_remove.c (nis_remove): Likewise.
36485 * nis/nis_add.c (nis_add): Likewise.
36486
36487 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36488
36489 * posix/fnmatch_loop.c: Add some consts.
36490
36491 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36492
435b95eb
L
364932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36494
36495 [BZ #12460]
36496 * config.make.in (config-cflags-novzeroupper): Define.
36497 * configure.in: Substitute libc_cv_cc_novzeroupper.
36498 * elf/Makefile (AVX-CFLAGS): Define.
36499 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36500 (CFLAGS-tst-auditmod4a.c): Likewise.
36501 (CFLAGS-tst-auditmod4b.c): Likewise.
36502 (CFLAGS-tst-auditmod6b.c): Likewise.
36503 (CFLAGS-tst-auditmod6c.c): Likewise.
36504 (CFLAGS-tst-auditmod7b.c): Likewise.
36505 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36506
8517b15e
UD
365072011-02-02 Ulrich Drepper <drepper@gmail.com>
36508
36509 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36510 function to the callback.
36511 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36512
10a656fe
AS
365132011-02-02 Andreas Schwab <schwab@redhat.com>
36514
36515 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36516 of errno.
36517
968dad0a
UD
365182011-01-19 Ulrich Drepper <drepper@gmail.com>
36519
9f94d2ea 36520 [BZ #11724]
968dad0a
UD
36521 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36522 of constructors.
36523 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36524 of destructors.
36525 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36526
36527 [BZ #11724]
36528 * elf/Makefile: Add rules to build and run new test.
36529 * elf/tst-initorder.c: New file.
36530 * elf/tst-initorder.exp: New file.
36531 * elf/tst-initordera1.c: New file.
36532 * elf/tst-initordera2.c: New file.
36533 * elf/tst-initordera3.c: New file.
36534 * elf/tst-initordera4.c: New file.
36535 * elf/tst-initorderb1.c: New file.
36536 * elf/tst-initorderb2.c: New file.
36537 * elf/tst-order-a1.c: New file.
36538 * elf/tst-order-a2.c: New file.
36539 * elf/tst-order-a3.c: New file.
36540 * elf/tst-order-a4.c: New file.
36541 * elf/tst-order-b1.c: New file.
36542 * elf/tst-order-b2.c: New file.
36543 * elf/tst-order-main.c: New file.
36544 New test case by George Gensure <werkt0@gmail.com>.
36545
86e92359
UD
365462010-10-01 Andreas Schwab <schwab@redhat.com>
36547
36548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36549 decoding ACE if AI_CANONIDN.
36550
5d5732b0
UD
365512011-01-18 Ulrich Drepper <drepper@gmail.com>
36552
36553 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36554
a77e8cbc
UD
365552011-01-17 Ulrich Drepper <drepper@gmail.com>
36556
6392473f
UD
36557 * version.h (RELEASE): Bump for 2.13 release.
36558 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36559
620a0529
UD
36560 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36561
18ba70a5
UD
36562 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36563 MADV_NOHUGEPAGE.
32465c3e
UD
36564 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36565 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36566 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36567 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36568 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36569 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36570
c0dafcf1
UD
36571 * posix/getconf.c: Update copyright year.
36572 * catgets/gencat.c: Likewise.
36573 * csu/version.c: Likewise.
36574 * debug/catchsegv.sh: Likewise.
36575 * debug/xtrace.sh: Likewise.
36576 * elf/ldconfig.c: Likewise.
36577 * elf/ldd.bash.in: Likewise.
36578 * elf/sprof.c (print_version): Likewise.
36579 * iconv/iconv_prog.c: Likewise.
36580 * iconv/iconvconfig.c: Likewise.
36581 * locale/programs/locale.c: Likewise.
36582 * locale/programs/localedef.c: Likewise.
36583 * malloc/memusage.sh: Likewise.
36584 * malloc/mtrace.pl: Likewise.
36585 * nscd/nscd.c (print_version): Likewise.
36586 * nss/getent.c: Likewise.
36587
a77e8cbc
UD
36588 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36589 PF_CAIF, and PF_ALG.
36590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36591
77e8bddf
AS
365922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36593
1f20b93a
AS
36594 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36595 (modules-names): Use them.
36596 (ifunc-test-modules, ifunc-pie-tests): Define.
36597 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36598 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36599 (test-extras): Likewise.
36600 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36601 $(compile-command.c).
36602 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36603 (all-built-dso): Define.
36604 (check-textrel.out, check-execstack.out): Depend on it.
36605
77e8bddf
AS
36606 * configure.in: Don't override --enable-multi-arch.
36607
bc425b33
UD
366082011-01-15 Ulrich Drepper <drepper@gmail.com>
36609
36610 [BZ #6812]
36611 * nscd/hstcache.c (tryagain): Define.
36612 (cache_addhst): Return tryagain not notfound for temporary errors.
36613 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36614 failed.
36615
794c3ad3
UD
366162011-01-14 Ulrich Drepper <drepper@gmail.com>
36617
70181fdd
UD
36618 [BZ #10563]
36619 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36620 to make the syscall.
36621 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36622
794c3ad3
UD
36623 [BZ #12378]
36624 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36625 and fall back to matching as normal character if the string ends before
36626 the matching ']' is found. This is what POSIX requires.
36627 * posix/testfnm.c: Adjust test result.
36628 * posix/globtest.sh: Adjust test result. Add new test.
36629 * posix/tst-fnmatch.input: Likewise.
36630 * posix/tst-fnmatch2.c: Add new test.
36631
68dc9497
AS
366322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36633
36634 * elf/Makefile (check-execstack): Revert last change. Depend on
36635 check-execstack.h.
36636 (check-execstack.h): New target.
36637 (generated): Add check-execstack.h.
36638 * elf/check-execstack.c: Include "check-execstack.h".
36639 (main): Revert last change.
36640 (handle_file): Return zero if GNU_STACK is absent and
36641 DEFAULT_STACK_PERMS doesn't include PF_X.
36642
451f001b
UD
366432011-01-13 Ulrich Drepper <drepper@gmail.com>
36644
cfa28e56
UD
36645 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36646 in child fails because the descriptor is already closed.
8cf8ce17
UD
36647 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36648 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36649 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36650
1086d70d
UD
36651 [BZ #12397]
36652 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36653 syscall.
36654
451f001b
UD
36655 [BZ #10484]
36656 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36657 temporary buffer used to handle multi lookups locally.
a85b5cb4 36658 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36659
08769175
UD
366602011-01-12 Ulrich Drepper <drepper@gmail.com>
36661
36662 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36663 loader is ld.so.
36664
5e49c52e
UD
366652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36666
36667 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36668 alignment for SSE2.
36669
60522a5f
UD
366702011-01-12 Ulrich Drepper <drepper@gmail.com>
36671
36672 [BZ #12394]
36673 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36674 characters. When rounding increased number of integer digits recompute
36675 number of groups.
36676 * stdio-common/tst-grouping.c: New file.
36677 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36678
f257bbd7
UD
366792011-01-09 Ulrich Drepper <drepper@gmail.com>
36680
36681 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36682 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36683
36684 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36685 void.
36686 * bits/select.h: Likewise.
36687
fa9c15cb
UD
366882011-01-08 Ulrich Drepper <drepper@gmail.com>
36689
36690 * po/ja.po: Update from translation team.
36691
16c2895f
DM
366922011-01-04 David S. Miller <davem@sunset.davemloft.net>
36693
36694 [BZ #11155]
36695 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36696 implementation just like for lxstat, fxstatat, et al.
36697
2543fef2
JM
366982010-12-27 Jim Meyering <meyering@redhat.com>
36699
36700 [BZ #12348]
36701 * posix/regexec.c (build_trtable): Return failure indication upon
36702 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36703
98727dbe
UD
367042010-12-25 Ulrich Drepper <drepper@gmail.com>
36705
5bd6dc5c
UD
36706 [BZ #12201]
36707 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36708 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36709 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36710 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36711
97983464
UD
36712 [BZ #12207]
36713 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36714
98727dbe
UD
36715 [BZ #12204]
36716 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36717 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36718
4a531bb0
L
367192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36720
36721 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36722 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36723 script has SORT_BY_INIT_PRIORITY.
36724 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36725 NO_CTORS_DTORS_SECTIONS is defined.
36726 * elf/soinit.c: Likewise.
36727 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36728 NO_CTORS_DTORS_SECTIONS is defined.
36729 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36730 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36731 * sysdeps/sh/init-first.c: Likewise.
36732 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36733
07eb4b71
UD
367342010-12-24 Ulrich Drepper <drepper@gmail.com>
36735
36736 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36737 always use the slow path.
36738
30950a5f
RA
367392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36740
36741 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36742 similar rule which adds the sysdep directories to the header search in
36743 order to pick up the correct platform stackinfo.h.
36744 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36745 perform test if it is, otherwise return successfully without testing.
36746 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36747 DEFAULT_STACK_PERMS define in stackinfo.h.
36748 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36749 defined in stackinfo.h.
36750 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36751 DEFAULT_STACK_PERMS defined in stackinfo.h.
36752 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36753 * sysdeps/ia64/stackinfo.h: Likewise.
36754 * sysdeps/s390/stackinfo.h: Likewise.
36755 * sysdeps/sh/stackinfo.h: Likewise.
36756 * sysdeps/sparc/stackinfo.h: Likewise.
36757 * sysdeps/x86_64/stackinfo.h: Likewise.
36758 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36759 PF_X for powerpc64. Retain PF_X for powerpc32.
36760
db753e2c
UD
367612010-12-19 Ulrich Drepper <drepper@gmail.com>
36762
14b697f7
UD
36763 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36764 accurately.
db753e2c
UD
36765 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36766 GETDENTS_64BIT_ALIGNED.
36767
28300719
UD
367682010-12-14 Ulrich Drepper <dreper@gmail.com>
36769
14b697f7 36770 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36771
4f197237
AS
367722010-12-10 Andreas Schwab <schwab@redhat.com>
36773
dbb0472f
AS
36774 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36775 _GNU_SOURCE.
36776
4f197237
AS
36777 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36778 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36779 Remove __restrict.
36780 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36781 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36782
fb88ac72
UD
367832010-12-09 Ulrich Drepper <drepper@gmail.com>
36784
36785 [BZ #11655]
36786 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36787 are initialized.
36788
42acbb92
JJ
367892010-12-09 Jakub Jelinek <jakub@redhat.com>
36790
36791 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36792
c038d98d
UD
367932010-12-03 Ulrich Drepper <drepper@gmail.com>
36794
36795 * po/it.po: Update from translation team.
36796
3a4a2499
L
367972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36798
36799 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36800 unused codes.
36801
1e24cf6e
UD
368022010-11-30 Ulrich Drepper <drepper@gmail.com>
36803
36804 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36805
a7690819
AS
368062010-11-24 Andreas Schwab <schwab@redhat.com>
36807
36808 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36809 specially.
36810 (gaih_getanswer_slice): Likewise.
36811
3bf8d1b1
JJ
368122010-10-20 Jakub Jelinek <jakub@redhat.com>
36813
36814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36815
6db52fbb
PB
368162010-05-31 Petr Baudis <pasky@suse.cz>
36817
36818 [BZ #11149]
36819 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36820 silently even in the chroot mode.
36821
eaca7569
UD
368222010-11-22 Ulrich Drepper <drepper@gmail.com>
36823
36824 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36825 last patch a bit. Pretty printing
36826
3056dcdb
UD
368272010-05-31 Petr Baudis <pasky@suse.cz>
36828
36829 [BZ #10085]
36830 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36831 initialization of skip_initgroups_dyn.
36832
cf7c9078
UD
368332010-11-19 Ulrich Drepper <drepper@gmail.com>
36834
36835 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36836 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36837
a1fb5e3e
UD
368382010-11-16 Ulrich Drepper <drepper@gmail.com>
36839
36840 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36841
3540d66b
AS
368422010-11-11 Andreas Schwab <schwab@redhat.com>
36843
36844 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36845 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36846 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36847 ($(objpfx)tst-fnmatch-mem): New rule.
36848 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36849 * posix/tst-fnmatch.c (main): Call mtrace.
36850
13b69574
L
368512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36852
36853 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36854 Support Intel processor model 6 and model 0x2c.
36855
da93d214
LM
368562010-11-10 Luis Machado <luisgpm@br.ibm.com>
36857
36858 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36859 signed comparison.
36860
8ca52c6e
L
368612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36862
36863 [BZ #12205]
36864 * string/test-strncasecmp.c (check_result): New function.
36865 (do_one_test): Use it.
36866 (check1): New function.
36867 (test_main): Use it.
36868 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36869 Support strcasecmp and strncasecmp.
36870
69da074d
UD
368712010-11-08 Ulrich Drepper <drepper@gmail.com>
36872
36873 [BZ #12194]
36874 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36875 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36876
ff02d528
L
368772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36878
36879 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36880 IFUNC support.
36881 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36882 memset-x86-64.
36883 * sysdeps/x86_64/multiarch/bzero.S: New file.
36884 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36885 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36886 * sysdeps/x86_64/multiarch/memset.S: New file.
36887 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36889 Set bit_Prefer_SSE_for_memop for Intel processors.
36890 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36891 Define.
36892 (index_Prefer_SSE_for_memop): Define.
36893 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36894
344d0b54
LM
368952010-11-04 Luis Machado <luisgpm@br.ibm.com>
36896
36897 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36898 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36899
c0dde15b
UD
369002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36901
36902 [BZ #12191]
36903 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36904 (__x86_64_raw_data_cache_size_half): Likewise.
36905 (__x86_64_raw_shared_cache_size): Likewise.
36906 (__x86_64_raw_shared_cache_size_half): Likewise.
36907
36908 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36909 (__x86_64_raw_data_cache_size_half): Likewise.
36910 (__x86_64_raw_shared_cache_size): Likewise.
36911 (__x86_64_raw_shared_cache_size_half): Likewise.
36912 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36913 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36914 and __x86_64_raw_shared_cache_size_half. Round
36915 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36916 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36917 to multiple of 256 bytes.
36918
0e516e0e
MS
369192010-11-03 Ulrich Drepper <drepper@gmail.com>
36920
36921 [BZ #12167]
36922 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36923 of inacessible symlinks. Verify result of symlink before returning it.
36924 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36925 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36926
0e012e87
ER
369272010-10-28 Erich Ritz <erichritz@gmail.com>
36928
36929 * math/math.h (isinf): Fix typo in comment.
36930
de0ff7bc
UD
369312010-11-01 Ulrich Drepper <drepper@gmail.com>
36932
36933 * po/da.po: Update from translation team.
36934
fa41c84d
UD
369352010-10-26 Ulrich Drepper <drepper@gmail.com>
36936
36937 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36938 is added to the list.
36939
f0967738
AK
369402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36941 Ulrich Drepper <drepper@gmail.com>
36942
36943 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36944 the global list here. Move code to...
36945 (_dl_add_to_namespace_list): ...here. New function.
36946 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36947 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36948 * elf/dl-load.c (lose): Don't remove the element from the list.
36949 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36950 (_dl_map_object): Likewise.
36951
369522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36953
36954 [BZ #12159]
36955 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36956 into all bytes of SSE register.
36957 Patch by Richard Li <richardpku@gmail.com>.
36958
f0967738 369592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36960
36961 [BZ #12140]
36962 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36963 perturbing.
36964
d0b9e94f
MB
369652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36966
36967 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36968 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36969 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36970 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36972 submachine.
36973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36974
8e9f92e9
AS
369752010-10-22 Andreas Schwab <schwab@redhat.com>
36976
36977 * include/dlfcn.h (__RTLD_SECURE): Define.
36978 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36979 mode & __RTLD_SECURE instead.
36980 (open_path): Rename preloaded parameter to secure.
36981 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36982 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36983 * elf/dl-deps.c (openaux): Likewise.
36984 * elf/rtld.c (struct map_args): Remove is_preloaded.
36985 (map_doit): Don't use it.
36986 (dl_main): Likewise.
36987 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36988 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36989
bc96fbda
AS
369902010-09-09 Andreas Schwab <schwab@redhat.com>
36991
36992 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36993 (sysd-rules-targets): Remove duplicates.
36994 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36995 rtld-%.$o dependency.
36996
22cd1c9b
AS
369972010-10-18 Andreas Schwab <schwab@redhat.com>
36998
36999 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37000 _dl_map_object do it.
37001
18edac48
UD
370022010-10-19 Ulrich Drepper <drepper@gmail.com>
37003
37004 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37005 fast fma builtins, define the macros in the C99 standard.
37006 (FP_FAST_FMAF): Likewise.
37007 (FP_FAST_FMAL): Likewise.
37008 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37009
37010 * bits/mathdef.h: Update copyright year.
37011 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37012
d2050124
MM
370132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37014
37015 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37016 builtins, define the macros in the C99 standard.
37017 (FP_FAST_FMAF): Likewise.
37018 (FP_FAST_FMAL): Likewise.
37019 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37020 multiply/add.
37021 (FP_FAST_FMAF): Likewise.
37022
475facd1
JJ
370232010-10-15 Jakub Jelinek <jakub@redhat.com>
37024
37025 [BZ #3268]
37026 * math/libm-test.inc (fma_test): Some new testcases.
37027 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37028 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37029 y and infinite z. Do multiplication by C already in long double.
37030 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37031 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37032 y and infinite z. Do bitwise or of inexact bit into u.d.
37033 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37034 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37035 * sysdeps/i386/fpu/s_fma.S: Removed.
37036 * sysdeps/i386/fpu/s_fmal.S: Removed.
37037
7c08a05c
JJ
370382010-10-16 Jakub Jelinek <jakub@redhat.com>
37039
37040 [BZ #3268]
37041 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37043 computation is not scheduled after fetestexcept. Fix value
37044 of minimum denormal long double.
37045
f3f7372d
JJ
370462010-10-14 Jakub Jelinek <jakub@redhat.com>
37047
37048 [BZ #3268]
37049 * math/libm-test.inc (fma_test): Add some more tests.
37050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37051 correctly.
37052
14d43591
AS
370532010-10-15 Andreas Schwab <schwab@redhat.com>
37054
37055 * scripts/data/localplt-s390-linux-gnu.data: New file.
37056 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37057
5e908464
JJ
370582010-10-13 Jakub Jelinek <jakub@redhat.com>
37059
37060 [BZ #3268]
37061 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37062 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37063 instead of dbl-64.
37064 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37065 inlines.
37066 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37067 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37068 if one of x and y is very large and the other is subnormal.
37069 * sysdeps/s390/fpu/s_fmaf.c: New file.
37070 * sysdeps/s390/fpu/s_fma.c: New file.
37071 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37072 * sysdeps/powerpc/fpu/s_fma.S: New file.
37073 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37074 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37075 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37076
370772010-10-12 Jakub Jelinek <jakub@redhat.com>
37078
37079 [BZ #3268]
37080 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37081 fma tests.
37082 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37083 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37084 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37085 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37086 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37087 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37088 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37089
b833d51f
UD
370902010-10-12 Ulrich Drepper <drepper@redhat.com>
37091
37092 [BZ #12078]
37093 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37094 * posix/bug-regex31.input: Add test case.
37095
1751705d
UD
370962010-10-11 Ulrich Drepper <drepper@gmail.com>
37097
e9b9cbf5
UD
37098 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37099 * posix/bug-regex31.input: New file.
37100
37101 [BZ #12078]
37102 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37103 (parse_sub_exp): Fix last change, use postorder.
37104
ef06edbe
UD
37105 * posix/bug-regex31.c: New file.
37106 * posix/Makefile: Add rules to build and run bug-regex31.
37107
a129c80d
UD
37108 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37109
37110 [BZ #12078]
37111 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37112
b76b818e
UD
37113 [BZ #12108]
37114 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37115 to have entries in sys_siglist.
37116
1751705d
UD
37117 [BZ #12093]
37118 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37119 be NULL.
37120
9ff8d36f
JJ
371212010-10-07 Jakub Jelinek <jakub@redhat.com>
37122
37123 [BZ #3268]
37124 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37125 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37126 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37127 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37128 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37129 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37130 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37131 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37132 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37133 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37134 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37135 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37136 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37137 * math/ftestexcept.c (fetestexcept): Likewise.
37138 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37139 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37140 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37141 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37142 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37143 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37144 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37145
af325969
UD
371462010-10-11 Ulrich Drepper <drepper@gmail.com>
37147
c579b202 37148 [BZ #12107]
af325969
UD
37149 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37150 newline.
37151
67a67b95
UD
371522010-10-06 Ulrich Drepper <drepper@gmail.com>
37153
37154 * string/bug-strstr1.c: New file.
37155 * string/Makefile: Add rules to build and run bug-strstr1.
37156
5fb308bc
EB
371572010-10-05 Eric Blake <eblake@redhat.com>
37158
37159 [BZ #12092]
37160 * string/str-two-way.h (two_way_long_needle): Always clear memory
37161 when skipping input due to the shift table.
37162
45db99c7
UD
371632010-10-03 Ulrich Drepper <drepper@gmail.com>
37164
3b111893
UD
37165 [BZ #12005]
37166 * malloc/mcheck.c: Handle large requests.
37167
45db99c7
UD
37168 [BZ #12077]
37169 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37170 for strncmp and strncasecmp.
37171 * string/stratcliff.c: Add tests for strcmp and strncmp.
37172 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37173
cf7a1eb8
NI
371742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37175
37176 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37177 __set_fpscr.
37178
6484ba5e
AJ
371792010-09-30 Andreas Jaeger <aj@suse.de>
37180
37181 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37182 (CGROUP_SUPER_MAGIC): Define.
37183 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37184 Handle btrfs and cgroup file systems.
37185 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37186 Likewise.
37187
91c42559
LM
371882010-09-27 Luis Machado <luisgpm@br.ibm.com>
37189
37190 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37191 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37192
87a97932
AK
371932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37194
37195 [BZ #12067]
37196 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37197 trying to locate the ELF header.
37198
c21cc9bc
AS
371992010-09-27 Andreas Schwab <schwab@redhat.com>
37200
37201 [BZ #11611]
37202 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37203 Mask out sign-bit copies when constructing f_fsid.
37204
315970f6
PB
372052010-09-24 Petr Baudis <pasky@suse.cz>
37206
37207 * debug/stack_chk_fail_local.c: Add missing licence exception.
37208 * debug/warning-nop.c: Likewise.
37209
1ac7a2c7
JM
372102010-09-15 Joseph Myers <joseph@codesourcery.com>
37211
37212 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37213 implementing getdents64 using getdents syscall, set d_type if
37214 __ASSUME_GETDENTS32_D_TYPE.
37215
56801c50
AS
372162010-09-16 Andreas Schwab <schwab@redhat.com>
37217
37218 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37219 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37220
dda51327
UD
372212010-09-21 Ulrich Drepper <drepper@redhat.com>
37222
37223 [BZ #12037]
37224 * posix/unistd.h: Undo change of feature selection for ftruncate from
37225 2010-01-11.
37226
8ffcee4a
UD
372272010-09-20 Ulrich Drepper <drepper@redhat.com>
37228
a545ecd9 37229 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37230 detection.
37231
e24f0a8b
AS
372322010-09-20 Andreas Schwab <schwab@redhat.com>
37233
37234 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37235 fanotify_mark.
37236 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37237
7291c56f
AS
372382010-09-14 Andreas Schwab <schwab@redhat.com>
37239
37240 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37241 variables after CHECK_SP call.
37242 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37243
bc5fb037
AS
372442010-09-13 Andreas Schwab <schwab@redhat.com>
37245 Ulrich Drepper <drepper@redhat.com>
37246
37247 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37248 re-relocationg ld.so.
37249 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37250 _dl_init_paths call.
37251 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37252 here anymore.
37253
e66e7419
UD
372542010-09-14 Ulrich Drepper <drepper@redhat.com>
37255
37256 * resolv/res_init.c (__res_vinit): Count the default server we added.
37257
c044aa75
CLT
372582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37259 Ulrich Drepper <drepper@redhat.com>
37260
37261 [BZ #11968]
37262 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37263 (____longjmp_chk): Use %ebx for saving value across system call.
37264 Add unwind info.
37265
32cf4069
AS
372662010-09-06 Andreas Schwab <schwab@redhat.com>
37267
37268 * manual/Makefile: Don't mix pattern rules with normal rules.
37269
817328ee
AS
372702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37271
37272 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37273 operation.
37274 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37275 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37276 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37277 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37279 Likewise.
37280
29fddf61
UD
372812010-09-04 Ulrich Drepper <drepper@redhat.com>
37282
37283 [BZ #11979]
37284 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37285 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37286
0959ffc9
UD
372872010-09-02 Ulrich Drepper <drepper@redhat.com>
37288
37289 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37290 * sysdeps/x86_64/addmul_1.S: Likewise.
37291 * sysdeps/x86_64/lshift.S: Likewise.
37292 * sysdeps/x86_64/mul_1.S: Likewise.
37293 * sysdeps/x86_64/rshift.S: Likewise.
37294 * sysdeps/x86_64/sub_n.S: Likewise.
37295 * sysdeps/x86_64/submul_1.S: Likewise.
37296
ece29840
ST
372972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37298
0959ffc9
UD
37299 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37300 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37301 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37302 * bits/sched.h [__need_schedparam]
ece29840 37303 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37304 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37305 (__defined_schedparam): Define to 1.
ece29840
ST
37306 (__sched_param): New structure, identical to sched_param.
37307 (__need_schedparam): Undefine.
37308
e53a31fe
MF
373092010-08-31 Mike Frysinger <vapier@gentoo.org>
37310
fdc0c10d
MF
37311 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37312 (epoll_create1): Declare.
37313
e53a31fe
MF
37314 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37315
a726d796
AS
373162010-08-31 Andreas Schwab <schwab@redhat.com>
37317
37318 [BZ #7066]
37319 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37320 shifting retval into place.
37321
2f3e3dc7
UD
373222010-09-01 Ulrich Drepper <drepper@redhat.com>
37323
f2933da9
UD
37324 * nis/rpcsvc/nis.h: Update copyright notice.
37325 * nis/rpcsvc/nis.x: Likewise.
37326 * nis/rpcsvc/nis_callback.h: Likewise.
37327 * nis/rpcsvc/nis_callback.x: Likewise.
37328 * nis/rpcsvc/nis_object.x: Likewise.
37329 * nis/rpcsvc/nis_tags.h: Likewise.
37330 * nis/rpcsvc/yp.h: Likewise.
37331 * nis/rpcsvc/yp.x: Likewise.
37332 * nis/rpcsvc/ypupd.h: Likewise.
37333 * nis/yp_xdr.c: Likewise.
37334 * nis/ypupdate_xdr.c: Likewise.
37335
2f3e3dc7
UD
37336 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37337 mainly the body of pmap_getport. Add parameters to specify timeouts.
37338 (pmap_getport): Use __libc_rpc_getport.
37339 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37340 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37341 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37342
f3dcc2f9
AS
373432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37344
37345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37346 fanotify_mark.
37347
6d34eb5b
RM
373482010-08-27 Roland McGrath <roland@redhat.com>
37349
37350 * sysdeps/i386/i686/multiarch/Makefile
37351 (CFLAGS-varshift.c): New variable.
37352
9ea3de11
UD
373532010-08-27 Ulrich Drepper <drepper@redhat.com>
37354
c96d23fc
UD
37355 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37356 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37357
9ea3de11
UD
37358 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37359
37360 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37361
623aac7f
L
373622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37363
37364 * sysdeps/x86_64/strlen.S: Unroll the loop.
37365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37366 strlen-sse2 strlen-sse2-bsf.
37367 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37368 __strlen_no_bsf if bit_Slow_BSF is set.
37369 (__strlen_sse42): Removed.
37370 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37371 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37372
8b2b7715
RM
373732010-08-25 Roland McGrath <roland@redhat.com>
37374
37375 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37376 * sysdeps/x86_64/multiarch/varshift.c: New file.
37377 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37378 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37379 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37380 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37381
e73015f2
L
373822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37383
37384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37385 strlen-sse2 strlen-sse2-bsf.
37386 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37387 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37388 (__strlen_sse2): Removed.
37389 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37390 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37392 bit_Slow_BSF for Atom.
37393 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37394 (index_Slow_BSF): Define.
37395 (HAS_SLOW_BSF): Define.
37396
df24a73e
UD
373972010-08-25 Ulrich Drepper <drepper@redhat.com>
37398
37399 [BZ #10851]
37400 * resolv/res_init.c (__res_vinit): When no server address at all
37401 is given default to loopback.
37402
f2ac4868
RM
374032010-08-24 Roland McGrath <roland@redhat.com>
37404
09055553
RM
37405 * configure.in: Remove config-name.h generation.
37406 * configure: Regenerated.
37407 * config-name.in: File removed.
37408 * scripts/config-uname.sh: New file.
37409 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37410 ($(objdir)config-name.h): New target.
37411
f2ac4868
RM
37412 * sunrpc/rpc_parse.h: Avoid nested comment.
37413
73f27d5e
RH
374142010-08-24 Richard Henderson <rth@redhat.com>
37415 Ulrich Drepper <drepper@redhat.com>
37416 H.J. Lu <hongjiu.lu@intel.com>
37417
37418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37420 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37421 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37422 _mm_alignr_epi8 with _mm_loadu_si128.
37423 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37424 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37425 (__m128i_shift_right): Removed.
37426 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37427 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37428 * sysdeps/x86_64/multiarch/varshift.h: New file.
37429 * sysdeps/x86_64/multiarch/varshift.S: New file.
37430
84b9230c
MF
374312010-08-21 Mike Frysinger <vapier@gentoo.org>
37432
37433 * configure.in: Move assembler checks to before sysdep dir checking.
37434
9bbd0ddc
PB
374352010-08-20 Petr Baudis <pasky@suse.cz>
37436
37437 * LICENSES: Sync the sunrpc license.
37438
9da4bb31
UD
374392010-08-19 Ulrich Drepper <drepper@redhat.com>
37440
a7ab6ec8
UD
37441 * sunrpc/auth_des.c: Update copyright notice once again.
37442 * sunrpc/auth_none.c: Likewise.
37443 * sunrpc/auth_unix.c: Likewise.
37444 * sunrpc/authdes_prot.c: Likewise.
37445 * sunrpc/authuxprot.c: Likewise.
37446 * sunrpc/bindrsvprt.c: Likewise.
37447 * sunrpc/clnt_gen.c: Likewise.
37448 * sunrpc/clnt_perr.c: Likewise.
37449 * sunrpc/clnt_raw.c: Likewise.
37450 * sunrpc/clnt_simp.c: Likewise.
37451 * sunrpc/clnt_tcp.c: Likewise.
37452 * sunrpc/clnt_udp.c: Likewise.
37453 * sunrpc/clnt_unix.c: Likewise.
37454 * sunrpc/des_crypt.c: Likewise.
37455 * sunrpc/des_soft.c: Likewise.
37456 * sunrpc/get_myaddr.c: Likewise.
37457 * sunrpc/getrpcport.c: Likewise.
37458 * sunrpc/key_call.c: Likewise.
37459 * sunrpc/key_prot.c: Likewise.
37460 * sunrpc/openchild.c: Likewise.
37461 * sunrpc/pm_getmaps.c: Likewise.
37462 * sunrpc/pm_getport.c: Likewise.
37463 * sunrpc/pmap_clnt.c: Likewise.
37464 * sunrpc/pmap_prot.c: Likewise.
37465 * sunrpc/pmap_prot2.c: Likewise.
37466 * sunrpc/pmap_rmt.c: Likewise.
37467 * sunrpc/rpc/auth.h: Likewise.
37468 * sunrpc/rpc/auth_unix.h: Likewise.
37469 * sunrpc/rpc/clnt.h: Likewise.
37470 * sunrpc/rpc/des_crypt.h: Likewise.
37471 * sunrpc/rpc/key_prot.h: Likewise.
37472 * sunrpc/rpc/netdb.h: Likewise.
37473 * sunrpc/rpc/pmap_clnt.h: Likewise.
37474 * sunrpc/rpc/pmap_prot.h: Likewise.
37475 * sunrpc/rpc/pmap_rmt.h: Likewise.
37476 * sunrpc/rpc/rpc.h: Likewise.
37477 * sunrpc/rpc/rpc_des.h: Likewise.
37478 * sunrpc/rpc/rpc_msg.h: Likewise.
37479 * sunrpc/rpc/svc.h: Likewise.
37480 * sunrpc/rpc/svc_auth.h: Likewise.
37481 * sunrpc/rpc/types.h: Likewise.
37482 * sunrpc/rpc/xdr.h: Likewise.
37483 * sunrpc/rpc_clntout.c: Likewise.
37484 * sunrpc/rpc_cmsg.c: Likewise.
37485 * sunrpc/rpc_common.c: Likewise.
37486 * sunrpc/rpc_cout.c: Likewise.
37487 * sunrpc/rpc_dtable.c: Likewise.
37488 * sunrpc/rpc_hout.c: Likewise.
37489 * sunrpc/rpc_main.c: Likewise.
37490 * sunrpc/rpc_parse.c: Likewise.
37491 * sunrpc/rpc_parse.h: Likewise.
37492 * sunrpc/rpc_prot.c: Likewise.
37493 * sunrpc/rpc_sample.c: Likewise.
37494 * sunrpc/rpc_scan.c: Likewise.
37495 * sunrpc/rpc_scan.h: Likewise.
37496 * sunrpc/rpc_svcout.c: Likewise.
37497 * sunrpc/rpc_tblout.c: Likewise.
37498 * sunrpc/rpc_util.c: Likewise.
37499 * sunrpc/rpc_util.h: Likewise.
37500 * sunrpc/rpcinfo.c: Likewise.
37501 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37502 * sunrpc/rpcsvc/key_prot.x: Likewise.
37503 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37504 * sunrpc/rpcsvc/mount.x: Likewise.
37505 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37506 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37507 * sunrpc/rpcsvc/rex.x: Likewise.
37508 * sunrpc/rpcsvc/rstat.x: Likewise.
37509 * sunrpc/rpcsvc/rusers.x: Likewise.
37510 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37511 * sunrpc/rpcsvc/spray.x: Likewise.
37512 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37513 * sunrpc/rtime.c: Likewise.
37514 * sunrpc/svc.c: Likewise.
37515 * sunrpc/svc_auth.c: Likewise.
37516 * sunrpc/svc_authux.c: Likewise.
37517 * sunrpc/svc_raw.c: Likewise.
37518 * sunrpc/svc_run.c: Likewise.
37519 * sunrpc/svc_simple.c: Likewise.
37520 * sunrpc/svc_tcp.c: Likewise.
37521 * sunrpc/svc_udp.c: Likewise.
37522 * sunrpc/svc_unix.c: Likewise.
37523 * sunrpc/svcauth_des.c: Likewise.
37524 * sunrpc/xcrypt.c: Likewise.
37525 * sunrpc/xdr.c: Likewise.
37526 * sunrpc/xdr_array.c: Likewise.
37527 * sunrpc/xdr_float.c: Likewise.
37528 * sunrpc/xdr_mem.c: Likewise.
37529 * sunrpc/xdr_rec.c: Likewise.
37530 * sunrpc/xdr_ref.c: Likewise.
37531 * sunrpc/xdr_sizeof.c: Likewise.
37532 * sunrpc/xdr_stdio.c: Likewise.
37533
9da4bb31
UD
37534 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37535 handling.
37536
bdaa77bc
AS
375372010-08-19 Andreas Schwab <schwab@redhat.com>
37538
37539 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37540
fe2f79db
LM
375412010-08-19 Luis Machado <luisgpm@br.ibm.com>
37542
37543 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37544 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37545 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37546 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37547 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37548 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37549 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37550 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37551 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37552 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37553 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37554 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37555 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37556 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37557
b9b42ee0
AB
375582010-07-26 Anton Blanchard <anton@samba.org>
37559
37560 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37561 * malloc/arena.c (heap_trim): Likewise.
37562
1c06ba31
UD
375632010-08-16 Ulrich Drepper <drepper@redhat.com>
37564
37565 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37566 here. Not...
37567 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37568 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37569
f8392f40
L
375702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37571
37572 * sysdeps/i386/elf/Makefile: New file.
37573
3162f12e
AS
375742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37575
37576 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37577 from fanotify_init.
37578 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37580
28c90b2c
UD
375812010-08-15 Ulrich Drepper <drepper@redhat.com>
37582
37583 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37584 of strncasecmp_l.
1feccb6c 37585 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37586
ca6bb004
UD
375872010-08-14 Ulrich Drepper <drepper@redhat.com>
37588
e9f82e0d
UD
37589 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37590 strncase_l-nonascii.
37591 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37592 Add strncase_l-ssse3.
37593 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37594 * sysdeps/x86_64/strcmp.S: Likewise.
37595 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37596 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37597 * sysdeps/x86_64/strncase.S: New file.
37598 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37599 * sysdeps/x86_64/strncase_l.S: New file.
37600 * string/Makefile (strop-tests): Add strncasecmp.
37601 * string/test-strncasecmp.c: New file.
37602
37603 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37604 warning.
37605
ca6bb004
UD
37606 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37607 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37608
052fa7b3
AS
376092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37610
37611 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37612
962dba78
UD
376132010-08-12 Ulrich Drepper <drepper@redhat.com>
37614
37615 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37617 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37618
bebff237
AM
376192010-05-01 Alan Modra <amodra@gmail.com>
37620
37621 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37622 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37623 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37624 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37625 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37626 tidying. Don't tail-call __sigjmp_save for static lib.
37627 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37628 save location.
37629 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37630 (CALL_MCOUNT): Add eh info, and nop after bl.
37631 (TAIL_CALL_SYSCALL_ERROR): New macro.
37632 (PSEUDO_RET): Use it.
37633 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37634 Correct save location of integer regs and cr.
37635 (_dl_profile_resolve): Correct cr save location. Delete nops
37636 after bl when SHARED. Reduce cfi size a little by better
37637 placement of cfi directives.
37638 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37639 make a stack frame. Instead use parm save area as a temp.
37640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37641 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37643 Don't make a stack frame for parent, use parm save area.
37644 Increase child stack frame to 112 bytes. Don't save unused reg,
37645 and adjust reg usage. Set up cfi on error recovery and
37646 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37648 (__makecontext): Add dummy nop after jump to exit.
37649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37650 Use correct parm save area and cr save, reduce stack frame.
37651 Correct cfi for possible PSEUDO_RET frame setup.
37652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37653 Branch to local label emitted by PSEUDO_RET rather than
37654 __syscall_error.
37655
02637374
AS
376562010-08-12 Andreas Schwab <schwab@redhat.com>
37657
37658 [BZ #11904]
37659 * locale/programs/locale.c (print_assignment): New function.
37660 (show_locale_vars): Use it.
37661
c3e2f19b
UD
376622010-08-11 Ulrich Drepper <drepper@redhat.com>
37663
3cdaa6ad
UD
37664 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37665 field.
37666 (struct statfs64): Likewise.
37667 (_STATFS_F_FLAGS): Define.
37668 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37669 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37670 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37671 (ST_VALID): Define locally.
37672 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37673 __statvfs_getflags, use the provided value.
37674 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37675 __ASSUME_STATFS_F_FLAGS.
37676
754f7da3
UD
37677 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37678
10b3bedc
UD
37679 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37680 Add sys/fanotify.h.
37681 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37682 fanotify_mask for GLIBC_2.13.
37683 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37684 fanotify_init and fanotify_mark.
37685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37686 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37687
c08fb0d7
UD
37688 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37689 Add prlimit.
37690 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37691 prlimit64 for GLIBC_2.13.
37692 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37693 prlimit64.
37694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37695 syscall.
37696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37697 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37698 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37699 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37701 add prlimit alias.
37702 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37703
15bac72b
UD
37704 [BZ #11903]
37705 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37706 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37707
c3e2f19b
UD
37708 * nss/Makefile: Add rules to build and run tst-nss-test1.
37709 * shlib-versions: Add entry for libnss_test1.
37710 * nss/nss_test1.c: New file.
37711 * nss/tst-nss-test1.c: New file.
37712
37713 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37714 (__nss_configure_lookup): Set appropriate entry in
37715 __nss_configure_lookup to true.
37716 * nss/nsswitch.h: Define enum with indeces of databases in
37717 databases and __nss_database_custom arrays. Declare
37718 __nss_database_custom.
37719 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37720 to avoid using nscd when custom rules are installed.
37721 * nss/getXXbyYY_r.c: Likewise.
37722 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37723
37724 * nss/nss_files/files-parse.c: Whitespace fixes.
37725
f15ce4d8
UD
377262010-08-09 Ulrich Drepper <drepper@redhat.com>
37727
37728 [BZ #11883]
37729 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37730 * posix/fnmatch_loop.c: Likewise.
37731
d22e4cc9
AK
377322010-07-17 Andi Kleen <ak@linux.intel.com>
37733
37734 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37735 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37736 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37737 * Versions.def [GLIBC_2.13]: Add.
37738
805bc17d
UD
377392010-08-06 Ulrich Drepper <drepper@redhat.com>
37740
37741 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37742 Also fail if tpwd after pwuid call is NULL.
37743
5a42321d
ST
377442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37745
37746 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37747 when converting to ms.
37748
fd3ebeda
ST
377492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37750
37751 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37752 EOPNOTSUPP errors with ENOTTY.
37753 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37754 EOPNOTSUPP errors with ENOTTY.
37755
73507d3a
UD
377562010-07-31 Ulrich Drepper <drepper@redhat.com>
37757
37758 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37759 Add strcasecmp_l-ssse3.
37760 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37761 strcasecmp.
37762 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37763 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37764 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37765
fe36dd02
UD
377662010-07-30 Ulrich Drepper <drepper@redhat.com>
37767
66f6765a
UD
37768 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37769
42e08a54
UD
37770 * string/Makefile (strop-tests): Add strcasecmp.
37771 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37772 strcasecmp_l-nonascii.
37773 (gen-as-const-headers): Add locale-defines.sym.
37774 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37775 * sysdeps/x86_64/strcasecmp.S: New file.
37776 * sysdeps/x86_64/strcasecmp_l.S: New file.
37777 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37778 * sysdeps/x86_64/locale-defines.sym: New file.
37779 * string/test-strcasecmp.c: New file.
37780
fe36dd02
UD
37781 * string/test-strcasestr.c: Test both ends of the range of characters.
37782 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37783
48cbc0d6
RM
377842010-07-29 Roland McGrath <roland@redhat.com>
37785
76e6d6bc 37786 [BZ #11856]
48cbc0d6
RM
37787 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37788
880113d9
UD
377892010-07-27 Ulrich Drepper <drepper@redhat.com>
37790
37791 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37792 for ld.so.
37793
deb9cabb
AS
377942010-07-27 Andreas Schwab <schwab@redhat.com>
37795
37796 * manual/memory.texi (Malloc Tunable Parameters): Document
37797 M_PERTURB.
37798
1c7570ff
RM
377992010-07-26 Roland McGrath <roland@redhat.com>
37800
37801 [BZ #11840]
37802 * configure.in (-fgnu89-inline check): Set and substitute
37803 gnu89_inline, not libc_cv_gnu89_inline.
37804 * configure: Regenerated.
37805 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37806
24fb0f88
UD
378072010-07-26 Ulrich Drepper <drepper@redhat.com>
37808
37809 * string/test-strnlen.c: New file.
37810 * string/Makefile (strop-tests): Add strnlen.
37811 * string/tester.c (test_strnlen): Add a few more test cases.
37812 * string/tst-strlen.c: Better error reporting.
37813
37814 * sysdeps/x86_64/strnlen.S: New file.
37815
8e96b93a
UD
378162010-07-24 Ulrich Drepper <drepper@redhat.com>
37817
37818 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37819 lower-latency instructions.
37820
dbc676d4
UD
378212010-07-23 Ulrich Drepper <drepper@redhat.com>
37822
37823 * string/test-strcasestr.c: New file.
37824 * string/test-strstr.c: New file.
37825 * string/Makefile (strop-tests): Add strstr and strcasestr.
37826 * string/str-two-way.h: Don't undefine MAX.
37827 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37828
f6a31e0e
AS
378292010-07-21 Andreas Schwab <schwab@redhat.com>
37830
37831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37832 strcasestr-nonascii.
37833 (CFLAGS-strcasestr-nonascii.c): Define.
37834 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37836 Remove unused attribute.
37837
5dbc3b6c
RM
378382010-07-20 Roland McGrath <roland@redhat.com>
37839
37840 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37841 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37842 ld.so.cache was broken. With it, there is no way to disable dsocaps
37843 like LD_HWCAP_MASK can disable hwcaps.
37844
23d101d8
EPM
378452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37846
37847 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37848
cc9f2e47
UD
378492010-07-16 Ulrich Drepper <drepper@redhat.com>
37850
37851 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37852 call in strcasestr.
37853 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37854 __strcasestr_sse42_nonascii.
37855 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37856 strcasestr-nonascii.c.
37857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37858
77c1b069
LM
378592010-06-15 Luis Machado <luisgpm@br.ibm.com>
37860
37861 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37862 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37863 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37864 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37865
440566c3
UD
378662010-07-09 Ulrich Drepper <drepper@redhat.com>
37867
37868 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37869 fcntl.
37870
5be9d05d
AS
378712010-07-06 Andreas Schwab <schwab@redhat.com>
37872
c30b7ee2 37873 [BZ #11577]
5be9d05d
AS
37874 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37875 dl_signal_cerror.
37876
8a492a67
UD
378772010-07-06 Ulrich Drepper <drepper@redhat.com>
37878
37879 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37880 _PC_PIPE_BUF using F_GETPIPE_SZ.
37881
713df3d5
RM
378822010-07-05 Roland McGrath <roland@redhat.com>
37883
37884 * manual/arith.texi (Rounding Functions): Fix rint description
37885 implicit in round description.
37886
702e8f14
UD
378872010-07-02 Ulrich Drepper <drepper@redhat.com>
37888
37889 * elf/Makefile: Fix linking for a few tests to make recent linker
37890 happy.
37891
52ed8be9
AS
378922010-06-30 Andreas Schwab <schwab@redhat.com>
37893
37894 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37895 $(common-objpfx)libc_nonshared.a.
37896
f47c9a11
LM
378972010-06-21 Luis Machado <luisgpm@br.ibm.com>
37898
37899 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37900 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37901 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37902 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37903 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37904 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37905 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37906 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37921 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37922 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37923 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37924 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37925 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37926 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37927 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37928 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37929 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37930 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37931 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37932 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37947
6fb8cbcb
L
379482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37949
37950 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37951 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37952 * string/memmove.c (memmove): Renamed to ...
37953 (MEMMOVE): ...this. Default to memmove.
37954 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37955 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37956 (END_CHK): Define.
37957 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37958 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37959 mempcpy-ssse3-back memmove-ssse3-back.
37960 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37961 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37962 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37963 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37964 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37965 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37966 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37967 * sysdeps/x86_64/multiarch/memmove.c: New file.
37968 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37969 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37970 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37971 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37972 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37973 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37974 Define.
37975 (index_Fast_Copy_Backward): Define.
37976 (HAS_ARCH_FEATURE): Define.
37977 (HAS_FAST_REP_STRING): Define.
37978 (HAS_FAST_COPY_BACKWARD): Define.
37979
4e733bac 379802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37981
37982 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37983 Restore proper fallback handling.
37984
63c4ed22
UD
379852010-06-19 Ulrich Drepper <drepper@redhat.com>
37986
ac2b484c
UD
37987 [BZ #11701]
37988 * posix/group_member.c (__group_member): Correct checking loop.
37989
63c4ed22
UD
37990 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37991 OOM in getpwuid_r correctly. Return error number when the caller
37992 should return, otherwise -1.
37993 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37994 call returning > 0 value.
37995 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37996
765ade4b
AS
379972010-06-07 Andreas Schwab <schwab@redhat.com>
37998
37999 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38000 libc_nonshared.a from targets in modules-names.
38001
80da2e09
KS
380022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38003
38004 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38005 requires it.
38006
158db122
LM
380072010-06-10 Luis Machado <luisgpm@br.ibm.com>
38008
38009 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38010 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38011 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38013
caa78cf8
AS
380142010-06-02 Andreas Schwab <schwab@redhat.com>
38015
38016 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38017
b2ef2c01
UD
380182010-06-14 Ulrich Drepper <drepper@redhat.com>
38019
38020 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38021 and F_GETPIPE_SZ.
38022 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38023 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38025 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38026 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38027 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38028
fbd643b6
RM
380292010-06-14 Roland McGrath <roland@redhat.com>
38030
38031 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38032
f32f2869
JJ
380332010-06-07 Jakub Jelinek <jakub@redhat.com>
38034
38035 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38036 __REDIRECT followed by __THROW.
38037 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38038 * posix/getopt.h (getopt): Likewise.
38039
2a50c078
EPM
380402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38041
38042 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38043 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38044 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38045 in AT_FLAGS.
38046 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38047 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38048
eb5ad2eb
LM
380492010-05-28 Luis Machado <luisgpm@br.ibm.com>
38050
38051 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38052
3c88fe1e
L
380532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38054
38055 [BZ #11640]
38056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38057 Properly check family and model.
38058
d2f73151
TY
380592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38060
38061 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38062
ebd2e13d
LM
380632010-05-24 Luis Machado <luisgpm@br.ibm.com>
38064
38065 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38066
b32b8b45
UD
380672010-05-21 Ulrich Drepper <drepper@redhat.com>
38068
38069 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38070 symbol reference.
38071
9acbe24d
AS
380722010-05-19 Andreas Schwab <schwab@redhat.com>
38073
38074 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38075 symbol reference.
38076
f0ccf6ea
AS
380772010-05-21 Andreas Schwab <schwab@redhat.com>
38078
3d04ff3a
AS
38079 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38080 and internal_recvmmsg.
38081 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38082 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38083 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38084 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38085
f0ccf6ea
AS
38086 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38087 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38088 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38089
5b08ac57
AS
380902010-05-20 Andreas Schwab <schwab@redhat.com>
38091
38092 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38093
4828935d
LM
380942010-05-17 Luis Machado <luisgpm@br.ibm.com>
38095
38096 POWER7 optimizations.
38097 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38098 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38099
373d545e
UD
381002010-05-19 Ulrich Drepper <drepper@redhat.com>
38101
38102 * version.h: Update for 2.13 development version.
38103
21a2b1ae
AS
381042010-05-12 Andrew Stubbs <ams@codesourcery.com>
38105
38106 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38107 exceptions. Return 0.
38108
3f7dcb2b
RM
381092010-05-07 Roland McGrath <roland@redhat.com>
38110
38111 * elf/ldconfig.c (main): Add a const.
38112
5f24d53a 381132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38114
a160f8d8
UD
38115 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38116 (args_options): Add no-idn option.
38117 (ahosts_keys_int): Add idn_flags to ai_flags.
38118 (parse_option): Handle 'i' option to clear idn_flags.
38119
5f24d53a
UD
38120 * malloc/malloc.c (_int_free): Possible race in the most recently
38121 added check. Only act on the data if no current modification
38122 happened.
265bb1ce
UD
38123
38124See ChangeLog.17 for earlier changes.