]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix spelling in manual, as in bug 16376
[thirdparty/glibc.git] / ChangeLog
CommitLineData
9dcc8f11
VS
12013-12-30 Ondřej Bílka <neleai@seznam.cz>
2
3 * manual/arith.texi: Fix spelling.
4 * manual/charset.texi: Likewise.
5 * manual/errno.texi: Likewise.
6 * manual/filesys.texi: Likewise.
7 * manual/lang.texi: Likewise.
8 * manual/llio.texi: Likewise.
9 * manual/locale.texi: Likewise.
10 * manual/message.texi: Likewise.
11 * manual/resource.texi: Likewise.
12 * manual/search.texi: Likewise.
13 * manual/setjmp.texi: Likewise.
14 * manual/stdio.texi: Likewise.
15 * manual/string.texi: Likewise.
16 * manual/sysinfo.texi: Likewise.
17 * manual/time.texi: Likewise.
18
11520a57
CD
192013-12-27 Carlos O'Donell <carlos@redhat.com>
20
21 * po/sl.po: New file.
22
471103ae
MF
232013-12-27 Mike Frysinger <vapier@gentoo.org>
24
25 * .gitignore: Add core/.gdbinit/.gdb_history.
26
6c9642ed
AM
272013-12-27 Allan McRae <allan@archlinux.org>
28
29 [BZ #16369]
30 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
31 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
32
3f637079
BM
332013-12-24 Brooks Moses <bmoses@google.com>
34
35 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
36 all compilers that claim C++98 compliance, not just GCC.
37 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38 Likewise.
39
abc26e99
MK
402013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
41
42 * NEWS: Restore accidentally deleted bug-fix entries.
43
362b47fe
MK
442013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
45 Ondřej Bílka <neleai@seznam.cz>
46
47 [BZ #15073]
48 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 49 have_lock.
362b47fe 50
b9bcbbcb
OB
512013-12-23 Ondřej Bílka <neleai@seznam.cz>
52
53 [BZ #12986]
54 * manual/stdio.texi (String Input Conversions): Clarify that character
55 classes are not supported.
56
fb55fcd2
AZ
572013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58
59 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60
ef7344f0
JM
612013-12-22 Joseph Myers <joseph@codesourcery.com>
62
4f40e4b3
JM
63 [BZ #16337]
64 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
65 Calculate results for small negative arguments directly rather
66 than using reflection formula with special underflow handling.
67
ef7344f0
JM
68 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
69 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
70 sysdeps/unix/bsd/bsd4.4/syscalls.list.
71 (fchflags): Likewise.
72 (revoke): Likewise.
73 (setlogin): Likewise.
74 (sigaltstack): Likewise.
75 (wait4): Likewise.
76 (sigblock): Remove.
77 (sigsetmask): Likewise.
78 (wait3): Likewise.
79 (waitpid): Likewise.
80 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
81 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
82 file.
83 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
84 * sysdeps/unix/bsd/Makefile: ... here.
85 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
86 * sysdeps/unix/bsd/Versions: ... here.
87 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
88 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
89 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
90 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
91 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
92 * sysdeps/unix/bsd/sigblock.c: ... here.
93 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
94 * sysdeps/unix/bsd/sigsetmask.c: ... here.
95 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
96 * sysdeps/unix/bsd/sigvec.c: ... here.
97 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
98 * sysdeps/unix/bsd/tcdrain.c: ... here.
99 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
100 * sysdeps/unix/bsd/tcgetattr.c: ... here.
101 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
102 * sysdeps/unix/bsd/tcsetattr.c: ... here.
103 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
104 * sysdeps/unix/bsd/wait.c: ... here.
105 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
106 * sysdeps/unix/bsd/wait3.c: ... here.
107 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
108 * sysdeps/unix/bsd/waitpid.c: ... here.
109
5b0626b9
JM
1102013-12-21 Joseph Myers <joseph@codesourcery.com>
111
112 [BZ #16356]
113 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
114 round-to-nearest for [!USE_AS_EXPM1L].
115 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
116 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
117 more tests of exp and exp10. Expect some exp10 tests to miss
118 exceptions or fail in directed rounding modes.
119 * math/auto-libm-test-out: Regenerated.
120 * math/libm-test.inc (exp10_tonearest_test_data): New array.
121 (exp10_test_tonearest): New function.
122 (exp10_towardzero_test_data): New array.
123 (exp10_test_towardzero): New function.
124 (exp10_downward_test_data): New array.
125 (exp10_test_downward): New function.
126 (exp10_upward_test_data): New array.
127 (exp10_test_upward): New function.
128 (main): Call the new functions.
129 * sysdeps/i386/fpu/libm-test-ulps: Update.
130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
131
7fda5682
JM
1322013-12-20 Joseph Myers <joseph@codesourcery.com>
133
31e3a405
JM
134 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
135 asinh, atan, atan2, atanh, cbrt, cos and cosh.
136 * math/auto-libm-test-out: Regenerated.
137 * math/libm-test.inc (acosh_test_data): Add more tests.
138 (atanh_test_data): Likewise.
139 (ceil_test_data): Likewise.
140 (copysign_test_data): Likewise.
141 * sysdeps/i386/fpu/libm-test-ulps: Update.
142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
143
85bff96a
JM
144 * timezone/checktab.awk: Update from tzcode 2013i.
145 * timezone/private.h: Likewise.
146 * timezone/scheck.c: Likewise.
147 * timezone/tzfile.h: Likewise.
148 * timezone/tzselect.ksh: Likewise.
149 * timezone/zdump.c: Likewise.
150 * timezone/zic.c: Likewise.
151
b7867a3b
JM
152 * math/auto-libm-test-in: Add tests of cpow.
153 * math/auto-libm-test-out: Regenerated.
154 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
155 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
156 mpc_cc_c.
157 (func_calc_desc): Add mpc_cc_c union field.
158 (test_functions): Add cpow.
159 (special_fill_2pi): New function.
160 (special_real_inputs): Add 2pi.
161 (calc_generic_results): Handle mpc_cc_c.
162 * sysdeps/i386/fpu/libm-test-ulps: Update.
163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
164
7fda5682
JM
165 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
166 csqrt, ctan and ctanh.
167 * math/auto-libm-test-out: Regenerated.
168 * math/libm-test.inc (TEST_COND_x86_64): New macro.
169 (TEST_COND_x86): Likewise.
170 (ccos_test_data): Use AUTO_TESTS_c_c.
171 (ccosh_test_data): Likewise.
172 (cexp_test_data): Likewise.
173 (clog_test_data): Likewise.
174 (csqrt_test_data): Likewise.
175 (ctan_test_data): Likewise.
176 (ctan_tonearest_test_data): Likewise.
177 (ctan_towardzero_test_data): Likewise.
178 (ctan_downward_test_data): Likewise.
179 (ctan_upward_test_data): Likewise.
180 (ctanh_test_data): Likewise.
181 (ctanh_tonearest_test_data): Likewise.
182 (ctanh_towardzero_test_data): Likewise.
183 (ctanh_downward_test_data): Likewise.
184 (ctanh_upward_test_data): Likewise.
185 * math/gen-auto-libm-tests.c (func_calc_method): Add value
186 mpc_c_c.
187 (func_calc_desc): Add mpc_c_c union field.
188 (FUNC_mpc_c_c): New macro.
189 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
190 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
191 ctanh.
192 (special_fill_min_subnorm_p120): New function.
193 (special_real_inputs): Add min_subnorm_p120.
194 (calc_generic_results): Handle mpc_c_c.
195 * sysdeps/i386/fpu/libm-test-ulps: Update.
196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
197
5ff8d60e
SP
1982013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
199
392dd2de
SP
200 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
201 do_sin_slow): New functions.
202 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
203 cslow2, csloww1, csloww2): Use the new functions.
204
84ba214c
SP
205 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
206 Use M to change sign of result instead of X. Assume X is
207 positive.
208 (csloww1): Likewise.
209 (__sin): Adjust.
210 (__cos): Adjust.
211
975195e4
SP
212 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
213 arguments A and DA.
214 (__sin): Adjust.
215 (__cos): Likewise.
216
5ff8d60e
SP
217 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
218 (__cos): Likewise.
219 (sloww1): Don't adjust sign of DX.
220 (csloww1): Likewise.
221 (sloww2): Use X directly and don't adjust sign of DX.
222 (csloww2): Likewise.
223
eb983568
JM
2242013-12-19 Joseph Myers <joseph@codesourcery.com>
225
64a17f1a
JM
226 * math/auto-libm-test-in: Add tests of cabs and carg.
227 * math/auto-libm-test-out: Regenerated.
228 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
229 (carg_test_data): Likewise.
230 * math/gen-auto-libm-tests.c (func_calc_method): Add value
231 mpc_c_f.
232 (func_calc_desc): Add mpc_c_f union field.
233 (test_functions): Add cabs and carg.
234 (calc_generic_results): Handle mpc_c_f.
235
eb983568
JM
236 * sysdeps/powerpc/powerpc32/libgcc-compat.S
237 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
238 as a macro and a compat symbol.
239 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
240 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
241 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
242 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
243 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
244 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
245 not use .hidden.
246 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
247 Likewise.
248 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
249 Likewise.
250 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
251 Likewise.
252 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
253 Likewise.
254 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
255 Likewise.
256 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
257 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
258 from GLIBC_2.3.2.
259
6eeb678a
AZ
2602013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
261
262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
263
063b2acb
PP
2642013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
265
266 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
267 (__signal_safe_memalign, __signal_safe_free): Use it.
268 (__signal_safe_realloc): Likewise.
269
6f6fc482
JM
2702013-12-19 Joseph Myers <joseph@codesourcery.com>
271
21fea2e2
JM
272 * manual/texinfo.tex: Update to version 2013-11-26.10 with
273 trailing whitespace removed.
274 * scripts/config.guess: Update to version 2013-11-29.
275 * scripts/config.sub: Update to version 2013-10-01.
276
6f6fc482
JM
277 * math/auto-libm-test-in: Add tests of sincos.
278 * math/auto-libm-test-out: Regenerated.
279 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
280 * math/gen-auto-libm-tests.c (func_calc_method): Add value
281 mpfr_f_11.
282 (func_calc_desc): Add mpfr_f_11 union field.
283 (test_functions): Add sincos.
284 (calc_generic_results): Handle mpfr_f_11.
285 * sysdeps/i386/fpu/libm-test-ulps: Update.
286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
287
83f5c32d
AS
2882013-12-19 Andreas Schwab <schwab@suse.de>
289
290 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
291 CALL_MCOUNT.
292 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
293 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
294 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
295
c688b419
JM
2962013-12-19 Joseph Myers <joseph@codesourcery.com>
297
335ee092
JM
298 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
299 * sysdeps/i386/fpu/libm-test-ulps: Update.
300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
301
f88acd39
JM
302 [BZ #16293]
303 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
304 round-to-nearest mode when using frndint.
305 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
306 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
307 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
308 Likewise.
309 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
310 sinh test to fail.
311 * math/auto-libm-test-out: Regenerated.
312 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
313 (TEST_COND_x86): Likewise.
314 (expm1_tonearest_test_data): New array.
315 (expm1_test_tonearest): New function.
316 (expm1_towardzero_test_data): New array.
317 (expm1_test_towardzero): New function.
318 (expm1_downward_test_data): New array.
319 (expm1_test_downward): New function.
320 (expm1_upward_test_data): New array.
321 (expm1_test_upward): New function.
322 (main): Run the new test functions.
323 * sysdeps/i386/fpu/libm-test-ulps: Update.
324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
325
c688b419
JM
326 * include/features.h: Update comment documenting feature test
327 macros. Mention _DEFAULT_SOURCE in comment.
328 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
329 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
330 _BSD_SOURCE and _SVID_SOURCE.
331 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
332 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
333 !_SVID_SOURCE]: Likewise.
334 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
335 (__USE_POSIX_IMPLICITLY): Define.
336 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
337 (_POSIX_SOURCE): Undefine and redefine.
338 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
339 (_POSIX_C_SOURCE): Likewise.
340 * manual/creature.texi (_DEFAULT_SOURCE): Document.
341 (Feature Test Macros): Update documentation of default features.
342
9f6e964c
RS
3432013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
344
345 * benchtests/Makefile: Add bench-strtok.
346 * benchtests/bench-strtok.c: New file: strtok benchtest.
347
ee0a148a
AM
3482013-12-19 Allan McRae <allan@archlinux.org>
349
350 * manual/install.texi: Suppress menu for plain text output.
351 * INSTALL: Regenerated.
352
1f33d36a
PP
3532013-12-18 Andrew Hunter <ahh@google.com>
354
355 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
356 (__signal_safe_malloc, __signal_safe_free): Likewise.
357 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
358 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
359 (__signal_safe_memalign, __signal_safe_malloc): New function.
360 (__signal_safe_free, __signal_safe_realloc): Likewise.
361 (__signal_safe_calloc): Likewise.
362 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
363 functions.
364 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
365
35e8f7ab
PP
3662013-12-18 Andrew Hunter <ahh@google.com>
367
368 * elf/Versions (ld): Add _dl_clear_dtv.
369 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
370 * elf/dl-tls.c (_dl_clear_dtv): New function.
371 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
372
69a17d9d
PP
3732013-12-18 Andrew Hunter <ahh@google.com>
374
375 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
376 (_dl_unmask_signals): Likewise.
377 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
378 (_dl_unmask_all_signals): Likewise.
379 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
380 (_dl_unmask_all_signals): Likewise.
381 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
382 (_dl_unmask_signals): Likewise.
383
b9ab448f
BM
3842013-12-18 Brooks Moses <bmoses@google.com>
385
386 [BZ #15846]
387 * misc/getauxval.c: Include errno.h.
388 (__getauxval): Set errno to ENOENT if the requested type is not
389 found.
390 * misc/sys/auxv.h (getauxval): Document that it may set errno;
391 don't declare with __attribute_const__.
392 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
393 * manual/startup.texi: Document that getauxval sets errno.
394
23776487
JM
3952013-12-18 Joseph Myers <joseph@codesourcery.com>
396
f889953b
JM
397 * math/auto-libm-test-in: Add tests of jn and yn.
398 * math/auto-libm-test-out: Regenerated.
399 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
400 (yn_test_data): Likewise.
401 * math/gen-auto-libm-tests.c (func_calc_method): Add value
402 mpfr_if_f.
403 (func_calc_desc): Add mpfr_if_f union field.
404 (FUNC_mpfr_if_f): New macro.
405 (test_functions): Add jn and yn.
406 (calc_generic_results): Assert type of second input for
407 mpfr_ff_f. Handle mpfr_if_f.
408 (output_for_one_input_case): Disable all checking for arguments
409 fitting floating-point types in case of an integer argument.
410 * sysdeps/i386/fpu/libm-test-ulps: Update.
411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
412
23776487
JM
413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
414 Don't expect fegetround reference in libm.so.
415
cb756c6d
MS
4162013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
417
418 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
419 $(config-cflags-nofma).
420
2dec468f
JM
4212013-12-18 Joseph Myers <joseph@codesourcery.com>
422
5953eb3a
JM
423 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
424 * math/auto-libm-test-out: Regenerated.
425
2dec468f
JM
426 [BZ #16338]
427 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
428 to determine exponent and adjust argument to have exponent of -1.
429 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
430 log2.
431 * math/auto-libm-test-out: Regenerated.
432 * sysdeps/i386/fpu/libm-test-ulps: Update.
433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
434
4d84e6ad
OB
4352013-12-18 Ondřej Bílka <neleai@seznam.cz>
436
437 * manual/probes.texi: Remove cases when per-thread arenas are
438 disabled.
439
1818483b
AS
4402013-12-18 Andreas Schwab <schwab@suse.de>
441
442 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
443 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
444 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
445 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
446 * sysdeps/i386/i686/multiarch/Makefile: Update.
447 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
448
25de95bf
JM
4492013-12-17 Joseph Myers <joseph@codesourcery.com>
450
451 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
452 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
453
674762d9
PE
4542013-12-17 Paul Eggert <eggert@cs.ucla.edu>
455
0748546f
PE
456 Support TZ transition times < 00:00:00.
457 This is needed for version-3 tz-format files; it supports time
458 stamps past 2037 for America/Godthab (the only entry in the tz
459 database for which this change is relevant).
460 * manual/time.texi (TZ Variable): Document transition times
461 from -167:59:59 through -00:00:01.
462 * time/tzset.c (tz_rule): Time of day is now signed.
463 (__tzset_parse_tz): Parse negative time of day.
464
4480e934
PE
465 Document TZ transition times >= 25:00:00.
466 * manual/time.texi (TZ Variable): Document transition times from
467 25:00:00 through 167:59:59. These are already supported, and this
468 support will help with version-3 tz-format files.
469
69947401
PE
470 * manual/time.texi (TZ Variable): Modernize North America example
471 to reflect current (i.e., 2007-and-later) daylight saving rules.
472
674762d9
PE
473 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
474
7011c262
JM
4752013-12-17 Joseph Myers <joseph@codesourcery.com>
476
2fc6557e
JM
477 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
478 * sysdeps/unix/bsd/bits/stat.h: Likewise.
479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
480 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
481 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
482 * sysdeps/unix/bsd/bsdstat.h: Likewise.
483 * sysdeps/unix/bsd/clock.c: Likewise.
484 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
485 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
486 * sysdeps/unix/bsd/init-posix.c: Likewise.
487 * sysdeps/unix/bsd/poll.c: Likewise.
488 * sysdeps/unix/bsd/ptsname.c: Likewise.
489 * sysdeps/unix/bsd/seekdir.c: Likewise.
490 * sysdeps/unix/bsd/setegid.c: Likewise.
491 * sysdeps/unix/bsd/seteuid.c: Likewise.
492 * sysdeps/unix/bsd/setgid.c: Likewise.
493 * sysdeps/unix/bsd/setrgid.c: Likewise.
494 * sysdeps/unix/bsd/setruid.c: Likewise.
495 * sysdeps/unix/bsd/setsid.c: Likewise.
496 * sysdeps/unix/bsd/setuid.c: Likewise.
497 * sysdeps/unix/bsd/sigaction.c: Likewise.
498 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
499 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
500 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
501 * sysdeps/unix/bsd/telldir.c: Likewise.
502 * sysdeps/unix/bsd/times.c: Likewise.
503 * sysdeps/unix/bsd/usleep.c: Likewise.
504
029c7b25
JM
505 * misc/Makefile (install-lib): Remove libbsd-compat.a.
506 ($(objpfx)libbsd-compat.a): Remove rule.
507
7011c262
JM
508 * include/features.h (__FAVOR_BSD): Do not define.
509 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
510 features conflicting with POSIX.
511 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
512 (_BSD_SOURCE): Remove description of not being a subset of other
513 feature test macros.
514 * manual/job.texi (getpgrp): Do not document BSD version.
515 (getpgid): Do not document by reference to BSD getpgrp.
516 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
517 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
518 * signal/signal.h [__FAVOR_BSD]: Likewise.
519 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
520 instead of making contents conditional on [__FAVOR_BSD].
521 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
522
affb6f78
AZ
5232013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
524
525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
526
c88769dd
JM
5272013-12-17 Joseph Myers <joseph@codesourcery.com>
528
6432a540
JM
529 [BZ #16314]
530 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
531 values below 2**-450, not 2**-500.
532 * math/auto-libm-test-in: Don't allow spurious underflow from
533 hypot.
534 * math/auto-libm-test-out: Regenerated.
535
c88769dd
JM
536 [BZ #16316]
537 [BZ #16330]
538 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
539 values of ha and hb and sort them after adjusting subnormal
540 arguments.
541 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
542 Likewise.
543 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
544 values of ea and eb and sort them after adjusting subnormal
545 arguments.
546 * math/auto-libm-test-in: Do not expect some hypot tests of
547 subnormals to fail. Add more hypot tests.
548 * math/auto-libm-test-out: Regenerated.
549
29618f6b
KK
5502013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
551
552 [BZ #13304]
553 * sysdeps/sh/s_fma.c: New file.
554 * sysdeps/sh/s_fmaf.c: New file.
555 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
556 version.
557 * sysdeps/sh/Implies: Add sh/soft-fp.
558
eacfdfbf
RM
5592013-12-16 Roland McGrath <roland@hack.frob.com>
560
561 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
562 level of indirection to members `objname', `errstring', `malloced'.
563 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
564 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
565 it as the __longjmp argument (just pass 1 instead).
566 (_dl_catch_error): Initialize C with argument pointers and address of
567 volatile local ERRCODE rather than copying values out of C at return.
568
ff362e5b
JM
5692013-12-16 Joseph Myers <joseph@codesourcery.com>
570
571 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
572 * math/auto-libm-test-out: Regenerated.
573 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
574 (hypot_test_data): Likewise.
575 (pow_test_data): Likewise.
576 (pow_tonearest_test_data): Likewise.
577 * math/gen-auto-libm-tests.c (func_calc_method): Add value
578 mpfr_ff_f.
579 (func_calc_desc): Add mpfr_ff_f union field.
580 (FUNC_mpfr_ff_f): New macro.
581 (test_functions): Add atan2, hypot and pow.
582 (special_fill_min): New function.
583 (special_fill_minus_min): Likewise.
584 (special_fill_min_subnorm): Likewise.
585 (special_fill_minus_min_subnorm): Likewise.
586 (special_real_inputs): Add min, -min, min_subnorm and
587 -min_subnorm.
588 (calc_generic_results): Handle mpfr_ff_f.
589 * sysdeps/i386/fpu/libm-test-ulps: Update.
590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
591
5764c27f
WN
5922013-12-16 Will Newton <will.newton@linaro.org>
593
594 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
595 (Aligned Memory Blocks): Add documentation for aligned_alloc
596 and suggest it as an alternative to posix_memalign.
597 (Hooks for Malloc): Document __memalign_hook is also called
598 for aligned_alloc. (Summary of Malloc): Add summary for
599 aligned alloc. Document __memalign_hook is also called
600 for aligned_alloc.
601
0a096e44
WN
6022013-12-16 Will Newton <will.newton@linaro.org>
603
604 * manual/memory.texi (Malloc Examples): Clarify default
605 alignment documentation. Suggest posix_memalign rather
606 than memalign or valloc.
607 (Aligned Memory Blocks): Remove suggestion to use memalign
608 or valloc. Remove obsolete comment about BSD.
609 Document memalign errno values and mark the function obsolete.
610 Document posix_memalign returned error codes. Mark valloc
611 as obsolete. (Hooks for Malloc): __memalign_hook is also
612 called for posix_memalign and valloc.
613 (Summary of Malloc): Add posix_memalign to function summary.
614 __memalign_hook is also called for posix_memalign and valloc.
615
8d561986
SP
6162013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
617
618 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
619 TAYLOR_SIN.
620 (__sin): Adjust.
621 (__cos): Likewise.
622 (sloww): Use mynumber union. Expand ternary operator into
623 if-else statements.
624 (cslow): use mynumber union.
625
73616a74
AM
6262013-12-16 Allan McRae <allan@archlinux.org>
627
9e8ac24b
AM
628 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
629 * configure: Regenerated.
630
6f8e37eb
AM
631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
632
8894bad3
AM
633 [BZ #14120]
634 * configure.ac: Added --enable-maintainer-mode. Check for
635 autoconf when enabled.
636 * configure: Regenerated.
637
73616a74
AM
638 * nscd/nscd.service: New file.
639 * nscd/nscd.tmpfiles: New file.
640
584b18eb
OB
6412013-12-14 Ondřej Bílka <neleai@seznam.cz>
642
643 [BZ #12100]
644 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
645 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
646 * sysdeps/x86_64/multiarch/strstr.c: ... here.
647 (strstr): Add __strstr_sse2_unaligned ifunc.
648 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
649 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
650 (strcasestr): Remove __strcasestr_sse42 ifunc.
651 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
652 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
654
8a5c7897
KK
6552013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
656
657 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
658 * sysdeps/sh/bits/fenv.h: ... here.
659 * sysdeps/sh/sh4/fpu/bits: Remove directory.
660
fd712ef3
AZ
6612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
662
663 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
664
42fcb46c
AZ
6652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
666
667 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
668 hypotf multiarch implementations.
669 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
670 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
671 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
672 multiarch hypot for PPC64.
673 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
674 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
675 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
676 multiarch hypotf for PPC64.
677
83efded4
AZ
6782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
679
680 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
681 modff multiarch implementations.
682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
684 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
685 multiarch modf for PPC64.
686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
689 multiarch modff for PPC64.
690
43e246d2
AZ
6912013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692
693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
694 and logl multiarch implementations.
695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
698 multiarch logb for PPC64.
699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
701 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
702 multiarch logb for PPC64.
703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
706 multiarch logb for PPC64.
707
8fdad123
AZ
7082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
709
710 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
711 isinff multiarch implementation.
712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
713 file.
714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
716 multiarch isinf for PPC64.
717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
718 file.
719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
720 multiarch isinff for PPC64.
721
1481d706
AZ
7222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
723
724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
725 finitef multiarch implementation.
726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
727 file.
728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
730 multiarch finite for PPC64.
731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
732 file.
733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
734 multiarch finitef for PPC64.
735
5ccd5fc8
AZ
7362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
737
738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
739 lrint multiarch implementation.
740 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
741 file.
742 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
744 multiarch llrint for PPC64.
745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
746 multiarch lrint for PPC64.
747
2568f3fa
AZ
7482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
749
750 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
751 copysignf multiarch implementation.
752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
753 file.
754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
755 file.
756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
757 multiarch copysign for PPC64.
758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
759 multiarch copysignf for PPC64.
760
1cb341fd
AZ
7612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
762
763 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
764 multiarch implementation.
765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
766 file.
767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
768 file.
769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
770 file.
771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
772 file.
773 multiarch llround for PPC64.
774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
775 multiarch trunc for PPC64.
776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
777 multiarch truncf for PPC64.
778
59a3e194
AZ
7792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
780
781 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
782 multiarch implementation.
783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
784 file.
785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
786 file.
787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
788 file.
789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
790 file.
791 multiarch llround for PPC64.
792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
793 multiarch round for PPC64.
794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
795 multiarch roundf for PPC64.
796
357fd3b4
AZ
7972013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
798
799 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
800 multiarch implementation.
801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
802 file.
803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
804 file.
805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
806 file.
807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
808 file.
809 multiarch llround for PPC64.
810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
811 multiarch floor for PPC64.
812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
813 multiarch floorf for PPC64.
814
96770f12
AZ
8152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
816
817 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
818 multiarch implementation.
819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
820 file.
821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
822 file.
823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
824 file.
825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
826 file.
827 multiarch llround for PPC64.
828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
829 multiarch ceil for PPC64.
830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
831 multiarch ceilf for PPC64.
832
c3627f6e
AZ
8332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
834
835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
836 multiarch implementation.
837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
838 file.
839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
840 file.
841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
842 file.
843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
844 multiarch llround for PPC64.
845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
846 multiarch lround for PPC64.
847
b2284ad7
AZ
8482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
849
850 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
851 multiarch implementation.
852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
855 file.
856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
859 multiarch isnan for PPC64.
860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
861 multiarch isnanf for PPC64.
862
69bbc63d
AZ
8632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
864
865 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
866 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
867 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
868 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
869 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
871
c24517c9
AZ
8722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
873
874 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
875 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
877 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
878
a52374e8
AZ
8792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
880
881 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
882 multiarch implementations.
883 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
884 (__libc_ifunc_impl_list): Likewise.
885 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
886 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
887 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
888 multiarch stpcpy for PPC64.
889
7f5ec113
AZ
8902013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
891
892 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
893 multiarch implementations.
894 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
895 (__libc_ifunc_impl_list): Likewise.
896 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
897 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
898 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
899 multiarch strcpy for PPC64.
900
e28bcd42
AZ
9012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
902
903 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
904 redefine function name.
905 (_wordcopy_fwd_dest_aligned): Likewise.
906 (_wordcopy_bwd_aligned): Likewise.
907 (_wordcopy_bwd_dest_aligned): Likewise.
908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
909 multiarch implementations.
910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
911 (__libc_ifunc_impl_list): Likewise.
912 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
913 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
914 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
915 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
916 multiarch wcscpy for PPC64.
917
92cacfce
AZ
9182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
919
920 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
921 multiarch implementations.
922 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
923 (__libc_ifunc_impl_list): Likewise.
924 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
925 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
926 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
927 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
928 multiarch wcscpy for PPC64.
929
7b714620
AZ
9302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
931
932 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
933 multiarch implementations.
934 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
935 (__libc_ifunc_impl_list): Likewise.
936 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
937 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
938 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
939 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
940 multiarch wcsrchr for PPC64.
941
16fd2ae3
AZ
9422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
943
944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
945 multiarch implementations.
946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
947 (__libc_ifunc_impl_list): Likewise.
948 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
949 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
950 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
951 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
952 multiarch wcschr for PPC64.
953
9ee2969b
AZ
9542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
955
956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
957 multiarch implementations.
958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
959 (__libc_ifunc_impl_list): Likewise.
960 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
961 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
962 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
963 multiarch strchrnul for PPC64.
964
372dc060
AZ
9652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
966
967 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
968 implementations.
969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
970 (__libc_ifunc_impl_list): Likewise.
971 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
972 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
973 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
974 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
975 strchr for PPC64.
976
24c2c3b9
AZ
9772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
978
979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
980 implementations.
981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
982 (__libc_ifunc_impl_list): Likewise.
983 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
984 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
985 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
986 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
987 strncmp for PPC64.
988
1c92d9a0
AZ
9892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
990
991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
992 multiarch implementations.
993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
994 (__libc_ifunc_impl_list): Likewise.
995 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
996 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
997 strncasecmp for PPC64.
998 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
999 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1000 multiarch strncasecmp_l for PPC64.
1001
17de3ee3
AZ
10022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1003
1004 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1005 multiarch implementations.
1006 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1007 (__libc_ifunc_impl_list): Likewise.
1008 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1009 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1010 multiarch strcasecmp for PPC64.
1011 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1012 file.
1013 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1014 multiarch strcasecmp_l for PPC64.
1015
62982bf9
AZ
10162013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1017
1018 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1019 implementations.
1020 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1021 (__libc_ifunc_impl_list): Likewise.
1022 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1023 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1024 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1025 strnlen for PPC64.
1026
a65f4904
AZ
10272013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1028
1029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1030 implementations.
1031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1032 (__libc_ifunc_impl_list): Likewise.
1033 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1034 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1035 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1036 strlen for PPC64.
1037
1fd005ad
AZ
10382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1039
1040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1041 implementations.
1042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1043 (__libc_ifunc_impl_list): Likewise.
1044 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1045 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1046 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1047 rawmemrchr for PPC64.
1048
cd05ba91
AZ
10492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1050
1051 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1052 implementation.
1053 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1054 (__libc_ifunc_impl_list): Likewise.
1055 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1056 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1057 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1058 memrchr for PPC64.
1059
870f8676
AZ
10602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1061
1062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1063 implementation.
1064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1065 (__libc_ifunc_impl_list): Likewise.
1066 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1067 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1068 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1069 memchr for PPC64.
1070
f00be62b
AZ
10712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1072
1073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1074 implementation.
1075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1076 (__libc_ifunc_impl_list): Likewise.
1077 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1078 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1079 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1080 mempcpy for PPC64.
1081
8a29a3d0
AZ
10822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1083
1084 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1085 avoid cretion of __bzero symbol.
1086 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1087 Likewise.
1088 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1089 Likewise.
1090 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1091 Likewise.
1092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1093 multiarch implementations.
1094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1095 (__libc_ifunc_impl_list): Likewise.
1096 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1097 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1098 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1099 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1100 bzero for PPC32.
1101 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1102 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1103 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1104 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1105 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1106 memset for PPC64.
1107 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1108
07253fcf
AZ
11092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1110
1111 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1113 implementations.
1114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1115 (__libc_ifunc_impl_list): Likewise.
1116 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1117 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1118 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1119 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1120 memcmp for PPC64.
1121
b5beafbc
AZ
11222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1123
1124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1125 multiarch for POWER/PPC64.
1126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1127 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1128 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1129 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1130 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1131 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1132 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1133 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1134 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1135 memcpy for PPC64.
1136
5e6a4d4b
AZ
11372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1138
1139 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1140 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1141 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1142 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1143 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1144 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1145 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1146 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1147 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1148 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1149 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1150 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1151 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1152 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1153 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1161
ddfab6dc
KK
11622013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1163
1164 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1165
19b5525e
SP
11662013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1167
1168 * benchtests/Makefile (bench): Add exp2 and log2.
1169 (LDLIBS-bench-exp2): Add -lm.
1170 (LDLIBS-bench-log2): Likewise.
1171 * benchtests/exp2-inputs: New inputs file.
1172 * benchtests/log2-inputs: New inputs file.
1173 * benchtests/log-inputs: Add new inputs.
1174 * benchtests/tan-inputs: Likewise.
1175
196f7f5d
SP
11762013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1177
7a74607f
SP
1178 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1179 definition...
1180 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1181 csloww1, csloww2): ... from here.
1182
196f7f5d
SP
1183 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1184 instead of structures.
1185 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1186 (POLYNOMIAL): Likewise.
1187 (TAYLOR_SLOW): Likewise.
1188 (__sin): Likewise.
1189 (__cos): Likewise.
1190 (slow1): Likewise.
1191 (slow2): Likewise.
1192 (sloww): Likewise.
1193 (sloww1); Likewise.
1194 (sloww2): Likewise.
1195 (bsloww1): Likewise.
1196 (bsloww2): Likewise.
1197 (cslow2): Likewise.
1198 (csloww): Likewise.
1199 (csloww1): Likewise.
1200 (csloww2): Likewise.
1201
0dfa665c
OB
12022013-12-10 Ondřej Bílka <neleai@seznam.cz>
1203
1204 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1205 (__malloc_assert, __libc_realloc, __libc_calloc,
1206 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1207 memcpy and memset.
1208 * malloc/hooks.c (realloc_check): Likewise.
1209
5782a80f
OB
12102013-12-10 Ondřej Bílka <neleai@seznam.cz>
1211
1212 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1213 * malloc/arena.c: Remove PER_THREAD conditional.
1214 [!PER_THREAD]: Remove code.
1215 (ptmalloc_unlock_all2): Likewise.
1216 (ptmalloc_init): Likewise.
1217 (_int_new_arena): Likewise.
1218 (arena_get2): Likewise.
1219 * malloc/hooks.c (__malloc_get_state): Likewise.
1220 (__malloc_set_state): Likewise.
1221 * malloc/malloc.c: Likewise.
1222 (struct malloc_state): Likewise.
1223 (struct malloc_par): Likewise.
1224 (__libc_realloc): Likewise.
1225 (__libc_mallopt): Likewise.
1226
aeb95445
AZ
12272013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1228
1229 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1230
e8349efd
OB
12312013-12-09 Ondřej Bílka <neleai@seznam.cz>
1232
1233 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1234 macro to a function. Check for zero perturb_byte.
1235 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1236
f3eeb3fc
OB
12372013-12-09 Ondřej Bílka <neleai@seznam.cz>
1238
1239 * malloc/malloc.c: (force_reg): Remove.
1240 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1241 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1242 force_reg by atomic_forced_read.
1243 * malloc/arena.c (ptmalloc_init): Likewise.
1244 * malloc/hooks.c (top_check): Likewise.
1245
be2f9009
AZ
12462013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1247
1248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1249
e7b914bd
MT
12502013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1251
1252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1253
9f0be4f8
JM
12542013-12-08 Joseph Myers <joseph@codesourcery.com>
1255
1256 * math/auto-libm-test-in: Add tests of lgamma.
1257 * math/auto-libm-test-out: Regenerated.
1258 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1259 (M_LOG_2_SQRT_PIl): Likewise.
1260 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1261 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1262 mpfr_f_f1.
1263 (func_calc_desc): Add mpfr_f_f1 union field.
1264 (ARGS1): New macro.
1265 (ARGS2): Likewise.
1266 (ARGS3): Likewise.
1267 (ARGS4): Likewise.
1268 (RET1): Likewise.
1269 (RET2): Likewise.
1270 (CALC): Likewise.
1271 (FUNC): Likewise.
1272 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1273 (test_functions): Add lgamma.
1274 (calc_generic_results): Handle mpfr_f_f1.
1275 * sysdeps/i386/fpu/libm-test-ulps: Update.
1276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1277
24eeafdb
AZ
12782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1279
1280 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1281 __mpn_add_n for PowerPC64/POWER7.
1282 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1283 __mpn_sub_n for PowerPC64/POWER7.
1284
4a2c0fd4
AZ
12852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1286
1287 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1288 __mpn_addmul_1 for PowerPC64.
1289 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1290 __mpn_submul_1 for PowerPC64.
1291 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1292 for PowerPC64.
1293 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1294 for PowerPC64.
1295
4b5b548c
FS
12962013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1297
1298 [BZ #15089]
1299 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1300
0a3ac0aa
AZ
13012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1302
1303 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1304
ccdc8438
AZ
13052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306
1307 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1308 add multiarch folders.
1309 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1310 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1311 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1312 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1313 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1314 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1315 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1316 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1317 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1318 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1319 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1326
2e973d99
AZ
13272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1328
1329 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1330 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1332 New file.
1333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1334 New file.
1335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1336 multiarch __ieee754_hypot for PowerPC32.
1337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1338 New file.
1339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1340 New file.
1341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1342 multiarch __ieee754_hypotf for PowerPC32.
1343
2d9470b2
AZ
13442013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1345
1346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1347 long_double_symbol only if __logbl is defined.
1348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1349 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1350 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1351 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1352 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1353 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1354 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1355 path for implementation.
1356 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1359 logb, and logbl multiarch implementations for PowerPC32.
1360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1361 file.
1362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1363 file.
1364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1365 multiarch logb for PowerPC32.
1366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1367 file.
1368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1369 file.
1370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1371 multiarch logbf for PowerPC32.
1372 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1374 file.
1375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1376 multiarch logbl implementation for PowerPC32.
1377
5212ffce
AZ
13782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1379
1380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1381 and modff multiarch implementations.
1382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1383 New file.
1384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1385 New file.
1386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1387 multiarch modf for PowerPC32.
1388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1389 New file.
1390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1391 New file.
1392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1393 multiarch modff for PowerPC32.
1394
79dccf31
AZ
13952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1396
1397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1398 and lrintf multiarch implementations.
1399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1400 New file.
1401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1402 New file.
1403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1404 multiarch lrint for PowerPC32.
1405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1406 file: multiarch lrintf for PowerPC32.
1407
deb66480
AZ
14082013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1409
1410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1411 and lroundf multiarch implementations.
1412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1413 New file.
1414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1415 New file.
1416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1417 New file.
1418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1419 multiarch lround for PowerPC32.
1420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1421 file: multiarch lroundf for PowerPC32.
1422
264b036b
AZ
14232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1424
1425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1426 copysign and copysignf multiarch implementations.
1427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1428 New file.
1429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1430 New file.
1431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1432 file: multiarch copysign for PowerPC32.
1433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1434 file: multiarch copysignf for PowerPC32.
1435
d47db6c9
AZ
14362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1437
1438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1439 and truncf multiarch implementations.
1440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1441 New file.
1442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1443 file.
1444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1445 multiarch trunc for PowerPC32.
1446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1447 New file.
1448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1449 New file.
1450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1451 multiarch truncf for PowerPC32.
1452
ddb60b5a
AZ
14532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1454
1455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1456 and roundf multiarch implementations.
1457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1458 New file.
1459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1460 file.
1461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1462 multiarch round for PowerPC32.
1463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1464 New file.
1465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1466 New file.
1467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1468 multiarch roundf for PowerPC32.
1469
bedcf49b
AZ
14702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1471
1472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1473 and floorf multiarch implementations.
1474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1475 New file.
1476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1477 file.
1478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1479 multiarch floor for PowerPC32.
1480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1481 New file.
1482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1483 New file.
1484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1485 multiarch floorf for PowerPC32.
1486
35ae5b40
AZ
14872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1488
1489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1490 and ceilf multiarch implementations.
1491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1492 New file.
1493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1494 file.
1495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1496 multiarch ceil for PowerPC32.
1497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1498 New file.
1499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1500 file.
1501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1502 multiarch ceilf for PowerPC32.
1503
ae1a4cd9
AZ
15042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1505
1506 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1507 is defined.
1508 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1509 FINITEF is defined.
1510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1511 and finitef multiarch implementations.
1512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1513 New file.
1514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1515 file.
1516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1517 multiarch finite for PowerPC32.
1518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1519 New file.
1520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1521 file: multiarch finitef for PowerPC32.
1522
64fffd65
AZ
15232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1524
1525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1526 and isinff multiarch implementations.
1527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1528 file.
1529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1530 file.
1531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1532 multiarch isinf for PowerPC32.
1533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1534 New file.
1535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1536 multiarch isinff for PowerPC32.
1537
8e4e7ba2
AZ
15382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1539
1540 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1541 alias when __isnan is defined.
1542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1543 and isnanf multiarch implementations.
1544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1545 file.
1546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1547 file.
1548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1549 file.
1550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1551 file.
1552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1553 multiarch isnan for PowerPC32.
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1555 New file.
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1557 New file.
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1559 multiarch isnanf for PowerPC32.
1560
ddba588e
AZ
15612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1562
1563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1564 and sqrtf multiarch implementations.
1565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1566 file.
1567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1568 file.
1569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1570 multiarch sqrt for PowerPC32.
1571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1572 file.
1573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1574 file.
1575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1576 multiarch sqrtf for PowerPC32.
1577
0f96a2f0
AZ
15782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1579
1580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1581 and llroundf multiarch implementations.
1582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1583 New file.
1584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1585 New file.
1586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1587 New file.
1588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1589 file: multiarch llround for PowerPC32.
1590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1591 file: multiarch llroundf for PowerPC32.
1592
c9b5d79e
AZ
15932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1594
1595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1596 multiarch PowerPC32 fpu implementations.
1597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1598 New file.
1599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1600 New file.
1601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1602 multiarch llrint for PowerPC32.
1603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1604 New file.
1605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1606 New file.
1607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1608 file.
1609
9cbb3aab
AZ
16102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1611
1612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1613
ea5a72f8
AZ
16142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1615
1616 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1617 file.
1618 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1619 file.
1620 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1621 file.
1622 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1623 multiarch wordcopy for PPC32.
1624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1625 wordcopy objects.
1626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1627 (__libc_ifunc_impl_list): Likewise.
1628 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
1629 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
1630 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
1631 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
1632 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
1633 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
1634
93be09e7
AZ
16352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1636
1637 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
1638 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
1639 file.
1640 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
1641 file.
1642 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
1643 file.
1644 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
1645 multiarch wcscpy for PPC32.
1646 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1647 multiarch objects.
1648 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1649 (__libc_ifunc_impl_list): Likewise.
1650 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1651 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1652 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
1653 sysdeps/powerpc/power6/wcscpy.c.
1654
bb04e529
AZ
16552013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1656
1657 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
1658 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
1659 file.
1660 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
1661 file.
1662 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
1663 file.
1664 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
1665 multiarch wcsrchr for PPC32.
1666 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1667 multiarch objects.
1668 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1669 (__libc_ifunc_impl_list): Likewise.
1670 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
1671 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
1672 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
1673 sysdeps/powerpc/power6/wcsrchr.c.
1674
05b5cd1c
AZ
16752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1676
1677 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
1678 file.
1679 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
1680 file.
1681 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
1682 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
1683 multiarch wcschr for PPc32.
1684 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
1685 multiarch objects.
1686 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1687 (__libc_ifunc_impl_list): Likewise.
1688 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
1689 * sysdeps/powerpc/power6/wcschr.c: ... to here.
1690 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
1691 sysdeps/powerpc/power6/wcschr.c.
1692
ba964147
AZ
16932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1694
1695 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
1696 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
1697 file.
1698 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
1699 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
1700 file: multiarch strchr for PPC32.
1701 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
1702 multiarch objects.
1703 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1704 (__libc_ifunc_impl_list): Likewise.
1705
31c81aaa
AZ
17062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1707
1708 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
1709 name.
1710 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
1711 file.
1712 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
1713 file.
1714 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
1715 multiarch strchrnul for PPC32.
1716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
1717 multiarch objects.
1718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1719 (__libc_ifunc_impl_list): Likewise.
1720
0d0607d9
AZ
17212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1722
1723 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
1724 file.
1725 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
1726 multiarch strncasecmp for PPC32.
1727 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
1728 file.
1729 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
1730 multiarch strncasecmp_l for PPC32.
1731 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
1732 strncasecmp multiarch objects.
1733 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1734 (__libc_ifunc_impl_list): Likewise.
1735
4dfd5c86
AZ
17362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1737
1738 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
1739 file.
1740 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
1741 multiarch strncasecmp for PPC32.
1742 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
1743 New file.
1744 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
1745 multiarch strcasecmp_l for PPC32.
1746 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
1747 multiarch objects.
1748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1749 (__libc_ifunc_impl_list): Likewise.
1750
a19e01a3
AZ
17512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1752
1753 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
1754 file.
1755 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
1756 file.
1757 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
1758 multiarch strncmp for PPC32.
1759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
1760 multiarch objects.
1761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1762 (__libc_ifunc_impl_list): Likewise.
1763
ae9cf7a2
AZ
17642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765
1766 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
1767 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
1768 file.
1769 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
1770 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
1771 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
1772 multiarch objects.
1773 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1774 (__libc_ifunc_impl_list): Likewise.
1775
3148bb7d
AZ
17762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1777
1778 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
1779 file.
1780 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
1781 file.
1782 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
1783 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
1784 multiarch objects.
1785 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1786 (__libc_ifunc_impl_list): Likewise.
1787
7af8b946
AZ
17882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1789
1790 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
1791 file.
1792 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
1793 file.
1794 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
1795 multiarch rawmemchr for PPC32.
1796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
1797 multiarch objects.
1798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1799 (__libc_ifunc_impl_list): Likewise.
1800
03a6aa6a
AZ
18012013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1802
1803 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
1804 file.
1805 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
1806 file.
1807 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
1808 file: memrchr multiarch for PPC32.
1809 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
1810 multiarch objects.
1811 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1812 (__libc_ifunc_impl_list): Likewise.
1813
1c62e6d9
AZ
18142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1815
1816 * string/memchr.c (__memchr): Using macro to redefine symbol name.
1817 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
1818 file.
1819 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
1820 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
1821 multiarch memchr for PPC32.
1822 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
1823 multiarch objects.
1824 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1825 (__libc_ifunc_impl_list): Likewise.
1826
87da8bdb
AZ
18272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1828
1829 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
1830 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
1831 file.
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
1833 file.
1834 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
1835 file: multiarch mempcpy for PPC32.
1836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
1837 multiarch objects.
1838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1839 (__libc_ifunc_impl_list): Likewise.
1840
20ed4714
AZ
18412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1842
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
1844 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
1845 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
1846 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
1847 multiarch bzero for PPC32.
1848 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
1849 file.
1850 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
1851 file.
1852 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
1853 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
1854 file: multiarch memset for PPC32.
1855 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
1856 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
1857 memset multiarch objects.
1858 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1859 (__libc_ifunc_impl_list): Likewise.
1860
ab3e3a46
AZ
18612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1862
1863 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
1864 file.
1865 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
1866 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
1867 memcmp for PPC32.
1868 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
1869 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
1870 multiarch objects.
1871 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1872 (__libc_ifunc_impl_list): Likewise.
1873
930de6f0
AZ
18742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1875
1876 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
1877 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
1878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
1879 file.
1880 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
1881 file.
1882 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
1883 file.
1884 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
1885 multiarch memcpy for PPC32.
1886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
1887 multiarch objects.
1888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
1889 (__libc_ifunc_impl_list): Likewise.
1890
4c628e00
AZ
18912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1892
1893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
1894 support multiarch for POWER/PPC32.
1895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1896 Likewise.
1897 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
1899 Implies file to make multiarch folder appers before the fpu and
1900 default folder for power4 configuration.
1901
f4479220
SP
19022013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1903
1904 * scripts/bench.pl: Append volatile keyword to type.
1905
8517800f
KK
19062013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1907
1908 * sysdeps/sh/sotruss-lib.c: New file.
1909 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
1910
180138f1
AZ
19112013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1912
1913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1914
bbf37bdc
JM
19152013-12-05 Joseph Myers <joseph@codesourcery.com>
1916
e47cc4e0
JM
1917 [BZ #6810]
1918 * math/w_tgamma.c: Include <errno.h>.
1919 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
1920 * math/w_tgammaf.c: Include <errno.h>.
1921 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
1922 * math/w_tgammal.c: Include <errno.h>.
1923 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
1924 * math/auto-libm-test-in: Do not allow missing errno on tgamma
1925 underflow. Add more tgamma tests.
1926 * math/auto-libm-test-out: Regenerated.
1927 * sysdeps/i386/fpu/libm-test-ulps: Update.
1928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1929
bbf37bdc
JM
1930 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
1931 sin, sinh, tan, tanh, tgamma, y0 and y1.
1932 * math/auto-libm-test-out: Regenerated.
1933 * math/libm-test.inc (TEST_COND_x86_64): New macro.
1934 (TEST_COND_x86): Likewise.
1935 (M_E2l): Remove macro.
1936 (M_E3l): Likewise.
1937 (M_2_SQRT_PIl): Likewise.
1938 (M_SQRT_PIl): Likewise.
1939 (M_1_DIV_El): Likewise.
1940 (log_test_data): Use AUTO_TESTS_f_f.
1941 (log10_test_data): Likewise.
1942 (log1p_test_data): Likewise.
1943 (log2_test_data): Likewise.
1944 (sin_test_data): Likewise.
1945 (sin_tonearest_test_data): Likewise.
1946 (sin_towardzero_test_data): Likewise.
1947 (sin_downward_test_data): Likewise.
1948 (sin_upward_test_data): Likewise.
1949 (sinh_test_data): Likewise.
1950 (sinh_tonearest_test_data): Likewise.
1951 (sinh_towardzero_test_data): Likewise.
1952 (sinh_downward_test_data): Likewise.
1953 (sinh_upward_test_data): Likewise.
1954 (tan_test_data): Likewise.
1955 (tan_tonearest_test_data): Likewise.
1956 (tan_towardzero_test_data): Likewise.
1957 (tan_downward_test_data): Likewise.
1958 (tan_upward_test_data): Likewise.
1959 (tanh_test_data): Likewise.
1960 (tgamma_test_data): Likewise.
1961 (y0_test_data): Likewise.
1962 (y1_test_data): Likewise.
1963 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
1964 (special_real_inputs): Add pi/4.
1965 * sysdeps/i386/fpu/libm-test-ulps: Update.
1966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1967
eb5ad6b9
AZ
19682013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1969
1970 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
1971 "longjmp_target" static probes.
1972 (__longjmp): Rename to __longjmp_symbol.
1973 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1974 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
1975 on which longjmp to generate.
1976 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1977 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
1978 probe.
1979 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1980 (__sigjmp_save): Rename to __sigjmp_save_symbol.
1981 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1982 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
1983 and __sigjmp_save_symbol based on which sigsetjmp to generated.
1984 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
1985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
1986 __longjmp_symbol based on which __longjmp to generate.
1987 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
1988 probe.
1989 (setjmp): Rename to setjmp_symbol.
1990 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1991 (_setjmp): Rename to _setjmp_symbol.
1992 (__sigsetjmp): Rename to __sigsetjmp_symbol.
1993 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
1994 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
1995 which setjmp to generate.
1996 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
1997 "longjmp_target" static probes.
1998
d136c6dc
SP
19992013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2000
9298ecba
SP
2001 * benchtests/README: Add note about output arguments.
2002 * benchtests/bench-sincos.c: Remove file.
2003 * benchtests/sincos-inputs: New file.
2004 * scripts/bench.pl: Identify output arguments and define
2005 static variables for them.
2006
232983e9
SP
2007 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2008
d136c6dc
SP
2009 [BZ #15941]
2010 * Makefile (INSTALL): Add install-plain.texi as the primary
2011 dependency.
2012 * manual/install-plain.texi: New file.
2013 * manual/install.texi: Include node directive only for
2014 non-plaintext output.
2015
699ff837
JM
20162013-12-04 Joseph Myers <joseph@codesourcery.com>
2017
ab07cea8
JM
2018 * stdlib/longlong.h: Update from GCC.
2019
699ff837
JM
2020 [BZ #6807]
2021 [BZ #15901]
2022 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2023 * math/w_j0f.c (y0f): Likewise.
2024 * math/w_j0l.c (__y0l): Likewise.
2025 * math/w_j1.c (y1): Likewise.
2026 * math/w_j1f.c (y1f): Likewise.
2027 * math/w_j1l.c (__y1l): Likewise
2028 * math/w_jn.c (yn): Likewise.
2029 * math/w_jnf.c (ynf): Likewise.
2030 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2031 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2032 value for Bessel function domain errors outside _SVID_ mode.
2033 Adjust sign of return value for yn (negative integer, 0).
2034 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2035 by zero in return for negative x and set sign appropriately for
2036 negative n.
2037 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2038 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2039 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2040 expectations in error cases.
2041 (y1_test_data): Likewise.
2042 (yn_test_data): Likewise.
2043 * sysdeps/i386/fpu/libm-test-ulps: Update.
2044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2045
5b118558
UW
20462013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2047
2048 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2049 "64" to "64-v1". Add "64-v2".
2050 (abi-64-options): Rename to ...
2051 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2052 (abi-64-condition): Rename to ...
2053 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2054 (abi-64-ld-soname): Rename to ...
2055 (abi-64-v1-ld-soname): ... this.
2056 (abi-64-v2-options): Define.
2057 (abi-64-v2-condition): Likewise.
2058 (abi-64-v2-ld-soname): Likewise.
2059 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2060 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2064
61cd8fe4
UW
20652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2066 Alan Modra <amodra@gmail.com>
2067
2068 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2069 New versions for use with the ELFv2 ABI.
2070 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2071 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2072 declaration.
2073 (struct La_ppc64v2_retval): Likewise.
2074 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2075 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2076 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2077 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2078 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2079 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2080 Do not save or restore CR.
2081 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2082 (_dl_profile_resolve): Do no save or restore CR. Support extended
2083 return values for ELFv2 ABI. Fix location of FPR return registers.
2084 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2085 updated values for _CALL_ELF == 2.
2086 (La_regs, La_retval, int_retval): Likewise.
2087
8b8a692c
UW
20882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2089
2090 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2091 (FRAME_MIN_SIZE_PARM): Likewise.
2092 (FRAME_BACKCHAIN): Likewise.
2093 (FRAME_CR_SAVE): Likewise.
2094 (FRAME_LR_SAVE): Likewise.
2095 (FRAME_TOC_SAVE): Likewise.
2096 (FRAME_PARM_SAVE): Likewise.
2097 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2098 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2099 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2100 (call_mcount_parm_offset): New macro.
2101 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2102 (PROF): Use symbolic stack frame offsets.
2103 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2104 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2105 Redefine in terms of FRAME_MIN_SIZE.
2106 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2107 (_dl_profile_resolve): Likewise. Update comment.
2108 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2109 symbols stack frame offsets.
2110 (__sigsetjmp): Likewise.
2111 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2112 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2113 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2114 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2115
2116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2117 (FRAME_BACKCHAIN): Remove.
2118 (FRAME_CR_SAVE): Likewise.
2119 (FRAME_LR_SAVE): Likewise.
2120 (FRAME_COMPILER_DW): Likewise.
2121 (FRAME_LINKER_DW): Likewise.
2122 (FRAME_TOC_SAVE): Likewise.
2123 (FRAME_PARM_SAVE): Likewise.
2124 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2125 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2126 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2128 (CHECK_SP): Use symbolic stack frame offsets.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2130 zone" instead of caller's parameter save area for temp storage.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2132 Likewise. Also, use symbolic stack frame offsets.
2133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2134 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2135 our own stack frame instead of the caller's.
2136 (__socket): Use symbolic stack frame offsets.
2137
122b66de
UW
21382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2139 Alan Modra <amodra@gmail.com>
2140
2141 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2142 Define.
2143 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2144 PPC64_LOCAL_ENTRY_OFFSET): Define.
2145 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2146 New function.
2147 (elf_machine_fixup_plt): Call it.
2148 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2149 reloc arguments.
2150 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
2151 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2152 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
2153 r2 before calling target.
2154
696caf1d
UW
21552013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2156 Alan Modra <amodra@gmail.com>
2157
2158 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2159 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2160 versions of macros to support ELFv2 ABI.
2161 (LOCALENTRY): New macro.
2162 (ENTRY, EALIGN): Use it.
2163 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2164 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2165 fall through into ENTRY entry point.
2166 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2167 Only define if _CALL_ELF != 2.
2168
2169 (elf_machine_matches_host): Verify ABI version matches.
2170 (RTLD_START): Use LOCALENTRY.
2171 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2172 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2173 (PLT_ENTRY_WORDS): New macro.
2174 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2175 (elf_machine_runtime_setup): Support ELFv2 ABI.
2176 (elf_machine_fixup_plt): Likewise.
2177 (elf_machine_plt_conflict): Likewise.
2178 (resolve_ifunc): Likewise.
2179 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2180 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2181 Likewise.
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2183 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2185 (makecontext): Support ELFv2 ABI.
2186 * elf/elf.h (EF_PPC64_ABI): Define.
2187
d31beafa
UW
21882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2189
2190 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2191 New assembler macro.
2192 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2193 [ASSEMBLER] (ENTRY): ... but instead here ...
2194 [ASSEMBLER] (EALIGN): ... and here.
2195 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2196 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2197 [!ASSEMBLER] (ENTRY_2): Use it.
2198 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2199 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2200 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2201 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2202 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2204 Use PPC64_LOAD_FUNCPTR.
2205
b525166b
UW
22062013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2207
2208 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2209
7ec07d9a
AM
22102013-12-04 Alan Modra <amodra@gmail.com>
2211
2212 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2213 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2214 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2215 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2216
2217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2218 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2219 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2220 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2221 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2222 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2223
5162e7dd
UW
22242013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2225
2226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2227 (__makecontext): Fix incorrect CFI when backtracing out of
2228 context created via makecontext.
2229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2230 (__setcontext): Fix incorrect CFI during switch to new context.
2231 (__novec_setcontext): Likewise.
2232
19e3372b
OB
22332013-12-04 Ondřej Bílka <neleai@seznam.cz>
2234
2235 [BZ #4772]
2236 * time/strptime_l.c (__strptime_internal): Allow modifiers
2237 in strptime.
2238 * time/tst-strptime.c (day_tests): Add testcase.
2239
2240
ecaf142d
SP
22412013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2242
2243 * scripts/bench.pl: Skip over blank lines.
2244
fbf964ae
PE
22452013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2246
2247 [BZ #926]
2248 * manual/time.texi (Calendar Time): Clarify what timezone functions
2249 use.
2250
fa60a674
AZ
22512013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2252
2253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2254
d674f0ef
OB
22552013-12-04 Ondřej Bílka <neleai@seznam.cz>
2256
2257 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2258 implementation.
2259 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2260 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2261 * debug/memset_chk.c (__memset_chk): Likewise.
2262 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2263 * debug/strncpy_chk.c: Likewise.
2264
17dea188
JM
22652013-12-03 Joseph Myers <joseph@codesourcery.com>
2266
749008ff
JM
2267 [BZ #15268]
2268 [BZ #15425]
2269 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2270 (__ieee754_exp): For possibly underflowing results, check size of
2271 result and force underflow exception if required.
2272 * math/auto-libm-test-in: Add more tests of exp.
2273 * math/auto-libm-test-out: Regenerated.
2274 * sysdeps/i386/fpu/libm-test-ulps: Update.
2275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2276
17dea188
JM
2277 [BZ #16283]
2278 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2279 * math/w_exp2f.c (__exp2f): Likewise.
2280 * math/w_exp2l.c (__exp2l): Likewise.
2281 * math/auto-libm-test-in: Do not allow missing errno on exp2
2282 underflow.
2283 * math/auto-libm-test-out: Regenerated.
2284
b20de2c3
OB
22852013-12-03 Ondřej Bílka <neleai@seznam.cz>
2286
2287 [BZ #16274]
2288 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2289 handle filename validation.
2290 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2291 (do_open): Delete.
2292
d8e2dbe3
JM
22932013-12-03 Joseph Myers <joseph@codesourcery.com>
2294
34e16df5
JM
2295 [BZ #6786]
2296 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2297 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2298 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2299 <float.h>.
2300 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2301 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2302 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2303 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2304 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2305 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2306 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2307 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2308 Add more erfc tests.
2309 * math/auto-libm-test-out: Regenerated.
2310 * sysdeps/i386/fpu/libm-test-ulps: Update.
2311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2312
d8e2dbe3
JM
2313 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2314 exp2, expm1, j0 and j1.
2315 * math/auto-libm-test-out: Regenerated.
2316 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2317 (erfc_test_data): Likewise.
2318 (exp_test_data): Likewise.
2319 (exp_tonearest_test_data): Likewise.
2320 (exp_towardzero_test_data): Likewise.
2321 (exp_downward_test_data): Likewise.
2322 (exp_upward_test_data): Likewise.
2323 (exp10_test_data): Likewise.
2324 (exp2_test_data): Likewise.
2325 (expm1_test_data): Likewise.
2326 (j0_test_data): Likewise.
2327 (j1_test_data): Likewise.
2328 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2329 (input_flag_type): Add flag_xfail_rounding.
2330 (input_flags): Add xfail-rounding.
2331 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2332 (output_for_one_input_case): Handle flag_xfail_rounding.
2333 * sysdeps/i386/fpu/libm-test-ulps: Update.
2334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2335
18d14251
AJ
23362013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2337
3d2e6075 2338 [BZ #16289]
18d14251
AJ
2339 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2340 division by 0.
2341
520d437b
SP
23422013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2343
2344 [BZ #16195]
2345 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2346 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2347 (STAP_PROBE0): New macro.
2348 (STAP_PROBE1): Likewise.
2349 (STAP_PROBE2): Likewise.
2350 (STAP_PROBE3): Likewise.
2351 (STAP_PROBE4): Likewise.
2352
416e0145
OB
23532013-12-02 Ondřej Bílka <neleai@seznam.cz>
2354
2355 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2356
9d17796a
SE
23572013-12-02 Steve Ellcey <sellcey@mips.com>
2358
2359 * benchtests/Makefile (bench): Add sqrt.
2360 (LDLIBS-bench-sqrt): New.
2361 * benchtests/sqrt-input: New.
2362
f524d6a8
PS
23632013-12-02 Pavel Simerda <psimerda@redhat.com>
2364
639a0ef8
PS
2365 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2366 (GAIH_EAI): Likewise.
2367 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2368 (gaih_inet): Likewise.
2369 (getaddrinfo): Don't use GAIH_EAI.
2370
f524d6a8
PS
2371 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2372 (struct gaih): Remove definition.
2373
df3aedaf
SP
23742013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2375
2376 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2377 Use HERRNOP directly.
2378
1ab19dec
AZ
23792013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2380
b42ad38d 2381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 2382
176b0c79
JM
23832013-11-30 Joseph Myers <joseph@codesourcery.com>
2384
2385 * math/gen-auto-libm-tests.c (test_functions): Add more
2386 single-argument functions.
2387 (special_fill_pi_2): New function.
2388 (special_fill_minus_pi_2): Likewise.
2389 (special_fill_pi_6): Likewise.
2390 (special_fill_minus_pi_6): Likewise.
2391 (special_fill_pi_3): Likewise.
2392 (special_fill_2pi_3): Likewise.
2393 (special_fill_e): Likewise.
2394 (special_fill_1_e): Likewise.
2395 (special_fill_e_minus_1): Likewise.
2396 (special_real_inputs): Add more special inputs.
2397 (output_for_one_input_case): Do not require ERANGE on underflow to
2398 zero if round-to-nearest result does not underflow to zero, unless
2399 exact results required.
2400 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2401 atan, atanh, cbrt, cos and cosh.
2402 * math/auto-libm-test-out: Regenerated.
2403 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2404 (acos_tonearest_test_data): Likewise.
2405 (acos_towardzero_test_data): Likewise.
2406 (acos_downward_test_data): Likewise.
2407 (acos_upward_test_data): Likewise.
2408 (acosh_test_data): Likewise.
2409 (asin_test_data): Likewise.
2410 (asin_tonearest_test_data): Likewise.
2411 (asin_towardzero_test_data): Likewise.
2412 (asin_upward_test_data): Likewise.
2413 (asinh_test_data): Likewise.
2414 (atan_test_data): Likewise.
2415 (atanh_test_data): Likewise.
2416 (cbrt_test_data): Likewise.
2417 (cos_test_data): Likewise.
2418 (cos_tonearest_test_data): Likewise.
2419 (cos_towardzero_test_data): Likewise.
2420 (cos_downward_test_data): Likewise.
2421 (cos_upward_test_data): Likewise.
2422 (cosh_test_data): Likewise.
2423 (cosh_tonearest_test_data): Likewise.
2424 (cosh_towardzero_test_data): Likewise.
2425 (cosh_downward_test_data): Likewise.
2426 (cosh_upward_test_data): Likewise.
2427 * sysdeps/i386/fpu/libm-test-ulps: Update.
2428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2429
ffb536d0
JM
24302013-11-29 Joseph Myers <joseph@codesourcery.com>
2431
2a77a467
JM
2432 [BZ #6787]
2433 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2434 * math/w_exp10f.c (__exp10f): Likewise.
2435 * math/w_exp10l.c (__exp10l): Likewise.
2436 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2437 errno settings in existing tests.
2438
ea3bc4e8
JM
2439 [BZ #14032]
2440 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2441 precision control set to double precision.
2442 * sysdeps/i386/fpu/w_sqrt.c: New file.
2443 * math/auto-libm-test-in: Add more tests.
2444 * math/auto-libm-test-out: Update.
2445
0712c9d8
JM
2446 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2447 (sqrt_test_tonearest): New function.
2448 (sqrt_towardzero_test_data): New variable.
2449 (sqrt_test_towardzero): New function.
2450 (sqrt_downward_test_data): New variable.
2451 (sqrt_test_downward): New function.
2452 (sqrt_upward_test_data): New variable.
2453 (sqrt_test_upward): New function.
2454 (main): Call the new functions.
2455
ffb536d0
JM
2456 * math/gen-auto-libm-tests.c: New file.
2457 * math/auto-libm-test-in: Likewise.
2458 * math/auto-libm-test-out: New generated file.
2459 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2460 variables.
2461 (%beautify): Add generated representations of zero.
2462 (top level): Set $auto_input and call parse_auto_input.
2463 (beautify): Remove trailing "f" from hex float constants.
2464 (parse_args): Handle XFAIL_TEST.
2465 (convert_condition): New function.
2466 (or_value): Likewise.
2467 (or_cond_value): Likewise.
2468 (generate_testfile): Handle AUTO_TESTS_* lines.
2469 (parse_auto_input): New function.
2470 * math/libm-test.inc (XFAIL_TEST): New macro.
2471 (ERRNO_UNCHANGED): Update value.
2472 (ERRNO_EDOM): Likewise.
2473 (ERRNO_ERANGE): Likewise.
2474 (IGNORE_RESULT): Likewise.
2475 (TEST_COND_flt_32): New macro.
2476 (TEST_COND_dbl_64): Likewise.
2477 (TEST_COND_ldbl_96_intel): Likewise.
2478 (TEST_COND_ldbl_96_m68k): Likewise.
2479 (TEST_COND_ldbl_128): Likewise.
2480 (TEST_COND_ldbl_128ibm): Likewise.
2481 (TEST_COND_long32): Likewise.
2482 (TEST_COND_long64): Likewise.
2483 (TEST_COND_before_rounding): Likewise.
2484 (TEST_COND_after_rounding): Likewise.
2485 (enable_test): Handle XFAIL_TEST flag.
2486 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2487 with finite results.
2488 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2489 auto-libm-test-out.
2490
acd98a8e
AK
24912013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2492 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2493
2494 [BZ #16214]
2495 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2496 __tls_get_addr_internal instead of __tls_get_offset in order to
2497 avoid GOT pointer dependency. Make rtld export
2498 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2499 __tls_get_addr since we are a __tls_get_offset platform.
2500 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2501 GOT pointer being set up before.
2502 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2503
3c1c46a6
JM
25042013-11-28 Joseph Myers <joseph@codesourcery.com>
2505
7475aef5
JM
2506 * manual/math.texi (Errors in Math Functions): Document accuracy
2507 goals.
2508
8bca7cd8
JM
2509 [BZ #15004]
2510 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2511 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2512 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2513 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2514 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2515 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2516 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2517 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2518 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2519 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2520 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2521 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2522 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2523 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2524 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2525 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2526
91a1f3fe
JM
2527 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2528 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2529 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2530 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2531 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2532 Likewise.
2533 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2534 Likewise.
2535 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2536 Likewise.
2537 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2538 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2539 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2540 atomic-feupdateenv and flt-rounds.
2541 * sysdeps/powerpc/nofpu/Versions (libc): Add
2542 __atomic_feholdexcept, __atomic_feclearexcept,
2543 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2544 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2545 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2546 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2547 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2548 here.
2549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2550 Update.
2551
c5df7609
JM
2552 * manual/arith.texi (FP Exceptions): Document that exceptions may
2553 not be raised when matherr is used.
2554 (Math Error Reporting): Document overflow in directed rounding
2555 modes. Document that errno may not be set when finite values are
2556 returned on overflow. Document intent to set errno on underflow
2557 only for underflow to zero.
2558
3c1c46a6
JM
2559 [BZ #16271]
2560 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2561 round-to-nearest then adjust result for other rounding modes.
2562 * include/fenv.h (fegetround): Use libm_hidden_proto.
2563 * math/fegetround.c (fegetround): Use libm_hidden_def.
2564 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2565 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2566 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2567 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2568 Likewise.
2569 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2570 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2571 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2572 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2573
5a4c6d53
SP
25742013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2575
2576 [BZ #16077]
2577 * nss/Versions (libnss_files): Add
2578 _nss_files_gethostbyname3_r.
2579 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2580 New function.
2581 (HOST_DB_LOOKUP): Remove macro.
2582 (_nss_files_gethostbyname_r): Implement function without the
2583 HOST_DB_LOOKUP macro.
2584 (_nss_files_gethostbyname2_r): Likewise.
2585
897b98ba
OB
25862013-11-28 Ondřej Bílka <neleai@seznam.cz>
2587
2588 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2589
6f476861
UB
25902013-11-26 Uros Bizjak <ubizjak@gmail.com>
2591
2592 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2593 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2594 warning.
2595
bd12ab55
AZ
25962013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2597
2598 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2599 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2600 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2601 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2602 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2603 __fe_nomask_env_priv and attribute_hidden.
2604 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2605 (libc_feupdateenv_test_ppc): Likewise.
2606 (libc_feresetround_ppc): Likewise.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2608 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2609 compat_symbol macro.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2611 (__fe_nomask_env): Likewise.
2612 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2613
52bb6543
OB
26142013-11-26 Ondřej Bílka <neleai@seznam.cz>
2615
2616 * string/Makefile: Remove ifunc tests.
2617 * string/test-string.h: Define TEST_IFUNC.
2618 * string/test-bcopy-ifunc.c: Remove.
2619 * string/test-bzero-ifunc.c: Likewise.
2620 * string/test-memccpy-ifunc.c: Likewise.
2621 * string/test-memchr-ifunc.c: Likewise.
2622 * string/test-memcmp-ifunc.c: Likewise.
2623 * string/test-memcpy-ifunc.c: Likewise.
2624 * string/test-memmem-ifunc.c: Likewise.
2625 * string/test-memmove-ifunc.c: Likewise.
2626 * string/test-mempcpy-ifunc.c: Likewise.
2627 * string/test-memrchr-ifunc.c: Likewise.
2628 * string/test-memset-ifunc.c: Likewise.
2629 * string/test-rawmemchr-ifunc.c: Likewise.
2630 * string/test-stpcpy-ifunc.c: Likewise.
2631 * string/test-stpncpy-ifunc.c: Likewise.
2632 * string/test-strcasecmp-ifunc.c: Likewise.
2633 * string/test-strcasestr-ifunc.c: Likewise.
2634 * string/test-strcat-ifunc.c: Likewise.
2635 * string/test-strchr-ifunc.c: Likewise.
2636 * string/test-strchrnul-ifunc.c: Likewise.
2637 * string/test-strcmp-ifunc.c: Likewise.
2638 * string/test-strcpy-ifunc.c: Likewise.
2639 * string/test-strcspn-ifunc.c: Likewise.
2640 * string/test-strlen-ifunc.c: Likewise.
2641 * string/test-strncasecmp-ifunc.c: Likewise.
2642 * string/test-strncat-ifunc.c: Likewise.
2643 * string/test-strncmp-ifunc.c: Likewise.
2644 * string/test-strncpy-ifunc.c: Likewise.
2645 * string/test-strnlen-ifunc.c: Likewise.
2646 * string/test-strpbrk-ifunc.c: Likewise.
2647 * string/test-strrchr-ifunc.c: Likewise.
2648 * string/test-strspn-ifunc.c: Likewise.
2649 * string/test-strstr-ifunc.c: Likewise.
2650
ab260039 26512013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
2652
2653 * benchtests/Makefile: Remove ifunc tests.
2654 * benchtests/bench-string.h: Define TEST_IFUNC.
2655 * benchtests/bench-bcopy-ifunc.c: Remove.
2656 * benchtests/bench-bzero-ifunc.c: Likewise.
2657 * benchtests/bench-memccpy-ifunc.c: Likewise.
2658 * benchtests/bench-memchr-ifunc.c: Likewise.
2659 * benchtests/bench-memcmp-ifunc.c: Likewise.
2660 * benchtests/bench-memcpy-ifunc.c: Likewise.
2661 * benchtests/bench-memmem-ifunc.c: Likewise.
2662 * benchtests/bench-memmove-ifunc.c: Likewise.
2663 * benchtests/bench-mempcpy-ifunc.c: Likewise.
2664 * benchtests/bench-memrchr-ifunc.c: Likewise.
2665 * benchtests/bench-memset-ifunc.c: Likewise.
2666 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
2667 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
2668 * benchtests/bench-stpcpy-ifunc.c: Likewise.
2669 * benchtests/bench-stpncpy-ifunc.c: Likewise.
2670 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
2671 * benchtests/bench-strcasestr-ifunc.c: Likewise.
2672 * benchtests/bench-strcat-ifunc.c: Likewise.
2673 * benchtests/bench-strchr-ifunc.c: Likewise.
2674 * benchtests/bench-strchrnul-ifunc.c: Likewise.
2675 * benchtests/bench-strcmp-ifunc.c: Likewise.
2676 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
2677 * benchtests/bench-strcpy-ifunc.c: Likewise.
2678 * benchtests/bench-strcspn-ifunc.c: Likewise.
2679 * benchtests/bench-strlen-ifunc.c: Likewise.
2680 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
2681 * benchtests/bench-strncat-ifunc.c: Likewise.
2682 * benchtests/bench-strncmp-ifunc.c: Likewise.
2683 * benchtests/bench-strncpy-ifunc.c: Likewise.
2684 * benchtests/bench-strnlen-ifunc.c: Likewise.
2685 * benchtests/bench-strpbrk-ifunc.c: Likewise.
2686 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 2687 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
2688 * benchtests/bench-strspn-ifunc.c: Likewise.
2689 * benchtests/bench-strstr-ifunc.c: Likewise.
2690
26912013-11-26 Ondřej Bílka <neleai@seznam.cz>
2692
ab260039
OB
2693 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
2694
d1d9eaf4 26952013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 2696
d1d9eaf4
OB
2697 * resolv/netdb.h: Use __glibc_reserved instead __unused.
2698 * rt/aio.h: Likewise.
2699 * sysdeps/gnu/bits/utmp.h: Likewise.
2700 * sysdeps/gnu/bits/utmpx.h: Likewise.
2701 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
2702 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
2703 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
2704 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
2705 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
2706 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
2707 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
2708 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
2710 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
2711 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
2712 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
2713 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
2714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
2715 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2716 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
2717 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
2718 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
2719 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
2720 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
2721 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
2722 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
2723 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
2724 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
2725 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
2726 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
2727 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
2728 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
2729 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
2730 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
2731 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
2732 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
2733 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
2734 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2735 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
2736 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
2737 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
2738 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
2739 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
2740 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
2741 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
2742 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2743
a7624ed9
CD
27442013-11-25 Carlos O'Donell <carlos@redhat.com>
2745
2746 [BZ #16245]
2747 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
2748 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
2749
63cfe52b
JM
27502013-11-25 Joseph Myers <joseph@codesourcery.com>
2751
2752 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
2753 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2754 Likewise.
2755
41e8926a
AZ
27562013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2757
2758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
2759 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
2760 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
2761 (__fesetround): Remove define.
2762 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
2763 rounding and exceptions handling.
2764 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
2765 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
2766 (__fe_nomask_env): Likewise.
2767 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
2768 __fegetround instead of fegetround.
2769 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
2770 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
2771
6851bd4d
RM
27722013-11-21 Roland McGrath <roland@hack.frob.com>
2773
070906ff
RM
2774 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
2775 it's there.
2776
6851bd4d
RM
2777 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
2778
84ae135d
MI
27792013-11-21 Meador Inge <meadori@codesourcery.com>
2780
2781 [BZ #11157]
2782 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
2783 (encrypt_r): Likewise.
2784 * malloc/obstack.h (obstack_free): Likewise.
2785 * posix/unistd.h (encrypt): Likewise.
2786
daf75146
GM
27872013-11-21 Guy Martin <gmsoft@tuxicoman.be>
2788
2789 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
2790 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
2791 DL_CALL_DT_FINI() that call the functions directly.
2792 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
2793 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
2794 * elf/dl-fini.c: Likewise.
2795
10ad46bc
OB
27962013-11-20 Ondřej Bílka <neleai@seznam.cz>
2797
2798 * malloc/hooks.c (memalign_check): Add alignment rounding.
2799 * malloc/malloc.c (_mid_memalign): New function.
2800 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
2801 Implement by calling _mid_memalign.
2802 * manual/probes.texi (Memory Allocation Probes): Remove
2803 memory_valloc_retry and memory_pvalloc_retry.
2804
f3fd2628
SP
28052013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2806
4712799f
SP
2807 * locale/programs/locarchive.c (open_archive): Add const
2808 qualifier to ARCHIVEFNAME and copy default fname to
2809 DEFAULT_FNAME.
2810
0417b20f
SP
2811 [BZ #15601]
2812 * libio/tst-widetext.input: Rename Oriya to Odia.
2813 * locale/iso-639.def: Likewise.
2814
f3fd2628
SP
2815 * manual/probes.texi (Mathematical Function Probes): Add
2816 documentation for sin, cos, asin and acos probes.
2817 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
2818 (__sin32): Add slowasin probe.
2819 (__cos32): Add slowacos probe.
2820 (__mpsin): Add slowsin probe.
2821 (__mpcos): Add slowcos probe.
2822
73c1ce4f
JM
28232013-11-19 Joseph Myers <joseph@codesourcery.com>
2824
2825 [BZ #15483]
2826 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
2827 thread-local __sim_exceptions_thread and global
2828 __sim_exceptions_global.
2829 (__sim_disabled_exceptions): Change to thread-local
2830 __sim_disabled_exceptions_thread and global
2831 __sim_disabled_exceptions_global.
2832 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2833 and global __sim_round_mode_global.
2834 (__simulate_exceptions): Use thread-local floating-point state and
2835 set global state from it as needed.
2836 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
2837 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
2838 __sim_round_mode_thread.
2839 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
2840 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
2841 and global __sim_exceptions_global.
2842 (__sim_disabled_exceptions): Change to thread-local
2843 __sim_disabled_exceptions_thread and global
2844 __sim_disabled_exceptions_global.
2845 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
2846 and global __sim_round_mode_global.
2847 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
2848 (SIM_SET_GLOBAL): Likewise.
2849 * sysdeps/powerpc/soft-fp/sfp-machine.h
2850 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
2851 __sim_round_mode_thread.
2852 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
2853 __sim_disabled_exceptions_thread.
2854 (__sim_exceptions): Change to __sim_exceptions_thread.
2855 (__sim_disabled_exceptions): Change to
2856 __sim_disabled_exceptions_thread.
2857 (__sim_round_mode): Change to __sim_round_mode_thread.
2858 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
2859 thread-local floating-point state and set global state from it as
2860 needed.
2861 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
2862 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
2863 (__sim_disabled_exceptions): Remove extern declaration.
2864 (feenableexcept): Use thread-local floating-point state and set
2865 global state from it as needed.
2866 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
2867 extern declaration.
2868 (__sim_disabled_exceptions): Likewise.
2869 (__sim_round_mode): Likewise.
2870 (__fegetenv): Use thread-local floating-point state.
2871 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
2872 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2873 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
2874 floating-point state and set global state from it as needed.
2875 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
2876 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2877 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
2878 Likewise.
2879 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2880 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
2881 Likewise.
2882 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
2883 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
2884 Use __sim_round_mode_thread.
2885 * math/test-fenv-tls.c: New file.
2886 * math/Makefile (tests): Add test-fenv-tls.
2887 ($(objpfx)test-fenv-tls): Depend on
2888 $(common-objpfx)nptl/libpthread.so.
2889
b5449b12
AS
28902013-11-19 Andreas Schwab <schwab@suse.de>
2891
2892 * locale/programs/locale.c (show_info): Decode wordarray elements.
2893 * locale/categories.def (LC_MONETARY): Add element for
2894 _NL_MONETARY_CRNCYSTR.
2895 * locale/C-monetary.c (conversion_rate): New variable.
2896 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
2897 element.
2898
e186536b
CM
28992013-11-18 Chris Metcalf <cmetcalf@tilera.com>
2900
2901 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
2902 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
2903
5c349950
PP
29042013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
2905
2906 * elf/Makefile (tst-auxv): New test.
2907 * elf/tst-auxv.c: New
2908 * elf/rtld.c (dl_main): Adjust AT_EXECFN
2909
699df45b
JM
29102013-11-18 Joseph Myers <joseph@codesourcery.com>
2911
2912 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
2913 (hidden_proto): Caller changed.
2914 (hidden_tls_proto): New macro.
2915 (libc_hidden_tls_proto): Likewise.
2916 (rtld_hidden_tls_proto): Likewise.
2917 (libm_hidden_tls_proto): Likewise.
2918 (libresolv_hidden_tls_proto): Likewise.
2919 (librt_hidden_tls_proto): Likewise.
2920 (libdl_hidden_tls_proto): Likewise.
2921 (libnss_files_hidden_tls_proto): Likewise.
2922 (libnsl_hidden_tls_proto): Likewise.
2923 (libnss_nisplus_hidden_tls_proto): Likewise.
2924 (libutil_hidden_tls_proto): Likewise.
2925
b7589107
OB
29262013-11-18 Ondřej Bílka <neleai@seznam.cz>
2927
2928 [BZ #10253]
2929 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
2930 (decompose_rpath): Defer expansion to fillin_rpath.
2931 (_dl_init_paths): Pass linkmap to fillin_rpath.
2932
250c23bd
RS
29332013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2934
2935 * benchtests/Makefile: Add strsep.
2936 * benchtests/bench-strsep.c: New file: strsep benchtest.
2937 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
2938
a7931fcf
AS
29392013-11-18 Andreas Schwab <schwab@suse.de>
2940
2941 * locale/programs/locale.c (show_info) [case byte]: Check for
2942 '\377' instead of '\177'.
2943 * locale/C-monetary.c (not_available): Always use "\377".
2944 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
2945 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
2946 detect unavailable sign_posn locale elements.
2947 * locale/localeconv.c (__localeconv): For grouping and
2948 mon_grouping handle "\177" and "\377" like no grouping.
2949 (INT_ELEM): New macro. Use it to set all numeric members.
2950 * locale/programs/ld-monetary.c (monetary_read)
2951 <tok_mon_grouping>: Normalize single -1 to the empty string.
2952 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
2953 Likewise.
2954
728dab0e
OB
29552013-11-07 Ondřej Bílka <neleai@seznam.cz>
2956
2957 [BZ #16055]
2958 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
2959 when we match (nil).
2960 * stdio-common/tst-sscanf.c (struct test): Add testcase.
2961
66294491
JM
29622013-11-16 Joseph Myers <joseph@codesourcery.com>
2963
ce665817
JM
2964 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
2965 (NO_TEST_INLINE): Update value.
2966 (ERRNO_UNCHANGED): Likewise.
2967 (ERRNO_EDOM): Likewise.
2968 (ERRNO_ERANGE): Likewise.
2969 (IGNORE_RESULT): Likewise.
2970 (check_float_internal): Check signs of NaN results if
2971 TEST_NAN_SIGN used.
2972 (check_complex): Pass TEST_NAN_SIGN flag through to second
2973 check_float_internal call.
2974 (copysign_test_data): Add tests with quiet NaNs as second
2975 argument. Use TEST_NAN_SIGN.
2976 (fabs_test_data): Add test of negative quiet NaN argument. Use
2977 TEST_NAN_SIGN.
2978 (signbit_test_data): Add tests of quiet NaN argument.
2979 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
2980
ee1466a9
JM
2981 * math/gen-libm-test.pl (show_exceptions): Take extra argument
2982 $ignore_result.
2983 (parse_args): Handle function results specified as IGNORE.
2984 * math/libm-test.inc (IGNORE_RESULT): New macro.
2985 (check_float_internal): Do not check numerical result if flag
2986 IGNORE_RESULT set.
2987 (check_complex): Pass through IGNORE_RESULT to second
2988 check_float_internal call.
2989 (check_int): Do not check numerical result if flag IGNORE_RESULT
2990 set.
2991 (check_long): Likewise.
2992 (check_bool): Likewise.
2993 (check_longlong): Likewise.
2994 (lrint_test_data): Add tests of infinite and NaN arguments.
2995 (lrint_tonearest_test_data): Likewise.
2996 (lrint_towardzero_test_data): Likewise.
2997 (lrint_downward_test_data): Likewise.
2998 (lrint_upward_test_data): Likewise.
2999 (llrint_test_data): Likewise.
3000 (llrint_tonearest_test_data): Likewise.
3001 (llrint_towardzero_test_data): Likewise.
3002 (llrint_downward_test_data): Likewise.
3003 (llrint_upward_test_data): Likewise.
3004 (lround_test_data): Likewise.
3005 (llround_test_data): Likewise.
3006
14407b7e
JM
3007 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3008 (ERRNO_UNCHANGED): Update value.
3009 (ERRNO_EDOM): Likewise.
3010 (ERRNO_ERANGE): Likewise.
3011 (NO_TEST_INLINE_FLOAT): New macro.
3012 (NO_TEST_INLINE_DOUBLE): Likewise.
3013 (enable_test): New function.
3014 (RUN_TEST_f_f): Check enable_test before running test.
3015 (RUN_TEST_2_f): Likewise.
3016 (RUN_TEST_fff_f): Likewise.
3017 (RUN_TEST_c_f): Likewise.
3018 (RUN_TEST_f_f1): Likewise.
3019 (RUN_TEST_fF_f1): Likewise.
3020 (RUN_TEST_fI_f1): Likewise.
3021 (RUN_TEST_ffI_f1): Likewise.
3022 (RUN_TEST_c_c): Likewise.
3023 (RUN_TEST_cc_c): Likewise.
3024 (RUN_TEST_f_i): Likewise.
3025 (RUN_TEST_f_i_tg): Likewise.
3026 (RUN_TEST_ff_i_tg): Likewise.
3027 (RUN_TEST_f_b): Likewise.
3028 (RUN_TEST_f_b_tg): Likewise.
3029 (RUN_TEST_f_l): Likewise.
3030 (RUN_TEST_f_L): Likewise.
3031 (RUN_TEST_fFF_11): Likewise.
3032 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3033 conditionals.
3034 (cosh_test_data): Likewise.
3035 (exp_test_data): Likewise.
3036 (expm1_test_data): Likewise.
3037 (hypot_test_data): Likewise.
3038 (pow_test_data): Likewise.
3039 (sinh_test_data): Likewise.
3040 (tanh_test_data): Likewise.
3041 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3042 flags argument.
3043
ca07f197
JM
3044 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3045 tests with quiet NaN input and output.
3046 (acosh_test_data): Likewise.
3047 (asin_test_data): Likewise.
3048 (asinh_test_data): Likewise.
3049 (atan_test_data): Likewise.
3050 (atanh_test_data): Likewise.
3051 (atan2_test_data): Likewise.
3052 (cbrt_test_data): Likewise.
3053 (cos_test_data): Likewise.
3054 (cosh_test_data): Likewise.
3055 (erf_test_data): Likewise.
3056 (erfc_test_data): Likewise.
3057 (exp_test_data): Likewise.
3058 (exp10_test_data): Likewise.
3059 (exp2_test_data): Likewise.
3060 (expm1_test_data): Likewise.
3061 (hypot_test_data): Likewise.
3062 (j0_test_data): Likewise.
3063 (j1_test_data): Likewise.
3064 (jn_test_data): Likewise.
3065 (lgamma_test_data): Likewise.
3066 (log_test_data): Likewise.
3067 (log10_test_data): Likewise.
3068 (log1p_test_data): Likewise.
3069 (log2_test_data): Likewise.
3070 (pow_test_data): Likewise.
3071 (scalb_test_data): Likewise.
3072 (sin_test_data): Likewise.
3073 (sincos_test_data): Likewise.
3074 (sinh_test_data): Likewise.
3075 (tan_test_data): Likewise.
3076 (tanh_test_data): Likewise.
3077 (tgamma_test_data): Likewise.
3078 (y0_test_data): Likewise.
3079 (y1_test_data): Likewise.
3080 (yn_test_data): Likewise.
3081
66294491
JM
3082 [BZ #16167]
3083 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3084 argument being NaN and avoid computations with second argument in
3085 that case.
3086 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3087 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3088 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3089
1820b143
CL
30902013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3091
3092 * locale/iso-639.def: Add Chitwani Tharu (the).
3093
714bd261
AS
30942013-11-14 Andreas Schwab <schwab@suse.de>
3095
3096 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3097 word instead of empty string.
3098
7ab44563
AZ
30992013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3100
3101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3102 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3104 (__fe_nomask_env): Likewise.
3105
e8470ea2
SE
31062013-11-13 Steve Ellcey <sellcey@mips.com>
3107
3108 * benchtests/bench-timing.h: Include time.h.
3109
17c1d9f0
L
31102013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3111
3112 [BZ #15997]
3113 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3114 to 3.4.0 for x32.
3115 * sysdeps/unix/sysv/linux/configure: Regenerated.
3116
9310c284
JM
31172013-11-13 Joseph Myers <joseph@codesourcery.com>
3118
3119 [BZ #16151]
3120 * stdlib/strtod_l.c (round_and_return): Do not consider
3121 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3122 exponent one less than half the least subnormal exponent.
3123 * stdlib/test-strtod-round-data: Add more tests.
3124 * stdlib/tst-strtod-round.c (tests): Regenerated.
3125
7a2ad8cf
AZ
31262013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127
3128 [BZ #14143]
3129 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3130 (__fe_mask_env): Likewise.
3131 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3132 libm_hidden_proto and add function prototype.
3133 (__fe_mask_env): Add function prototype.
3134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3135 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3137 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3139 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3140
50727aa7
MS
31412013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3142
b2f386c1 3143 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
3144 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3145
a615be46
MS
31462013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3147
3148 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3149 of htab_find_slot().
3150
7ddace62
DM
31512013-11-11 David S. Miller <davem@davemloft.net>
3152
3153 [BZ #16150]
3154 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3155 symbol in the non-vis3 case in static builds.
3156 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3157 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3158 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3159 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3160
9182aa67
JK
31612013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3162
3163 [BZ #387]
3164 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3165 it is empty.
3166
450a2e2d
AZ
31672013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3168
b2f386c1
SP
3169 * benchtests/Makefile: Add bench-strtod.
3170 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 3171
8ec3f656
AS
31722013-11-11 Andreas Schwab <schwab@suse.de>
3173
3174 [BZ #16153]
3175 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3176 terminating NUL in key length.
3177
76a9b998
AZ
31782013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3179
3180 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3181 Add artificial ODP entry for vDSO symbol for PPC64.
3182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3183 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3184
e4368156
OB
31852013-11-07 Ondřej Bílka <neleai@seznam.cz>
3186
3187 [BZ #15374]
3188 * nss/getent.c (services_keys): Recognize services starting with digit.
3189
8d6bb57c
DM
31902013-11-06 David S. Miller <davem@davemloft.net>
3191
3192 [BZ #15985]
3193 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3194 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3195
e256c421
WN
31962013-11-06 Will Newton <will.newton@linaro.org>
3197
3198 * manual/memory.texi (Malloc Examples): Remove register
3199 keyword from examples.
3200
f6e12daa 32012013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 3202
f6e12daa 3203 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 3204
9d880655
AS
32052013-11-04 Joseph Myers <joseph@codesourcery.com>
3206
3207 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3208 depending on [__GCC_IEC_559 > 0].
3209 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3210 depending on [__GCC_IEC_559_COMPLEX > 0].
3211
ae129d3c
CL
32122013-11-03 Chris Leonard <cjl@sugarlabs.org>
3213
3214 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3215 to iso-639.def.
3216
4a15c2a4 32172013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
3218
3219 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3220
8b35e35d
OB
32212013-11-01 Ondřej Bílka <neleai@seznam.cz>
3222
3223 [BZ #16112]
3224 * malloc/malloc (malloc_info): Do not handle first bin as
3225 special case.
3226
1d70fd6c
CL
32272013-11-01 Chris Leonard <cjl@sugarlabs.org>
3228
3229 * locale/iso-639.def: Add Central Nahuatl (nhn).
3230
8c5c2600
BH
32312013-11-01 Bruno Haible <bruno@clisp.org>
3232
3233 [BZ #7003]
3234 * manual/math.texi (BSD Random): Specify range upper bound as
3235 in POSIX.
3236
da5579c2
CL
32372013-10-31 Chris Leonard <cjl@sugarlabs.org>
3238
3239 * locale/iso-639.def: Add Meadow Mari (mhr).
3240
5d30d853
OB
32412013-10-31 Ondřej Bílka <neleai@seznam.cz>
3242
3243 [BZ #14752], [BZ #15763]
3244 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3245 Validate name.
3246 * rt/tst_shm.c: Add test for escaping directory.
3247
a4966c61
AS
32482013-10-31 Andreas Schwab <schwab@suse.de>
3249
8a43e768 3250 [BZ #15917]
a4966c61
AS
3251 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3252 followed by 'x' as part of digit sequence.
3253 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3254
28d708c4
MAP
32552013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3256
3257 [BZ #16037]
3258 * configure.ac: allow GNU Make 4.0 and greater.
3259 * configure: Regenerated.
3260
a56ee40b
WN
32612013-10-30 Will Newton <will.newton@linaro.org>
3262
3263 [BZ #16038]
3264 * malloc/hooks.c (memalign_check): Limit alignment to the
3265 maximum representable power of two.
3266 * malloc/malloc.c (__libc_memalign): Likewise.
3267 * malloc/tst-memalign.c (do_test): Add test for very
3268 large alignment values.
3269 * malloc/tst-posix_memalign.c (do_test): Likewise.
3270
c6e4925d
OB
32712013-10-30 Ondřej Bílka <neleai@seznam.cz>
3272
3273 [BZ #11087]
3274 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3275 (munmap_chunk): Likewise.
3276 (mremap_chunk): Likewise.
3277
32782013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 3279
8a43e768 3280 [BZ #15799]
bbea82f7
OB
3281 * stdlib/div.c (div): Remove obsolete code.
3282 * stdlib/ldiv.c (ldiv): Likewise.
3283 * stdlib/lldiv.c (lldiv): Likewise.
3284
977f4b31
SP
32852013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3286
3287 [BZ #16071]
3288 * nss/nss_files/files-XXX.c (get_contents_ret): New
3289 enumerator.
3290 (get_contents): New function.
3291 (internal_getent): Use it. Expand size of LINEBUFLEN.
3292
cb8a6dbd
MF
32932013-10-30 Mike Frysinger <vapier@gentoo.org>
3294
3295 * configure.in: Moved to ...
3296 * configure.ac: ... here. Change reference to configure.in
3297 to configure.ac.
3298 * sysdeps/arm/preconfigure.ac: ... here.
3299 configure.in to configure.ac.
3300 * sysdeps/gnu/configure.in: Moved to ...
3301 * sysdeps/gnu/configure.ac: ... here.
3302 * sysdeps/i386/configure.in: Moved to ...
3303 * sysdeps/i386/configure.ac: ... here.
3304 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3305 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3306 * sysdeps/mach/configure.in: Moved to ...
3307 * sysdeps/mach/configure.ac: ... here.
3308 * sysdeps/mach/hurd/configure.in: Moved to ...
3309 * sysdeps/mach/hurd/configure.ac: ... here.
3310 * sysdeps/powerpc/configure.in: Moved to ...
3311 * sysdeps/powerpc/configure.ac: ... here.
3312 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3313 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3314 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3315 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3316 * sysdeps/s390/s390-32/configure.in: Moved to ...
3317 * sysdeps/s390/s390-32/configure.ac: ... here.
3318 * sysdeps/s390/s390-64/configure.in: Moved to ...
3319 * sysdeps/s390/s390-64/configure.ac: ... here.
3320 * sysdeps/sh/configure.in: Moved to ...
3321 * sysdeps/sh/configure.ac: ... here.
3322 * sysdeps/sparc/configure.in: Moved to ...
3323 * sysdeps/sparc/configure.ac: ... here.
3324 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3325 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3326 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3327 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3328 * sysdeps/x86_64/configure.in: Moved to ...
3329 * sysdeps/x86_64/configure.ac: ... here.
3330 * sysdeps/x86_64/preconfigure.in: Moved to ...
3331 * sysdeps/x86_64/preconfigure.ac: ... here.
3332 * aclocal.m4: Change reference to configure.in to configure.ac.
3333 * config.h.in: Likewise.
3334 * manual/install.texi: Likewise.
3335 * manual/maint.texi: Likewise.
3336 * Makefile: Likewise.
3337 * malloc/Makefile: Likewise.
3338 * nscd/Makefile: Likewise.
3339 * Makeconfig: Change reference to configure.in and
3340 preconfigure.in to configure.ac and preconfigure.ac
3341 respectively.
3342 * INSTALL: Regenerated.
3343 * configure: Likewise.
3344 * sysdeps/gnu/configure: Likewise.
3345 * sysdeps/i386/configure: Likewise.
3346 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3347 * sysdeps/mach/configure: Likewise.
3348 * sysdeps/mach/hurd/configure: Likewise.
3349 * sysdeps/powerpc/configure: Likewise.
3350 * sysdeps/powerpc/powerpc32/configure: Likewise.
3351 * sysdeps/powerpc/powerpc64/configure: Likewise.
3352 * sysdeps/s390/s390-32/configure: Likewise.
3353 * sysdeps/s390/s390-64/configure: Likewise.
3354 * sysdeps/sh/configure: Likewise.
3355 * sysdeps/sparc/configure: Likewise.
3356 * sysdeps/unix/sysv/linux/configure: Likewise.
3357 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3358 * sysdeps/x86_64/configure: Likewise.
3359 * sysdeps/x86_64/preconfigure: Likewise.
3360
36a4953a
AS
33612013-10-29 Andreas Schwab <schwab@suse.de>
3362
3363 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3364
c79a1204
SP
33652013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3366
dfa1b402
SP
3367 * benchtests/pow-inputs: Add new inputs.
3368
54f73d9c
SP
3369 * benchtests/exp-inputs: Add new inputs.
3370
c79a1204
SP
3371 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3372 conditional check for return value.
3373 (__cos32): Likewise.
3374
67beb545 33752013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
3376
3377 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3378 to provide a boost for large inputs with word alignment.
3379 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3380 implementation based on optimized PPC64 strcpy.
3381 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3382 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3383 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3384 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3385
151659f6
OB
33862013-10-25 Ondřej Bílka <neleai@seznam.cz>
3387
482a077e 3388 [BZ #2801]
151659f6
OB
3389 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3390
10b0f26b
OB
33912013-10-25 Ondřej Bílka <neleai@seznam.cz>
3392
3393 [BZ #14876]
3394 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3395 * time/tst-strptime.c (day_tests): Add testcase.
3396
ca42d35e
OB
33972013-10-25 Ondřej Bílka <neleai@seznam.cz>
3398
482a077e 3399 [BZ #14029]
ca42d35e
OB
3400 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3401
52e6d801
FB
34022013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3403
3404 [BZ #16074]
3405 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3406 MAP_FAILED on error.
3407
7cbcdb36
SP
34082013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3409
3410 [BZ #16072]
3411 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3412 heap for large requests.
3413
894f3f10
AM
34142013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3415
3416 [BZ #9954]
3417 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3418 result if the result has no associated interface.
3419 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3420 interface for all 127.X.Y.Z addresses.
3421
b85545a6
CL
34222013-10-24 Chris Leonard <cjl@sugarlabs.org>
3423
3424 * locale/iso-639.def: Add Ligurian (lij)
3425
d1f23d46
OB
34262013-10-21 Ondřej Bílka <neleai@seznam.cz>
3427
3428 [BZ #15825]
3429 * sunrpc/rpc_main.c: Document rpcgen -5.
3430
4db5b08f
MS
34312013-10-19 Michael Stahl <mstahl@redhat.com>
3432
3433 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3434
a471e96a
OB
34352013-10-19 Ondřej Bílka <neleai@seznam.cz>
3436
d1f23d46 3437 [BZ #10278]
a471e96a
OB
3438 * posix/glob.c: Match only directories when trailing slash is present.
3439 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3440 (main): Add testcase.
3441
45c30c61
OB
34422013-10-19 Ondřej Bílka <neleai@seznam.cz>
3443
3444 [BZ #15670]
3445 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3446
484c12fb
CD
34472013-10-18 Carlos O'Donell <carlos@redhat.com>
3448
3d7dc513
CD
3449 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3450 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3451 AUTH_DES and cindex for FIPS 140-2.
3452 (DES Encryption): Add cindex FIPS 46-3.
3453
484c12fb
CD
3454 * locale/locarchive.h (struct locarhandle): Add fname.
3455 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3456 if an optional argument was specified to --list-archive,
3457 otherwise NULL.
3458 * locale/programs/locarchive.c (show_archive_content): Take new
3459 argument fname and pass it via ah.fname to open_archive.
3460 * locale/programs/localedef.h: Update decl.
3461 (open_archive): If AH->fname is non-null, open that file
3462 rather than the default file name, and don't ignore ENOENT.
3463 (create_archive): Set AH.fname to NULL.
3464 (delete_locales_from_archive): Likewise.
3465 (add_locales_to_archive): Likewise.
3466 * locale/programs/locfile.c (write_all_categories): Likewise.
3467
3c8325fb
JM
34682013-10-18 Joseph Myers <joseph@codesourcery.com>
3469 Aldy Hernandez <aldyh@redhat.com>
3470
3471 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3472 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3473 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3474 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3475 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3476 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3477 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3478 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3479 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3480 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3481 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3482 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3483 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3484 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3485 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3486 Likewise.
3487 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3488 Likewise.
3489 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3490 Likewise.
3491 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3492 Likewise.
3493 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3494 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3495 Likewise.
3496 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3497 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3498 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3499 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3500 Likewise.
3501 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3502 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3503 * sysdeps/powerpc/preconfigure: Likewise.
3504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3505 Likewise.
3506 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3507 Replace contents of file by #include of <fenv_libc.h>.
3508 * sysdeps/powerpc/soft-fp/sfp-machine.h
3509 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3510 and <sys/prctl.h>.
3511 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3512 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3513 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3514 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3515 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3516 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3518 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3519 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3520 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3521 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3522 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3524 Allow copysignl PLT reference to be missing.
3525
5abe0682
RS
35262013-10-18 Richard Sandiford <richard@codesourcery.com>
3527 Joseph Myers <joseph@codesourcery.com
3528
3529 [BZ #15948]
3530 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3531 single character.
3532 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3533
c7738d08
SP
35342013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3535
3536 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3537 * elf/tst-tls1.c: Likewise.
3538 * elf/tst-tls10.h: Likewise.
3539 * elf/tst-tls14.c: Likewise.
3540 * elf/tst-tls2.c: Likewise.
3541 * elf/tst-tls3.c: Likewise.
3542 * elf/tst-tls4.c: Likewise.
3543 * elf/tst-tls5.c: Likewise.
3544 * elf/tst-tls6.c: Likewise.
3545 * elf/tst-tls7.c: Likewise.
3546 * elf/tst-tls8.c: Likewise.
3547 * elf/tst-tls9.c: Likewise.
3548 * elf/tst-tlsmod1.c: Likewise.
3549 * elf/tst-tlsmod13.c: Likewise.
3550 * elf/tst-tlsmod13a.c: Likewise.
3551 * elf/tst-tlsmod14a.c: Likewise.
3552 * elf/tst-tlsmod16a.c: Likewise.
3553 * elf/tst-tlsmod16b.c: Likewise.
3554 * elf/tst-tlsmod2.c: Likewise.
3555 * elf/tst-tlsmod3.c: Likewise.
3556 * elf/tst-tlsmod4.c: Likewise.
3557 * elf/tst-tlsmod5.c: Likewise.
3558 * elf/tst-tlsmod6.c: Likewise.
3559
0bfcf2c7
OB
35602013-10-18 Ondřej Bílka <neleai@seznam.cz>
3561
3562 [BZ #12486]
3563 * malloc/malloc.c: remove checks for statistics.
3564
264aad1e
OB
35652013-10-17 Ondřej Bílka <neleai@seznam.cz>
3566
3567 [BZ #15277]
3568 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3569 * inet/tst-network.c: Add testcase.
3570
b957ced8
AS
35712013-10-17 Andreas Schwab <schwab@suse.de>
3572
3573 [BZ #15218]
3574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3575 to determine canonical name.
3576
c5d5d574
OB
35772013-10-17 Ondřej Bílka <neleai@seznam.cz>
3578
3579 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3580 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3581 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3582 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3583 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3584 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3585 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3586 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3587 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3588 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3589 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3590 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3591 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3592 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3593 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3594 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3595 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3596 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3597 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3598 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3599 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3600 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3601 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3602 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3603 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3604 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3605 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3606 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3607 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3608 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3609 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3610 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3611 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3612 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3613 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3614 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3615 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3616 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3617 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3618 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3619 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3620 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3621 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3622 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3623 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3625 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3627 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3628 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3629 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3630 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3631 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3632 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3633 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3635 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3637
e5c2c2d0
JM
36382013-10-17 Joseph Myers <joseph@codesourcery.com>
3639
3640 [BZ #16041]
3641 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
3642 make result into a quiet NaN.
3643
51ca9e29
JM
36442013-10-16 Joseph Myers <joseph@codesourcery.com>
3645
3646 * soft-fp/adddf3.c: Fix horizontal whitespace.
3647 * soft-fp/addsf3.c: Likewise.
3648 * soft-fp/addtf3.c: Likewise.
3649 * soft-fp/divdf3.c: Likewise.
3650 * soft-fp/divsf3.c: Likewise.
3651 * soft-fp/divtf3.c: Likewise.
3652 * soft-fp/double.h: Likewise.
3653 * soft-fp/eqdf2.c: Likewise.
3654 * soft-fp/eqsf2.c: Likewise.
3655 * soft-fp/eqtf2.c: Likewise.
3656 * soft-fp/extenddftf2.c: Likewise.
3657 * soft-fp/extended.h: Likewise.
3658 * soft-fp/extendsfdf2.c: Likewise.
3659 * soft-fp/extendsftf2.c: Likewise.
3660 * soft-fp/extendxftf2.c: Likewise.
3661 * soft-fp/fixdfdi.c: Likewise.
3662 * soft-fp/fixdfsi.c: Likewise.
3663 * soft-fp/fixdfti.c: Likewise.
3664 * soft-fp/fixsfdi.c: Likewise.
3665 * soft-fp/fixsfsi.c: Likewise.
3666 * soft-fp/fixsfti.c: Likewise.
3667 * soft-fp/fixtfdi.c: Likewise.
3668 * soft-fp/fixtfsi.c: Likewise.
3669 * soft-fp/fixtfti.c: Likewise.
3670 * soft-fp/fixunsdfdi.c: Likewise.
3671 * soft-fp/fixunsdfsi.c: Likewise.
3672 * soft-fp/fixunsdfti.c: Likewise.
3673 * soft-fp/fixunssfdi.c: Likewise.
3674 * soft-fp/fixunssfsi.c: Likewise.
3675 * soft-fp/fixunssfti.c: Likewise.
3676 * soft-fp/fixunstfdi.c: Likewise.
3677 * soft-fp/fixunstfsi.c: Likewise.
3678 * soft-fp/fixunstfti.c: Likewise.
3679 * soft-fp/floatdidf.c: Likewise.
3680 * soft-fp/floatdisf.c: Likewise.
3681 * soft-fp/floatditf.c: Likewise.
3682 * soft-fp/floatsidf.c: Likewise.
3683 * soft-fp/floatsisf.c: Likewise.
3684 * soft-fp/floatsitf.c: Likewise.
3685 * soft-fp/floattidf.c: Likewise.
3686 * soft-fp/floattisf.c: Likewise.
3687 * soft-fp/floattitf.c: Likewise.
3688 * soft-fp/floatundidf.c: Likewise.
3689 * soft-fp/floatundisf.c: Likewise.
3690 * soft-fp/floatunditf.c: Likewise.
3691 * soft-fp/floatunsidf.c: Likewise.
3692 * soft-fp/floatunsisf.c: Likewise.
3693 * soft-fp/floatunsitf.c: Likewise.
3694 * soft-fp/floatuntidf.c: Likewise.
3695 * soft-fp/floatuntisf.c: Likewise.
3696 * soft-fp/floatuntitf.c: Likewise.
3697 * soft-fp/fmadf4.c: Likewise.
3698 * soft-fp/fmasf4.c: Likewise.
3699 * soft-fp/fmatf4.c: Likewise.
3700 * soft-fp/gedf2.c: Likewise.
3701 * soft-fp/gesf2.c: Likewise.
3702 * soft-fp/getf2.c: Likewise.
3703 * soft-fp/ledf2.c: Likewise.
3704 * soft-fp/lesf2.c: Likewise.
3705 * soft-fp/letf2.c: Likewise.
3706 * soft-fp/muldf3.c: Likewise.
3707 * soft-fp/mulsf3.c: Likewise.
3708 * soft-fp/multf3.c: Likewise.
3709 * soft-fp/negdf2.c: Likewise.
3710 * soft-fp/negsf2.c: Likewise.
3711 * soft-fp/negtf2.c: Likewise.
3712 * soft-fp/op-1.h: Likewise.
3713 * soft-fp/op-2.h: Likewise.
3714 * soft-fp/op-4.h: Likewise.
3715 * soft-fp/op-8.h: Likewise.
3716 * soft-fp/op-common.h: Likewise.
3717 * soft-fp/quad.h: Likewise.
3718 * soft-fp/single.h: Likewise.
3719 * soft-fp/soft-fp.h: Likewise.
3720 * soft-fp/sqrtdf2.c: Likewise.
3721 * soft-fp/sqrtsf2.c: Likewise.
3722 * soft-fp/sqrttf2.c: Likewise.
3723 * soft-fp/subdf3.c: Likewise.
3724 * soft-fp/subsf3.c: Likewise.
3725 * soft-fp/subtf3.c: Likewise.
3726 * soft-fp/truncdfsf2.c: Likewise.
3727 * soft-fp/trunctfdf2.c: Likewise.
3728 * soft-fp/trunctfsf2.c: Likewise.
3729 * soft-fp/trunctfxf2.c: Likewise.
3730 * soft-fp/unorddf2.c: Likewise.
3731 * soft-fp/unordsf2.c: Likewise.
3732 * soft-fp/unordtf2.c: Likewise.
3733
9ebb0332
JM
37342013-10-15 Joseph Myers <joseph@codesourcery.com>
3735
3736 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
3737 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
3738
4b1a6d8b
OB
37392013-10-15 Ondřej Bílka <neleai@seznam.cz>
3740
3741 * elf/dl-libc.c: Clear initfini list after freeing.
3742
1e145589
JM
37432013-10-14 Joseph Myers <joseph@codesourcery.com>
3744
3745 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
3746 * soft-fp/addsf3.c: Likewise.
3747 * soft-fp/addtf3.c: Likewise.
3748 * soft-fp/divdf3.c: Likewise.
3749 * soft-fp/divsf3.c: Likewise.
3750 * soft-fp/divtf3.c: Likewise.
3751 * soft-fp/double.h: Likewise.
3752 * soft-fp/eqdf2.c: Likewise.
3753 * soft-fp/eqsf2.c: Likewise.
3754 * soft-fp/eqtf2.c: Likewise.
3755 * soft-fp/extenddftf2.c: Likewise.
3756 * soft-fp/extended.h: Likewise.
3757 * soft-fp/extendsfdf2.c: Likewise.
3758 * soft-fp/extendsftf2.c: Likewise.
3759 * soft-fp/extendxftf2.c: Likewise.
3760 * soft-fp/fixdfdi.c: Likewise.
3761 * soft-fp/fixdfsi.c: Likewise.
3762 * soft-fp/fixdfti.c: Likewise.
3763 * soft-fp/fixsfdi.c: Likewise.
3764 * soft-fp/fixsfsi.c: Likewise.
3765 * soft-fp/fixsfti.c: Likewise.
3766 * soft-fp/fixtfdi.c: Likewise.
3767 * soft-fp/fixtfsi.c: Likewise.
3768 * soft-fp/fixtfti.c: Likewise.
3769 * soft-fp/fixunsdfdi.c: Likewise.
3770 * soft-fp/fixunsdfsi.c: Likewise.
3771 * soft-fp/fixunsdfti.c: Likewise.
3772 * soft-fp/fixunssfdi.c: Likewise.
3773 * soft-fp/fixunssfsi.c: Likewise.
3774 * soft-fp/fixunssfti.c: Likewise.
3775 * soft-fp/fixunstfdi.c: Likewise.
3776 * soft-fp/fixunstfsi.c: Likewise.
3777 * soft-fp/fixunstfti.c: Likewise.
3778 * soft-fp/floatdidf.c: Likewise.
3779 * soft-fp/floatdisf.c: Likewise.
3780 * soft-fp/floatditf.c: Likewise.
3781 * soft-fp/floatsidf.c: Likewise.
3782 * soft-fp/floatsisf.c: Likewise.
3783 * soft-fp/floatsitf.c: Likewise.
3784 * soft-fp/floattidf.c: Likewise.
3785 * soft-fp/floattisf.c: Likewise.
3786 * soft-fp/floattitf.c: Likewise.
3787 * soft-fp/floatundidf.c: Likewise.
3788 * soft-fp/floatundisf.c: Likewise.
3789 * soft-fp/floatunsidf.c: Likewise.
3790 * soft-fp/floatunsisf.c: Likewise.
3791 * soft-fp/floatuntidf.c: Likewise.
3792 * soft-fp/floatuntisf.c: Likewise.
3793 * soft-fp/floatuntitf.c: Likewise.
3794 * soft-fp/fmadf4.c: Likewise.
3795 * soft-fp/fmasf4.c: Likewise.
3796 * soft-fp/fmatf4.c: Likewise.
3797 * soft-fp/gedf2.c: Likewise.
3798 * soft-fp/gesf2.c: Likewise.
3799 * soft-fp/getf2.c: Likewise.
3800 * soft-fp/ledf2.c: Likewise.
3801 * soft-fp/lesf2.c: Likewise.
3802 * soft-fp/letf2.c: Likewise.
3803 * soft-fp/muldf3.c: Likewise.
3804 * soft-fp/mulsf3.c: Likewise.
3805 * soft-fp/multf3.c: Likewise.
3806 * soft-fp/negdf2.c: Likewise.
3807 * soft-fp/negsf2.c: Likewise.
3808 * soft-fp/negtf2.c: Likewise.
3809 * soft-fp/op-1.h: Likewise.
3810 * soft-fp/op-2.h: Likewise.
3811 * soft-fp/op-4.h: Likewise.
3812 * soft-fp/op-8.h: Likewise.
3813 * soft-fp/op-common.h: Likewise.
3814 * soft-fp/quad.h: Likewise.
3815 * soft-fp/single.h: Likewise.
3816 * soft-fp/soft-fp.h: Likewise.
3817 * soft-fp/sqrtdf2.c: Likewise.
3818 * soft-fp/sqrtsf2.c: Likewise.
3819 * soft-fp/sqrttf2.c: Likewise.
3820 * soft-fp/subdf3.c: Likewise.
3821 * soft-fp/subsf3.c: Likewise.
3822 * soft-fp/subtf3.c: Likewise.
3823 * soft-fp/truncdfsf2.c: Likewise.
3824 * soft-fp/trunctfdf2.c: Likewise.
3825 * soft-fp/trunctfsf2.c: Likewise.
3826 * soft-fp/trunctfxf2.c: Likewise.
3827 * soft-fp/unorddf2.c: Likewise.
3828 * soft-fp/unordsf2.c: Likewise.
3829 * soft-fp/unordtf2.c: Likewise.
3830
17c48a60
OB
38312013-10-14 Ondřej Bílka <neleai@seznam.cz>
3832
3833 [BZ #15672]
3834 * misc/error.c (error_tail): Fix possible buffer overflow.
3835
cabba934
OB
38362013-10-14 Aurelien Jarno <aurelien@aurel32.net>
3837
3838 [BZ #13028]
3839 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
3840 address.
3841
94bf958a
PM
38422013-10-14 P. J. McDermott <pj@pehjota.net>
3843
3844 [BZ #832]
3845 * elf/ldd.bash.in (try_trace): New function. Delete previous code
3846 testing pipefail option.
3847
71b4dea7
JM
38482013-10-12 Joseph Myers <joseph@codesourcery.com>
3849
3850 * soft-fp/double.h: Indent preprocessor directives inside #if.
3851 * soft-fp/extended.h: Likewise.
3852 * soft-fp/op-2.h: Likewise.
3853 * soft-fp/op-4.h: Likewise.
3854 * soft-fp/op-common.h: Likewise.
3855 * soft-fp/quad.h: Likewise.
3856 * soft-fp/single.h: Likewise.
3857 * soft-fp/soft-fp.h: Likewise.
3858
55602758
YC
38592013-10-12 Yuri Chornoivan <yurchor@ukr.net>
3860
3861 * iconv/iconv_prog.c: Fix typos.
3862 * stdio-common/psiginfo-data.h: Likewise.
3863
9cd83302
RT
38642013-10-12 Reuben Thomas <rrt@sc3d.org>
3865
3866 [BZ #15764]
3867 * locale/setlocale.c: Fix typo.
3868
99fd9f47
JM
38692013-10-12 Joseph Myers <joseph@codesourcery.com>
3870
b7ea74f0
JM
3871 [BZ #16036]
3872 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
3873 signaling NaN arguments.
3874 * soft-fp/unordsf2.c (__unordsf2): Likewise.
3875 * soft-fp/unordtf2.c (__unordtf2): Likewise.
3876
8a509447
JM
3877 [BZ #14910]
3878 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
3879 unordered operands.
3880 * soft-fp/gesf2.c (__gesf2): Likewise.
3881 * soft-fp/getf2.c (__getf2): Likewise.
3882 * soft-fp/ledf2.c (__ledf2): Likewise.
3883 * soft-fp/lesf2.c (__lesf2): Likewise.
3884 * soft-fp/letf2.c (__letf2): Likewise.
3885
98998e9f
JM
3886 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
3887 * soft-fp/eqsf2.c (__eqsf2): Likewise.
3888 * soft-fp/eqtf2.c (__eqtf2): Likewise.
3889 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
3890 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
3891 * soft-fp/fixdfti.c (__fixdfti): Likewise.
3892 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
3893 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
3894 * soft-fp/fixsfti.c (__fixsfti): Likewise.
3895 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
3896 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
3897 * soft-fp/fixtfti.c (__fixtfti): Likewise.
3898 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
3899 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
3900 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
3901 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
3902 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
3903 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
3904 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
3905 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
3906 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
3907 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
3908 * soft-fp/floatdisf.c (__floatdisf): Likewise.
3909 * soft-fp/floatsisf.c (__floatsisf): Likewise.
3910 * soft-fp/floattidf.c (__floattidf): Likewise.
3911 * soft-fp/floattisf.c (__floattisf): Likewise.
3912 * soft-fp/floattitf.c (__floattitf): Likewise.
3913 * soft-fp/floatundidf.c (__floatundidf): Likewise.
3914 * soft-fp/floatundisf.c (__floatundisf): Likewise.
3915 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
3916 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
3917 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
3918 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
3919 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
3920 * soft-fp/gesf2.c (__gesf2): Likewise.
3921 * soft-fp/getf2.c (__getf2): Likewise.
3922 * soft-fp/ledf2.c (__ledf2): Likewise.
3923 * soft-fp/lesf2.c (__lesf2): Likewise.
3924 * soft-fp/letf2.c (__letf2): Likewise.
3925
8edc4a11
JM
3926 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
3927 Undefine and redefine.
3928 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
3929 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
3930 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
3931 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
3932 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3933 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
3934 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3935 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
3936 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3937 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
3938 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3939 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
3940 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3941 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
3942 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
3943
8399acaf
JM
3944 [BZ #16032]
3945 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
3946 without decrementing exponent if mantissa >= that for the
3947 denominator, not >.
3948 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
3949 denominator, not >. Decrement exponent in < case instead of
3950 incrementing in >= case.
3951 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
3952 without decrementing exponent if mantissa >= that for the
3953 denominator, not >.
3954
99fd9f47
JM
3955 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
3956 computing saturated result for unsigned overflow.
3957
10e1cf6b
SP
39582013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3959 Jeff Law <law@redhat.com>
3960
3961 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
3962 (atan2Mp): Add systemtap probe marker.
3963 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
3964 (__ieee754_log): Add systemtap probe marker.
3965 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
3966 (atanMp): Add systemtap probe marker.
3967 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
3968 (tanMp): Add systemtap probe marker.
3969 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
3970 (__slowexp): Add systemtap probe marker.
3971 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
3972 (__slowpow): Add systemtap probe marker.
3973 * manual/probes.texi: Document probes.
3974
3d110c7c
EB
39752013-10-11 Eric Biggers <ebiggers3@gmail.com>
3976
3977 [BZ #15362]
3978 * libio/fileops.c (_IO_new_file_write): Return count of bytes
3979 written.
3980 (_IO_new_file_xsputn): Don't return EOF if nothing has been
3981 written.
3982 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
3983 written to buffer but not flushed.
3984 * libio/iofwrite_u.c: Likewise.
3985 * libio/iopadn.c: Return bytes returned even if EOF was
3986 encountered.
3987 * libio/iowpadn.c: Likewise.
3988 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
3989 if _IO_padn does not write the whole buffer.
3990 [!COMPILE_WPRINTF] (PAD): Likewise.
3991
75b4202a
DM
39922013-10-10 David S. Miller <davem@davemloft.net>
3993
3994 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
3995 directory block.
3996
6c6352e6
JM
39972013-10-10 Joseph Myers <joseph@codesourcery.com>
3998
33b853c3
JM
3999 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4000 instead of FSF address.
4001 * soft-fp/fixdfti.c: Likewise.
4002 * soft-fp/fixsfti.c: Likewise.
4003 * soft-fp/fixtfti.c: Likewise.
4004 * soft-fp/fixunsdfti.c: Likewise.
4005 * soft-fp/fixunssfti.c: Likewise.
4006 * soft-fp/fixunstfti.c: Likewise.
4007 * soft-fp/floattidf.c: Likewise.
4008 * soft-fp/floattisf.c: Likewise.
4009 * soft-fp/floattitf.c: Likewise.
4010 * soft-fp/floatuntidf.c: Likewise.
4011 * soft-fp/floatuntisf.c: Likewise.
4012 * soft-fp/floatuntitf.c: Likewise.
4013 * soft-fp/trunctfxf2.c: Likewise.
4014
6c6352e6
JM
4015 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4016 * soft-fp/fixdfti.c: Likewise.
4017 * soft-fp/fixsfti.c: Likewise.
4018 * soft-fp/fixtfti.c: Likewise.
4019 * soft-fp/fixunsdfti.c: Likewise.
4020 * soft-fp/fixunssfti.c: Likewise.
4021 * soft-fp/fixunstfti.c: Likewise.
4022 * soft-fp/floattidf.c: Likewise.
4023 * soft-fp/floattisf.c: Likewise.
4024 * soft-fp/floattitf.c: Likewise.
4025 * soft-fp/floatuntidf.c: Likewise.
4026 * soft-fp/floatuntisf.c: Likewise.
4027 * soft-fp/floatuntitf.c: Likewise.
4028 * soft-fp/trunctfxf2.c: Likewise.
4029
3bf78b71
DM
40302013-10-10 David S. Miller <davem@davemloft.net>
4031
4032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4033
6f10289e
JM
40342013-10-10 Joseph Myers <joseph@codsourcery.com>
4035
bd878fc0
JM
4036 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4037 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4038 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4039 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4040 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4041 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4042 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4043
6f10289e
JM
4044 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4045 for NaNs before doing comparisons on argument.
4046 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4047 Likewise.
4048
321e2684
WN
40492013-10-10 Will Newton <will.newton@linaro.org>
4050
4051 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4052 passed to _int_memalign does not overflow.
4053
40fefba1
TR
40542013-10-10 Torvald Riegel <triegel@redhat.com>
4055
4056 * scripts/bench.pl: Add include-sources directive.
4057 * benchtests/README: Update documentation.
4058
2ae21ed2
JM
40592013-10-10 Joseph Myers <joseph@codesourcery.com>
4060
dcc2dd3f
JM
4061 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4062 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4063 instead of FP_INIT_ROUNDMODE.
4064 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4065 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4066
2ae21ed2
JM
4067 [BZ #16034]
4068 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4069 copy class of input value.
4070 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4071 not handle exceptions.
4072 * soft-fp/negsf2.c (__negsf2): Likewise.
4073 * soft-fp/negtf2.c (__negtf2): Likewise.
4074 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4075
cb8f9562
JM
40762013-10-09 Joseph Myers <joseph@codesourcery.com>
4077
4078 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4079 semicolon. From Linux kernel.
4080
5b60c59d
AB
40812013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4082
4083 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4084
b86835ca
YC
40852013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4086
4087 [BZ #156]
4088 * manual/socket.texi: Added statement about buffer
4089 for gethostbyname2_r.
4090
e7044ea7
OB
40912013-10-08 Ondřej Bílka <neleai@seznam.cz>
4092
4093 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4094 Use .p2align directive instead, throughout.
4095 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4096 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4097 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4098 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4099 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4100 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4101 * sysdeps/x86_64/strchr.S: Likewise.
4102 * sysdeps/x86_64/strrchr.S: Likewise.
4103
09544cbc
SP
41042013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4105
88576635
SP
4106 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4107
e7b2d1dd
SP
4108 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4109
09544cbc
SP
4110 * sysdeps/generic/math_private.h (__mpsin1): Remove
4111 declaration.
4112 (__mpcos1): Likewise.
4113 (__mpsin): New argument __range_reduce.
4114 (__mpcos): Likewise.
4115 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4116 (slow): Use __mpsin and __mpcos.
4117 (slow1): Likewise.
4118 (slow2): Likewise.
4119 (sloww): Likewise.
4120 (sloww1): Likewise.
4121 (sloww2): Likewise.
4122 (bsloww): Likewise.
4123 (bsloww1): Likewise.
4124 (bsloww2): Likewise.
4125 (cslow2): Likewise.
4126 (csloww): Likewise.
4127 (csloww1): Likewise.
4128 (csloww2): Likewise.
4129 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4130 range_reduce. Merge in __mpsin1.
4131 (__mpcos): Likewise.
4132 (__mpsin1): Remove.
4133 (__mpcos1): Likewise.
4134
7602d070
JM
41352013-10-07 Joseph Myers <joseph@codesourcery.com>
4136
4137 * locale/loadlocale.c (_nl_intern_locale_data): Use
4138 LOCFILE_ALIGNED_P.
4139 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4140 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4141 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4142 obstack data is appropriately aligned.
4143 (obstack_int32_grow_fast): Likewise.
4144 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4145 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4146 (add_locale_uint32_array): Likewise.
4147
a357259b
SP
41482013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4149
4150 * benchtests/Makefile: Remove ARGLIST and RET variables.
4151 ($(objpfx)bench-%.c): Pass only function name to the script.
4152 * benchtests/README: Update documentation.
4153 * benchtests/acos-inputs: Add new directives.
4154 * benchtests/acosh-inputs: Likewise.
4155 * benchtests/asin-inputs: Likewise.
4156 * benchtests/asinh-inputs: Likewise.
4157 * benchtests/atan-inputs: Likewise.
4158 * benchtests/atanh-inputs: Likewise.
4159 * benchtests/cos-inputs: Likewise.
4160 * benchtests/cosh-inputs: Likewise.
4161 * benchtests/exp-inputs: Likewise.
4162 * benchtests/log-inputs: Likewise.
4163 * benchtests/pow-inputs: Likewise.
4164 * benchtests/rint-inputs: Likewise.
4165 * benchtests/sin-inputs: Likewise.
4166 * benchtests/sinh-inputs: Likewise.
4167 * benchtests/tan-inputs: Likewise.
4168 * benchtests/tanh-inputs: Likewise.
4169 * scripts/bench.pl: Add support for new directives.
4170
9ec1b13d
AM
41712013-10-07 Alan Modra <amodra@gmail.com>
4172
4173 * README: Fix careless merge.
4174
8b7d57cd
AM
41752013-10-05 Alan Modra <amodra@gmail.com>
4176
4177 * NEWS: Mention powerpc64le support and bugs fixed.
4178 * README: Both big-endian and little-endian powerpc64 supported.
4179
7b7bab13
ST
41802013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4181
4182 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4183 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4184 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4185 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4186
d39baad1
RA
41872013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4188
4189 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4190 match prototype.
4191
cd78f7e7
JM
41922013-10-04 Joseph Myers <joseph@codesourcery.com>
4193
29d73d86
JM
4194 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4195 Move -mhard-float appending from
4196 ports/sysdeps/powerpc/powerpc32/Makefile.
4197 [$(with-fp) = yes] (ASFLAGS): Likewise.
4198 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4199 * sysdeps/powerpc/nofpu: Move directory from
4200 ports/sysdeps/powerpc/nofpu.
4201 * sysdeps/powerpc/soft-fp: Move directory from
4202 ports/sysdeps/powerpc/soft-fp.
4203 * sysdeps/powerpc/powerpc32/405: Move directory from
4204 ports/sysdeps/powerpc/powerpc32/405.
4205 * sysdeps/powerpc/powerpc32/440: Move directory from
4206 ports/sysdeps/powerpc/powerpc32/440.
4207 * sysdeps/powerpc/powerpc32/464: Move directory from
4208 ports/sysdeps/powerpc/powerpc32/464.
4209 * sysdeps/powerpc/powerpc32/476: Move directory from
4210 ports/sysdeps/powerpc/powerpc32/476.
4211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4212 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4214 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4216 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4218 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4220 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4221 * README: Update for powerpc-*-linux-gnu software floating point
4222 support in libc.
4223
e246b347
JM
4224 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4225 case to powerpc/powerpc32*.
4226 * sysdeps/unix/sysv/linux/configure: Regenerated.
4227
89c2003e
JM
4228 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4229 (_FPU_MASK_OM): Define as 0x04.
4230 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4232 0x00c10080.
4233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4234 0x0000003c.
4235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4236
cd78f7e7
JM
4237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4238 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4239 getcontext_e500.
4240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4241 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4242 setcontext_e500.
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4244 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4245 and setcontext_e500.
4246
c755294d
CL
42472013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4248
4249 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4250
e16d221c
SP
42512013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4252
4253 * manual/threads.texi (Default Thread Attributes): Fix typo.
4254
215c7d43
WN
42552013-10-04 Will Newton <will.newton@linaro.org>
4256
4257 * malloc/Makefile: Add tst-memalign.
4258 * malloc/tst-memalign.c: New file.
4259
27d0461b
WN
4260 * malloc/tst-posix_memalign.c: Add comments.
4261 (do_test): Add comments and call free on all potentially
4262 allocated pointers. Add space after cast.
4263
1bc92709
WN
4264 * malloc/tst-pvalloc.c: Add comments.
4265 (do_test): Add comments and call free on all potentially
4266 allocated pointers. Remove duplicate check for NULL pointer.
4267 Add space after cast.
4268
66a9be9d
WN
4269 * malloc/tst-valloc.c: Add comments.
4270 (do_test): Add comments and call free on all potentially
4271 allocated pointers. Remove duplicate check for NULL pointer.
4272 Add space after cast.
4273
4cb81307
AM
42742013-10-04 Alan Modra <amodra@gmail.com>
4275
4276 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4277 Use stdint types in rather than __attribute__((mode())).
4278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4279
f8e3e9f3
AM
42802013-10-04 Alan Modra <amodra@gmail.com>
4281
4282 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4283 Correct handling of unaligned relocs for little-endian.
4284 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4285
8f9ebb08
AM
42862013-10-04 Alan Modra <amodra@gmail.com>
4287
4288 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4289 * configure: Regenerate.
4290 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4291 * shlib-versions: Likewise.
4292
0edf96c2
AM
42932013-10-04 Alan Modra <amodra@gmail.com>
4294
4295 * string/tester.c (test_memrchr): Increment reported test cycle.
4296
e0f7a380
AM
42972013-10-04 Alan Modra <amodra@gmail.com>
4298
4299 * string/test-memcpy.c (do_one_test): When reporting errors, print
4300 string address and don't overrun end of string.
4301
466b0393
AM
43022013-10-04 Alan Modra <amodra@gmail.com>
4303
4304 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4305 insrdi. Make better use of reg selection to speed exit slightly.
4306 Schedule entry path a little better. Remove useless "are we done"
4307 checks on entry to main loop. Handle wrapping around zero address.
4308 Correct main loop count. Handle single left-over word from main
4309 loop inline rather than by using loop_small. Remove extra word
4310 case in loop_small caused by wrong loop count. Add little-endian
4311 support.
4312 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4313 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4314 cache hint.
4315 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4316 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4317 support. Avoid rlwimi.
4318 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4319
3be87c77
AM
43202013-10-04 Alan Modra <amodra@gmail.com>
4321
4322 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 4323 insrdi. Formatting.
3be87c77
AM
4324 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4325 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4326 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4327 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4328 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4329 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4330
759cfef3
AM
43312013-10-04 Alan Modra <amodra@gmail.com>
4332
4333 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4334 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4335 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4336 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4337 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4338 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4339 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4340 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4341 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4342 use of regs. Use power7 mtocrf. Tidy function tails.
4343
fe6e95d7
AM
43442013-10-04 Alan Modra <amodra@gmail.com>
4345
4346 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4347 Formatting. Consistently use rXXX register defines or rN defines.
4348 Use early exit labels that avoid restoring unused non-volatile regs.
4349 Make cr field use more consistent with rWORDn compares. Rename
4350 regs used as shift registers for unaligned loop, using rN defines
4351 for short lifetime/multiple use regs.
4352 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4353 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4354 addi 1,1,64 to pop stack frame. Simplify return value code.
4355 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4356
664318c3
AM
43572013-10-04 Alan Modra <amodra@gmail.com>
4358
4359 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4360 support. Correct typos, formatting. Optimize tail. Use insrdi
4361 rather than rlwimi.
4362 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4363 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4364 little-endian support. Correct typos.
4365 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4366 rather than rlwimi.
4367 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4368 in loop and entry code to keep "and." results.
4369 (strchr): Add little-endian support. Comment. Move cntlzd
4370 earlier in tail.
4371 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4372
43b84013
AM
43732013-10-04 Alan Modra <amodra@gmail.com>
4374
4375 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4376 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4377 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4378 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4379
8a7413f9
AM
43802013-10-04 Alan Modra <amodra@gmail.com>
4381
4382 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4383 (rTMP): Define as r11.
4384 (strcmp): Add little-endian support. Optimise tail.
4385 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4386 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4387 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4388 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4389 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4390 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4391 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4392
33ee81de
AM
43932013-10-04 Alan Modra <amodra@gmail.com>
4394
4395 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4396 little-endian support. Remove unnecessary "are we done" tests.
4397 Handle "s" wrapping around zero and extremely large "size".
4398 Correct main loop count. Handle single left-over word from main
4399 loop inline rather than by using small_loop. Correct comments.
4400 Delete "zero" tail, use "end_max" instead.
4401 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4402
db9b4570
AM
44032013-10-04 Alan Modra <amodra@gmail.com>
4404
4405 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4406 support. Don't branch over align.
4407 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4408 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4409 support. Rearrange tmp reg use to suit. Comment.
4410 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4411
f7c399cf
AM
44122013-10-04 Alan Modra <amodra@gmail.com>
4413
4414 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4415
0b2c2ace
AM
44162013-10-04 Alan Modra <amodra@gmail.com>
4417
4418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4419 conditional form of branch and link when obtaining pc.
4420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4421
02f04a6c
AM
44222013-10-04 Alan Modra <amodra@gmail.com>
4423
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4425 HIWORD/LOWORD.
4426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4428
9b874b2f
AM
44292013-10-04 Alan Modra <amodra@gmail.com>
4430
4431 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4432 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4433 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4434 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4435 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4436 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4437 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4438 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4439 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4440 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4441
be1e5d31
AB
44422013-10-04 Anton Blanchard <anton@au1.ibm.com>
4443 Alistair Popple <alistair@ozlabs.au.ibm.com>
4444 Alan Modra <amodra@gmail.com>
4445
4446 [BZ #15723]
4447 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4448 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4449 _dl_hwcap access for little-endian.
4450 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4451 destroy vmx regs when saving unaligned.
4452 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4453 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4454 destroy vmx regs when saving unaligned.
4455
fef13a78
AM
44562013-10-04 Alan Modra <amodra@gmail.com>
4457
4458 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4459 Don't use a union to pack hi/low value.
4460
76a66d51
AB
44612013-10-04 Anton Blanchard <anton@au1.ibm.com>
4462
4463 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4464 for little-endian.
4465 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4466 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4468 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4469 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4470
6a31fe7f
AM
44712013-10-04 Alan Modra <amodra@gmail.com>
4472
4473 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4474 constants to usual value for .cst8 section, and remove redundant
4475 high address load.
4476 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4477 constant for 0x1p52. Load little-endian words of double from
4478 correct stack offsets.
4479
7b88401f
AM
44802013-10-04 Alan Modra <amodra@gmail.com>
4481
4482 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4483 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4484 words of double from correct stack offsets.
4485 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4486 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4487 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4488 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4489 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4490 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4491 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4492 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4493 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4494 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4495 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4496 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4497 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4498 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4499 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4500 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4501 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4502
9c008155
AM
45032013-10-04 Alan Modra <amodra@gmail.com>
4504
4505 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4506 64-bit int/double union.
4507 (_FPU_SETCW): Likewise.
4508 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4509 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4510
da13146d
AM
45112013-10-04 Alan Modra <amodra@gmail.com>
4512
4513 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4514 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4515
603e8410
AM
45162013-10-04 Alan Modra <amodra@gmail.com>
4517
4518 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4519 use vector int constants.
4520 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4521
4a28b3ca
AB
45222013-10-04 Anton Blanchard <anton@au1.ibm.com>
4523
4524 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4525 array with long long.
4526 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4527 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4528 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4529 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4530 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4531 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4532 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4533 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4534 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4535 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4536 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4537 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4538 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4539
2ca85d2b
AB
45402013-10-04 Anton Blanchard <anton@au1.ibm.com>
4541
4542 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4543 (__signbit): Likewise. Correct for little-endian.
4544 (__signbitl): Call __signbit.
4545 (lrint): Correct for little-endian.
4546 (lrintf): Call lrint.
4547
62a728ae
AM
45482013-10-04 Alan Modra <amodra@gmail.com>
4549
4550 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4551 union 32-bit int array member with 64-bit int array.
4552 (t515, tm256): Double rather than long double.
4553 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4554
32c301df
AM
45552013-10-04 Alan Modra <amodra@gmail.com>
4556
4557 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4558 Delete.
4559 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4560 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4561 version of math_ldbl.h.
4562
650ef4bd
AM
45632013-10-04 Alan Modra <amodra@gmail.com>
4564
4565 [BZ #15734], [BZ #15735]
4566 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4567 all uses of ieee875 long double macros and unions. Simplify test
4568 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4569 ldbl_extract_mantissa value for ix,iy exponents. Properly
4570 normalize after ldbl_extract_mantissa, and don't add hidden bit
4571 already handled. Don't treat low word of ieee854 mantissa like
4572 low word of IBM long double and mask off bit when testing for
4573 zero.
4574 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4575 all uses of ieee875 long double macros and unions. Simplify tests
4576 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4577 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4578 two1022, instead use their values. Recognise that tests for large
4579 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4580 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4581 Rewrite all uses of ieee875 long double macros and unions. Simplify
4582 test for 0.0L and nan. Correct negation.
4583 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4584 ieee875 long double macros and unions. Correct output for large
4585 magnitude x. Correct absolute value calculation.
4586 (__erfcl): Likewise.
4587 * math/libm-test.inc: Add tests for errors discovered in IBM long
4588 double versions of fmodl, remainderl, erfl and erfcl.
4589
765714ca
AM
45902013-10-04 Alan Modra <amodra@gmail.com>
4591
4592 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4593 all uses of ieee854 long double macros and unions. Simplify tests
4594 for long doubles that are fully specified by the high double.
4595 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4596 Likewise.
4597 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4598 Remove dead code too.
4599 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4600 (__ieee754_ynl): Likewise.
4601 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4602 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4603 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4604 Remove dead code too.
4605 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4606 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4607 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4608 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4609 Simplify.
4610 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4611 Simplify.
4612 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4613 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4614 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4615 Comment on variable precision.
4616 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4617 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4618 Likewise.
4619 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4621 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4622 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4623 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4624
4ebd120c
AM
46252013-10-04 Alan Modra <amodra@gmail.com>
4626
4627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4628 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
4629 all uses of ieee854 long double macros and unions.
4630 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
4631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4632 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
4633 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
4634 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
4635 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4636 Likewise.
4637 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
4638 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
4639 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
4640 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
4641 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
4642 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
4643 Simplify sign and nan test too.
4644 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
4645 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
4646 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
4647 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
4648 Likewise.
4649 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4650 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
4651 Likewise.
4652 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4653 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
4654 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
4655 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
4656 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
4657 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
4658
1b6adf88
AM
46592013-10-04 Alan Modra <amodra@gmail.com>
4660
4661 * stdio-common/printf_size.c (__printf_size): Don't use
4662 union ieee854_long_double in fpnum union.
4663 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
4664 signbit macro to retrieve sign from long double.
4665 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
4666 retrieve sign from long double.
4667 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
4668 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
4669 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
4670 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4671 * math/test-misc.c (main): Don't use union ieee854_long_double.
4672
4cf69995
AM
46732013-10-04 Alan Modra <amodra@gmail.com>
4674
4675 [BZ #15680]
4676 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
4677 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
4678 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
4679 calculation. Remove unnecessary test for denormal exponent.
4680 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
4681 Correct handling of denormals. Avoid undefined shift behaviour.
4682 Correct normalisation of low mantissa when low double is denormal.
4683 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
4684 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
4685 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
4686 Correct normalisation of low mantissa. Test for overflow of high
4687 mantissa and normalise.
4688 (ldbl_nearbyint): Use more readable constant for two52.
4689 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
4690 (__mpn_construct_long_double): Fix test for overflow of high
4691 mantissa and correct normalisation. Avoid undefined shift.
4692
9605ca6c
AM
46932013-10-04 Alan Modra <amodra@gmail.com>
4694
4695 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4696 (union ibm_extended_long_double): Define as an array of ieee754_double.
4697 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
4698 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
4699 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
4700 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
4707 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4708
975569d0
JM
47092013-10-03 Joseph Myers <joseph@codesourcery.com>
4710
d3d23756
JM
4711 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
4712 page size instead of calling getpagesize.
4713
975569d0
JM
4714 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
4715 (LOCFILE_ALIGN_MASK): Likewise.
4716 (LOCFILE_ALIGN_UP): Likewise.
4717 (LOCFILE_ALIGNED_P): Likewise.
4718 * locale/programs/ld-collate.c (collate_output): Use the new
4719 macros instead of __alignof__ (int32_t).
4720 * locale/weight.h (findidx): Likewise.
4721
b1fe1f2b
OB
47222013-10-03 Ondřej Bílka <neleai@seznam.cz>
4723
4724 [BZ #431]
4725 * manual/string.texi: Fix strncat and wcsncat.
4726
5f855e35
BM
47272013-10-03 Brooks Moses <bmoses@google.com>
4728
4729 [BZ #15915]
4730 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
4731 * Makerules: ...here, and adjust associated comments.
4732
3cef6009
WN
47332013-10-02 Will Newton <will.newton@linaro.org>
4734
4735 * malloc/Makefile: Add tst-pvalloc.
4736 * malloc/tst-pvalloc.c: New file.
4737
7815420b
WN
47382013-10-02 Will Newton <will.newton@linaro.org>
4739
4740 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
4741 improve test coverage.
4742
4868b204
WN
47432013-10-02 Will Newton <will.newton@linaro.org>
4744
4745 * malloc/Makefile: Add tst-posix_memalign.
4746 * malloc/tst-posix_memalign.c: New file.
4747
29c793b3
EB
47482013-10-01 Eric Blake <eblake@redhat.com>
4749
4750 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
4751 Use __THROWNL rather than __THROW on static functions.
4752
fd967522
PM
47532013-09-30 Petr Machata <pmachata@redhat.com>
4754
4755 * elf/elf.h (R_AARCH64_ABS16): New macro.
4756 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
4757 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
4758 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
4759 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
4760 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
4761 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
4762 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
4763 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
4764 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
4765 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
4766 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
4767 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
4768 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
4769 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
4770 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
4771 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
4772 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
4773 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
4774 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
4775 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
4776 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
4777 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
4778 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
4779 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
4780 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
4781 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
4782 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
4783 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
4784 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
4785 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
4786 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
4787 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
4788 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
4789 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
4790 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
4791 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
4792 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
4793 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
4794 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
4795 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
4796 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
4797 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
4798 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
4799 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
4800 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
4801 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
4802 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
4803 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
4804 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
4805 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
4806 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
4807 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
4808 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
4809 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
4810 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
4811 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
4812 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
4813 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
4814 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
4815 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
4816 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
4817 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
4818 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
4819 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
4820 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
4821 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
4822 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
4823 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
4824 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
4825 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
4826 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
4827 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
4828 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
4829 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
4830 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
4831 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
4832 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
4833 (R_AARCH64_TLSDESC_LDR): Likewise.
4834 (R_AARCH64_TLSDESC_ADD): Likewise.
4835 (R_AARCH64_TLSDESC_CALL): Likewise.
4836
b2179107
AS
48372013-09-30 Andreas Schwab <schwab@suse.de>
4838
4839 [BZ #15048]
4840 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
4841 the nss database lookup.
4842 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4843 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4844
47f28d0a
MF
48452013-09-28 Mike Frysinger <vapier@gentoo.org>
4846
4847 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
4848
48492013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
4850
4851 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
4852 ${Bash-specific parameter/pattern/string} parameter expansion.
4853 * sysdeps/unix/make-syscalls.sh: Likewise.
4854
f4518a17
KK
48552013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4856
4857 * sysdeps/sh/stackguard-macros.h: New file.
4858
dc1a95c7
OB
48592013-09-26 Ondřej Bílka <neleai@seznam.cz>
4860
4861 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4862 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
4863 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
4864 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
4865 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4866 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
4867
5ebbff8f
AZ
48682013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4869
4870 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
4871 Fix thread ID register.
4872
4fd2cf9f
JM
48732013-09-25 Joseph Myers <joseph@codesourcery.com>
4874
4875 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
4876 [POSIX || UNIX98]: Require rather than permitting all symbols from
4877 <time.h>.
4878 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
4879 element of struct sched_param.
4880 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
4881 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
4882 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
4883 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
4884 constant.
4885
12c22bc4
OL
48862013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
4887
4888 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
4889 argument calculation.
4890
a03d8ea7
JM
48912013-09-24 Joseph Myers <joseph@codesourcery.com>
4892
4893 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
4894 Expect macro.
4895 [POSIX] (pthread_attr_t): Do not require type.
4896 [POSIX] (pthread_cond_t): Likewise.
4897 [POSIX] (pthread_condattr_t): Likewise.
4898 [POSIX] (pthread_key_t): Likewise.
4899 [POSIX] (pthread_mutex_t): Likewise.
4900 [POSIX] (pthread_mutexattr_t): Likewise.
4901 [POSIX] (pthread_once_t): Likewise.
4902 [POSIX] (pthread_t): Likewise.
4903 [POSIX-based standards] (pthread_atfork): Expect function.
4904
6055173a
JM
49052013-09-24 Joseph Myers <joseph@codesourcery.com>
4906 Richard Sandiford <richard@codesourcery.com>
4907
4908 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
4909 (swap_endianness_p): New extern variable.
4910 (set_big_endian): New inline function.
4911 (maybe_swap_uint32): Likewise.
4912 (maybe_swap_uint32_array): Likewise.
4913 (maybe_swap_uint32_obstack): Likewise.
4914 * locale/programs/locfile.c: Include <stdbool.h>.
4915 (swap_endianness_p): New variable.
4916 (add_locale_uint32): Call maybe_swap_uint32.
4917 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
4918 (write_locale_data): Call maybe_swap_uint32_array.
4919 * locale/programs/ld-collate.c (obstack_int32_grow): Call
4920 maybe_swap_uint32.
4921 (obstack_int32_grow_fast): Likewise.
4922 (output_weightwc): Call maybe_swap_uint32_obstack.
4923 (collate_output): Likewise.
4924 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
4925 (OPT_LITTLE_ENDIAN): Likewise.
4926 (options): Add --little-endian and --big-endian options.
4927 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
4928 * locale/programs/locarchive.c: Include "locfile.h".
4929 (GET): New macro.
4930 (SET): Likewise.
4931 (INC): Likewise.
4932 (create_archive): Use the new macros to access fields of
4933 structures directly mapped from or written to locale archives.
4934 (oldlocrecentcmp): Likewise.
4935 (enlarge_archive): Likewise.
4936 (insert_name): Likewise.
4937 (add_alias): Likewise.
4938 (add_locale): Likewise.
4939 (delete_locales_from_archive): Likewise.
4940 (show_archive_content): Likewise.
4941 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
4942 locale data.
4943
39bf0bb4
RM
49442013-09-24 Roland McGrath <roland@hack.frob.com>
4945
4946 * manual/freemanuals.texi: Updated from (newly) canonical copy at
4947 http://www.gnu.org/doc/freemanuals.texi.
4948 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
4949
f02eed10
WN
49502013-09-24 Will Newton <will.newton@linaro.org>
4951
4952 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
4953 macro.
4954
a3a6c312
JM
49552013-09-23 Joseph Myers <joseph@codesourcery.com>
4956
4957 * locale/hashval.h (compute_hashval): Interpret bytes of key as
4958 unsigned char.
4959
107375ac
MR
49602013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
4961
4962 * manual/threads.texi (POSIX Threads): Fix a typo.
4963
141f3a77
SP
49642013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4965
303e567a
SP
4966 [BZ #14547]
4967 * string/tst-strcoll-overflow.c: New test case.
4968 * string/Makefile (xtests): Add tst-strcoll-overflow.
4969 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
4970 cache if string sizes may cause integer overflow.
4971
141f3a77
SP
4972 [BZ #14547]
4973 * string/strcoll_l.c (coll_seq): New members rule, idx,
4974 save_idx and back_us.
4975 (get_next_seq_nocache): New function.
4976 (do_compare_nocache): New function.
4977 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
4978 when malloc fails.
4979
c61b4d41
CD
49802013-09-23 Carlos O'Donell <carlos@redhat.com>
4981
0b1f8e35
CD
4982 [BZ #15754]
4983 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
4984 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
4985 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
4986
c61b4d41
CD
4987 [BZ #15754]
4988 * elf/Makefile (tests): Add tst-ptrguard1.
4989 (tests-static): Add tst-ptrguard1-static.
4990 (tst-ptrguard1-ARGS): Define.
4991 (tst-ptrguard1-static-ARGS): Define.
4992 * elf/tst-ptrguard1.c: New file.
4993 * elf/tst-ptrguard1-static.c: New file.
4994 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
4995 * sysdeps/i386/stackguard-macros.h: Likewise.
4996 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4997 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4998 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4999 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5000 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5001 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5002
50032013-09-23 Hector Marco <hecmargi@upv.es>
5004 Ismael Ripoll <iripoll@disca.upv.es>
5005 Carlos O'Donell <carlos@redhat.com>
5006
5007 [BZ #15754]
5008 * sysdeps/generic/stackguard-macros.h: Define
5009 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5010 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5011 Define __pointer_chk_guard_local.
5012 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5013 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5014
f5f4e7b4
VV
50152013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5016
5017 [BZ #15859]
5018 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5019
5bb43a43
AS
50202013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5021
5022 * include/string.h (__ffs): Declare as hidden.
5023 * string/ffs.c (__ffs): Define as hidden.
5024 * sysdeps/i386/ffs.c (__ffs): Likewise.
5025 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5026 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5027 * sysdeps/s390/ffs.c (__ffs): Likewise.
5028 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5029
3ea5be54
AO
50302013-09-20 Alexandre Oliva <aoliva@redhat.com>
5031
ffb89e53
AO
5032 * NEWS: Mention malloc probes.
5033
322dea08
AO
5034 * malloc/arena.c (new_heap): New memory_heap_new probe.
5035 (grow_heap): New memory_heap_more probe.
5036 (shrink_heap): New memory_heap_less probe.
5037 (heap_trim): New memory_heap_free probe.
5038 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5039 (systrim): New memory_sbrk_less probe.
5040 * manual/probes.texi: Document them.
5041
655673f3
AO
5042 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5043 * manual/probes.texi: Document it.
5044
35fed6f1
AO
5045 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5046 (__libc_realloc): Add memory_realloc_retry probe.
5047 (__libc_memalign): Add memory_memalign_retry probe.
5048 (__libc_valloc): Add memory_valloc_retry probe.
5049 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5050 (__libc_calloc): Add memory_calloc_retry probe.
5051 * manual/probes.texi: Document them.
5052
6999d38c
AO
5053 * malloc/arena.c (get_free_list): Add probe
5054 memory_arena_reuse_free_list.
5055 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5056 and memory_arena_reuse.
5057 (arena_get2) [!PER_THREAD]: Likewise.
5058 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5059 memory_arena_reuse_realloc.
5060 * manual/probes.texi: Document them.
5061
0653427f
AO
5062 * malloc/malloc.c (__libc_free): Add
5063 memory_mallopt_free_dyn_thresholds probe.
5064 (__libc_mallopt): Add multiple memory_mallopt probes.
5065 * manual/probes.texi: Document them.
5066
3ea5be54
AO
5067 * malloc/malloc.c: Include stap-probe.h.
5068 (__libc_mallopt): Add memory_mallopt probe.
5069 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5070 * manual/probes.texi: New.
5071 * manual/Makefile (chapters): Add probes.
5072 * manual/threads.texi: Set next node.
5073
e35696c3 50742013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 5075
e35696c3
CL
5076 [BZ #15963, #13985]
5077 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5078 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5079 Add `Chinese' to `nan' entry name.
5080
4aafb73c
SP
50812013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5082
5083 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5084 (POLYNOMIAL): Likewise.
5085 (TAYLOR_SINCOS): Likewise.
5086 (TAYLOR_SLOW): Likewise.
5087 (__sin): Use TAYLOR_SINCOS.
5088 (__cos): Likewise.
5089 (slow): Use TAYLOR_SLOW.
5090 (sloww): Likewise.
5091 (bsloww): Likewise.
5092 (csloww): Likewise.
5093
d84f25c7
LD
50942013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5095
5096 * stdlib/strtod_l.c: Fix buffer overrun.
5097
5eea0404
SP
50982013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5099
7849ff93
SP
5100 * benchtests/Makefile (bench): Add sincos.
5101 * benchtests/bench-sincos.c: New file.
5102
cfa3c886
SP
5103 * math/libm-test.inc (cos_test_data): New test inputs.
5104 (sin_test_data): Likewise.
5105
b348e1e3
SP
5106 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5107 macro.
5108 (__sin): Use it.
5109 (__cos): Likewise.
5110 (slow1): Likewise.
5111 (slow2): Likewise.
5112 (sloww1): Likewise.
5113 (sloww2): Likewise.
5114 (bsloww1): Likewise.
5115 (bsloww2): Likewise.
5116 (cslow2): Likewise.
5117 (csloww1): Likewise.
5118 (csloww2): Likewise.
5119
6cce25f8
SP
5120 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5121 function.
5122 (__sin): Use it.
5123 (__cos): Likewise.
5124
5eea0404
SP
5125 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5126 gotos.
5127 (__cos): Likewise.
5128
9c21573c
MR
51292013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5130
5131 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5132 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5133 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5134 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5135 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5136 * elf/cache.c (print_entry): Handle the new cache flags.
5137
24d22e65
JM
51382013-09-18 Joseph Myers <joseph@codesourcery.com>
5139 Aldy Hernandez <aldyh@redhat.com>
5140
5141 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5142 Change condition to [_SOFT_FLOAT].
5143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5155 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5157 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5158 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5159 declaration.
5160
d13ef066
JM
51612013-09-18 Joseph Myers <joseph@codesourcery.com>
5162
2e071de0
JM
5163 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5164 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5165 (__longjmp): Use LOAD_GP to load saved GPRs.
5166 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5167 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5168 (__sigsetjmp): Use SAVE_GP to save GPRs.
5169
d13ef066
JM
5170 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5171 Do not append -msoft-float.
5172 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5173
97a0650b
SP
51742013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5175
5176 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5177
11ca09e9
JM
51782013-09-17 Joseph Myers <joseph@codesourcery.com>
5179
5180 [BZ #15966]
5181 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5182 (_FPU_GETCW): Use initial "__" on variable and field names but not
5183 on macro parameter name.
5184 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5185 parentheses around reference to macro parameter.
5186
08ffcf34
RS
51872013-09-13 Richard Sandiford <richard@codesourcery.com>
5188
5189 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5190 prototype.
5191 (ctype_startup): Use uint32_t in cast and sizeof for
5192 ctype->charnames.
5193
ae7080d3
JL
51942013-09-11 Jia Liu <proljc@gmail.com>
5195
5196 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5197 __daddr_t_defined.
5198 [__FreeBSD__]: Likewise.
5199
5905e7b3
OB
52002013-09-11 Ondřej Bílka <neleai@seznam.cz>
5201
5202 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5203 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5204 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5205 (strchr): Remove __strchr_sse42 ifunc selection.
5206 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5207 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5208
b987c776
WN
52092013-09-11 Will Newton <will.newton@linaro.org>
5210
5211 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5212 parameter to RES. Remove hardcoded 1000 value.
5213 * benchtests/bench-skeleton.c (main): Pass RES parameter
5214 to TIMING_INIT and multiply result by 1000.
5215
ddf985af
AZ
52162013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5217
5218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5219
ffdd3181
AS
52202013-09-11 Andreas Schwab <schwab@suse.de>
5221
5222 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5223 if not defined.
5224 (O_TMPFILE) [__USE_GNU]: Define.
5225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5226 Define.
5227
b73ed247
WN
52282013-09-11 Will Newton <will.newton@linaro.org>
5229
5230 [BZ #15857]
5231 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5232 does not overflow.
5233
55e17aad
WN
52342013-09-11 Will Newton <will.newton@linaro.org>
5235
5236 [BZ #15856]
5237 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5238 does not overflow.
5239
1159a193
WN
52402013-09-11 Will Newton <will.newton@linaro.org>
5241
5242 [BZ #15855]
5243 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5244 does not overflow.
5245
5905e7b3 52462013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
5247
5248 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5249 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5250 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5251 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5252 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5253
cdfc721b
AM
52542013-09-10 Allan McRae <allan@archlinux.org>
5255
aa04af00
AM
5256 [BZ #15748]
5257 * manual/arith.texi (Parsing of Floats): Clarify
5258 cross-reference.
5259
cdfc721b
AM
5260 [BZ #15849]
5261 * manual/install.texi (Running make install): Mention
5262 --enable-pt-chown.
5263 * INSTALL: Regenerated.
5264
95e7cf29
MR
52652013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5266
5267 * csu/init-first.c (_init): Remove the !SHARED condition around
5268 FPU control word initialization.
5269 * elf/dl-support.c (_dl_fpu_control): New variable.
5270 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5271 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5272 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5273 * math/test-fpucw-static.c: New file.
5274 * math/test-fpucw-ieee.c: New file.
5275 * math/test-fpucw-ieee-static.c: New file.
5276 * math/Makefile (tests): Add `test-fpucw-ieee' and
5277 `$(tests-static)'.
5278 (tests-static): New variable.
5279 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5280 dependency to...
5281 [($(build-shared),yes)]
5282 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5283 ... this.
5284 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5285 New dependency.
5286
83e43bf0
AM
52872013-09-09 Allan McRae <allan@archlinux.org>
5288
a9f5ce09
AM
5289 [BZ #15939]
5290 * manual/string.texi (Collation Functions): Fix typo in
5291 strcoll example.
5292 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5293
34829bc2
AM
5294 [BZ #15893]
5295 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5296
3932737d
AM
5297 [BZ #15892]
5298 * libio/memstream.c (open_memstream): Fix memory leak.
5299 * libio/wmemstream.c (open_wmemstream): Likewise.
5300
83e43bf0
AM
5301 [BZ #15895]
5302 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5303
0c66b8e9
WN
53042013-09-09 Will Newton <will.newton@linaro.org>
5305
5306 * malloc/Makefile: Add tst-realloc to tests.
5307 * malloc/tst-realloc.c: New file.
5308
f6b00fd1
AM
53092013-09-09 Allan McRae <allan@archlinux.org>
5310
5311 [BZ #15844]
5312 * COPYING: Update from GNU website to fix FSF address.
5313 * COPYING.LIB: Likewise.
5314
eec55e16
DM
53152013-09-06 David S. Miller <davem@davemloft.net>
5316
5317 * po/zh_TW.po: Update Chinese (traditional) translation from
5318 translation project.
5319
1ecbb381
RS
53202013-09-06 Richard Sandiford <richard@codesourcery.com>
5321 Joseph Myers <joseph@codesourcery.com>
5322
5323 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5324 "localeinfo.h".
5325 (obstack_chunk_alloc): New macro.
5326 (obstack_chunk_free): Likewise.
5327 (record_offset): New function.
5328 (init_locale_data): Likewise.
5329 (align_locale_data): Likewise.
5330 (add_locale_empty): Likewise.
5331 (add_locale_raw_data): Likewise.
5332 (add_locale_raw_obstack): Likewise.
5333 (add_locale_string): Likewise.
5334 (add_locale_wstring): Likewise.
5335 (add_locale_uint32): Likewise.
5336 (add_locale_uint32_array): Likewise.
5337 (add_locale_char): Likewise.
5338 (start_locale_structure): Likewise.
5339 (end_locale_structure): Likewise.
5340 (start_locale_prelude): Likewise.
5341 (end_locale_prelude): Likewise.
5342 (write_locale_data): Take locale_file structure rather than an
5343 iovec.
5344 * locale/programs/locfile.h: Include "obstack.h".
5345 (struct locale_file): Change to store locale file contents instead
5346 of header.
5347 (init_locale_data): New prototype.
5348 (align_locale_data): Likewise.
5349 (add_locale_empty): Likewise.
5350 (add_locale_raw_data): Likewise.
5351 (add_locale_raw_obstack): Likewise.
5352 (add_locale_string): Likewise.
5353 (add_locale_wstring): Likewise.
5354 (add_locale_uint32): Likewise.
5355 (add_locale_uint32_array): Likewise.
5356 (add_locale_char): Likewise.
5357 (start_locale_structure): Likewise.
5358 (end_locale_structure): Likewise.
5359 (start_locale_prelude): Likewise.
5360 (end_locale_prelude): Likewise.
5361 (write_locale_data): Update prototype.
5362 * locale/programs/3level.h (struct TABLE): Remove result field.
5363 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5364 Use new locale_file interface.
5365 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5366 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5367 * locale/programs/ld-address.c (address_output): Use new
5368 locale_file interface.
5369 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5370 NO_ADD_LOCALE.
5371 (collate_finish): Don't call collseq_table_finalize.
5372 (collate_output): Use new locale_file interface.
5373 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5374 in file.
5375 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5376 (TABLE): Move defines earlier in file.
5377 (ELEMENT): Likewise.
5378 (DEFAULT): Likewise.
5379 (wctrans_table_add): Move macro and inline function earlier in
5380 file.
5381 (struct wctype_table): Move type earlier in file.
5382 (add_locale_wctype_table): New static prototype.
5383 (struct locale_ctype_t): Use logical types instead of struct iovec
5384 pointers for members.
5385 (ctype_output): Use new locale_file interface.
5386 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5387 new locale_file interface.
5388 (allocate_arrays): Update for use of new locale_file interface.
5389 * locale/programs/ld-identification.c (identification_output): Use
5390 new locale_file interface.
5391 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5392 * locale/programs/ld-messages.c (messages_output): Likewise.
5393 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5394 * locale/programs/ld-name.c (name_output): Likewise.
5395 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5396 * locale/programs/ld-paper.c (paper_output): Likewise.
5397 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5398 * locale/programs/ld-time.c (time_output): Likewise.
5399
e029e2e5
AZ
54002013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5401
5402 * benchtests/Makefile: Add memrchr benchmark.
5403 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5404 benchmark as memrchr.
5405 * benchtests/bench-memrchr-ifunc.c: New file.
5406 * benchtests/bench-memrchr.c: New file.
5407
bbf6e8e4
WN
54082013-09-06 Will Newton <will.newton@linaro.org>
5409
5410 * benchtests/Makefile (string-bench): Add memcpy.
5411
6c82a2f8
CD
54122013-09-05 Carlos O'Donell <carlos@redhat.com>
5413 Cong Wang <amwang@redhat.com>
5414
5415 * sysdeps/unix/sysv/linux/bits/in.h
5416 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5417 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5418 before __USE_KERNEL_IPV6_DEFS uses.
5419 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5420 IPPROTO_BEETPH.
5421 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5422 sockaddr_in6, or ipv6_mreq.
5423
5430fc65
AZ
54242013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5425
5426 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5427 memory access for final bytes in some large inputs.
5428 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5429
4660856c
AZ
54302013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5431
5432 * string/test-memrchr.c: New file.
5433 * string/test-memrchr-ifunc.c: New file.
5434 * string/Makefile: Add new memrchr testcase.
5435
bb8ea713
MF
54362013-09-05 Mike Frysinger <vapier@gentoo.org>
5437
5438 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5439 fanotify_init returns EPERM.
5440
b92a20b5
JM
54412013-09-04 Joseph Myers <joseph@codesourcery.com>
5442
5443 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5444 errors.
5445 (top level): Treat second token from macro or constant entries for
5446 allowed headers as allowed.
5447 * include/complex.h: Condition internal declarations on
5448 [!_ISOMAC].
5449 * include/fenv.h: Condition include of <stdbool.h> and internal
5450 declarations on [!_ISOMAC].
7447ccd9
CL
5451
54522013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5453
3e181dda 5454 [BZ #15923]
7447ccd9
CL
5455 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5456
3f2e46a4
JM
54572013-09-04 Joseph Myers <joseph@codesourcery.com>
5458
5459 * configure.in (--enable-versioning): Remove configure option.
5460 (libc_cv_asm_symver_directive): Remove configure test.
5461 (libc_cv_ld_version_script_option): Likewise.
5462 (VERSIONING): Remove variable and AC_SUBST.
5463 (DO_VERSIONING): Remove AC_DEFINE.
5464 * configure: Regenerated.
5465 * config.h.in (DO_VERSIONING): Remove macro.
5466 * Makerules [$(versioning) = yes]: Change conditionals to
5467 [$(build-shared) = yes].
5468 * config.make.in (versioning): Remove variable.
5469 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5470 [$(build-shared) = yes].
5471 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5472 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5473 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5474 [$(build-shared) = yes].
5475 * extra-lib.mk [$(versioning) = yes]: Likewise.
5476 * hurd/Makefile [$(versioning) = yes]: Likewise.
5477 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5478 [SHARED].
5479 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5480 [SHARED].
5481 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5482 [SHARED && !NO_HIDDEN].
5483 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5484 [SHARED].
5485 [SHARED && DO_VERSIONING]: Likewise..
5486 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5487 [$(build-shared) = yes].
5488 * manual/install.texi (--disable-versioning): Remove
5489 documentation.
5490 * INSTALL: Regenerated.
5491 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5492 to [SHARED].
5493 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5494 [$(build-shared) = yes].
5495 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5496 * sysdeps/i386/i686/multiarch/strstr-c.c
5497 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5498 [SHARED && !NO_HIDDEN].
5499 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5500 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5501 * sysdeps/powerpc/powerpc32/dl-machine.c
5502 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5503 * sysdeps/powerpc/powerpc32/sysdep.h
5504 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5505 to [SHARED && PIC && !NO_HIDDEN].
5506 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5507 conditional to [SHARED].
5508
44558701
WN
55092013-09-04 Will Newton <will.newton@linaro.org>
5510
5511 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5512 * benchtests/bench-string.h: Include bench-timing.h instead
5513 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5514 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5515 call to HP_TIMING_DIFF_INIT.
5516 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5517 instead of hp-timing.h macros.
5518 * benchtests/bench-memchr.c: Likewise.
5519 * benchtests/bench-memcmp.c: Likewise.
5520 * benchtests/bench-memcpy.c: Likewise.
5521 * benchtests/bench-memmem.c: Likewise.
5522 * benchtests/bench-memmove.c: Likewise.
5523 * benchtests/bench-memset.c: Likewise.
5524 * benchtests/bench-rawmemchr.c: Likewise.
5525 * benchtests/bench-strcasecmp.c: Likewise.
5526 * benchtests/bench-strcasestr.c: Likewise.
5527 * benchtests/bench-strcat.c: Likewise.
5528 * benchtests/bench-strchr.c: Likewise.
5529 * benchtests/bench-strcmp.c: Likewise.
5530 * benchtests/bench-strcpy.c: Likewise.
5531 * benchtests/bench-strcpy_chk.c: Likewise.
5532 * benchtests/bench-strlen.c: Likewise.
5533 * benchtests/bench-strncasecmp.c: Likewise.
5534 * benchtests/bench-strncat.c: Likewise.
5535 * benchtests/bench-strncmp.c: Likewise.
5536 * benchtests/bench-strncpy.c: Likewise.
5537 * benchtests/bench-strnlen.c: Likewise.
5538 * benchtests/bench-strpbrk.c: Likewise.
5539 * benchtests/bench-strrchr.c: Likewise.
5540 * benchtests/bench-strspn.c: Likewise.
5541 * benchtests/bench-strstr.c: Likewise.
5542
cae16d66
WN
55432013-09-04 Will Newton <will.newton@linaro.org>
5544
5545 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5546
ffa3cd7f
JM
55472013-09-03 Joseph Myers <joseph@codesourcery.com>
5548
5549 [BZ #15427]
5550 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5551 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5552 * math/libm-test.inc (lgamma_test_data): Add more tests.
5553 * sysdeps/i386/fpu/libm-test-ulps: Update.
5554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5555
8f02859f
OB
55562013-09-03 Ondřej Bílka <neleai@seznam.cz>
5557
5558 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5559 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5560 Add ifunc.
5561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5562 Add strcmp-sse2-unaligned
5563 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5564
18d43716
MF
55652013-09-02 Mike Frysinger <vapier@gentoo.org>
5566
5567 * Versions.def (libc): Add GLIBC_2.19.
5568
ac444012
MF
55692013-09-02 Mike Frysinger <vapier@gentoo.org>
5570
5571 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5572 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5573
b7835e32
JM
55742013-09-02 Joseph Myers <joseph@codesourcery.com>
5575
5576 [BZ #14155]
5577 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5578 intermediate calculations in recurrence.
5579 (__ieee754_ynf): Likewise.
5580 * math/libm-test.inc (jn_test_data): Do not allow spurious
5581 underflow exception. Add more tests.
5582 (yn_test_data): Add more tests.
5583 * sysdeps/i386/fpu/libm-test-ulps: Update.
5584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5585
8220f4f0
OB
55862013-09-02 Ondřej Bílka <neleai@seznam.cz>
5587
5588 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5589
f24a6d08
OB
55902013-08-30 Ondřej Bílka <neleai@seznam.cz>
5591
5592 * csu/init-first.c: Fix then/than typos.
5593 * locale/programs/ld-collate.c: Likewise.
5594 * locale/programs/linereader.h: Likewise.
5595 * manual/charset.texi: Likewise.
5596 * manual/filesys.texi: Likewise.
5597 * manual/stdio.texi: Likewise.
5598 * manual/string.texi: Likewise.
5599 * stdlib/fmtmsg.c: Likewise.
5600 * sysdeps/i386/stpncpy.S: Likewise.
5601 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5602 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5603 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5604 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5605
382466e0
OB
56062013-08-30 Ondřej Bílka <neleai@seznam.cz>
5607
5608 * elf/dl-open.c: Fix typos.
5609 * iconvdata/gbbig5.c: Likewise.
5610 * iconvdata/iso-2022-jp.c: Likewise.
5611 * iconv/gconv_int.h: Likewise.
5612 * iconv/loop.c: Likewise.
5613 * nis/rpcsvc/nis.h: Likewise.
5614 * resolv/ns_name.c: Likewise.
5615 * stdio-common/vfscanf.c: Likewise.
5616 * streams/stropts.h: Likewise.
5617 * sunrpc/rpc_thread.c: Likewise.
5618 * sysdeps/i386/strpbrk.S: Likewise.
5619 * sysdeps/ieee754/k_standard.c: Likewise.
5620 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5621 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5622 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5623 * sysdeps/mach/hurd/profil.c: Likewise.
5624 * sysdeps/s390/dl-procinfo.h: Likewise.
5625 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5626 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5627 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5628 * sysdeps/x86_64/dl-trampoline.S: Likewise.
5629 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5630
0186c6e9
OB
56312013-08-30 Ondřej Bílka <neleai@seznam.cz>
5632
5633 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
5634 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
5635
d4e16af1
OB
56362013-08-29 Ondřej Bílka <neleai@seznam.cz>
5637
5638 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
5639 aix specific files.
5640 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
5641 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
5642 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
5643 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
5644 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
5645 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
5646 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
5647 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
5648
88335980
TS
56492013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5650 Roland McGrath <roland@hack.frob.com>
5651
5652 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
5653 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
5654
ed479b02
ST
56552013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
5656
5657 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
5658 __executable_start symbol instead of _start.
5659
f1cc4c86
TS
56602013-08-29 Thomas Schwinge <thomas@codesourcery.com>
5661
d821f07c
TS
5662 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
5663 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
5664 Move macros to...
5665 * sysdeps/gnu/ldsodefs.h: ... this new file.
5666
c54290cf
TS
5667 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
5668 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
5669 instead of ELFOSABI_LINUX.
5670
0007fc9b 5671 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
5672 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
5673 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
5674 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
5675 Likewise.
5676 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
5677 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
5678 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
5679 Likewise.
5680 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5681 (ibm_extended_long_double): Add ieee_nan member.
5682 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
5683 (do_test): New function.
5684
f1cc4c86
TS
5685 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
5686 TEST_TRUNC.
5687 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
5688 functions, renamed from truncdfsf_test, trunctfsf_test,
5689 trunctfdf_test.
5690 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
5691 functions.
5692 (do_test): Run all these.
5693
6f65e668
OB
56942013-08-29 Ondřej Bílka <neleai@seznam.cz>
5695
5696 * argp/argp-help.c: Fix typos.
5697 * argp/argp-parse.c: Likewise.
5698 * debug/backtracesyms.c: Likewise.
5699 * elf/elf.h: Likewise.
5700 * malloc/malloc.c: Likewise.
5701 * nis/nis_print.c: Likewise.
5702 * resolv/res_comp.c: Likewise.
5703 * stdlib/stdlib.h: Likewise.
5704 * sunrpc/clnt_tcp.c: Likewise.
5705 * sunrpc/clnt_udp.c: Likewise.
5706 * sunrpc/clnt_unix.c: Likewise.
5707 * sysdeps/unix/bsd/ptsname.c: Likewise.
5708 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5709 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
5711 Likewise.
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
5713 Likewise.
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
5715 Likewise.
6f65e668
OB
5716 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5717
3a309239
SP
57182013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5719
5720 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
5721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5722
3b813b29
MF
57232013-08-27 Mike Frysinger <vapier@gentoo.org>
5724
5725 [BZ #15897]
5726 * dlfcn/Makefile (tests): Add bug-dl-leaf.
5727 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
5728 ($(objpfx)bug-dl-leaf): New rule.
5729 ($(objpfx)bug-dl-leaf.so): Likewise.
5730 ($(objpfx)bug-dl-leaf.out): Likewise.
5731 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
5732 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
5733 * dlfcn/bug-dl-leaf.c: New test.
5734 * dlfcn/bug-dl-leaf-lib.c: Likewise.
5735 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
5736 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
5737 (dlclose): Likewise.
5738 (dlmopen): Likewise.
5739
8cc3269f
RM
57402013-08-27 Roland McGrath <roland@hack.frob.com>
5741
7f9d0034
RM
5742 * include/netdb.h [!_ISOMAC]:
5743 Don't include <tls.h>.
5744 (h_errno, __libc_h_errno): Move declaration and macros out of
5745 [_LIBC_REENTRANT].
5746
fb431262
RM
5747 * include/resolv.h [_RESOLV_H_]:
5748 Don't include <tls.h>.
5749 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
5750 * resolv/res_libc.c: Don't include <tls.h>.
5751 (_res): Use __attribute__ ((nocommon)) in place of
5752 __attribute__ ((section (".bss"))).
5753
bd81123a
RM
5754 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
5755 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
5756
c4e42566
RM
5757 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
5758
f890a59b
RM
5759 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
5760 only under [SIOCGIFCONF && SIOCGIFNETMASK].
5761
5762 * resolv/res_mkquery.c: Include <sys/time.h>.
5763
5d1f0a09
RM
5764 * inet/ifreq.c: Moved to ...
5765 * sysdeps/unix/ifreq.c: ... here.
5766 * inet/ifreq.c: New file, true stub version.
5767
6fcf28b3
RM
5768 * socket/sa_len.c: New file.
5769 * socket/Makefile (aux): Add it.
5770 * sysdeps/unix/sysv/linux/Makefile
5771 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
5772 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
5773 and #include <socket/sa_len.c>.
5774 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
5775 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
5776
e041fb8b
RM
5777 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
5778 * bits/socket.h: ... here.
5779
8cc3269f
RM
5780 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
5781 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
5782 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
5783
5d228a43
AS
57842013-08-27 Andreas Schwab <schwab@suse.de>
5785
45b8accc
AS
5786 [BZ #15736]
5787 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
5788 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
5789 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
5790 * string/test-strcasecmp.c (test_main): Run tests in several
5791 locales.
5792 * string/test-strncasecmp.c (test_main): Likewise.
5793
5d228a43
AS
5794 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
5795 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
5796 to __strcasecmp_nonascii and __strncasecmp_nonascii.
5797 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
5798 (__strncasecmp_ssse3) [PIC]: Likewise.
5799
59d112a4
RM
58002013-08-26 Roland McGrath <roland@hack.frob.com>
5801
53234cc3
RM
5802 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
5803
59d112a4
RM
5804 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
5805 instead of explicitly declaring xdecrypt.
5806 * nis/nss_nis/nis-publickey.c: Likewise.
5807
595aba70
SP
58082013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5809
5810 [BZ #15890]
5811 * nscd/aicache.c: Include res_hconf.h.
5812 (addhstaiX): Initialize res_hconf.
5813
ffabd393
AS
58142013-08-26 Andreas Schwab <schwab@suse.de>
5815
5816 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
5817 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
5818
e0a69f5c
SP
58192013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5820
5821 * nscd/aicache.c (addhstaiX): Fix indentation.
5822
8c12f01d
MF
58232013-08-25 Mike Frysinger <vapier@gentoo.org>
5824
5825 * configure.ac: Quote $build_pt_chown test.
5826 * configure: Regenerated.
5827
8fe89494
JM
58282013-08-23 Joseph Myers <joseph@codesourcery.com>
5829
5830 [BZ #15532]
5831 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
5832 * math/s_cexpf.c (__cexpf): Likewise.
5833 * math/s_cexpl.c (__cexpl): Likewise.
5834 * math/libm-test.inc (cexp_test_data): Correct expected return
5835 value for NaN + i0. Add another test.
5836
75b181d6
DM
58372013-08-22 David S. Miller <davem@davemloft.net>
5838
5839 * po/ca.po: Update Catalan translation from translation project.
936241e4 5840 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 5841
acd06bb1
JM
58422013-08-21 Joseph Myers <joseph@codesourcery.com>
5843
5844 [BZ #15797]
5845 * math/s_fdim.c (__fdim): Check for infinite arguments if result
5846 is infinite, not alongside NaN test.
5847 * math/s_fdimf.c (__fdimf): Likewise.
5848 * math/s_fdiml.c (__fdiml): Likewise.
5849 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
5850 errno is unchanged.
5851
c0c3f78a
OB
58522013-08-21 Ondřej Bílka <neleai@seznam.cz>
5853
5854 * argp/argp-help.c: Fix typos.
5855 * crypt/speeds.c: Likewise.
5856 * csu/check_fds.c: Likewise.
5857 * elf/dl-load.c: Likewise.
5858 * elf/dl-open.c: Likewise.
5859 * elf/reldep3.c: Likewise.
5860 * elf/reldep.c: Likewise.
5861 * elf/sprof.c: Likewise.
5862 * iconv/iconv_charmap.c: Likewise.
5863 * iconv/skeleton.c: Likewise.
5864 * iconv/strtab.c: Likewise.
5865 * io/lockf64.c: Likewise.
5866 * libio/libioP.h: Likewise.
5867 * resolv/gai_notify.c: Likewise.
5868 * resolv/ns_name.c: Likewise.
5869 * resolv/ns_samedomain.c: Likewise.
5870 * resolv/res_send.c: Likewise.
5871 * stdlib/random.c: Likewise.
5872 * sunrpc/rpc/xdr.h: Likewise.
5873 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
5874 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5875 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5876 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5877 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5878 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5879 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5880 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5881 * sysdeps/mach/hurd/check_fds.c: Likewise.
5882 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
5883 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5884 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5885 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
5886 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5887 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5888 * sysdeps/pthread/aio_notify.c: Likewise.
5889 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
5890 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
5891 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
5892 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5893 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5894
46ed1038
LD
58952013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5896
5897 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
5898 version if bit_Slow_SSE4_2 is set.
5899 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5900 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5901
d400dcac
AZ
59022013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5903
5904 [BZ #15867]
5905 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
5906 trampoline stack frame information.
5907 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
5908 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
5909 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
5910 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
5911 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
5912 * sysdeps/unix/sysv/linux/powerpc/init-first.c
5913 (_libc_vdso_platform_setup): Initialize the signal trampolines.
5914 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
5915 sa_flags value.
5916 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
5917 interrupting a syscall and set with option SA_SIGINFO.
5918
42c8fdd8
JM
59192013-08-20 Joseph Myers <joseph@codesourcery.com>
5920
c980f2f4
JM
5921 [BZ #15531]
5922 * math/s_cproj.c (__cproj): Only return an infinity if one part of
5923 argument is infinite.
5924 * math/s_cprojf.c (__cprojf): Likewise.
5925 * math/s_cprojl.c (__cprojl): Likewise.
5926 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
5927 * math/libm-test.inc (cproj_test_data): Add more tests.
5928
0716c4fc
JM
5929 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
5930
42c8fdd8
JM
5931 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
5932 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
5933 size. Use __ffs to determine corresponding shift.
5934
b31469d0
JM
59352013-08-20 Joseph Myers <joseph@codesourcery.com>
5936 Roland McGrath <roland@hack.frob.com>
5937
5938 * Makefile (INSTALL): Remove trailing blank lines from output of
5939 makeinfo.
5940
4e39af6e
AK
59412013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5942
5943 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
5944 Align 32 bit compat elf_greg to 8 bytes.
5945
f315524e
AA
59462013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
5947
5948 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
5949
1326ba1a
SP
59502013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5951
5952 * string/strcoll_l.c (coll_seq): New structure.
5953 (get_next_seq_cached): New function.
5954 (get_next_seq): New function.
5955 (do_compare): New function.
5956 (STRCOLL): Use GNU style definition. Simplify implementation
5957 by using get_next_seq, get_next_seq_cached and do_compare.
5958
91ce4085
FW
59592013-08-16 Florian Weimer <fweimer@redhat.com>
5960
5961 [BZ #14699]
5962 CVE-2013-4237
5963 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
5964 member.
5965 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
5966 member.
5967 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
5968 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
5969 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
5970 conditional.
5971 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
5972 GETDENTS_64BIT_ALIGNED.
5973 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5974 * manual/filesys.texi (Reading/Closing Directory): Document
5975 ENAMETOOLONG return value of readdir_r. Recommend readdir more
5976 strongly.
5977 * manual/conf.texi (Limits for Files): Add portability note to
5978 NAME_MAX, PATH_MAX.
5979 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
5980
ca0a6bc4
AS
59812013-08-13 Andreas Schwab <schwab@suse.de>
5982
5983 [BZ #15749]
5984 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
5985 of fabs.
5986 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
5987 LDBL_MAX_EXP >= 16384]: Add tests for it.
5988
6c1fd795
DM
59892013-08-12 David S. Miller <davem@davemloft.net>
5990
5991 * version.h (RELEASE): Set to "development".
5992 (VERSION): Set to "2.18.90".
5993 * NEWS: Add 2.19 section.
5994
31ad488d
DM
59952013-08-03 David S. Miller <davem@davemloft.net>
5996
5997 * po/ko.po: Update Korean translation from translation project.
5998
db24e684
DM
59992013-08-01 David S. Miller <davem@davemloft.net>
6000
6001 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6002 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6003 Bilka.
6004
f723285b
DM
60052013-07-30 David S. Miller <davem@davemloft.net>
6006
6007 * po/fr.po: Update French translation from translation project.
6008
3cbc52db
DM
60092013-07-28 David S. Miller <davem@davemloft.net>
6010
30bbc0cc
DM
6011 * po/cs.po: Update Czech translation from translation project.
6012
3cbc52db
DM
6013 * po/sv.po: Update Swedish translation from translation project.
6014
d492e6d0
DM
60152013-07-27 David S. Miller <davem@davemloft.net>
6016
f1a7f492
DM
6017 * po/eo.po: Update Esperanto translation from translation project.
6018
90e62a4a
DM
6019 * po/vi.po: Update Vietnamese translation from translation project.
6020
d492e6d0
DM
6021 * po/de.po: Update German translation from translation project.
6022
d4baa62d
DM
60232013-07-26 David S. Miller <davem@davemloft.net>
6024
641aa7b4
DM
6025 * po/bg.po: Update Bulgarian translation from translation project.
6026
d4baa62d
DM
6027 * po/nl.po: Update Dutch translation from translation project.
6028 * po/pl.po: Update Polish translation from translation project.
6029 * po/ru.po: Update Russian translation from translation project.
6030
61a9dcb9
DM
60312013-07-24 David S. Miller <davem@davemloft.net>
6032
6033 * po/libc.pot: Update.
6034
7b1f8b58
AZ
60352013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6036
6037 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6038 variable page size.
6039 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6040 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6041 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6042
a8fc7a03
AK
60432013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6044
6045 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6046
e4608715
CD
60472013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6048 Andreas Schwab <schwab@suse.de>
6049 Roland McGrath <roland@hack.frob.com>
6050 Joseph Myers <joseph@codesourcery.com>
6051 Carlos O'Donell <carlos@redhat.com>
6052
6053 [BZ #15755]
6054 * config.h.in: Define HAVE_PT_CHOWN.
6055 * config.make.in (build-pt-chown): New variable.
6056 * configure.in (--enable-pt_chown): New configure option.
6057 * configure: Regenerate.
6058 * login/Makefile: Include Makeconfig. Build pt_chown only if
6059 build-pt-chown is enabled.
6060 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6061 pt_chown to fix pty ownership.
6062 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6063 CLOSE_ALL_FDS.
6064 * manual/install.texi (Configuring and compiling): Mention
6065 --enable-pt_chown. Add @findex for grantpt.
6066 * INSTALL: Regenerate.
6067
da2d62df
DM
60682013-07-20 David S. Miller <davem@davemloft.net>
6069
6070 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6071 difference between 32-bit and 64-bit.
6072
d7e06450
CD
60732013-07-15 Carlos O'Donell <carlos@redhat.com>
6074
6075 [BZ #15711]
6076 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6077 Avoid system header dependency with -ffreestanding.
6078 ($(objpfx)bits/syscall%d): Likewise.
6079
f959cfd7
DM
60802013-07-13 David S. Miller <davem@davemloft.net>
6081
6082 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6083 underflows from atanl/atan2l due to bug 15319.
6084 (casinh_test_data): Likewise.
6085
c61f8513
DM
60862013-07-07 David S. Miller <davem@davemloft.net>
6087
6088 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6089
72c90ed0
JA
60902013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6091
6092 * sysdeps/i386/fpu/libm-test-ulps: Update.
6093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6094
52dfbe13
SP
60952013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6096
6097 * configure.in (--enable-lock-elision): Fix message text.
6098 * INSTALL: Regenerate.
6099 * configure: Regenerate.
6100
3f169543
AZ
61012013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6102
6103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6104
521c6785
AJ
61052013-07-03 Andreas Jaeger <aj@suse.de>
6106
6107 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6108 define.
6109 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6110 (ptrace_peeksiginfo_args): Add.
6111 (__ptrace_peeksiginfo_flags): Add.
6112 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6114 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6115
d2cc15cb
AM
61162013-07-03 Allan McRae <allan@archlinux.org>
6117
6118 * sysdeps/i386/fpu/libm-test-ulps: Update.
6119
3aaeeca7
DM
61202013-07-02 David S. Miller <davem@davemloft.net>
6121
6122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6123
5314ed1a
MT
61242013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6125
6126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6127
67338156
JM
61282013-07-02 Joseph Myers <joseph@codesourcery.com>
6129
6130 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6132
1717da59
AK
61332013-07-02 Andi Kleen <ak@linux.intel.com>
6134
6135 * config.h.in (ENABLE_LOCK_ELISION): Add.
6136 * configure.in (--enable-lock-elision): Add option.
6137 * manual/install.texi: Document --enable lock elision.
6138 * configure: Regenerate
6139 * INSTALL: Regenerate.
6140
1c81621c
L
61412013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6142
6143 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6144 SSE4.2 strcasecmp for libc.a.
6145 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6146
77f01ab5
JM
61472013-07-02 Joseph Myers <joseph@codesourcery.com>
6148
6149 [BZ #13304]
6150 * soft-fp/op-common.h (_FP_FMA): New macro.
6151 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6152 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6153 (_FP_MUL_MEAT_1_imm): ... here.
6154 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6155 (_FP_MUL_MEAT_1_wide): ... here.
6156 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6157 (_FP_MUL_MEAT_1_hard): ... here.
6158 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6159 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6160 (_FP_MUL_MEAT_2_wide): ... here.
6161 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6162 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6163 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6164 (_FP_MUL_MEAT_2_gmp): ... here.
6165 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6166 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6167 (_FP_MUL_MEAT_4_wide): ... here.
6168 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6169 (_FP_MUL_MEAT_4_gmp): ... here.
6170 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6171 (_FP_WFRACBITS_DW_S): Likewise.
6172 (_FP_WFRACXBITS_DW_S): Likewise.
6173 (_FP_HIGHBIT_DW_S): Likewise.
6174 (FP_FMA_S): Likewise.
6175 (_FP_FRAC_HIGH_DW_S): Likewise.
6176 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6177 (_FP_WFRACBITS_DW_D): Likewise.
6178 (_FP_WFRACXBITS_DW_D): Likewise.
6179 (_FP_HIGHBIT_DW_D): Likewise.
6180 (FP_FMA_D): Likewise.
6181 (_FP_FRAC_HIGH_DW_D): Likewise.
6182 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6183 (_FP_WFRACBITS_DW_E): Likewise.
6184 (_FP_WFRACXBITS_DW_E): Likewise.
6185 (_FP_HIGHBIT_DW_E): Likewise.
6186 (FP_FMA_E): Likewise.
6187 (_FP_FRAC_HIGH_DW_E): Likewise.
6188 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6189 (_FP_WFRACBITS_DW_Q): Likewise.
6190 (_FP_WFRACXBITS_DW_Q): Likewise.
6191 (_FP_HIGHBIT_DW_Q): Likewise.
6192 (FP_FMA_Q): Likewise.
6193 (_FP_FRAC_HIGH_DW_Q): Likewise.
6194 * soft-fp/fmasf4.c: New file.
6195 * soft-fp/fmadf4.c: Likewise.
6196 * soft-fp/fmatf4.c: Likewise.
6197
6308fd9a
LD
61982013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6199
6200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6201 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6202 Silvermont.
6203 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6204 macro.
6205 (index_Slow_SSE4_2): Likewise.
6206 (index_Prefer_PMINUB_for_stringop): Likewise.
6207 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6208 bit_Slow_SSE4_2 is set.
6209 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6210 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6211
89cd9569
RA
62122013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6213
6214 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6215 rtld_global._dl_hwcap2.
6216 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6217 POWER8.
6218 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6219 POWER8 feature descriptions defined in _dl_hwcap2.
6220 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6221 string handling for POWER8 feature bits.
6222 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6223 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6224 _dl_powerpc_cap_flags.
6225 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6226 * sysdeps/powerpc/rtld-global-offsets.sym
6227 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6228 _dl_hwcap2 in the rtld_global_ro structure.
6229
1ae8bfe0
RA
62302013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6231
6232 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6233 hardware capabilities in support of AT_HWCAP2.
6234 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6235 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6236 GLRO(dl_hwcap2).
6237 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6238 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6239 explicitly the unknown a_type display mechanism is used.
6240 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6241 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6242 struct member.
6243 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6244 to macro prototype for AT_HWCAP2 support.
6245 * sysdeps/i386/dl-procinfo.h: Likewise.
6246 * sysdeps/s390/dl-procinfo.h: Likewise.
6247 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6248 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6249 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6250 return -1 for unknown a_type display fallback.
6251 * sysdeps/sparc/dl-procinfo.h: Likewise.
6252 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6253 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6254
8fbec010
JM
62552013-06-28 Joseph Myers <joseph@codesourcery.com>
6256
6257 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6258 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6259
0432680e
PY
62602013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6261
6262 [BZ #12492]
6263 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6264 mprotect making __stack_prot writable.
6265
ce61a2ad
NF
62662013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6267 Joseph Myers <joseph@codesourcery.com>
6268
6269 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6270 as being properly aligned.
6271
f91f1c0f
MR
62722013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6273
3d0f5d0c
MR
6274 * dlfcn/modstatic5.c: New file.
6275 * dlfcn/tststatic5.c: New file.
6276 * dlfcn/Makefile (tests): Add tststatic5.
6277 (tests-static): Likewise.
6278 (modules-names): Add modstatic5.
6279 (tststatic5-ENV): New variable.
6280 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6281
f91f1c0f
MR
6282 [BZ #15022]
6283 * elf/dl-support.c (_dl_main_map): New variable.
6284 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6285 (_dl_nns, _dl_load_adds): Set to 1.
6286 (_dl_initial_searchlist): Refer to _dl_main_map.
6287 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6288 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6289 call to _dl_get_origin.
6290 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6291 around call_map.
6292 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6293 * dlfcn/modstatic3.c: New file.
6294 * dlfcn/tststatic3.c: New file.
6295 * dlfcn/tststatic4.c: New file.
6296 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6297 (tests-static): Likewise.
6298 (modules-names): Add modstatic3.
6299 (tststatic3-ENV, tststatic4-ENV): New variables.
6300 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6301 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6302
cbe7d24b
JM
63032013-06-26 Joseph Myers <joseph@codesourcery.com>
6304
6305 * configure.in (CC): Require GCC version 4.4 or later.
6306 * configure: Regenerated.
6307 * manual/install.texi (Tools for Compilation): Update GCC version
6308 requirement.
6309 * INSTALL: Regenerated.
6310
11b8a0e1
LD
63112013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6312
6313 [BZ #15674]
bb5bb87c
L
6314 * string/test-memcmp.c (check2): New.
6315 (main): Call check2.
6316
11b8a0e1
LD
6317 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6318
b0037103
MR
63192013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6320
6321 [BZ #15022]
6322 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6323 over to...
6324 (dl_open_worker) [!SHARED]: ... here.
6325
c18c701d
RA
63262013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6327
6328 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6329
1d17fa5f
RH
63302013-06-25 Richard Henderson <rth@redhat.com>
6331
6332 * locale/programs/locarchive.c: Include <libc-internal.h>
6333
8fcb833a
JM
63342013-06-25 Joseph Myers <joseph@codesourcery.com>
6335
6336 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6337 trailing whitespace removed.
6338
17db6e8d
MF
63392013-06-24 Mike Frysinger <vapier@gentoo.org>
6340
6341 [BZ #10283]
17db6e8d
MF
6342 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6343 * locale/programs/locarchive.c: Include libc-mmap.h.
6344 (prepare_address_space): Take two new outputs (the mmap base and len).
6345 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6346 values.
6347 (create_archive): Declare new mmap base and len values for
6348 prepare_address_space, and store the result in ah.
6349 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6350 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6351 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6352 Declare new mmap base and len values for
6353 prepare_address_space, and store the result in new_ah.
6354 (open_archive): Declare new mmap base and len values for
6355 prepare_address_space, and store the result in ah.
6356 (close_archive): If ah->mmap_base is not NULL, use that and
6357 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6358 * sysdeps/generic/libc-mmap.h: New file.
6359
d605071e
MF
63602013-06-24 Mike Frysinger <vapier@gentoo.org>
6361
6362 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6363 (ALIGN_UP): Likewise.
6364 (PTR_ALIGN_DOWN): Likewise.
6365 (PTR_ALIGN_UP): Likewise.
6366
2f063a6e
RA
63672013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6368
6369 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6370 entry mapped to PPC_PLATFORM_POWER8.
6371 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6372 POWER8.
6373 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6374 (_dl_string_platform): Add case for exporting platform position for
6375 POWER8.
6376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6377 search path to sysdeps/powerpc/powerpc32/power8 directory.
6378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6379 search path to sysdeps/powerpc/powerpc64/power8 directory.
6380 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6381 power7 directories.
6382 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6383 power7 directories.
6384
a31ee4b3
SP
63852013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6386
a74ca98f
SP
6387 * INSTALL: Regenerate.
6388
a31ee4b3
SP
6389 * nscd/connections.c (nscd_init): Fix comment.
6390
695c378f
JM
63912013-06-22 Joseph Myers <joseph@codesourcery.com>
6392
d8412221
JM
6393 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6394
695c378f
JM
6395 [BZ #15667]
6396 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6397 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6398
d1d54715
MR
63992013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6400
6401 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6402 DL_DST_REQ_STATIC.
6403 (DL_DST_REQ_STATIC): Remove macro.
6404
8fdda7af
JM
64052013-06-21 Joseph Myers <joseph@codesourcery.com>
6406
6407 [BZ #7006]
6408 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6409 with a shift of 0 bits.
6410
f3bc5e5a
MR
64112013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6412
6413 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6414 $(tststatic-ENV).
6415
be09e8c9
KK
64162013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6417
6418 [BZ #15655]
6419 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6420
85c2e611
AZ
64212013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6422
6423 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6424 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6425 accepts -fno-tree-loop-distribute-patterns.
6426 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6427 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6428 recursive call.
6429 * string/memset.c (memset): Likewise.
6430 * string/test-memmove.c (simple_memmove): Disable loop transformation
6431 to library calls.
6432 * string/test-memset.c (simple_memset): Likewise.
6433 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6434 * benchtests/bench-memset.c (simple_memset): Likewise.
6435 * configure: Regenerated.
6436
c91e0825
JM
64372013-06-20 Joseph Myers <joseph@codesourcery.com>
6438
b8c792af
JM
6439 * math/test-misc.c (main): Ignore fesetround failure when failures
6440 of subsequent rounding tests would be ignored.
6441
c91e0825
JM
6442 [BZ #15654]
6443 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6444 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6445 * math/fegetenv.c (__fegetenv): Return 0.
6446 * math/fegetexcept.c (fegetexcept): Return 0.
6447 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6448 FE_TONEAREST.
6449 * math/feholdexcpt.c (feholdexcept): Return 0.
6450 * math/fesetenv.c (__fesetenv): Return 0.
6451 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6452 argument FE_TONEAREST.
6453 * math/feupdateenv.c (__feupdateenv): Return 0.
6454 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6455
bfcacbde
RM
64562013-06-18 Roland McGrath <roland@hack.frob.com>
6457
6458 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6459 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6460 ($(objpfx)rtld-%.os rules): Use them.
6461
e55a9b25
AZ
64622013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6463
6464 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6465 fields.
6466
346d65b3
RM
64672013-06-17 Roland McGrath <roland@hack.frob.com>
6468
12086fb4
RM
6469 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6470 length of target pattern, then descending length of dependency pattern.
6471 * configure.in (AWK): Require gawk 3.1.2 or newer.
6472 * manual/install.texi (Tools for Compilation): Say that we do.
6473 * configure: Regenerated.
6474
346d65b3
RM
6475 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6476 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6477 * scripts/sysd-rules.awk: ... this new script.
6478 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6479 than a glob-style pattern.
6480
1a846317
JM
64812013-06-17 Joseph Myers <joseph@codesourcery.com>
6482
6483 * math/test-misc.c (main): Do not treat incorrectly rounded
6484 conversions as failure unless ROUNDING_TESTS passes.
6485
8fc75e6f
JM
64862013-06-15 Joseph Myers <joseph@codesourcery.com>
6487
3711a167
JM
6488 [BZ #15631]
6489 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6490 restore exception state around main square root computation, then
6491 check for inexactness explicitly.
6492
8fc75e6f
JM
6493 * math/libm-test.inc (fma_test_data): Add another test.
6494
61dd6208
SP
64952013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6496
adf23d2c
SP
6497 * manual/threads.texi (Non-POSIX Extensions): New document
6498 node. Document pthread_getattr_default_np and
6499 pthread_setattr_default_np.
6500
61dd6208
SP
6501 * Versions.def (libpthread): Add GLIBC_2.18.
6502 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6504 Likewise.
6505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6506 Likewise.
6507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6508 Likewise.
6509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6510 Likewise.
6511 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6512 Likewise.
6513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6514 Likewise.
6515 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6516 Likewise.
6517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6518 Likewise.
6519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6520 Likewise.
6521
d086fc7b
LD
65222013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6523
6524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6525 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6526
747ef469
SP
65272013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6528 H.J. Lu <hjl.tools@gmail.com>
6529
6530 [BZ #15627]
6531 * sysdeps/x86_64/rtld-memset.c: Remove file.
6532 * sysdeps/x86_64/rtld-memset.S: New file.
6533
1b2feed2
JM
65342013-06-14 Joseph Myers <joseph@codesourcery.com>
6535
6536 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6537 (test_in_one_mode): Take arguments for whether the rounding mode
6538 is supported for each floating-point type.
6539 (do_test): Pass new arguments to test_in_one_mode using
6540 ROUNDING_TESTS.
6541
a58ad3f8
RM
65422013-06-13 Roland McGrath <roland@hack.frob.com>
6543
6544 * posix/tst-waitid.c (do_test): Distinguish different instances of
6545 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6546 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6547 before entering the kernel for waitpid.
6548
c204ab28
SP
65492013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6550
6551 * NEWS: Fix note on clock function precision. Text by Roland
6552 McGrath.
6553
f4a29fba
RM
65542013-06-13 Roland McGrath <roland@hack.frob.com>
6555
6556 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6557 it into place only when and if the sanity check passes.
6558
1f24b9ad
JM
65592013-06-13 Joseph Myers <joseph@codesourcery.com>
6560
6561 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6562 output for whether conversion result is exact. Take argument
6563 indicating whether type is IBM long double.
6564 (round_for_all): Change need_exact field to ibm_ld.
6565 * stdlib/tst-strtod-round.c (struct exactness): New type.
6566 (struct test): Change bool ld_ok field to struct exactness exact.
6567 (TEST): Update all definitions for change to field.
6568 (tests): Regenerate array contents.
6569 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6570 field value. Check for IBM long double here.
6571 (do_test): Update calls to test_in_one_mode.
6572
58206c68
SP
65732013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6574
6575 [BZ #12515]
6576 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6577 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6578
2d6f4c5b 65792013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
6580
6581 [BZ #15605]
6582 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6583 generated by the compiler on loop optimizations.
6584 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6585 general definitions.
6586
94f2c076
JM
65872013-06-12 Joseph Myers <joseph@codesourcery.com>
6588
6589 * math/bug-nextafter.c: Include <math-tests.h>.
6590 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6591 the relevant type.
6592 * math/bug-nexttoward.c: Include <math-tests.h>.
6593 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6594 the relevant type.
6595 * math/test-misc.c: Include <math-tests.h>.
6596 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6597 the relevant type.
6598
e0e50a0a
AJ
65992013-06-12 Andreas Jaeger <aj@suse.de>
6600
6601 * po/ia.po: Update Interlingua translation from translation
6602 project.
6603
25061094
SP
66042013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6605
6606 * include/fenv.h: Include stdbool.h.
6607 (struct rm_ctx): New structure.
6608 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6609 Define macro.
6610 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6611 (SET_RESTORE_ROUNDF): Likewise.
6612 (SET_RESTORE_ROUNDL): Likewise.
6613 (SET_RESTORE_ROUND_NOEX): Likewise.
6614 (SET_RESTORE_ROUND_NOEXF): Likewise.
6615 (SET_RESTORE_ROUND_NOEXL): Likewise.
6616 (SET_RESTORE_ROUND_53BIT): Likewise.
6617 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6618 (libc_feresetround_noexf_ctx): Likewise.
6619 (libc_feresetround_noexl_ctx): Likewise.
6620 (libc_feholdsetround_53bit_ctx): Likewise.
6621 (libc_feresetround_53bit_ctx): Likewise.
6622 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6623 (libc_feholdexcept_setround_sse_ctx): New function.
6624 (libc_fesetenv_sse_ctx): Likewise.
6625 (libc_feupdateenv_sse_ctx): Likewise.
6626 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6627 (libc_feholdexcept_setround_387_ctx): Likewise.
6628 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
6629 (libc_feholdsetround_387_prec_ctx): Likewise.
6630 (libc_feholdsetround_387_ctx): Likewise.
6631 (libc_feholdsetround_387_53bit_ctx): Likewise.
6632 (libc_feholdsetround_sse_ctx): Likewise.
6633 (libc_feresetround_sse_ctx): Likewise.
6634 (libc_feresetround_387_ctx): Likewise.
6635 (libc_feupdateenv_387_ctx): Likewise.
6636 (libc_feholdexcept_setroundf_ctx): Define macro.
6637 (libc_fesetenvf_ctx): Likewise.
6638 (libc_feupdateenvf_ctx): Likewise.
6639 (libc_feholdsetroundf_ctx): Likewise.
6640 (libc_feresetroundf_ctx): Likewise.
6641 (libc_feholdexcept_setround_ctx): Likewise.
6642 (libc_fesetenv_ctx): Likewise.
6643 (libc_feupdateenv_ctx): Likewise.
6644 (libc_feholdsetround_ctx): Likewise.
6645 (libc_feresetround_ctx): Likewise.
6646 (libc_feholdexcept_setroundl_ctx): Likewise.
6647 (libc_feupdateenvl_ctx): Likewise.
6648 (libc_feholdsetroundl_ctx): Likewise.
6649 (libc_feresetroundl_ctx): Likewise.
6650 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
6651 (libc_feresetround_53bit_ctx): Likewise.
6652
59b30555
SP
66532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6654
6655 * locale/iso-639.def: Convert to UTF-8.
6656
f1d73d30
JM
66572013-06-11 Joseph Myers <joseph@codesourcery.com>
6658
6659 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
6660 (EXCEPTION_TESTS_double): Likewise.
6661 (EXCEPTION_TESTS_long_double): Likewise.
6662 (EXCEPTION_TESTS): Likewise.
6663 * math/libm-test.inc (test_exceptions): Only test exceptions if
6664 EXCEPTION_TESTS (FLOAT).
6665
94aca5e7
SP
66662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6667
6668 * benchtests/Makefile (string-bench): Add strcpy_chk and
6669 stpcpy_chk.
6670 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
6671 * benchtests/bench-stpcpy_chk.c: New file.
6672 * benchtests/bench-strcpy_chk-ifunc.c: New file.
6673 * benchtests/bench-strcpy_chk.c: New file.
6674 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
6675 code.
6676 (do_test): Likewise.
6677
fac0c5f2
RA
66782013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6679
6680 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
6681 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
6682 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
6683 with tabs where appropriate.
6684 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
6685 dl-procinfo.h.
6686 [PPC_PLATFORM_PPC440]: Likewise.
6687 [PPC_PLATFORM_PPC464]: Likewise.
6688 [PPC_PLATFORM_PPC476]: Likewise.
6689 (_dl_string_platform): Add support for detecting ppc405, ppc440,
6690 ppc464, and ppc476 platform strings merging from ports/
6691 dl-procinfo.h.
6692
f22bc486
AS
66932013-06-11 Andreas Schwab <schwab@suse.de>
6694
6695 [BZ #14991]
6696 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
6697 (from_ucs4_idx): Regenerate.
6698 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
6699 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
6700 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
6701 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
6702 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
6703 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
6704 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
6705 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
6706 from FROM_LOOP and TO_LOOP specific macros.
6707 (BODY): Handle combining characters.
6708 * iconvdata/BIG5HKSCS.irreversible: Update.
6709 * iconvdata/BIG5HKSCS.precomposed: New file.
6710 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
6711 characters.
6712 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
6713
c1f75dc3
SP
67142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6715
4eacded2
SP
6716 * include/sys/time.h: Fix indentation and add copyright header.
6717
fec799f8
SP
6718 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
6719 (do_test): Likewise.
6720 * string/test-memchr.c (do_one_test): Likewise.
6721 (do_test): Likewise.
6722 * string/test-memcmp.c (do_one_test): Likewise.
6723 (do_test): Likewise.
6724 * string/test-memcpy.c (do_one_test): Likewise.
6725 (do_test): Likewise.
6726 * string/test-memmem.c (do_one_test): Likewise.
6727 (do_test): Likewise.
6728 (do_random_tests): Likewise.
6729 * string/test-memmove.c (do_one_test): Likewise.
6730 (do_test): Likewise.
6731 * string/test-memset.c (do_one_test): Likewise.
6732 (do_test): Likewise.
6733 * string/test-rawmemchr.c (do_one_test): Likewise.
6734 (do_test): Likewise.
6735 * string/test-strcasecmp.c (do_one_test): Likewise.
6736 (do_test): Likewise.
6737 * string/test-strcasestr.c (do_one_test): Likewise.
6738 (do_test): Likewise.
6739 * string/test-strcat.c (do_one_test): Likewise.
6740 (do_test): Likewise.
6741 * string/test-strchr.c (do_one_test): Likewise.
6742 (do_test): Likewise.
6743 * string/test-strcmp.c (do_one_test): Likewise.
6744 (do_test): Likewise.
6745 * string/test-strcpy.c (do_one_test): Likewise.
6746 (do_test): Likewise.
6747 * string/test-string.h: Likewise.
6748 (test_init): Likewise.
6749 * string/test-strlen.c (do_one_test): Likewise.
6750 (do_test): Likewise.
6751 * string/test-strncasecmp.c (do_one_test): Likewise.
6752 (do_test): Likewise.
6753 * string/test-strncat.c (do_one_test): Likewise.
6754 (do_test): Likewise.
6755 * string/test-strncmp.c (do_one_test): Likewise.
6756 (do_test_limit): Likewise.
6757 (do_test): Likewise.
6758 * string/test-strncpy.c (do_one_test): Likewise.
6759 (do_test): Likewise.
6760 * string/test-strnlen.c (do_one_test): Likewise.
6761 (do_test): Likewise.
6762 * string/test-strpbrk.c (do_one_test): Likewise.
6763 (do_test): Likewise.
6764 * string/test-strrchr.c (do_one_test): Likewise.
6765 (do_test): Likewise.
6766 * string/test-strspn.c (do_one_test): Likewise.
6767 (do_test): Likewise.
6768 * string/test-strstr.c (do_one_test): Likewise.
6769 (do_test): Likewise.
6770
97020474
SP
6771 * benchtests/Makefile (string-bench): Add string benchmarks.
6772 * benchtests/bench-bcopy-ifunc.c: New file.
6773 * benchtests/bench-bcopy.c: New file.
6774 * benchtests/bench-bzero-ifunc.c: New file.
6775 * benchtests/bench-bzero.c: New file.
6776 * benchtests/bench-memccpy-ifunc.c: New file.
6777 * benchtests/bench-memccpy.c: New file.
6778 * benchtests/bench-memchr-ifunc.c: New file.
6779 * benchtests/bench-memchr.c: New file.
6780 * benchtests/bench-memcmp-ifunc.c: New file.
6781 * benchtests/bench-memcmp.c: New file.
6782 * benchtests/bench-memmem-ifunc.c: New file.
6783 * benchtests/bench-memmem.c: New file.
6784 * benchtests/bench-memmove-ifunc.c: New file.
6785 * benchtests/bench-memmove.c: New file.
6786 * benchtests/bench-mempcpy-ifunc.c: New file.
6787 * benchtests/bench-mempcpy.c: New file.
6788 * benchtests/bench-memset-ifunc.c: New file.
6789 * benchtests/bench-memset.c: New file.
6790 * benchtests/bench-rawmemchr-ifunc.c: New file.
6791 * benchtests/bench-rawmemchr.c: New file.
6792 * benchtests/bench-stpcpy-ifunc.c: New file.
6793 * benchtests/bench-stpcpy.c: New file.
6794 * benchtests/bench-stpncpy-ifunc.c: New file.
6795 * benchtests/bench-stpncpy.c: New file.
6796 * benchtests/bench-strcasecmp-ifunc.c: New file.
6797 * benchtests/bench-strcasecmp.c: New file.
6798 * benchtests/bench-strcasestr-ifunc.c: New file.
6799 * benchtests/bench-strcasestr.c: New file.
6800 * benchtests/bench-strcat-ifunc.c: New file.
6801 * benchtests/bench-strcat.c: New file.
6802 * benchtests/bench-strchr-ifunc.c: New file.
6803 * benchtests/bench-strchr.c: New file.
6804 * benchtests/bench-strchrnul-ifunc.c: New file.
6805 * benchtests/bench-strchrnul.c: New file.
6806 * benchtests/bench-strcmp-ifunc.c: New file.
6807 * benchtests/bench-strcmp.c: New file.
6808 * benchtests/bench-strcpy-ifunc.c: New file.
6809 * benchtests/bench-strcpy.c: New file.
6810 * benchtests/bench-strcspn-ifunc.c: New file.
6811 * benchtests/bench-strcspn.c: New file.
6812 * benchtests/bench-strlen-ifunc.c: New file.
6813 * benchtests/bench-strlen.c: New file.
6814 * benchtests/bench-strncasecmp-ifunc.c: New file.
6815 * benchtests/bench-strncasecmp.c: New file.
6816 * benchtests/bench-strncat-ifunc.c: New file.
6817 * benchtests/bench-strncat.c: New file.
6818 * benchtests/bench-strncmp-ifunc.c: New file.
6819 * benchtests/bench-strncmp.c: New file.
6820 * benchtests/bench-strncpy-ifunc.c: New file.
6821 * benchtests/bench-strncpy.c: New file.
6822 * benchtests/bench-strnlen-ifunc.c: New file.
6823 * benchtests/bench-strnlen.c: New file.
6824 * benchtests/bench-strpbrk-ifunc.c: New file.
6825 * benchtests/bench-strpbrk.c: New file.
6826 * benchtests/bench-strrchr-ifunc.c: New file.
6827 * benchtests/bench-strrchr.c: New file.
6828 * benchtests/bench-strspn-ifunc.c: New file.
6829 * benchtests/bench-strspn.c: New file.
6830 * benchtests/bench-strstr-ifunc.c: New file.
6831 * benchtests/bench-strstr.c: New file.
6832
c1f75dc3
SP
6833 * benchtests/Makefile: Disable parallel execution of targets.
6834 (string-bench): Add memcpy.
6835 (benchset): New variable to store a list of benchmark sets.
6836 (bench-func): Renamed from bench.
6837 (bench-set): New target.
6838 (bench): Depend on bench-func and bench-set.
6839 * benchtests/README: Add section on benchmark sets.
6840 * benchtests/bench-memcpy-ifunc.c: New file.
6841 * benchtests/bench-memcpy.c: New file.
6842 * benchtests/bench-string.h: New file.
6843
50fd745b
AS
68442013-06-11 Andreas Schwab <schwab@suse.de>
6845
6846 [BZ #15577]
6847 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
6848 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
6849 values in the triple.
6850 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
6851 terminator in the group key.
6852
3ee7e9fe
AJ
68532013-06-11 Andreas Jaeger <aj@suse.de>
6854
6855 * po/zh_TW.po: Update Chinese (traditional) translation from
6856 translation project.
6857
89fb6835
SP
68582013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6859
6860 * include/time.h (__clock_gettime): Add libc_hidden_proto.
6861 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
6862 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
6863 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
6864 (clock_getcpuclockid): Likewise.
6865 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
6866 Add weak_alias and libc_hidden_def.
6867 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
6868 * rt/clock_gettime.c (clock_gettime): Rename to
6869 __clock_gettime. Add weak_alias and libc_hidden_def.
6870 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
6871 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
6872 __clock_nanosleep. Add weak_alias and libc_hidden_def.
6873 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
6874 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
6875 Likewise.
6876 * rt/clock_settime.c (clock_settime): Rename to
6877 __clock_settime. Add weak_alias and libc_hidden_def.
6878 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
6879
0efa6f8b
JM
68802013-06-10 Joseph Myers <joseph@codesourcery.com>
6881
b8c61b4b
JM
6882 * mach/err_boot.sub: Remove trailing whitespace.
6883 * mach/err_ipc.sub: Likewise.
6884 * mach/err_mach.sub: Likewise.
6885
0efa6f8b
JM
6886 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
6887 (ROUNDING_TESTS_double): Likewise.
6888 (ROUNDING_TESTS_long_double): Likewise.
6889 (ROUNDING_TESTS): Likewise.
6890 * math/libm-test.inc: Include <math-tests.h>.
6891 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
6892 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6893 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6894 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6895
50b818bf
SP
68962013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6897
6898 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
6899 of assigning.
6900
60d2f8f3
JM
69012013-06-08 Joseph Myers <joseph@codesourcery.com>
6902
4902d2c3
JM
6903 * sysdeps/gnu/errlist.awk: Do not generate space at end of
6904 otherwise empty TRANS lines.
6905 * sysdeps/gnu/errlist.c: Regenerated.
6906
60d2f8f3
JM
6907 * catgets/gencat.c (error_print): Use (void) in function
6908 definition.
6909 * crypt/crypt_util.c (__init_des): Likewise.
6910 * crypt/speeds.c (Stop): Likewise.
6911 (main): Likewise.
6912 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
6913 * inet/ruserpass.c (token): Likewise.
6914 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
6915 * intl/localealias.c (extend_alias_table): Likewise.
6916 * intl/plural-exp.c (init_germanic_plural): Likewise.
6917 * libio/fcloseall.c (__fcloseall): Likewise.
6918 * libio/genops.c (_IO_flush_all): Likewise.
6919 (_IO_flush_all_linebuffered): Likewise.
6920 (_IO_cleanup): Likewise.
6921 (_IO_iter_begin): Likewise.
6922 (_IO_iter_end): Likewise.
6923 (_IO_list_lock): Likewise.
6924 (_IO_list_unlock): Likewise.
6925 (_IO_list_resetlock): Likewise.
6926 * libio/getchar.c (getchar): Likewise.
6927 * libio/getchar_u.c (getchar_unlocked): Likewise.
6928 * libio/getwchar.c (getwchar): Likewise.
6929 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
6930 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
6931 * login/getpt.c (__getpt): Likewise.
6932 * login/tst-utmp.c (main): Likewise.
6933 * malloc/hooks.c (__malloc_check_init): Likewise.
6934 * malloc/malloc.c (__malloc_stats): Likewise.
6935 * malloc/mtrace.c (tr_break): Likewise.
6936 (mtrace): Likewise.
6937 (muntrace): Likewise.
6938 * misc/fstab.c (endfsent): Likewise.
6939 * misc/getclktck.c (__getclktck): Likewise.
6940 * misc/getdtsz.c (__getdtablesize): Likewise.
6941 * misc/gethostid.c (gethostid): Likewise.
6942 * misc/getpagesize.c (__getpagesize): Likewise.
6943 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
6944 (__get_nprocs): Likewise.
6945 (__get_phys_pages): Likewise.
6946 (__get_avphys_pages): Likewise.
6947 * misc/getttyent.c (getttyent): Likewise.
6948 (setttyent): Likewise.
6949 (endttyent): Likewise.
6950 * misc/getusershell.c (getusershell): Likewise.
6951 (endusershell): Likewise.
6952 (setusershell): Likewise.
6953 (initshells): Likewise.
6954 * misc/hsearch.c (__hdestroy): Likewise.
6955 * misc/sync.c (sync): Likewise.
6956 * misc/syslog.c (closelog_internal): Likewise.
6957 (closelog): Likewise.
6958 * misc/ttyslot.c (ttyslot): Likewise.
6959 * misc/vhangup.c (vhangup): Likewise.
6960 * posix/fork.c (__fork): Likewise.
6961 * posix/getegid.c (__getegid): Likewise.
6962 * posix/geteuid.c (__geteuid): Likewise.
6963 * posix/getgid.c (__getgid): Likewise.
6964 * posix/getpid.c (__getpid): Likewise.
6965 * posix/getppid.c (__getppid): Likewise.
6966 * posix/getuid.c (__getuid): Likewise.
6967 * posix/pause.c (pause): Likewise.
6968 * posix/setpgrp.c (setpgrp): Likewise.
6969 * posix/setsid.c (__setsid): Likewise.
6970 * posix/test-vfork.c (noop): Likewise.
6971 * resolv/gethnamaddr.c (_endhtent): Likewise.
6972 (_gethtent): Likewise.
6973 (ht_endhostent): Likewise.
6974 (gethostent): Likewise.
6975 (dns_service): Likewise.
6976 * stdlib/drand48.c (drand48): Likewise.
6977 * stdlib/lrand48.c (lrand48): Likewise.
6978 * stdlib/mrand48.c (mrand48): Likewise.
6979 * stdlib/rand.c (rand): Likewise.
6980 * stdlib/random.c (__random): Likewise.
6981 * stdlib/setenv.c (clearenv): Likewise.
6982 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
6983 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
6984 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
6985 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
6986 (__get_nprocs): Likewise.
6987 (__get_phys_pages): Likewise.
6988 (__get_avphys_pages): Likewise.
6989 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
6990 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
6991 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
6992 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
6993 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
6994 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
6995 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
6996 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
6997 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
6998 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
6999 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7000 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7001 * sysdeps/posix/clock.c (clock): Likewise.
7002 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7003 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7004 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7005 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7006 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7007 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7008 (__get_nprocs_conf): Likewise.
7009 (__get_phys_pages): Likewise.
7010 (__get_avphys_pages): Likewise.
7011 * time/clock.c (clock): Likewise.
7012 * time/tzset.c (__tzname_max): Likewise.
7013
2e09a79a
JM
70142013-06-07 Joseph Myers <joseph@codesourcery.com>
7015
7016 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7017 (__bswap_32): Do not use "register".
7018 * crypt/crypt.c (_ufc_doit_r): Likewise.
7019 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7020 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7021 * gmon/gmon.c (__monstartup): Likewise.
7022 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7023 * hurd/hurdmalloc.c (more_memory): Likewise.
7024 (malloc): Likewise.
7025 (free): Likewise.
7026 (realloc): Likewise.
7027 (malloc_fork_prepare): Likewise.
7028 (malloc_fork_parent): Likewise.
7029 (malloc_fork_child): Likewise.
7030 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7031 (_svcauth_des): Likewise.
7032 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7033 * inet/inet_net.c (inet_network): Likewise.
7034 * inet/inet_netof.c (inet_netof): Likewise.
7035 * inet/rcmd.c (__validuser2_sa): Likewise.
7036 * io/fts.c (fts_open): Likewise.
7037 (fts_load): Likewise.
7038 (fts_close): Likewise.
7039 (fts_read): Likewise.
7040 (fts_children): Likewise.
7041 (fts_build): Likewise.
7042 (fts_stat): Likewise.
7043 (fts_sort): Likewise.
7044 (fts_alloc): Likewise.
7045 (fts_lfree): Likewise.
7046 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7047 (_IO_file_xsgetn): Likewise.
7048 (_IO_file_xsgetn_mmap): Likewise.
7049 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7050 (_IO_cookie_write): Likewise.
7051 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7052 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7053 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7054 * malloc/obstack.c (_obstack_begin): Likewise.
7055 (_obstack_begin_1): Likewise.
7056 (_obstack_newchunk): Likewise.
7057 (_obstack_allocated_p): Likewise.
7058 (obstack_free): Likewise.
7059 (_obstack_memory_used): Likewise.
7060 * misc/getttyent.c (getttynam): Likewise.
7061 (getttyent): Likewise.
7062 (skip): Likewise.
7063 (value): Likewise.
7064 * misc/getusershell.c (initshells): Likewise.
7065 * misc/syslog.c (__vsyslog_chk): Likewise.
7066 * misc/ttyslot.c (ttyslot): Likewise.
7067 * nis/nis_hash.c (__nis_hash): Likewise.
7068 * posix/fnmatch_loop.c (FCT): Likewise.
7069 * posix/getconf.c (print_all): Likewise.
7070 (main): Likewise.
7071 * posix/getopt.c (exchange): Likewise.
7072 * posix/glob.c (globfree): Likewise.
7073 (prefix_array): Likewise.
7074 (__glob_pattern_type): Likewise.
7075 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7076 (NS_GET32): Likewise.
7077 (NS_PUT16): Likewise.
7078 (NS_PUT32): Likewise.
7079 * resolv/gethnamaddr.c (getanswer): Likewise.
7080 (gethostbyname2): Likewise.
7081 (gethostbyaddr): Likewise.
7082 (_gethtent): Likewise.
7083 (_gethtbyname2): Likewise.
7084 (_gethtbyaddr): Likewise.
7085 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7086 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7087 * resolv/res_init.c (__res_vinit): Likewise.
7088 (net_mask): Likewise.
7089 * resolv/res_mkquery.c (outchar): Likewise.
7090 (PRINT): Likewise.
7091 * stdio-common/printf_fp.c (outchar): Likewise.
7092 (PRINT): Likewise.
7093 * stdio-common/printf_fphex.c (outchar): Likewise.
7094 (PRINT): Likewise.
7095 * stdio-common/printf_size.c (outchar): Likewise.
7096 (PRINT): Likewise.
7097 * stdio-common/test_rdwr.c (main): Likewise.
7098 * stdio-common/tfformat.c (matches): Likewise.
7099 * stdio-common/vfprintf.c (outchar): Likewise.
7100 (printf_unknown): Likewise.
7101 (buffered_vfprintf): Likewise.
7102 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7103 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7104 (ReadFile): Likewise.
7105 * stdlib/qsort.c (SWAP): Likewise.
7106 (_quicksort): Likewise.
7107 * stdlib/setenv.c (__add_to_environ): Likewise.
7108 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7109 * stdlib/strtol_l.c (__strtol_l): Likewise.
7110 * stdlib/tst-strtod.c (main): Likewise.
7111 * stdlib/tst-strtol.c (main): Likewise.
7112 * stdlib/tst-strtoll.c (main): Likewise.
7113 * string/bits/string2.h (__strcmp_cc): Likewise.
7114 (__strcmp_cg): Likewise.
7115 (__strcspn_c1): Likewise.
7116 (__strcspn_c2): Likewise.
7117 (__strcspn_c3): Likewise.
7118 (__strspn_c1): Likewise.
7119 (__strspn_c2): Likewise.
7120 (__strspn_c3): Likewise.
7121 (__strsep_1c): Likewise.
7122 (__strsep_2c): Likewise.
7123 (__strsep_3c): Likewise.
7124 * string/memccpy.c (__memccpy): Likewise.
7125 * string/stpcpy.c (__stpcpy): Likewise.
7126 * string/strcmp.c (strcmp): Likewise.
7127 * string/strrchr.c (strrchr): Likewise.
7128 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7129 Likewise.
7130 * sysdeps/mach/hurd/getcwd.c
7131 (_hurd_canonicalize_directory_name_internal): Likewise.
7132 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7133 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7134 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7135 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7136 Likewise, in both definitions.
7137 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7138 definitions.
7139 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7140 64] (__bswap_64): Likewise.
7141 * time/test_time.c (main): Likewise.
7142 * time/tzfile.c (__tzfile_read): Likewise.
7143 (__tzfile_compute): Likewise.
7144 * time/tzset.c (__tzset_parse_tz): Likewise.
7145 (tzset_internal): Likewise.
7146 (compute_change): Likewise.
7147 * wcsmbs/wcscat.c (__wcscat): Likewise.
7148 * wcsmbs/wcschr.c (wcschr): Likewise.
7149 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7150 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7151 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7152 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7153 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7154 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7155 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7156 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7157 * wcsmbs/wmemset.c (wmemset): Likewise.
7158
9e54314b
JM
71592013-06-06 Joseph Myers <joseph@codesourcery.com>
7160
7161 * scripts/config.guess: Update to version 2013-05-16.
7162 * scripts/config.sub: Update to version 2013-04-24.
7163 * scripts/install-sh: Update to version 2011-11-20.07.
7164 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7165 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7166
350635a5
OB
71672013-06-06 Ondřej Bílka <neleai@seznam.cz>
7168
7169 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7170 * elf/sln.c: Likewise.
7171 * hurd/hurd/ioctl.h: Likewise.
7172 * hurd/hurdmalloc.c: Likewise.
7173 * hurd/xattr.c: Likewise.
7174 * include/shlib-compat.h: Likewise.
7175 * inet/ruserpass.c: Likewise.
7176 * libio/iofgets_u.c: Likewise.
7177 * libio/iofgetws_u.c: Likewise.
7178 * locale/programs/ld-identification.c: Likewise.
7179 * locale/programs/ld-time.c: Likewise.
7180 * mach/msg-destroy.c: Likewise.
7181 * nss/nss_files/files-netgrp.c: Likewise.
7182 * resolv/res_data.c: Likewise.
7183 * soft-fp/op-1.h: Likewise.
7184 * soft-fp/op-2.h: Likewise.
7185 * soft-fp/op-4.h: Likewise.
7186 * soft-fp/op-common.h: Likewise.
7187 * stdio-common/printf_fphex.c: Likewise.
7188 * stdlib/strtod_l.c: Likewise.
7189 * sunrpc/rpc/clnt.h: Likewise.
7190 * sysdeps/generic/framestate.c: Likewise.
7191 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7192 * sysdeps/i386/bsd-setjmp.S: Likewise.
7193 * sysdeps/i386/__longjmp.S: Likewise.
7194 * sysdeps/i386/setjmp.S: Likewise.
7195 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7196 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7197 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7198 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7199 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7200 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7201 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7202 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7203 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7204 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7205 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7206 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7207 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7208 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7209 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7210 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7211 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7212 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7213 * sysdeps/ieee754/support.c: Likewise.
7214 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7215 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7216 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7217 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7218 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7219 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7220 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7221 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7222 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7223 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7224 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7225 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7226 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7227 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7228 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7229 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7230 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7232
44a988af
OB
72332013-06-05 Ondřej Bílka <neleai@seznam.cz>
7234
25506f09 7235 * posix/transbug.c: Remove executable mode.
44a988af 7236
9c84384c
JM
72372013-06-05 Joseph Myers <joseph@codesourcery.com>
7238
7239 * crypt/speeds.c: Remove trailing whitespace.
7240 * dlfcn/default.c: Likewise.
7241 * elf/ifuncdep2.c: Likewise.
7242 * elf/ifuncmain1.c: Likewise.
7243 * elf/ifuncmain1vis.c: Likewise.
7244 * elf/testobj.h: Likewise.
7245 * elf/tst-stackguard1.c: Likewise.
7246 * gmon/sys/gmon.h: Likewise.
7247 * hurd/hurdmsg.c: Likewise.
7248 * hurd/new-fd.c: Likewise.
7249 * hurd/ports-get.c: Likewise.
7250 * iconvdata/ibm1008_420.c: Likewise.
7251 * inet/tst-getni1.c: Likewise.
7252 * inet/tst-getni2.c: Likewise.
7253 * libio/ioungetc.c: Likewise.
7254 * libio/wfiledoalloc.c: Likewise.
7255 * manual/libm-err-tab.pl: Likewise.
7256 * math/w_dremf.c: Likewise.
7257 * misc/ftruncate.c: Likewise.
7258 * posix/bug-glob2.c: Likewise.
7259 * posix/tst-pcre.c: Likewise.
7260 * posix/wait4.c: Likewise.
7261 * resolv/README: Likewise.
7262 * resolv/res_debug.h: Likewise.
7263 * resolv/tst-inet_ntop.c: Likewise.
7264 * setjmp/bug269-setjmp.c: Likewise.
7265 * soft-fp/extended.h: Likewise.
7266 * soft-fp/op-1.h: Likewise.
7267 * soft-fp/op-2.h: Likewise.
7268 * soft-fp/op-4.h: Likewise.
7269 * soft-fp/op-8.h: Likewise.
7270 * soft-fp/testit.c: Likewise.
7271 * stdio-common/bug16.c: Likewise.
7272 * stdlib/random.c: Likewise.
7273 * sunrpc/rpcsvc/rquota.x: Likewise.
7274 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7275 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7276 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7277 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7278 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7279 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7280 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7281 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7282 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7283 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7284 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7301 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7302 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7303 * sysdeps/ieee754/s_lib_version.c: Likewise.
7304 * sysdeps/mach/hurd/check_fds.c: Likewise.
7305 * sysdeps/mach/hurd/getsockname.c: Likewise.
7306 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7307 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7308 * sysdeps/powerpc/bits/link.h: Likewise.
7309 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7310 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7311 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7312 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7313 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7314 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7315 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7316 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7317 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7318 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7319 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7320 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7321 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7322 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7323 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7324 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7325 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7326 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7327 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7328 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7329 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7330 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7331 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7332 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7333 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7334 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7335 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7336 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7337 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7338 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7339 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7340 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7341 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7342 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7343 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7344 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7345 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7346 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7347 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7348 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7349 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7350 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7351 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7352 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7353 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7354 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7355 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7356 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7357 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7358 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7360 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7361 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7362 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7363 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7364 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7365 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7366 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7367 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7368 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7369 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7370 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7371 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7372 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7373 * sysdeps/powerpc/sysdep.h: Likewise.
7374 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7375 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7376 * sysdeps/sh/dl-trampoline.S: Likewise.
7377 * sysdeps/sh/memset.S: Likewise.
7378 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7379 * sysdeps/sh/strlen.S: Likewise.
7380 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7381 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7382 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7383 * sysdeps/sparc/sparc32/rem.S: Likewise.
7384 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7385 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7386 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7387 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7388 * sysdeps/sparc/sparc32/urem.S: Likewise.
7389 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7390 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7391 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7392 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7393 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7394 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7395 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7396 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7397 * sysdeps/unix/bsd/times.c: Likewise.
7398 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7399 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7403 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7404 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7405 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7406 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7407 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7408 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7409 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7410 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7411 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7412 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7413 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7414 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7415 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7416 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7417 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7418 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7419 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7420 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7421 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7422 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7423 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7424 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7425 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7426 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7427 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7428 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7429 * sysdeps/x86_64/strcspn.S: Likewise.
7430
869378a5
RA
74312013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7432
7433 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7434 generated file. Regenerate properly from gen-translit.pl.
7435 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7436 locale/C-translit.h.
7437
840e2943
AS
74382013-06-05 Andreas Schwab <schwab@suse.de>
7439
7440 [BZ #15100]
7441 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7442 week as 6 instead of -1.
7443 * time/tst-strptime.c (day_tests): Add test case.
7444
4c60cb0c
SP
74452013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7446
7447 * sysdeps/generic/math_private.h
7448 (libc_feholdexcept_setround_53bit): Replace with
7449 libc_feholdsetround_53bit.
7450 (libc_feupdateenv_53bit): Replace with
7451 libc_feresetround_53bit.
7452 (SET_RESTORE_ROUND_53BIT): Adjust.
7453
d180203e
SP
74542013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7455
96df079a
SP
7456 * string/test-strchrnul.c: Add copyright header.
7457
d180203e
SP
7458 * posix/tst-getaddrinfo4.c: Increase test timeout.
7459
8b0ccb2d
CD
74602013-06-03 Carlos O'Donell <carlos@redhat.com>
7461
7462 [BZ #15536]
7463 * math/libm-test.inc (MAX_EXP): Remove
7464 (MIN_EXP): Define.
7465 (ulp): Use MIN_EXP - MANT_DIG.
7466 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7467
3b3c4d40
CD
74682013-05-31 Carlos O'Donell <carlos@redhat.com>
7469
7470 * po/be.po: Revert last change.
7471 * po/zh_CN.po: Likewise.
7472 * po/header.pot: Likewise.
7473
fab7ce3f
JM
74742013-05-31 Joseph Myers <joseph@codesourcery.com>
7475
7476 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7477 link-libc-deps to empty as target-specific variable.
7478 * Makerules (link-libc-args): New variable.
7479 (libc-for-link): Likewise.
7480 (link-libc-deps): Likewise.
7481 (lib%.so): Depend on $(link-libc-deps). Link with
7482 $(link-libc-args).
7483 (build-module): Link with $(link-libc-args).
7484 (build-module-asneeded): Likewise.
7485 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7486 list of objects.
7487 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7488 target-specific variable.
7489 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7490 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7491 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7492 libc.
7493 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7494 libc and ld.so.
7495 ($(objpfx)libpcprofile.so): Likewise.
7496 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7497 libc_nonshared.a.
7498 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7499 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7500 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7501 $(link-libc-deps).
7502 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7503 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7504 * login/Makefile ($(objpfx)libutil.so): Likewise.
7505 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7506 * math/Makefile ($(objpfx)libm.so): Likewise.
7507 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7508 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7509 variable instead of depending directly on libc.
7510 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7511 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7512 $(link-libc-deps).
7513 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7514 libc.
7515 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7516 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7517 ($(objpfx)libanl.so): Likewise.
7518 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7519 ld.so.
7520 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7521 $(link-libc-deps).
7522 * sysdeps/i386/fpu/Makefile: Remove file.
7523 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7524 ($(objpfx)libm.so): Remove dependency on ld.so.
7525
eca5920c
PF
75262013-05-30 Patsy Franklin <pfrankli@redhat.com>
7527
7528 [BZ # 15553]
7529 * nis/yp_xdr.c (XDRMAXNAME): Define.
7530 (XDRMAXRECORD): Define.
7531 (xdr_domainname): Use XDRMAXNAME.
7532 (xdr_mapname): Likewise.
7533 (xdr_peername): Likewise.
7534 (xdr_keydat): Use XDRMAXRECORD.
7535 (xdr_valdat): Likewise.
7536
75372013-05-30 Jeff Law <law@redhat.com>
96945714
JL
7538
7539 [BZ #14256]
7540 * manual/errno.texi (ESTALE): Update to account for more than
7541 just NFS file systems.
7542 * sysdeps/gnu/errlist.c: Regenerated.
7543
b9375348
SP
75442013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7545
7546 [BZ #15465]
7547 * elf/Makefile (tests): Add tst-null-argv.
7548 (modules-names): Add tst-null-argv-lib.
7549 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7550 (tst-null-argv-ENV): Set environment for tst-null-argv.
7551 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7552 (RTLD_PROGNAME): New macro.
7553 * elf/tst-null-argv.c: New test case.
7554 * elf/tst-null-argv-lib.c: Library for test case.
7555 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7556 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7557 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7558 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7559 * elf/dl-init.c (call_init): Likewise.
7560 (_dl_init): Likewise.
7561 * elf/dl-load.c (print_search_path): Likewise.
7562 (_dl_map_object): Likewise.
7563 * elf/dl-lookup.c (do_lookup_x): Likewise.
7564 (add_dependency): Likewise.
7565 (_dl_lookup_symbol_x): Likewise.
7566 (_dl_debug_bindings): Likewise.
7567 * elf/dl-open.c (_dl_show_scope): Likewise.
7568 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7569 * elf/dl-version.c (match_symbol): Likewise.
7570 (_dl_check_map_versions): Likewise.
7571 * elf/rtld.c (dl_main): Likewise.
7572 (print_unresolved): Use RTLD_PROGNAME.
7573 (print_missing_version): Likewise.
7574 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7575 (elf_machine_rela): Likewise.
7576 * sysdeps/powerpc/powerpc32/dl-machine.c
7577 (__process_machine_rela): Likewise.
7578 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7579 Likewise.
7580 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7581 Likewise.
7582 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7583 Likewise.
7584 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7586 Likewise.
7587 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7588 Likewise.
7589 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7590
8a9f20c8
CD
75912013-05-28 Carlos O'Donell <carlos@redhat.com>
7592
7593 * po/be.po: Add descriptive title.
7594 * po/zh_CN.po: Likewise.
7595 * po/header.pot: Likewise.
7596
0e60d68e
MF
75972013-05-28 Mike Frysinger <vapier@gentoo.org>
7598
7599 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7600 error message.
7601 (enlarge_archive): Likewise.
7602
56b672e9
BN
76032013-05-28 Ben North <ben@redfrontdoor.org>
7604
7605 * manual/arith.texi (frexp): It is the magnitude of the return
7606 value which lies in [0.5, 1), not the return value itself.
7607
5e056687
AZ
76082013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7609
7610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7611
2b66ef5d
TS
76122013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7613
528c2405
TS
7614 * stdio-common/bug26.c (main): Correct fscanf template.
7615
07b4c13d
TS
7616 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7617 declare _dl_skip_args.
7618
ec9dd97c
TS
7619 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7620 Don't declare.
7621
2b66ef5d
TS
7622 * manual/platform.texi: Add missing @end deftypefun.
7623
4f8dfe27
JM
76242013-05-24 Joseph Myers <joseph@codesourcery.com>
7625
0323d086
JM
7626 [BZ #15529]
7627 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7628 bit of mantissa of 2^16382.
7629 * math/libm-test.inc (hypot_test_data): Add more tests.
7630
dd4259b9
JM
7631 * math/libm-test.inc: Add drem and pow10 to list of tested
7632 functions.
7633 (pow10_test): New function.
7634 (drem_test): Likewise.
7635 (drem_test_tonearest): Likewise.
7636 (drem_test_towardzero): Likewise.
7637 (drem_test_downward): Likewise.
7638 (drem_test_upward): Likewise.
7639 (main): Call the new functions.
7640
4f8dfe27
JM
7641 * math/libm-test.inc (finite_test_data): Remove.
7642 (finite_test): Run tests from isfinite_test_data.
7643 (gamma_test_data): Remove.
7644 (gamma_test): Run tests from lgamma_test_data.
7645 * sysdeps/i386/fpu/libm-test-ulps: Update.
7646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7647
d116b7c4
AZ
76482013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7649
7650 * manual/platform.texi: Add PowerPC PPR function set documentation.
7651 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
7652 implementation.
7653
e96e3767
CD
76542013-05-24 Carlos O'Donell <carlos@redhat.com>
7655
7656 * math/libm-test.inc (MAX_EXP): Define.
7657 (ULPDIFF): Define.
7658 (ulp): New function.
7659 (check_float_internal): Use ULPDIFF.
7660 (cpow_test): Disable failing test.
7661 (check_ulp): Test ulp() implemetnation.
7662 (main): Call check_ulp before starting tests.
7663
b679a606
JM
76642013-05-24 Joseph Myers <joseph@codesourcery.com>
7665
e8bdba36
JM
7666 * math/gen-libm-test.pl (generate_testfile): Do not handle
7667 START_DATA and END_DATA.
7668 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
7669 END_DATA.
7670 (acos_tonearest_test_data): Likewise.
7671 (acos_towardzero_test_data): Likewise.
7672 (acos_downward_test_data): Likewise.
7673 (acos_upward_test_data): Likewise.
7674 (acosh_test_data): Likewise.
7675 (asin_test_data): Likewise.
7676 (asin_tonearest_test_data): Likewise.
7677 (asin_towardzero_test_data): Likewise.
7678 (asin_downward_test_data): Likewise.
7679 (asin_upward_test_data): Likewise.
7680 (asinh_test_data): Likewise.
7681 (atan_test_data): Likewise.
7682 (atanh_test_data): Likewise.
7683 (atan2_test_data): Likewise.
7684 (cabs_test_data): Likewise.
7685 (cacos_test_data): Likewise.
7686 (cacosh_test_data): Likewise.
7687 (carg_test_data): Likewise.
7688 (casin_test_data): Likewise.
7689 (casinh_test_data): Likewise.
7690 (catan_test_data): Likewise.
7691 (catanh_test_data): Likewise.
7692 (cbrt_test_data): Likewise.
7693 (ccos_test_data): Likewise.
7694 (ccosh_test_data): Likewise.
7695 (ceil_test_data): Likewise.
7696 (cexp_test_data): Likewise.
7697 (cimag_test_data): Likewise.
7698 (clog_test_data): Likewise.
7699 (clog10_test_data): Likewise.
7700 (conj_test_data): Likewise.
7701 (copysign_test_data): Likewise.
7702 (cos_test_data): Likewise.
7703 (cos_tonearest_test_data): Likewise.
7704 (cos_towardzero_test_data): Likewise.
7705 (cos_downward_test_data): Likewise.
7706 (cos_upward_test_data): Likewise.
7707 (cosh_test_data): Likewise.
7708 (cosh_tonearest_test_data): Likewise.
7709 (cosh_towardzero_test_data): Likewise.
7710 (cosh_downward_test_data): Likewise.
7711 (cosh_upward_test_data): Likewise.
7712 (cpow_test_data): Likewise.
7713 (cproj_test_data): Likewise.
7714 (creal_test_data): Likewise.
7715 (csin_test_data): Likewise.
7716 (csinh_test_data): Likewise.
7717 (csqrt_test_data): Likewise.
7718 (ctan_test_data): Likewise.
7719 (ctan_tonearest_test_data): Likewise.
7720 (ctan_towardzero_test_data): Likewise.
7721 (ctan_downward_test_data): Likewise.
7722 (ctan_upward_test_data): Likewise.
7723 (ctanh_test_data): Likewise.
7724 (ctanh_tonearest_test_data): Likewise.
7725 (ctanh_towardzero_test_data): Likewise.
7726 (ctanh_downward_test_data): Likewise.
7727 (ctanh_upward_test_data): Likewise.
7728 (erf_test_data): Likewise.
7729 (erfc_test_data): Likewise.
7730 (exp_test_data): Likewise.
7731 (exp_tonearest_test_data): Likewise.
7732 (exp_towardzero_test_data): Likewise.
7733 (exp_downward_test_data): Likewise.
7734 (exp_upward_test_data): Likewise.
7735 (exp10_test_data): Likewise.
7736 (exp2_test_data): Likewise.
7737 (expm1_test_data): Likewise.
7738 (fabs_test_data): Likewise.
7739 (fdim_test_data): Likewise.
7740 (finite_test_data): Likewise.
7741 (floor_test_data): Likewise.
7742 (fma_test_data): Likewise.
7743 (fma_towardzero_test_data): Likewise.
7744 (fma_downward_test_data): Likewise.
7745 (fma_upward_test_data): Likewise.
7746 (fmax_test_data): Likewise.
7747 (fmin_test_data): Likewise.
7748 (fmod_test_data): Likewise.
7749 (fpclassify_test_data): Likewise.
7750 (frexp_test_data): Likewise.
7751 (gamma_test_data): Likewise.
7752 (hypot_test_data): Likewise.
7753 (ilogb_test_data): Likewise.
7754 (isfinite_test_data): Likewise.
7755 (isgreater_test_data): Likewise.
7756 (isgreaterequal_test_data): Likewise.
7757 (isinf_test_data): Likewise.
7758 (isless_test_data): Likewise.
7759 (islessequal_test_data): Likewise.
7760 (islessgreater_test_data): Likewise.
7761 (isnan_test_data): Likewise.
7762 (isnormal_test_data): Likewise.
7763 (issignaling_test_data): Likewise.
7764 (isunordered_test_data): Likewise.
7765 (j0_test_data): Likewise.
7766 (j1_test_data): Likewise.
7767 (jn_test_data): Likewise.
7768 (ldexp_test_data): Likewise.
7769 (lgamma_test_data): Likewise.
7770 (lrint_test_data): Likewise.
7771 (lrint_tonearest_test_data): Likewise.
7772 (lrint_towardzero_test_data): Likewise.
7773 (lrint_downward_test_data): Likewise.
7774 (lrint_upward_test_data): Likewise.
7775 (llrint_test_data): Likewise.
7776 (llrint_tonearest_test_data): Likewise.
7777 (llrint_towardzero_test_data): Likewise.
7778 (llrint_downward_test_data): Likewise.
7779 (llrint_upward_test_data): Likewise.
7780 (log_test_data): Likewise.
7781 (log10_test_data): Likewise.
7782 (log1p_test_data): Likewise.
7783 (log2_test_data): Likewise.
7784 (logb_test_data): Likewise.
7785 (logb_downward_test_data): Likewise.
7786 (lround_test_data): Likewise.
7787 (llround_test_data): Likewise.
7788 (modf_test_data): Likewise.
7789 (nearbyint_test_data): Likewise.
7790 (nextafter_test_data): Likewise.
7791 (nexttoward_test_data): Likewise.
7792 (pow_test_data): Likewise.
7793 (pow_tonearest_test_data): Likewise.
7794 (pow_towardzero_test_data): Likewise.
7795 (pow_downward_test_data): Likewise.
7796 (pow_upward_test_data): Likewise.
7797 (remainder_test_data): Likewise.
7798 (remainder_tonearest_test_data): Likewise.
7799 (remainder_towardzero_test_data): Likewise.
7800 (remainder_downward_test_data): Likewise.
7801 (remainder_upward_test_data): Likewise.
7802 (remquo_test_data): Likewise.
7803 (rint_test_data): Likewise.
7804 (rint_tonearest_test_data): Likewise.
7805 (rint_towardzero_test_data): Likewise.
7806 (rint_downward_test_data): Likewise.
7807 (rint_upward_test_data): Likewise.
7808 (round_test_data): Likewise.
7809 (scalb_test_data): Likewise.
7810 (scalbn_test_data): Likewise.
7811 (scalbln_test_data): Likewise.
7812 (signbit_test_data): Likewise.
7813 (sin_test_data): Likewise.
7814 (sin_tonearest_test_data): Likewise.
7815 (sin_towardzero_test_data): Likewise.
7816 (sin_downward_test_data): Likewise.
7817 (sin_upward_test_data): Likewise.
7818 (sincos_test_data): Likewise.
7819 (sinh_test_data): Likewise.
7820 (sinh_tonearest_test_data): Likewise.
7821 (sinh_towardzero_test_data): Likewise.
7822 (sinh_downward_test_data): Likewise.
7823 (sinh_upward_test_data): Likewise.
7824 (sqrt_test_data): Likewise.
7825 (tan_test_data): Likewise.
7826 (tan_tonearest_test_data): Likewise.
7827 (tan_towardzero_test_data): Likewise.
7828 (tan_downward_test_data): Likewise.
7829 (tan_upward_test_data): Likewise.
7830 (tanh_test_data): Likewise.
7831 (tgamma_test_data): Likewise.
7832 (trunc_test_data): Likewise.
7833 (y0_test_data): Likewise.
7834 (y1_test_data): Likewise.
7835 (yn_test_data): Likewise.
7836 (significand_test_data): Likewise.
7837
b679a606
JM
7838 * math/gen-libm-test.pl (@functions): Remove variable.
7839 (generate_testfile): Don't handle START and END lines.
7840 * math/libm-test.inc (START): New macro.
7841 (END): Likewise.
7842 (END_COMPLEX): Likewise.
7843 (acos_test): Use END macro without arguments.
7844 (acos_test_tonearest): Likewise.
7845 (acos_test_towardzero): Likewise.
7846 (acos_test_downward): Likewise.
7847 (acos_test_upward): Likewise.
7848 (acosh_test): Likewise.
7849 (asin_test): Likewise.
7850 (asin_test_tonearest): Likewise.
7851 (asin_test_towardzero): Likewise.
7852 (asin_test_downward): Likewise.
7853 (asin_test_upward): Likewise.
7854 (asinh_test): Likewise.
7855 (atan_test): Likewise.
7856 (atanh_test): Likewise.
7857 (atan2_test): Likewise.
7858 (cabs_test): Likewise.
7859 (cacos_test): Use END_COMPLEX macro without arguments.
7860 (cacosh_test): Likewise.
7861 (carg_test): Use END macro without arguments.
7862 (casin_test): Use END_COMPLEX macro without arguments.
7863 (casinh_test): Likewise.
7864 (catan_test): Likewise.
7865 (catanh_test): Likewise.
7866 (cbrt_test): Use END macro without arguments.
7867 (ccos_test): Use END_COMPLEX macro without arguments.
7868 (ccosh_test): Likewise.
7869 (ceil_test): Use END macro without arguments.
7870 (cexp_test): Use END_COMPLEX macro without arguments.
7871 (cimag_test): Use END macro without arguments.
7872 (clog_test): Use END_COMPLEX macro without arguments.
7873 (clog10_test): Likewise.
7874 (conj_test): Likewise.
7875 (copysign_test): Use END macro without arguments.
7876 (cos_test): Likewise.
7877 (cos_test_tonearest): Likewise.
7878 (cos_test_towardzero): Likewise.
7879 (cos_test_downward): Likewise.
7880 (cos_test_upward): Likewise.
7881 (cosh_test): Likewise.
7882 (cosh_test_tonearest): Likewise.
7883 (cosh_test_towardzero): Likewise.
7884 (cosh_test_downward): Likewise.
7885 (cosh_test_upward): Likewise.
7886 (cpow_test): Use END_COMPLEX macro without arguments.
7887 (cproj_test): Likewise.
7888 (creal_test): Use END macro without arguments.
7889 (csin_test): Use END_COMPLEX macro without arguments.
7890 (csinh_test): Likewise.
7891 (csqrt_test): Likewise.
7892 (ctan_test): Likewise.
7893 (ctan_test_tonearest): Likewise.
7894 (ctan_test_towardzero): Likewise.
7895 (ctan_test_downward): Likewise.
7896 (ctan_test_upward): Likewise.
7897 (ctanh_test): Likewise.
7898 (ctanh_test_tonearest): Likewise.
7899 (ctanh_test_towardzero): Likewise.
7900 (ctanh_test_downward): Likewise.
7901 (ctanh_test_upward): Likewise.
7902 (erf_test): Use END macro without arguments.
7903 (erfc_test): Likewise.
7904 (exp_test): Likewise.
7905 (exp_test_tonearest): Likewise.
7906 (exp_test_towardzero): Likewise.
7907 (exp_test_downward): Likewise.
7908 (exp_test_upward): Likewise.
7909 (exp10_test): Likewise.
7910 (exp2_test): Likewise.
7911 (expm1_test): Likewise.
7912 (fabs_test): Likewise.
7913 (fdim_test): Likewise.
7914 (finite_test): Likewise.
7915 (floor_test): Likewise.
7916 (fma_test): Likewise.
7917 (fma_test_towardzero): Likewise.
7918 (fma_test_downward): Likewise.
7919 (fma_test_upward): Likewise.
7920 (fmax_test): Likewise.
7921 (fmin_test): Likewise.
7922 (fmod_test): Likewise.
7923 (fpclassify_test): Likewise.
7924 (frexp_test): Likewise.
7925 (gamma_test): Likewise.
7926 (hypot_test): Likewise.
7927 (ilogb_test): Likewise.
7928 (isfinite_test): Likewise.
7929 (isgreater_test): Likewise.
7930 (isgreaterequal_test): Likewise.
7931 (isinf_test): Likewise.
7932 (isless_test): Likewise.
7933 (islessequal_test): Likewise.
7934 (islessgreater_test): Likewise.
7935 (isnan_test): Likewise.
7936 (isnormal_test): Likewise.
7937 (issignaling_test): Likewise.
7938 (isunordered_test): Likewise.
7939 (j0_test): Likewise.
7940 (j1_test): Likewise.
7941 (jn_test): Likewise.
7942 (ldexp_test): Likewise.
7943 (lgamma_test): Likewise.
7944 (lrint_test): Likewise.
7945 (lrint_test_tonearest): Likewise.
7946 (lrint_test_towardzero): Likewise.
7947 (lrint_test_downward): Likewise.
7948 (lrint_test_upward): Likewise.
7949 (llrint_test): Likewise.
7950 (llrint_test_tonearest): Likewise.
7951 (llrint_test_towardzero): Likewise.
7952 (llrint_test_downward): Likewise.
7953 (llrint_test_upward): Likewise.
7954 (log_test): Likewise.
7955 (log10_test): Likewise.
7956 (log1p_test): Likewise.
7957 (log2_test): Likewise.
7958 (logb_test): Likewise.
7959 (logb_test_downward): Likewise.
7960 (lround_test): Likewise.
7961 (llround_test): Likewise.
7962 (modf_test): Likewise.
7963 (nearbyint_test): Likewise.
7964 (nextafter_test): Likewise.
7965 (nexttoward_test): Likewise.
7966 (pow_test): Likewise.
7967 (pow_test_tonearest): Likewise.
7968 (pow_test_towardzero): Likewise.
7969 (pow_test_downward): Likewise.
7970 (pow_test_upward): Likewise.
7971 (remainder_test): Likewise.
7972 (remainder_test_tonearest): Likewise.
7973 (remainder_test_towardzero): Likewise.
7974 (remainder_test_downward): Likewise.
7975 (remainder_test_upward): Likewise.
7976 (remquo_test): Likewise.
7977 (rint_test): Likewise.
7978 (rint_test_tonearest): Likewise.
7979 (rint_test_towardzero): Likewise.
7980 (rint_test_downward): Likewise.
7981 (rint_test_upward): Likewise.
7982 (round_test): Likewise.
7983 (scalb_test): Likewise.
7984 (scalbn_test): Likewise.
7985 (scalbln_test): Likewise.
7986 (signbit_test): Likewise.
7987 (sin_test): Likewise.
7988 (sin_test_tonearest): Likewise.
7989 (sin_test_towardzero): Likewise.
7990 (sin_test_downward): Likewise.
7991 (sin_test_upward): Likewise.
7992 (sincos_test): Likewise.
7993 (sinh_test): Likewise.
7994 (sinh_test_tonearest): Likewise.
7995 (sinh_test_towardzero): Likewise.
7996 (sinh_test_downward): Likewise.
7997 (sinh_test_upward): Likewise.
7998 (sqrt_test): Likewise.
7999 (tan_test): Likewise.
8000 (tan_test_tonearest): Likewise.
8001 (tan_test_towardzero): Likewise.
8002 (tan_test_downward): Likewise.
8003 (tan_test_upward): Likewise.
8004 (tanh_test): Likewise.
8005 (tgamma_test): Likewise.
8006 (trunc_test): Likewise.
8007 (y0_test): Likewise.
8008 (y1_test): Likewise.
8009 (yn_test): Likewise.
8010 (significand_test): Likewise.
8011
bae143d2
OB
80122013-05-24 Ondřej Bílka <neleai@seznam.cz>
8013
8014 [BZ #15381]
8015 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8016
9323d39b
EM
80172013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8018
d4ea44a0 8019 [BZ #14894]
9323d39b
EM
8020 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8021 __ppc_mdoio and __ppc_mdoom.
8022 * manual/platform.texi: Document new functions __ppc_yield,
8023 __ppc_mdoio and __ppc_mdoom.
8024
13e23af7
CD
80252013-05-22 Carlos O'Donell <carlos@redhat.com>
8026
8027 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8028 (main): Mention "tls" pseudo-hwcap is legacy.
8029 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8030
351fe550
JM
80312013-05-22 Joseph Myers <joseph@codesourcery.com>
8032
8033 * math/gen-libm-test.pl (parse_args): Output only string of
8034 arguments as text for test name, not full call or descriptions of
8035 tests for extra outputs.
8036 (generate_testfile): Do not pass function name to parse_args.
8037 Generate this_func variable from START.
8038 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8039 field to arg_str.
8040 (struct test_ff_f_data): Likewise.
8041 (test_ff_f_data_nexttoward): Likewise.
8042 (struct test_fi_f_data): Likewise.
8043 (struct test_fl_f_data): Likewise.
8044 (struct test_if_f_data): Likewise.
8045 (struct test_fff_f_data): Likewise.
8046 (struct test_c_f_data): Likewise.
8047 (struct test_f_f1_data): Likewise. Remove field extra_name.
8048 (struct test_fF_f1_data): Likewise.
8049 (struct test_ffI_f1_data): Likewise.
8050 (struct test_c_c_data): Rename test_name field to arg_str.
8051 (struct test_cc_c_data): Likewise.
8052 (struct test_f_i_data): Likewise.
8053 (struct test_ff_i_data): Likewise.
8054 (struct test_f_l_data): Likewise.
8055 (struct test_f_L_data): Likewise.
8056 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8057 and extra2_name.
8058 (COMMON_TEST_SETUP): New macro.
8059 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8060 (COMMON_TEST_CLEANUP): Likewise.
8061 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8062 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8063 macros.
8064 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8065 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8066 macros.
8067 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8068 (RUN_TEST_fff_f): Take argument string. Call new setup and
8069 cleanup macros.
8070 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8071 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8072 macros.
8073 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8074 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8075 macros.
8076 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8077 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8078 cleanup macros.
8079 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8080 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8081 cleanup macros.
8082 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8083 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8084 cleanup macros.
8085 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8086 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8087 macros.
8088 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8089 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8090 macros.
8091 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8092 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8093 macros.
8094 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8095 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8096 cleanup macros.
8097 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8098 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8099 cleanup macros.
8100 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8101 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8102 macros.
8103 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8104 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8105 cleanup macros.
8106 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8107 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8108 macros.
8109 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8110 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8111 macros.
8112 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8113 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8114 cleanup macros.
8115 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8116
85118d4d
EBM
81172013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8118
8119 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8120 to _sifields.sigfault.
8121 (si_addr_lsb): Define new macro.
8122 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8123 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8124 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8125
7a44c18f
CD
81262013-05-03 Carlos O'Donell <carlos at redhat.com>
8127
8128 [BZ #15441]
8129 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8130 returns -1.
8131 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8132 null return -1.
8133 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8134 loading the domain.
8135
b50a7181
JM
81362013-05-22 Joseph Myers <joseph@codesourcery.com>
8137
8138 * math/gen-libm-test.pl (parse_args): Do not include expected
8139 result in test name.
8140 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8141 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8142 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8143 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8144 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8146
051063c8
SP
81472013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8148
3ce9e010
SP
8149 * benchtests/Makefile: Sort function entries.
8150
051063c8
SP
8151 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8152 tanh, asinh, acosh, atanh.
8153 * benchtests/acos-inputs: New file.
8154 * benchtests/acosh-inputs: New file.
8155 * benchtests/asin-inputs: New file.
8156 * benchtests/asinh-inputs: New file.
8157 * benchtests/atanh-inputs: New file.
8158 * benchtests/cosh-inputs: New file.
8159 * benchtests/log-inputs: New file.
8160 * benchtests/sinh-inputs: New file.
8161 * benchtests/tanh-inputs: New file.
8162
47c22455
DL
81632013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8164
8165 [BZ #15339]
8166 * posix/tst-getaddrinfo4.c: New test.
8167 * posix/Makefile (tests): Add it.
8168
3d04f5db
SP
81692013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8170
8171 [BZ #15339]
8172 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8173 when no services were used.
8174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8175 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8176
d5dd6189
AS
81772013-05-21 Andreas Schwab <schwab@suse.de>
8178
8179 [BZ #15014]
8180 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8181 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8182 successful.
8183 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8184 redundant variable declarations and reallocation of buffer when
8185 parsing as IPv6 address. Always set NSS status when called from
8186 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8187 buffer too small. Correct computation of needed size.
8188 * nss/Makefile (tests): Add test-digits-dots.
8189 * nss/test-digits-dots.c: New test.
8190
fef94eab
SP
81912013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8192
8193 * benchtests/Makefile: Remove instructions for adding
8194 benchmark tests.
8195 * benchtests/README: New file to explain how to execute and
8196 enhance the benchmark tests.
8197
e39adf43
AS
81982013-05-21 Andreas Schwab <schwab@suse.de>
8199
8200 [BZ #15493]
8201 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8202 * setjmp/tst-sigsetjmp.c: New test.
8203
b2b671b6
OB
82042013-05-20 Ondřej Bílka <neleai@seznam.cz>
8205
8206 * sysdeps/x86_64/memset.S (memset): New implementation.
8207 (__bzero): Likewise.
8208 (__memset_tail): New function.
8209
2d48b41c
OB
82102013-05-20 Ondřej Bílka <neleai@seznam.cz>
8211
8212 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8213 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8214 __memcpy_sse2_unaligned ifunc selection.
8215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8216 Add memcpy-sse2-unaligned.S.
8217 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8218 Add: __memcpy_sse2_unaligned.
8219
f16cc3eb
JM
82202013-05-19 Joseph Myers <joseph@codesourcery.com>
8221
3e694268
JM
8222 [BZ #15490]
8223 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8224 math_force_eval before restoring floating-point envrionment.
8225 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8226 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8227 Likewise.
8228 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8229 <math_private.h>.
8230 (__nearbyintl): Use math_force_eval before restoring
8231 floating-point environment.
8232 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8233
db62a907
JM
8234 * math/gen-libm-test.pl (special_functions): Remove.
8235 (parse_args): Don't handle TEST_extra. Handle functions with no
8236 return value.
8237 * math/libm-test.inc (struct test_sincos_data): Replace with
8238 struct test_fFF_11_data.
8239 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8240 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8241 (sincos_test_data): Change element type to struct
8242 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8243 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8244 RUN_TEST_LOOP_sincos.
8245 * math/README.libm-test: Don't mention special handling of
8246 individual functions.
8247 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8248 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8249 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8250 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8251 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8253
f16cc3eb
JM
8254 * math/gen-libm-test.pl (get_variable): Remove function.
8255 (parse_args): Don't show pointer parameters to call in test
8256 names. Use "extra output N" in test names for extra outputs
8257 rather than naming variables.
8258
3779b5b6
JM
82592013-05-18 Joseph Myers <joseph@codesourcery.com>
8260
2ee094ff
JM
8261 [BZ #15488]
8262 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8263 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8264 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8265 double tests.
8266 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8267 disable.
8268 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8269 check_long_double.
8270
3779b5b6
JM
8271 * math/gen-libm-test.pl (@tests): Remove variable.
8272 ($count): Likewise.
8273 (new_test): Remove function.
8274 (show_exceptions): New function.
8275 (special_functions): Use show_exceptions instead of new_test.
8276 (parse_args): Likewise.
8277 (generate_testfile): Pass only function name in generated call to
8278 print_max_error or print_complex_max_error.
8279 (get_ulps): Do not handle complex tests specially.
8280 (output_test): Rename to ...
8281 (get_all_ulps_for_test): ... this. Return a string rather than
8282 printing to a file. Require ulps to be present.
8283 (output_ulps): Generate arrays rather than #defines.
8284 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8285 (struct ulp_data): New type.
8286 (BUILD_COMPLEX_ULP): Remove macro.
8287 (compare_ulp_data): New function.
8288 (find_ulps): Likewise.
8289 (find_test_ulps): Likewise.
8290 (find_function_ulps): Likewise.
8291 (find_complex_function_ulps): Likewise.
8292 (print_max_error): Determine allowed ulps using
8293 find_function_ulps.
8294 (print_complex_max_error): Determine allowed ulps using
8295 find_complex_function_ulps.
8296 (check_float_internal): Determine max ulps using find_test_ulps.
8297 (check_float): Do not take max_ulp parameter. Update call to
8298 check_float_internal.
8299 (check_complex): Likewise.
8300 (check_int): Do not take max_ulp parameter.
8301 (check_long): Likewise.
8302 (check_bool): Likewise.
8303 (check_longlong): Likewise.
8304 (struct test_f_f_data): Remove max_ulp field.
8305 (struct test_ff_f_data): Likewise.
8306 (struct test_ff_f_data_nexttoward): Likewise.
8307 (struct test_fi_f_data): Likewise.
8308 (struct test_fl_f_data): Likewise.
8309 (struct test_if_f_data): Likewise.
8310 (struct test_fff_f_data): Likewise.
8311 (struct test_c_f_data): Likewise.
8312 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8313 (struct test_fF_f1_data): Likewise.
8314 (struct test_ffI_f1_data): Likewise.
8315 (struct test_c_c_data): Remove max_ulp field.
8316 (struct test_cc_c_data): Likewise.
8317 (struct test_f_i_data): Likewise.
8318 (struct test_ff_i_data): Likewise.
8319 (struct test_f_l_data): Likewise.
8320 (struct test_f_L_data): Likewise.
8321 (struct test_sincos_data): Likewise.
8322 (RUN_TEST_f_f): Do not handle ulps.
8323 (RUN_TEST_LOOP_f_f): Likewise.
8324 (RUN_TEST_2_f): Likewise.
8325 (RUN_TEST_LOOP_2_f): Likewise.
8326 (RUN_TEST_fff_f): Likewise.
8327 (RUN_TEST_LOOP_fff_f): Likewise.
8328 (RUN_TEST_c_f): Likewise.
8329 (RUN_TEST_LOOP_c_f): Likewise.
8330 (RUN_TEST_f_f1): Likewise.
8331 (RUN_TEST_LOOP_f_f1): Likewise.
8332 (RUN_TEST_fF_f1): Likewise.
8333 (RUN_TEST_LOOP_fF_f1): Likewise.
8334 (RUN_TEST_fI_f1): Likewise.
8335 (RUN_TEST_LOOP_fI_f1): Likewise.
8336 (RUN_TEST_ffI_f1): Likewise.
8337 (RUN_TEST_LOOP_ffI_f1): Likewise.
8338 (RUN_TEST_c_c): Likewise.
8339 (RUN_TEST_LOOP_c_c): Likewise.
8340 (RUN_TEST_cc_c): Likewise.
8341 (RUN_TEST_LOOP_cc_c): Likewise.
8342 (RUN_TEST_f_i): Likewise.
8343 (RUN_TEST_LOOP_f_i): Likewise.
8344 (RUN_TEST_f_i_tg): Likewise.
8345 (RUN_TEST_LOOP_f_i_tg): Likewise.
8346 (RUN_TEST_ff_i_tg): Likewise.
8347 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8348 (RUN_TEST_f_b): Likewise.
8349 (RUN_TEST_LOOP_f_b): Likewise.
8350 (RUN_TEST_f_b_tg): Likewise.
8351 (RUN_TEST_LOOP_f_b_tg): Likewise.
8352 (RUN_TEST_f_l): Likewise.
8353 (RUN_TEST_LOOP_f_l): Likewise.
8354 (RUN_TEST_f_L): Likewise.
8355 (RUN_TEST_LOOP_f_L): Likewise.
8356 (RUN_TEST_sincos): Likewise.
8357 (RUN_TEST_LOOP_sincos): Likewise.
8358
8269107f
JM
83592013-05-17 Joseph Myers <joseph@codesourcery.com>
8360
bb38759d
JM
8361 [BZ #15480]
8362 [BZ #15485]
8363 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8364 main case of finite arguments, set rounding mode to FE_TONEAREST
8365 and discard exceptions.
8366 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8367 exceptions.
8368 (remainder_tonearest_test_data): New variable.
8369 (remainder_test_tonearest): New function.
8370 (remainder_towardzero_test_data): New variable.
8371 (remainder_test_towardzero): New function.
8372 (remainder_downward_test_data): New variable.
8373 (remainder_test_downward): New function.
8374 (remainder_upward_test_data): New variable.
8375 (remainder_test_upward): New function.
8376 (main): Call the new test functions.
8377
a00bdcf0
JM
8378 * math/libm-test.inc (struct test_f_f1_data): Remove field
8379 extra_init.
8380 (struct test_fF_f1_data): Likewise.
8381 (struct test_ffI_f1_data): Likewise.
8382 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8383 based on value of EXTRA_EXPECTED.
8384 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8385 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8386 EXTRA_VAR based on value of EXTRA_EXPECTED.
8387 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8388 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8389 EXTRA_VAR based on value of EXTRA_EXPECTED.
8390 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8391 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8392 EXTRA_VAR based on value of EXTRA_EXPECTED.
8393 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8394 * math/gen-libm-test.pl (parse_args): Don't output initializers
8395 for extra output values.
8396
de407f79
JM
8397 * math/libm-test.inc (check_int): Expect result to be exactly
8398 equal to expected value and do not handle ulps.
8399 (check_long): Likewise.
8400 (check_longlong): Likewise.
8401
8269107f
JM
8402 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8403 exceptions.
8404 (cimag_test_data): Likewise.
8405 (conj_test_data): Likewise.
8406 (copysign_test_data): Likewise.
8407 (cproj_test_data): Likewise.
8408 (creal_test_data): Likewise.
8409 (fabs_test_data): Likewise.
8410 (fdim_test_data): Likewise.
8411 (finite_test_data): Likewise.
8412 (floor_test_data): Likewise.
8413 (fmax_test_data): Likewise.
8414 (fmin_test_data): Likewise.
8415 (fmod_test_data): Likewise.
8416 (fpclassify_test_data): Likewise.
8417 (frexp_test_data): Likewise.
8418 (ilogb_test_data): Likewise.
8419 (isfinite_test_data): Likewise.
8420 (isgreater_test_data): Likewise.
8421 (isgreaterequal_test_data): Likewise.
8422 (isinf_test_data): Likewise.
8423 (isless_test_data): Likewise.
8424 (islessequal_test_data): Likewise.
8425 (islessgreater_test_data): Likewise.
8426 (isnan_test_data): Likewise.
8427 (isnormal_test_data): Likewise.
8428 (issignaling_test_data): Likewise.
8429 (isunordered_test_data): Likewise.
8430 (ldexp_test_data): Likewise.
8431 (lrint_test_data): Likewise.
8432 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8433 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8434 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8435 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8436 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8437 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8438 test input.
8439 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8440 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8441 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8442 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8443 that test input.
8444 (lrint_downward_test_data): Test for "inexact" exceptions.
8445 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8446 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8447 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8448 test input.
8449 (lrint_upward_test_data): Test for "inexact" exceptions.
8450 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8451 test input.
8452 (llrint_test_data): Test for "inexact" exceptions.
8453 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8454 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8455 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8456 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8457 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8458 (llrint_downward_test_data): Test for "inexact" exceptions.
8459 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8460 (llrint_upward_test_data): Test for "inexact" exceptions.
8461 (logb_test_data): Likewise.
8462 (logb_downward_test_data): Likewise.
8463 (nextafter_test_data): Likewise.
8464 (nexttoward_test_data): Likewise.
8465 (remainder_test_data): Likewise.
8466 (remquo_test_data): Likewise.
8467 (scalbn_test_data): Likewise.
8468 (scalbln_test_data): Likewise.
8469 (signbit_test_data): Likewise.
8470 (sqrt_test_data): Likewise.
8471 (significand_test_data): Likewise.
8472
48a18de1
SP
84732013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8474
8475 [BZ #15424]
8476 * benchtests/bench-modf.c (struct args): Mark arg0 as
8477 volatile.
8478 * scripts/bench.pl: Mark members of struct args as volatile.
8479
13d3b41a
AZ
84802013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8481
68191c1d 8482 [BZ # 15497]
13d3b41a
AZ
8483 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8484 negative infinity on POWER6 or lower.
8485 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8486
2848b105
MR
84872013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8488
8489 [BZ #15442]
8490 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8491 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8492 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8493 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8494 (_FP_SETQNAN): New macro.
8495 (_FP_SETQNAN_SEMIRAW): Likewise.
8496 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8497 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8498 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8499 (FP_EXTEND): Use _FP_FRAC_SNANP.
8500 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8501 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8502 into account.
8503 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8504 New macro.
8505 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8506 Likewise.
8507
323e5cb7
JM
85082013-05-16 Joseph Myers <joseph@codesourcery.com>
8509
c58b274f
JM
8510 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8511 with DIVIDE_BY_ZERO_EXCEPTION.
8512 (gamma_test_data): Likewise.
8513 (lgamma_test_data): Likewise.
8514 (log_test_data): Likewise.
8515 (log10_test_data): Likewise.
8516 (log2_test_data): Likewise.
8517 (tgamma_test_data): Likewise.
8518
0ab34904
JM
8519 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8520 (acos_test_tonearest): Likewise.
8521 (acos_test_towardzero): Likewise.
8522 (acos_test_downward): Likewise.
8523 (acos_test_upward): Likewise.
8524 (acosh_test): Likewise.
8525 (asin_test): Likewise.
8526 (asin_test_tonearest): Likewise.
8527 (asin_test_towardzero): Likewise.
8528 (asin_test_downward): Likewise.
8529 (asin_test_upward): Likewise.
8530 (asinh_test): Likewise.
8531 (atan_test): Likewise.
8532 (atanh_test): Likewise.
8533 (atan2_test): Likewise.
8534 (cabs_test): Likewise.
8535 (cacos_test): Likewise.
8536 (cacosh_test): Likewise.
8537 (casin_test): Likewise.
8538 (casinh_test): Likewise.
8539 (catan_test): Likewise.
8540 (catanh_test): Likewise.
8541 (cbrt_test): Likewise.
8542 (ccos_test): Likewise.
8543 (ccosh_test): Likewise.
8544 (cexp_test): Likewise.
8545 (clog_test): Likewise.
8546 (clog10_test): Likewise.
8547 (cos_test): Likewise.
8548 (cos_test_tonearest): Likewise.
8549 (cos_test_towardzero): Likewise.
8550 (cos_test_downward): Likewise.
8551 (cos_test_upward): Likewise.
8552 (cosh_test): Likewise.
8553 (cosh_test_tonearest): Likewise.
8554 (cosh_test_towardzero): Likewise.
8555 (cosh_test_downward): Likewise.
8556 (cosh_test_upward): Likewise.
8557 (cpow_test): Likewise.
8558 (csin_test): Likewise.
8559 (csinh_test): Likewise.
8560 (csqrt_test): Likewise.
8561 (ctan_test): Likewise.
8562 (ctan_test_tonearest): Likewise.
8563 (ctan_test_towardzero): Likewise.
8564 (ctan_test_downward): Likewise.
8565 (ctan_test_upward): Likewise.
8566 (ctanh_test): Likewise.
8567 (ctanh_test_tonearest): Likewise.
8568 (ctanh_test_towardzero): Likewise.
8569 (ctanh_test_downward): Likewise.
8570 (ctanh_test_upward): Likewise.
8571 (erf_test): Likewise.
8572 (erfc_test): Likewise.
8573 (exp_test): Likewise.
8574 (exp_test_tonearest): Likewise.
8575 (exp_test_towardzero): Likewise.
8576 (exp_test_downward): Likewise.
8577 (exp_test_upward): Likewise.
8578 (exp10_test): Likewise.
8579 (exp2_test): Likewise.
8580 (expm1_test): Likewise.
8581 (fmod_test): Likewise.
8582 (gamma_test): Likewise.
8583 (hypot_test): Likewise.
8584 (j0_test): Likewise.
8585 (j1_test): Likewise.
8586 (jn_test): Likewise.
8587 (lgamma_test): Likewise.
8588 (log_test): Likewise.
8589 (log10_test): Likewise.
8590 (log1p_test): Likewise.
8591 (log2_test): Likewise.
8592 (logb_test_downward): Likewise.
8593 (pow_test): Likewise.
8594 (pow_test_tonearest): Likewise.
8595 (pow_test_towardzero): Likewise.
8596 (pow_test_downward): Likewise.
8597 (pow_test_upward): Likewise.
8598 (remainder_test): Likewise.
8599 (remquo_test): Likewise.
8600 (sin_test): Likewise.
8601 (sin_test_tonearest): Likewise.
8602 (sin_test_towardzero): Likewise.
8603 (sin_test_downward): Likewise.
8604 (sin_test_upward): Likewise.
8605 (sincos_test): Likewise.
8606 (sinh_test): Likewise.
8607 (sinh_test_tonearest): Likewise.
8608 (sinh_test_towardzero): Likewise.
8609 (sinh_test_downward): Likewise.
8610 (sinh_test_upward): Likewise.
8611 (sqrt_test): Likewise.
8612 (tan_test): Likewise.
8613 (tan_test_tonearest): Likewise.
8614 (tan_test_towardzero): Likewise.
8615 (tan_test_downward): Likewise.
8616 (tan_test_upward): Likewise.
8617 (tanh_test): Likewise.
8618 (tgamma_test): Likewise.
8619 (y0_test): Likewise.
8620 (y1_test): Likewise.
8621 (yn_test): Likewise.
8622
323e5cb7
JM
8623 * math/gen-libm-test.pl (adjust_arg): Remove function.
8624 (special_function): Remove argument $in_func. Only handle
8625 generating output for tables of tests, not inside functions.
8626 (parse_args): Likewise.
8627 (generate_testfile): Remove variable $in_func. Update call to
8628 parse_args.
8629 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
8630 (MINUS_ZERO_INIT): Rename macro to minus_zero.
8631 (PLUS_INFTY_INIT): Rename macro to plus_infty.
8632 (MINUS_INFTY_INIT): Rename macro to minus_infty.
8633 (QNAN_VALUE_INIT): Rename macro to qnan_value.
8634 (MAX_VALUE_INIT): Rename macro to max_value.
8635 (MIN_VALUE_INIT): Rename macro to min_value.
8636 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
8637 (plus_zero): Remove variable.
8638 (minus_zero): Likewise.
8639 (plus_infty): Likewise.
8640 (minus_infty): Likewise.
8641 (qnan_value): Likewise.
8642 (max_value): Likewise.
8643 (min_value): Likewise.
8644 (min_subnorm_value): Likewise.
8645
e054f494
RA
86462013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8647
8648 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
8649 uint64_t or uint32_t usage.
8650 * crypt/sha256-block.c: Likewise.
8651 * crypt/sha256-crypt.c: Likewise.
8652 * crypt/sha256.c: Likewise.
8653 * crypt/sha512-block.c: Likewise.
8654 * crypt/sha512-crypt.c: Likewise.
8655 * crypt/sha512.c: Likewise.
8656 * debug/backtrace-tst.c: Likewise.
8657 * debug/pcprofiledump.c: Likewise.
8658 * elf/cache.c: Likewise.
8659 * elf/dl-cache.c: Likewise.
8660 * elf/dl-misc.c: Likewise.
8661 * elf/dl-profile.c: Likewise.
8662 * elf/dl-support.c: Likewise.
8663 * elf/ldconfig.c: Likewise.
8664 * elf/sprof.c: Likewise.
8665 * iconv/dummy-repertoire.c: Likewise.
8666 * iconv/iconv_charmap.c: Likewise.
8667 * iconv/skeleton.c: Likewise.
8668 * iconvdata/8bit-generic.c: Likewise.
8669 * iconvdata/cp737.h: Likewise.
8670 * iconvdata/cp775.h: Likewise.
8671 * iconvdata/ibm1008.h: Likewise.
8672 * iconvdata/ibm1025.h: Likewise.
8673 * iconvdata/ibm1046.h: Likewise.
8674 * iconvdata/ibm1097.h: Likewise.
8675 * iconvdata/ibm1112.h: Likewise.
8676 * iconvdata/ibm1122.h: Likewise.
8677 * iconvdata/ibm1123.h: Likewise.
8678 * iconvdata/ibm1124.h: Likewise.
8679 * iconvdata/ibm1129.h: Likewise.
8680 * iconvdata/ibm1130.h: Likewise.
8681 * iconvdata/ibm1132.h: Likewise.
8682 * iconvdata/ibm1133.h: Likewise.
8683 * iconvdata/ibm1137.h: Likewise.
8684 * iconvdata/ibm1140.h: Likewise.
8685 * iconvdata/ibm1141.h: Likewise.
8686 * iconvdata/ibm1142.h: Likewise.
8687 * iconvdata/ibm1143.h: Likewise.
8688 * iconvdata/ibm1144.h: Likewise.
8689 * iconvdata/ibm1145.h: Likewise.
8690 * iconvdata/ibm1146.h: Likewise.
8691 * iconvdata/ibm1147.h: Likewise.
8692 * iconvdata/ibm1148.h: Likewise.
8693 * iconvdata/ibm1149.h: Likewise.
8694 * iconvdata/ibm1153.h: Likewise.
8695 * iconvdata/ibm1154.h: Likewise.
8696 * iconvdata/ibm1155.h: Likewise.
8697 * iconvdata/ibm1156.h: Likewise.
8698 * iconvdata/ibm1157.h: Likewise.
8699 * iconvdata/ibm1158.h: Likewise.
8700 * iconvdata/ibm1160.h: Likewise.
8701 * iconvdata/ibm1161.h: Likewise.
8702 * iconvdata/ibm1162.h: Likewise.
8703 * iconvdata/ibm1163.h: Likewise.
8704 * iconvdata/ibm1164.h: Likewise.
8705 * iconvdata/ibm1166.h: Likewise.
8706 * iconvdata/ibm1167.h: Likewise.
8707 * iconvdata/ibm12712.h: Likewise.
8708 * iconvdata/ibm1390.h: Likewise.
8709 * iconvdata/ibm1399.h: Likewise.
8710 * iconvdata/ibm16804.h: Likewise.
8711 * iconvdata/ibm4517.h: Likewise.
8712 * iconvdata/ibm4899.h: Likewise.
8713 * iconvdata/ibm4909.h: Likewise.
8714 * iconvdata/ibm4971.h: Likewise.
8715 * iconvdata/ibm5347.h: Likewise.
8716 * iconvdata/ibm803.h: Likewise.
8717 * iconvdata/ibm856.h: Likewise.
8718 * iconvdata/ibm901.h: Likewise.
8719 * iconvdata/ibm902.h: Likewise.
8720 * iconvdata/ibm9030.h: Likewise.
8721 * iconvdata/ibm9066.h: Likewise.
8722 * iconvdata/ibm921.h: Likewise.
8723 * iconvdata/ibm922.h: Likewise.
8724 * iconvdata/ibm9448.h: Likewise.
8725 * iconvdata/isiri-3342.h: Likewise.
8726 * iconvdata/jis0201.h: Likewise.
8727 * include/link.h: Likewise.
8728 * include/netdb.h: Likewise.
8729 * inet/check_native.c: Likewise.
8730 * inet/check_pf.c: Likewise.
8731 * inet/getipv4sourcefilter.c: Likewise.
8732 * inet/getnameinfo.c: Likewise.
8733 * inet/getsourcefilter.c: Likewise.
8734 * inet/htonl.c: Likewise.
8735 * inet/setipv4sourcefilter.c: Likewise.
8736 * inet/setsourcefilter.c: Likewise.
8737 * inet/test-inet6_opt.c: Likewise.
8738 * inet/tst-network.c: Likewise.
8739 * locale/C-collate.c: Likewise.
8740 * locale/C-ctype.c: Likewise.
8741 * locale/C-time.c: Likewise.
8742 * locale/C-translit.h: Likewise.
8743 * locale/loadarchive.c: Likewise.
8744 * locale/programs/3level.h: Likewise.
8745 * locale/programs/charmap.c: Likewise.
8746 * locale/programs/charmap.h: Likewise.
8747 * locale/programs/ld-address.c: Likewise.
8748 * locale/programs/ld-collate.c: Likewise.
8749 * locale/programs/ld-ctype.c: Likewise.
8750 * locale/programs/ld-identification.c: Likewise.
8751 * locale/programs/ld-measurement.c: Likewise.
8752 * locale/programs/ld-messages.c: Likewise.
8753 * locale/programs/ld-monetary.c: Likewise.
8754 * locale/programs/ld-name.c: Likewise.
8755 * locale/programs/ld-numeric.c: Likewise.
8756 * locale/programs/ld-paper.c: Likewise.
8757 * locale/programs/ld-telephone.c: Likewise.
8758 * locale/programs/ld-time.c: Likewise.
8759 * locale/programs/linereader.c: Likewise.
8760 * locale/programs/locale.c: Likewise.
8761 * locale/programs/locarchive.c: Likewise.
8762 * locale/programs/locfile.h: Likewise.
8763 * locale/programs/repertoire.c: Likewise.
8764 * locale/programs/simple-hash.c: Likewise.
8765 * locale/programs/simple-hash.h: Likewise.
8766 * malloc/memusage.c: Likewise.
8767 * malloc/memusagestat.c: Likewise.
8768 * nis/nis_defaults.c: Likewise.
8769 * nis/nis_hash.c: Likewise.
8770 * nis/nis_print.c: Likewise.
8771 * nis/nis_xdr.c: Likewise.
8772 * nscd/connections.c: Likewise.
8773 * nscd/hstcache.c: Likewise.
8774 * nscd/nscd_gethst_r.c: Likewise.
8775 * nscd/nscd_getserv_r.c: Likewise.
8776 * nscd/nscd_helper.c: Likewise.
8777 * nscd/servicescache.c: Likewise.
8778 * nss/makedb.c: Likewise.
8779 * nss/nss_db/db-XXX.c: Likewise.
8780 * nss/nss_db/db-initgroups.c: Likewise.
8781 * nss/nss_db/db-netgrp.c: Likewise.
8782 * nss/nss_files/files-network.c: Likewise.
8783 * nss/nss_files/files-parse.c: Likewise.
8784 * posix/bug-regex5.c: Likewise.
8785 * posix/fnmatch_loop.c: Likewise.
8786 * posix/regcomp.c: Likewise.
8787 * posix/regexec.c: Likewise.
8788 * posix/tst-rfc3484-2.c: Likewise.
8789 * posix/tst-rfc3484-3.c: Likewise.
8790 * posix/tst-rfc3484.c: Likewise.
8791 * resolv/nss_dns/dns-canon.c: Likewise.
8792 * resolv/nss_dns/dns-network.c: Likewise.
8793 * resolv/res_init.c: Likewise.
8794 * resolv/res_mkquery.c: Likewise.
8795 * resolv/tst-aton.c: Likewise.
8796 * stdlib/cxa_atexit.c: Likewise.
8797 * stdlib/cxa_finalize.c: Likewise.
8798 * stdlib/gen-fpioconst.c: Likewise.
8799 * stdlib/strtol_l.c: Likewise.
8800 * string/tst-endian.c: Likewise.
8801 * sunrpc/auth_des.c: Likewise.
8802 * sunrpc/clnt_udp.c: Likewise.
8803 * sunrpc/rtime.c: Likewise.
8804 * sunrpc/svcauth_des.c: Likewise.
8805 * sunrpc/xdr.c: Likewise.
8806 * sunrpc/xdr_intXX_t.c: Likewise.
8807 * sunrpc/xdr_rec.c: Likewise.
8808 * sysdeps/generic/ldconfig.h: Likewise.
8809 * sysdeps/generic/ldsodefs.h: Likewise.
8810 * sysdeps/generic/memusage.h: Likewise.
8811 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8812 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
8813 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
8814 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8816 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8817 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8818 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8819 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8820 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8821 * sysdeps/posix/getaddrinfo.c: Likewise.
8822 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8823 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8824 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8825 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8826 * sysdeps/powerpc/test-gettimebase.c: Likewise.
8827 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8828 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
8829 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
8830 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8831 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
8832 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8833 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8834 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
8835 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
8836 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
8837 * sysdeps/x86_64/dl-tls.h: Likewise.
8838 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
8839 * time/alt_digit.c: Likewise.
8840 * time/era.c: Likewise.
8841 * wcsmbs/tst-c16c32-1.c: Likewise.
8842
8c75f674
JM
88432013-05-16 Joseph Myers <joseph@codesourcery.com>
8844
8845 * math/libm-test.inc (struct test_sincos_data): New type.
8846 (RUN_TEST_LOOP_sincos): New macro.
8847 (sincos_test_data): New variable.
8848 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
8849
e6e49e59
RH
88502013-05-16 Richard Henderson <rth@redhat.com>
8851
8852 * math/atest-exp2.c (LIMB64): New macro.
8853 (CONSTSZ): New macro.
8854 (mp_exp1, mp_exp_m1, mp_log2): New variables.
8855 (hexdig): Move ...
8856 (print_mpn_fp): ... to function scope.
8857 (read_mpn_hex): Remove.
8858 (get_log2): Remove.
8859 (exp2_mpn): Use mp_log2.
8860 (main): Use mp_exp1.
8861
15c7c18d
JM
88622013-05-16 Joseph Myers <joseph@codesourcery.com>
8863
105a07df
JM
8864 * math/libm-test.inc: Remove comment about not testing "inexact"
8865 exceptions.
8866 (INEXACT_EXCEPTION): New macro.
8867 (NO_INEXACT_EXCEPTION): Likewise.
8868 (INVALID_EXCEPTION_OK): Update value.
8869 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8870 (OVERFLOW_EXCEPTION_OK): Likewise.
8871 (UNDERFLOW_EXCEPTION_OK): Likewise.
8872 (IGNORE_ZERO_INF_SIGN): Likewise.
8873 (ERRNO_UNCHANGED): Likewise.
8874 (ERRNO_EDOM): Likewise.
8875 (ERRNO_ERANGE): Likewise.
8876 (test_exceptions): Handle testing "inexact" exceptions.
8877 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
8878 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
8879 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
8880 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
8881 INEXACT_EXCEPTION.
8882 (rint_towardzero_test_data): Likewise.
8883 (rint_downward_test_data): Likewise.
8884 (rint_upward_test_data): Likewise.
8885
e9eee333
JM
8886 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
8887 with OVERFLOW_EXCEPTION.
8888 (exp10_test_data): Likewise.
8889 (exp2_test_data): Likewise.
8890 (expm1_test_data): Likewise.
8891 (lgamma_test_data): Likewise.
8892 (pow_test_data): Likewise.
8893 (tgamma_test_data): Likewise.
8894 (yn_test_data): Remove duplicate test of overflow.
8895
1c38ff73
JM
8896 * math/libm-test.inc (struct test_cc_c_data): New type.
8897 (RUN_TEST_LOOP_cc_c): New macro.
8898 (cpow_test_data): New variable.
8899 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
8900
15c7c18d
JM
8901 * math/libm-test.inc (struct test_f_L_data): New type.
8902 (RUN_TEST_LOOP_f_L): New macro.
8903 (llrint_test_data): New variable.
8904 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
8905 (llrint_tonearest_test_data): New variable.
8906 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
8907 (llrint_towardzero_test_data): New variable.
8908 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
8909 (llrint_downward_test_data): New variable.
8910 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
8911 (llrint_upward_test_data): New variable.
8912 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
8913 (llround_test_data): New variable.
8914 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
8915
f137ff13
PC
89162013-05-13 Peter Collingbourne <pcc@google.com>
8917
8918 * math/atest-exp2.c (get_log2): Remove const attribute.
8919
3608cb24
JM
89202013-05-15 Joseph Myers <joseph@codesourcery.com>
8921
8922 * math/libm-test.inc (struct test_f_l_data): New type.
8923 (RUN_TEST_LOOP_f_l): New macro.
8924 (lrint_test_data): New variable.
8925 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
8926 (lrint_tonearest_test_data): New variable.
8927 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
8928 (lrint_towardzero_test_data): New variable.
8929 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
8930 (lrint_downward_test_data): New variable.
8931 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
8932 (lrint_upward_test_data): New variable.
8933 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
8934 (lround_test_data): New variable.
8935 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
8936
39b1f617
PC
89372013-05-15 Peter Collingbourne <pcc@google.com>
8938
1deff3dc
PC
8939 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
8940 (EXTRACT_WORDS64) Use where appropriate.
8941 (INSERT_WORDS64) Likewise.
8942
791f3ba0
PC
8943 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
8944 constraints with x constraints.
8945 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
8946
39b1f617
PC
8947 * malloc/obstack.c (_obstack_compat): Add initializer.
8948
12fba011
EM
89492013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
8950
8951 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
8952 si_trapno and add si_addr_lsb to _sifields.sigfault.
8953 (si_trapno): Remove macro.
8954 (si_addr_lsb): Define new macro.
8955 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8956
d369f531
JM
89572013-05-15 Joseph Myers <joseph@codesourcery.com>
8958
b861c6c4
JM
8959 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
8960 instead of TEST_f_l.
8961 (llrint_test_tonearest): Likewise.
8962 (llrint_test_towardzero): Likewise.
8963 (llrint_test_downward): Likewise.
8964 (llrint_test_upward): Likewise.
8965 (llround_test): Likewise.
8966
7abeee12
JM
8967 * math/libm-test.inc (struct test_f_i_data): Add comment.
8968 (RUN_TEST_LOOP_f_b): New macro.
8969 (RUN_TEST_LOOP_f_b_tg): Likewise.
8970 (finite_test_data): New variable.
8971 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
8972 (isfinite_test_data): New variable.
8973 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8974 (isinf_test_data): New variable.
8975 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8976 (isnan_test_data): New variable.
8977 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8978 (isnormal_test_data): New variable.
8979 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8980 (issignaling_test_data): New variable.
8981 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8982 (signbit_test_data): New variable.
8983 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
8984
cbe8c4d3
JM
8985 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
8986 with INVALID_EXCEPTION.
8987 (acosh_test_data): Likewise.
8988 (asin_test_data): Likewise.
8989 (atanh_test_data): Likewise.
8990 (fmod_test_data): Likewise.
8991 (log_test_data): Likewise.
8992 (log10_test_data): Likewise.
8993 (log2_test_data): Likewise.
8994 (pow_test_data): Likewise.
8995 (sqrt_test_data): Likewise.
8996 (y0_test_data): Likewise.
8997 (y1_test_data): Likewise.
8998 (yn_test_data): Likewise.
8999
5575c0e5
JM
9000 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9001 function contents.
9002
d369f531
JM
9003 * math/libm-test.inc (struct test_ff_i_data): New type.
9004 (RUN_TEST_LOOP_ff_i_tg): New macro.
9005 (isgreater_test_data): New variable.
9006 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9007 (isgreaterequal_test_data): New variable.
9008 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9009 (isless_test_data): New variable.
9010 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9011 (islessequal_test_data): New variable.
9012 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9013 (islessgreater_test_data): New variable.
9014 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9015 (isunordered_test_data): New variable.
9016 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9017
781fd748
DM
90182013-05-14 David S. Miller <davem@davemloft.net>
9019
9020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9021
87aa21df
JM
90222013-05-14 Joseph Myers <joseph@codesourcery.com>
9023
5e908270
JM
9024 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9025
f71172e5
JM
9026 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9027 extra_test to int.
9028 (struct test_f_i_data): Change type of max_ulp to int.
9029
8cfa635a
JM
9030 * math/libm-test.inc (test_ffI_f1_data): New type.
9031 (RUN_TEST_LOOP_ffI_f1): New macro.
9032 (remquo_test_data): New variable.
9033 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9034
2bcb36b2
JM
9035 * setjmp/tst-setjmp-fp.c: New file.
9036 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9037 (link-libm): New variable.
9038 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9039
acbd839a
JM
9040 * math/libm-test.inc (struct test_f_i_data): New type.
9041 (RUN_TEST_LOOP_f_i): New macro.
9042 (RUN_TEST_LOOP_f_i_tg): Likewise.
9043 (fpclassify_test_data): New variable.
9044 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9045 (ilogb_test_data): New variable.
9046 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9047
e414d745
JM
9048 * math/libm-test.inc (scalbln_test): Correct function name in END
9049 call.
9050
d9c2a0fd
JM
9051 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9052 (RUN_TEST_LOOP_fI_f1): New macro.
9053 (frexp_test_data): New variable.
9054 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9055
9dc9095d
JM
9056 * math/libm-test.inc (struct test_fF_f1_data): New type.
9057 (RUN_TEST_LOOP_fF_f1): New macro.
9058 (modf_test_data): New variable.
9059 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9060
87aa21df
JM
9061 * math/libm-test.inc (struct test_f_f1_data): New type.
9062 (RUN_TEST_LOOP_f_f1): New macro.
9063 (gamma_test_data): New variable.
9064 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9065 (lgamma_test_data): New variable.
9066 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9067
141af660
CD
90682013-05-13 Carlos O'Donell <carlos@redhat.com>
9069
9070 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9071 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9072 (main): Comment "tls" pseudo-hwcap.
9073
6d33265c
JM
90742013-05-13 Joseph Myers <joseph@codesourcery.com>
9075
68fc074c
JM
9076 * math/libm-test.inc (struct test_fl_f_data): New type.
9077 (RUN_TEST_LOOP_fl_f): New variable.
9078 (scalbln_test_data): New variable.
9079 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9080
243216e1
JM
9081 * math/libm-test.inc (struct test_fi_f_data): New type.
9082 (RUN_TEST_LOOP_fi_f): New macro.
9083 (ldexp_test_data): New variable.
9084 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9085 (scalbn_test_data): New variable.
9086 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9087
6a1992e2
JM
9088 * math/libm-test.inc (struct test_c_f_data): New type.
9089 (RUN_TEST_LOOP_c_f): New macro.
9090 (cabs_test_data): New variable.
9091 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9092 (carg_test_data): New variable.
9093 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9094 (cimag_test_data): New variable.
9095 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9096 (creal_test_data): New variable.
9097 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9098
0e400df5
JM
9099 * math/libm-test.inc (struct test_if_f_data): New type.
9100 (RUN_TEST_LOOP_if_f): New macro.
9101 (jn_test_data): New variable.
9102 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9103 (yn_test_data): New variable.
9104 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9105
6d33265c
JM
9106 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9107
f98ece5f
AZ
91082013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9109
9110 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9111 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9112
0f7d347b
SP
91132013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9114
43fe811b
SP
9115 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9116 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9117 (bench-deps): Add bench-timing.h.
9118 * benchtests-bench-skeleton.c: Include bench-timing.h.
9119 (main): Use TIMING_* macros instead of clock_gettime.
9120 * benchtests/bench-timing.h: New file.
9121
0f7d347b
SP
9122 [BZ #14582]
9123 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9124 Renamed from _LIB_VERSION.
9125 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9126
601a3a5f
JM
91272013-05-12 Joseph Myers <joseph@codesourcery.com>
9128
4f184d30
JM
9129 * math/libm-test.inc (struct test_fff_f_data): New type.
9130 (RUN_TEST_LOOP_fff_f): New macro.
9131 (fma_test_data): New variable.
9132 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9133 (fma_towardzero_test_data): New variable.
9134 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9135 (fma_downward_test_data): New variable.
9136 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9137 (fma_upward_test_data): New variable.
9138 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9139
08198877
JM
9140 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9141 (struct test_c_c_data): New type.
9142 (RUN_TEST_LOOP_c_c): New macro.
9143 (cacos_test_data): New variable.
9144 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9145 (cacosh_test_data): New variable.
9146 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9147 (casin_test_data): New variable.
9148 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9149 (casinh_test_data): New variable.
9150 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9151 (catan_test_data): New variable.
9152 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9153 (catanh_test_data): New variable.
9154 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9155 (ccos_test_data): New variable.
9156 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9157 (ccosh_test_data): New variable.
9158 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9159 (cexp_test_data): New variable.
9160 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9161 (clog_test_data): New variable.
9162 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9163 (clog10_test_data): New variable.
9164 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9165 (conj_test_data): New variable.
9166 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9167 (cproj_test_data): New variable.
9168 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9169 (csin_test_data): New variable.
9170 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9171 (csinh_test_data): New variable.
9172 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9173 (csqrt_test_data): New variable.
9174 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9175 (ctan_test_data): New variable.
9176 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9177 (ctan_tonearest_test_data): New variable.
9178 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9179 (ctan_towardzero_test_data): New variable.
9180 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9181 (ctan_downward_test_data): New variable.
9182 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9183 (ctan_upward_test_data): New variable.
9184 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9185 (ctanh_test_data): New variable.
9186 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9187 (ctanh_tonearest_test_data): New variable.
9188 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9189 (ctanh_towardzero_test_data): New variable.
9190 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9191 (ctanh_downward_test_data): New variable.
9192 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9193 (ctanh_upward_test_data): New variable.
9194 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9195 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9196 of BUILD_COMPLEX.
9197
601a3a5f
JM
9198 * math/libm-test.inc (struct test_ff_f_data): New type.
9199 (struct test_ff_f_data_nexttoward): Likewise.
9200 (RUN_TEST_LOOP_2_f): New macro.
9201 (RUN_TEST_LOOP_ff_f): Likewise.
9202 (atan2_test_data): New variable.
9203 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9204 (copysign_test_data): New variable.
9205 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9206 (fdim_test_data): New variable.
9207 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9208 (fmax_test_data): New variable.
9209 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9210 (fmin_test_data): New variable.
9211 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9212 (fmod_test_data): New variable.
9213 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9214 (hypot_test_data): New variable.
9215 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9216 (nextafter_test_data): New variable.
9217 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9218 (nexttoward_test_data): New variable.
9219 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9220 (pow_test_data): New variable.
9221 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9222 (pow_tonearest_test_data): New variable.
9223 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9224 (pow_towardzero_test_data): New variable.
9225 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9226 (pow_downward_test_data): New variable.
9227 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9228 (pow_upward_test_data): New variable.
9229 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9230 (remainder_test_data): New variable.
9231 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9232 (scalb_test_data): New variable.
9233 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9234 * sysdeps/i386/fpu/libm-test-ulps: Update.
9235
74c57478
JM
92362013-05-11 Joseph Myers <joseph@codesourcery.com>
9237
8329e4da
JM
9238 * math/libm-test.inc (fma_test): Use max_value instead of local
9239 variable fltmax.
9240 (nextafter_test): Likewise.
9241
74c57478
JM
9242 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9243 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9244 (acos_downward_test_data): New variable.
9245 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9246 (acos_upward_test_data): New variable.
9247 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9248 (acosh_test_data): New variable.
9249 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9250 (asin_test_data): New variable.
9251 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9252 (asin_tonearest_test_data): New variable.
9253 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9254 (asin_towardzero_test_data): New variable.
9255 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9256 (asin_downward_test_data): New variable.
9257 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9258 (asin_upward_test_data): New variable.
9259 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9260 (asinh_test_data): New variable.
9261 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9262 (atan_test_data): New variable.
9263 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9264 (atanh_test_data): New variable.
9265 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9266 (cbrt_test_data): New variable.
9267 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9268 (ceil_test_data): New variable.
9269 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9270 (cos_test_data): New variable.
9271 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9272 (cos_tonearest_test_data): New variable.
9273 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9274 (cos_towardzero_test_data): New variable.
9275 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9276 (cos_downward_test_data): New variable.
9277 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9278 (cos_upward_test_data): New variable.
9279 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9280 (cosh_test_data): New variable.
9281 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9282 (cosh_tonearest_test_data): New variable.
9283 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9284 (cosh_towardzero_test_data): New variable.
9285 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9286 (cosh_downward_test_data): New variable.
9287 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9288 (cosh_upward_test_data): New variable.
9289 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9290 (erf_test_data): New variable.
9291 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9292 (erfc_test_data): New variable.
9293 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9294 (exp_test_data): New variable.
9295 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9296 (exp_tonearest_test_data): New variable.
9297 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9298 (exp_towardzero_test_data): New variable.
9299 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9300 (exp_downward_test_data): New variable.
9301 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9302 (exp_upward_test_data): New variable.
9303 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9304 (exp10_test_data): New variable.
9305 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9306 (exp2_test_data): New variable.
9307 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9308 (expm1_test_data): New variable.
9309 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9310 (fabs_test_data): New variable.
9311 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9312 (floor_test_data): New variable.
9313 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9314 (j0_test_data): New variable.
9315 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9316 (j1_test_data): New variable.
9317 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9318 (log_test_data): New variable.
9319 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9320 (log10_test_data): New variable.
9321 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9322 (log1p_test_data): New variable.
9323 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9324 (log2_test_data): New variable.
9325 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9326 (logb_test_data): New variable.
9327 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9328 (logb_downward_test_data): New variable.
9329 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9330 (nearbyint_test_data): New variable.
9331 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9332 (rint_test_data): New variable.
9333 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9334 (rint_tonearest_test_data): New variable.
9335 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9336 (rint_towardzero_test_data): New variable.
9337 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9338 (rint_downward_test_data): New variable.
9339 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9340 (rint_upward_test_data): New variable.
9341 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9342 (round_test_data): New variable.
9343 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9344 (sin_test_data): New variable.
9345 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9346 (sin_tonearest_test_data): New variable.
9347 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9348 (sin_towardzero_test_data): New variable.
9349 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9350 (sin_downward_test_data): New variable.
9351 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9352 (sin_upward_test_data): New variable.
9353 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9354 (sinh_test_data): New variable.
9355 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9356 (sinh_tonearest_test_data): New variable.
9357 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9358 (sinh_towardzero_test_data): New variable.
9359 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9360 (sinh_downward_test_data): New variable.
9361 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9362 (sinh_upward_test_data): New variable.
9363 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9364 (sqrt_test_data): New variable.
9365 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9366 (tan_test_data): New variable.
9367 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9368 (tan_tonearest_test_data): New variable.
9369 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9370 (tan_towardzero_test_data): New variable.
9371 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9372 (tan_downward_test_data): New variable.
9373 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9374 (tan_upward_test_data): New variable.
9375 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9376 (tanh_test_data): New variable.
9377 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9378 (tgamma_test_data): New variable.
9379 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9380 (trunc_test_data): New variable.
9381 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9382 (y0_test_data): New variable.
9383 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9384 (y1_test_data): New variable.
9385 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9386 (significand_test_data): New variable.
9387 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9388
7187d844
CG
93892013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9390
9391 [BZ #12387]
9392 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9393
f63fae73
PT
93942013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9395
9396 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9397
8a67a4b3
AJ
93982013-05-10 Andreas Jaeger <aj@suse.de>
9399
9400 [BZ #15448]
9401 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9402 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9403
51df539d
JM
94042013-05-10 Joseph Myers <joseph@codesourcery.com>
9405
9406 * math/gen-libm-test.pl (adjust_arg): New function.
9407 (special_functions): Handle generating output in both functions
9408 and arrays.
9409 (parse_args): Likewise.
9410 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9411 $in_func argument to parse_args.
9412 * math/libm-test.inc (struct test_f_f_data): New type.
9413 (IF_ROUND_INIT_): New macro.
9414 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9415 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9416 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9417 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9418 (ROUND_RESTORE_): Likewise.
9419 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9420 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9421 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9422 (ROUND_RESTORE_FE_UPWARD): Likewise.
9423 (RUN_TEST_LOOP_f_f): New macro.
9424 (acos_test_data): New variable.
9425 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9426 (acos_tonearest_test_data): New variable.
9427 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9428
5c637fe5
SP
94292013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9430
9431 * benchtests/bench-skeleton.c (startup): Fix coding style.
9432
ab2b9461
JM
94332013-05-10 Joseph Myers <joseph@codesourcery.com>
9434
9435 [BZ #6809]
9436 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9437 negative infinity argument.
9438 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9439 negative infinity argument.
9440 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9441 negative infinity argument.
9442 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9443 domain errors.
9444
4c0fe6fe
FW
94452013-05-10 Florian Weimer <fweimer@redhat.com>
9446
9447 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9448 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9449 * iconv/iconv_prog.c (main): Likewise.
9450 * locale/programs/charmap-dir.c (charmap_readdir)
9451 (fopen_uncompressed): Likewise.
9452 * locale/programs/locfile.c (siblings_uncached)
9453 (write_locale_data): Use lstat64 instead of lstat.
9454 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9455 stat.
9456
a3375d29
AJ
94572013-05-10 Andreas Jaeger <aj@suse.de>
9458
9459 [BZ #15395]
9460 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9461 localization.
9462 Include <locale.h>.
9463
36129722
CD
94642013-05-09 Carlos O'Donell <carlos@redhat.com>
9465
9466 * elf/dl-close.c (_dl_close_worker): Add comments.
9467
faa7f811
JM
94682013-05-09 Joseph Myers <joseph@codesourcery.com>
9469
ed41ffef
JM
9470 [BZ #15359]
9471 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9472 high part of pi/2.
9473 (__ieee754_rem_pio2l): Update comments.
9474
d0213cd0
JM
9475 [BZ #15429]
9476 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9477 high part of pi/2.
9478 (__ieee754_rem_pio2l): Update comments.
9479
0d3e777a
JM
9480 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9481 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9482
24f56066
JM
9483 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9484 M_PI_4l.
9485
faa7f811
JM
9486 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9487 (M_PI_34_LOG10El): Likewise.
9488 (M_PI2_LOG10El): Likewise.
9489 (M_PI4_LOG10El): Likewise.
9490 (M_PI_LOG10El): Likewise.
9491
e9a5e0fd
AZ
94922013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9493
9494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9495
d8cd06db
JM
94962013-05-08 Joseph Myers <joseph@codesourcery.com>
9497
a0d9f9d7
JM
9498 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9499 (MINUS_ZERO_INIT): Likewise.
9500 (PLUS_INFTY_INIT): Likewise.
9501 (MINUS_INFTY_INIT): Likewise.
9502 (QNAN_VALUE_INIT): Likewise.
9503 (MAX_VALUE_INIT): Likewise.
9504 (MIN_VALUE_INIT): Likewise.
9505 (MIN_SUBNORM_VALUE_INIT): Likewise.
9506 (plus_zero): Initialize with PLUS_ZERO_INIT.
9507 (minus_zero): Initialize with MINUS_ZERO_INIT.
9508 (plus_infty): Initialize with PLUS_INFTY_INIT.
9509 (minus_infty): Initialize with MINUS_INFTY_INIT.
9510 (qnan_value): Initialize with QNAN_VALUE_INIT.
9511 (max_value): Initialize with MAX_VALUE_INIT.
9512 (min_value): Initialize with MIN_VALUE_INIT.
9513 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9514
ae08db3b
JM
9515 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9516 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9517 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9518 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9519
f44bf14a
JM
9520 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9521 (RUN_TEST_2_f): Likewise.
9522 (RUN_TEST_ff_f): Likewise.
9523 (RUN_TEST_fi_f): Likewise.
9524 (RUN_TEST_fl_f): Likewise.
9525 (RUN_TEST_fff_f): Likewise.
9526 (RUN_TEST_c_f): Likewise.
9527 (RUN_TEST_f_f1): Likewise.
9528 (RUN_TEST_fF_f1): Likewise.
9529 (RUN_TEST_fI_f1): Likewise.
9530 (RUN_TEST_ffI_f1): Likewise.
9531 (RUN_TEST_c_c): Likewise.
9532 (RUN_TEST_cc_c): Likewise.
9533 (RUN_TEST_f_i): Likewise.
9534 (RUN_TEST_f_i_tg): Likewise.
9535 (RUN_TEST_ff_i_tg): Likewise.
9536 (RUN_TEST_f_b): Likewise.
9537 (RUN_TEST_f_b_tg): Likewise.
9538 (RUN_TEST_f_l): Likewise.
9539 (RUN_TEST_f_L): Likewise.
9540 (RUN_TEST_sincos): Likewise.
9541 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9542 whether to show exceptions. Do not include ");\n" in return
9543 value.
9544 (special_functions): Output call to RUN_TEST_sincos instead of
9545 check_float calls. Update calls to new_test.
9546 (parse_args): Output call to single RUN_TEST_* macro instead of
9547 check_* calls and other assignments. Update calls to new_test.
9548
d8cd06db
JM
9549 [BZ #2546]
9550 [BZ #2560]
9551 [BZ #5159]
9552 [BZ #15426]
9553 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9554 input to result for tgamma overflow.
9555 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9556 (gamma_coeff): New variable.
9557 (NCOEFF): New macro.
9558 (gamma_positive): New function.
9559 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9560 underflow here. Use gamma_positive instead of exp (lgamma) for
9561 other arguments.
9562 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9563 (gamma_coeff): New variable.
9564 (NCOEFF): New macro.
9565 (gammaf_positive): New function.
9566 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9567 underflow here. Use gamma_positive instead of exp (lgamma) for
9568 other arguments.
9569 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9570 (gamma_coeff): New variable.
9571 (NCOEFF): New macro.
9572 (gammal_positive): New function.
9573 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9574 underflow here. Use gamma_positive instead of exp (lgamma) for
9575 other arguments.
9576 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9577 (gamma_coeff): New variable.
9578 (NCOEFF): New macro.
9579 (gammal_positive): New function.
9580 (__ieee754_gammal_r): Handle positive infinity, overflow and
9581 underflow here. Handle NaN the same as positive infinity. Remove
9582 check x < 0xffffffff for negative integers. Use gamma_positive
9583 instead of exp (lgamma) for other arguments.
9584 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9585 (gamma_coeff): New variable.
9586 (NCOEFF): New macro.
9587 (gammal_positive): New function.
9588 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9589 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9590 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9591 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9593 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9594 * sysdeps/generic/math_private.h (__gamma_productf): New
9595 prototype.
9596 (__gamma_product): Likewise.
9597 (__gamma_productl): Likewise.
9598 * math/Makefile (libm-calls): Add gamma_product.
9599 * math/libm-test.inc (tgamma_test): Add more tests.
9600 * sysdeps/i386/fpu/libm-test-ulps: Update.
9601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9602
bb7cf681
OB
96032013-05-08 Ondřej Bílka <neleai@seznam.cz>
9604
9605 * benchtests/bench-skeleton.c (main): Preheat CPU.
9606
ba853947
AJ
96072013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9608
9609 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9610
8347c74c
RM
96112013-05-07 Roland McGrath <roland@hack.frob.com>
9612
9613 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9614 and _dl_skip_args_internal.
9615
e8dd4791
CD
96162013-05-07 Carlos O'Donell <carlos@redhat.com>
9617
9618 * manual/message.texi (Message Translation): Talk about users.
9619 Message to key mapping impacts design.
9620
c7405830
RM
96212013-05-06 Roland McGrath <roland@hack.frob.com>
9622
a9173057
RM
9623 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9624
976e2f03
RM
9625 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9626
9723ffc5
RM
9627 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9628 * sysdeps/wordsize-64/glob64.c: ... here.
9629
962e6658
RM
9630 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
9631 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
9632 New macros.
9633
ee586a6d
RM
9634 * debug/getlogin_r_chk.c: Moved to ...
9635 * login/getlogin_r_chk.c: ... here.
9636 * debug/Makefile (routines): Move getlogin_r_chk to ...
9637 * login/Makefile (routines): ... here.
9638 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
9639 * login/Versions (libc: GLIBC_2.4): ... here.
9640
355f9165
RM
9641 * io/poll.c (__poll): Renamed from poll.
9642 Add libc_hidden_def.
9643 (poll): Define as weak alias.
9644
bd9ffde6
RM
9645 * debug/ptsname_r_chk.c: Moved to ...
9646 * login/ptsname_r_chk.c: ... here.
9647 * debug/Makefile (routines): Move ptsname_r_chk to ...
9648 * login/Makefile (routines): ... here.
9649 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
9650 * login/Versions (libc: GLIBC_2.4): ... here.
9651
8fb16a04
RM
9652 * posix/getlogin.c: Moved to ...
9653 * login/getlogin.c: ... here.
9654 * posix/getlogin_r.c: Moved to ...
9655 * login/getlogin_r.c: ... here.
9656 * posix/getlogin_r.c: Moved to ...
9657 * login/getlogin_r.c: ... here.
9658 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
9659 * login/Makefile (routines): ... here.
9660 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
9661 * login/Versions (libc: GLIBC_2.0): ... here.
9662
b99b892f
RM
9663 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
9664 (setrlimit): Define as weak alias.
9665
c7405830
RM
9666 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
9667 Call __ names for open, ftruncate, and close.
9668 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
9669 (truncate): Define as weak alias.
9670
5bf96de5
JM
96712013-05-06 Joseph Myers <joseph@codesourcery.com>
9672
9ea3513c
JM
9673 * math/gen-libm-test.pl (parse_args): Initialize x before each
9674 test of frexp, modf and remquo.
9675
5bf96de5
JM
9676 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
9677 test signgam value.
9678
16e616a7
AZ
96792013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9680
9681 [BZ #15418]
9682 [BZ #15419]
9683 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
9684 internal tests.
9685 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9686
d5e82754
RM
96872013-05-06 Roland McGrath <roland@hack.frob.com>
9688
9689 * elf/dl-writev.h: New file.
9690 * elf/dl-misc.c: Include it.
9691 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
9692 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
9693
a7548d41
JM
96942013-05-04 Joseph Myers <joseph@codesourcery.com>
9695
b7dab1e4
JM
9696 * math/libm-test.inc (noXFails): Remove variable.
9697 (noXPasses): Likewise.
9698 (BUILD_COMPLEX_INT): Remove macro.
9699 (print_screen): Remove xfail argument.
9700 (print_screen_max_error): Likewise.
9701 (update_stats): Likewise.
9702 (print_max_error): Likewise. Update calls to other affected
9703 functions.
9704 (print_complex_max_error): Likewise.
9705 (test_single_exception): Update calls to print_screen.
9706 (test_single_errno): Likewise.
9707 (check_float_internal): Remove xfail argument. Update calls to
9708 other affected functions.
9709 (check_float): Likewise.
9710 (check_complex): Likewise.
9711 (check_int): Likewise.
9712 (check_long): Likewise.
9713 (check_bool): Likewise.
9714 (check_longlong): Likewise.
9715 (main): Don't print noXFails and noXPasses.
9716 * math/gen-libm-test.pl (top level): Don't mention expected
9717 failure handling in comment.
9718 (new_test): Don't handle expected failures.
9719 (parse_args): Don't mention expected failure handling in comment.
9720 (generate_testfile): Don't handle expected failures.
9721 (parse_ulps): Likewise.
9722 (print_ulps_file): Likewise.
9723 (get_failure): Remove function.
9724 (output_test): Don't handle expected failures.
9725 * make/README.libm-test: Don't mention expected failure handling.
9726
a7548d41
JM
9727 * math/libm-test.inc (plus_zero): Make const. Add initializer.
9728 (minus_zero): Likewise.
9729 (plus_infty): Likewise.
9730 (minus_infty): Likewise.
9731 (qnan_value): Likewise.
9732 (max_value): Likewise.
9733 (min_value): Likewise.
9734 (min_subnorm_value): Likewise.
9735 (initialize): Do not initialize those variables dynamically.
9736
60bfd54c
RM
97372013-05-03 Roland McGrath <roland@hack.frob.com>
9738
cc0e6ed8
RM
9739 * io/open.c (__open_2): Moved to ...
9740 * io/open_2.c: ... this new file.
9741 * io/open64.c (__open64_2): Moved to ...
9742 * io/open64_2.c: ... this new file.
9743 * io/openat.c (__openat_2): Moved to ...
9744 * io/openat_2.c: ... this new file.
9745 * io/openat64.c (__openat64_2): Moved to ...
9746 * io/openat64_2.c: ... this new file.
9747 * io/Makefile (routines): Add them.
9748 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
9749 * sysdeps/unix/sysv/linux/open_2.c: File removed.
9750 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
9751 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
9752 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
9753 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
9754 (__openat64): Add hidden_ver.
9755 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
9756 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
9757
60bfd54c
RM
9758 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
9759 Separately conditionalize setting of GLRO(dl_sysinfo) so
9760 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
9761 as well, but the actual setting is only under [NEED_DL_SYSINFO].
9762
83e7640f
AZ
97632013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9764
9765 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
9766 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
9767 definition.
9768 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
9769 * sysdeps/unix/sysv/linux/powerpc/init-first.c
9770 (_libc_vdso_platform_setup): Add __vdso_time initialization.
9771 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
9772 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
9773
d5dc2af3
JM
97742013-05-03 Joseph Myers <joseph@codesourcery.com>
9775
c31a5b1e
JM
9776 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
9777 test signgam value.
9778
d5dc2af3
JM
9779 * math/libm-test.inc (hypot_test): Do not use
9780 IGNORE_ZERO_INF_SIGN.
9781
164fd39d
AJ
97822013-05-03 Andreas Jaeger <aj@suse.de>
9783
9784 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
9785 Linux 3.9.
9786 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
9787 (PF_MAX): Adjust for VSOCK change.
9788
8237f48c
AZ
97892013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9790
9791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9792
9df02941
CD
97932013-05-02 Carlos O'Donell <carlos@redhat.com>
9794
9795 [BZ #15264]
9796 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
9797 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
9798 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
9799
d422395e
DM
98002013-05-02 David S. Miller <davem@davemloft.net>
9801
9802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9803
a07c5731
OB
98042013-05-01 Ondřej Bílka <neleai@seznam.cz>
9805
9806 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
9807
1324e37f
RM
98082013-05-01 Roland McGrath <roland@hack.frob.com>
9809
9810 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
9811
0695940b
RS
98122013-05-01 Richard Smith <richard@metafoo.co.uk>
9813
bb5f27ad 9814 [BZ #14952]
0695940b
RS
9815 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
9816 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9817 Use __attribute__ ((__gnu_inline__)).
9818 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
9819 Don't use __attribute__ ((__gnu_inline__)).
9820
10de07f5
JM
98212013-05-01 Joseph Myers <joseph@codesourcery.com>
9822
9823 [BZ #15423]
9824 * math/s_catan.c (__catan): Handle small real or imaginary part of
9825 input specially to avoid spurious underflow.
9826 * math/s_catanf.c (__catanf): Likewise.
9827 * math/s_catanh.c (__catanh): Likewise.
9828 * math/s_catanhf.c (__catanhf): Likewise.
9829 * math/s_catanhl.c (__catanhl): Likewise.
9830 * math/s_catanl.c (__catanl): Likewise.
9831 * math/libm-test.inc (catan_test): Add more tests.
9832 (catanh_test): Likewise.
9833 * sysdeps/i386/fpu/libm-test-ulps: Update.
9834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9835
cb4d5414
AZ
98362013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9837
9838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9839
caf84319
JM
98402013-04-30 Joseph Myers <joseph@codesourcery.com>
9841
9842 [BZ #15416]
9843 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
9844 accurately for denominator in atan2.
9845 * math/s_catanf.c (__catanf): Likewise.
9846 * math/s_catanh.c (__catanh): Likewise.
9847 * math/s_catanhf.c (__catanhf): Likewise.
9848 * math/s_catanhl.c (__catanhl): Likewise.
9849 * math/s_catanl.c (__catanl): Likewise.
9850 * math/libm-test.inc (catan_test): Add more tests.
9851 (catanh_test): Likewise.
9852 * sysdeps/i386/fpu/libm-test-ulps: Update.
9853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9854
d569c6ee
SP
98552013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9856
6dbe713d
SP
9857 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
9858
f0ee064b
SP
9859 * benchtests/Makefile (bench): Remove slow benchmarks.
9860 * benchtests/atan-inputs: Add slow benchmark inputs.
9861 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
9862 (BENCH_FUNC): Accept variant offset.
9863 (VARIANT): Define.
9864 * benchtests/bench-skeleton.c (main): Run benchmark for each
9865 variant.
9866 * benchtests/cos-inputs: Add slow benchmark inputs.
9867 * benchtests/exp-inputs: Likewise.
9868 * benchtests/pow-inputs: Likewise.
9869 * benchtests/sin-inputs: Likewise.
9870 * benchtests/slowatan-inputs: Remove.
9871 * benchtests/slowatan.c: Remove.
9872 * benchtests/slowcos-inputs: Remove.
9873 * benchtests/slowcos.c: Remove.
9874 * benchtests/slowexp-inputs: Remove.
9875 * benchtests/slowexp.c: Remove.
9876 * benchtests/slowpow-inputs: Remove.
9877 * benchtests/slowpow.c: Remove.
9878 * benchtests/slowsin-inputs: Remove.
9879 * benchtests/slowsin.c: Remove.
9880 * benchtests/slowtan-inputs: Remove.
9881 * benchtests/slowtan.c: Remove.
9882 * benchtests/tan-inputs: Add slow benchmark inputs.
9883 * scripts/bench.pl: Parse comments and directives.
9884
d569c6ee
SP
9885 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
9886 in CPPFLAGS.
9887 ($(objpfx)bench-%.c): Remove *-ITER.
9888 * benchtests/bench-modf.c: Remove definition of ITER.
9889 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
9890 (main): Loop for DURATION seconds instead of fixed number of
9891 iterations.
9892 * scripts/bench.pl: Don't expect iterations in parameters.
9893
a6a242fe
RM
98942013-04-29 Roland McGrath <roland@hack.frob.com>
9895
9896 * io/fchdir.c (__fchdir): Renamed from fchdir.
9897 (fchdir): Define as weak alias.
9898
f2da7793
JM
98992013-04-29 Joseph Myers <joseph@codesourcery.com>
9900
9901 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
9902 (ERRNO_EDOM): Likewise.
9903 (ERRNO_ERANGE): Likewise.
9904 (noErrnoTests): New variable.
9905 (init_max_error): Set errno to 0.
9906 (test_single_errno): New function.
9907 (test_errno): Likewise.
9908 (check_float_internal): Call test_errno. Set errno to 0.
9909 (check_complex): Refer to errno tests in comment.
9910 (check_int): Call test_errno. Set errno to 0.
9911 (check_long): Likewise.
9912 (check_bool): Likewise.
9913 (check_longlong): Likewise.
9914 (cos_test): Use ERRNO_* flags for errno tests instead of
9915 check_int.
9916 (expm1_test): Likewise.
9917 (fmod_test): Likewise.
9918 (ilogb_test): Likewise.
9919 (lgamma_test): Likewise.
9920 (pow_test): Likewise.
9921 (remainder_test): Likewise.
9922 (sin_test): Likewise.
9923 (tan_test): Likewise.
9924 (yn_test): Likewise.
9925 (initialize): Set errno to 0.
9926 (main): Print number of errno tests.
9927 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
9928
b1a36ceb
AJ
99292013-04-29 Andreas Jaeger <aj@suse.de>
9930
c3ed8088
AJ
9931 [BZ #15084]
9932 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
9933 and RES_USEVC.
9934
f1a24198
AJ
9935 [BZ #15085]
9936 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
9937 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
9938 unimplemented.
9939
9ce3b2cb
AJ
9940 [BZ #15380]
9941 * stdlib/random.c (__initstate): Return NULL if
9942 __initstate fails.
9943
f1a24198 9944 [BZ #15086]
b1a36ceb
AJ
9945 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
9946 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
9947 RES_SNGLKUPREOP.
9948
7e7b6f36
AZ
99492013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9950
9951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9952
4d14f449
JM
99532013-04-29 Joseph Myers <joseph@codesourcery.com>
9954
9955 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
9956 of individual tests.
9957 (casin_test): Likewise.
9958 (casinh_test): Likewise.
9959
5b4217d7
JM
99602013-04-27 Joseph Myers <joseph@codesourcery.com>
9961
9962 [BZ #15409]
9963 * math/s_catan.c (__catan): Handle arguments with large real or
9964 imaginary part separately without squaring.
9965 * math/s_catanf.c (__catanf): Likewise.
9966 * math/s_catanh.c (__catanh): Likewise.
9967 * math/s_catanhf.c (__catanhf): Likewise.
9968 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9969 and redefine.
9970 (__catanhl): Handle arguments with large real or imaginary part
9971 separately without squaring.
9972 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
9973 and redefine.
9974 (__catanl): Handle arguments with large real or imaginary part
9975 separately without squaring.
9976 * math/libm-test.inc (catan_test): Add more tests.
9977 (catanh_test): Likewise.
9978 * sysdeps/i386/fpu/libm-test-ulps: Update.
9979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9980
4220c3ef
AJ
99812013-04-27 Andreas Jaeger <aj@suse.de>
9982
9983 [BZ #15007]
9984 * stdlib/stdlib.h: Update guards for qecvt.
9985 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
9986 <stdlib.h>.
9987
4721b2d1
AM
99882013-04-27 Allan McRae <allan@archlinux.org>
9989
9990 * sysdeps/i386/fpu/libm-test-ulps: Update.
9991
f0302940
JM
99922013-04-26 Joseph Myers <joseph@codesourcery.com>
9993
9457fd95
JM
9994 [BZ #15406]
9995 * math/s_catan.c: Include <float.h>.
9996 (__catan): Ensure underflow exception occurs for underflowed
9997 result.
9998 * math/s_catanf.c: Include <float.h>.
9999 (__catanf): Ensure underflow exception occurs for underflowed
10000 result.
10001 * math/s_catanh.c: Include <float.h>.
10002 (__catanh): Ensure underflow exception occurs for underflowed
10003 result.
10004 * math/s_catanhf.c: Include <float.h>.
10005 (__catanhf): Ensure underflow exception occurs for underflowed
10006 result.
10007 * math/s_catanhl.c: Include <float.h>.
10008 (__catanhl): Ensure underflow exception occurs for underflowed
10009 result.
10010 * math/s_catanl.c: Include <float.h>.
10011 (__catanl): Ensure underflow exception occurs for underflowed
10012 result.
10013 * math/libm-test.inc (catan_test): Add more tests.
10014 (catanh_test): Likewise.
10015
f0302940
JM
10016 [BZ #15405]
10017 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10018 underflowed result.
10019 * math/s_ccoshf.c (__ccoshf): Likewise.
10020 * math/s_ccoshl.c (__ccoshl): Likewise.
10021 * math/s_csin.c (__csin): Likewise.
10022 * math/s_csinf.c (__csinf): Likewise.
10023 * math/s_csinh.c (__csinh): Likewise.
10024 * math/s_csinhf.c (__csinhf): Likewise.
10025 * math/s_csinhl.c (__csinhl): Likewise.
10026 * math/s_csinl.c (__csinl): Likewise.
10027 * math/libm-test.inc (ccos_test): Add more tests.
10028 (ccosh_test): Likewise.
10029 (csin_test): Likewise.
10030 (csinh_test): Likewise.
10031
aa630f59
AZ
100322013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10033
10034 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10035 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10036 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10037 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10038 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10039 powerpc/power5+/fpu folders.
10040 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10041
10042
1b835983
MT
100432013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10044
10045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10046
73709b26
JM
100472013-04-25 Joseph Myers <joseph@codesourcery.com>
10048
10049 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10050 additions to variable.
10051 [$(config-machine) = x86_64] (modules-names): Likewise.
10052 ($(objpfx)tst-audit3): Remove dependency.
10053 ($(objpfx)tst-audit3.out): Likewise.
10054 ($(objpfx)tst-audit4): Likewise.
10055 ($(objpfx)tst-audit4.out): Likewise.
10056 ($(objpfx)tst-audit5): Likewise.
10057 ($(objpfx)tst-audit5.out): Likewise.
10058 ($(objpfx)tst-audit6): Likewise.
10059 ($(objpfx)tst-audit6.out): Likewise.
10060 ($(objpfx)tst-audit7): Likewise.
10061 ($(objpfx)tst-audit7.out): Likewise.
10062 (tst-audit3-ENV): Remove variable.
10063 (tst-audit4-ENV): Likewise.
10064 (tst-audit5-ENV): Likewise.
10065 (tst-audit6-ENV): Likewise.
10066 (tst-audit7-ENV): Likewise.
10067 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10068 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10069 addition to variable.
10070 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10071 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10072 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10073 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10074 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10075 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10076 tst-audit3, tst-audit4 and tst-audit5.
10077 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10078 tst-audit6 and tst-audit7.
10079 [$(subdir) = elf] (modules-names): Add audit modules for those
10080 tests.
10081 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10082 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10083 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10084 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10085 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10086 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10087 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10088 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10089 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10090 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10091 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10092 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10093 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10094 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10095 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10096 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10097 Likewise.
10098 [$(subdir) = elf && $(config-cflags-avx) = yes]
10099 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10100 [$(subdir) = elf && $(config-cflags-avx) = yes]
10101 (CFLAGS-tst-auditmod4a.c): Likewise.
10102 [$(subdir) = elf && $(config-cflags-avx) = yes]
10103 (CFLAGS-tst-auditmod4b.c): Likewise.
10104 [$(subdir) = elf && $(config-cflags-avx) = yes]
10105 (CFLAGS-tst-auditmod6b.c): Likewise.
10106 [$(subdir) = elf && $(config-cflags-avx) = yes]
10107 (CFLAGS-tst-auditmod6c.c): Likewise.
10108 [$(subdir) = elf && $(config-cflags-avx) = yes]
10109 (CFLAGS-tst-auditmod7b.c): Likewise.
10110 * elf/tst-audit3.c: Move to ...
10111 * sysdeps/x86_64/tst-audit3.c: ... here.
10112 * elf/tst-audit4.c: Move to ...
10113 * sysdeps/x86_64/tst-audit4.c: ... here.
10114 * elf/tst-audit5.c: Move to ...
10115 * sysdeps/x86_64/tst-audit5.c: ... here.
10116 * elf/tst-audit6.c: Move to ...
10117 * sysdeps/x86_64/tst-audit6.c: ... here.
10118 * elf/tst-audit7.c: Move to ...
10119 * sysdeps/x86_64/tst-audit7.c: ... here.
10120 * elf/tst-auditmod3a.c: Move to ...
10121 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10122 * elf/tst-auditmod3b.c: Move to ...
10123 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10124 * elf/tst-auditmod4a.c: Move to ...
10125 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10126 * elf/tst-auditmod4b.c: Move to ...
10127 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10128 * elf/tst-auditmod5a.c: Move to ...
10129 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10130 * elf/tst-auditmod5b.c: Move to ...
10131 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10132 * elf/tst-auditmod6a.c: Move to ...
10133 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10134 * elf/tst-auditmod6b.c: Move to ...
10135 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10136 * elf/tst-auditmod6c.c: Move to ...
10137 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10138 * elf/tst-auditmod7a.c: Move to ...
10139 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10140 * elf/tst-auditmod7b.c: Move to ...
10141 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10142
1ef74943
PP
101432013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10144
10145 [BZ #15366]
10146 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10147 define unconditionally.
10148 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10149 define unconditionally.
10150 (INT8_C, INT16_C, etc.): Likewise.
10151
93fd48c5
MR
101522013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10153
ae9552cf
MR
10154 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10155 __ehdr_start with hidden visibility.
10156
93fd48c5
MR
10157 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10158
418601aa
CD
101592013-04-24 Carlos O'Donell <carlos@redhat.com>
10160
10161 * math/libm-test.inc (cos_test): Use accurate hex constants.
10162 (sincost_test): Likewise.
10163
2f38fbfe
JM
101642013-04-24 Joseph Myers <joseph@codesourcery.com>
10165
5e221800
JM
10166 * math/libm-test.inc (catan_test): Add more tests.
10167 (catanh_test): Likewise.
10168
77f143fd
JM
10169 * math/s_catanf.c (__catanf): Use suffixed floating-point
10170 constants.
10171 * math/s_catanhf.c (__catanhf): Likewise.
10172 * math/s_catanhl.c (__catanhl): Likewise.
10173 * math/s_catanl.c (__catanl): Likewise.
10174
2f38fbfe
JM
10175 [BZ #15394]
10176 * math/s_catan.c (__catan): Calculate imaginary part of result
10177 with log1p not log unless computing log of number close to 0.
10178 * math/s_catanf.c (__catanf): Likewise.
10179 * math/s_catanl.c (__catanl): Likewise.
10180 * math/s_catanh.c (__catanh): Calculate real part of result with
10181 log1p not log unless computing log of number close to 0.
10182 * math/s_catanhf.c (__catanhf): Likewise.
10183 * math/s_catanhl.c (__catanhl): Likewise.
10184 * math/libm-test.inc (catan_test): Add more tests.
10185 (catanh_test): Likewise.
10186 * sysdeps/i386/fpu/libm-test-ulps: Update.
10187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10188
45d69176
SP
101892013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10190
10191 * benchtests/Makefile: Mention files in which fast and slow
10192 paths of math functions are implemented.
10193
87f51853
RM
101942013-04-23 Roland McGrath <roland@hack.frob.com>
10195
10196 * sysdeps/posix/timespec_get.c: New file.
10197
3c026539
AZ
101982013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10199
10200 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10201 POWER.
10202 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10203 for POWER.
10204 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10205 powerpc/power5/fpu folders.
10206 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10207 * benchtests/Makefile: Add modf testcase.
10208 * benchtests/bench-modf.c: New file: Benchmark test for mo
10209
ff491d14
SP
102102013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10211
10212 [BZ #14888]
10213 * time/Makefile (tests): Add tst-strptime-whitespace.
10214 * time/strptime_l.c (get_number): Use ISSPACE.
10215 (__strptime_internal): Likewise.
10216 * time/tst-strptime-whitespace.c: New test case.
10217
7ed3f4e8
AS
102182013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10219
10220 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10221 member.
10222 (_nss_files_init): Set it here.
10223
5c95f7b6
HC
102242013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10225
10226 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10227 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10228 unsigned.
10229
d34c9158
JBG
102302013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10231
10232 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10233
2169712d
SP
102342013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10235
10236 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10237 size just once.
10238
29c5de99
DM
102392013-04-21 David S. Miller <davem@davemloft.net>
10240
10241 * po/ru.po: Update Russion translation from translation project.
10242
ccdad15d
AC
102432013-04-17 Adam Conrad <adconrad@0c3.net>
10244
10245 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10246 and setfsgid.
10247
0f122b8d
CD
102482013-04-17 Carlos O'Donell <carlos@redhat.com>
10249
5c5b07da 10250 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 10251 * configure: Regenerate.
5c5b07da 10252 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
10253 Add example to error message.
10254 * sysdeps/i386/configure: Regenerate.
10255
037714dd
SP
102562013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10257
10258 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10259 slowtan.
10260 * benchtests/cos-inputs: New file.
10261 * benchtests/slowcos-inputs: New file.
10262 * benchtests/slowcos.c: New file.
10263 * benchtests/slowtan-inputs: New file.
10264 * benchtests/slowtan.c: New file.
10265 * benchtests/tan-inputs: New file.
10266
e913141d
RM
102672013-04-16 Roland McGrath <roland@hack.frob.com>
10268
10269 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10270 considered kosher.
10271
a2964074
SP
102722013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10273
4856bcd2
SP
10274 * benchtests/Makefile: Include cppflags-iterator.mk to add
10275 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10276
a2964074
SP
10277 * Makefile.in (bench-clean): New target.
10278 * benchtests/Makefile (bench-clean): Likewise.
10279
9fbf9aca
DH
102802013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10281
10282 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10283
207d1e2a
TS
102842013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10285
10286 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10287
306dfba9
AS
102882013-04-15 Andreas Schwab <schwab@suse.de>
10289
10290 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10291 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10292 * nscd/pwdcache.c (cache_addpw): Likewise.
10293 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10294 more than recsize.
10295
206a6699
SP
102962013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10297
10298 * benchtests/Makefile (bench): Write all output to
10299 bench-out.tmp together.
10300
0582f6b3
AS
103012013-04-15 Andreas Schwab <schwab@suse.de>
10302
10303 * nscd/nscd.c (main): Don't fork again after closing files.
10304
acb4325f
SP
103052013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10306
5cb26d0a
SP
10307 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10308
acb4325f
SP
10309 * benchtests/Rules (bench-deps): Collect dependencies into a
10310 single variable. Add Makefile to dependencies.
10311 ($(objpfx)bench-%.c): Depend on bench-deps.
10312
47792506
RM
103132013-04-12 Roland McGrath <roland@hack.frob.com>
10314 Xavier Roche <roche+kml2@exalead.com>
10315
10316 [BZ #15361]
10317 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10318 just that it's a file descriptor.
10319 * manual/llio.texi (Synchronizing AIO Operations): Update description
10320 for EBADF error from aio_fsync.
10321
8fc1bee5
SP
103222013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10323
10324 * Rules (bench): Move target definition...
10325 * benchtests/Makefile: ... here.
10326
aba5e333
CD
103272013-04-11 Carlos O'Donell <carlos@redhat.com>
10328
10329 * math/libm-test.inc (cos_test): Fix PI/2 test.
10330 (sincos_test): Likewise.
10331 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10332 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10333
273cdee8
AS
103342013-04-11 Andreas Schwab <schwab@suse.de>
10335
6ecec3b6
AS
10336 [BZ #13988]
10337 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10338 accept exponent character only when digits were seen.
10339 * stdio-common/Makefile (tests): Add bug26.
10340 * stdio-common/bug26.c: New file.
10341
273cdee8
AS
10342 [BZ #14293]
10343 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10344 non-freeable.
10345
8da491f5
SP
103462013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10347
01dc6df9
SP
10348 * Makeconfig (rtld-prefix): Define built linker prefix.
10349 * Rules (run-bench): Use it.
10350 * math/Makefile (run-regen-ulps): Likewise.
10351
8da491f5
SP
10352 * Rules (bench): Remove eval.
10353
abe7f530
SP
103542013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10355 Roland McGrath <roland@hack.frob.com>
10356 Ondrej Bilka <neleai@seznam.cz>
10357
10358 [BZ #15346]
10359 * time/getdate.c: Include ctype.h and alloca.h.
10360 (__getdate_r): Trim leading and trailing spaces of input.
10361 * time/tst-getdate.c (tests): Add tests with leading and
10362 trailing spaces.
10363
61c23e62
RM
103642013-04-08 Roland McGrath <roland@hack.frob.com>
10365
10366 [BZ #14280]
10367 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10368 when computing value.
10369
7208a313
CD
103702013-04-06 Carlos O'Donell <carlos@redhat.com>
10371
085b2d41
CD
10372 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10373 Use testrun.sh to run libm tests.
10374
7208a313
CD
10375 [BZ #15309]
10376 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10377
872c0acd
MM
103782013-04-06 Marko Myllynen <myllynen@redhat.com>
10379
10380 [BZ #15264]
10381 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10382
26510bdd
CD
103832013-04-06 Carlos O'Donell <carlos@redhat.com>
10384
10385 * Makefile.in (regen-ulps): New target.
10386 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10387 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10388 [ifneq (no,$(PERL)] (regen-ulps): New target.
10389 [ifeq (no,$(PERL)] (regen-ulps): New target.
10390 * math/libm-test.inc (ulps_file_name): Define.
10391 (output_dir): New variable.
10392 (options): Add "output-dir" option.
10393 (parse_opt): Handle 'o' case.
10394 (main): If output_dir is non-NULL use it as a prefix
10395 otherwise use "".
10396 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10397
a01f19c8
CD
103982013-04-06 Carlos O'Donell <carlos@redhat.com>
10399
10400 [BZ #10060, #10062]
10401 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10402 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10403 fail configure if __sync_val_compare_and_swap is not inlined.
10404 * sysdeps/i386/configure: Regenerate.
10405 * configure.in: Build for i686 when configured for i386.
10406 * configure: Regenerate.
10407 * README: Remove i386 reference.
10408
b7a329a5
CD
104092013-04-06 Carlos O'Donell <carlos@redhat.com>
10410
10411 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10412 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10413
bf0f50df
TS
104142013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10415
ee091edf
TS
10416 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10417 (lmsnanval): New variables.
10418 (F): Add conversion tests.
10419 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10420 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10421
a8b792d6
TS
10422 * stdio-common/tstdiomisc.c (F): Properly collect individual
10423 tests' results.
10424
a1cbf437
TS
10425 [BZ #14686, #15336]
10426 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10427 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10428 Instead, use input NaN values or generate a qNaN by arithmetic
10429 operation. Also fix bugs to comply with the standard.
10430 * math/libm-test.inc (remainder_test): Add more tests.
10431
8b43a0c9
TS
10432 [BZ #15335, #15342]
10433 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10435 input NaN values or generate a qNaN by arithmetic operation.
10436
d91da4ce
TS
10437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10438 unreachable code.
10439
bf0f50df
TS
10440 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10441 definitions.
10442
05e166c8
JM
104432013-04-03 Joseph Myers <joseph@codesourcery.com>
10444
10445 [BZ #14478]
10446 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10447 underflowed result.
10448 * math/s_cexpf.c (__cexpf): Likewise.
10449 * math/s_cexpl.c (__cexpl): Likewise.
10450 * math/libm-test.inc (cexp_test): Add more tests.
10451
1cef1b19
AS
104522013-04-03 Andreas Schwab <schwab@suse.de>
10453
10454 [BZ #15330]
10455 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10456 order arrays from heap if bigger than alloca cutoff.
10457
74d87055
TS
104582013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10459
10460 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10461 (SNAN_TESTS_double): Refer to GCC PR56831.
10462 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10463 GCC PR56828.
10464
d755bba4
SP
104652013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10466
90d5d5bb
SP
10467 * Rules (bench): Move bench.out after the run is complete.
10468
73e0cd5d
SP
10469 * Rules (bench): Echo currently running benchmark.
10470
64aabd4b
SP
10471 * benchtests/Makefile (bench): Add atan and slowatan.
10472 * benchtests/atan-inputs: New file.
10473 * benchtests/slowatan-inputs: New file.
10474 * benchtests/slowatan.c: New file.
10475
c871eccd
SP
10476 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10477 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10478 its value.
10479
d755bba4
SP
10480 [BZ #15305]
10481 * sysdeps/unix/sysv/linux/kernel-features.h
10482 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10483 __ASSUME_XFS_RESTRICTED_CHOWN.
10484 * sysdeps/unix/sysv/linux/pathconf.c
10485 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10486 Save and restore errno.
10487
52ce4860
JM
104882013-04-02 Joseph Myers <joseph@codesourcery.com>
10489
10490 [BZ #15327]
10491 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10492 arguments using __kernel_casinh.
10493 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10494 arguments using __kernel_casinhf.
10495 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10496 arguments using __kernel_casinhl.
10497 * math/libm-test.inc (cacosh_test): Add more tests.
10498 * sysdeps/i386/fpu/libm-test-ulps: Update.
10499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10500
81f311c2
SP
105012013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10502
e7906a47
SP
10503 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10505
92e3664b
SP
10506 * bench/Makefile (bench): Add sin and slowsin.
10507 * benchtests/sin-inputs: New file.
10508 * benchtests/slowsin-inputs: New file.
10509 * benchtests/slowsin.c: New file.
10510
81f311c2
SP
10511 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10512 (bench): Add slowexp and slowpow.
10513 (exp-ITER): Increase iterations.
10514 (pow-ITER): Likewise.
10515 * benchtests/exp-inputs: Change input.
10516 * benchtests/pow-inputs: Likewise.
10517 * benchtests/slowexp-inputs: New file.
10518 * benchtests/slowexp.c: New file.
10519 * benchtests/slowpow-inputs: New file.
10520 * benchtests/slowpow.c: New file.
10521
ab0f1aa9
AZ
105222013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10523
10524 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10525 instructions.
10526 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10527 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10528 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10529 * benchtests/Makefile: Add rint benchtest.
10530 * benchtests/rint-inputs: Input for rint benchtest.
10531
57267616
TS
105322013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10533
10534 * Versions.def (libm): Add GLIBC_2.18.
10535 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10536 hidden libm prototypes.
10537 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10538 * math/Makefile (libm-calls): Add s_issignaling.
10539 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10540 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10541 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10542 declaration.
10543 * math/math.h [__USE_GNU] (issignaling): New macro.
10544 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10545 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10546 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10547 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10549 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10550 * manual/arith.texi (issignaling): New section.
10551 * manual/libm-err-tab.pl (@all_functions): Update comment.
10552 * math/gen-libm-test.pl (parse_args): Apply special handling for
10553 issignaling.
10554 * math/libm-test.inc (print_float, issignaling_test): New
10555 functions.
10556 (check_float_internal): Add issignaling checks.
10557 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10558 default definition.
10559 * sysdeps/powerpc/math-tests.h: New file.
10560 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10561 tests.
10562 * math/test-snan.c (TEST_FUNC): Likewise.
10563
6142896d
DM
105642013-03-30 David S. Miller <davem@davemloft.net>
10565
10566 * po/de.po: Update from translation team.
10567
ccc8cadf
JM
105682013-03-30 Joseph Myers <joseph@codesourcery.com>
10569
10570 [BZ #10357]
10571 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10572 imaginary part less than 1.0 and real part less than 0.5
10573 specially.
10574 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10575 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10576 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10577 (cacos_test): Add more tests.
10578 (casin_test): Likewise.
10579 (casinh_test): Likewise.
10580 * sysdeps/i386/fpu/libm-test-ulps: Update.
10581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10582
0f6a8d4b
SP
105832013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10584
0d1029de
SP
10585 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10586 ONE with its value.
10587
c2d94018
SP
10588 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10589 (__pow_mp): Replace ONE and MONE with their values.
10590 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10591 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10592 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10593 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10594 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10595 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10596
27ec37f1
SP
10597 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10598
a64d7e0e
SP
10599 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10600 (__pow_mp): Replace ZERO and MZERO with their values.
10601 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10602 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10603 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10604 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10605 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10606 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10607 (__sqr): Likewise.
10608
d26dd3eb
SP
10609 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10610
0f6a8d4b
SP
10611 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10612
e57b0c61
RM
106132013-03-28 Roland McGrath <roland@hack.frob.com>
10614
10615 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10616 Declare with __attribute__ ((weak)).
10617 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10618 Call __call_tls_dtors only if it's not NULL.
10619
356b3480
RM
106202013-03-28 Roland McGrath <roland@hack.frob.com>
10621
288f7d79
RM
10622 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10623 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10624 magic __ehdr_start linker symbol if it's defined.
10625 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10626 them up here if it was already done.
10627
dc0a0263
RM
10628 * elf/dl-support.c (_dl_phdr): Make pointer to const.
10629 (_dl_aux_init): Use const in cast when setting it.
10630 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
10631 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
10632 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
10633
3d3436ae
RM
10634 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
10635 Declare them here.
10636 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
10637 * csu/libc-tls.c: Nor here.
10638 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
10639
356b3480
RM
10640 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
10641 (__libc_message): Never call vsyslog.
10642
b0f1246a
AM
106432013-03-28 Alan Modra <amodra@gmail.com>
10644
10645 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
10646 Define as empty.
10647 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
10648 Likewise.
10649
fbbe2b9a
AZ
106502013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10651
10652 [BZ #15214]
10653 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
10654 underflow.
10655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10656
1728ab37
SP
106572013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10658
7a86be6e
SP
10659 [BZ #15304]
10660 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10661 Don't add gid passed as argument.
10662
1728ab37
SP
10663 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
10664
3a7182a1
JM
106652013-03-27 Joseph Myers <joseph@codesourcery.com>
10666
10667 [BZ #15307]
10668 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10669 imaginary part between 1.0 and 1.5 and real part less than 0.5
10670 specially.
10671 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10672 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10673 * math/libm-test.inc (cacos_test): Add more tests.
10674 (casin_test): Likewise.
10675 (casinh_test): Likewise.
10676 * sysdeps/i386/fpu/libm-test-ulps: Update.
10677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10678
6f2e90e7
SP
106792013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10680
5739f705
SP
10681 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
10682 constants.
10683 (norm): Likewise.
10684 (denorm): Likewise.
10685 (__dbl_mp): Likewise.
10686 (add_magnitudes): Likewise.
10687 (sub_magnitudes): Likewise.
10688 (__add): Likewise.
10689 (__sub): Likewise.
10690 (__mul): Likewise.
10691 (__sqr): Likewise.
10692 (__inv): Likewise.
10693 (__dvd): Likewise.
10694
e375e83d
SP
10695 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
10696 commented code.
10697 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
10698 (__dubcos): Likewise.
10699 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
10700 (__ieee754_acos): Likewise.
10701 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10702 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
10703 (__exp1): Likewise.
10704 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10705 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
10706 (log1): Likewise.
10707 (my_log2): Likewise.
10708 (checkint): Likewise.
10709 * sysdeps/ieee754/dbl-64/e_remainder.c
10710 (__ieee754_remainder): Likewise.
10711 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10712 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
10713 (bsloww): Likewise.
10714 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10715
6f2e90e7
SP
10716 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10717 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
10718 MANTISSA_STORE_T to store computations on mantissa. Use
10719 macros for rounding and division.
10720 (denorm): Likewise.
10721 (__dbl_mp): Likewise.
10722 (add_magnitudes): Likewise.
10723 (sub_magnitudes): Likewise.
10724 (__mul): Likewise.
10725 (__sqr): Likewise.
10726 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
10727 powers of two in terms of TWOPOW macro.
10728 (mp_no): Make type of mantissa as MANTISSA_T.
10729 [!RADIXI]: Define RADIXI.
10730 [!TWO52]: Define TWO52.
10731 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10732
fce14d4e
AZ
107332013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10734
10735 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
10736 llroundl symbol when building for PPC32.
10737
9ad027fb
MW
107382013-03-24 Mark H Weaver <mhw@netris.org>
10739
10740 * manual/arith.texi (Normalization Functions): Fix prototypes for
10741 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
10742
e42a38dd
AZ
107432013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10744
10745 [BZ #13889]
10746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
10747 high value to check if expl overflow.
10748 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
10749 to check for underflow and overflow.
10750 * math/libm-test.inc: Add exp test.
10751
2e0fb521
DL
107522013-03-21 Dmitry V. Levin <ldv@altlinux.org>
10753
10754 [BZ #11120]
10755 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
10756 with NOT_IN_libc.
10757
b5784d95
AZ
107582013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10759
10760 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
10761 symbol.
10762
5aa4a1a1
TS
107632013-03-21 Thomas Schwinge <thomas@codesourcery.com>
10764
bdef0be7
TS
10765 * math/gen-libm-test.pl (parse_args, special_functions): Properly
10766 wrap blocks consisting of several statements.
10767
5aa4a1a1
TS
10768 * sysdeps/generic/math-tests.h: New file.
10769 * sysdeps/i386/fpu/math-tests.h: Likewise.
10770 * math/test-snan.c: Include it.
10771 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
10772
98c48fe5
JM
107732013-03-21 Joseph Myers <joseph@codesourcery.com>
10774
10775 [BZ #15285]
10776 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
10777 (__ieee754_j0l): Do not improve calculations using cos of twice
10778 input for inputs above LDBL_MAX / 2.0L.
10779 (__ieee754_y0l): Likewise.
10780 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
10781 (__ieee754_j1l): Do not improve calculations using cos of twice
10782 input for inputs above LDBL_MAX / 2.0L.
10783 (__ieee754_y1l): Likewise.
10784 * math/libm-test.inc (j0_test): Add another test.
10785 (j1_test): Likewise.
10786 (y0_test): Likewise.
10787 (y1_test): Likewise.
10788 * sysdeps/i386/fpu/libm-test-ulps: Update.
10789
3775a8bc
SP
107902013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10791
10792 * Rules ($(objpfx)bench-%.c): Include code from a C source
10793 file.
10794
0a1b2ae6
JM
107952013-03-21 Joseph Myers <joseph@codesourcery.com>
10796
10797 [BZ #15287]
10798 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10799 imaginary part 1.0 and real part less than 0.5 specially.
10800 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10801 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10802 * math/libm-test.inc (cacos_test): Add more tests.
10803 (casin_test): Likewise.
10804 (casinh_test): Likewise.
10805 * sysdeps/i386/fpu/libm-test-ulps: Update.
10806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10807
b33d4ce4
SP
108082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10809
10810 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
10811 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
10812
bef0b507
JM
108132013-03-20 Joseph Myers <joseph@codesourcery.com>
10814
10815 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
10816 * config.make.in (config-cflags-sse4): Remove variable.
10817 (config-cflags-avx): Likewise.
10818 (config-cflags-sse2avx): Likewise.
10819 (config-cflags-novzeroupper): Likewise.
10820 (config-asflags-i686): Likewise.
10821 (have-mfma4): Likewise.
10822 (have-as-vis3): Likewise.
10823 (MIG): Likewise.
10824 * configure.in (MIG): Do not AC_SUBST.
10825 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
10826 (libc_cv_cc_sse4): Do not AC_SUBST.
10827 (libc_cv_cc_avx): Likewise.
10828 (libc_cv_cc_sse2avx): Likewise.
10829 (libc_cv_cc_novzeroupper): Likewise.
10830 (libc_cv_cc_fma4): Likewise.
10831 (libc_cv_as_i686): Likewise.
10832 (libc_cv_sparc_as_vis3): Likewise.
10833 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
10834 LIBC_CONFIG_VAR.
10835 (config-asflags-i686): Likewise.
10836 (config-cflags-avx): Likewise.
10837 (config-cflags-sse2avx): Likewise.
10838 (have-mfma4): Likewise.
10839 (config-cflags-novzeroupper): Likewise.
10840 * sysdeps/mach/configure.in (MIG): Likewise.
10841 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
10842 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
10843 LIBC_CONFIG_VAR.
10844 (config-cflags-avx): Likewise.
10845 (config-cflags-sse2avx): Likewise.
10846 (have-mfma4): Likewise.
10847 (config-cflags-novzeroupper): Likewise.
10848 * configure: Regenerated.
10849 * sysdeps/i386/configure: Likewise.
10850 * sysdeps/mach/configure: Likewise.
10851 * sysdeps/sparc/configure: Likewise.
10852 * sysdeps/x86_64/configure: Likewise.
10853
912cc4b3
RM
108542013-03-20 Roland McGrath <roland@hack.frob.com>
10855
10856 [BZ #14812]
10857 * locale/programs/localedef.c (options): Put N_ translation marker
10858 on argument names, not just descriptions.
10859
04eed2b0
MS
108602013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10861
10862 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
10863
a065ceff
OB
108642013-03-20 Ondřej Bílka <neleai@seznam.cz>
10865
9bb2a810 10866 [BZ #14176]
a065ceff
OB
10867 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
10868
a600e5ce
RM
108692013-03-19 Roland McGrath <roland@hack.frob.com>
10870
10871 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
10872 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
10873 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
10874 [!BEFORE_ABORT] (before_abort): New function.
10875 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
10876 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
10877 (writev_for_fatal): New function.
10878 (WRITEV_FOR_FATAL): New macro; call that.
10879 (backtrace_and_maps): New function.
10880 (BEFORE_ABORT): New macro; call that.
10881 (struct str_list): Type removed.
10882 (__libc_message, __libc_fatal): Functions removed.
10883 Include <sysdeps/posix/libc_fatal.c> instead.
10884
6b18bea6
JM
108852013-03-19 Joseph Myers <joseph@codesourcery.com>
10886
10887 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
10888 constants.
10889 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
10890 double constants.
10891
aaa8cb4b
AS
108922013-03-19 Andreas Schwab <schwab@suse.de>
10893
44673770
AS
10894 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
10895 * sysdeps/gnu/configure: Regenerate.
10896
aaa8cb4b
AS
10897 * configure.in: Substitute libc_cv_rtlddir.
10898 * configure: Regenerate.
10899 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
10900 * Makeconfig (rtlddir, inst_rtlddir): New variables.
10901 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
10902 * elf/Makefile (install-others, CFLAGS-interp.c)
10903 (ldso_install, common-ldd-rewrite): Likewise.
10904 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
10905 $(inst_slibdir)/$(rtld-installed-name).
10906 * scripts/rellns-sh: Add -p option.
10907 * Makerules (make-shlib-link): Use rellns-sh to get relative name
10908 for source.
10909
d3cfc668
SP
109102013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10911
10912 * manual/nptl.texi: Renamed to ...
10913 * manual/threads.texi: ... this.
10914 * manual/Makefile (chapters): Update.
10915
0e2b9cdd
RM
109162013-03-18 Roland McGrath <roland@hack.frob.com>
10917
10918 [BZ #14812]
10919 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
10920 on argument names, not just descriptions.
0e2b9cdd
RM
10921 * malloc/memusagestat.c (options): Likewise.
10922 * nss/getent.c (options): Likewise.
63270c24
RM
10923
109242013-03-18 Benno Schulenberg <bensberg@justemail.net>
10925
10926 [BZ #14812]
10927 * iconv/iconv_prog.c (options): Put N_ translation marker
10928 on argument names, not just descriptions.
10929 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 10930
b2e1393c
OB
109312013-03-18 Ondrej Bilka <neleai@seznam.cz>
10932
10933 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
10934 implementation which is faster on all x86_64 architectures.
10935 Tested on AMD, Intel Nehalem, SNB, IVB.
10936 * sysdeps/x86_64/strnlen.S: Likewise.
10937
10938 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10939 Remove all multiarch strlen and strnlen versions.
10940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10941 Remove strlen and strnlen related parts.
10942
10943 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
10944 Inline strlen part.
10945 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
10946
10947 * sysdeps/x86_64/multiarch/strlen.S: Remove.
10948 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
10949 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
10950 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
10951 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
10952 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
10953
ec4ff04d
CD
109542013-03-17 Carlos O'Donell <carlos@redhat.com>
10955
10956 * manual/memory.texi (Malloc Tunable Parameters):
10957 Sort parameters alphabetically. Add comments for missing entries.
10958
cd18e90a
DM
109592013-03-17 David S. Miller <davem@davemloft.net>
10960
10961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10962
2a185d32
JM
109632013-03-16 Joseph Myers <joseph@codesourcery.com>
10964
d2f9799e
JM
10965 [BZ #15283]
10966 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
10967 for arguments at most half maximum finite value.
10968 * math/libm-test.inc (j0_test): Add more tests.
10969 (j1_test): Likewise.
10970 (y0_test): Likewise.
10971 (y1_test): Likewise.
10972 * sysdeps/i386/fpu/libm-test-ulps: Update.
10973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10974
2a185d32
JM
10975 [BZ #14155]
10976 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
10977 1 / x and functions P and Q for arguments above 0x1p256L.
10978 (__ieee754_y0l): Likewise.
10979 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10980 (__ieee754_y1l): Likewise.
10981 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
10982 (j1_test): Likewise.
10983 (y0_test): Likewise.
10984 (y1_test): Likewise.
10985
6cbec759
TS
109862013-03-16 Thomas Schwinge <thomas@codesourcery.com>
10987
10988 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
10989 variable.
10990
bc16e260
RM
109912013-03-15 Roland McGrath <roland@hack.frob.com>
10992
aefc9b8c
RM
10993 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
10994 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
10995 zero since it's initialized to EXEC_PAGESIZE.
10996
bc16e260
RM
10997 * sysdeps/unix/sysv/linux/ldsodefs.h
10998 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
10999 * sysdeps/generic/ldsodefs.h: ... here.
11000
a57da955
TS
110012013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11002
af00a34d
TS
11003 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11004
495ded2c
TS
11005 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11006 math/test-snan.c.
11007 * math/test-snan.c: Renamed from
11008 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11009 * math/Makefile (tests): Add test-snan.
11010 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11011 test-powerpc-snan.
11012
777b0332
TS
11013 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11014 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11015 functions.
11016 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11017 __builtin_nan family of functions.
11018 * math/libm-test.inc (initialize): Initialize qnan_value with
11019 __builtin_nan family of functions.
11020 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11021 Remove variables.
11022 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11023 Remove functions.
11024 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11025 storage class. Initialize qNaN_var and sNaN_var with
11026 __builtin_nan and __builtin_nans families of functions,
11027 respectively.
11028
64d063b8
TS
11029 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11030 (sqrt_test): Remove duplicate test with qNaN input.
11031 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11032 (round_test, signbit_test, significand_test): Note missing +/-Inf
11033 as well as qNaN tests.
11034
67e971f1
TS
11035 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11036 qNaN_var. Fix a few strings, too.
11037 * math/libm-test.inc (nan_value): Rename to qnan_value.
11038 * math/gen-libm-test.pl (%beautify): Adjust to that.
11039 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11040 * math/test-misc.c (main): Likewise.
11041 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11042 to __qnan_bytes, and __qnan_union, respectively.
11043 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11044 Likewise.
11045 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11046 and lqnanval, respectively.
11047 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11048 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11049 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11050 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11051
64487e12
TS
11052 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11053 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11054 doubles.
11055
e015e27b
TS
11056 * math/test-misc.c (main): Fix copy'n'pastos.
11057 * misc/tst-efgcvt.c (special): Likewise.
11058
a57da955
TS
11059 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11060 Remove declarations.
11061
1e380345
SP
110622013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11063
11064 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11065 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11066 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11067 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11068
ef26eece
AZ
110692013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11070
11071 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11072 macro to return vdso values correctly in IFUNC implementations.
11073 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11074 Optimization by using IFUNC.
11075
8cfdb7e0
SP
110762013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11077 Richard Henderson <rth@redhat.com>
11078 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11079
11080 * Makefile.in (bench): New target.
11081 * NEWS: Mention the benchmark framework.
11082 * Rules (bench): Likewise.
11083 (binaries-bench): Generate binaries for functions to
11084 benchmark.
11085 * benchtests/Makefile: New makefile for benchmark tests.
11086 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11087 programs.
11088 * benchtests/exp-inputs: New input file for EXP function.
11089 * benchtests/pow-inputs: New input file for POW function.
11090 * scripts/bench.pl: New script to generate source files for
11091 benchmark programs.
11092
bcda9880
SP
110932013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11094
d22ca8cd
SP
11095 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11096 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11097 computations on mantissa. Use macros for rounding and
11098 division.
11099 (denorm): Likewise.
11100 (__dbl_mp): Likewise.
11101 (add_magnitudes): Likewise.
11102 (sub_magnitudes): Likewise.
11103 (__mul): Likewise.
11104 (__sqr): Likewise.
11105 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11106 powers of two in terms of TWOPOW macro.
11107 (mp_no): Make type of mantissa as MANTISSA_T.
11108 [!RADIXI]: Define RADIXI.
11109 [!TWO52]: Define TWO52.
11110 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11111
bcda9880
SP
11112 * manual/nptl.texi (cindex): Modify threads to pthreads.
11113
06d5adfb
JM
111142013-03-15 Joseph Myers <joseph@codesourcery.com>
11115
11116 * sysdeps/x86_64/preconfigure: Regenerated.
11117
41c7328e
JM
111182013-03-14 Joseph Myers <joseph@codesourcery.com>
11119
11120 [BZ #14155]
11121 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11122 0x1p28 and above.
11123 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11124 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11125 0x1p28 and above.
11126 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11127 * math/libm-test.inc (j0_test): Do not allow one spurious
11128 underflow exception.
11129 (y1_test): Likewise.
11130
e25cfa60
SP
111312013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11132
0409959c
SP
11133 * manual/Makefile (chapters): Add nptl.
11134 * manual/debug.texi (Debugging Support): Add link to Threads
11135 chapter.
11136 * manual/nptl.texi: New file.
11137
e25cfa60
SP
11138 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11139
58a1335e
PB
111402013-03-14 Petr Baudis <pasky@ucw.cz>
11141
11142 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11143 for non-NULL pointer before the memory validity test. Pointed
11144 out by Holger Brunck <holger.brunck@keymile.com>.
11145
9dc7c64f
AS
111462013-03-13 Andreas Schwab <schwab@suse.de>
11147
11148 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11149 instead of .os.
11150
54206aa6
JM
111512013-03-13 Joseph Myers <joseph@codesourcery.com>
11152
11153 * timezone/zic.c: Update from tzcode 2013b.
11154
e98cdb38
CD
111552013-03-12 Carlos O'Donell <carlos@redhat.com>
11156
11157 * manual/install.texi (Configuring and compiling):
11158 Mention i686 and i586.
11159 * INSTALL: Regenerate.
11160
9967e003
RM
111612013-03-12 Roland McGrath <roland@hack.frob.com>
11162
11163 * sysdeps/init_array/elf-init.c: New file.
11164 * csu/elf-init.c
11165 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11166 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11167
11168 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11169 __gmon_start__ as global, but as static with a .preinit_array pointer.
11170 * sysdeps/init_array/gmon-start.c: New file. Use that.
11171 * sysdeps/init_array/crti.S: New file, empty except for comments.
11172 * sysdeps/init_array/crtn.S: Likewise.
11173
e6b5a293 111742013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
11175
11176 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11177 definining bcopy.
80f844c9
OB
11178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11179 Remove Prefer_SSE_for_memop.
11180 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11181 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11182 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
11183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11184 memset-x86-64.
80f844c9 11185 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 11186 Remove bzero, memset ifunc support.
80f844c9
OB
11187 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11188 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11189 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11190 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11191
fb6b0fcb
AS
111922013-03-11 Andreas Schwab <schwab@suse.de>
11193
11194 [BZ #15234]
11195 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11196 by SHLIB_COMPAT.
11197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11198 (GLIBC_2.16): Remove pthread_atfork.
11199
3e6bd4b1
PP
112002013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11201
11202 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11203 (ptestcases.h): Likewise.
11204
222d7f00
RM
112052013-03-08 Roland McGrath <roland@hack.frob.com>
11206
11207 * Makeconfig ($(common-objpfx)config.status): Depend on
11208 sysdeps/*/preconfigure{,.in} too.
11209
1ba4f030
JM
112102013-03-08 Joseph Myers <joseph@codesourcery.com>
11211
a222d91a
JM
11212 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11213 (__free_hook): Use void * instead of __malloc_ptr_t.
11214 (__malloc_hook): Likewise.
11215 (__realloc_hook): Likewise.
11216 (__memalign_hook): Likewise.
11217 (__after_morecore_hook): Likewise.
11218 * malloc/arena.c (save_malloc_hook): Likewise.
11219 (save_free_hook): Likewise.
11220 * malloc/hooks.c (malloc_hook_ini): Likewise.
11221 (realloc_hook_ini): Likewise.
11222 (memalign_hook_ini): Likewise.
11223 * malloc/malloc.c (malloc_hook_ini): Likewise.
11224 (realloc_hook_ini): Likewise.
11225 (memalign_hook_ini): Likewise.
11226 (__free_hook): Likewise.
11227 (__malloc_hook): Likewise.
11228 (__realloc_hook): Likewise.
11229 (__memalign_hook): Likewise.
11230 (__libc_malloc): Likewise.
11231 (__libc_free): Likewise.
11232 (__libc_realloc): Likewise.
11233 (__libc_memalign): Likewise.
11234 (__libc_valloc): Likewise.
11235 (__libc_pvalloc): Likewise.
11236 (__libc_calloc): Likewise.
11237 (__posix_memalign): Likewise.
11238 * malloc/morecore.c (__sbrk): Likewise.
11239 (__default_morecore): Likewise.
11240
5cc45e10
JM
11241 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11242
dd54b864
JM
11243 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11244 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11245 __malloc_ptrdiff_t.
11246
1ba4f030
JM
11247 * malloc/malloc.h (__malloc_size_t): Remove macro.
11248 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11249 __malloc_size_t.
11250 (old_memalign_hook): Likewise.
11251 (old_realloc_hook): Likewise.
11252 (struct hdr): Likewise.
11253 (flood): Likewise.
11254 (mallochook): Likewise.
11255 (memalignhook): Likewise.
11256 (reallochook): Likewise.
11257 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11258 (tr_old_realloc_hook): Likewise.
11259 (tr_old_memalign_hook): Likewise.
11260 (tr_mallochook): Likewise.
11261 (tr_reallochook): Likewise.
11262 (tr_memalignhook): Likewise.
11263
edf66e57
AZ
112642013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11265
11266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11267 default_ldbl_pack and using as default implementation.
11268 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11269 implementation.
11270 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11271 redundant definition.
11272 (ldbl_insert_mantissa): Likewise.
11273 (ldbl_canonicalize): Likewise.
11274 (ldbl_nearbyint): Likewise.
11275 (ldbl_pack): Rename to ldbl_pack_ppc.
11276 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11277 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11278 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11279
6d9145d8
SP
112802013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11281
11282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11283 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11284 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11285 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11287 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11288 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11289 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11290
4dd4e157
AJ
112912013-03-07 Andreas Jaeger <aj@suse.de>
11292
11293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11294 bits/mman-linux.h.
11295
adbb8027
SP
112962013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11297
ce544b5b
SP
11298 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11299 Include mpa.h and declare __MPEXP.
11300 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11301 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11302 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11303 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11304 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11305 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11306 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11307
4cc149fd
SP
11308 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11309 (__slowpow): Use long double EXPL and LOGL functions to
11310 compute POW.
11311 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11312 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11313 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11314 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11315 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11316 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11317
e6ebd4a7
SP
11318 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11319 intermediate variable to calculate exponent.
11320 (__sqr): Likewise.
11321 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11322 Likewise.
11323 (__sqr): Likewise.
11324
82a9811d
SP
11325 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11326 [!NO__SQR]: Define __sqr.
11327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11328 and NO__SQR. Remove all code except __mul and __sqr. Include
11329 sysdeps/ieee754/dbl-64/mpa.c.
11330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11331
adbb8027
SP
11332 [BZ #12723]
11333 * posix/Makefile (tests): Add tst-pathconf.
11334 * posix/tst-pathconf.c: New test case.
11335 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11336 _PC_PIPE_BUF.
11337 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11338
39120df9
PF
113392013-03-06 Patsy Franklin <pfrankli@redhat.com>
11340
11341 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11342
67525cb8
AJ
113432013-03-06 Andreas Jaeger <aj@suse.de>
11344
664a9ce4
AJ
11345 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11346 definition via __MAP_ANONYMOUS.
11347
8e39047d
AJ
11348 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11349 it's not part of Linux headers.
11350
67525cb8
AJ
11351 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11352 (MAP_HUGE_MASK): Define.
11353
11354 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11355 Define.
11356 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11357 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11358 Define.
11359 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11360 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11361 Define.
11362 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11363 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11364 Define.
11365 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11366
11367 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11368 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11369 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11370 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11371 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11372 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11373
11374 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11375 Handle f2fs.
11376
11377 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11378 Handle f2fs and efivarfs.
11379
11380 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11381 f2fs.
11382
11383 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11384 (EFIVARFS_MAGIC): Add.
11385 (F2FS_LINK_MAX): Add.
11386
e1b42695
PP
113872013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11388
11389 * stdio-common/vfprintf.c: Replace __builtin_expect with
11390 __glibc_unlikely.
11391
2d67d91a
JM
113922013-03-06 Joseph Myers <joseph@codesourcery.com>
11393
11394 [BZ #13550]
11395 * sysdeps/generic/bp-sym.h: Remove file.
11396 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11397 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11398 <bp-sym.h> and <bp-asm.h>.
11399 (__longjmp): Don't use BP_SYM.
11400 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11401 and <bp-asm.h>.
11402 (memcpy): Don't use BP_SYM.
11403 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11404 <bp-sym.h> and <bp-asm.h>.
11405 (memcpy): Don't use BP_SYM.
11406 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11407 <bp-asm.h>.
11408 (memcpy): Don't use BP_SYM.
11409 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11410 <bp-asm.h>.
11411 (memset): Don't use BP_SYM.
11412 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11413 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11414 (__bzero): Don't use BP_SYM.
11415 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11416 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11417 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11418 <bp-sym.h> and <bp-asm.h>.
11419 (memcmp): Don't use BP_SYM. Remove comment about bounded
11420 pointers.
11421 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11422 <bp-sym.h> and <bp-asm.h>.
11423 (memcpy): Don't use BP_SYM.
11424 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11425 <bp-sym.h> and <bp-asm.h>.
11426 (memset): Don't use BP_SYM.
11427 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11428 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11429 (__bzero): Don't use BP_SYM.
11430 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11431 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11432 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11433 <bp-sym.h> and <bp-asm.h>.
11434 (strncmp): Don't use BP_SYM. Remove comment about bounded
11435 pointers.
11436 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11437 <bp-sym.h> and <bp-asm.h>.
11438 (memcpy): Don't use BP_SYM.
11439 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11440 <bp-sym.h> and <bp-asm.h>.
11441 (memset): Don't use BP_SYM.
11442 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11443 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11444 (__bzero): Don't use BP_SYM.
11445 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11446 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11447 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11448 <bp-sym.h> and <bp-asm.h>.
11449 (__memchr): Don't use BP_SYM.
11450 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11451 <bp-sym.h> and <bp-asm.h>.
11452 (memcmp): Don't use BP_SYM. Remove comment about bounded
11453 pointers.
11454 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11455 <bp-sym.h> and <bp-asm.h>.
11456 (memcpy): Don't use BP_SYM.
11457 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11458 <bp-sym.h> and <bp-asm.h>.
11459 (__mempcpy): Don't use BP_SYM.
11460 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11461 <bp-sym.h> and <bp-asm.h>.
11462 (__memrchr): Don't use BP_SYM.
11463 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11464 <bp-sym.h> and <bp-asm.h>.
11465 (memset): Don't use BP_SYM.
11466 (__bzero): Likewise.
11467 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11468 <bp-sym.h> and <bp-asm.h>.
11469 (__rawmemchr): Don't use BP_SYM.
11470 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11471 <bp-sym.h> and <bp-asm.h>.
11472 (__STRCMP): Don't use BP_SYM.
11473 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11474 <bp-sym.h> and <bp-asm.h>.
11475 (strchr): Don't use BP_SYM.
11476 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11477 <bp-sym.h> and <bp-asm.h>.
11478 (__strchrnul): Don't use BP_SYM.
11479 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11480 <bp-sym.h> and <bp-asm.h>.
11481 (strlen): Don't use BP_SYM.
11482 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11483 <bp-sym.h> and <bp-asm.h>.
11484 (strncmp): Don't use BP_SYM. Remove comment about bounded
11485 pointers.
11486 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11487 <bp-sym.h> and <bp-asm.h>.
11488 (__strnlen): Don't use BP_SYM.
11489 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11490 <bp-sym.h> and <bp-asm.h>.
11491 (__GI__setjmp): Don't use BP_SYM.
11492 (_setjmp): Likewise.
11493 (__sigsetjmp): Likewise.
11494 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11495 (L(start_addresses)): Don't use BP_SYM.
11496 (_start): Likewise.
11497 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11498 <bp-asm.h>.
11499 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11500 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11501 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11502 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11503 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11504 <bp-asm.h>.
11505 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11506 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11507 about bounded pointers.
11508 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11509 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11510 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11511 <bp-asm.h>.
11512 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11513 about bounded pointers. Remove GKM FIXME comments.
11514 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11515 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11516 <bp-asm.h>.
11517 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11518 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11519 Remove GKM FIXME comments.
11520 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11521 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11522 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11523 <bp-asm.h>.
11524 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11525 about bounded pointers. Remove GKM FIXME comment.
11526 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11527 and <bp-asm.h>.
11528 (strncmp): Don't use BP_SYM. Remove comment about bounded
11529 pointers.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11531 <bp-sym.h> and <bp-asm.h>.
11532 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11534 <bp-sym.h> and <bp-asm.h>.
11535 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11536 comment.
11537
cdcf361f
PP
115382013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11539
11540 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11541 call free(NULL).
11542
3c4a2b15
DM
115432013-03-05 David S. Miller <davem@davemloft.net>
11544
11545 * po/es.po: Update from translation team.
11546
cdcf361f 115472013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
11548
11549 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11550 <bits/mman-linux.h>.
11551 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11552 is fine.
11553 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11554 <bits/mman-linux.h> to end of file.
11555 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11556 is fine.
11557 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11558 <bits/mman-linux.h> to end of file.
11559 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11560 is fine.
11561 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11562 <bits/mman-linux.h> to end of file.
11563
11564 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11565 (MCL_CURRENT, MCL_FUTURE): Define here.
11566
5f67c04f
AK
115672013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11568
8a4473cc 11569 [BZ #15232]
5f67c04f
AK
11570 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11571 attribute_hidden.
11572 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11573
c3e94a95
AK
115742013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11575
11576 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11577 fourth parameter needed for rt_sigprocmask syscall.
11578 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11579 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11580 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11581 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11582 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11583 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11584
cfb6382a
JM
115852013-03-04 Joseph Myers <joseph@codesourcery.com>
11586
11587 [BZ #13550]
11588 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11589 comment about bounded pointers.
11590 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11591 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11592
539d8e01
AJ
115932013-03-04 Andreas Jaeger <aj@suse.de>
11594
11595 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11596 common definitions.
11597
11598 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11599 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11600 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11601 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11602 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
11603 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11604
2e167a70 116052013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
11606
11607 [BZ #15055]
11608 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11609 __ieee754_sqrl instead of __sqrl.
11610
68508633
JM
116112013-03-01 Joseph Myers <joseph@codesourcery.com>
11612
11613 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11614 * sysdeps/powerpc/fpu_control.h: ... here.
11615 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11616 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11617 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11618 * sysdeps/powerpc/bits/mathinline.h: ... here.
11619
7775448e
RM
116202013-03-01 Roland McGrath <roland@hack.frob.com>
11621
11622 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11623 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11624 to just [NEED_DL_SYSINFO_DSO].
11625 * elf/dl-support.c: Likewise.
11626 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11627 * elf/rtld.c (dl_main): Likewise.
11628 * elf/setup-vdso.h (setup_vdso): Likewise.
11629 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
11630 * sysdeps/unix/sysv/linux/dl-sysdep.c
11631 (_dl_discover_osversion): Likewise.
11632
4e9b5995
CD
116332013-03-01 Carlos O'Donell <carlos@redhat.com>
11634
11635 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
11636 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11637
e23872c8
SP
116382013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11639
e5c74c63
SP
11640 * NEWS: Mention libm performance improvements and non-x86 PI
11641 futex support.
11642
e23872c8
SP
11643 * csu/libc-start.c (__pthread_initialize_minimal): Change
11644 function arguments.
11645 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
11646
b5510883
JM
116472013-02-28 Joseph Myers <joseph@codesourcery.com>
11648
11649 [BZ #13550]
11650 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
11651 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
11652 <bp-sym.h> and <bp-asm.h>.
11653 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11654 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
11655 and <bp-asm.h>.
11656 (memcpy): Don't use BP_SYM.
11657 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
11658 <bp-asm.h>.
11659 (__mpn_add_n): Don't use BP_SYM.
11660 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
11661 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
11662 and <bp-asm.h>.
11663 (__mpn_addmul_1): Don't use BP_SYM.
11664 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11665 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
11666 <bp-sym.h>.
11667 (_setjmp): Don't use BP_SYM.
11668 (__novmx_setjmp): Likewise.
11669 (__GI__setjmp): Likewise.
11670 (__vmx_setjmp): Likewise.
11671 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
11672 <bp-sym.h>.
11673 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
11674 (__bzero): Don't use BP_SYM.
11675 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11676 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11677 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
11678 <bp-sym.h> and <bp-asm.h>.
11679 (memcpy): Don't use BP_SYM.
11680 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
11681 <bp-sym.h> and <bp-asm.h>.
11682 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11683 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
11684 <bp-sym.h> and <bp-asm.h>.
11685 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
11686 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
11687 <bp-asm.h>.
11688 (__mpn_lshift): Don't use BP_SYM.
11689 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11690 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
11691 <bp-asm.h>.
11692 (memset): Don't use BP_SYM.
11693 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11694 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11695 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
11696 <bp-asm.h>.
11697 (__mpn_mul_1): Don't use BP_SYM.
11698 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11699 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
11700 <bp-sym.h> and <bp-asm.h>.
11701 (memcmp): Don't use BP_SYM.
11702 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
11703 <bp-sym.h> and <bp-asm.h>.
11704 (memcpy): Don't use BP_SYM.
11705 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
11706 <bp-sym.h> and <bp-asm.h>.
11707 (memset): Don't use BP_SYM.
11708 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
11709 <bp-sym.h> and <bp-asm.h>.
11710 (strncmp): Don't use BP_SYM.
11711 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
11712 <bp-sym.h> and <bp-asm.h>.
11713 (memcpy): Don't use BP_SYM.
11714 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
11715 <bp-sym.h> and <bp-asm.h>.
11716 (memset): Don't use BP_SYM.
11717 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
11718 <bp-sym.h> and <bp-asm.h>.
11719 (__memchr): Don't use BP_SYM.
11720 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
11721 <bp-sym.h> and <bp-asm.h>.
11722 (memcmp): Don't use BP_SYM.
11723 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
11724 <bp-sym.h> and <bp-asm.h>.
11725 (memcpy): Don't use BP_SYM.
11726 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
11727 <bp-sym.h> and <bp-asm.h>.
11728 (__mempcpy): Don't use BP_SYM.
11729 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
11730 <bp-sym.h> and <bp-asm.h>.
11731 (__memrchr): Don't use BP_SYM.
11732 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
11733 <bp-sym.h> and <bp-asm.h>.
11734 (memset): Don't use BP_SYM.
11735 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
11736 <bp-sym.h> and <bp-asm.h>.
11737 (__rawmemchr): Don't use BP_SYM.
11738 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
11739 <bp-sym.h> and <bp-asm.h>.
11740 (__STRCMP): Don't use BP_SYM.
11741 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
11742 <bp-sym.h> and <bp-asm.h>.
11743 (strchr): Don't use BP_SYM.
11744 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
11745 <bp-sym.h> and <bp-asm.h>.
11746 (__strchrnul): Don't use BP_SYM.
11747 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
11748 <bp-sym.h> and <bp-asm.h>.
11749 (strlen): Don't use BP_SYM.
11750 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
11751 <bp-sym.h> and <bp-asm.h>.
11752 (strncmp): Don't use BP_SYM.
11753 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
11754 <bp-sym.h> and <bp-asm.h>.
11755 (__strnlen): Don't use BP_SYM.
11756 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
11757 <bp-asm.h>.
11758 (__mpn_rshift): Don't use BP_SYM.
11759 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11760 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
11761 <bp-sym.h> and <bp-asm.h>.
11762 (__sigsetjmp): Don't use BP_SYM.
11763 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
11764 (L(start_addresses)): Don't use BP_SYM.
11765 (_start): Likewise.
11766 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
11767 <bp-asm.h>.
11768 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
11769 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11770 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11771 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
11772 <bp-asm.h>.
11773 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
11774 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11775 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11776 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
11777 <bp-asm.h>.
11778 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11779 comments.
11780 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11781 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
11782 <bp-asm.h>.
11783 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
11784 FIXME comments.
11785 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11786 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11787 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
11788 <bp-asm.h>.
11789 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
11790 comment.
11791 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
11792 and <bp-asm.h>.
11793 (strncmp): Don't use BP_SYM,
11794 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
11795 <bp-asm.h>.
11796 (__mpn_sub_n): Don't use BP_SYM.
11797 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11798 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
11799 and <bp-asm.h>.
11800 (__mpn_submul_1): Don't use BP_SYM.
11801 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
11803 <bp-sym.h> and <bp-asm.h>.
11804 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
11806 <bp-sym.h> and <bp-asm.h>.
11807 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11808 comment.
11809
8d19fe64
SP
118102013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11811
11812 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
11813 Use ZK to minimize writes to Z.
11814 (sub_magnitudes): Simplify code a bit.
11815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
11816 Use ZK to minimize writes to Z.
11817 (sub_magnitudes): Simplify code a bit.
11818
85bd816a
RM
118192013-02-27 Roland McGrath <roland@hack.frob.com>
11820
11821 * csu/gmon-start.c: Add special exception to license text.
11822
b5977bf2
RH
118232013-02-27 Richard Henderson <rth@redhat.com>
11824
11825 * scripts/config.guess: Update from config.git.
11826 * scripts/config.sub: Likewise.
11827
11d6e2f2
SP
118282013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11829
09c14ed2
SP
11830 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
11831
a688864e
SP
11832 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
11833
6295157a
SP
11834 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
11835
b8de2202
SP
11836 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
11837
11d6e2f2
SP
11838 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
11839
7e80ddb8
RM
118402013-02-26 Roland McGrath <roland@hack.frob.com>
11841
11842 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
11843 [$(build-shared = yes].
7e80ddb8 11844
7da6d9ed
SP
118452013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11846
45f05884
SP
11847 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
11848 (__mul): Reduce iterations for calculating mantissa.
11849
2236d359
SP
11850 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
11851 MPTWO.
11852 (__mpranred): Likewise.
11853
7da6d9ed
SP
11854 [BZ #15160]
11855 * malloc/memusagestat.c (main): Draw graphs for heap and stack
11856 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
11857
b7688c42
PE
118582013-02-26 Paul Eggert <eggert@cs.ucla.edu>
11859
11860 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
11861 Define __attribute__.
11862
53a5c423
SP
118632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11864
11865 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
11866 unused.
11867 * posix/regex_internal.h (__attribute): Remove.
11868 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
11869 (re_string_context_at): Likewise.
11870 (bitset_not): Use __attribute__ and mark function as possibly
11871 unused.
11872 (bitset_merge): Likewise.
11873 (bitset_mask): Likewise.
11874 (re_string_char_size_at): Likewise.
11875 (re_string_wchar_at): Likewise.
11876 (re_string_elem_size_at): Likewise.
11877
60f5a8b5
SP
118782013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11879
2a983a2e
SP
11880 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
11881 code.
11882 (cc32): Likewise.
11883
e69804d1
SP
11884 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
11885 (__acr): Likewise.
11886 (__cpy): Likewise.
11887 (norm): Likewise.
11888 (denorm): Likewise.
11889 (__dbl_mp): Likewise.
11890 (add_magnitudes): Likewise.
11891 (sub_magnitudes): Likewise.
11892 (__mul): Likewise.
11893 (__inv): Likewise.
11894
2f22a1e8
SP
11895 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
11896 style.
11897
8930ddc7
SP
11898 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
11899 style.
11900
dc60cb11
SP
11901 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
11902 code.
11903
60f5a8b5
SP
11904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
11905 up changes with default code.
11906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
11907 Likewise.
11908
b4d1fd33
AM
119092013-02-24 Allan McRae <allan@archlinux.org>
11910
faf6f8bc
AM
11911 * manual/socket.texi (The Internet Namespace): Order menu items
11912 to match that in the file.
11913
b4d1fd33
AM
11914 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
11915 node listing of the info page menu.
11916
2366713d
JM
119172013-02-21 Joseph Myers <joseph@codesourcery.com>
11918
11919 [BZ #13550]
11920 * sysdeps/i386/bp-asm.h: Remove file.
11921 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11922 (PARMS): Do not use macros from bp-asm.h.
11923 (S1): Likewise.
11924 (S2): Likewise.
11925 (SIZE): Likewise.
11926 (__mpn_add_n): Do not use BP_SYM
11927 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
11928 "bp-asm.h".
11929 (PARMS): Do not use macros from bp-asm.h.
11930 (S1): Likewise.
11931 (SIZE): Likewise.
11932 (__mpn_addmul_1): Do not use BP_SYM
11933 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
11934 "bp-asm.h".
11935 (PARMS): Do not use macros from bp-asm.h.
11936 (SIGMSK): Likewise.
11937 (_setjmp): Likewise. Do not use BP_SYM.
11938 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
11939 "bp-asm.h".
11940 (PARMS): Do not use macros from bp-asm.h.
11941 (SIGMSK): Likewise.
11942 (setjmp): Likewise. Do not use BP_SYM.
11943 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
11944 "bp-asm.h".
11945 (PARMS): Do not use macros from bp-asm.h.
11946 (__frexp): Do not use BP_SYM.
11947 (frexp): Likewise.
11948 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
11949 "bp-asm.h".
11950 (PARMS): Do not use macros from bp-asm.h.
11951 (__frexpf): Do not use BP_SYM.
11952 (frexpf): Likewise.
11953 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
11954 "bp-asm.h".
11955 (PARMS): Do not use macros from bp-asm.h.
11956 (__frexpl): Do not use BP_SYM.
11957 (frexpl): Likewise.
11958 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
11959 "bp-asm.h".
11960 (PARMS): Do not use macros from bp-asm.h.
11961 (__remquo): Do not use BP_SYM.
11962 (remquo): Likewise.
11963 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
11964 "bp-asm.h".
11965 (PARMS): Do not use macros from bp-asm.h.
11966 (__remquof): Do not use BP_SYM.
11967 (remquof): Likewise.
11968 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
11969 "bp-asm.h".
11970 (PARMS): Do not use macros from bp-asm.h.
11971 (__remquol): Do not use BP_SYM.
11972 (remquol): Likewise.
11973 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
11974 "bp-asm.h".
11975 (PARMS): Do not use macros from bp-asm.h.
11976 (DEST): Likewise.
11977 (SRC): Likewise.
11978 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
11979 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
11980 "bp-asm.h".
11981 (PARMS): Do not use macros from bp-asm.h.
11982 (strlen): Do not use BP_SYM.
11983 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
11984 "bp-asm.h".
11985 (PARMS): Do not use macros from bp-asm.h.
11986 (S1): Likewise.
11987 (S2): Likewise.
11988 (SIZE): Likewise.
11989 (__mpn_add_n): Do not use BP_SYM.
11990 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
11991 "bp-asm.h".
11992 (PARMS): Do not use macros from bp-asm.h.
11993 (S1): Likewise.
11994 (SIZE): Likewise.
11995 (__mpn_addmul_1): Do not use BP_SYM.
11996 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
11997 weak_alias.
11998 (bzero): Likewise.
11999 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12000 "bp-asm.h".
12001 (PARMS): Do not use macros from bp-asm.h.
12002 (S): Likewise.
12003 (SIZE): Likewise.
12004 (__mpn_lshift): Do not use BP_SYM.
12005 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12006 "bp-asm.h".
12007 (PARMS): Do not use macros from bp-asm.h.
12008 (DEST): Likewise.
12009 (SRC): Likewise.
12010 (LEN): Likewise.
12011 (memcpy): Likewise. Do not use BP_SYM.
12012 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12013 libc_hidden_def and weak_alias.
12014 (mempcpy): Do not use BP_SYM in weak_alias.
12015 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12016 "bp-asm.h".
12017 (PARMS): Do not use macros from bp-asm.h.
12018 (DEST): Likewise.
12019 (LEN): Likewise.
12020 [!BZERO_P] (CHR): Likewise.
12021 (memset): Likewise. Do not use BP_SYM.
12022 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12023 "bp-asm.h".
12024 (PARMS): Do not use macros from bp-asm.h.
12025 (S1): Likewise.
12026 (SIZE): Likewise.
12027 (__mpn_mul_1): Do not use BP_SYM.
12028 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12029 "bp-asm.h".
12030 (PARMS): Do not use macros from bp-asm.h.
12031 (S): Likewise.
12032 (SIZE): Likewise.
12033 (__mpn_rshift): Do not use BP_SYM.
12034 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12035 "bp-asm.h".
12036 (PARMS): Do not use macros from bp-asm.h.
12037 (STR): Likewise.
12038 (CHR): Likewise.
12039 (strchr): Likewise. Do not use BP_SYM.
12040 (index): Do not use BP_SYM in weak_alias.
12041 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12042 "bp-asm.h".
12043 (PARMS): Do not use macros from bp-asm.h.
12044 (DEST): Likewise.
12045 (SRC): Likewise.
12046 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12047 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12048 "bp-asm.h".
12049 (PARMS): Do not use macros from bp-asm.h.
12050 (strlen): Do not use BP_SYM.
12051 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12052 "bp-asm.h".
12053 (PARMS): Do not use macros from bp-asm.h.
12054 (S1): Likewise.
12055 (S2): Likewise.
12056 (SIZE): Likewise.
12057 (__mpn_sub_n): Do not use BP_SYM.
12058 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12059 "bp-asm.h".
12060 (PARMS): Do not use macros from bp-asm.h.
12061 (S1): Likewise.
12062 (SIZE): Likewise.
12063 (__mpn_submul_1): Do not use BP_SYM.
12064 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12065 "bp-asm.h".
12066 (PARMS): Do not use macros from bp-asm.h.
12067 (S1): Likewise.
12068 (S2): Likewise.
12069 (SIZE): Likewise.
12070 (__mpn_add_n): Do not use BP_SYM.
12071 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12072 weak_alias.
12073 (bzero): Likewise.
12074 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12075 "bp-asm.h".
12076 (PARMS): Do not use macros from bp-asm.h.
12077 (BLK2): Likewise.
12078 (LEN): Likewise.
12079 (memcmp): Do not use BP_SYM.
12080 (bcmp): Do not use BP_SYM in weak_alias.
12081 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12082 "bp-asm.h".
12083 (PARMS): Do not use macros from bp-asm.h.
12084 (DEST): Likewise.
12085 (SRC): Likewise.
12086 (LEN): Likewise.
12087 (memcpy): Likewise. Do not use BP_SYM.
12088 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12089 "bp-asm.h".
12090 (PARMS): Do not use macros from bp-asm.h.
12091 (DEST): Likewise.
12092 (SRC): Likewise.
12093 (LEN): Likewise.
12094 (memmove): Likewise. Do not use BP_SYM.
12095 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12096 "bp-asm.h".
12097 (PARMS): Do not use macros from bp-asm.h.
12098 (DEST): Likewise.
12099 (SRC): Likewise.
12100 (LEN): Likewise.
12101 (__mempcpy): Likewise. Do not use BP_SYM.
12102 (mempcpy): Do not use BP_SYM in weak_alias.
12103 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12104 "bp-asm.h".
12105 (PARMS): Do not use macros from bp-asm.h.
12106 (DEST): Likewise.
12107 (LEN): Likewise.
12108 [!BZERO_P] (CHR): Likewise.
12109 (memset): Likewise. Do not use BP_SYM.
12110 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12111 "bp-asm.h".
12112 (PARMS): Do not use macros from bp-asm.h.
12113 (STR2): Likewise.
12114 (strcmp): Do not use BP_SYM.
12115 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12116 "bp-asm.h".
12117 (PARMS): Do not use macros from bp-asm.h.
12118 (STR): Likewise.
12119 (DELIM): Likewise.
12120 [USE_AS_STRTOK_R] (SAVE): Likewise.
12121 (FUNCTION): Likewise. Do not use BP_SYM.
12122 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12123 aliases.
12124 (strtok_r): Likewise.
12125 (__GI___strtok_r): Likewise.
12126 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12127 (PARMS): Do not use macros from bp-asm.h.
12128 (S): Likewise.
12129 (SIZE): Likewise.
12130 (__mpn_lshift): Do not use BP_SYM.
12131 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12132 (PARMS): Do not use macros from bp-asm.h.
12133 (STR): Likewise.
12134 (CHR): Likewise.
12135 (__memchr): Do not use BP_SYM.
12136 (memchr): Do not use BP_SYM in weak_alias.
12137 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12138 (PARMS): Do not use macros from bp-asm.h.
12139 (BLK2): Likewise.
12140 (LEN): Likewise.
12141 (memcmp): Do not use BP_SYM.
12142 (bcmp): Do not use BP_SYM in weak_alias.
12143 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12144 (PARMS): Do not use macros from bp-asm.h.
12145 (S1): Likewise.
12146 (SIZE): Likewise.
12147 (__mpn_mul_1): Do not use BP_SYM.
12148 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12149 "bp-asm.h".
12150 (PARMS): Do not use macros from bp-asm.h.
12151 (STR): Likewise.
12152 (CHR): Likewise.
12153 (__rawmemchr): Do not use BP_SYM.
12154 (rawmemchr): Do not use BP_SYM in weak_alias.
12155 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12156 (PARMS): Do not use macros from bp-asm.h.
12157 (S): Likewise.
12158 (SIZE): Likewise.
12159 (__mpn_rshift): Do not use BP_SYM.
12160 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12161 (PARMS): Do not use macros from bp-asm.h.
12162 (SIGMSK): Likewise.
12163 (__sigsetjmp): Likewise. Do not use BP_SYM.
12164 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12165 (_start): Do not use BP_SYM.
12166 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12167 (PARMS): Do not use macros from bp-asm.h.
12168 (DEST): Likewise.
12169 (SRC): Likewise.
12170 (__stpcpy): Likewise. Do not use BP_SYM.
12171 (stpcpy): Do not use BP_SYM in weak_alias.
12172 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12173 "bp-asm.h".
12174 (PARMS): Do not use macros from bp-asm.h.
12175 (DEST): Likewise.
12176 (SRC): Likewise.
12177 (LEN): Likewise.
12178 (__stpncpy): Likewise. Do not use BP_SYM.
12179 (stpncpy): Do not use BP_SYM in weak_alias.
12180 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12181 (PARMS): Do not use macros from bp-asm.h.
12182 (STR): Likewise.
12183 (CHR): Likewise.
12184 (strchr): Likewise. Do not use BP_SYM.
12185 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12186 "bp-asm.h".
12187 (PARMS): Do not use macros from bp-asm.h.
12188 (STR): Likewise.
12189 (CHR): Likewise.
12190 (__strchrnul): Likewise. Do not use BP_SYM.
12191 (strchrnul): Do not use BP_SYM in weak_alias.
12192 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12193 "bp-asm.h".
12194 (PARMS): Do not use macros from bp-asm.h.
12195 (STOP): Likewise.
12196 (strcspn): Do not use BP_SYM.
12197 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12198 "bp-asm.h".
12199 (PARMS): Do not use macros from bp-asm.h.
12200 (STR): Likewise.
12201 (STOP): Likewise.
12202 (strpbrk): Likewise. Do not use BP_SYM.
12203 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12204 "bp-asm.h".
12205 (PARMS): Do not use macros from bp-asm.h.
12206 (STR): Likewise.
12207 (CHR): Likewise.
12208 (strrchr): Likewise. Do not use BP_SYM.
12209 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12210 (PARMS): Do not use macros from bp-asm.h.
12211 (SKIP): Likewise.
12212 (strspn): Do not use BP_SYM.
12213 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12214 (PARMS): Do not use macros from bp-asm.h.
12215 (STR): Likewise.
12216 (DELIM): Likewise.
12217 (SAVE): Likewise.
12218 (FUNCTION): Likewise. Do not use BP_SYM.
12219 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12220 aliases.
12221 (strtok_r): Likewise.
12222 (__GI___strtok_r): Likewise.
12223 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12224 (PARMS): Do not use macros from bp-asm.h.
12225 (S1): Likewise.
12226 (S2): Likewise.
12227 (SIZE): Likewise.
12228 (__mpn_sub_n): Do not use BP_SYM.
12229 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12230 "bp-asm.h".
12231 (PARMS): Do not use macros from bp-asm.h.
12232 (S1): Likewise.
12233 (SIZE): Likewise.
12234 (__mpn_submul_1): Do not use BP_SYM.
12235 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12236 <bp-sym.h>.
12237 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12238 and <bp-asm.h>.
12239 (PARMS): Do not use macros from bp-asm.h.
12240 (FLAGS): Likewise.
12241 (PTID): Likewise.
12242 (TLS): Likewise.
12243 (CTID): Likewise.
12244 (__clone): Do not use BP_SYM.
12245 (clone): Do not use BP_SYM in weak_alias.
12246 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12247 and <bp-asm.h>.
12248 (PARMS): Do not use macros from bp-asm.h.
12249 (LEN): Likewise.
12250 (__mmap64): Do not use BP_SYM.
12251 (mmap64): Do not use BP_SYM in weak_alias.
12252 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12253 <bp-sym.h> and <bp-asm.h>.
12254 (PARMS): Do not use macros from bp-asm.h.
12255 (__posix_fadvise64_l64): Do not use BP_SYM.
12256 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12257 (PARMS): Do not use macros from bp-asm.h.
12258 (NSOPS): Likewise.
12259 (semtimedop): Do not use BP_SYM.
12260 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12261 and <bp-asm.h>.
12262
582a3cff
AM
122632013-02-21 Allan McRae <allan@archlinux.org>
12264
12265 * manual/message.texi (Charset conversion in gettext):
12266 Move @end statement to beginning of line.
12267
bab8a695
SP
122682013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12269
80945231
SP
12270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12271 static.
12272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12273 Likewise.
12274
bab8a695
SP
12275 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12276 (denorm): Likewise.
12277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12278 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12279
e21d7aa7
AK
122802013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12281
12282 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12283 tail-call to the resolved function if pltexit isn't needed.
12284
4c7a4263
SP
122852013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12286
12287 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12288 or Y being zero as being unlikely.
12289 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12290 Likewise.
12291
41f49342
CD
122922013-02-20 Carlos O'Donell <carlos@redhat.com>
12293
12294 * manual/nss.texi (System Databases and Name Service Switch):
12295 Remove frobnicate @pxref.
12296
50022a93
TS
122972013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12298
12299 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12300 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12301
08cbd996
PM
123022013-02-20 Petr Machata <pmachata@redhat.com>
12303
12304 * elf/elf.h (R_ARM_TARGET1): New macro.
12305 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12306 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12307 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12308 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12309 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12310 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12311 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12312 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12313 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12314 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12315 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12316 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12317 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12318 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12319 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12320 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12321 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12322 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12323 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12324 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12325 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12326 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12327 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12328 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12329 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12330 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12331 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12332 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12333 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12334 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12335 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12336 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12337 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12338 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12339 (R_ARM_THM_GOT_BREL12): Likewise.
12340 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12341 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12342 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12343 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12344 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12345 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12346 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12347 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12348 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12349
c7b275d6
TS
123502013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12351
12352 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12353 __attribute_used__ to __attribute__ ((unused)).
12354
20cd7fb3
SP
123552013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12356
12357 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12358 powerpc mpa.c.
12359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12360 comment formatting.
12361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12362
92945b52
JM
123632013-02-19 Joseph Myers <joseph@codesourcery.com>
12364
12365 [BZ #13550]
12366 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12367 Remove macro.
12368 (ENTER): Remove both macro definitions.
12369 (LEAVE): Likewise.
12370 (CHECK_BOUNDS_LOW): Likewise.
12371 (CHECK_BOUNDS_HIGH): Likewise.
12372 (CHECK_BOUNDS_BOTH): Likewise.
12373 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12374 (RETURN_BOUNDED_POINTER): Likewise.
12375 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12376 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12377 (POP_ERRNO_LOCATION_RETURN): Likewise.
12378 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12379 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12380 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12381 macros.
12382 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12383 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12384 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12385 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12386 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12387 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12388 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12389 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12390 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12391 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12392 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12393 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12394 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12395 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12396 removed macros.
12397 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12398 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12399 macros.
12400 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12401 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12402 * sysdeps/i386/i586/memset.S (memset): Likewise.
12403 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12404 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12405 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12406 macros.
12407 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12408 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12409 Change uses of L(2) to L(out).
12410 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12411 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12412 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12413 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12414 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12415 removed macros.
12416 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12417 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12418 macros.
12419 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12420 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12421 (RETURN): Do not use macro LEAVE.
12422 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12423 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12424 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12425 * sysdeps/i386/i686/memset.S (memset): Likewise.
12426 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12427 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12428 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12429 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12430 Likewise.
12431 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12432 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12433 L(1_2) and L(1_3) into L(1).
12434 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12435 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12436 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12437 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12438 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12439 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12440 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12441 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12442 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12443 macros.
12444 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12445 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12446 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12447 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12448 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12449 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12450 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12451 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12452 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12453 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12454 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12455 * sysdeps/i386/strspn.S (strspn): Likewise.
12456 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12457 conditional code.
12458 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12459 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12460 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12461 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12462 L(1_3) into L(1_1).
12463 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12464 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12465 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12466 macros.
12467 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12468
2389741a
JJ
124692013-02-19 Jakub Jelinek <jakub@redhat.com>
12470
12471 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12472 macro.
12473
2016b3cd
SP
124742013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12475
e4f22324
SP
12476 * math/atest-exp.c (exp_mpn): Remove ROUND.
12477 * math/atest-exp2.c (exp_mpn): Likewise.
12478 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12479
2016b3cd
SP
12480 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12481 * stdlib/tst-tls-atexit-lib.c: Likewise.
12482 * stdlib/tst-tls-atexit.c: Likewise.
12483
4be9b544
MF
124842013-02-18 Mike Frysinger <vapier@gentoo.org>
12485
12486 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12487 and __attribute_alloc_size__.
12488
2f62b9ee
MF
124892013-02-18 Mike Frysinger <vapier@gentoo.org>
12490
12491 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12492 __attribute_alloc_size__.
12493 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12494 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12495
6ff444c4
MF
124962013-02-18 Mike Frysinger <vapier@gentoo.org>
12497
12498 * include/programs/xmalloc.h: New file.
12499 * catgets/gencat.c: Include it.
12500 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12501 * elf/pldd.c: Likewise.
12502 * iconv/iconv_charmap.c: Likewise.
12503 * iconv/iconvconfig.c: Likewise.
12504 * iconv/strtab.c: Likewise.
12505 * locale/programs/locale.c: Likewise.
12506 * locale/programs/localedef.h: Likewise.
12507 * locale/programs/simple-hash.c: Likewise.
12508 * nscd/nscd.h: Likewise.
12509 * nss/makedb.c: Likewise.
12510 * sysdeps/generic/ldconfig.h: Likewise.
12511
be179c8a
SP
125122013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12513
ba384f6e
SP
12514 * Versions.def: Add GLIBC_2.18.
12515 * include/link.h (struct link_map): New member l_tls_dtor_count.
12516 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12517 (__call_tls_dtors): Likewise.
12518 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12519 __cxa_thread_atexit_impl.
12520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12521 Likewise.
12522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12523 Likewise.
12524 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12525 Likewise.
12526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12527 Likewise.
12528 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12530 Likewise.
12531 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12532 Likewise.
12533 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12535 Likewise.
12536 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12537 (tests): Add test case tst-tls-atexit.
12538 (modules-names): Add shared library for tst-tls-atexit.
85891aca 12539 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
12540 (GLIBC_PRIVATE): Add __call_tls_dtors.
12541 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12542 for libstdc++.
12543 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12544 * stdlib/tst-tls-atexit.c: New test case.
12545 * stdlib/tst-tls-atexit-lib.c: New test case.
12546
ffaa74cf 12547 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 12548
be179c8a
SP
12549 * elf/Versions (ld): Add _dl_find_dso_for_object.
12550 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12551 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12552 (dl_open_worker): Use _dl_find_dso_for_object.
12553 * elf/dl-sym.c (do_sym): Likewise.
12554 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12555
f78b5caa
AK
125562013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12557
12558 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12559 Syntactic changes only.
12560 (_dl_runtime_profile): Do a tail-call to the resolved function.
12561
29691210
JM
125622013-02-17 Joseph Myers <joseph@codesourcery.com>
12563
12564 [BZ #13550]
12565 * sysdeps/x86_64/bp-asm.h: Remove file.
12566 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12567 <bp-sym.h> and <bp-asm.h>.
12568 (__clone): Do not use BP_SYM.
12569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12570 <bp-sym.h> and <bp-asm.h>.
12571 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12572 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12573 "bp-asm.h".
12574 (_setjmp): Do not use BP_SYM.
12575 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12576 "bp-asm.h".
12577 (setjmp): Do not use BP_SYM.
12578 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12579 libc_hidden_def.
12580 (mempcpy): Do not use BP_SYM in weak_alias.
12581 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12582 "bp-asm.h".
12583 (strchr): Do not use BP_SYM.
12584 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12585 "bp-asm.h".
12586 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12587 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12588 (_start): Do not use BP_SYM.
12589 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12590 "bp-asm.h".
12591 (strcat): Do not use BP_SYM.
12592 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12593 "bp-asm.h".
12594 (STRCMP): Do not use BP_SYM.
12595 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12596 "bp-asm.h".
12597 (STRCPY): Do not use BP_SYM.
12598 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12599 "bp-asm.h".
12600 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12601 "bp-asm.h".
12602 (FUNCTION): Do not use BP_SYM.
12603 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12604 weak_alias.
12605 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12606
f238fd19
AJ
126072013-02-17 Andreas Jaeger <aj@suse.de>
12608
12609 * time/Versions: Sort entries.
12610 * string/Versions: Likewise.
12611 * resolv/Versions: Likewise.
12612 * posix/Versions: Likewise.
12613 * iconv/Versions: Likewise.
12614 * elf/Versions: Likewise.
12615 * wcsmbs/Versions: Likewise.
12616
bd07f23c 126172013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 12618
22af19f9
SP
12619 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12620 loop termination condition.
12621
4709fe76
SP
12622 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12623 variable to calculate EZ.
12624 (__sqr): Likewise.
2d0e0f29
SP
12625
12626 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12627 the lower precision input.
12628
daaa7713
JM
126292013-02-15 Joseph Myers <joseph@codesourcery.com>
12630
12631 [BZ #13550]
12632 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
12633 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
12634 (run-via-rtld-prefix): Do not handle %-bp tests.
12635 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
12636 (all-object-suffixes): Remove .ob.
12637 (bppfx): Remove variable.
12638 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
12639 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
12640 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
12641 [$(build-bounded) = yes] (libtype.ob): Likewise.
12642 * Makerules (elide-routines.ob): Remove variable.
12643 (do-tests-clean): Do not handle *-bp.out.
12644 (common-mostlyclean): Do not handle *-bp and *-bp.out.
12645 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
12646 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
12647 (tests): Do not include $(tests-bp.out).
12648 (xtests): Do not include $(xtests-bp.out).
12649 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
12650 [$(build-bounded) = yes] ($(addprefix
12651 $(objpfx),$(binaries-bounded))): Remove rule.
12652 ($(objpfx)%-bp.out): Remove rule.
12653 * config.make.in (build-bounded): Remove variable.
12654 * crypt/Makefile [$(build-bounded) = yes]
12655 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
12656 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
12657 append to variable.
12658 [$(build-bounded) = yes] (install-lib): Likewise.
12659 [$(build-bounded) = yes] (generated): Likewise.
12660 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
12661 Remove rule.
12662 * intl/Makefile [$(build-bounded) = yes]
12663 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
12664 * math/Makefile [$(build-bounded) = yes]
12665 ($(tests:%=$(objpfx)%-bp): Likewise.
12666 * misc/Makefile [$(build-bounded) = yes]
12667 ($(objpfx)tst-tsearch-bp): Likewise.
12668 * nptl/Makeconfig (bounded-thread-library): Remove variable.
12669 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
12670 Remove dependency.
12671 * string/Makefile (o-objects.ob): Remove variable.
12672 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
12673 (CFLAGS-.ob): Remove variable.
12674 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
12675 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
12676 both definitions of variable.
12677 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
12678 (ASFLAGS-.ob): Remove variable.
12679
e97ed6dd
JM
126802013-02-14 Joseph Myers <joseph@codesourcery.com>
12681
2bdd4ca6
JM
12682 [BZ #13550]
12683 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
12684 Remove __BOUNDED_POINTERS__ from condition.
12685 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
12686 * string/bits/string2.h [!__NO_STRING_INLINES &&
12687 !__BOUNDED_POINTERS__]: Likewise.
12688 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
12689 Likewise.
12690 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
12691 Remove conditional code.
12692 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
12693 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
12694 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
12695 condition.
12696
e97ed6dd
JM
12697 [BZ #13550]
12698 * csu/libc-start.c: Do not include <bp-sym.h>.
12699 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
12700 * elf/dl-open.c: Do not include <bp-sym.h>.
12701 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
12702 * math/fegetenv.c: Do not include <bp-sym.h>.
12703 (fegetenv): Do not use BP_SYM in versioned symbols.
12704 * nptl/sysdeps/pthread/bits/libc-lockP.h
12705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
12706 <bp-sym.h>.
12707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12708 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
12709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12710 (__pthread_mutex_destroy): Likewise.
12711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12712 (__pthread_mutex_lock): Likewise.
12713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12714 (__pthread_mutex_trylock): Likewise.
12715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12716 (__pthread_mutex_unlock): Likewise.
12717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12718 (__pthread_mutexattr_init): Likewise.
12719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12720 (__pthread_mutexattr_destroy): Likewise.
12721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12722 (__pthread_mutexattr_settype): Likewise.
12723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12724 (__pthread_rwlock_init): Likewise.
12725 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12726 (__pthread_rwlock_destroy): Likewise.
12727 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12728 (__pthread_rwlock_rdlock): Likewise.
12729 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12730 (__pthread_rwlock_tryrdlock): Likewise.
12731 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12732 (__pthread_rwlock_wrlock): Likewise.
12733 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12734 (__pthread_rwlock_trywrlock): Likewise.
12735 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12736 (__pthread_rwlock_unlock): Likewise.
12737 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12738 (__pthread_key_create): Likewise.
12739 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12740 (__pthread_setspecific): Likewise.
12741 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12742 (__pthread_getspecific): Likewise.
12743 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
12744 Likewise.
12745 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12746 (_pthread_cleanup_push_defer): Likewise.
12747 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12748 (_pthread_cleanup_pop_restore): Likewise.
12749 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
12750 (pthread_setcancelstate): Likewise.
12751 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
12752 <bp-sym.h>.
12753 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
12754 (memchr): Do not use BP_SYM in weak_alias.
12755 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
12756 (fegetenv): Do not use BP_SYM in versioned symbols.
12757 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
12758 (fesetenv): Do not use BP_SYM in versioned symbols.
12759 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12760 (feupdateenv): Do not use BP_SYM in versioned symbols.
12761 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12762 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12763 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
12764 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
12765 (open64): Do not use BP_SYM in weak_alias.
12766 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
12767 (fegetenv): Do not use BP_SYM in versioned symbols.
12768 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
12769 (fesetenv): Do not use BP_SYM in versioned symbols.
12770 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
12771 (feupdateenv): Do not use BP_SYM in versioned symbols.
12772 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
12773 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
12774 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
12775 (feraiseexcept): Do not use BP_SYM in versioned symbols.
12776 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
12777 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
12778 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
12779 <bp-sym.h>.
12780 (__libc_start_main): Do not use BP_SYM.
12781
d6752ccd
SP
127822013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12783
cb57ce60
SP
12784 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
12785 redundant return line.
12786 (norm): Likewise.
12787 (denorm): Likewise.
12788 (dbl_mp): Likewise.
12789 (sub_magnitudes): Likewise.
12790 (__add): Likewise.
12791 (__sub): Likewise.
12792 (__mul): Likewise.
12793 (__inv): Likewise.
12794 (__dvd): Likewise.
12795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
12796 (norm): Likewise.
12797 (denorm): Likewise.
12798 (dbl_mp): Likewise.
12799 (sub_magnitudes): Likewise.
12800 (__add): Likewise.
12801 (__sub): Likewise.
12802 (__mul): Likewise.
12803 (__inv): Likewise.
12804 (__dvd): Likewise.
12805
f414520d
SP
12806 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
12807 instead of __mul.
12808 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12809 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
12810 (cc32): Likewise.
12811
d6752ccd
SP
12812 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
12813 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
12814 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
12815 of __mul for squares.
12816 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
12817 function
12818 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
12819 Likewise.
12820 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
12821 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12822
70d9946a
JM
128232013-02-13 Joseph Myers <joseph@codesourcery.com>
12824
12825 [BZ #13550]
12826 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
12827 code.
12828 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
12829 prototype or function definition. Rename ubp_* variables and
12830 parameters. Remove argv definitions conditional on
12831 [__BOUNDED_POINTERS__].
12832 * debug/backtrace.c (__backtrace): Do not use __unbounded.
12833 * elf/dl-runtime.c (_dl_fixup): Likewise.
12834 * include/set-hooks.h (RUN_HOOK): Likewise.
12835 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
12836 definition.
12837 * string/strcpy.c (strcpy): Do not use __unbounded.
12838 * sysdeps/generic/frame.h (struct layout): Likewise.
12839 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
12840 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
12841 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
12842 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
12843 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
12844 (__backtrace): Likewise.
12845 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
12846 use __ptrvalue.
12847 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12848 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12849 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12850 Likewise.
12851 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
12852 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
12853 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12854 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12855 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
12856 Do not use __unbounded.
12857 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
12858 Rename __unboundedrlimits parameter to rlimits in prototype.
12859 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
12860 Do not use __unbounded.
12861 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
12862 not use __ptrvalue.
12863 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12864 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
12865 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12866 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
12867 __ptrvalue or __unbounded.
12868 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
12869 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
12870 use __unbounded.
12871 (__new_msgctl): Do not use __ptrvalue.
12872 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
12873 __unbounded.
12874 (__libc_msgrcv): Do not use __ptrvalue.
12875 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
12876 startup_info): Do not use __unbounded.
12877 (__libc_start_main): Likewise. Rename ubp_* variables and
12878 parameters. Remove argv definitions conditional on
12879 [__BOUNDED_POINTERS__].
12880 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
12881 __ptrvalue.
12882 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
12883 use __unbounded.
12884 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
12885 or __ptrvalue.
12886 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
12887 use __unbounded.
12888 (__new_shmctl): Do not use __ptrvalue.
12889 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12890 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12891 Likewise.
12892 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12893 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
12894 (__libc_sigaction): Likewise.
12895 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
12896 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
12897 Likewise.
12898 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12899
cc7834d6
OB
129002013-02-13 Ondřej Bílka <neleai@seznam.cz>
12901
ffb1ec7b 12902 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
12903
12904 * string/mempcpy.c: Implement by calling memcpy.
12905
bdf02814
SP
129062013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
12907
c2af38aa
SP
12908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
12909
4e92d59e
SP
12910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
12911 evaluation.
12912
909279a5
SP
12913 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
12914 values in the mantissa.
12915
bdf02814
SP
12916 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
12917 minimize writes to Z.
12918 (sub_magnitudes): Simplify code a bit.
12919
cd525923
RM
129202013-02-12 Roland McGrath <roland@hack.frob.com>
12921
12922 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
12923 from the message. The linker prefixes all warnings with that already.
12924
7e2f0d2d
AS
129252013-02-12 Andreas Schwab <schwab@suse.de>
12926
a445af0b
AS
12927 [BZ #15078]
12928 * posix/regexec.c (extend_buffers): Add parameter min_len.
12929 (check_matching): Pass minimum needed length.
12930 (clean_state_log_if_needed): Likewise.
12931 (get_subexp): Likewise.
12932 * posix/Makefile (tests): Add bug-regex34.
12933 (bug-regex34-ENV): Define.
12934 * posix/bug-regex34.c: New file.
12935
7e2f0d2d
AS
12936 [BZ #11561]
12937 * posix/regcomp.c (parse_bracket_exp): When looking up collating
12938 elements compare against the byte sequence of it, not its name.
12939 * posix/Makefile (tests): Add bug-regex35.
12940 (bug-regex35-ENV): Define.
12941 * posix/bug-regex35.c: New file.
12942
a175b684
TV
129432013-02-11 Tom de Vries <tom@codesourcery.com>
12944
12945 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
12946 comment.
12947 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
12948 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
12949 (CHECK_EOL): Add undef.
12950
310998fe 129512013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
12952
12953 * bits/stdlib-bsearch.h: New file.
12954 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 12955 * stdlib/stdlib.h: Likewise.
41eda41d 12956
8ded91fb
RM
129572013-02-11 Roland McGrath <roland@hack.frob.com>
12958
12959 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
12960 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
12961 declaration.
12962 * manual/search.texi (Array Search Function): Add missing const in
12963 lfind prototype.
12964 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
12965 declaration to use rlim_t.
12966 (Basic Scheduling Functions): Remove erroneous const from
12967 sched_getparam prototype. Remove erroneous * from
12968 sched_get_priority_max and sched_get_priority_min prototypes.
12969 (Resource Usage): Fix summary @comment on vtimes to refer to
12970 sys/vtimes.h rather than vtimes.h.
12971 Add missing *s in vtimes prototype.
12972 (Limits on Resources): Fix ulimit prototype to return long int.
12973 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
12974 prototypes to use long int rather than double.
12975 (BSD Random): Fix initstate and setstate to use char *, not void *.
12976 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
12977 prototype to make second argument 'struct aiocb64 *const[]'.
12978 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
12979 (Status of AIO Operations): Remove erroneous const in aio_return and
12980 aio_return64 prototypes.
12981 (Synchronizing I/O): Fix sync prototype to return void.
12982 * manual/startup.texi (Suboptions): Remove an erroneous const in
12983 getsubopt prototype.
12984 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
12985 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
12986 use size_t rather than int.
12987 (Scanning All Users): Likewise for getpwent_r.
12988 (Setting Groups): Add missing const to setgroups prototype.
12989 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
12990 * manual/socket.texi (Host Names): Fix gethostbyaddr and
12991 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
12992 'const void *' rather than 'const char *'.
12993 (Host Address Functions): Likewise for inet_ntop.
12994 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
12995 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
12996 ssize_t for return value.
12997 (Sending Data): Likewise for send, sendto, sendmsg.
12998 (Socket Option Functions): Add a missing const in setsockopt prototype.
12999 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13000 use wchar_t for the argument.
13001 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13002 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13003 take no arguments.
13004 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13005 double/float/long double for second argument.
13006 Fix return types of significand, significandf, significandl.
13007 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13008 argument in fchmod prototype.
13009 (File Owner): Use uid_t and gid_t in fchown prototype.
13010 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13011 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13012 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13013 use 'const struct dirent **' as argument types to CMP function pointer
13014 argument.
13015 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13016 (File Times): Fix summary magic @comment for struct utimbuf and utime
13017 to refer to utime.h, not time.h.
13018 * manual/string.texi (Argz Functions): Add missing const in
13019 argz_extract and argz_next prototypes.
13020 (Finding Tokens in a String): Likewise for basename.
13021 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13022 (Copying and Concatenation): Fix typo in wmemmove prototype.
13023 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13024 (Signal Stack): Remove erroneous const in sigstack prototype.
13025 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13026 prototype.
13027 (Simple Calendar Time): Likewise for stime.
13028 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13029 prototype.
13030 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13031 say sys/sysctl.h instead.
13032 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13033 and vsyslog prototypes.
13034
fe77fe6d
TV
130352013-02-11 Tom de Vries <tom@codesourcery.com>
13036
13037 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13038 Remove.
13039
3a09b620
RM
130402013-02-11 Roland McGrath <roland@hack.frob.com>
13041
13042 * misc/sys/mman.h: Fix typo in mremap comment.
13043
550a0b89
RM
130442013-02-08 Roland McGrath <roland@hack.frob.com>
13045
13046 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13047 the '\0' terminator.
13048
a2da1673
JM
130492013-02-08 Joseph Myers <joseph@codesourcery.com>
13050
13051 [BZ #13550]
13052 * debug/segfault.c: Don't include <bp-checks.h>.
13053 * sysdeps/generic/bp-checks.h: Remove file.
13054 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13055 (__GETDENTS): Don't use CHECK_N.
13056 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13057 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13058 (__getgroups): Don't use CHECK_N.
13059 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13060 (setgroups): Don't use CHECK_N.
13061 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13062 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13063 (__libc_msgrcv): Don't use CHECK_N.
13064 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13065 (__libc_msgsnd): Don't use CHECK_N.
13066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13067 <bp-checks.h>.
13068 (__libc_pread): Don't use CHECK_N.
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13070 include <bp-checks.h>.
13071 (__libc_pread64): Don't use CHECK_N.
13072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13073 include <bp-checks.h>.
13074 (__libc_pwrite): Don't use CHECK_N.
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13076 include <bp-checks.h>.
13077 (__libc_pwrite64): Don't use CHECK_N.
13078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13079 <bp-checks.h>.
13080 (__libc_pread): Don't use CHECK_N.
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13082 include <bp-checks.h>.
13083 (__libc_pread64): Don't use CHECK_N.
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13085 include <bp-checks.h>.
13086 (__libc_pwrite): Don't use CHECK_N.
13087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13088 include <bp-checks.h>.
13089 (__libc_pwrite64): Don't use CHECK_N.
13090 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13091 (do_pread): Don't use CHECK_N.
13092 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13093 (do_pread64): Don't use CHECK_N.
13094 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13095 (do_pwrite): Don't use CHECK_N.
13096 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13097 (do_pwrite64): Don't use CHECK_N.
13098 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13099 (__libc_readv): Don't use CHECK_N.
13100 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13101 (semop): Don't use CHECK_N.
13102 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13103 <bp-checks.h>.
13104 (semtimedop): Don't use CHECK_N.
13105 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13106 (__libc_pread): Don't use CHECK_N.
13107 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13108 <bp-checks.h>.
13109 (__libc_pread64): Don't use CHECK_N.
13110 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13111 <bp-checks.h>.
13112 (__libc_pwrite): Don't use CHECK_N.
13113 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13114 <bp-checks.h>.
13115 (__libc_pwrite64): Don't use CHECK_N.
13116 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13117 <bp-checks.h>.
13118 (__libc_msgrcv): Don't use CHECK_N.
13119 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13120 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13121 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13122 (__libc_writev): Don't use CHECK_N.
13123
b84660a8
RM
131242013-02-08 Roland McGrath <roland@hack.frob.com>
13125
7f3e75f8
RM
13126 * string/strcpy.c: Removed unused variable.
13127
b84660a8
RM
13128 * Makeconfig (+sysdep-includes): Define with := rather than =.
13129 Use an existing include/ subdir of each sysdeps dir before it.
13130
471514d3
CD
131312013-02-08 Carlos O'Donell <carlos@redhat.com>
13132
13133 * nscd/connection.c (register_traced_file): Comment function.
13134 [HAVE_INOTIFY] (union __inev): Define.
13135 [HAVE_INOTIFY] (inotify_check_files): New function.
13136 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13137 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13138 clear_db_cache.
13139 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13140
b2d3c3be
CD
131412013-02-08 Carlos O'Donell <carlos@redhat.com>
13142
13143 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13144 loaded if not already and that a failure is permanent.
13145
b39949d2
CD
131462013-02-08 Carlos O'Donell <carlos@redhat.com>
13147
ddacd1db 13148 [BZ #15006]
b39949d2
CD
13149 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13150 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13151
b2c9eff4
JM
131522013-02-08 Joseph Myers <joseph@codesourcery.com>
13153
f3aae3f3
JM
13154 [BZ #13550]
13155 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13156 (CHECK_1_NULL_OK): Likewise.
13157 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13158 (__fxstat): Do not use CHECK_1.
13159 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13160 <bp-checks.h>.
13161 (___fxstat64): Do not use CHECK_1.
13162 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13163 <bp-checks.h>.
13164 (__fxstatat): Do not use CHECK_1.
13165 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13166 <bp-checks.h>.
13167 (__fxstatat64): Do not use CHECK_1.
13168 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13169 <bp-checks.h>.
13170 (__fxstat): Do not use CHECK_1.
13171 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13172 <bp-checks.h>.
13173 (__fxstatat): Do not use CHECK_1.
13174 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13175 <bp-checks.h>.
13176 (__getresgid): Do not use CHECK_1.
13177 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13178 <bp-checks.h>.
13179 (__getresuid): Do not use CHECK_1.
13180 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13181 <bp-checks.h>.
13182 (__lxstat): Do not use CHECK_1.
13183 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13184 <bp-checks.h>.
13185 (__old_msgctl): Do not use CHECK_1.
13186 (__new_msgctl): Likewise.
13187 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13188 <bp-checks.h>.
13189 (__new_setrlimit): Do not use CHECK_1.
13190 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13191 <bp-checks.h>.
13192 (__old_shmctl): Do not use CHECK_1.
13193 (__new_shmctl): Likewise.
13194 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13195 <bp-checks.h>.
13196 (__xstat): Do not use CHECK_1.
13197 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13198 (__lxstat): Do not use CHECK_1.
13199 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13200 <bp-checks.h>.
13201 (___lxstat64): Do not use CHECK_1.
13202 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13203 (__old_msgctl): Do not use CHECK_1.
13204 (__new_msgctl): Likewise.
13205 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13206 <bp-checks.h>.
13207 (__gettimeofday): Do not use CHECK_1.
13208 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13209 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13210 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13211 <bp-checks.h>.
13212 (__gettimeofday): Do not use CHECK_1.
13213 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13214 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13215 (__new_shmctl): Do not use CHECK_1.
13216 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13217 <bp-checks.h>.
13218 (do_sigtimedwait): Do not use CHECK_1.
13219 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13220 <bp-checks.h>.
13221 (do_sigwaitinfo): Do not use CHECK_1.
13222 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13223 <bp-checks.h>.
13224 (msgctl): Do not use CHECK_1.
13225 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13226 <bp-checks.h>.
13227 (shmctl): Do not use CHECK_1.
13228 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13229 (ustat): Do not use CHECK_1.
13230 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13231 <bp-checks.h>.
13232 (__fxstat): Do not use CHECK_1.
13233 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13234 <bp-checks.h>.
13235 (__fxstatat): Do not use CHECK_1.
13236 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13237 <bp-checks.h>.
13238 (__lxstat): Do not use CHECK_1.
13239 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13240 <bp-checks.h>.
13241 (__xstat): Do not use CHECK_1.
13242 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13243 (__xstat): Do not use CHECK_1.
13244 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13245 (___xstat64): Do not use CHECK_1.
13246
b2c9eff4
JM
13247 [BZ #13550]
13248 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13249 definitions.
13250 (CHECK_BOUNDS_HIGH): Likewise.
13251 * string/strcpy.c: Do not include <bp-checks.h>.
13252 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13253
f1d70dad
RM
132542013-02-07 Roland McGrath <roland@hack.frob.com>
13255
13256 * nscd/nscd-client.h (__nscd_drop_map_ref):
13257 Add __attribute__ ((unused)).
13258 * nis/nss-nisplus.h (niserr2nss): Likewise.
13259
13260 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13261 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13262
13263 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13264 Remove inline keyword.
13265 * include/rounding-mode.h (round_away): Likewise.
13266 * libio/wfileops.c (adjust_wide_data): Likewise.
13267 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13268 (__m128i_strloadu_tolower): Likewise.
13269 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13270 (__m128i_strloadu_tolower): Likewise.
13271 * time/mktime.c (ydhms_diff): Likewise.
13272 * locale/elem-hash.h (elem_hash): Likewise.
13273 * locale/setlocale.c (setdata): Likewise.
13274 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13275 (re_string_wchar_at): Likewise.
13276 (bitset_not, bitset_merge, bitset_mask): Likewise.
13277 [!(__GNUC__ > 3)] (inline): Remove macro.
13278 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13279 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13280 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13281 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13282 * string/memcmp.c (memcmp_bytes): Likewise.
13283 * locale/programs/locarchive.c (compute_hashval): Likewise.
13284 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13285 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13286 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13287 * nss/getent.c (print_rpc, print_protocols): Likewise.
13288 (print_passwd, print_group, print_aliases): Likewise.
13289 * nis/nss-nisplus.h (niserr2nss): Likewise.
13290 * nscd/connections.c (restart_p): Likewise.
13291 Change return type to bool.
13292
eab55bfb
RM
132932013-02-05 Roland McGrath <roland@hack.frob.com>
13294
7bd642f5
RM
13295 * Makeconfig (all-Depend-files): Add existing
13296 $(sorted-subdirs:=/Depend) files.
13297 (all-subdirs): Remove nss.
13298 * sysdeps/unix/inet/Subdirs: Add it here instead.
13299 * hesiod/Depend: New file.
13300
573c29b2
RM
13301 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13302 instead of calling alloca.
13303
b2e25af0
RM
13304 * io/lseek.c (__lseek): Rename to __libc_lseek.
13305 Define __lseek as an alias.
13306
eab55bfb
RM
13307 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13308
9a0d1941
CD
133092013-02-04 Carlos O'Donell <carlos@redhat.com>
13310
13311 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13312 else clause and remove check for non-standard endianness.
13313
b83bbec4
DM
133142013-02-04 David S. Miller <davem@davemloft.net>
13315
13316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13317
6277fdab
JM
133182013-02-04 Joseph Myers <joseph@codesourcery.com>
13319
13320 [BZ #13550]
13321 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13322 (__ubp_memchr): Remove prototype.
13323 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13324 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13325 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13326 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13327 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13328 Remove alias.
13329 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13330 (__ubp_memchr): Likewise.
13331 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13332 (__ubp_memchr): Likewise.
13333 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13334 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13335 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13336 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13337 CHECK_STRING.
13338 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13339 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13340 (__getcwd): Do not use CHECK_STRING.
13341 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13342 <bp-checks.h>.
13343 (__real_chown): Do not use CHECK_STRING.
13344 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13345 <bp-checks.h>.
13346 (fchownat): Do not use CHECK_STRING.
13347 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13348 CHECK_STRING.
13349 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13350 <bp-checks.h>.
13351 (__lchown): Do not use CHECK_STRING.
13352 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13353 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13354 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13355 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13357 include <bp-checks.h>.
13358 (truncate64): Do not use CHECK_STRING.
13359 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13360 <bp-checks.h>.
13361 (__real_chown): Do not use CHECK_STRING.
13362 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13363 <bp-checks.h>.
13364 (__lchown): Do not use CHECK_STRING.
13365 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13366 <bp-checks.h>.
13367 (__chown): Do not use CHECK_STRING.
13368 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13369 <bp-checks.h>.
13370 (truncate64): Do not use CHECK_STRING.
13371 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13372 Likewise.
13373 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13374 (__xmknod): Do not use CHECK_STRING.
13375 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13376 <bp-checks.h>.
13377 (__xmknodat): Do not use CHECK_STRING.
13378 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13379 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13380
903ae060
AS
133812013-02-04 Andreas Schwab <schwab@suse.de>
13382
13383 [BZ #14142]
13384 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13385 * include/netdb.h: Likewise for h_errno.
13386 * elf/tst-stackguard1.c: Include <tls.h>.
13387
542f9466
JK
133882013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13389
13390 * elf/link.h (struct link_map): Extend the l_addr comment.
13391 * include/link.h (struct link_map): Likewise.
13392
e782a927
JM
133932013-02-01 Joseph Myers <joseph@codesourcery.com>
13394
13395 [BZ #13550]
13396 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13397 (BOUNDED_1): Remove macro.
13398 * debug/backtrace.c: Don't include <bp-checks.h>.
13399 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13400 (__backtrace): Likewise.
13401 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13402 <bp-checks.h>.
13403 (__backtrace): Don't use BOUNDED_1.
13404 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13405 <bp-checks.h>.
13406 (__backtrace): Don't use BOUNDED_1.
13407 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13408 (__backtrace): Don't use BOUNDED_1.
13409 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13410 (shmat): Don't use BOUNDED_N.
13411
8cf28c5e
JM
134122013-01-31 Joseph Myers <joseph@codesourcery.com>
13413
3a7ac8a0
JM
13414 [BZ #13550]
13415 * sysdeps/generic/bp-start.h: Remove file.
13416 * csu/libc-start.c: Don't include <bp-start.h>.
13417 (LIBC_START_MAIN): Set up __environ directly instead of using
13418 INIT_ARGV_and_ENVIRON.
13419 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13420 <bp-start.h>.
13421
f3499f95
JM
13422 [BZ #13550]
13423 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13424 definitions.
13425 (CHECK_FCNTL): Likewise.
13426 (CHECK_N_PAGES): Likewise.
13427
32a45bea
JM
13428 [BZ #13550]
13429 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13430 definitions.
13431 (CHECK_SIGSET_NULL_OK): Likewise.
13432 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13433 <bp-checks.h>.
13434 (sigpending): Don't use CHECK_SIGSET.
13435 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13436 <bp-checks.h>.
13437 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13438 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13439 <bp-checks.h>.
13440 (do_sigsuspend): Don't use CHECK_SIGSET.
13441 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13442 use CHECK_SIGSET.
13443 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13444 (do_sigwait): Don't use CHECK_SIGSET.
13445 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13446 use CHECK_SIGSET.
13447 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13448 include <bp-checks.h>.
13449 (sigpending): Don't use CHECK_SIGSET.
13450 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13451 include <bp-checks.h>.
13452 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13453 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13454 <bp-checks.h>.
13455 (sigpending): Don't use CHECK_SIGSET.
13456 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13457 <bp-checks.h>.
13458 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13459
2e8a5c8c
JM
13460 [BZ #13550]
13461 * sysdeps/generic/bp-semctl.h: Remove file.
13462 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13463 <bp-checks.h> and <bp-semctl.h>.
13464 (__old_semctl): Don't use CHECK_SEMCTL.
13465 (__new_semctl): Likewise.
13466 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13467 and <bp-semctl.h>.
13468 (__old_semctl): Don't use CHECK_SEMCTL.
13469 (__new_semctl): Likewise.
13470 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13471 <bp-checks.h> and <bp-semctl.h>.
13472 (__old_semctl): Don't use CHECK_SEMCTL.
13473 (__new_semctl): Likewise.
13474 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13475 <bp-checks.h> and <bp-semctl.h>.
13476 (semctl): Don't use CHECK_SEMCTL.
13477
c2d54929
JM
13478 [BZ #13550]
13479 * Makerules (elide-bp-thunks): Remove variable.
13480 (elide-routines.oS): Don't use $(elide-bp-thunks).
13481 (elide-routines.os): Likewise.
13482 (elide-routines.o): Likewise.
13483 (elide-routines.op): Likewise.
13484 (elide-routines.og): Likewise.
13485 (objects): Don't use $(bp-thunks).
13486 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13487 include.
13488 (common-generated): Do not add s-proto-bp.d.
13489 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13490 (int): Likewise.
13491 (typ): Likewise.
13492 Do not generate makefile rules for bounded-pointer thunks.
13493 * sysdeps/generic/bp-thunks.h: Remove file.
13494 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13495 * sysdeps/unix/s-proto-bp.S: Likewise.
13496
8cf28c5e
JM
13497 [BZ #15062]
13498 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13499 parts of result separately when argument is not close to line from
13500 -i to i and one part of argument is small.
13501 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13502 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13503 * math/libm-test.inc (cacos_test): Add more tests.
13504 (casin_test): Likewise.
13505 (casinh_test): Likewise.
13506 * sysdeps/i386/fpu/libm-test-ulps: Update.
13507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13508
c4e33b8d
DM
135092013-01-31 David S. Miller <davem@davemloft.net>
13510
13511 * po/de.po: Update from translation team.
13512
3b60b421
MK
135132013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13514
13515 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13516
bb931195
TS
135172013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13518
b5a5da23
TS
13519 * configure.in (_AC_PROG_CC_C89): New definition.
13520 * configure: Regenerate.
13521
bb931195
TS
13522 * configure.in (AC_PROG_CPP): New definition.
13523 * configure: Regenerate.
13524
8c53a12c
JM
135252013-01-23 Joseph Myers <joseph@codesourcery.com>
13526
13527 * debug/tst-backtrace.h: New file.
13528 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13529 (ret): Remove variable.
13530 (x): Likewise.
13531 (FAIL): Remove macro.
13532 (NO_INLINE): Likewise.
13533 (fn1): Use match function instead of strstr.
13534 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13535 (ret): Remove variable.
13536 (x): Likewise.
13537 (FAIL): Remove macro.
13538 (NO_INLINE): Likewise.
13539 (fn): Use match function instead of strstr.
13540 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13541 (ret): Remove variable.
13542 (x): Likewise.
13543 (FAIL): Remove macro.
13544 (NO_INLINE): Likewise.
13545 (handle_signal): Use match function instead of strstr.
13546 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13547 (ret): Remove variable.
13548 (x): Likewise.
13549 (FAIL): Remove macro.
13550 (NO_INLINE): Likewise.
13551 (handle_signal): Use match function instead of strstr.
13552
4858fa2a
RM
135532013-01-23 Roland McGrath <roland@hack.frob.com>
13554
13555 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13556
bae8e7f5
DM
135572013-01-23 David S. Miller <davem@davemloft.net>
13558
13559 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13560 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13561 argument of CAS if possible.
13562 * sysdeps/sparc/sparc64/bits/atomic.h
13563 (__arch_compare_and_exchange_val_32_acq): Likewise.
13564 (__arch_compare_and_exchange_val_64_acq): Likewise.
13565
9cbbc4ae
PT
135662013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13567
13568 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13569 * sysdeps/posix/ulimit.c: ... this.
92a601b8 13570 Include <limits.h>.
67b3f58c 13571 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 13572
5655a0b5
AC
135732013-01-23 Adam Conrad <adconrad@0c3.net>
13574
13575 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13576 (LDFLAGS-tst-array5): Likewise.
13577
052aff95
JM
135782013-01-23 Joseph Myers <joseph@codesourcery.com>
13579
13580 [BZ #15036]
13581 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13582 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13583 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13584 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13585
7c1e01aa
DM
135862013-01-21 David S. Miller <davem@davemloft.net>
13587
13588 * sysdeps/sparc/backtrace.c: New file.
13589 * sysdeps/sparc/sparc32/backtrace.h: New file.
13590 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13591 * sysdeps/sparc/sparc64/backtrace.h: New file.
13592 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13593 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13594 -funwind-tables.
13595
ab087e0a
AS
135962013-01-21 Andreas Schwab <schwab@suse.de>
13597
13598 [BZ #15020]
13599 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13600 closed its stdout.
13601
ed689c2f
AS
136022013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13603
13604 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13605 "mpa2.h".
13606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13607
31d470ac
JM
136082013-01-18 Joseph Myers <joseph@codesourcery.com>
13609 Mark Mitchell <mark@codesourcery.com>
13610 Tom de Vries <tom@codesourcery.com>
13611 Paul Pluzhnikov <ppluzhnikov@google.com>
13612
13613 * debug/tst-backtrace2.c: New file.
13614 * debug/tst-backtrace3.c: Likewise.
13615 * debug/tst-backtrace4.c: Likewise.
13616 * debug/tst-backtrace5.c: Likewise.
13617 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13618 (CFLAGS-tst-backtrace3.c): Likewise.
13619 (CFLAGS-tst-backtrace4.c): Likewise.
13620 (CFLAGS-tst-backtrace5.c): Likewise.
13621 (LDFLAGS-tst-backtrace2): Likewise.
13622 (LDFLAGS-tst-backtrace3): Likewise.
13623 (LDFLAGS-tst-backtrace4): Likewise.
13624 (LDFLAGS-tst-backtrace5): Likewise.
13625 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13626 tst-backtrace4 and tst-backtrace5.
13627
90567f30 136282013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
13629 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13630
13631 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
13632 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
13633 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
13634 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
13635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13636 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
13637 "+r" and remove output regs list as redundant. Add explicit inline
13638 asm to specify register of return val to work around compiler codegen
13639 bug. Remove (int) cast on return value. Add return type parameter to
13640 use in macro so that this macro does not truncate return value for
13641 64-bit values.
13642 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
13643 pass to INTERNAL_VSYSCALL_NCS.
13644 (INLINE_VSYSCALL): Add 'long int' as return type to
13645 INTERNAL_VSYSCALL_NCS macro invocation.
13646 (INTERNAL_VSYSCALL): Add 'long int' as return type to
13647 INTERNAL_VSYSCALL_NCS macro invocation.
13648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13649
d3b9ea61
SP
136502013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13651
0b57daeb
SP
13652 [BZ #14496]
13653 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
13654 Fix application of SIMD FP exception mask.
13655
caa99d06
SP
13656 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
13657 mp_no from a power of two.
13658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
13659 __mpexp_twomm1. Use __pow_mp.
13660
d3b9ea61
SP
13661 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
13662 multiplication.
13663
1dbaee3c
DM
136642013-01-17 David S. Miller <davem@davemloft.net>
13665
13666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13667
728d7b43
JM
136682013-01-17 Joseph Myers <joseph@codesourcery.com>
13669
13670 [BZ #15023]
13671 * include/complex.h: Condition contents on [!_COMPLEX_H].
13672 (__kernel_casinhf): New prototype.
13673 (__kernel_casinh): Likewise.
13674 (__kernel_casinhl): Likewise.
13675 * math/Makefile (libm_calls): Add k_casinh.
13676 * math/k_casinh.c: New file.
13677 * math/k_casinhf.c: Likewise.
13678 * math/k_casinhl.c: Likewise.
13679 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
13680 finite nonzero arguments.
13681 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
13682 finite nonzero arguments.
13683 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
13684 finite nonzero arguments.
13685 * math/s_casinh.c: Do not include <float.h>.
13686 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
13687 * math/s_casinhf.c: Do not include <float.h>.
13688 (__casinhf): Move code for finite nonzero arguments to
13689 k_casinhf.c.
13690 * math/s_casinhl.c: Do not include <float.h>.
13691 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
13692 redefine.
13693 (__casinhl): Move code for finite nonzero arguments to
13694 k_casinhl.c.
13695 * math/libm-test.inc (cacos_test): Add more tests.
13696 * sysdeps/i386/fpu/libm-test-ulps: Update.
13697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13698
2a26ef3a
PT
136992013-01-17 Pino Toscano <toscano.pino@tiscali.it>
13700
13701 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
13702 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
13703 [!HAVE_MREMAP]: Remove [defined linux] case.
13704 * malloc/arena.c: Do not include <malloc-sysdep.h>.
13705
a897655d
SP
137062013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13707
13708 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
13709
881ebe89 137102013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
13711
13712 * elf/elf.h (R_386_SIZE32): New relocation.
13713 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
13714 R_386_SIZE32.
13715 (elf_machine_rela): Likewise.
13716 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13717 R_X86_64_SIZE64 and R_X86_64_SIZE32.
13718
59981e9b
JM
137192013-01-17 Joseph Myers <joseph@codesourcery.com>
13720
13721 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
13722 (FP_FAST_FMA): Do not define.
13723 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
13724 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
13725 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
13726 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
13727 !_SOFT_FLOAT]: Likewise.
13728 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
13729 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
13730 value.
13731 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
13732 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
13733 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
13734 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
13735 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
13736 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
13737 file.
13738
cfa8054f
AS
137392013-01-16 Andreas Schwab <schwab@suse.de>
13740
13741 [BZ #14327]
13742 * include/stdlib.h (__mktemp): Add declaration.
13743 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
13744 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
13745
dd930cc5
SP
137462013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13747
881ebe89
SP
13748 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
13749 definitions.
13750 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13751 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
13752 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
13753 definitions here.
13754 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
13755 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
13756 definitions.
13757 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
13758 and ONE.
13759 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
13760 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
13761 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
13762 definitions.
13763 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
13764 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
13765 definitions.
13766 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 13767
dd930cc5
SP
13768 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
13769
c19a9f89
DM
137702013-01-15 David S. Miller <davem@davemloft.net>
13771
1aa61767
DM
13772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13773 trunc{,f} to libm-sysdep_routes.
13774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
13776 file.
13777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
13778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
13779 file.
13780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
13781 file.
13782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
13783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
13784 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
13785 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
13786 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
13787 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
13788 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
13789 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
13790
c42d5e98
DM
13791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13792 nearbyint{,f} to libm-sysdep_routes.
13793 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
13795 New file.
13796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
13797 file.
13798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
13799 New file.
13800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
13801 file.
13802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
13803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
13804 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
13805 file.
13806 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
13807 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
13808 file.
13809 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
13810 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
13811 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
13812
c19a9f89
DM
13813 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13814 libc_feholdexcept and libc_fesetenv.
13815
357679d2
MF
138162013-01-15 Mike Frysinger <vapier@gentoo.org>
13817
13818 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
13819
65a82e3d
DM
138202013-01-14 David S. Miller <davem@davemloft.net>
13821
8b954ab9
DM
13822 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
13823 (SPARC_ASM_VIS2_IFUNC): Likewise.
13824 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
13825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
13826 use of 'siam' instruction.
13827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
13828 Likewise.
13829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
13830 Likewise.
13831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
13832 Likewise.
13833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13836 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
13838 file.
13839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
13840 file.
13841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
13842 file.
13843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
13844 file.
13845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
13846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
13847 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
13848 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
13849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
13850 new VIS2 routines.
13851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13854 Likewise.
13855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13857 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13858 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
13860 routines to libm-sysdep_routines.
13861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13862
65a82e3d
DM
13863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
13864 fdim/fdimf to libm-sysdep_routines.
13865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
13866 file.
13867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
13869 file.
13870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
13871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
13873 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
13874 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
13875 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
13876 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
13877
e34ab705
SP
138782013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13879
2a91b573
SP
13880 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
13881 to optimize copies.
13882
1066a534
SP
13883 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
13884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13886
e34ab705
SP
13887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
13888 local variable MPTWO.
13889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
13890 Likewise.
13891
aba5e596
MF
138922013-01-13 Mike Frysinger <vapier@gentoo.org>
13893
13894 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
13895 GLOB_NOESCAPE.
13896
e557e9e5
MF
138972013-01-13 Mike Frysinger <vapier@gentoo.org>
13898
13899 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
13900
0428cec9
MF
139012013-01-13 Mike Frysinger <vapier@gentoo.org>
13902
13903 * manual/pattern.texi (glob_t): Document gl_flags.
13904 (glob64_t): Likewise.
13905
8794a964
DM
139062013-01-11 David S. Miller <davem@davemloft.net>
13907
66438c3f
RM
13908 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
13909 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
13910 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
13911 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
13912 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
13913 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
13914 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
13915 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
13916 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
13917 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
13918 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
13919 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
13920 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
13921
4ae4244d
DM
13922 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13923 sparc V9 rather than using V8 code.
13924 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13925 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13926
8794a964
DM
13927 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13928 Move to...
13929 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
13930 Here.
13931
6270516e
RM
139322013-01-11 Roland McGrath <roland@hack.frob.com>
13933
13934 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
13935 not in the main loop.
13936 * configure: Regenerated.
13937
6a57d931
JM
139382013-01-11 Joseph Myers <joseph@codesourcery.com>
13939
13940 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
13941 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
13942 to just #else.
13943 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
13944 [!__GLIBC_HAVE_LONG_LONG] case.
13945 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
13946 condition to just #else.
13947 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
13948 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
13949 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
13950 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
13951 unconditional.
13952 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
13953 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13954 #elif condition to just #else.
13955 * sysdeps/unix/sysv/linux/sys/sysmacros.h
13956 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
13957 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
13958 #elif condition to just #else.
13959
0e8529e9
SE
139602013-01-11 Steve Ellcey <sellcey@mips.com>
13961
13962 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
13963 (EF_MIPS_ARCH_64): Fix value.
13964 (EF_MIPS_ARCH_32R2): New.
13965 (EF_MIPS_ARCH_64R2): New.
13966
740b3dbe
L
139672013-01-11 H.J. Lu <hongjiu.lu@intel.com>
13968
13969 * Makeconfig (+link-pie-before-libc): New.
13970 (+link-pie-after-libc): Likewise.
13971 (+link-pie-tests): Likewise.
13972 (+link-pie): Rewritten.
13973 (link-before-libc): Remove $(config-LDFLAGS).
13974 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
13975 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
13976 (config-LDFLAGS): Renamed to ...
13977 (rtld-LDFLAGS): This.
13978 (rtld-tests-LDFLAGS): New macro.
13979 (link-libc-rpath-link): Likewise.
13980 (link-libc-tests-rpath-link): Likewise.
13981 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
13982 (link-libc): Prepand $(link-libc-rpath-link).
13983 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
13984 (test-program-prefix): New macro.
13985 (test-via-rtld-prefix): Likewise.
13986 (test-program-cmd): Likewise.
13987 (host-test-program-cmd): Likewise.
13988 * Makefile ($(common-objpfx)testrun.sh): Replace
13989 $(run-program-prefix) with $(test-program-prefix).
13990 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
13991 $(rtld-LDFLAGS).
13992 ($(common-objpfx)shlib.lds): Likewise.
13993 (build-module-helper): Likewise.
13994 ($(common-objpfx)format.lds): Likewise.
13995 * Rules (binaries-pie-tests): New.
13996 (binaries-pie-notests): Likewise.
13997 (binaries-pie): Rewritten.
13998 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
13999 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14000 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14001 (make-test-out): Replace $(host-built-program-cmd) with
14002 $(host-test-program-cmd).
14003 * config.make.in (build-hardcoded-path-in-tests): New variable.
14004 * configure.in (--enable-hardcoded-path-in-tests): New configure
14005 option.
14006 (hardcoded_path_in_tests): New AC_SUBST.
14007 * configure: Regenerated.
14008 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14009 $(built-program-cmd) with $(test-program-cmd).
14010 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14011 (test_program_cmd): This.
14012 * elf/Makefile ($(objpfx)order.out): Run test with
14013 $(test-program-prefix).
14014 ($(objpfx)order2.out): Likewise.
14015 ($(objpfx)tst-initorder.out): Likewise.
14016 ($(objpfx)tst-initorder2.out): Likewise.
14017 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14018 $(test-program-cmd).
14019 ($(objpfx)tst-array1-static.out): Likewise.
14020 ($(objpfx)tst-array2.out): Likewise.
14021 ($(objpfx)tst-array3.out): Likewise.
14022 ($(objpfx)tst-array4.out): Likewise.
14023 ($(objpfx)tst-array5.out): Likewise.
14024 ($(objpfx)tst-array5-static.out): Likewise.
14025 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14026 $(test-program-cmd).
14027 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14028 $(run-program-prefix) with $(test-program-prefix).
14029 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14030 (test_program_prefix): This.
14031 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14032 $(run-program-prefix) with $(test-program-prefix).
14033 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14034 (test_program_prefix): This.
14035 * iconvdata/tst-tables.sh: Likewise.
14036 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14037 $(run-program-prefix) with $(test-program-prefix).
14038 ($(objpfx)tst-translit.out): Likewise.
14039 ($(objpfx)tst-gettext2.out): Likewise.
14040 ($(objpfx)tst-gettext4.out): Likewise.
14041 ($(objpfx)tst-gettext6.out): Likewise.
14042 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14043 (test_program_prefix): This.
14044 * intl/tst-gettext2.sh: Likewise.
14045 * intl/tst-gettext4.sh Likewise.
14046 * intl/tst-gettext6.sh: Likewise.
14047 * intl/tst-translit.sh: Likewise.
14048 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14049 with $(test-program-cmd).
14050 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14051 $(run-program-prefix) with $(test-program-prefix).
14052 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14053 (test_program_prefix): This.
14054 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14055 $(run-program-prefix) with $(test-program-prefix).
14056 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14057 (test_program_prefix): This.
14058 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14059 * posix/Makefile ($(objpfx)globtest.out): Replace
14060 $(run-via-rtld-prefix) and $(test-wrapper) with
14061 $(test-program-prefix) and $(test-via-rtld-prefix).
14062 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14063 $(test-program-prefix).
14064 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14065 $(host-test-program-cmd).
14066 (tst-spawn-ARGS): Likewise.
14067 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14068 $(test-program-prefix).
14069 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14070 (test_via_rtld_prefix): This.
14071 (test_wrapper): Renamed to ...
14072 (test_program_prefix): This.
14073 (run_program_prefix): Replaced by test_program_prefix.
14074 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14075 (test_program_prefix): This.
14076 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14077 with $(host-test-program-cmd).
14078 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14079 $(run-program-prefix) with $(test-program-prefix).
14080 ($(objpfx)tst-printf.out): Likewise.
14081 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14082 $(test-program-cmd).
14083 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14084 (test_program_prefix): This.
14085 * stdio-common/tst-unbputc.sh: Likewise.
14086 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14087 $(run-program-prefix) with $(test-program-prefix).
14088 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14089 (test_program_prefix): This.
14090 * string/Makefile ($(objpfx)tst-svc.out): Replace
14091 $(built-program-cmd) with $(test-program-cmd).
14092
c6fe55cf
AJ
140932013-01-11 Andreas Jaeger <aj@suse.de>
14094
14095 [BZ #15003]
14096 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14097 value. Sync with Linux 3.7.
14098
9e6919c8
DM
140992013-01-10 David S. Miller <davem@davemloft.net>
14100
14101 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14102 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14103 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14104
1c9f1a02
RM
141052013-01-10 Roland McGrath <roland@hack.frob.com>
14106
14107 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14108 never set.
14109 * configure: Regenerated.
14110
b9de2dde
DM
141112013-01-10 David S. Miller <davem@davemloft.net>
14112
14113 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14114 sparc V9 rather than using V8 code.
14115 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14116 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14117
e7f68ef4
RM
141182013-01-10 Roland McGrath <roland@hack.frob.com>
14119
14120 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14121 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14122 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14123 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14124 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14125 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14126 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14127 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14128 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14129 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14130 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14131 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14132 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14133 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14134 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14135 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14136 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14137 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14138 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14139 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14140 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14141 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14142 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14143 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14144 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14145 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14146 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14147
5a47cc9c
DM
141482013-01-10 David S. Miller <davem@davemloft.net>
14149
14150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14151
4cf8f209
L
141522013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14153
14154 * posix/Makefile (tests-static): New variable.
14155 (tests): Add $(tests-static).
14156 (tst-exec-static-ARGS): New variable.
14157 (tst-spawn-static-ARGS): Likewise.
14158 * posix/tst-exec-static.c: New file.
14159 * posix/tst-spawn-static.c: Likewise.
14160 * posix/tst-exec.c: Support run directly.
14161 * posix/tst-spawn.c: Likewise.
14162
fed0faa1
JM
141632013-01-10 Joseph Myers <joseph@codesourcery.com>
14164
828beb13
JM
14165 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14166 long.
14167 * math/bits/mathcalls.h (llrint): Likewise.
14168 (llround): Likewise.
14169 * stdlib/stdlib.h (struct drand48_data): Likewise.
14170 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14171 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14172 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14173 Likewise.
14174 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14175 Likewise.
14176 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14177 (elf_greg_t): Likewise.
14178 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14179 (__jmp_buf): Likewise.
14180 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14181 definitions.
14182 (llrint): Likewise, for all definitions.
14183 (llrintl): Likewise.
14184
fed0faa1
JM
14185 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14186 Remove [__GNUC__] condition.
14187 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14188 condition to just [__USE_ISOC99].
14189 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14190
1a20cb20
L
141912013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14192
14193 [BZ #14200]
14194 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14195 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14196 defined.
14197 (_POSIX_V6_ILP32_OFF32): Likewise.
14198 (_XBS5_ILP32_OFF32): Likewise.
14199 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14200 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14201
751b85f7
SP
142022013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14203
7490eb81
SP
14204 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14205
751b85f7
SP
14206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14207 doubles __mpexp_twomm1. Adjust usage.
14208 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14209 Remove.
14210
988197f0
AS
142112013-01-10 Andreas Schwab <schwab@suse.de>
14212
14213 [BZ #14964]
14214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14215 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14216
e83d7298
DM
142172013-01-09 David S. Miller <davem@davemloft.net>
14218
034ed64b 14219 [BZ #15003]
e83d7298
DM
14220 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14221 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14222 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14223 TCP_FASTOPEN): Define.
14224 (tcp_repair_opt): New structure.
14225 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14226 enum values.
14227 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14228 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14229 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14230 (tcp_cookie_transactions): New structure.
14231
d5e0b9bd
AB
142322013-01-09 Anton Blanchard <anton@samba.org>
14233
14234 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14235 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14236 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14237 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14238
0c07e3ea
JM
142392013-01-09 Joseph Myers <joseph@codesourcery.com>
14240
14241 * include/features.h (__USE_ANSI): Remove.
14242
232f7002
RM
142432013-01-09 Roland McGrath <roland@hack.frob.com>
14244
ad98e30c
RM
14245 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14246
232f7002
RM
14247 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14248
950c99ca
SP
142492013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14250
b5792741
SP
14251 * sysdeps/s390/fpu/libm-test-ulps: Update.
14252
47cf2278
SP
14253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14254
950c99ca
SP
14255 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14256 (__acr): Likewise.
14257 (__cpy): Likewise.
14258 (norm): Likewise.
14259 (denorm): Likewise.
14260 (__mp_dbl): Likewise.
14261 (__dbl_mp): Likewise.
14262 (add_magnitudes): Likewise.
14263 (sub_magnitudes): Likewise.
14264 (__add): Likewise.
14265 (__sub): Likewise.
14266 (__mul): Likewise.
14267 (__inv): Likewise.
14268 (__dvd): Likewise.
14269 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14270 (__acr): Likewise.
14271 (__cpy): Likewise.
14272 (norm): Likewise.
14273 (denorm): Likewise.
14274 (__mp_dbl): Likewise.
14275 (__dbl_mp): Likewise.
14276 (add_magnitudes): Likewise.
14277 (sub_magnitudes): Likewise.
14278 (__add): Likewise.
14279 (__sub): Likewise.
14280 (__mul): Likewise.
14281 (__inv): Likewise.
14282 (__dvd): Likewise.
14283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14284 (__acr): Likewise.
14285 (__cpy): Likewise.
14286 (norm): Likewise.
14287 (denorm): Likewise.
14288 (__mp_dbl): Likewise.
14289 (__dbl_mp): Likewise.
14290 (add_magnitudes): Likewise.
14291 (sub_magnitudes): Likewise.
14292 (__add): Likewise.
14293 (__sub): Likewise.
14294 (__mul): Likewise.
14295 (__inv): Likewise.
14296 (__dvd): Likewise.
14297
eede9df9
JM
142982013-01-08 Joseph Myers <joseph@codesourcery.com>
14299
14300 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14301 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14302 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14303 2 && __USE_EXTERN_INLINES]: Likewise.
14304
c40ea3d9
AJ
143052013-01-08 Andreas Jaeger <aj@suse.de>
14306
14307 [BZ# 14985]
14308 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14309 Remove.
14310 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14311 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14312
2ccdea26
AB
143132013-01-07 Anton Blanchard <anton@samba.org>
14314
14315 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14316 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14317 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14318 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14319 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14320 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14321 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14322 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14324 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14325 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14326 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14327 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14328 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14329 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14330 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14331 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14332 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14333 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14334 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14335 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14336 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14337 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14338 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14339 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14340 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14341 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14342 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14343 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14344 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14345 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14346 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14347 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14348 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14349 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14350 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14351 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14352 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14353 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14354 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14355 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14357 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14358
a9708fed
JM
143592013-01-07 Joseph Myers <joseph@codesourcery.com>
14360
375607b9
JM
14361 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14362 (__MALLOC_PMT): Likewise.
14363 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14364 [__GNUC__], only on [_LIBC].
14365 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14366 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14367 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14368 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14369 forward declaration.
14370 (realloc_hook_ini): Likewise.
14371 (memalign_hook_ini): Likewise.
14372 (__libc_memalign): Do not use __MALLOC_PMT in variable
14373 declaration.
14374 (__libc_valloc): Likewise.
14375 (__libc_pvalloc): Likewise.
14376 (__libc_calloc): Likewise.
14377 (__posix_memalign): Likewise.
14378
a9708fed
JM
14379 [BZ #14996]
14380 * math/s_casinh.c: Include <float.h>.
14381 (__casinh): Do not do computation with squaring and square root
14382 for large arguments.
14383 * math/s_casinhf.c: Include <float.h>.
14384 (__casinhf): Do not do computation with squaring and square root
14385 for large arguments.
14386 * math/s_casinhl.c: Include <float.h>.
14387 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14388 (__casinhl): Do not do computation with squaring and square root
14389 for large arguments.
14390 * math/libm-test.inc (casin_test): Add more tests.
14391 (casinh_test): Likewise.
14392 * sysdeps/i386/fpu/libm-test-ulps: Update.
14393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14394
afec409a
L
143952013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14396
14397 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14398 (__x86_64_raw_data_cache_size): Likewise.
14399 (__x86_64_data_cache_size_half): Likewise.
14400 (__x86_64_raw_data_cache_size_half): Likewise.
14401 (__x86_64_shared_cache_size): Likewise.
14402 (__x86_64_raw_shared_cache_size): Likewise.
14403 (__x86_64_shared_cache_size_half): Likewise.
14404 (__x86_64_raw_shared_cache_size_half): Likewise.
14405 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14406 to ...
14407 (__x86_data_cache_size): This.
14408 (__x86_64_raw_data_cache_size): Renamed to ...
14409 (__x86_raw_data_cache_size): This.
14410 (__x86_64_data_cache_size_half): Renamed to ...
14411 (__x86_data_cache_size_half): This.
14412 (__x86_64_raw_data_cache_size_half): Renamed to ...
14413 (__x86_raw_data_cache_size_half): This.
14414 (__x86_64_shared_cache_size): Renamed to ...
14415 (__x86_shared_cache_size): This.
14416 (__x86_64_raw_shared_cache_size): Renamed to ...
14417 (__x86_raw_shared_cache_size): This.
14418 (__x86_64_shared_cache_size_half): Renamed to ...
14419 (__x86_shared_cache_size_half): This.
14420 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14421 (__x86_raw_shared_cache_size_half): This.
14422 * sysdeps/x86_64/memcpy.S: Updated.
14423 * sysdeps/x86_64/memset.S: Likewise.
14424 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14425 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14426 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14427
0b3986d0
DM
144282013-01-04 David S. Miller <davem@davemloft.net>
14429
14430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14431
e47686e9
AS
144322013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14433
d643bac1
AS
14434 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14435 1 to avoid redefinition warning.
14436 (__USE_GNU): Don't define.
14437 (init_signaling_nan): Protoize.
14438
e47686e9
AS
14439 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14440
b18decba
SP
144412013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14442
fffb407f
SP
14443 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14444 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14445 (__cpymn): Likewise.
14446 (norm): Remove commented code.
14447 (denorm): Likewise.
14448 (__mp_dbl): Likewise.
14449 (__inv): Likewise.
14450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14451 (__cpymn): Likewise.
14452 (norm): Remove commented code.
14453 (denorm): Likewise.
14454 (__mp_dbl): Likewise.
14455 (__inv): Likewise.
14456
b18decba
SP
14457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14458 mp_no value for 1.0 and 2.0.
14459 (norm): Use RADIXI instead of radixi.d.
14460 (denorm): Likewise.
14461 (__mul): Use 0.0 instead of zero.d.
14462 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14463 mp_no value for 1.0 and 2.0.
14464 (norm): Use RADIXI instead of radixi.d.
14465 (denorm): Likewise.
14466 (__mul): Use 0.0 instead of zero.d.
14467
cdc1c96f
JM
144682013-01-04 Joseph Myers <joseph@codesourcery.com>
14469
14470 [BZ #14994]
14471 * math/s_casinh.c (__casinh): Reduce finite argument to first
14472 quadrant then set signs of results at the end.
14473 * math/s_casinhf.c (__casinhf): Likewise.
14474 * math/s_casinhl.c (__casinhl): Likewise.
14475 * math/libm-test.inc (casin_test): Add more tests.
14476 (casinh_test): Likewise.
14477 * sysdeps/i386/fpu/libm-test-ulps: Update.
14478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14479
302913e1
SP
144802013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14481
6420d207
SP
14482 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14483
a9e48ab4
SP
14484 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14485
b7837264
SP
14486 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14487 declarations.
14488 (denorm): Likewise.
14489 (__mp_dbl): Likewise.
14490 (__inv): Likewise.
14491
f8af25d2
SP
14492 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14493 and adjust the header comment.
14494
302913e1
SP
14495 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14496 variable name from declaration.
14497
5d7dd1ca
L
144982013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14499
14500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14501 Initialize COMMON_CPUID_INDEX_7 element.
14502 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14503 (CPUID_RTM): Likewise.
14504 (HAS_RTM): Likewise.
14505 (COMMON_CPUID_INDEX_7): New enum.
14506
2f5f40f4
AS
145072013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14508
14509 [BZ #14981]
14510 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14511 size is zero, record memory as freed.
14512
4056f4a0
AJ
145132013-01-03 Andreas Jaeger <aj@suse.de>
14514
14515 * po/ia.po: Add new Interlingua translation.
14516
ab15736f 145172012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
14518
14519 * locale/programs/localedef.c: Fix description of '--posix' flag.
14520
568035b7
JM
145212013-01-02 Joseph Myers <joseph@codesourcery.com>
14522
e6898b8d
JM
14523 * NEWS: Update dates in second copyright notice.
14524 * README: Update copyright dates in example.
14525 * manual/libc.texinfo: Update copyright dates.
14526 * scripts/test-installation.pl: Update copyright date in --version
14527 output.
14528
0e2f9562
JM
14529 * hurd/ctty-input.c: Fix copyright notice formatting.
14530 * hurd/ctty-output.c: Likewise.
14531 * hurd/dtable.c: Likewise.
14532 * hurd/hurd-raise.c: Likewise.
14533 * hurd/hurdprio.c: Likewise.
14534 * hurd/msgportdemux.c: Likewise.
14535 * misc/sys/file.h: Likewise.
14536 * misc/sys/ioctl.h: Likewise.
14537 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14538 * sysdeps/mach/hurd/chdir.c: Likewise.
14539 * sysdeps/mach/hurd/fchdir.c: Likewise.
14540 * sysdeps/mach/hurd/rename.c: Likewise.
14541 * sysdeps/mach/hurd/rmdir.c: Likewise.
14542 * sysdeps/mach/hurd/seekdir.c: Likewise.
14543 * sysdeps/mach/hurd/setsid.c: Likewise.
14544 * sysdeps/posix/wait3.c: Likewise.
14545
568035b7
JM
14546 * All files with FSF copyright notices: Update copyright dates
14547 using scripts/update-copyrights.
14548 * intl/plural.c: Regenerated.
14549 * locale/programs/charmap-kw.h: Likewise.
14550 * locale/programs/locfile-kw.h: Likewise.
14551
da08f647
SP
145522013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14553
0f5477af
SP
14554 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14555 four values.
14556
44e0d4c2
SP
14557 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14558 calculation loop and add branch prediction.
14559
4d55b4e5
SP
14560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14561 check access beyond bounds of m1np.
14562
da08f647
SP
14563 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14564 MPTWO.
14565 (__inv): Remove local variable MPTWO to use the global
14566 constant.
14567 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14568 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14569 variable MPTWO.
14570 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14571 MP3HALFS static const.
14572
8e051029
DM
145732013-01-01 David S. Miller <davem@davemloft.net>
14574
14575 * po/ca.po: Update from translation team.
14576
f4cf5f2d
JM
145772013-01-01 Joseph Myers <joseph@codesourcery.com>
14578
14579 * scripts/update-copyrights: New file.
14580 * Makeconfig: Reformat copyright notice.
14581 * ctype/ctype.h: Likewise.
14582 * debug/swprintf_chk.c: Likewise.
14583 * elf/dl-cache.c: Likewise.
14584 * elf/dl-debug.c: Likewise.
14585 * elf/dl-object.c: Likewise.
14586 * grp/initgroups.c: Likewise.
14587 * hurd/Makefile: Likewise.
14588 * hurd/hurd/signal.h: Likewise.
14589 * hurd/hurdfault.c: Likewise.
14590 * hurd/hurdioctl.c: Likewise.
14591 * hurd/hurdlookup.c: Likewise.
14592 * hurd/intr-msg.c: Likewise.
14593 * iconv/gconv_open.c: Likewise.
14594 * libio/swprintf.c: Likewise.
14595 * locale/lc-ctype.c: Likewise.
14596 * locale/nl_langinfo.c: Likewise.
14597 * mach/Machrules: Likewise.
14598 * mach/Makefile: Likewise.
14599 * malloc/obstack.h: Likewise.
14600 * manual/Makefile: Likewise.
14601 * manual/tsort.awk: Likewise.
14602 * misc/bits/stab.def: Likewise.
14603 * nis/nis_print_group_entry.c: Likewise.
14604 * nis/nis_table.c: Likewise.
14605 * nis/nss_compat/compat-pwd.c: Likewise.
14606 * nis/nss_compat/compat-spwd.c: Likewise.
14607 * po/Makefile: Likewise.
14608 * posix/fnmatch.c: Likewise.
14609 * posix/regex.h: Likewise.
14610 * resolv/Makefile: Likewise.
14611 * resolv/nss_dns/dns-network.c: Likewise.
14612 * resolv/res_hconf.c: Likewise.
14613 * scripts/gen-sorted.awk: Likewise.
14614 * soft-fp/soft-fp.h: Likewise.
14615 * stdio-common/printf.h: Likewise.
14616 * stdlib/monetary.h: Likewise.
14617 * stdlib/random.c: Likewise.
14618 * stdlib/random_r.c: Likewise.
14619 * sysdeps/generic/Makefile: Likewise.
14620 * sysdeps/gnu/Makefile: Likewise.
14621 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14622 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14623 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14624 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14625 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14628 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14629 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14630 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14631 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
14632 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
14633 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
14634 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
14635 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
14636 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
14637 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
14638 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14639 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14640 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14641 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14642 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14643 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
14649 * sysdeps/mach/hurd/errnos.awk: Likewise.
14650 * sysdeps/mach/hurd/fork.c: Likewise.
14651 * sysdeps/mach/hurd/getcwd.c: Likewise.
14652 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
14653 * sysdeps/mach/hurd/mmap.c: Likewise.
14654 * sysdeps/mach/hurd/utimes.c: Likewise.
14655 * sysdeps/mach/hurd/xmknod.c: Likewise.
14656 * sysdeps/posix/profil.c: Likewise.
14657 * sysdeps/posix/readdir_r.c: Likewise.
14658 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14659 * sysdeps/powerpc/bits/setjmp.h: Likewise.
14660 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
14661 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14662 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14663 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14664 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14665 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14666 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14667 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14668 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14669 * sysdeps/pthread/lio_listio.c: Likewise.
14670 * sysdeps/sparc/dl-procinfo.h: Likewise.
14671 * sysdeps/unix/i386/sysdep.S: Likewise.
14672 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
14673 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
14674 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
14675 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14677 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14678 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14679 * sysdeps/unix/sysv/linux/speed.c: Likewise.
14680 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14681 * sysdeps/wordsize-32/divdi3.c: Likewise.
14682 * time/sys/time.h: Likewise.
14683 * wcsmbs/Makefile: Likewise.
14684
0549fbba
DM
146852013-01-01 David S. Miller <davem@davemloft.net>
14686
a141f1a7
DM
14687 * po/fr.po: Update from translation team.
14688
0549fbba
DM
14689 * catgets/gencat.c: Update copyright year.
14690 * csu/version.c: Likewise.
14691 * debug/catchsegv.sh: Likewise.
14692 * debug/pcprofiledump.c: Likewise.
14693 * debug/xtrace.sh: Likewise.
14694 * elf/ldconfig.c: Likewise.
14695 * elf/ldd.bash.in: Likewise.
14696 * elf/pldd.c: Likewise.
14697 * elf/sotruss.ksh: Likewise.
14698 * elf/sprof.c: Likewise.
14699 * iconv/iconv_prog.c: Likewise.
14700 * iconv/iconvconfig.c: Likewise.
14701 * locale/programs/locale.c: Likewise.
14702 * locale/programs/localedef.c: Likewise.
14703 * login/programs/pt_chown.c: Likewise.
14704 * malloc/memusage.sh: Likewise.
14705 * malloc/memusagestat.c: Likewise.
14706 * malloc/mtrace.pl: Likewise.
14707 * nscd/nscd.c: Likewise.
14708 * nss/getent.c: Likewise.
14709 * nss/makedb.c: Likewise.
14710 * posix/getconf.c: Likewise.
14711
18ea052c
SP
147122012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14713
14714 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
14715 numbers.
14716
9c89fca6
MF
147172012-12-30 Mike Frysinger <vapier@gentoo.org>
14718
14719 * math/bits/mathcalls.h (modf): Use __nonnull.
14720
085ec079
SP
147212012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14722
14723 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
14724 (split): Use macro CN instead of the bare value.
14725 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
14726 could be used.
14727 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
14728 instead of the bare value.
14729 (power1): Likewise.
14730
6d9f97e1
SP
147312012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14732
d63f73be
SP
14733 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
14734 __ATAN_TWOM.
14735 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14736
6d9f97e1
SP
14737 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
14738 their values.
14739 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14740 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14741 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
14742 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14743
4c4febf5
AJ
147442012-12-28 Andreas Jaeger <aj@suse.de>
14745
af5843ef
AJ
14746 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
14747 values are from Linux 3.7.
14748
4c4febf5
AJ
14749 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
14750 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
14751
99136f82
SP
147522012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14753
2f216c3c 14754 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
14755 TRUE case.
14756
99136f82
SP
14757 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
14758 (norm): Likewise.
14759 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
14760 variables with preprocessor constants.
14761 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
14762 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
14763 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
14764
7fffbdff
BH
147652012-12-27 Bruno Haible <bruno@clisp.org>
14766
14767 [BZ #14317]
14768 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
14769 only if needed.
14770
b76eb5f0
SP
147712012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14772
31a7fe5c
SP
14773 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
14774 and use variable directly.
14775 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
14776
b76eb5f0
SP
14777 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14778 MPONE.
14779 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
14780 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14781 variable MPONE.
14782 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14783 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14784 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
14785 include directive. Remove local variable MPONE.
14786 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
14787 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
14788 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
14789
2c8bfe7d
DM
147902012-12-25 David S. Miller <davem@davemloft.net>
14791
14792 * version.h (RELEASE): Set to "development".
14793 (VERSION): Set to "2.17.90".
14794 * NEWS: Add 2.18 section.
14795
147d03b0
DM
147962012-12-21 David S. Miller <davem@davemloft.net>
14797
14798 * po/hr.po: Update from translation team.
14799
a8ebb2b9
AK
148002012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14801
14802 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
14803
95b4f1b6
SE
148042012-12-19 Steve Ellcey <sellcey@mips.com>
14805
b2d94007 14806 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 14807
cedb2a90
MS
148082012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14809
14810 * manual/contrib.texi (Contributors): Spelling correction.
14811
bbf527d6
DM
148122012-12-15 David S. Miller <davem@davemloft.net>
14813
14814 * po/ru.po: Update from translation team.
14815
bc38c906
DM
148162012-12-13 David S. Miller <davem@davemloft.net>
14817
85429b1a
DM
14818 * NEWS: Mention IFUNC testsuite enhancements.
14819
d283e353
DM
14820 * po/pl.po: Update from translation team.
14821 * po/bg.po: Likewise.
14822
bc38c906
DM
14823 * manual/contrib.texi (Contributors): Update entries for Hongjiu
14824 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
14825
a181b0d7
DM
148262012-12-11 David S. Miller <davem@davemloft.net>
14827
4641d57e
DM
14828 * po/sv.po: Update from translation team.
14829
f7bc6495
DM
14830 * po/vi.po: Update from translation team.
14831
6fc9048f
DM
14832 * po/cs.po: Update from translation team.
14833
a181b0d7
DM
14834 * po/de.po: Update from translation team.
14835 * po/eo.po: Likewise.
14836 * po/nl.po: Likewise.
14837
f70bfe80
SP
148382012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14839
3c8b4190
SP
14840 [BZ #14246]
14841 * manual/argp.texi (Argp Helper Functions): Move node to follow
14842 Argp Parsing State.
14843
f70bfe80
SP
14844 [BZ #14872]
14845 * manual/conf.texi (Limits on File System Capacity): Mention if
14846 terminating null is included in the max size.
14847
188f0adf
AJ
148482012-12-10 Andreas Jaeger <aj@suse.de>
14849
14850 * po/cs.po: Update from translation team.
14851
56e7d3ad
SP
148522012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
14853
14854 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
14855 void pointer and cast to uintptr_t.
14856 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
14857 path.
14858 * sysdeps/s390/s390-64/memcpy.S: Likewise.
14859 * sysdeps/s390/s390-64/memset.S: Likewise.
14860
76f2d2ea 148612012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
14862
14863 [BZ #14833]
14864 * menual/message.texi (Message Translation): Fix typos.
14865 (Helper programs for gettext): Likewise.
14866
67cbf9a2
AS
148672012-12-07 Andreas Schwab <schwab@linux-m68k.org>
14868
14869 [BZ #14898]
14870 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
14871 Change to -1.
14872
682d0e9a
DM
148732012-12-07 David S. Miller <davem@davemloft.net>
14874
14875 * po/libc.pot: Update.
14876
573cd484
RH
148772012-12-07 Richard Henderson <rth@redhat.com>
14878
7e9da188 14879 [BZ #10114]
573cd484
RH
14880 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
14881 normal/normal case to before the switch.
14882 (_FP_DIV): Likewise.
14883
e933a943
MF
148842012-12-06 Carlos O'Donell <carlos@systemhalted.org>
14885 Mike Frysinger <vapier@gentoo.org>
14886
14887 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
14888 check for __NR_fadvise64_64.
14889
82123268
CM
148902012-12-06 Chris Metcalf <cmetcalf@tilera.com>
14891
14892 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
14893 0, not just to plain "0" as a statement.
14894 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
14895 with cw.
14896
d9814526
JM
148972012-12-06 Joseph Myers <joseph@codesourcery.com>
14898
14899 * NEWS: Use sourceware.org in Bugzilla URL.
14900
7728c574
SP
149012012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14902
f16946dd
SP
14903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14904 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
14905
5704bbcb
SP
14906 * stdio-common/tst-put-error.c (do_test): Add newline to the
14907 padded test to ensure flush.
14908
17aa0516
JL
149092012-12-05 Jeff Law <law@redhat.com>
14910
14911 * sunrpc/etc.rpc (fedfs_admin): Add entry.
14912
363313b5
JM
149132012-12-05 Joseph Myers <joseph@codesourcery.com>
14914
effbd42a
JM
14915 * README: Don't refer to ports add-on as distributed separately.
14916 Mention AArch64 in list of systems supported in the ports add-on.
14917
87600365
JM
14918 * LICENSES: Add more non-FSF copyright and license notices.
14919
a0d7066a
JM
14920 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
14921 ((unused)).
14922
66ca5a5b
JM
14923 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
14924
363313b5
JM
14925 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
14926 10000 as width of padded output.
14927
b37984ad
JM
149282012-12-04 Joseph Myers <joseph@codesourcery.com>
14929
9003570a
JM
14930 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
14931
b37984ad
JM
14932 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
14933 variable LX with __attribute__ ((unused)).
14934 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14935 Likewise.
14936 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14937 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
14939 with __attribute__ ((unused)).
14940
c8df52ec
DM
149412012-12-04 David S. Miller <davem@abraco.davemloft.net>
14942
14943 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
14944
b3b099af
JM
149452012-12-04 Joseph Myers <joseph@codesourcery.com>
14946
c33aa6e3
JM
14947 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
14948 (CFLAGS-nldbl-acos.c): New variable.
14949 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
14950 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
14951 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
14952 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
14953 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
14954 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
14955 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
14956 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
14957 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
14958 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
14959 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
14960 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
14961 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
14962 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
14963 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
14964 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
14965 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
14966 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
14967 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
14968 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
14969 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
14970 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
14971 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
14972 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
14973 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
14974 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
14975 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
14976 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
14977 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
14978 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
14979 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
14980 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
14981 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
14982 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
14983 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
14984 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
14985 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
14986 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
14987 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
14988 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
14989 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
14990 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
14991 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
14992 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
14993 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
14994 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
14995 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
14996 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
14997 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
14998 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
14999 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15000 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15001 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15002 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15003 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15004 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15005 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15006 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15007 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15008 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15009 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15010 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15011 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15012 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15013 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15014 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15015 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15016 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15017 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15018 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15019 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15020 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15021 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15022 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15023 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15024 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15025 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15026 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15027 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15028 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15029 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15030 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15031 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15032 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15033 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15034 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15035 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15036 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15037 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15038 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15039 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15040 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15041 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15042 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15043 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15044 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15045 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15046
20f0018d
JM
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15048 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15049
b3b099af
JM
15050 [BZ #14914]
15051 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15052 whole low double instead of just low 47 bits when splitting values
15053 into two parts.
15054
029264d1
AM
150552012-12-03 Allan McRae <allan@archlinux.org>
15056
15057 * manual/stdio.texi (Predefined Printf Handlers): Remove
15058 @hsep and @vsep usage.
15059
c9d6789e
MF
150602012-12-03 Mike Frysinger <vapier@gentoo.org>
15061
15062 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15063 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15064
4b7634a5
JL
150652012-12-03 Jeff Law <law@redhat.com>
15066
15067 * time/sys/time.h (settimeofday): Do not mark TV argument
15068 as __nonnull.
15069
eb6cbd24
MF
150702012-12-01 Mike Frysinger <vapier@gentoo.org>
15071
15072 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15073 when currently writing and seek to current position when not.
15074 * libio/Makefile (tests): Remove bug-fclose1.
15075 * libio/bug-fclose1.c: Delete.
15076
f638872a
JM
150772012-12-01 Joseph Myers <joseph@codesourcery.com>
15078
15079 * manual/arith.texi (feenableexcept): Fix typo.
15080 (fedisableexcept): Likewise.
15081
48085d14
RM
150822012-11-30 Roland McGrath <roland@hack.frob.com>
15083
15084 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15085 second, differently-typed declaration, rather than a cast.
15086
1a538b9f
SP
150872012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15088
15089 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15090 * include/rpc/svc.h: ... here.
15091
d07f2ff1 150922012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
15093
15094 [BZ #13013]
15095 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15096 depending n and resplen2 to catch cases where answer
15097 equals answerp2.
15098
c93ec1f0
CD
150992012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15100
15101 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15102 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15103
37db69de
MF
151042012-11-29 Mike Frysinger <vapier@gentoo.org>
15105
15106 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15107
e10c4e4f
RM
151082012-11-29 Roland McGrath <roland@hack.frob.com>
15109
15110 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15111
2af1b328
JL
151122012-11-28 Jeff Law <law@redhat.com>
15113
15114 [BZ #13761]
15115 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15116 dataset_temporary. Track alloca usage into alloca_used.
15117 If dataset is large allocate and release it via malloc/free.
15118
111db5b1
FW
151192012-06-04 Florian Weimer <fweimer@redhat.com>
15120
f06cc227 15121 [BZ #14197]
111db5b1
FW
15122 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15123
dd694abd
DM
151242012-11-28 David S. Miller <davem@davemloft.net>
15125
15126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15127
9984dd01
JM
151282012-11-28 Joseph Myers <joseph@codesourcery.com>
15129
15130 [BZ #14803]
15131 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15132 of pi/2 rounded to nearest to 64 bits.
15133 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15134 nearest to 64 bits.
15135 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15136 bits.
15137
14bc93a9
JL
151382012-11-28 Jeff Law <law@redhat.com>
15139 Martin Osvald <mosvald@redhat.com>
15140
15141 [BZ #14889]
15142 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15143 * sunrpc/svc.c: Include time.h.
15144 (__svc_accept_failed): New function.
15145 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15146 any reason other than EINTR, call __svc_accept_failed.
15147 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15148 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15149
e3c6aa3a
AS
151502012-11-28 Andreas Schwab <schwab@suse.de>
15151
15152 * scripts/abilist.awk: Also handle indirect functions in .opd
15153 section.
15154
1bead169
JM
151552012-11-28 Joseph Myers <joseph@codesourcery.com>
15156
15157 [BZ #13881]
15158 * sysdeps/x86/fpu/powl_helper.c: New file.
15159 * sysdeps/x86/fpu/Makefile: Likewise.
15160 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15161 (p3): New object.
15162 (__ieee754_powl): Use __powl_helper for finite arguments except
15163 integer exponents below 8.
15164 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15165 (p3): New object.
15166 (__ieee754_powl): Use __powl_helper for finite arguments except
15167 integer exponents below 8.
15168 * math/libm-test.inc (pow_test): Add more tests and enable some
15169 previously disabled tests.
15170 * sysdeps/i386/fpu/libm-test-ulps: Update.
15171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15172
0817d63d
SP
151732012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15174 Carlos O'Donell <carlos_odonell@mentor.com>
15175
15176 * nss/makedb.c (is_prime): Assert that input is odd and greater
15177 than 4. Note that fact in a comment too.
15178 (next_prime): Add 4 to input.
15179
de2fd463
SP
151802012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15181
15182 [BZ #11741]
15183 * libio/Makefile (tests): Add test case tst-fwrite-error.
15184 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15185 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15186 * libio/tst-fwrite-error.c: New test case.
15187
c515fb51
L
151882012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15189
15190 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15191 before casting to void *.
15192 * include/libc-internal.h (__pointer_type): New macro.
15193 (__integer_if_pointer_type_sub): Likewise.
15194 (__integer_if_pointer_type): Likewise.
15195 (cast_to_integer): Likewise.
15196 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15197 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15198 before casting to atomic64_t.
15199 (atomic_exchange_acq): Likewise.
15200 (__arch_exchange_and_add_body): Likewise.
15201 (__arch_add_body): Likewise.
15202 (atomic_add_negative): Likewise.
15203 (atomic_add_zero): Likewise.
15204
4cf77aa9
JM
152052012-11-26 Joseph Myers <joseph@codesourcery.com>
15206
15207 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15208 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15209 (add_fdes): Likewise.
15210 (linear_search_fdes): Likewise.
15211 (binary_search_unencoded_fdes): Likewise.
15212
d260b3b4
AS
152132012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15214
15215 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15216
67060746
AC
152172012-11-24 Adam Conrad <adconrad@0c3.net>
15218
15219 * configure.in: Autodetect C++ header directories.
15220 * configure: Regenerated.
15221
800938a1
MF
152222012-11-23 Mike Frysinger <vapier@gentoo.org>
15223
15224 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15225
4e6e34e6
AS
152262012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15227
15228 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15229
7c7feb47
JM
152302012-11-22 Joseph Myers <joseph@codesourcery.com>
15231
7184dcdf
JM
15232 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15233 LDBL_MANT_DIG == 106]: Disable some tests.
15234 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15235 Likewise.
15236 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15237 Likewise.
15238
0a42601f
JM
15239 [BZ #14871]
15240 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15241 input for small inputs. Return +/- pi/2 for large inputs.
15242 * math/libm-test.inc (atan_test): Add more tests.
15243
79c9b9fe
JM
15244 * sysdeps/generic/unwind-dw2-fde-glibc.c
15245 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15246 __attribute__ ((unused)).
15247
c60d3bf2
JM
15248 [BZ #14645]
15249 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15250 x * y if x and y are nonzero and z is zero.
15251
ef1e0867
JM
15252 [BZ #14811]
15253 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15254 nonzero exponents with absolute value below 0x1p-117 to +/-
15255 0x1p-117.
15256
1468ded3
JM
15257 [BZ #14869]
15258 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15259 up arguments below 2**-450, not just those below 2**-500.
15260 * math/libm-test.inc (hypot_test): Add another test.
15261
8e27e3cc
JM
15262 [BZ #14868]
15263 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15264 Return a+b for ratio over 2**120, not 2**60.
15265 * math/libm-test.inc (hypot_test): Add another test.
15266
c9c0279b
JM
15267 * math/libm-test.inc (clog_test): Use
15268 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15269 (clog10_test): Likewise.
15270
7c7feb47
JM
15271 [BZ #6778]
15272 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15273
fff1530e
AS
152742012-11-22 Andreas Schwab <schwab@suse.de>
15275
15276 * sysdeps/i386/fpu/libm-test-ulps: Update.
15277
94558d30
PT
152782012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15279
15280 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15281 printf output with newline.
15282
7e1be741
L
152832012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15284
6bfea974
L
15285 [BZ #14865]
15286 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15287 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15288 -z nodlopen, -z initfirst and -z execstack support.
15289 * configure: Regenerated.
15290
7e1be741
L
15291 * elf/elf.h (DF_1_NODIRECT): New macro.
15292 (DF_1_IGNMULDEF): Likewise.
15293 (DF_1_NOKSYMS): Likewise.
15294 (DF_1_NOHDR): Likewise.
15295 (DF_1_EDITED): Likewise.
15296 (DF_1_NORELOC): Likewise.
15297 (DF_1_SYMINTPOSE): Likewise.
15298 (DF_1_GLOBAUDIT): Likewise.
15299 (DF_1_SINGLETON): Likewise.
15300 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15301 DT_1_SUPPORTED_MASK bits.
15302 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15303
105ce2ce
CD
153042012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15305
15306 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15307
123be9de
TS
153082012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15309
d072f3f7
TS
15310 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15311 macro.
15312
123be9de
TS
15313 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15314 (sendmmsg): Move declarations...
15315 * socket/sys/socket.h: ... here.
15316 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15317 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15318 include it from...
15319 * socket/recvmmsg.c: ... this new file.
15320 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15321 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15322 definition of __sendmmsg hidden.
15323 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15324 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15325 Move ENOSYS stub into and include it from...
15326 * socket/sendmmsg.c: ... this new file.
15327 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15328 (sysdep_routines): Move recvmmsg and sendmmsg...
15329 * socket/Makefile (routines): ... here.
15330 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15331 (GLIBC_PRIVATE): Add __sendmmsg.
15332 * include/sys/socket.h (__sendmmsg): Add declarations.
15333 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15334 sendmmsg.
15335
cf9a5d18
JM
153362012-11-20 Joseph Myers <joseph@codesourcery.com>
15337
15338 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15339 variable I1 with __attribute__ ((unused)).
15340 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15341
ecd4caf9
JM
153422012-11-19 Joseph Myers <joseph@codesourcery.com>
15343
be14d48f
JM
15344 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15345 DUMMY variables with __attribute__ ((unused)).
15346
ecd4caf9
JM
15347 * bits/byteswap.h: Include <bits/types.h>.
15348 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15349
986cab95
PT
153502012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15351
15352 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15353 string_t. Do not manually set errno.
15354 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15355 length with __strnlen. Make sure to both set errno and return it on
15356 failure.
15357
6d33cc9d
DM
153582012-11-19 David S. Miller <davem@davemloft.net>
15359
15360 With help from Joseph Myers.
15361 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15362 very large arguments properly.
15363 * math/libm-test.inc (atan_test): New tests.
15364 (atan2_test): New tests.
15365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15367
ee663277
JM
153682012-11-19 Joseph Myers <joseph@codesourcery.com>
15369
877f2d8e
JM
15370 [BZ #14856]
15371 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15372 Define to 3.
15373
116fc08a
JM
15374 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15375 [POSIX] (EADDRNOTAVAIL): Likewise.
15376 [POSIX] (EAFNOSUPPORT): Likewise.
15377 [POSIX] (EALREADY): Likewise.
15378 [POSIX] (ECONNABORTED): Likewise.
15379 [POSIX] (ECONNREFUSED): Likewise.
15380 [POSIX] (ECONNRESET): Likewise.
15381 [POSIX] (EDESTADDRREQ): Likewise.
15382 [POSIX] (EDQUOT): Likewise.
15383 [POSIX] (EHOSTUNREACH): Likewise.
15384 [POSIX] (EIDRM): Likewise.
15385 [POSIX] (EISCONN): Likewise.
15386 [POSIX] (ELOOP): Likewise.
15387 [POSIX] (EMULTIHOP): Likewise.
15388 [POSIX] (ENETDOWN): Likewise.
15389 [POSIX] (ENETUNREACH): Likewise.
15390 [POSIX] (ENOBUFS): Likewise.
15391 [POSIX] (ENODATA): Likewise.
15392 [POSIX] (ENOLINK): Likewise.
15393 [POSIX] (ENOMSG): Likewise.
15394 [POSIX] (ENOPROTOOPT): Likewise.
15395 [POSIX] (ENOSR): Likewise.
15396 [POSIX] (ENOSTR): Likewise.
15397 [POSIX] (ENOTCONN): Likewise.
15398 [POSIX] (ENOTSOCK): Likewise.
15399 [POSIX] (EOPNOTSUPP): Likewise.
15400 [POSIX] (EOVERFLOW): Likewise.
15401 [POSIX] (EPROTO): Likewise.
15402 [POSIX] (EPROTONOSUPPORT): Likewise.
15403 [POSIX] (EPROTOTYPE): Likewise.
15404 [POSIX] (ESTALE): Likewise.
15405 [POSIX] (ETIME): Likewise.
15406 [POSIX] (ETXTBSY): Likewise.
15407 [POSIX] (EWOULDBLOCK): Likewise.
15408 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15409 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15410 [POSIX] (SEEK_CUR): Likewise.
15411 [POSIX] (SEEK_END): Likewise.
15412 [POSIX || UNIX98] (mode_t): Do not require.
15413 [POSIX] (off_t): Likewise.
15414 [POSIX] (pid_t): Likewise.
15415 [POSIX] (sys/stat.h): Do not allow header.
15416 [POSIX] (unistd.h): Likewise.
15417 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15418 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15419 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15420 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15421 require.
15422 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15423 sigevent): Specify elements.
15424 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15425 entry.
15426 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15427 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15428
a483863f
JM
15429 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15430 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15431 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15432 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15433 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15434 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15435 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15436 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15437 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15438 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15439 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15440 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15441 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15442 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15443 Likewise.
15444 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15445 Likewise.
15446 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15447 Likewise.
15448 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15449 Likewise.
15450 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15451 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15452 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15453 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15454 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15455 Specify lower bound on value.
15456 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15457 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15458 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15459 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15460 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15461 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15462 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15463 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15464 value.
15465 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15466 as optional.
15467 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15468 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15469 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15470 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15471 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15472 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15473 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15474 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15475 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15476 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15477 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15478 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15479 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15480 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15481 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15482 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15483 entry.
15484 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15485 optional.
15486 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15487 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15488 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15489 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15490 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15491 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15492 Likewise.
15493 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15494 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15495 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15496 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15497 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15498 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15499 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15500 as optional.
15501 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15502 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15503 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15504 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15505 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15506 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15507 specify as optional.
15508 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15509 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15510 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15511 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15512 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15513 [XPG3] (NL_LANGMAX): Likewise.
15514 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15515 [POSIX || XPG3] (NL_NMAX): Likewise.
15516 [POSIX || XPG3] (NL_SETMAX): Likewise.
15517 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15518 [XPG3] (NZERO): Likewise.
15519 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15520 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15521 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15522 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15523 (REG_ERANGE): Expect.
15524 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15525 optional-constant.
15526 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15527 Use (void) in prototype.
15528 [POSIX] (*_t): Allow.
15529 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15530 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15531 (WRDE_BADVAL): Expect.
15532
5ba924e3
JM
15533 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15534 expect.
15535 [XPG3 || XPG4] (O_RSYNC): Likewise.
15536 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15537 Likewise.
15538 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15539 [XPG3 || XPG4] (sigqueue): Likewise.
15540 [XPG3 || XPG4] (sigtimedwait): Likewise.
15541 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15542 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15543 [XPG3 || XPG4] (vsnprintf): Likewise.
15544 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15545 Likewise.
15546 [XPG3 || XPG4] (blksize_t): Likewise.
15547 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15548 Likewise.
15549 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15550 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15551 [XPG3 || XPG4] (struct itimerspec): Likewise.
15552 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15553 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15554 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15555 [XPG3 || XPG4] (clockid_t): Likewise.
15556 [XPG3 || XPG4] (timer_t): Likewise.
15557 [XPG3 || XPG4] (clock_getres): Likewise.
15558 [XPG3 || XPG4] (clock_gettime): Likewise.
15559 [XPG3 || XPG4] (clock_settime): Likewise.
15560 [XPG3 || XPG4] (nanosleep): Likewise.
15561 [XPG3 || XPG4] (timer_create): Likewise.
15562 [XPG3 || XPG4] (timer_delete): Likewise.
15563 [XPG3 || XPG4] (timer_gettime): Likewise.
15564 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15565 [XPG3 || XPG4] (timer_settime): Likewise.
15566 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15567 [XPG3 || XPG4] (getlogin_r): Likewise.
15568 [XPG3 || XPG4] (pread): Likewise.
15569 [XPG3 || XPG4] (pthread_atfork): Likewise.
15570 [XPG3 || XPG4] (pwrite): Likewise.
15571
ee663277
JM
15572 [BZ #14835]
15573 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15574 <bits/siginfo.h>.
15575
942caa16
PT
155762012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15577
e19af380
PT
15578 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15579 finalizing MALLSTREAM.
15580
942caa16
PT
15581 * sysdeps/mach/hurd/syncfs.c: New file.
15582
cfde9b46
SP
155832012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15584
15585 [BZ #14719]
15586 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15587 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15588 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15589 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15590 (_nss_dns_gethostbyname4_r): Likewise.
15591 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15592 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15593
f6da27e5
PH
155942012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15595
15596 [BZ #13763]
15597 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15598
6665d4a2
SM
155992012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15600
1f51ee92
SM
15601 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15602 * elf/cache.c (print_entry): Print ",AArch64" for
15603 FLAG_AARCH64_LIB64
15604
6665d4a2
SM
15605 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15606 * elf/cache.c (print_entry): Print ",hard-float" for
15607 FLAG_ARM_LIBHF.
15608
05b227bd
DM
156092012-11-18 David S. Miller <davem@davemloft.net>
15610
15611 With help from Joseph Myers.
15612 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15613 cutoff to 2**-13.
15614 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15615 cutoff to 2**-25.
15616 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15617 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15618 small.
15619 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15620 * math/libm-test.inc (y0_test): New tests.
15621 (y1_test): New tests.
15622 * sysdeps/i386/fpu/libm-test-ulps: Update.
15623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15625
786b0b67
AS
156262012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15627
15628 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
15629 64-bit targets.
15630 * configure: Regenerated.
15631
8e18b86d
DM
156322012-11-17 David S. Miller <davem@davemloft.net>
15633
15634 [BZ #14811]
15635 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
15636 nonzero exponents with absolute value below 0x1p-128 to +/-
15637 0x1p-128.
15638
531f1ae0
JM
156392012-11-17 Joseph Myers <joseph@codesourcery.com>
15640
12df29e2
JM
15641 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
15642
150dc1a0
JM
15643 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
15644
531f1ae0
JM
15645 * posix/getconf-speclist.c: New file.
15646 * posix/posix-envs.def: Likewise.
15647 * posix/confstr.c (START_ENV_GROUP): New macro.
15648 (END_ENV_GROUP): Likewise.
15649 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15650 (KNOWN_PRESENT_ENV_STRING): Likewise.
15651 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15652 (UNKNOWN_ENVIRONMENT): Likewise.
15653 (confstr): Include posix-envs.def instead of handling
15654 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
15655 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
15656 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
15657 (END_ENV_GROUP): Likewise.
15658 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
15659 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
15660 (UNKNOWN_ENVIRONMENT): Likewise.
15661 (__sysconf): Include posix-envs.def instead of handling associated
15662 cases directly here.
15663 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
15664 preprocessing getconf-speclist.c rather than running getconf or
15665 generating empty file.
15666
a93f9cbc
PT
156672012-11-16 Pino Toscano <toscano.pino@tiscali.it>
15668
15669 * scripts/check-local-headers.sh: Ignore 'mach' headers.
15670
d64d9f87
AL
156712012-11-16 Andrej Lajovic <natrij@gmail.com>
15672
15673 [BZ #14672]
15674 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
15675
447885eb
DM
156762012-11-16 David S. Miller <davem@davemloft.net>
15677
15678 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
15679 smaller than LDBL_EPSILON/2.0L, just return xm1.
15680
bcbf9830
L
156812012-11-16 H.J. Lu <hongjiu.lu@intel.com>
15682
15683 * elf/tst-array1.c (init): Set constructor priority to 1000.
15684 (fini): Set destructor priority to 1000.
15685 * elf/tst-array2dep.c: Likewise.
15686
2b766585
SP
156872012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15688
15689 [BZ #11741]
15690 * libio/fileops.c (_IO_new_file_write): Correctly return error.
15691 (_IO_new_file_xsputn): Also return EOF if none of the input
15692 data was written when overflow failed.
15693 * libio/iopadn.c (_IO_padn): Likewise.
15694 * libio/iowpadn.c (_IO_wpadn): Likewise.
15695 * stdio-common/tst-put-error.c: Add copyright notice.
15696 (do_test): Add case for printing padded string.
15697 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
15698 _IO_padn returned error.
15699 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
15700 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
15701 return EOF.
15702
b1848fde
SP
157032012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15704
15705 * libio/libioP.h: Add comment note that the references to C++
15706 bits are now obsolete.
15707
2fd89785
MS
157082012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15709
15710 * math/libm-test.inc (check_complex): Use asprintf.
15711
e3ea5409
JM
157122012-11-14 Joseph Myers <joseph@codesourcery.com>
15713
15714 * debug/pcprofiledump.c (print_version): Update copyright year.
15715 * malloc/memusagestat.c (print_version): Likewise.
15716
2e64d265
L
157172012-11-14 H.J. Lu <hongjiu.lu@intel.com>
15718
15719 [BZ #14831]
15720 * elf/Makefile (tests): Add tst-audit8.
15721 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
15722 ($(objpfx)tst-audit8.out): New target.
15723 (tst-audit8-ENV): New variable.
15724 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
15725 audit if l_reloc_result is NULL.
15726 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
15727 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
15728 * elf/tst-audit8.c: New file.
15729
c485e4d2
MS
157302012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15731
15732 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
15733 * misc/Makefile (CFLAGS-select.c): Define.
15734 * posix/Makefile (CFLAGS-pause.c): Define.
15735
3a0d900a
DM
157362012-11-13 David S. Miller <davem@davemloft.net>
15737
15738 * crypt/Makefile: Move test targets after toplevel Rules
15739 inclusion. Grab any necessary sysdep routines when linking.
15740 * crypt/md5.c (md5_process_block): Remove define, we will always
15741 name it __md5_process_block.
15742 (md5_finish_ctx): Update md5_process_block call.
15743 (md5_stream): Likewise.
15744 (md5_process_bytes): Likewise.
15745 (md5_process_block): Rename to __md5_process_block and move to ...
15746 * crypt/md5-block.c: ... here.
15747 * crypt/sha256.c (sha256_process_block): Move to ...
15748 * crypt/sha256-block.c: ... here.
15749 * crypt/sha512.c (sha512_process_block): Move to ...
15750 * crypt/sha512-block.c: ... here.
15751 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
15752 path.
15753 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
15754 * sysdeps/sparc/sparc64/multiarch/Makefile
15755 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
15756 crypt subdir.
15757 (localedef-aux): Add md5 crypto assembler when in locale subdir.
15758 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
15759 multiarch changes.
15760 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
15761 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
15762 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
15763 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
15764 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
15765 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
15766 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
15767 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
15768 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
15769 file.
15770 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
15771 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
15772 file.
15773 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
15774
8ca89318
JM
157752012-11-13 Joseph Myers <joseph@codesourcery.com>
15776
e27d476a
JM
15777 * timezone/tzselect.ksh: Update from tzcode git revision
15778 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
15779 * timezone/zdump.c: Likewise.
15780 * timezone/zic.c: Likewise.
15781 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
15782 in TZVERSION setting, not $(PKGVERSION).
15783 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
15784 REPORT_BUGS_TO settings.
15785
8ca89318
JM
15786 [BZ #14838]
15787 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
15788 macro.
15789
47594329
MS
157902012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15791
15792 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
15793 detection to immediately after _FP_ROUND().
15794 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
15795 bits are 0.
15796
640ac3f1
DM
157972012-11-11 David S. Miller <davem@davemloft.net>
15798
15799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
15800 inttypes.h
15801 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
15802 __close rather than their public counterparts.
15803
3d2577bb
JM
158042012-11-10 Joseph Myers <joseph@codesourcery.com>
15805
15806 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
15807 file.
15808 [UNIX98] (sem_timedwait): Do not expect.
15809 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
15810 [XPG4 || UNIX98] (sockatmark): Do not expect.
15811 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
15812 (clock_getcpuclockid): Do not expect.
15813 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
15814 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
15815 Do not expect.
15816 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
15817 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
15818 [UNIX98] (vwscanf): Likewise.
15819 [UNIX98] (vswscanf): Likewise.
15820
fb1ae1ee
JM
158212012-11-09 Joseph Myers <joseph@codesourcery.com>
15822
9ec6f8bd
JM
15823 * timezone/version.h: Remove file.
15824 * timezone/README: Do not refer to version.h.
15825 * timezone/Makefile ($(objpfx)zic.o): New dependency on
15826 $(objpfx)version.h.
15827 ($(objpfx)zdump.o): Likewise.
c3f81911 15828 ($(objpfx)version.h): New target.
9ec6f8bd 15829
0aa8f8a1
JM
15830 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
15831 2012i.
15832 * timezone/README: Don't mention modification to tzselect.ksh.
15833 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
15834 work on unmodified tzselect.ksh. Substitute version numbers in
15835 tzselect.ksh.
15836
4e87147f
JM
15837 * Makefile (format-me): Remove.
15838 (INSTALL): Adjust indentation. Use commands directly instead of
15839 using $(format-me).
15840
8b748aed
JM
15841 * aclocal.m4 (ACX_PKGVERSION): New macro.
15842 (ACX_BUGURL): Likewise.
15843 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
15844 (PKGVERSION): New AC_DEFINE_UNQUOTED.
15845 (REPORT_BUGS_TO): Likewise.
15846 * configure: Regenerated.
15847 * config.h.in (PKGVERSION): New macro.
15848 (REPORT_BUGS_TO): Likewise.
15849 * config.make.in (PKGVERSION): New variable.
15850 (PKGVERSION_TEXI): Likewise.
15851 (REPORT_BUGS_TO): Likewise.
15852 (REPORT_BUGS_TEXI): Likewise.
15853 * Makefile (format-me): Use -I$(common-objpfx)manual.
15854 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
15855 ($(common-objpfx)manual/%): New target.
15856 (manual/%): Remove target.
15857 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
15858 (print_version): Use PKGVERSION.
15859 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
15860 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
15861 and REPORT_BUGS_TO.
15862 ($(objpfx)xtrace): Likewise.
15863 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
15864 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
15865 (print_version): Use PKGVERSION.
15866 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
15867 (do_version): Use PKGVERSION.
15868 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
15869 REPORT_BUGS_TO.
15870 (common-ldd-rewrite): Likewise.
15871 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
15872 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
15873 (print_version): Use PKGVERSION.
15874 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
15875 * elf/pldd.c (argp_program_bug_address): Remove variable.
15876 (more_help): New function.
15877 (argp): Use more_help.
15878 (print_version): Use PKGVERSION.
15879 * elf/sln.c (main): Use PKGVERSION.
15880 (usage): Use REPORT_BUGS_TO.
15881 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
15882 (top level): Use PKGVERSION.
15883 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
15884 (print_version): Use PKGVERSION.
15885 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
15886 (print_version): Use PKGVERSION.
15887 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
15888 (print_version): Use PKGVERSION.
15889 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
15890 (print_version): Use PKGVERSION.
15891 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
15892 (print_version): Use PKGVERSION.
15893 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
15894 (print_version): Use PKGVERSION.
15895 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
15896 and BUGURL.
15897 ($(objpfx)memusage): Likewise.
15898 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
15899 (do_version): Use PKGVERSION.
15900 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
15901 (print_version): Use PKGVERSION.
15902 * malloc/mtrace.pl ($PACKAGE): Remove variable.
15903 ($PKGVERSION): New variable.
15904 ($REPORT_BUGS_TO): Likewise.
15905 (usage): Use $REPORT_BUGS_TO.
15906 (top level): Use $PKGVERSION.
15907 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
15908 ($(objpfx)pkgvers.texi): New rule.
15909 ($(objpfx)stamp-pkgvers): Likewise.
15910 * manual/install.texi: Include pkgvers.texi.
15911 (--with-pkgversion): Document new configure option.
15912 (--with-bugurl): Likewise.
15913 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
15914 than necessarily for this particular distribution. Use
15915 REPORT_BUGS_TO for where to report bugs.
15916 * INSTALL: Regenerated.
15917 * manual/libc.texinfo: Include pkgvers.texi.
15918 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
15919 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
15920 (print_version): Use PKGVERSION.
15921 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
15922 (print_version): Use PKGVERSION.
15923 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
15924 (print_version): Use PKGVERSION.
15925 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
15926 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
15927 macro.
15928 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
15929 (print_version): Use PKGVERSION.
15930 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
15931 (print_version): Use PKGVERSION.
15932 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
15933 and PKGVERSION.
15934
92e4b6a9
JM
15935 * timezone/checktab.awk: Update from tzcode 2012i.
15936 * timezone/ialloc.c: Likewise.
15937 * timezone/private.h: Likewise.
15938 * timezone/scheck.c: Likewise.
15939 * timezone/tzfile.h: Likewise.
15940 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
15941 (TZVERSION): Hardcode tzcode version number.
15942 * timezone/zdump.c: Update from tzcode 2012i.
15943 * timezone/zic.c: Likewise.
15944 * timezone/version.h: New file.
15945 * timezone/README: Describe version.h. Update upstream location.
15946
9bde902c
JM
15947 [BZ #14824]
15948 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
15949 (mktemp): Enable declaration.
15950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
15951 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
15952 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
15953 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
15954 Likewise.
15955 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
15956 Likewise.
15957 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
15958 Likewise.
15959 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
15960 Likewise.
15961 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
15962 Likewise.
15963 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
15964 Likewise.
15965
fb1ae1ee
JM
15966 [BZ #14821]
15967 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
15968 offset in buffer as u_int32_t not u_long. Consistently use memcpy
15969 for copies of such integer values.
15970 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15971 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15972
2c1adbcb
AJ
159732012-11-09 Andreas Jaeger <aj@suse.de>
15974
15975 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
15976 definitions and declarations that are provided by
15977 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15978
d0f8457e
AK
159792012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15980
3a235abb 15981 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
15982 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
15983 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
15984 definition.
15985
57241e26
MS
159862012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15987
15988 * elf/elf.h: Update comment before AArch64 relocations.
15989
60e8270d
DM
159902012-11-07 David S. Miller <davem@davemloft.net>
15991
15992 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
15993 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
15994 (__start_context): Declare.
15995 (__makecontext_ret): Delete.
15996 (__makecontext): Hook up __start_context instead of
15997 __makecontext_ret.
15998 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
15999 (sysdep_routines): Add __start_context when in stdlib.
16000
0fbb0fbc
JM
160012012-11-07 Joseph Myers <joseph@codesourcery.com>
16002
16003 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16004 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16005 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16006 hardcoded "nm".
16007 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16008 (READELF): New variable. Use it instead of hardcoded "readelf".
16009
eb48db7e
L
160102012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16011
16012 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16013 * sysdeps/x86/Makefile: Here.
16014 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16015 * sysdeps/x86/tst-xmmymm.sh: This.
16016
05bcf62a
JM
160172012-11-07 Joseph Myers <joseph@codesourcery.com>
16018
c4b6cf53
JM
16019 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16020 expectations.
16021 [UNIX98] (pthread_barrier_t): Do not expect.
16022 [UNIX98] (pthread_barrierattr_t): Likewise.
16023 [UNIX98] (pthread_spinlock_t): Likewise.
16024 [UNIX98] (pthread_barrier_destroy): Likewise.
16025 [UNIX98] (pthread_barrier_init): Likewise.
16026 [UNIX98] (pthread_barrier_wait): Likewise.
16027 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16028 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16029 [UNIX98] (pthread_barrierattr_init): Likewise.
16030 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16031 [UNIX98] (pthread_getcpuclockid): Likewise.
16032 [UNIX98] (pthread_mutex_timedlock): Likewise.
16033 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16034 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16035 [UNIX98] (pthread_sigmask): Likewise.
16036 [UNIX98] (pthread_spin_destroy): Likewise.
16037 [UNIX98] (pthread_spin_init): Likewise.
16038 [UNIX98] (pthread_spin_lock): Likewise.
16039 [UNIX98] (pthread_spin_trylock): Likewise.
16040 [UNIX98] (pthread_spin_unlock): Likewise.
16041 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16042 Do not expect.
16043 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16044 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16045 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16046 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16047 [XPG3 || XPG4] (pthread_key_t): Likewise.
16048 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16049 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16050 [XPG3 || XPG4] (pthread_once_t): Likewise.
16051 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16052 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16053 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16054 [XPG3 || XPG4] (pthread_t): Likewise.
16055
cbe6e120
JM
16056 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16057 not expect.
16058 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16059
1b126443
JM
16060 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16061 Change function return type to int.
16062
b961a573
JM
16063 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16064 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16065 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16066 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16067 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16068 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16069 [!POSIX] (posix_madvise): Likewise.
16070 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16071 && !UNIX98].
16072 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16073 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16074 (mode_t): Likewise.
16075 (posix_mem_offset): Likewise.
16076 (posix_typed_mem_get_info): Likewise.
16077 (posix_typed_mem_open): Likewise.
16078
9e188909
JM
16079 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16080 Change condition to [XOPEN2K8].
16081
05bcf62a
JM
16082 * conform/conformtest.pl: Preprocess allow-header data with -x c
16083 instead of from stdin.
16084 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16085 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16086 [C99-based standards] (cerfc): Likewise.
16087 [C99-based standards] (cexp2): Likewise.
16088 [C99-based standards] (cexpm1): Likewise.
16089 [C99-based standards] (clog10): Likewise.
16090 [C99-based standards] (clog1p): Likewise.
16091 [C99-based standards] (clog2): Likewise.
16092 [C99-based standards] (clgamma): Likewise.
16093 [C99-based standards] (ctgamma): Likewise.
16094 [C99-based standards] (cerff): Likewise.
16095 [C99-based standards] (cerfcf): Likewise.
16096 [C99-based standards] (cexp2f): Likewise.
16097 [C99-based standards] (cexpm1f): Likewise.
16098 [C99-based standards] (clog10f): Likewise.
16099 [C99-based standards] (clog1pf): Likewise.
16100 [C99-based standards] (clog2f): Likewise.
16101 [C99-based standards] (clgammaf): Likewise.
16102 [C99-based standards] (ctgammaf): Likewise.
16103 [C99-based standards] (cerfl): Likewise.
16104 [C99-based standards] (cerfcl): Likewise.
16105 [C99-based standards] (cexp2l): Likewise.
16106 [C99-based standards] (cexpm1l): Likewise.
16107 [C99-based standards] (clog10l): Likewise.
16108 [C99-based standards] (clog1pl): Likewise.
16109 [C99-based standards] (clog2l): Likewise.
16110 [C99-based standards] (clgammal): Likewise.
16111 [C99-based standards] (ctgammal): Likewise.
16112 * conform/data/inttypes.h-data [C99-based standards]: Include
16113 stdint.h-data. Remove all expectations for stdint.h contents.
16114 [C99-based standards] (PRI*): Do not allow.
16115 [C99-based standards] (SCN*): Likewise.
16116 [C99-based standards] (*_t): Likewise.
16117 [C99-based-standards] (PRId8): Expect macro.
16118 [C99-based-standards] (PRIi8): Likewise.
16119 [C99-based-standards] (PRIo8): Likewise.
16120 [C99-based-standards] (PRIu8): Likewise.
16121 [C99-based-standards] (PRIx8): Likewise.
16122 [C99-based-standards] (PRIX8): Likewise.
16123 [C99-based-standards] (SCNd8): Likewise.
16124 [C99-based-standards] (SCNi8): Likewise.
16125 [C99-based-standards] (SCNo8): Likewise.
16126 [C99-based-standards] (SCNu8): Likewise.
16127 [C99-based-standards] (SCNx8): Likewise.
16128 [C99-based-standards] (PRIdLEAST8): Likewise.
16129 [C99-based-standards] (PRIiLEAST8): Likewise.
16130 [C99-based-standards] (PRIoLEAST8): Likewise.
16131 [C99-based-standards] (PRIuLEAST8): Likewise.
16132 [C99-based-standards] (PRIxLEAST8): Likewise.
16133 [C99-based-standards] (PRIXLEAST8): Likewise.
16134 [C99-based-standards] (SCNdLEAST8): Likewise.
16135 [C99-based-standards] (SCNiLEAST8): Likewise.
16136 [C99-based-standards] (SCNoLEAST8): Likewise.
16137 [C99-based-standards] (SCNuLEAST8): Likewise.
16138 [C99-based-standards] (SCNxLEAST8): Likewise.
16139 [C99-based-standards] (PRIdFAST8): Likewise.
16140 [C99-based-standards] (PRIiFAST8): Likewise.
16141 [C99-based-standards] (PRIoFAST8): Likewise.
16142 [C99-based-standards] (PRIuFAST8): Likewise.
16143 [C99-based-standards] (PRIxFAST8): Likewise.
16144 [C99-based-standards] (PRIXFAST8): Likewise.
16145 [C99-based-standards] (SCNdFAST8): Likewise.
16146 [C99-based-standards] (SCNiFAST8): Likewise.
16147 [C99-based-standards] (SCNoFAST8): Likewise.
16148 [C99-based-standards] (SCNuFAST8): Likewise.
16149 [C99-based-standards] (SCNxFAST8): Likewise.
16150 [C99-based-standards] (PRId16): Likewise.
16151 [C99-based-standards] (PRIi16): Likewise.
16152 [C99-based-standards] (PRIo16): Likewise.
16153 [C99-based-standards] (PRIu16): Likewise.
16154 [C99-based-standards] (PRIx16): Likewise.
16155 [C99-based-standards] (PRIX16): Likewise.
16156 [C99-based-standards] (SCNd16): Likewise.
16157 [C99-based-standards] (SCNi16): Likewise.
16158 [C99-based-standards] (SCNo16): Likewise.
16159 [C99-based-standards] (SCNu16): Likewise.
16160 [C99-based-standards] (SCNx16): Likewise.
16161 [C99-based-standards] (PRIdLEAST16): Likewise.
16162 [C99-based-standards] (PRIiLEAST16): Likewise.
16163 [C99-based-standards] (PRIoLEAST16): Likewise.
16164 [C99-based-standards] (PRIuLEAST16): Likewise.
16165 [C99-based-standards] (PRIxLEAST16): Likewise.
16166 [C99-based-standards] (PRIXLEAST16): Likewise.
16167 [C99-based-standards] (SCNdLEAST16): Likewise.
16168 [C99-based-standards] (SCNiLEAST16): Likewise.
16169 [C99-based-standards] (SCNoLEAST16): Likewise.
16170 [C99-based-standards] (SCNuLEAST16): Likewise.
16171 [C99-based-standards] (SCNxLEAST16): Likewise.
16172 [C99-based-standards] (PRIdFAST16): Likewise.
16173 [C99-based-standards] (PRIiFAST16): Likewise.
16174 [C99-based-standards] (PRIoFAST16): Likewise.
16175 [C99-based-standards] (PRIuFAST16): Likewise.
16176 [C99-based-standards] (PRIxFAST16): Likewise.
16177 [C99-based-standards] (PRIXFAST16): Likewise.
16178 [C99-based-standards] (SCNdFAST16): Likewise.
16179 [C99-based-standards] (SCNiFAST16): Likewise.
16180 [C99-based-standards] (SCNoFAST16): Likewise.
16181 [C99-based-standards] (SCNuFAST16): Likewise.
16182 [C99-based-standards] (SCNxFAST16): Likewise.
16183 [C99-based-standards] (PRId32): Likewise.
16184 [C99-based-standards] (PRIi32): Likewise.
16185 [C99-based-standards] (PRIo32): Likewise.
16186 [C99-based-standards] (PRIu32): Likewise.
16187 [C99-based-standards] (PRIx32): Likewise.
16188 [C99-based-standards] (PRIX32): Likewise.
16189 [C99-based-standards] (SCNd32): Likewise.
16190 [C99-based-standards] (SCNi32): Likewise.
16191 [C99-based-standards] (SCNo32): Likewise.
16192 [C99-based-standards] (SCNu32): Likewise.
16193 [C99-based-standards] (SCNx32): Likewise.
16194 [C99-based-standards] (PRIdLEAST32): Likewise.
16195 [C99-based-standards] (PRIiLEAST32): Likewise.
16196 [C99-based-standards] (PRIoLEAST32): Likewise.
16197 [C99-based-standards] (PRIuLEAST32): Likewise.
16198 [C99-based-standards] (PRIxLEAST32): Likewise.
16199 [C99-based-standards] (PRIXLEAST32): Likewise.
16200 [C99-based-standards] (SCNdLEAST32): Likewise.
16201 [C99-based-standards] (SCNiLEAST32): Likewise.
16202 [C99-based-standards] (SCNoLEAST32): Likewise.
16203 [C99-based-standards] (SCNuLEAST32): Likewise.
16204 [C99-based-standards] (SCNxLEAST32): Likewise.
16205 [C99-based-standards] (PRIdFAST32): Likewise.
16206 [C99-based-standards] (PRIiFAST32): Likewise.
16207 [C99-based-standards] (PRIoFAST32): Likewise.
16208 [C99-based-standards] (PRIuFAST32): Likewise.
16209 [C99-based-standards] (PRIxFAST32): Likewise.
16210 [C99-based-standards] (PRIXFAST32): Likewise.
16211 [C99-based-standards] (SCNdFAST32): Likewise.
16212 [C99-based-standards] (SCNiFAST32): Likewise.
16213 [C99-based-standards] (SCNoFAST32): Likewise.
16214 [C99-based-standards] (SCNuFAST32): Likewise.
16215 [C99-based-standards] (SCNxFAST32): Likewise.
16216 [C99-based-standards] (PRId64): Likewise.
16217 [C99-based-standards] (PRIi64): Likewise.
16218 [C99-based-standards] (PRIo64): Likewise.
16219 [C99-based-standards] (PRIu64): Likewise.
16220 [C99-based-standards] (PRIx64): Likewise.
16221 [C99-based-standards] (PRIX64): Likewise.
16222 [C99-based-standards] (SCNd64): Likewise.
16223 [C99-based-standards] (SCNi64): Likewise.
16224 [C99-based-standards] (SCNo64): Likewise.
16225 [C99-based-standards] (SCNu64): Likewise.
16226 [C99-based-standards] (SCNx64): Likewise.
16227 [C99-based-standards] (PRIdLEAST64): Likewise.
16228 [C99-based-standards] (PRIiLEAST64): Likewise.
16229 [C99-based-standards] (PRIoLEAST64): Likewise.
16230 [C99-based-standards] (PRIuLEAST64): Likewise.
16231 [C99-based-standards] (PRIxLEAST64): Likewise.
16232 [C99-based-standards] (PRIXLEAST64): Likewise.
16233 [C99-based-standards] (SCNdLEAST64): Likewise.
16234 [C99-based-standards] (SCNiLEAST64): Likewise.
16235 [C99-based-standards] (SCNoLEAST64): Likewise.
16236 [C99-based-standards] (SCNuLEAST64): Likewise.
16237 [C99-based-standards] (SCNxLEAST64): Likewise.
16238 [C99-based-standards] (PRIdFAST64): Likewise.
16239 [C99-based-standards] (PRIiFAST64): Likewise.
16240 [C99-based-standards] (PRIoFAST64): Likewise.
16241 [C99-based-standards] (PRIuFAST64): Likewise.
16242 [C99-based-standards] (PRIxFAST64): Likewise.
16243 [C99-based-standards] (PRIXFAST64): Likewise.
16244 [C99-based-standards] (SCNdFAST64): Likewise.
16245 [C99-based-standards] (SCNiFAST64): Likewise.
16246 [C99-based-standards] (SCNoFAST64): Likewise.
16247 [C99-based-standards] (SCNuFAST64): Likewise.
16248 [C99-based-standards] (SCNxFAST64): Likewise.
16249 [C99-based-standards] (PRIdMAX): Likewise.
16250 [C99-based-standards] (PRIiMAX): Likewise.
16251 [C99-based-standards] (PRIoMAX): Likewise.
16252 [C99-based-standards] (PRIuMAX): Likewise.
16253 [C99-based-standards] (PRIxMAX): Likewise.
16254 [C99-based-standards] (PRIXMAX): Likewise.
16255 [C99-based-standards] (SCNdMAX): Likewise.
16256 [C99-based-standards] (SCNiMAX): Likewise.
16257 [C99-based-standards] (SCNoMAX): Likewise.
16258 [C99-based-standards] (SCNuMAX): Likewise.
16259 [C99-based-standards] (SCNxMAX): Likewise.
16260 [C99-based-standards] (PRIdPTR): Likewise.
16261 [C99-based-standards] (PRIiPTR): Likewise.
16262 [C99-based-standards] (PRIoPTR): Likewise.
16263 [C99-based-standards] (PRIuPTR): Likewise.
16264 [C99-based-standards] (PRIxPTR): Likewise.
16265 [C99-based-standards] (PRIXPTR): Likewise.
16266 [C99-based-standards] (SCNdPTR): Likewise.
16267 [C99-based-standards] (SCNiPTR): Likewise.
16268 [C99-based-standards] (SCNoPTR): Likewise.
16269 [C99-based-standards] (SCNuPTR): Likewise.
16270 [C99-based-standards] (SCNxPTR): Likewise.
16271 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16272 allow.
16273 * conform/data/stdint.h-data: Update comments to clarify
16274 requirements.
16275 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16276 type.
16277 [C99-based standards] (INT8_MAX): Likewise.
16278 [C99-based standards] (INT16_MIN): Likewise.
16279 [C99-based standards] (INT16_MAX): Likewise.
16280 [C99-based standards] (INT32_MIN): Likewise.
16281 [C99-based standards] (INT32_MAX): Likewise.
16282 [C99-based standards] (INT64_MIN): Likewise.
16283 [C99-based standards] (INT64_MAX): Likewise.
16284 [C99-based standards] (UINT8_MAX): Likewise.
16285 [C99-based standards] (UINT16_MAX): Likewise.
16286 [C99-based standards] (UINT32_MAX): Likewise.
16287 [C99-based standards] (UINT64_MAX): Likewise.
16288 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16289 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16290 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16291 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16292 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16293 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16294 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16295 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16296 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16297 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16298 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16299 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16300 [C99-based standards] (INT_FAST8_MIN): Likewise.
16301 [C99-based standards] (INT_FAST8_MAX): Likewise.
16302 [C99-based standards] (INT_FAST16_MIN): Likewise.
16303 [C99-based standards] (INT_FAST16_MAX): Likewise.
16304 [C99-based standards] (INT_FAST32_MIN): Likewise.
16305 [C99-based standards] (INT_FAST32_MAX): Likewise.
16306 [C99-based standards] (INT_FAST64_MIN): Likewise.
16307 [C99-based standards] (INT_FAST64_MAX): Likewise.
16308 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16309 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16310 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16311 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16312 [C99-based standards] (INTPTR_MIN): Likewise.
16313 [C99-based standards] (INTPTR_MAX): Likewise.
16314 [C99-based standards] (UINTPTR_MAX): Likewise.
16315 [C99-based standards] (INTMAX_MIN): Likewise.
16316 [C99-based standards] (INTMAX_MAX): Likewise.
16317 [C99-based standards] (UINTMAX_MAX): Likewise.
16318 [C99-based standards] (PTRDIFF_MIN): Likewise.
16319 [C99-based standards] (PTRDIFF_MAX): Likewise.
16320 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16321 [C99-based standards] (SIZE_MAX): Likewise.
16322 [C99-based standards] (WCHAR_MAX): Likewise.
16323 [C99-based standards] (WINT_MAX): Likewise.
16324 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16325 constraint on value.
16326 [C99-based standards] (WCHAR_MIN): Likewise.
16327 [C99-based standards] (WINT_MIN): Likewise.
16328 [C99-based standards] (*_t): Allow.
16329 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16330 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16331 Include math.h-data and complex.h-data. Remove all expectations
16332 of math.h and complex.h contents.
16333 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16334 at end of line.
16335 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16336 (struct tm): Expect tag.
16337 [C99-based-standards] (wcstof): Expect function.
16338 [C99-based-standards] (wcstold): Likewise.
16339 [C99-based-standards] (wcstoll): Likewise.
16340 [C99-based-standards] (wcstoull): Likewise.
16341 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16342 macro-int-constant. Specify type.
16343 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16344 constraint on value.
16345 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16346 Specify type.
16347 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16348 Specify value.
16349 [ISO C standards]: Do not allow headers.
16350 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16351 wcs[abcdefghijklmnopqrstuvwxyz]*.
16352 [ISO C standards] (*_t): Do not allow.
16353 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16354 Expect function.
16355 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16356 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16357 Specify type.
16358 [ISO C standards]: Do not allow headers.
16359 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16360 is[abcdefghijklmnopqrstuvwxyz]*.
16361 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16362 to[abcdefghijklmnopqrstuvwxyz]*.
16363 [ISO C standards] (*_t): Do not allow.
16364 * conform/data/stdalign.h-data: New file.
16365 * conform/data/stdbool.h-data: Likewise.
16366 * conform/data/stdnoreturn.h-data: Likewise.
16367
7514feb8
RM
163682012-11-07 Roland McGrath <roland@hack.frob.com>
16369
16370 [BZ #14815]
16371 * manual/filesys.texi (Directory Entries): Typo fix.
16372 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16373
19b2ecfc
MS
163742012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16375
16376 * elf/elf.h (EM_AARCH64): New macro.
16377 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16378 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16379 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16380 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16381 (R_AARCH64_TLSDESC): Likewise.
16382 (NT_ARM_TLS): Likewise.
16383 (NT_ARM_HW_BREAK): Likewise.
16384 (NT_ARM_HW_WATCH): Likewise.
16385
60e235ee
JM
163862012-11-07 Joseph Myers <joseph@codesourcery.com>
16387
16388 [BZ #14811]
16389 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16390 (__ieee754_powl): Saturate nonzero exponents with absolute value
16391 below 0x1p-79 to +/- 0x1p-79.
16392 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16393 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16394 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16395 nonzero exponents with absolute value below 0x1p-32 to +/-
16396 0x1p-32.
16397 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16398 (__ieee754_powl): Saturate nonzero exponents with absolute value
16399 below 0x1p-79 to +/- 0x1p-79.
16400 * math/libm-test.inc (pow_test): Add more tests.
16401
0ab234b7
AK
164022012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16403
16404 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16405 _dl_s390_cap_flags with kernel. Increase string length.
16406 (_dl_s390_platforms): Add z196 and zEC12.
16407
45832f74
JM
164082012-11-07 Joseph Myers <joseph@codesourcery.com>
16409
16410 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16411 Change XOPEN21K to XOPEN2K.
16412
19218757
MK
164132012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16414
16415 * string/memmove.c: Use memcpy when possible.
16416
c5f45721
AJ
164172012-11-06 Andreas Jaeger <aj@suse.de>
16418
16419 * po/eo.po: Update from translation team.
16420
82477c28
JM
164212012-11-06 Joseph Myers <joseph@codesourcery.com>
16422
16423 [BZ #14793]
16424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16425 exponent and small x and y exponents, scale x or y up. Increase
16426 by 2 the exponent used in scaling up.
16427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16429 * math/libm-test.inc (fma_test): Add more tests.
16430 (fma_test_towardzero): Likewise.
16431 (fma_test_downward): Likewise.
16432 (fma_test_upward): Likewise.
16433
99252c8c
JM
164342012-11-05 Joseph Myers <joseph@codesourcery.com>
16435
acfa885f
JM
16436 [BZ #14805]
16437 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16438 fenv_t *.
16439
99252c8c
JM
16440 [BZ #14801]
16441 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16442 namespace for names of struct fields.
16443 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16444 fenv_t fields.
16445 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16446 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16447
d6d98dea
ST
164482012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16449
16450 [BZ #3665]
16451 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16452
e10bb107
TS
164532012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16454
16455 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16456 PTR_DEMANGLE.
16457
16458 [BZ #5246]
16459 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16460 PTR_DEMANGLE.
16461
a0c2940d
JM
164622012-11-04 Joseph Myers <joseph@codesourcery.com>
16463
16464 [BZ #14797]
16465 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16466 definitely overflow as x * y not x * y + z.
16467 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16468 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16469 * math/libm-test.inc (fma_test): Add more tests.
16470 (fma_test_towardzero): Likewise.
16471 (fma_test_downward): Likewise.
16472 (fma_test_upward): Likewise.
16473
b830319d
TS
164742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16475
16476 [BZ #157]
16477
16478 * include/stub-tag.h: Remove file.
16479 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16480 '#include' of it.
16481 * manual/maint.texi (Porting): Don't reference it.
16482 * Makerules ($(objpfx)stubs): Likewise.
16483 * dirent/closedir.c: Don't include <stub-tag.h>.
16484 * dirent/dirfd.c: Likewise.
16485 * dirent/fdopendir.c: Likewise.
16486 * dirent/getdents.c: Likewise.
16487 * dirent/getdents64.c: Likewise.
16488 * dirent/opendir.c: Likewise.
16489 * dirent/readdir.c: Likewise.
16490 * dirent/readdir64.c: Likewise.
16491 * dirent/readdir64_r.c: Likewise.
16492 * dirent/readdir_r.c: Likewise.
16493 * dirent/rewinddir.c: Likewise.
16494 * dirent/seekdir.c: Likewise.
16495 * dirent/telldir.c: Likewise.
16496 * gmon/profil.c: Likewise.
16497 * grp/setgroups.c: Likewise.
16498 * inet/if_index.c: Likewise.
16499 * io/access.c: Likewise.
16500 * io/chdir.c: Likewise.
16501 * io/chmod.c: Likewise.
16502 * io/chown.c: Likewise.
16503 * io/close.c: Likewise.
16504 * io/dup.c: Likewise.
16505 * io/dup2.c: Likewise.
16506 * io/dup3.c: Likewise.
16507 * io/euidaccess.c: Likewise.
16508 * io/faccessat.c: Likewise.
16509 * io/fchdir.c: Likewise.
16510 * io/fchmod.c: Likewise.
16511 * io/fchmodat.c: Likewise.
16512 * io/fchown.c: Likewise.
16513 * io/fchownat.c: Likewise.
16514 * io/fcntl.c: Likewise.
16515 * io/flock.c: Likewise.
16516 * io/fstatfs.c: Likewise.
16517 * io/fstatfs64.c: Likewise.
16518 * io/fstatvfs.c: Likewise.
16519 * io/fstatvfs64.c: Likewise.
16520 * io/futimens.c: Likewise.
16521 * io/fxstat.c: Likewise.
16522 * io/fxstat64.c: Likewise.
16523 * io/fxstatat.c: Likewise.
16524 * io/fxstatat64.c: Likewise.
16525 * io/getcwd.c: Likewise.
16526 * io/isatty.c: Likewise.
16527 * io/lchmod.c: Likewise.
16528 * io/lchown.c: Likewise.
16529 * io/link.c: Likewise.
16530 * io/linkat.c: Likewise.
16531 * io/lseek.c: Likewise.
16532 * io/lseek64.c: Likewise.
16533 * io/lxstat64.c: Likewise.
16534 * io/mkdir.c: Likewise.
16535 * io/mkdirat.c: Likewise.
16536 * io/mkfifo.c: Likewise.
16537 * io/mkfifoat.c: Likewise.
16538 * io/open.c: Likewise.
16539 * io/open64.c: Likewise.
16540 * io/openat.c: Likewise.
16541 * io/openat64.c: Likewise.
16542 * io/pipe.c: Likewise.
16543 * io/pipe2.c: Likewise.
16544 * io/poll.c: Likewise.
16545 * io/posix_fadvise.c: Likewise.
16546 * io/posix_fadvise64.c: Likewise.
16547 * io/posix_fallocate.c: Likewise.
16548 * io/posix_fallocate64.c: Likewise.
16549 * io/read.c: Likewise.
16550 * io/readlink.c: Likewise.
16551 * io/readlinkat.c: Likewise.
16552 * io/rmdir.c: Likewise.
16553 * io/sendfile.c: Likewise.
16554 * io/sendfile64.c: Likewise.
16555 * io/statfs.c: Likewise.
16556 * io/statfs64.c: Likewise.
16557 * io/statvfs.c: Likewise.
16558 * io/statvfs64.c: Likewise.
16559 * io/symlink.c: Likewise.
16560 * io/symlinkat.c: Likewise.
16561 * io/ttyname.c: Likewise.
16562 * io/ttyname_r.c: Likewise.
16563 * io/umask.c: Likewise.
16564 * io/unlink.c: Likewise.
16565 * io/unlinkat.c: Likewise.
16566 * io/utime.c: Likewise.
16567 * io/utimensat.c: Likewise.
16568 * io/write.c: Likewise.
16569 * io/xmknod.c: Likewise.
16570 * io/xmknodat.c: Likewise.
16571 * io/xstat.c: Likewise.
16572 * io/xstat64.c: Likewise.
16573 * login/getpt.c: Likewise.
16574 * login/grantpt.c: Likewise.
16575 * login/unlockpt.c: Likewise.
16576 * math/e_acoshl.c: Likewise.
16577 * math/e_acosl.c: Likewise.
16578 * math/e_asinl.c: Likewise.
16579 * math/e_atan2l.c: Likewise.
16580 * math/e_atanhl.c: Likewise.
16581 * math/e_coshl.c: Likewise.
16582 * math/e_expl.c: Likewise.
16583 * math/e_fmodl.c: Likewise.
16584 * math/e_gammal_r.c: Likewise.
16585 * math/e_hypotl.c: Likewise.
16586 * math/e_j0l.c: Likewise.
16587 * math/e_j1l.c: Likewise.
16588 * math/e_jnl.c: Likewise.
16589 * math/e_lgammal_r.c: Likewise.
16590 * math/e_log10l.c: Likewise.
16591 * math/e_log2l.c: Likewise.
16592 * math/e_logl.c: Likewise.
16593 * math/e_powl.c: Likewise.
16594 * math/e_rem_pio2l.c: Likewise.
16595 * math/e_sinhl.c: Likewise.
16596 * math/e_sqrtl.c: Likewise.
16597 * math/fclrexcpt.c: Likewise.
16598 * math/fedisblxcpt.c: Likewise.
16599 * math/feenablxcpt.c: Likewise.
16600 * math/fegetenv.c: Likewise.
16601 * math/fegetexcept.c: Likewise.
16602 * math/fegetround.c: Likewise.
16603 * math/feholdexcpt.c: Likewise.
16604 * math/fesetenv.c: Likewise.
16605 * math/fesetround.c: Likewise.
16606 * math/feupdateenv.c: Likewise.
16607 * math/fgetexcptflg.c: Likewise.
16608 * math/fraiseexcpt.c: Likewise.
16609 * math/fsetexcptflg.c: Likewise.
16610 * math/ftestexcept.c: Likewise.
16611 * math/k_cosl.c: Likewise.
16612 * math/k_rem_pio2l.c: Likewise.
16613 * math/k_sinl.c: Likewise.
16614 * math/k_tanl.c: Likewise.
16615 * math/s_asinhl.c: Likewise.
16616 * math/s_atanl.c: Likewise.
16617 * math/s_cbrtl.c: Likewise.
16618 * math/s_erfl.c: Likewise.
16619 * math/s_expm1l.c: Likewise.
16620 * math/s_log1pl.c: Likewise.
16621 * math/s_tanhl.c: Likewise.
16622 * misc/acct.c: Likewise.
16623 * misc/brk.c: Likewise.
16624 * misc/chflags.c: Likewise.
16625 * misc/chroot.c: Likewise.
16626 * misc/fchflags.c: Likewise.
16627 * misc/fgetxattr.c: Likewise.
16628 * misc/flistxattr.c: Likewise.
16629 * misc/fremovexattr.c: Likewise.
16630 * misc/fsetxattr.c: Likewise.
16631 * misc/fsync.c: Likewise.
16632 * misc/ftruncate.c: Likewise.
16633 * misc/futimes.c: Likewise.
16634 * misc/futimesat.c: Likewise.
16635 * misc/getdomain.c: Likewise.
16636 * misc/getdtsz.c: Likewise.
16637 * misc/gethostid.c: Likewise.
16638 * misc/gethostname.c: Likewise.
16639 * misc/getloadavg.c: Likewise.
16640 * misc/getpagesize.c: Likewise.
16641 * misc/getsysstats.c: Likewise.
16642 * misc/getxattr.c: Likewise.
16643 * misc/gtty.c: Likewise.
16644 * misc/ioctl.c: Likewise.
16645 * misc/lgetxattr.c: Likewise.
16646 * misc/listxattr.c: Likewise.
16647 * misc/llistxattr.c: Likewise.
16648 * misc/lremovexattr.c: Likewise.
16649 * misc/lsetxattr.c: Likewise.
16650 * misc/lutimes.c: Likewise.
16651 * misc/madvise.c: Likewise.
16652 * misc/mincore.c: Likewise.
16653 * misc/mlock.c: Likewise.
16654 * misc/mlockall.c: Likewise.
16655 * misc/mmap.c: Likewise.
16656 * misc/mprotect.c: Likewise.
16657 * misc/msync.c: Likewise.
16658 * misc/munlock.c: Likewise.
16659 * misc/munlockall.c: Likewise.
16660 * misc/munmap.c: Likewise.
16661 * misc/preadv.c: Likewise.
16662 * misc/preadv64.c: Likewise.
16663 * misc/ptrace.c: Likewise.
16664 * misc/pwritev.c: Likewise.
16665 * misc/pwritev64.c: Likewise.
16666 * misc/readv.c: Likewise.
16667 * misc/reboot.c: Likewise.
16668 * misc/remap_file_pages.c: Likewise.
16669 * misc/removexattr.c: Likewise.
16670 * misc/revoke.c: Likewise.
16671 * misc/select.c: Likewise.
16672 * misc/setdomain.c: Likewise.
16673 * misc/setegid.c: Likewise.
16674 * misc/seteuid.c: Likewise.
16675 * misc/sethostid.c: Likewise.
16676 * misc/sethostname.c: Likewise.
16677 * misc/setregid.c: Likewise.
16678 * misc/setreuid.c: Likewise.
16679 * misc/setxattr.c: Likewise.
16680 * misc/sstk.c: Likewise.
16681 * misc/stty.c: Likewise.
16682 * misc/swapoff.c: Likewise.
16683 * misc/swapon.c: Likewise.
16684 * misc/sync.c: Likewise.
16685 * misc/syncfs.c: Likewise.
16686 * misc/syscall.c: Likewise.
16687 * misc/truncate.c: Likewise.
16688 * misc/ualarm.c: Likewise.
16689 * misc/usleep.c: Likewise.
16690 * misc/ustat.c: Likewise.
16691 * misc/utimes.c: Likewise.
16692 * misc/vhangup.c: Likewise.
16693 * misc/writev.c: Likewise.
16694 * posix/_exit.c: Likewise.
16695 * posix/alarm.c: Likewise.
16696 * posix/execve.c: Likewise.
16697 * posix/fexecve.c: Likewise.
16698 * posix/fork.c: Likewise.
16699 * posix/fpathconf.c: Likewise.
16700 * posix/getaddrinfo.c: Likewise.
16701 * posix/getegid.c: Likewise.
16702 * posix/geteuid.c: Likewise.
16703 * posix/getgid.c: Likewise.
16704 * posix/getgroups.c: Likewise.
16705 * posix/getlogin.c: Likewise.
16706 * posix/getlogin_r.c: Likewise.
16707 * posix/getpgid.c: Likewise.
16708 * posix/getpid.c: Likewise.
16709 * posix/getppid.c: Likewise.
16710 * posix/getresgid.c: Likewise.
16711 * posix/getresuid.c: Likewise.
16712 * posix/getsid.c: Likewise.
16713 * posix/getuid.c: Likewise.
16714 * posix/glob64.c: Likewise.
16715 * posix/nanosleep.c: Likewise.
16716 * posix/pathconf.c: Likewise.
16717 * posix/pause.c: Likewise.
16718 * posix/posix_madvise.c: Likewise.
16719 * posix/pread.c: Likewise.
16720 * posix/pread64.c: Likewise.
16721 * posix/pwrite.c: Likewise.
16722 * posix/pwrite64.c: Likewise.
16723 * posix/sched_getaffinity.c: Likewise.
16724 * posix/sched_getp.c: Likewise.
16725 * posix/sched_gets.c: Likewise.
16726 * posix/sched_primax.c: Likewise.
16727 * posix/sched_primin.c: Likewise.
16728 * posix/sched_rr_gi.c: Likewise.
16729 * posix/sched_setaffinity.c: Likewise.
16730 * posix/sched_setp.c: Likewise.
16731 * posix/sched_sets.c: Likewise.
16732 * posix/sched_yield.c: Likewise.
16733 * posix/setgid.c: Likewise.
16734 * posix/setlogin.c: Likewise.
16735 * posix/setpgid.c: Likewise.
16736 * posix/setresgid.c: Likewise.
16737 * posix/setresuid.c: Likewise.
16738 * posix/setsid.c: Likewise.
16739 * posix/setuid.c: Likewise.
16740 * posix/sleep.c: Likewise.
16741 * posix/spawni.c: Likewise.
16742 * posix/sysconf.c: Likewise.
16743 * posix/times.c: Likewise.
16744 * posix/wait.c: Likewise.
16745 * posix/wait3.c: Likewise.
16746 * posix/wait4.c: Likewise.
16747 * posix/waitpid.c: Likewise.
16748 * resolv/gai_sigqueue.c: Likewise.
16749 * resource/getpriority.c: Likewise.
16750 * resource/getrlimit.c: Likewise.
16751 * resource/getrusage.c: Likewise.
16752 * resource/nice.c: Likewise.
16753 * resource/setpriority.c: Likewise.
16754 * resource/setrlimit.c: Likewise.
16755 * resource/ulimit.c: Likewise.
16756 * rt/aio_cancel.c: Likewise.
16757 * rt/aio_fsync.c: Likewise.
16758 * rt/aio_read.c: Likewise.
16759 * rt/aio_sigqueue.c: Likewise.
16760 * rt/aio_suspend.c: Likewise.
16761 * rt/aio_write.c: Likewise.
16762 * rt/clock_getres.c: Likewise.
16763 * rt/clock_gettime.c: Likewise.
16764 * rt/clock_nanosleep.c: Likewise.
16765 * rt/clock_settime.c: Likewise.
16766 * rt/lio_listio.c: Likewise.
16767 * rt/mq_close.c: Likewise.
16768 * rt/mq_getattr.c: Likewise.
16769 * rt/mq_notify.c: Likewise.
16770 * rt/mq_open.c: Likewise.
16771 * rt/mq_receive.c: Likewise.
16772 * rt/mq_send.c: Likewise.
16773 * rt/mq_setattr.c: Likewise.
16774 * rt/mq_timedreceive.c: Likewise.
16775 * rt/mq_timedsend.c: Likewise.
16776 * rt/mq_unlink.c: Likewise.
16777 * rt/shm_open.c: Likewise.
16778 * rt/shm_unlink.c: Likewise.
16779 * rt/timer_create.c: Likewise.
16780 * rt/timer_delete.c: Likewise.
16781 * rt/timer_getoverr.c: Likewise.
16782 * rt/timer_gettime.c: Likewise.
16783 * rt/timer_settime.c: Likewise.
16784 * setjmp/__longjmp.c: Likewise.
16785 * setjmp/setjmp.c: Likewise.
16786 * signal/kill.c: Likewise.
16787 * signal/killpg.c: Likewise.
16788 * signal/raise.c: Likewise.
16789 * signal/sigaction.c: Likewise.
16790 * signal/sigaltstack.c: Likewise.
16791 * signal/sigblock.c: Likewise.
16792 * signal/sigignore.c: Likewise.
16793 * signal/sigintr.c: Likewise.
16794 * signal/signal.c: Likewise.
16795 * signal/sigpause.c: Likewise.
16796 * signal/sigpending.c: Likewise.
16797 * signal/sigqueue.c: Likewise.
16798 * signal/sigreturn.c: Likewise.
16799 * signal/sigset.c: Likewise.
16800 * signal/sigsetmask.c: Likewise.
16801 * signal/sigstack.c: Likewise.
16802 * signal/sigsuspend.c: Likewise.
16803 * signal/sigtimedwait.c: Likewise.
16804 * signal/sigvec.c: Likewise.
16805 * signal/sigwait.c: Likewise.
16806 * signal/sigwaitinfo.c: Likewise.
16807 * signal/sysv_signal.c: Likewise.
16808 * socket/accept.c: Likewise.
16809 * socket/accept4.c: Likewise.
16810 * socket/bind.c: Likewise.
16811 * socket/connect.c: Likewise.
16812 * socket/getpeername.c: Likewise.
16813 * socket/getsockname.c: Likewise.
16814 * socket/getsockopt.c: Likewise.
16815 * socket/isfdtype.c: Likewise.
16816 * socket/listen.c: Likewise.
16817 * socket/recv.c: Likewise.
16818 * socket/recvfrom.c: Likewise.
16819 * socket/recvmsg.c: Likewise.
16820 * socket/send.c: Likewise.
16821 * socket/sendmsg.c: Likewise.
16822 * socket/sendto.c: Likewise.
16823 * socket/setsockopt.c: Likewise.
16824 * socket/shutdown.c: Likewise.
16825 * socket/sockatmark.c: Likewise.
16826 * socket/socket.c: Likewise.
16827 * socket/socketpair.c: Likewise.
16828 * stdio-common/ctermid.c: Likewise.
16829 * stdio-common/cuserid.c: Likewise.
16830 * stdio-common/remove.c: Likewise.
16831 * stdio-common/rename.c: Likewise.
16832 * stdio-common/renameat.c: Likewise.
16833 * stdio-common/tempname.c: Likewise.
16834 * stdlib/getcontext.c: Likewise.
16835 * stdlib/makecontext.c: Likewise.
16836 * stdlib/setcontext.c: Likewise.
16837 * stdlib/swapcontext.c: Likewise.
16838 * stdlib/system.c: Likewise.
16839 * streams/fattach.c: Likewise.
16840 * streams/fdetach.c: Likewise.
16841 * streams/getmsg.c: Likewise.
16842 * streams/getpmsg.c: Likewise.
16843 * streams/putmsg.c: Likewise.
16844 * streams/putpmsg.c: Likewise.
16845 * sysdeps/unix/bsd/getpt.c: Likewise.
16846 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
16847 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
16848 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
16849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
16850 Likewise.
16851 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
16852 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
16853 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
16854 * sysvipc/msgctl.c: Likewise.
16855 * sysvipc/msgget.c: Likewise.
16856 * sysvipc/msgrcv.c: Likewise.
16857 * sysvipc/msgsnd.c: Likewise.
16858 * sysvipc/semctl.c: Likewise.
16859 * sysvipc/semget.c: Likewise.
16860 * sysvipc/semop.c: Likewise.
16861 * sysvipc/semtimedop.c: Likewise.
16862 * sysvipc/shmat.c: Likewise.
16863 * sysvipc/shmctl.c: Likewise.
16864 * sysvipc/shmdt.c: Likewise.
16865 * sysvipc/shmget.c: Likewise.
16866 * termios/tcdrain.c: Likewise.
16867 * termios/tcflow.c: Likewise.
16868 * termios/tcflush.c: Likewise.
16869 * termios/tcgetattr.c: Likewise.
16870 * termios/tcgetpgrp.c: Likewise.
16871 * termios/tcsendbrk.c: Likewise.
16872 * termios/tcsetattr.c: Likewise.
16873 * termios/tcsetpgrp.c: Likewise.
16874 * time/adjtime.c: Likewise.
16875 * time/clock.c: Likewise.
16876 * time/getitimer.c: Likewise.
16877 * time/gettimeofday.c: Likewise.
16878 * time/setitimer.c: Likewise.
16879 * time/settimeofday.c: Likewise.
16880 * time/stime.c: Likewise.
16881 * time/time.c: Likewise.
16882
168832012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 16884
a20492cf
PT
16885 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
16886 /usr/old/bin.
16887
72e182e3
PT
16888 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
16889 instead of spaces.
16890 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
16891
fbeafede
JM
168922012-11-03 Joseph Myers <joseph@codesourcery.com>
16893
5b5b04d6
JM
16894 [BZ #14796]
16895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
16896 FE_TONEAREST before applying Dekker multiplication and Knuth
16897 addition. Clear inexact exceptions and check for exact zero
16898 results afterwards.
16899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16900 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16902 * math/libm-test.inc (fma_test): Add more tests.
16903 (fma_test_towardzero): Likewise.
16904 (fma_test_downward): Likewise.
16905 (fma_test_upward): Likewise.
16906 * sysdeps/generic/math_private.h (default_libc_fesetround): New
16907 function.
16908 (libc_fesetround): New macro.
16909 (libc_fesetroundf): Likewise.
16910 (libc_fesetroundl): Likewise.
16911 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
16912 function.
16913 (libc_fesetround_387): Likewise.
16914 (libc_fesetroundf): New macro.
16915 (libc_fesetround): Likewise.
16916 (libc_fesetroundl): Likewise.
16917 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
16918 function.
16919 (libc_fesetroundf): New macro.
16920 (libc_fesetround): Likewise.
16921 (libc_fesetroundl): Likewise.
16922 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
16923 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
16924 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
16925 libm_hidden_ver.
16926 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
16927 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
16928 libm_hidden_def.
16929 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
16930 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
16931 libm_hidden_ver.
16932 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
16933 libm_hidden_def.
16934
fbeafede
JM
16935 [BZ #3439]
16936 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
16937 integer constant usable in #if and use that to give value to enum
16938 constant.
16939 (FE_DIVBYZERO): Likewise.
16940 (FE_UNDERFLOW): Likewise.
16941 (FE_OVERFLOW): Likewise.
16942 (FE_INVALID): Likewise.
16943 (FE_INVALID_SNAN): Likewise.
16944 (FE_INVALID_ISI): Likewise.
16945 (FE_INVALID_IDI): Likewise.
16946 (FE_INVALID_ZDZ): Likewise.
16947 (FE_INVALID_IMZ): Likewise.
16948 (FE_INVALID_COMPARE): Likewise.
16949 (FE_INVALID_SOFTWARE): Likewise.
16950 (FE_INVALID_SQRT): Likewise.
16951 (FE_INVALID_INTEGER_CONVERSION): Likewise.
16952 (FE_TONEAREST): Likewise.
16953 (FE_TOWARDZERO): Likewise.
16954 (FE_UPWARD): Likewise.
16955 (FE_DOWNWARD): Likewise.
16956 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
16957 (FE_DIVBYZERO): Likewise.
16958 (FE_OVERFLOW): Likewise.
16959 (FE_UNDERFLOW): Likewise.
16960 (FE_INEXACT): Likewise.
16961 (FE_TONEAREST): Likewise.
16962 (FE_DOWNWARD): Likewise.
16963 (FE_UPWARD): Likewise.
16964 (FE_TOWARDZERO): Likewise.
16965 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
16966 (FE_UNDERFLOW): Likewise.
16967 (FE_OVERFLOW): Likewise.
16968 (FE_DIVBYZERO): Likewise.
16969 (FE_INVALID): Likewise.
16970 (FE_TONEAREST): Likewise.
16971 (FE_TOWARDZERO): Likewise.
16972 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
16973 (FE_OVERFLOW): Likewise.
16974 (FE_UNDERFLOW): Likewise.
16975 (FE_DIVBYZERO): Likewise.
16976 (FE_INEXACT): Likewise.
16977 (FE_TONEAREST): Likewise.
16978 (FE_TOWARDZERO): Likewise.
16979 (FE_UPWARD): Likewise.
16980 (FE_DOWNWARD): Likewise.
16981 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
16982 (FE_DIVBYZERO): Likewise.
16983 (FE_OVERFLOW): Likewise.
16984 (FE_UNDERFLOW): Likewise.
16985 (FE_INEXACT): Likewise.
16986 (FE_TONEAREST): Likewise.
16987 (FE_DOWNWARD): Likewise.
16988 (FE_UPWARD): Likewise.
16989 (FE_TOWARDZERO): Likewise.
16990
105ca950
CM
169912012-11-02 Chris Metcalf <cmetcalf@tilera.com>
16992
16993 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
16994
a542b389
AS
169952012-11-03 Andreas Schwab <schwab@linux-m68k.org>
16996
16997 * scripts/cross-test-ssh.sh (command): Use newlines to separate
16998 commands. Quote $PWD.
16999 (blacklist_exports): Don't use remove_newlines. Replace "declare
17000 -x" by "export".
17001 (remove_newlines): Remove.
17002
f62c8abc
L
170032012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17004
17005 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17006 * stdlib/stdlib.h (atof): Moved to ...
17007 * include/bits/stdlib-float.h: Here. New file.
17008 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17009 * stdlib/bits/stdlib-float.h: New file.
17010 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17011 -mno-sse -mno-mmx.
17012 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17013 <xmmintrin.h>.
17014
0155d5b2
JM
170152012-11-02 Joseph Myers <joseph@codesourcery.com>
17016
a68d0680
JM
17017 * conform/conformtest.pl (@headers): Add fenv.h.
17018 * conform/data/fenv.h-data: New file.
17019 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17020 include of <math/fenv.h>.
17021
caf7f573
JM
17022 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17023 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17024 && !UNIX98]. Enables tests for XOPEN2K8.
17025 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17026 POSIX2008]: Likewise.
17027
6c073ad6
JM
17028 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17029 (struct rusage): Do not expect type or its members.
17030
0155d5b2
JM
17031 [BZ #3439]
17032 * math/math.h (FP_NAN): Define macro to integer constant usable in
17033 #if and use that to give value to enum constant.
17034 (FP_INFINITE): Likewise.
17035 (FP_ZERO): Likewise.
17036 (FP_SUBNORMAL): Likewise.
17037 (FP_NORMAL): Likewise.
17038
b5dcacb4
AS
170392012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17040
17041 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17042 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17043 arguments.
17044
f7934be8
RM
170452012-11-02 Roland McGrath <roland@hack.frob.com>
17046
17047 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17048 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17049 autoconf-time if not.
17050 * configure.in: Remove AC_PREREQ.
17051
d7d08bde
TMQMF
170522012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17053
17054 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17055 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17056 of the internal implementation.
17057
dcdae19a
JM
170582012-11-02 Joseph Myers <joseph@codesourcery.com>
17059
17060 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17061 except include of <misc/sys/syslog.h>.
17062
d6cffd3e
AS
170632012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17064
17065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17066 function returns with a NULL context exit with zero.
17067
b3563932
TMQMF
170682012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17069
17070 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17071
b288a93d
L
170722012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17073
17074 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17075 (run_program_cmd): This.
17076 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17077 (tst_langinfo): New variable. Use it.
17078
a2421a68
SAS
170792012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17080
17081 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17082 floating point opcodes.
17083
6f796e1b
TS
170842012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17085
7402596b
TS
17086 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17087 variable.
17088
d0d4f868
TS
17089 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17090
6f796e1b
TS
17091 * sysdeps/mach/hurd/powerpc: Remove directory.
17092 * sysdeps/mach/powerpc: Likewise.
17093
4da224a2
AS
170942012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17095
17096 * scripts/check-local-headers.sh: Ignore c++ headers.
17097
341dd673
TS
170982012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17099
17100 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17101 __libc_cleanup_region_start argument.
17102
473611b2
JM
171032012-11-01 Joseph Myers <joseph@codesourcery.com>
17104
17105 [BZ #14784]
17106 [BZ #14785]
17107 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17108 x * y using scaling, not as x * y + z.
17109 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17110 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17111 * math/libm-test.inc (fma_test): Add more tests.
17112 (fma_test_towardzero): Likewise.
17113 (fma_test_downward): Likewise.
17114 (fma_test_upward): Likewise.
17115
4078da3d
TS
171162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17117
17118 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17119
903252aa
JM
171202012-10-31 Joseph Myers <joseph@codesourcery.com>
17121
17122 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17123 New variable.
17124
cbc818d0
TS
171252012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17126
17127 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17128
5a03cb1e
AS
171292012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17130
17131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17132 Fix sort order.
17133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17134 Likewise.
17135
90aff2ff
TMQMF
171362012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17137
17138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17139 Fix the order of the list for glibc 2.17.
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17141 Likewise.
17142
1818fcb7
AS
171432012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17144
17145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17146
ef82f4da
JM
171472012-10-31 Joseph Myers <joseph@codesourcery.com>
17148
16a0e2ec
JM
17149 [BZ #14610]
17150 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17151 for low part of x being zero before using __atanl (y).
17152 * math/libm-test.inc (atan2_test): Add another test.
17153
0eb69512
JM
17154 * manual/install.texi (Configuring and compiling): Document
17155 general use of test-wrapper and test-wrapper-env.
17156 * INSTALL: Regenerated.
17157
ef82f4da
JM
17158 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17159 (__fma): Do not extract and scale down low bits on after-rounding
17160 systems when result rounded to normal precision would have normal
17161 exponent.
17162 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17163 (__fmal): Do not extract and scale down low bits on after-rounding
17164 systems when result rounded to normal precision would have normal
17165 exponent.
17166 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17167 (__fmal): Do not extract and scale down low bits on after-rounding
17168 systems when result rounded to normal precision would have normal
17169 exponent.
17170 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17171 macro.
17172 (fma_test): Add more tests.
17173 (fma_test_towardzero): Likewise.
17174 (fma_test_downward): Likewise.
17175 (fma_test_upward): Likewise.
17176
954ef0d9
L
171772012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17178
17179 * sysdeps/i386/tininess.h: Renamed to ...
17180 * sysdeps/x86/tininess.h: This.
17181 * sysdeps/x86_64/tininess.h: Removed.
17182
df61ffb2
JM
171832012-10-30 Joseph Myers <joseph@codesourcery.com>
17184
17185 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17186 input. Use $(build-program-cmd).
17187 ($(objpfx)tst-array1-static.out): Likewise.
17188 ($(objpfx)tst-array2.out): Likewise.
17189 ($(objpfx)tst-array3.out): Likewise.
17190 ($(objpfx)tst-array4.out): Likewise.
17191 ($(objpfx)tst-array5.out): Likewise.
17192 ($(objpfx)tst-array5-static.out): Likewise.
17193
01767843
CM
171942012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17195
47cc1490
CM
17196 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17197 if defined.
17198
01767843
CM
17199 * nss/nsswitch.h (nss_interface_function): Provide new
17200 macro for use with NSS functions.
17201 * grp/initgroups.c: Use new macro.
17202 * nss/getXXbyYY.c: Likewise.
17203 * nss/getXXbyYY_r.c: Likewise.
17204 * nss/getXXent.c: Likewise.
17205 * nss/getXXent_r.c: Likewise.
17206 * sysdeps/posix/getaddrinfo.c: Likewise.
17207
8321aa97
AJ
172082012-10-30 Andreas Jaeger <aj@suse.de>
17209
17210 * po/ru.po: Update Russion translation from translation project.
17211
2a27fd6d
JM
172122012-10-30 Joseph Myers <joseph@codesourcery.com>
17213
8627a232
JM
17214 [BZ #14152]
17215 [BZ #14783]
17216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17217 result and shift together with sticky bit instead of replicating
17218 round-to-nearest rounding.
17219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17220 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17221 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17222 missing underflow exceptions.
17223 (fma_test_towardzero): Add more tests.
17224 (fma_test_downward): Likewise.
17225 (fma_test_upward): Likewise.
17226
2a27fd6d
JM
17227 [BZ #14047]
17228 * sysdeps/generic/tininess.h: New file.
17229 * sysdeps/i386/tininess.h: Likewise.
17230 * sysdeps/sh/tininess.h: Likewise.
17231 * sysdeps/x86_64/tininess.h: Likewise.
17232 * stdlib/tst-strtod-underflow.c: Likewise.
17233 * stdlib/tst-tininess.c: Likewise.
17234 * stdlib/strtod_l.c: Include <tininess.h>.
17235 (round_and_return): Do not set errno for exact underflow cases.
17236 Force an underflow exception when setting errno for underflow.
17237 Determine underflow based on rounding to normal precision if
17238 TININESS_AFTER_ROUNDING.
17239 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17240 ERANGE for exact underflow cases.
17241 * stdlib/Makefile (tests): Add tst-tininess and
17242 tst-strtod-underflow.
17243 ($(objpfx)tst-tininess): Use $(link-libm).
17244 ($(objpfx)tst-strtod-underflow): Likewise.
17245
e7170363
AJ
172462012-10-30 Andreas Jaeger <aj@suse.de>
17247
e5088dc6
AJ
17248 [BZ#14767]
17249 * elf/Makefile (tests): Remove conditional for have-initfini-array
17250 since this is now always required and the variable does not exist
17251 anymore.
17252 (tests-static): Likewise.
17253 (modules-names): Likewise.
17254
e7170363 17255 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
17256
17257 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17258 merged with constructor/destructor.
17259 (init_array): Likewise.
17260 * elf/tst-array2dep.c (fini_array): Likewise.
17261 (init_array): Likewise.
17262
60457d8a
MF
172632012-10-29 Mike Frysinger <vapier@gentoo.org>
17264
17265 * manual/message.texi: Delete @cartouche tags.
17266
8bece752
PT
172672012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17268
94ce799f
PT
17269 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17270 EOPNOTSUPP.
17271 * sysdeps/mach/hurd/fsync.c: Likewise.
17272
8bece752
PT
17273 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17274 [_POSIX_REALTIME_SIGNALS]: Change condition to
17275 [_POSIX_REALTIME_SIGNALS > 0].
17276
86ebe6b1
AJ
172772012-10-27 Andreas Jaeger <aj@suse.de>
17278
17279 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17280 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17282 [__WORDSIZE != 64]: Likewise.
17283
54399c08
L
172842012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17285
17286 * iconvdata/tst-table.sh: Remove ${SHELL}.
17287 * iconvdata/tst-tables.sh: Likewise.
17288
e2211bed
DM
172892012-10-25 David S. Miller <davem@davemloft.net>
17290
17291 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17292 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17293 of strtoull.
17294
f303f97c
DM
17295 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17296 ifunc-impl-list.c
17297 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17298 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17299 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17300 file.
17301
1e9d84cd
RM
173022012-10-25 Roland McGrath <roland@hack.frob.com>
17303
17304 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17305 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17306 __getdirentries.
17307
df381762
JM
173082012-10-25 Joseph Myers <joseph@codesourcery.com>
17309 Jim Blandy <jimb@codesourcery.com>
17310
17311 * scripts/cross-test-ssh.sh: New file.
17312 * manual/install.texi (Configuring and compiling): Document use of
17313 cross-test-ssh.sh.
17314 * INSTALL: Regenerated.
17315
bff64913
PT
173162012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17317
17318 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17319 EOPNOTSUPP.
17320
25fe8932
JM
173212012-10-25 Joseph Myers <joseph@codesourcery.com>
17322
17323 * Makeconfig (run-program-prefix): Fix comment.
17324
cc1290d0
JM
173252012-10-24 Joseph Myers <joseph@codesourcery.com>
17326 Jim Blandy <jimb@codesourcery.com>
17327
17328 * Makeconfig (test-wrapper): New variable,
17329 (test-wrapper-env): Likewise.
17330 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17331 (run-built-tests): Define to yes.
17332 (run-program-prefix): Use $(test-wrapper).
17333 (built-program-cmd): Likewise.
17334 * Rules (make-test-out): Use $(test-wrapper-env) and
17335 $(host-built-program-cmd).
17336 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17337 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17338 tst-pathopt.sh.
17339 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17340 $(test-wrapper-env) to tst-rtld-load-self.sh.
17341 ($(objpfx)order2.out): Use $(test-wrapper).
17342 ($(objpfx)tst-initorder.out): Likewise.
17343 ($(objpfx)tst-initorder2.out): Likewise.
17344 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17345 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17346 (test_wrapper_env): New variable. Use it to run ld.so.
17347 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17348 Use it to run ld.so.
17349 (test_wrapper_env): Likewise.
17350 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17351 $(test-wrapper) to run-iconv-test.sh.
17352 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17353 (ICONV): Use $test_wrapper.
17354 * posix/Makefile ($(objpfx)globtest.out): Pass
17355 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17356 globtest.sh, not $(run-program-prefix).
17357 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17358 (test_wrapper): Likewise.
17359 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17360 set together with run_via_rtld_prefix.
17361 (run_program_prefix): Define in terms of test_wrapper and
17362 run_via_rtld_prefix.
17363
6e6249d0
RM
173642012-10-24 Roland McGrath <roland@hack.frob.com>
17365
17366 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17367 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17368 Targets removed.
17369
17370 [BZ #14743]
17371 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17372 Declare __clock_getres, __clock_gettime, __clock_settime,
17373 __clock_nanosleep, and __clock_getcpuclockid.
17374 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17375 Remove librt_hidden_def (clock_gettime).
17376 * sysdeps/unix/clock_gettime.c: Likewise.
17377 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17378 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17379 * rt/clock_getres.c: Define __clock_getres as an alias.
17380 * sysdeps/posix/clock_getres.c: Likewise.
17381 * rt/clock_settime.c: Define __clock_settime as an alias.
17382 * sysdeps/unix/clock_settime.c: Likewise.
17383 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17384 * sysdeps/unix/clock_nanosleep.c: Likewise.
17385 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17386 * rt/clock-compat.c: New file.
17387 * rt/Makefile (librt-routines): Add clock-compat and move
17388 $(clock-routines) to ...
17389 (routines): ... here, new variable.
17390 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17391 Don't add get_clockfreq here.
17392 * rt/Versions (libc: GLIBC_2.17): New version set.
17393 Add clock_* symbols here.
17394 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17395 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17396 (GLIBC_2.17): Add clock_* symbols.
17397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17398 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17399 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17401 Likewise.
17402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17403 Likewise.
17404 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17408 * NEWS: Mention the move.
17409
17410 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17411 Use __open, __read, __close rather than their public counterparts.
17412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17413 (__get_clockfreq_via_cpuinfo): Likewise.
17414 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17415 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17416
17417 * config.h.in (HAVE_IFUNC): New #undef.
17418 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17419 was successful.
17420 * configure: Regenerated.
17421
0cae3f4b
MF
174222012-10-24 Mike Frysinger <vapier@gentoo.org>
17423
17424 * configure.in: Move READELF check to start of file.
17425 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17426 libc_cv_asm_gnu_indirect_function in the process.
17427 * configure: Regenerated.
17428
8175a253
MF
174292012-10-24 Mike Frysinger <vapier@gentoo.org>
17430
17431 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17432 send the output to /dev/null.
17433 (libc_cv_cc_with_libunwind): Likewise.
17434 (libc_cv_as_noexecstack): Likewise.
17435 * configure: Regenerate.
17436
0708a7d1
JM
174372012-10-24 Joseph Myers <joseph@codesourcery.com>
17438
10b40d85
JM
17439 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17440
0708a7d1
JM
17441 * posix/globtest.sh (TMPDIR): Do not set.
17442 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17443 (testout): Likewise.
17444
9fddec1a
AJ
174452012-10-24 Andreas Jaeger <aj@suse.de>
17446
3a8db22f
AJ
17447 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17448 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17449 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17450 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17451 posix_fadvise64, posix_fallocate64.
17452
9fddec1a
AJ
17453 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17454 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17455 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17456 Likewise.
17457 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17458 Likewise.
17459 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17460
17461 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17462 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17463 <bits/fcntl-linux.h>.
17464 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17465
17466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17467 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17468 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17469 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17470 [__WORDSIZE != 64]: Likewise.
17471
ebfd1bbd
JM
174722012-10-23 Joseph Myers <joseph@codesourcery.com>
17473
03ac099f
JM
17474 * Makeconfig (run-built-tests): New variable.
17475 * Rules [$(cross-compiling) = yes]: Change condition to
17476 [$(run-built-tests) = no].
17477 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17478 to [$(run-built-tests) = yes].
17479 * elf/Makefile [$(cross-compiling) = no]: Likewise
17480 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17481 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17482 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17483 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17484 * io/Makefile [$(cross-compiling) = no]: Likewise.
17485 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17486 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17487 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17488 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17489 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17490 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17491 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17492 * string/Makefile [$(cross-compiling) = no]: Likewise.
17493
ebfd1bbd
JM
17494 * posix/Makefile ($(objpfx)globtest.out): Pass
17495 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17496 $(rtld-installed-name).
17497 * posix/globtest.sh (elf_objpfx): Remove variable.
17498 (rtld_installed_name): Likewise.
17499 (library_path): Likewise.
17500 (run_program_prefix): New variable. Use for running globtest
17501 binary.
17502
166bca24
JB
175032012-10-23 Jim Blandy <jimb@codesourcery.com>
17504 Joseph Myers <joseph@codesourcery.com>
17505
17506 * Makeconfig (host-built-program-cmd): New variable.
17507 * elf/Makefile (tst-stackguard1-ARGS): Use
17508 $(host-built-program-cmd).
17509 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17510 (tst-spawn-ARGS): Likewise.
17511 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17512
88866099
JM
175132012-10-23 Joseph Myers <joseph@codesourcery.com>
17514 Jim Blandy <jimb@codesourcery.com>
17515
17516 * Makeconfig (run-via-rtld-prefix): New variable.
17517 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17518 (built-program-cmd): Likewise.
17519
b4b4c296
AJ
175202012-10-22 Andreas Jaeger <aj@suse.de>
17521
17522 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17523 __O_RSYNC if it exists, otherwise to O_SYNC.
17524
6fb54a22
JB
175252012-10-22 Jim Blandy <jimb@codesourcery.com>
17526 Joseph Myers <joseph@codesourcery.com>
17527
17528 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17529 /dev/null.
17530 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17531 from /dev/null
17532 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17533 /dev/null.
17534
481b90b9
AJ
175352012-10-22 Andreas Jaeger <aj@suse.de>
17536
2a0e2669
AJ
17537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17538 Define always.
17539 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17540
76e38f9a
AJ
17541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17542 bits/fcntl-linux.h.
17543
7cd37b43
AJ
17544 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17545 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17546
481b90b9
AJ
17547 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17548 to __O_LARGEFILE.
17549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17550 to __O_LARGEFILE.
17551
aba75984
JB
175522012-10-21 Jim Blandy <jimb@codesourcery.com>
17553 Joseph Myers <joseph@codesourcery.com>
17554
17555 * config.make.in (NM): New variable.
17556
88d4247f
AJ
175572012-10-21 Andreas Jaeger <aj@suse.de>
17558
17559 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17560 definitions and declarations that are provided by
17561 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17562
f2eed205
L
175632012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17564
17565 [BZ #14683]
17566 * elf/Makefile (tests-static): Add tst-leaks1-static.
17567 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17568 ($(objpfx)tst-leaks1-static): New rule.
17569 ($(objpfx)tst-leaks1-static-mem): Likewise.
17570 (tst-leaks1-static-ENV): New macro.
17571 * elf/dl-open.c (dl_open_worker): Check the main application
17572 only if SHARED is defined.
17573 * elf/tst-leaks1-static.c: New file.
17574
335e6931
AJ
175752012-10-20 Andreas Jaeger <aj@suse.de>
17576
17577 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17578 generic values for Linux.
17579 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17580 and declarations that are provided by <bits/fcntl-linux.h> and
17581 include <bits/fcntl-linux.h>.
17582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17583 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17584
ac5c94d3
RM
175852012-10-20 Roland McGrath <roland@hack.frob.com>
17586
17587 * io/fcntl.h: Move include of <bits/types.h> to the top and
17588 include it unconditionally.
17589
de54b33a
L
175902012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17591
228cfb01
L
17592 * wcsmbs/Makefile (tests-ifunc): New variable.
17593 (tests): Add $(tests-ifunc).
17594 * wcsmbs/test-wcschr-ifunc.c: New file.
17595 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17596 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17597 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17598 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17599 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17600
69f07e5f
L
17601 * string/Makefile (tests-ifunc): New variable.
17602 (tests): Add $(tests-ifunc).
17603 * string/test-memccpy.c (TEST_NAME): New macro.
17604 * string/test-memchr.c (TEST_NAME): Likewise.
17605 * string/test-memcmp.c (TEST_NAME): Likewise.
17606 * string/test-memcpy.c (TEST_NAME): Likewise.
17607 * string/test-memmem.c (TEST_NAME): Likewise.
17608 * string/test-memmove.c (TEST_NAME): Likewise.
17609 * string/test-memset.c (TEST_NAME): Likewise.
17610 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17611 * string/test-stpcpy.c (TEST_NAME): Likewise.
17612 * string/test-stpncpy.c (TEST_NAME): Likewise.
17613 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17614 * string/test-strcasestr.c (TEST_NAME): Likewise.
17615 * string/test-strcat.c (TEST_NAME): Likewise.
17616 * string/test-strchr.c (TEST_NAME): Likewise.
17617 * string/test-strcmp.c(TEST_NAME): Likewise.
17618 * string/test-strcpy.c (TEST_NAME): Likewise.
17619 * string/test-strcspn.c (TEST_NAME): Likewise.
17620 * string/test-strlen.c (TEST_NAME): Likewise.
17621 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17622 * string/test-strncmp.c (TEST_NAME): Likewise.
17623 * string/test-strncpy.c (TEST_NAME): Likewise.
17624 * string/test-strnlen.c (TEST_NAME): Likewise.
17625 * string/test-strpbrk.c (TEST_NAME): Likewise.
17626 * string/test-strrchr.c (TEST_NAME): Likewise.
17627 * string/test-strspn.c (TEST_NAME): Likewise.
17628 * string/test-strstr.c (TEST_NAME): Likewise.
17629 * string/test-bcopy-ifunc.c: New file.
17630 * string/test-bzero-ifunc.c: Likewise.
17631 * string/test-memccpy-ifunc.c: Likewise.
17632 * string/test-memchr-ifunc.c: Likewise.
17633 * string/test-memcmp-ifunc.c: Likewise.
17634 * string/test-memcpy-ifunc.c: Likewise.
17635 * string/test-memmem-ifunc.c: Likewise.
17636 * string/test-memmove-ifunc.c: Likewise.
17637 * string/test-mempcpy-ifunc.c: Likewise.
17638 * string/test-memset-ifunc.c: Likewise.
17639 * string/test-rawmemchr-ifunc.c: Likewise.
17640 * string/test-stpcpy-ifunc.c: Likewise.
17641 * string/test-stpncpy-ifunc.c: Likewise.
17642 * string/test-strcasecmp-ifunc.c: Likewise.
17643 * string/test-strcasestr-ifunc.c: Likewise.
17644 * string/test-strcat-ifunc.c: Likewise.
17645 * string/test-strchr-ifunc.c: Likewise.
17646 * string/test-strchrnul-ifunc.c: Likewise.
17647 * string/test-strcmp-ifunc.c: Likewise.
17648 * string/test-strcpy-ifunc.c: Likewise.
17649 * string/test-strcspn-ifunc.c: Likewise.
17650 * string/test-strlen-ifunc.c: Likewise.
17651 * string/test-strncasecmp-ifunc.c: Likewise.
17652 * string/test-strncat-ifunc.c: Likewise.
17653 * string/test-strncmp-ifunc.c: Likewise.
17654 * string/test-strncpy-ifunc.c: Likewise.
17655 * string/test-strnlen-ifunc.c: Likewise.
17656 * string/test-strpbrk-ifunc.c: Likewise.
17657 * string/test-strrchr-ifunc.c: Likewise.
17658 * string/test-strspn-ifunc.c: Likewise.
17659 * string/test-strstr-ifunc.c: Likewise.
17660
de54b33a
L
17661 * debug/Makefile (tests-ifunc): New variable.
17662 (tests): Add $(tests-ifunc).
17663 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
17664 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
17665 * debug/test-stpcpy_chk-ifunc.c: New file.
17666 * debug/test-strcpy_chk-ifunc.c: Likewise.
17667
88481c16
SP
176682012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17669
17670 [BZ #13601]
17671 * elf/dl-load.c (open_verify): Retry read if the entire ELF
17672 header is not read in.
17673
135948bd
JM
176742012-10-19 Joseph Myers <joseph@codesourcery.com>
17675
89f1c388
JM
17676 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
17677 script to $(SHELL) as $<. Pass $(common-objpfx) to script
17678 directly. Pass built executable to script as
17679 $(built-program-cmd).
17680 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
17681 $testprogram without using LD_LIBRARY_PATH and $ldso.
17682
e40a0d21
JM
17683 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
17684 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
17685 $(rtld-installed-name).
17686 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
17687 (rtld_installed_name): Likewise.
17688 (library_path): Likewise.
17689 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
17690 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
17691 $(run-program-prefix) to tst-tables.sh.
17692 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
17693 it to run tst-table-from and tst-table-to.
17694 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
17695 Pass it to tst-table.sh.
17696 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
17697 $(run-program-prefix) to tst-gettext.sh.
17698 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
17699 tst-translit.sh.
17700 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
17701 tst-gettext2.sh.
17702 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
17703 to run tst-gettext.
17704 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
17705 to run tst-gettext2.
17706 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
17707 to run tst-translit.
17708 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
17709 $(run-program-prefix) to tst-mtrace.sh.
17710 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
17711 to run tst-mtrace.
17712 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
17713 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
17714 $(rtld-installed-name).
17715 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
17716 (rtld_installed_name): Likewise.
17717 (run_program_prefix): New variable. Use it to run wordexp-test.
17718
728e272a
JM
17719 * Makeconfig (ARCH): Remove all definitions.
17720 (machine): Likewise.
17721 [ARCH]: Remove conditional code.
17722 [!objdir]: Give error.
17723 [!objdir] (objpfx): Remove.
17724 [!objdir] (common-objpfx): Likewise.
17725 [!objdir] (common-objdir): Likewise.
17726 * configure.in (config_makefile): Remove. Hardcode Makefile in
17727 AC_CONFIG_FILES call.
17728 * configure: Regenerated.
17729
d528cdcf
JM
17730 [BZ #13888]
17731 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
17732 or TMPDIR.
17733 (testout): Likewise.
17734
135948bd
JM
17735 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
17736 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
17737 $(rtld-installed-name).
17738 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
17739 (rtld_installed_name): Likwise.
17740 (runit): Remove function.
17741 (run_getconf): New variable, Use it for running getconf binary.
17742
38c78296
L
177432012-10-18 H.J. Lu <hongjiu.lu@intel.com>
17744
17745 [BZ #14716]
17746 * string/test-memmem.c (check_result): New function.
17747 (do_one_test): Use it.
17748 (check1): New function.
17749 (test_main): Use it.
17750
d077f65f
MT
177512012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
17752
17753 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
17754
ced52c71
JM
177552012-10-18 Joseph Myers <joseph@codesourcery.com>
17756
17757 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
17758 (_G_LSEEK64): Likewise.
17759 (_G_MMAP64): Likewise.
17760 (_G_FSTAT64): Likewise.
17761 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
17762 (_G_LSEEK64): Likewise.
17763 (_G_MMAP64): Likewise.
17764 (_G_FSTAT64): Likewise.
17765 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
17766 unconditional. Call __mmap64 directly.
17767 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
17768 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
17769 __lseek64 directly.
17770 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
17771 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
17772 __mmap64 directly.
17773 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
17774 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
17775 __lseek64 directly.
17776 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
17777 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
17778 __lseek64 directly.
17779 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
17780 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
17781 __lseek64 directly.
17782 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
17783 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
17784 __fxstat64 directly.
17785 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
17786 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
17787 unconditional.
17788 (freopen64) [!_G_OPEN64]: Remove conditional code.
17789 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
17790 unconditional.
17791 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
17792 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
17793 unconditional.
17794 (ftello64) [!_G_LSEEK64]: Remove conditional code.
17795 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
17796 unconditional.
17797 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17798 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
17799 unconditional.
17800 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
17801 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
17802 unconditional.
17803 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17804 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
17805 unconditional.
17806 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
17807 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
17808 unconditional.
17809 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
17810
b741de23
SP
178112012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17812
17813 [BZ #12140]
17814 * manual/memory.texi (Malloc Tunable Parameters): Add note
17815 about free list pointers overwriting some perturb bytes.
17816 Wording suggested by Roland McGrath.
17817
f9b9d9c9
JM
178182012-10-17 Joseph Myers <joseph@codesourcery.com>
17819
17820 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
17821 (lgamma_test): Likewise.
17822 (tgamma_test): Likewise.
17823
172a631a
FW
178242012-10-16 Florian Weimer <fweimer@redhat.com>
17825
17826 [BZ #14700]
17827 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
17828 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
17829
e9f37252
MK
178302012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
17831
17832 * NEWS: Mention BZ #14716.
17833 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
17834 when removing AVAILABLE1_USES_J macro.
17835
d394eb74
L
178362012-10-12 H.J. Lu <hongjiu.lu@intel.com>
17837
17838 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
17839 (__bswap_64): __uint64_t for unsigned 64-bit int.
17840
ca38dc17
AS
178412012-10-12 Andreas Schwab <schwab@linux-m68k.org>
17842
17843 * include/string.h (memmem): Declare libc hidden alias.
17844 * string/memmem.c (memmem): Define libc hidden alias.
17845 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
17846 __read, __close instead of open, read, close.
17847
9a387d1f
L
178482012-10-11 H.J. Lu <hongjiu.lu@intel.com>
17849
ac49ecaf
L
17850 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
17851 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
17852 global and hidden.
17853 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
17854 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
17855 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
17856 Likewise.
17857 (__rawmemchr_sse2): Likewise.
17858 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
17859 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
17860 (__strchr_sse2): Likewise.
17861 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
17862 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
17863 (__strcasecmp_sse2): Likewise.
17864 (__strncasecmp_sse2): Likewise.
17865 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
17866 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
17867 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
17868 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
17869 (__strrchr_sse2): Likewise.
17870 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
17871 ifunc-impl-list.c.
17872 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17873 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17874 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17875 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17876 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17877 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17878 * sysdeps/x86_64/multiarch/memset.S: Likewise.
17879 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17880 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
17881 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
17882 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
17883 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
17884 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
17885 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17886 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17887 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17888 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17889 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17890 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
17891 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
17892 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
17893 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
17894 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
17895 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17896 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
17897 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17898 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17899 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17900 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17901 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17902
b090e8ea
L
17903 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
17904 global and hidden.
17905 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
17906 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
17907 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
17908 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
17909 Likewise.
17910 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
17911 Likewise.
17912 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
17913 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
17914 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
17915 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
17916 ifunc-impl-list.c.
17917 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17918 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17919 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17920 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17921 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17922 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17923 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17924 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17925 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17926 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17927 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17928 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17929 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17930 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
17931 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
17932 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17933 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
17934 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
17935 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17936 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17937 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17938 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17939 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17940 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17941 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17942 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
17943 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
17944 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
17945 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
17946 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17947 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
17948 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17949 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17950 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
17951 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17952 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17953 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17954 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17955 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17956 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17957 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
17958
11dd4af6
L
17959 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
17960 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
17961 * include/ifunc-impl-list.h: New file.
17962 * misc/ifunc-impl-list.c: Likewise.
17963 * misc/Makefile (routines): Add ifunc-impl-list.
17964 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
17965 * string/test-string.h: Include <ifunc-impl-list.h>.
17966 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
17967 impl_array): New variables.
17968 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
17969 are defined.
17970 (test_init): Call __libc_ifunc_impl_list to initialize
17971 func_list if TEST_IFUNC and TEST_NAME are defined.
17972
9a387d1f
L
17973 * string/Makefile (strop-tests): Add bcopy and bzero.
17974 * string/test-bcopy.c: New file.
17975 * string/test-bzero.c: Likewise.
17976 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
17977 defined.
17978 * string/test-memset.c: Support bzero test if TEST_BZERO is
17979 defined.
17980 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
17981 __libc_memmove.
17982 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
17983 __libc_memset.
17984 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
17985 of memset.
17986
472371b9
JM
179872012-10-10 Joseph Myers <joseph@codesourcery.com>
17988
1e4a9536
JM
17989 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
17990 * configure: Regenerated.
17991
d173d12e
JM
17992 * Makeconfig (+link-static-before-libc): Don't include
17993 $(link-static-libc).
17994
472371b9
JM
17995 * libio/libio.h (_IO_pos_t): Remove.
17996
89a3ad0b
AO
179972012-10-10 Alexandre Oliva <aoliva@redhat.com>
17998
17999 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18000 McGrath.
18001
e7451425
AO
180022012-10-10 Alexandre Oliva <aoliva@redhat.com>
18003
18004 * crypt/crypt-entry.c: Include fips-private.h.
18005 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18006 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18007 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18008 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18009
4ba74a35
AO
180102012-10-10 Alexandre Oliva <aoliva@redhat.com>
18011
18012 * crypt/crypt-private.h: Include stdbool.h.
18013 (_ufc_setup_salt_r): Return bool.
18014 * crypt/crypt-entry.c: Include errno.h.
18015 (__crypt_r): Return NULL with EINVAL for bad salt.
18016 * crypt/crypt_util.c (bad_for_salt): New.
18017 (_ufc_setup_salt_r): Check that salt is long enough and within
18018 the specified alphabet.
18019 * crypt/badsalttest.c: New file.
18020 * crypt/Makefile (tests): Add it.
18021 ($(objpfx)badsalttest): New.
18022
f96f1242
MK
180232012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18024
18025 * NEWS: Add entry for BZ #14602.
18026
0e8e0c1c
JM
180272012-10-09 Joseph Myers <joseph@codesourcery.com>
18028
18029 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18030 type-generic.
18031 * math/libm-test.inc: Update comment listing what functions and
18032 macros are tested.
18033 (isgreater_test): New function.
18034 (isgreaterequal_test): Likewise.
18035 (isless_test): Likewise.
18036 (islessequal_test): Likewise.
18037 (islessgreater_test): Likewise.
18038 (isunordered_test): Likewise.
18039 (main): Call the new functions.
18040
273edc5e
RM
180412012-10-09 Roland McGrath <roland@hack.frob.com>
18042
b8493de0
RM
18043 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18044 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18045 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18046 * sysdeps/i386/configure: Regenerated.
18047 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18048 * sysdeps/mach/configure: Regenerated.
18049 * sysdeps/mach/hurd/configure: Regenerated.
18050 * sysdeps/powerpc/configure: Regenerated.
18051 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18052 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18053 * sysdeps/s390/s390-32/configure: Regenerated.
18054 * sysdeps/s390/s390-64/configure: Regenerated.
18055 * sysdeps/sh/configure: Regenerated.
18056 * sysdeps/sparc/configure: Regenerated.
18057 * sysdeps/unix/sysv/linux/configure: Regenerated.
18058 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18059 * sysdeps/x86_64/configure: Regenerated.
18060
273edc5e
RM
18061 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18062 defined. Don't check if MAP is NULL.
18063
c8450f70
JM
180642012-10-09 Joseph Myers <joseph@codesourcery.com>
18065
18066 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18067 (_G_stat64): Likewise.
18068 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18069 (_G_stat64): Likewise.
18070 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18071 instead of struct _G_stat64.
18072 * libio/fileops.c (mmap_remap_check): Likewise.
18073 (decide_maybe_mmap): Likewise.
18074 (_IO_new_file_seekoff): Likewise.
18075 (_IO_file_stat): Likewise.
18076 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18077 _G_off64_t.
18078 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18079 instead of struct _G_stat64.
18080 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18081
57e605ba
MK
180822012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18083
18084 [BZ #14602]
18085 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18086 Replace with ...
18087 (CHECK_EOL): New macro.
18088 (two_way_short_needle): Check beginning of haystack for EOL. Use
18089 CHECK_EOL.
18090 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18091 Replace with CHECK_EOL.
18092 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18093 Replace with CHECK_EOL.
18094
ef1bb361
JM
180952012-10-08 Joseph Myers <joseph@codesourcery.com>
18096
18097 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18098 type-generic.
18099 * math/libm-test.inc: Update comment listing what functions and
18100 macros are tested.
18101 (finite_test): New function.
18102 (isinf_test): Likewise.
18103 (isnan_test): Likewise.
18104 (fpclassify_test): Test subnormal input.
18105 (isfinite_test): Likewise.
18106 (isnormal_test): Likewise.
18107 (main): Call the new functions.
18108
55f11534
JN
181092012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18110
18111 [BZ #14660]
18112 * Makerules (%.dynsym): Force C locale when running
18113 $(OBJDUMP) --dynamic-syms.
18114
1ab29350
AS
181152012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18116
18117 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18118 <stdint.h>.
18119
f1ecb7ef
DM
181202012-10-06 David S. Miller <davem@davemloft.net>
18121
18122 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18123 upper 32-bits of the length value in %o2 since we use branch-on-register
18124 tests which consider the entire 64-bit register.
18125
5d41d91a
L
181262012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18127
18128 * string/test-strstr.c (check2): Add a test for page boundary.
18129
3baddb72
DM
181302012-10-05 David S. Miller <davem@davemloft.net>
18131
18132 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18133 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18134 file.
18135 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18136 sysdep_routines.
18137 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18138 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18139 and bzero when HWCAP_SPARC_CRYPTO is present.
18140
9cee5585
L
181412012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18142
d7e0dab9
L
18143 [BZ #14602]
18144 * string/test-strstr.c (check2): New function.
18145 (test_main): Call check2.
18146
03759f47
L
18147 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18148 and bug-strchr1.
18149 * string/bug-strcasestr1.c (do_test): Moved to ...
18150 * string/test-strcasestr.c (check1): Here. New function.
18151 (do_one_test): Break out result checking code into ...
18152 (check_result): This. New function.
18153 (do_one_test): Call check_result.
18154 (test_main): Call check1.
18155 * string/bug-strchr1.c (do_test): Moved to ...
18156 * string/test-strchr.c (check1): Here. New function.
18157 (do_one_test): Break out result checking code into ...
18158 (check_result): This. New function.
18159 (do_one_test): Call check_result.
18160 (test_main): Call check1.
18161 * string/bug-strstr1.c (main): Moved to ...
046f153e 18162 * string/test-strstr.c (check1): Here. New function.
03759f47
L
18163 (do_one_test): Break out result checking code into ...
18164 (check_result): This. New function.
18165 (do_one_test): Call check_result.
18166 (test_main): Call check1.
18167 * string/bug-strcasestr1.c: Removed.
18168 * string/bug-strchr1.c: Likewise.
18169 * string/bug-strstr1.c: Likewise.
18170
53cea63e
L
18171 * elf/Makefile (dl-routines): Add hwcaps.
18172 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18173 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18174 (_dl_important_hwcaps): Moved to ...
18175 * elf/dl-hwcaps.c: Here. New file.
18176 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18177
9cee5585 18178 [BZ #14557]
bb859b06
L
18179 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18180 if IS_IN_rtld isn't defined.
18181
9cee5585
L
18182 * elf/dl-support.c (_dl_sysinfo_map): New.
18183 Include "get-dynamic-info.h" and "setup-vdso.h".
18184 (_dl_non_dynamic_init): Call setup_vdso.
18185 * elf/dynamic-link.h: Don't include <assert.h>.
18186 (elf_get_dynamic_info): Moved to ...
18187 * elf/get-dynamic-info.h: Here. New file.
18188 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18189 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18190 * elf/setup-vdso.h: Here. New file.
18191 * elf/rtld.c: Include "setup-vdso.h".
18192 (dl_main): Call setup_vdso.
18193
23c31b76
JM
181942012-10-05 Joseph Myers <joseph@codesourcery.com>
18195
28234b07
JM
18196 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18197 creal in comment listing functions tested. List finite, isinf,
18198 isnan, isless, islessequal, isgreater, isgreaterequal,
18199 islessgreater, isunordered, lgamma_r and pow10 as functions and
18200 macros not tested. Mention which functions not tested are aliases
18201 for other functions. Fix typo. Note that signs of NaNs are not
18202 tested.
18203
23c31b76
JM
18204 * scripts/config.guess: Update from config.git.
18205 * scripts/config.sub: Likewise.
18206
9043e228
RM
182072012-10-04 Roland McGrath <roland@hack.frob.com>
18208
18209 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18210 * misc/madvise.c (madvise): Renamed to __madvise.
18211 Make madvise a weak alias.
18212 * include/sys/mman.h: Declare __madvise.
18213 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18214 * sysdeps/unix/syscalls.list
18215 (madvise): Make __madvise the strong name, and madvise a weak alias.
18216 * sysdeps/unix/sysv/linux/syscalls.list
18217 (madvise, mmap): Remove redundant entries.
18218 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18219 * malloc/malloc.c (mtrim): Likewise.
18220 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18221
f57f8055
RM
182222012-10-03 Roland McGrath <roland@hack.frob.com>
18223
18224 * sysdeps/mach/hurd/dl-cache.c: File removed.
18225 * config.h.in (USE_LDCONFIG): New #undef.
18226 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18227 * configure: Regenerated.
18228 * elf/Makefile (dl-routines): Add dl-cache only under
18229 [$(use-ldconfig) = yes].
18230 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18231 cache on [USE_LDCONFIG].
18232 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18233 [USE_LDCONFIG].
18234 * elf/rtld.c (dl_main): Likewise.
18235
5bb0c10a
PT
182362012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18237
18238 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18239 _SC_LEVEL4_CACHE_LINESIZE.
18240
010188c6
RM
182412012-10-03 Roland McGrath <roland@hack.frob.com>
18242
18243 * sysdeps/unix/bsd/confstr.h: File removed.
18244
b6c5ec07
AO
182452012-10-02 Alexandre Oliva <aoliva@redhat.com>
18246
18247 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18248 sys/sdt-config.h.
18249
408223d4
RM
182502012-10-02 Roland McGrath <roland@hack.frob.com>
18251
18252 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18253 Make 'mapoff' field ElfW(Off) rather than off_t.
18254
bb9510dc
DL
182552012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18256
fc997c6e
DL
18257 * nscd/Makefile: Remove nscd-cflags and all its users.
18258 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18259 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18260
bb9510dc
DL
18261 [BZ #10631]
18262 * malloc.c (malloc_printerr): Clarify error message.
18263
05699367
L
182642012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18265
18266 [BZ #14648]
18267 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18268 Set bit_FMA_Usable if FMA is supported.
18269 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18270 macro.
18271 (bit_FMA4_Usable): Updated.
18272 (index_FMA_Usable): New macro.
18273 (CPUID_FMA): Likewise
18274 (HAS_FMA): Defined with bit_FMA_Usable.
18275
51367701
RM
182762012-10-01 Roland McGrath <roland@hack.frob.com>
18277
18278 * bits/types.h (__swblk_t): Type removed.
18279 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18280 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18282 (__SWBLK_T_TYPE): Likewise.
18283 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18284 (__SWBLK_T_TYPE): Likewise.
18285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18286 (__SWBLK_T_TYPE): Likewise.
18287 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18288 (__SWBLK_T_TYPE): Likewise.
18289
4d57bf63 182902012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 18291 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
18292
18293 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18294 (xdr_mapname): Use YPMAXMAP as maxsize.
18295 (xdr_peername): Use YPMAXPEER as maxsize.
18296 (xdr_keydat): Use YPAXRECORD as maxsize.
18297 (xdr_valdat): Use YPMAXRECORD as maxsize.
18298
93c65d43
RM
182992012-10-01 Roland McGrath <roland@hack.frob.com>
18300
497a03d6
RM
18301 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18302
93c65d43
RM
18303 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18304 * csu/init-first.c: ... here.
18305 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18306 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18307 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18308 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18309 * sysdeps/i386/init-first.c: File removed.
18310 * sysdeps/sh/init-first.c: File removed.
18311
bec749fd
JM
183122012-10-01 Joseph Myers <joseph@codesourcery.com>
18313
18314 [BZ #14645]
18315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18316 if x * y might underflow to zero and z is zero.
18317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18318 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18319 * math/libm-test.inc (min_subnorm_value): New variable.
18320 (fma_test): Add more tests.
18321 (fma_test_towardzero): Likewise.
18322 (fma_test_downward): Likewise
18323 (fma_test_upward): Likewise.
18324 (initialize): Set min_subnorm_value.
18325
8ec5b013
JM
183262012-09-29 Joseph Myers <joseph@codesourcery.com>
18327
18328 [BZ #14638]
18329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18330 0 + 0.
18331 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18332 mode for addition resulting in exact zero.
18333 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18334 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18335 exact 0 + 0.
18336 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18337 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18338 * math/libm-test.inc (fma_test): Add more tests.
18339 (fma_test_towardzero): New function.
18340 (fma_test_downward): Likewise.
18341 (fma_test_upward): Likewise.
18342 (main): Call the new functions.
18343
b1fa802e
DM
183442012-09-28 David S. Miller <davem@davemloft.net>
18345
18346 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18347
d3b9fd9e
RM
183482012-09-28 Roland McGrath <roland@hack.frob.com>
18349
ea4d37b3
RM
18350 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18351 instead of SIGALRM.
18352
ac51c949
RM
18353 * sysdeps/gnu/_G_config.h: Moved to ...
18354 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18355 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18356 * sysdeps/generic/_G_config.h: ... here.
18357
28c195f7
RM
18358 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18359
848917f9
RM
18360 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18361
6bacf05b
RM
18362 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18363 Conditionalize target on [libnss_test1.so-version].
18364
91363dbb
RM
18365 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18366
cc87f7d8
RM
18367 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18368 (elfobjdir): Move out of conditionals.
18369
b1c608fe
RM
18370 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18371 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18372 (__nss_lookup_function): Conditionalize label remove_from_tree on
18373 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 18374
1d9a6d96
DM
183752012-09-28 David S. Miller <davem@davemloft.net>
18376
18377 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18378 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18379 file.
18380 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18381 sysdep_routines.
18382 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18384 when HWCAP_SPARC_CRYPTO is present.
18385
72581615
PT
183862012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18387
18388 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18389
715a900c
JL
183902012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18391
18392 [BZ #6530]
18393 * stdio-common/vfprintf.c (process_string_arg): Revert
18394 2000-07-22 change.
18395
183962011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18397
18398 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18399 for testcase.
18400 * stdio-common/tst-sprintf.c: Include <locale.h>
18401 (main): Test sprintf's handling of incomplete multibyte
18402 characters.
18403
9bac1d86
L
184042012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18405
18406 * elf/dl-runtime.c (VERSYMIDX): Removed.
18407 * elf/dl-version.c (VERSYMIDX): Likewise.
18408 * elf/do-rel.h (VERSYMIDX): Likewise.
18409 (VALIDX): Likewise.
18410 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18411 * elf/rtld.c (VALIDX): Likewise.
18412 (ADDRIDX): Likewise.
9bac1d86
L
18413 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18414 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18415 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
18416 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18417 (VALIDX): Likewise.
18418 (ADDRIDX): Likewise.
9bac1d86 18419
b31606c0
PT
184202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18421
18422 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18423
11541177
JL
184242012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18425
18426 [BZ #11438]
18427 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18428 to global scope.
18429 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18430 addresses are in the same scope as 192.0.2/24.
18431 * posix/gai.conf: Document new scope table defaults.
18432
adb26fae
SP
184332012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18434
18435 [BZ #5298]
18436 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18437 for ftell. Compute offsets from write pointers instead.
18438 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18439
4573c6b0
SP
184402012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18441
18442 [BZ #14543]
18443 * libio/Makefile (tests): New test case tst-fseek.
18444 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18445 combination works in wide mode.
18446 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18447 state when the external buffer state changes.
18448
aa9bbfe6
DM
184492012-09-27 David S. Miller <davem@davemloft.net>
18450
18451 [BZ #14376]
18452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18453 pass reloc->r_addend in as the 'high' argument to
18454 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18455
784421e7
DM
18456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18457
c39bc8b8
PT
184582012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18459
18460 * rt/tst-aio2.c: Include <pthread.h>.
18461 * rt/tst-aio3.c: Likewise.
18462
1ccc2399
SE
184632012-09-27 Steve Ellcey <sellcey@mips.com>
18464
18465 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18466
31ed4153
L
184672012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18468
25f5f885
L
18469 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18470 contents on [SHARED].
31ed4153 18471
b7bfe116
MP
184722012-09-26 Marek Polacek <polacek@redhat.com>
18473
18474 [BZ #14530]
18475 [BZ #13741]
18476 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18477 for C++ and GCC <4.3 as well as for non GCC compilers.
18478
43c4edba
MT
184792012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18480
18481 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18482
6a1bf82f
RM
184832012-09-25 Roland McGrath <roland@hack.frob.com>
18484
18485 * Makefile.in (all, install): Declare with .PHONY.
18486 Reported by Michael Hope <michael.hope@linaro.org>.
18487
8ad11b9a
TMQMF
184882012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18489
18490 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18491 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18492 system header.
18493 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18494 Likewise.
18495 (sydep_routines): Add the new and the internal functions.
18496 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18497 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18499 (GLIBC_2.17): Add the new function.
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18501 (GLIBC_2.17): Likewise.
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18503 (GLIBC_2.17): Likewise.
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18505 (GLIBC_2.17): Likewise.
18506 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18507
7e2fca8d
AM
185082012-09-25 Alan Modra <amodra@gmail.com>
18509
18510 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18511 Add release barrier before setting once_control to say
18512 initialisation is done. Add hints on lwarx. Use macro in
18513 place of isync.
18514 (clear_once_control): Add release barrier.
18515
b87c4b24
JM
185162012-09-25 Joseph Myers <joseph@codesourcery.com>
18517
d032e0d2
JM
18518 [BZ #13629]
18519 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18520 specially.
18521 * math/s_clog10.c (__clog10): Likewise.
18522 * math/s_clog10f.c (__clog10f): Likewise.
18523 * math/s_clog10l.c (__clog10l): Likewise.
18524 * math/s_clogf.c (__clogf): Likewise.
18525 * math/s_clogl.c (__clogl): Likewise.
18526 * math/Makefile (libm-calls): Add x2y2m1.
18527 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18528 (__x2y2m1): Likewise.
18529 (__x2y2m1l): Likewise.
18530 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18531 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18532 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18533 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18534 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18535 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18536 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18537 * sysdeps/i386/fpu/libm-test-ulps: Update.
18538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18539
b87c4b24
JM
18540 [BZ #14621]
18541 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18542 int as type of variable DEPTH.
18543 (glob): Use size_t instead of int as type of variables NEWCOUNT
18544 and OLD_PATHC.
18545
6d3bf199
LD
185462012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18547
22bf5c17
LD
18548 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18549 Add s_sincosf-sse2.
18550 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18551 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18552 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18553 macros for using routine as __sincosf_ia32.
18554 Use macro for function declaration and weak_alias.
18555 * sysdeps/i386/fpu/libm-test-ulps: Update.
18556
18557 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18559
18560 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
18561 subnormal argument.
18562 * math/s_cexpf.c (__cexpf): Likewise.
18563 * math/s_csinf.c (__csinf): Likewise.
18564 * math/s_csinhf.c (__csinhf): Likewise.
18565 * math/s_ctanf.c (__ctanf): Likewise.
18566 * math/s_ctanhf.c (__ctanhf): Likewise.
18567 * math/s_ccosh.c (__ccoshf): Likewise.
18568 * math/s_cexp.c (__cexpl): Likewise.
18569 * math/s_csin.c (__csin): Likewise.
18570 * math/s_csinh.c (__csinh): Likewise.
18571 * math/s_ctan.c (__ctan): Likewise.
18572 * math/s_ctanh.c (ctanh): Likewise.
18573 * math/s_ccoshl.c (__ccoshl): Likewise.
18574 * math/s_cexpl.c (__cexpl): Likewise.
18575 * math/s_csinl.c (__csinl): Likewise.
18576 * math/s_csinhl.c (__csinhl): Likewise.
18577 * math/s_ctanl.c (__ctanl): Likewise.
18578 * math/s_ctanhl.c (__ctanhl): Likewise.
18579
203e5603
JM
185802012-09-25 Joseph Myers <joseph@codesourcery.com>
18581
18582 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18583 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18584 (_IO_off_t): Define to __off_t, not _G_off_t.
18585 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18586 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18587 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18588 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18589 type of __dummy and __dummy2 fields.
18590 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18591 (_G_ssize_t): Likewise.
18592 (_G_off_t): Likewise.
18593 (_G_pid_t): Likewise.
18594 (_G_uid_t): Likewise.
18595 (_G_wchar_t): Likewise.
18596 (_G_wint_t): Likewise.
18597 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18598 (_G_ssize_t): Likewise.
18599 (_G_off_t): Likewise.
18600 (_G_pid_t): Likewise.
18601 (_G_uid_t): Likewise.
18602 (_G_wchar_t): Likewise.
18603 (_G_wint_t): Likewise.
18604 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18605 (_G_ssize_t): Likewise.
18606 (_G_off_t): Likewise.
18607 (_G_pid_t): Likewise.
18608 (_G_uid_t): Likewise.
18609 (_G_wchar_t): Likewise.
18610 (_G_wint_t): Likewise.
18611
9fab36eb
SP
186122012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18613
18614 * malloc/arena.c: Include malloc-sysdep.h.
18615 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18616 is sufficient to shrink the heap or an unmap is needed.
18617 * sysdeps/generic/malloc-sysdep.h: New file. Define
18618 new function check_may_shrink_heap.
18619 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18620 new function check_may_shrink_heap.
18621
2b4f00d1
SP
186222012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18623
18624 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18625 comments.
18626
9a9028b1
DL
186272012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18628
57c69bef
DL
18629 * catgets/test-gencat.sh: Add "set -e".
18630 * elf/tst-pathopt.sh: Likewise.
18631 * grp/tst_fgetgrent.sh: Likewise.
18632 * iconvdata/run-iconv-test.sh: Likewise.
18633 * intl/tst-gettext.sh: Likewise.
18634 * intl/tst-gettext2.sh: Likewise.
18635 * intl/tst-gettext4.sh: Likewise.
18636 * intl/tst-gettext6.sh: Likewise.
18637 * intl/tst-translit.sh: Likewise.
18638 * io/ftwtest-sh: Likewise.
18639 * libio/test-freopen.sh: Likewise.
18640 * malloc/tst-mtrace.sh: Likewise.
18641 * posix/globtest.sh: Likewise.
18642 * posix/tst-getconf.sh: Likewise.
18643 * posix/wordexp-tst.sh: Likewise.
18644 * stdio-common/tst-printf.sh: Likewise.
18645 * stdio-common/tst-unbputc.sh: Likewise.
18646 * stdlib/tst-fmtmsg.sh: Likewise.
18647 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18648 * catgets/Makefile: Do not specify -e option when running
18649 testsuite shell scripts.
18650 * elf/Makefile: Likewise.
18651 * grp/Makefile: Likewise.
18652 * iconvdata/Makefile: Likewise.
18653 * intl/Makefile: Likewise.
18654 * io/Makefile: Likewise.
18655 * libio/Makefile: Likewise.
18656 * malloc/Makefile: Likewise.
18657 * posix/Makefile: Likewise.
18658 * stdio-common/Makefile: Likewise.
18659 * stdlib/Makefile: Likewise.
18660 * sysdeps/x86_64/Makefile: Likewise.
18661
9a9028b1
DL
18662 * io/ftwtest-sh: Add copyright header.
18663 * posix/globtest.sh: Likewise.
18664 * posix/tst-getconf.sh: Likewise.
18665 * posix/wordexp-tst.sh: Likewise.
18666 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
18667
ced6f16e
L
186682012-09-24 H.J. Lu <hongjiu.lu@intel.com>
18669
94b32c39
L
18670 [BZ #13679]
18671 * Makeconfig (+link): Defined as $(+link-static) if
18672 $(build-shared) isn't yes.
18673 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
18674 isn't yes.
18675 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
18676
189e935b
L
18677 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
18678
ced6f16e
L
18679 [BZ #14562]
18680 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
18681 new chunk size with MALLOC_ALIGN_MASK.
18682
a9f8e53a
JM
186832012-09-24 Joseph Myers <joseph@codesourcery.com>
18684
18685 [BZ #5044]
18686 * stdio-common/printf_fphex.c: Include <stdbool.h> and
18687 <rounding-mode.h>.
18688 (__printf_fphex): Determine rounding using get_rounding_mode and
18689 round_away.
18690 * stdio-common/tst-printf-round.c (struct hex_test): New
18691 structure.
18692 (hex_tests): New variable.
18693 (test_hex_in_one_mode): New function.
18694 (do_test): Also run tests for hex float output.
18695
43153109
JM
186962012-09-21 Joseph Myers <joseph@codesourcery.com>
18697
18698 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18699 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18700 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
18701 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
18702 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
18703 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
18704 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18705 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
18706
8a26625d
JM
187072012-09-20 Joseph Myers <joseph@codesourcery.com>
18708
18709 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
18710 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
18711 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
18712 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
18713
f3fd569c
DL
187142012-09-19 Dmitry V. Levin <ldv@altlinux.org>
18715
18716 [BZ #14579]
18717 * elf/rtld.c (dl_main): Limit the check for self loading to normal
18718 mode only.
18719 * elf/tst-rtld-load-self.sh: New test.
18720 * elf/Makefile: Run it.
18721
63bbedd4
JM
187222012-09-18 Joseph Myers <joseph@codesourcery.com>
18723
18724 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
18725 (tst-writev-ENV): Remove.
18726 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
18727
626f8b6a
CM
187282012-09-17 Chris Metcalf <cmetcalf@tilera.com>
18729
18730 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
18731
b7aaa4d6
JM
187322012-09-17 Joseph Myers <joseph@codesourcery.com>
18733
18734 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
18735 unconditional.
18736 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
18737 Likewise.
18738 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
18739 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
18740 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
18741 Likewise.
18742
65513990
L
187432012-09-14 H.J. Lu <hongjiu.lu@intel.com>
18744
18745 [BZ #14587]
18746 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
18747 * config.make.in (have-cpp-asm-debuginfo): Removed.
18748 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
18749 * configure: Regenerated.
18750
784761be
JM
187512012-09-14 Joseph Myers <joseph@codesourcery.com>
18752
18753 [BZ #5044]
18754 * stdio-common/printf_fp.c: Include <stdbool.h> and
18755 <rounding-mode.h>.
18756 (___printf_fp): Determine rounding using get_rounding_mode and
18757 round_away.
18758 * stdio-common/tst-printf-round.c: New file.
18759 * stdio-common/Makefile (tests): Add tst-printf-round.
18760 (link-libm): New variable.
18761 ($(objpfx)tst-printf-round): Depend in $(link-libm).
18762
9503345f
L
187632012-09-13 H.J. Lu <hongjiu.lu@intel.com>
18764
18765 [BZ #14576]
18766 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
18767 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
18768 Likewise.
18769 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
18770 Likewise.
18771
ad35fc00
JM
187722012-09-13 Joseph Myers <joseph@codesourcery.com>
18773
18774 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
18775 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18776 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18777 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
18778
6c9b0f68
JM
187792012-09-12 Joseph Myers <joseph@codesourcery.com>
18780
18781 [BZ #14518]
18782 * include/rounding-mode.h: New file.
18783 * sysdeps/generic/get-rounding-mode.h: Likewise.
18784 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
18785 * stdlib/strtod_l.c: Include <rounding-mode.h>.
18786 (MAX_VALUE): New macro.
18787 (MIN_VALUE): Likewise.
18788 (overflow_value): New function.
18789 (underflow_value): Likewise.
18790 (round_and_return): Use overflow_value and underflow_value to
18791 determine return values in overflow and underflow cases. Use
18792 round_away to determine rounding depending on rounding mode.
18793 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
18794 determine return values in overflow and underflow cases.
18795 * stdlib/tst-strtod-round.c: Include <fenv.h>.
18796 (struct test_results): New structure.
18797 (struct test): Use struct test_results to store expected results
18798 for all rounding modes.
18799 (TEST): Include expected results for all rounding modes.
18800 (test_in_one_mode): New function.
18801 (do_test): Use test_in_one_mode to compute and check results.
18802 Check results for all rounding modes.
18803 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
18804 $(link-libm).
18805
19fcedd5
AM
188062012-12-09 Allan McRae <allan@archlinux.org>
18807
1e9d84cd 18808 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 18809
8bbfd2f1
JM
188102012-09-11 Joseph Myers <joseph@codesourcery.com>
18811
18812 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
18813 (_G_int32_t): Likewise.
18814 (_G_uint16_t): Likewise.
18815 (_G_uint32_t): Likewise.
18816 (_G_HAVE_BOOL): Likewise.
18817 (_G_HAVE_ATEXIT): Likewise.
18818 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18819 (_G_HAVE_IO_FILE_OPEN): Likewise.
18820 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
18821 (_G_int32_t): Likewise.
18822 (_G_uint16_t): Likewise.
18823 (_G_uint32_t): Likewise.
18824 (_G_HAVE_BOOL): Likewise.
18825 (_G_HAVE_ATEXIT): Likewise.
18826 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18827 (_G_HAVE_IO_FILE_OPEN): Likewise.
18828 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
18829 (_G_int32_t): Likewise.
18830 (_G_uint16_t): Likewise.
18831 (_G_uint32_t): Likewise.
18832 (_G_HAVE_BOOL): Likewise.
18833 (_G_HAVE_ATEXIT): Likewise.
18834 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
18835 (_G_HAVE_IO_FILE_OPEN): Likewise.
18836
b1dc5912
L
188372012-09-11 H.J. Lu <hongjiu.lu@intel.com>
18838
18839 * csu/libc-tls.c: Update copyright years.
18840
0e886ef9
JM
188412012-09-10 Joseph Myers <joseph@codesourcery.com>
18842
28361c5e
JM
18843 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
18844 [!_G_USING_THUNKS]: Remove conditional code.
18845 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
18846 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
18847
0e886ef9
JM
18848 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
18849 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
18850 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18851 (_G_VTABLE_LABEL_PREFIX): Likewise.
18852 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18853 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18854 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18855 (_G_VTABLE_LABEL_PREFIX): Likewise.
18856 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18857 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
18858 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
18859 (_G_VTABLE_LABEL_PREFIX): Likewise.
18860 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
18861
bcba7aa2
L
188622012-09-10 H.J. Lu <hongjiu.lu@intel.com>
18863
18864 * libio/Makefile: Include ../Makeconfig before tests.
18865 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
18866 only if $(build-shared) is yes.
18867
06585ee8
L
18868 * iconv/gconv_db.c: Update copyright years.
18869
80ccd52c
LD
188702012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18871
18872 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
18873 unwind info if defined PIC. Fix special cases description.
18874 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
18875
18876 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
18877 DP_HI_MASK entry.
18878 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
18879
691bc9c1
L
188802012-09-07 H.J. Lu <hongjiu.lu@intel.com>
18881
3d9b46b3
L
18882 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
18883
de2139a9
L
18884 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
18885 is NULL.
18886
5ca78dd0
L
18887 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
18888 (LDLIBS-tst-chk4): This.
18889 (LDFLAGS-tst-chk5): Renamed to ...
18890 (LDLIBS-tst-chk5): This.
18891 (LDFLAGS-tst-chk6): Renamed to ...
18892 (LDLIBS-tst-chk6): This.
18893 (LDFLAGS-tst-lfschk4): Renamed to ...
18894 (LDLIBS-tst-lfschk4): This.
18895 (LDFLAGS-tst-lfschk5): Renamed to ...
18896 (LDLIBS-tst-lfschk5): This.
18897 (LDFLAGS-tst-lfschk6): Renamed to ...
18898 (LDLIBS-tst-lfschk6): This.
18899
691bc9c1
L
18900 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
18901 on $(common-objpfx)soversions.mk.
18902
65cafb1c
JM
189032012-09-07 Joseph Myers <joseph@codesourcery.com>
18904
18905 [BZ #10014]
18906 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
18907 example host name.
18908
c78ab094
SP
189092012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18910
18911 * malloc/arena.c (arena_get_retry): New function that gets
18912 another arena for the caller to try its request on.
18913 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
18914 current arena cannot fulfill the request.
18915 (__libc_memalign): Likewise.
18916 (__libc_memalign): Likewise.
18917 (__libc_pvalloc): Likewise.
18918 (__libc_calloc): Likewise.
18919
01f49f59
JT
189202012-09-05 John Tobey <john.tobey@gmail.com>
18921
18922 [BZ #13542]
18923 * manual/arith.texi (Operations on Complex): Fix description
18924 of carg branch cut.
18925
4c23fed5
JM
189262012-09-06 Joseph Myers <joseph@codesourcery.com>
18927
1d3c8572
JM
18928 [BZ #10014]
18929 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
18930 host name.
18931
4c23fed5
JM
18932 [BZ #10038]
18933 * manual/memory.texi (Memory): Make order of menu items match
18934 order of sections.
18935
04570aaa
L
189362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18937
18938 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
18939 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
18940 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
18941
b80af2f4
L
189422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18943
18944 * csu/libc-tls.c (static_dtv): Renamed to ...
18945 (_dl_static_dtv): This. Make it global.
18946 (_dl_initial_dtv): Removed.
18947 (__libc_setup_tls): Updated.
18948 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
18949 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
18950 DL_INITIAL_DTV.
18951
2abe9f15
PM
189522012-09-06 Petr Machata <pmachata@redhat.com>
18953
18954 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
18955 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
18956 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
18957 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
18958
0948c3af
L
189592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18960
18961 [BZ #14545]
18962 * csu/libc-tls.c (_dl_initial_dtv): New variable.
18963 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
18964 freeing dtv[-1].
18965
a5055ad1
L
189662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
18967
18968 [BZ #14544]
18969 * Makeconfig (link-static-before-libc): Replace $(+prector)
18970 with $(+prectorT).
18971 (link-static-after-libc): Replace $(+postctor) with
18972 $(+postctorT).
18973 (link-bounded): Replace $(+prector)/$(+postctor) with
18974 $(+prectorT)/$(+postctorT).
18975 (+prectorT): New macro.
18976 (+postctorT): Likewise.
18977
ed8c2ecd
JM
189782012-09-06 Joseph Myers <joseph@codesourcery.com>
18979
18980 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
18981 (round_str): Handle values above the maximum for IBM long double
18982 as inexact.
18983 * stdlib/tst-strtod-round.c (tests): Regenerated.
18984
14c996c8
AK
189852012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18986
18987 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
18988 assembler flag.
18989 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
18990 zarch_nohighgprs around the zarch optimized routines.
18991 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
18992 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
18993 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
18994 for zarch.
18995
430d6ce6
DM
189962012-09-05 David S. Miller <davem@davemloft.net>
18997
18998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18999
ff04dda4
DM
19000 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19001 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19002 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19003 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19004 entries.
19005
24d4e01b
AO
190062012-09-05 Alexandre Oliva <aoliva@redhat.com>
19007
19008 * malloc/arena.c: Fold copyright years.
19009 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19010
61d58174
AO
190112012-09-05 Alexandre Oliva <aoliva@redhat.com>
19012
19013 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19014
20196a5e
AO
190152012-09-05 Alexandre Oliva <aoliva@redhat.com>
19016
19017 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19018
5c447383
AO
190192012-09-05 Alexandre Oliva <aoliva@redhat.com>
19020
19021 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19022 change internal state upon failure.
19023
fad64255
AO
190242012-09-05 Alexandre Oliva <aoliva@redhat.com>
19025
19026 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19027 * malloc/memusage.c (mmap): Likewise.
19028 (mmap64, mremap): Likewise. Adjust name in comment.
19029
1ffb8c90
SP
190302012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19031
19032 * libio/fileops.c: Fix typos in comments.
19033 * libio/oldfileops.c: Likewise.
19034 * libio/wfileops.c: Likewise.
19035
6ef9cc37
SP
190362012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19037
19038 [BZ #1349]
19039 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19040 (tst-malloc-usable-ENV): Set environment for test case.
19041 * malloc/hooks.c (malloc_check_get_size): New function to get
19042 requested size.
19043 * malloc/malloc.c (musable): Use malloc_check_get_size.
19044 * malloc/tst-malloc-usable.c: New test case.
19045
4d038ae3
AS
190462012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19047
19048 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19049
c4e85184
AM
190502012-09-05 Allan McRae <allan@archlinux.org>
19051
b9dafc56 19052 [BZ #13966]
c4e85184
AM
19053 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19054 determine header location.
19055 * configure: Regenerated.
19056
e1343020
AS
190572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19058
19059 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19060 float format.
19061 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
19062 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19063 format.
e1343020
AS
19064 (test): Regenerate.
19065
0a9f1987
DM
190662012-09-04 David S. Miller <davem@davemloft.net>
19067
19068 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19069 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19070 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19071
29237804
FW
190722012-09-04 Florian Weimer <fweimer@redhat.com>
19073
19074 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19075 failures.
19076
edb3cb88
FW
19077 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19078
60160d83
JM
190792012-09-04 Joseph Myers <joseph@codesourcery.com>
19080
19081 [BZ #9914]
19082 * libio/iogetdelim.c: Include <limits.h>.
19083 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19084 + len + 1 would overflow.
19085
bcd6c8dc
AJ
190862012-09-03 Andreas Jaeger <aj@suse.de>
19087
19088 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19089 * sysdeps/i386/fpu/libm-test-ulps: Update.
19090
4ffffbd2
LD
190912012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19092
19093 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19094 Add s_sinf-sse2, s_conf-sse2.
19095
19096 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19097 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19098 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19099 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19100
19101 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19102 for using routine as __sinf_ia32.
19103 Use macro for function declaration and weak_alias.
19104 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19105 for using routine as __cosf_ia32.
19106 Use macro for function declaration and weak_alias.
19107
19108 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19109 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19110
19111 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19112 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19114
19115 * math/libm-test.inc (cos_test): Add more test cases.
19116 (sin_test): Likewise.
19117 (sincos_test): Likewise.
19118
511fa286
AK
191192012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19120
19121 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19122 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19123 hidden.
19124 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19125
5f30cfec
L
191262012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19127
19128 [BZ #14538]
19129 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19130 first element of the GOT.
19131 (elf_machine_load_address): Return the difference between
19132 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19133
0786794f
AM
191342012-09-01 Allan McRae <allan@archlinux.org>
19135
5f30cfec
L
19136 [BZ #13412]
19137 * configure.in (AWK): Require gawk version 3.0 or later.
19138 * configure: Regenerated.
0786794f 19139
26889eac
JM
191402012-09-01 Joseph Myers <joseph@codesourcery.com>
19141
19142 * sysdeps/unix/sysv/linux/kernel-features.h
19143 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19144 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19145 [__NR_clock_getres]: Make code unconditional.
19146 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19147 (clock_getcpuclockid): Remove code left unreachable by removal of
19148 conditionals.
19149 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19150 code unconditional.
19151 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19152 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19153 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19154 Make code unconditional.
19155 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19156 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19157 * sysdeps/unix/sysv/linux/clock_settime.c
19158 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19159 conditional code.
19160 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19161 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19162
d22e28b0
L
191632012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19164
19165 [BZ #14476]
19166 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19167 scripts/test-installation.pl.
19168
19169 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19170 and $ld_so_version if it is set.
19171
050af9c4
SP
191722012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19173
19174 [BZ #14516]
19175 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19176 failure if reading from procfs failed.
19177 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19178
ad845c0b
JM
191792012-08-27 Joseph Myers <joseph@codesourcery.com>
19180
19181 * sysdeps/unix/sysv/linux/kernel-features.h
19182 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19183 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19184 Remove conditional code.
19185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19186 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19187 Remove conditional code.
19188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19189 * sysdeps/unix/sysv/linux/i386/fxstat.c
19190 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19192 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19193 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19194 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19195 * sysdeps/unix/sysv/linux/i386/lxstat.c
19196 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19198 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19199 Remove conditional code.
19200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19201 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19202 Remove conditional code.
19203 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19204 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19205 <kernel-features.h>.
19206 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19207 Remove.
19208 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19209 Remove conditional code.
19210 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19211 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19212 Remove conditional.
19213
5dbf56af
MF
192142012-08-27 Mike Frysinger <vapier@gentoo.org>
19215
19216 [BZ #5400]
19217 * NEWS: Add fixed bug number.
19218
d6e70f43
JM
192192012-08-27 Joseph Myers <joseph@codesourcery.com>
19220
7efb4737
JM
19221 [BZ #14519]
19222 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19223 underflowing exponent in case of negative sign.
19224 * stdlib/tst-strtod-round-data: Add more tests.
19225 * stdlib/tst-strtod-round.c (tests): Regenerated.
19226
af92131a
JM
19227 [BZ #3479]
19228 * stdlib/strtod_l.c (NDIG): Remove.
19229 (HEXNDIG): Likewise.
19230 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19231 smallest representable value.
19232 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19233 lie within an exact representation of 1/2 ulp of the result.
19234 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19235 unconditionally.
19236 (TENS_P9_IDX): Define unconditionally.
19237 (TENS_P9_SIZE): Likewise.
19238 (TENS_P10_IDX): Likewise.
19239 (TENS_P10_SIZE): Likewise.
19240 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19241 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19242 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19243 entries for 10^2^13 and 10^2^14.
19244 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19245 (TENS_P13_IDX): Define.
19246 (TENS_P13_SIZE): Likewise.
19247 (TENS_P14_IDX): Likewise.
19248 (TENS_P14_SIZE): Likewise.
19249 (_fpioconst_pow10): Change array size to
19250 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19251 unconditional.
19252 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19253 1024]: Add entries for 10^2^13 and 10^2^14.
19254 [LAST_POW10 > _LAST_POW10]: Remove #error.
19255 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19256 (_fpioconst_pow10): Change array size to
19257 FPIOCONST_POW10_ARRAY_SIZE.
19258 * stdlib/gen-fpioconst.c: New file.
19259 * stdlib/gen-tst-strtod-round.c: Likewise.
19260 * stdlib/tst-strtod-round-data: Likewise.
19261 * stdlib/tst-strtod-round.c: Likewise.
19262 * stdlib/Makefile (tests): Add tst-strtod-round.
19263
d6e70f43
JM
19264 [BZ #14459]
19265 * stdlib/strtod_l.c: Include <stdint.h>.
19266 (NDEBUG): Do not define.
19267 (round_and_return): Change EXPONENT parameter to type intmax_t.
19268 Rearrange calculations to avoid internal overflow possibilities.
19269 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19270 Rearrange calculations to avoid internal overflow possibilities.
19271 Assert that number fits inside MPNSIZE limbs.
19272 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19273 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19274 calculations and add assertions to avoid internal overflow
19275 possibilities. Add casts to avoid signed/unsigned operations.
19276 * stdlib/tst-strtod-overflow.c: New file.
19277 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19278
1f529f7d
MP
192792012-08-25 Marek Polacek <polacek@redhat.com>
19280
19281 * time/time.h: Fix some typos in comments.
19282
59a629f1
RM
192832012-08-23 Roland McGrath <roland@hack.frob.com>
19284
19285 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19286 * posix/tst-rfc3484-2.c: Likewise.
19287 * posix/tst-rfc3484-3.c: Likewise.
19288
d3bafbc9
SM
192892012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19290
19291 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19292 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19293
4efcc022
JM
192942012-08-23 Joseph Myers <joseph@codesourcery.com>
19295
19296 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19297 #include of fxstatat64.c.
19298
3cc3ef96
RM
192992012-08-22 Roland McGrath <roland@hack.frob.com>
19300
f04e2132
RM
19301 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19302 * shadow/getspent_r.c: Likewise.
19303 * shadow/getspnam.c: Likewise.
19304 * shadow/getspnam_r.c: Likewise.
19305 * gshadow/getsgent.c: Likewise.
19306 * gshadow/getsgent_r.c: Likewise.
19307 * gshadow/getsgnam.c: Likewise.
19308 * gshadow/getsgnam_r.c: Likewise.
19309 * inet/getnetbyad.c: Likewise.
19310 * inet/getnetbyad_r.c: Likewise.
19311 * inet/getnetbynm.c: Likewise.
19312 * inet/getnetbynm_r.c: Likewise.
19313 * inet/getnetent.c: Likewise.
19314 * inet/getnetent_r.c: Likewise.
19315 * inet/getproto.c: Likewise.
19316 * inet/getproto_r.c: Likewise.
19317 * inet/getprtent.c: Likewise.
19318 * inet/getprtent_r.c: Likewise.
19319 * inet/getprtname.c: Likewise.
19320 * inet/getprtname_r.c: Likewise.
19321 * inet/getrpcbyname.c: Likewise.
19322 * inet/getrpcbyname_r.c: Likewise.
19323 * inet/getrpcbynumber.c: Likewise.
19324 * inet/getrpcbynumber_r.c: Likewise.
19325 * inet/getrpcent.c: Likewise.
19326 * inet/getrpcent_r.c: Likewise.
19327 * inet/getaliasent.c: Likewise.
19328 * inet/getaliasent_r.c: Likewise.
19329 * inet/getaliasname.c: Likewise.
19330 * inet/getaliasname_r.c: Likewise.
19331 * nscd/getgrgid_r.c: Likewise.
19332 * nscd/getgrnam_r.c: Likewise.
19333 * nscd/gethstbyad_r.c: Likewise.
19334 * nscd/gethstbynm3_r.c: Likewise.
19335 * nscd/getpwnam_r.c: Likewise.
19336 * nscd/getpwuid_r.c: Likewise.
19337 * nscd/getsrvbynm_r.c: Likewise.
19338 * nscd/getsrvbypt_r.c: Likewise.
19339 * nscd/gai.c: Likewise.
19340
c53d909c
RM
19341 * configure.in (build_nscd): New substituted variable, set
19342 by --disable-build-nscd and defaults to $use_nscd.
19343 * configure: Regenerated.
19344 * config.make.in (build-nscd): New substituted variable.
19345 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19346 Change conditional to require [$(build-nscd) = yes] as well.
19347 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19348
3cc3ef96
RM
19349 [BZ# 13696]
19350 * configure.in (use_nscd): New substituted variable, set by
19351 --disable-nscd. If enabled, define USE_NSCD.
19352 * configure: Regenerated.
19353 * config.h.in: Add USE_NSCD.
19354 * config.make.in (use-nscd): New substituted variable.
19355 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19356 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19357 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19358 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19359 (CFLAGS-getgrnam_r.c): Likewise.
19360 (CFLAGS-initgroups.c): Likewise.
19361 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19362 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19363 Variables removed.
19364 * inet/getnetgrent_r.c
19365 (nscd_setnetgrent): New function, broken out of ...
19366 (setnetgrent): ... here. Call it.
19367 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19368 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19369 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19370 * nscd/Makefile (routines, aux): Move definitions after include of
19371 Makeconfig. Conditionalize on [$(use-nscd) != no].
19372 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19373 Conditionalize on [USE_NSCD].
19374 (is_nscd, nscd_init_cb): Likewise.
19375 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19376 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19377 * nss/nss_db/db-init.c: Likewise.
19378 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19379 [USE_NSCD].
19380 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19381 (make_request): Use it.
19382 (cache_valid_p): New function.
19383 (__check_pf): Use it.
19384 * NEWS: Add item for --disable-nscd.
19385
07e51550
DL
193862012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19387
19388 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19389 to support sed >= 4.2.1-20-ga9bf076.
19390 * configure: Regenerated.
19391
35a5b08b
RM
193922012-08-22 Roland McGrath <roland@hack.frob.com>
19393
19394 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19395 Conditionalize whole body on [IREL].
19396
8479f23a
JL
193972012-08-22 Jeff Law <law@redhat.com>
19398
19399 [BZ #14505]
19400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19401 if the family is PF_UNSPEC.
19402
48da0b21
MF
194032012-08-22 Mike Frysinger <vapier@gentoo.org>
19404
19405 * Makerules (lib-version): Rename from V.
19406 (install-lib-nosubdir): Change V to lib-version.
19407
15d0da8c
WS
194082012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19409
19410 [BZ #14252]
19411 * powerpc32/power6/wcschr.c: New file.
19412 * powerpc32/power6/wcscpy.c: New file.
19413 * powerpc32/power6/wcsrchr.c: New file.
19414 * powerpc64/power6/wcschr.c: New file.
19415 * powerpc64/power6/wcscpy.c: New file.
19416 * powerpc64/power6/wcsrchr.c: New file.
19417
bcca0895
MK
194182012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19419
19420 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19421 (two_way_short_needle): Use it.
5a4aaa33
RM
19422 * string/strstr.c (AVAILABLE1_USES_J): Define.
19423 * string/strcasestr.c: Likewise.
99677e57
MK
19424
19425 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19426 array references.
19427 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19428
400726de
MK
19429 [BZ #11607]
19430 * NEWS: Add an entry.
19431 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19432 define their defaults.
19433 (two_way_short_needle): Detect end-of-string on-the-fly.
19434 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19435 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19436 * string/bug-strcasestr1.c: New test.
19437 * string/Makefile: Run it.
19438
20a71f2c
MK
194392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19440
19441 [BZ #11607]
19442 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19443 the first character.
19444
21ad0558
RM
194452012-08-21 Roland McGrath <roland@hack.frob.com>
19446
19447 * csu/elf-init.c (__libc_csu_irel): Function removed.
19448 * csu/libc-start.c (apply_irel): New function.
19449 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19450
0e1d9911
JM
194512012-08-21 Joseph Myers <joseph@codesourcery.com>
19452
19453 * sysdeps/unix/sysv/linux/kernel-features.h
19454 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19455 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19456 <kernel-features.h>.
19457 [__NR_fadvise64_64]: Make code unconditional.
19458 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19459 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19460 !__NR_fadvise64_64)]: Likewise.
19461 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19462 !__NR_fadvise64_64))]: Likewise.
19463 [__NR_fadvise64]: Make code unconditional.
19464 [!__NR_fadvise64]: Remove conditional code.
19465 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19466 <kernel-features.h>.
19467 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19468 unconditional.
19469 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19470 conditional code.
19471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19472 not include <kernel-features.h>.
19473 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19474 unconditional.
19475 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19476 conditional code.
19477 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19478 include <kernel-features.h>.
19479 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19480 unconditional.
19481 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19482 conditional code.
19483
14a50c9d
WS
194842012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19485
19486 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19487 slight instruction rearrangements per scrollpipe analysis.
19488 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19489
c0f4faf0
RM
194902012-08-20 Roland McGrath <roland@hack.frob.com>
19491
696da859
RM
19492 * manual/syslog.texi (syslog; vsyslog, closelog):
19493 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19494 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19495
c0f4faf0
RM
19496 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19497 DSOCAPS to match condition on defining it.
19498
348363b2
JM
194992012-08-20 Joseph Myers <joseph@codesourcery.com>
19500
a35cbf28
JM
19501 * sysdeps/unix/sysv/linux/kernel-features.h
19502 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19504 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19505 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19507 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19508 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19510 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19511 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19512
445f7ecd
JM
19513 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19514 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19515
348363b2
JM
19516 * sysdeps/unix/sysv/linux/kernel-features.h
19517 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19518 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19519 unconditional.
19520 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19521 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19522 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19523 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19524 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19525 Make code unconditional.
19526 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19527 (__mmap64) [!__NR_mmap2]: Likewise.
19528 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19529 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19530 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19531 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19532 [__NR_mmap2]: Make code unconditional.
19533 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19534 (__mmap64) [!__NR_mmap2]: Likewise.
19535
bc5bc0e5
AK
195362012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19537
19538 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19539
88d506de
AJ
195402012-08-18 Andreas Jaeger <aj@suse.de>
19541
19542 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19543
493387d2
MF
195442012-08-18 Mike Frysinger <vapier@gentoo.org>
19545
19546 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19547 * include/unistd.h (__have_sock_cloexec): Likewise.
19548 (__have_pipe2): Likewise.
19549 (__have_dup3): Likewise.
19550
a277af22
MF
195512012-08-18 Mike Frysinger <vapier@gentoo.org>
19552
19553 [BZ #9685]
19554 * include/unistd.h (__have_pipe2): Change define into an extern int.
19555 (__have_dup3): Likewise.
19556 * socket/have_sock_cloexec.c: Include fcntl.h.
19557 (__have_pipe2): New variable.
19558 (__have_dup3): Likewise.
19559
fdab8fd3
MF
195602012-08-17 Mike Frysinger <vapier@gentoo.org>
19561
19562 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19563
31035e80
MP
195642012-08-17 Marek Polacek <polacek@redhat.com>
19565
19566 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19567 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19568
3bd9e993
RM
195692012-08-17 Roland McGrath <roland@hack.frob.com>
19570
c91c505f
RM
19571 * configure.in: Add AC_SUBST for sysheaders.
19572 * configure: Regenerated.
19573 * config.make.in (sysheaders): New substituted variable.
19574
7c6f9d53
RM
19575 * sysdeps/unix/mkfifo.c: Moved ...
19576 * sysdeps/posix/mkfifo.c: ... here.
19577 * sysdeps/unix/mkfifoat.c: Moved ...
19578 * sysdeps/posix/mkfifoat.c: ... here.
19579
19580 * sysdeps/unix/utime.c: Moved ...
19581 * sysdeps/posix/utime.c: ... here.
19582
19583 * sysdeps/unix/time.c: Moved ...
19584 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
19585 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19586 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
19587
19588 * sysdeps/unix/nice.c: Moved ...
19589 * sysdeps/posix/nice.c: ... here.
19590
19591 * sysdeps/unix/alarm.c: Moved ...
19592 * sysdeps/posix/alarm.c: ... here.
19593
3bd9e993
RM
19594 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19595
d1f09384
JL
195962012-08-17 Jeff Law <law@redhat.com>
19597
19598 * intl/Makefile (codeset_mo): New variable.
19599 ($(codeset_mo)): New target.
19600 (tst-codeset.out): Depend on that. Remove explicit rule.
19601 (tst-gettext3.out, tst-gettext5.out): Likewise.
19602 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19603 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19604 * intl/tst-codeset.sh: Remove.
19605 * intl/tst-gettext3.sh: Likewise.
19606 * intl/tst-gettext5.sh: Likewise.
19607
2ae1ae5c
RM
196082012-08-17 Roland McGrath <roland@hack.frob.com>
19609
c31fdb83
RM
19610 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19611 * sysdeps/unix/syscalls.list: ... here.
19612
a0844057
RM
19613 * sysdeps/posix/getaddrinfo.c
19614 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19615 (gaiconf_init, gaiconf_reload): Use them.
19616 [!_STATBUF_ST_NSEC]
19617 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19618 Define using time_t rather than struct timespec.
19619
750c1f2a
RM
19620 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19621 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19622 Macros removed.
19623 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19624 [!NO_THREADS].
19625 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19626 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19627 Likewise.
19628
2ae1ae5c
RM
19629 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
19630 __libc_cleanup_push argument.
19631
e66a42f5
RM
19632 * bits/param.h: New file.
19633 * misc/sys/param.h: New file.
19634 * include/sys/param.h: New file.
19635 * misc/Makefile (headers): Add bits/param.h.
19636 * sysdeps/generic/sys/param.h: File removed.
19637 * sysdeps/unix/sysv/linux/bits/param.h: New file.
19638 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
19639 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 19640 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 19641
b7c08a66
RM
19642 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
19643 last change.
19644
b2e1c562
RM
19645 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
19646 [_IO_MTSAFE_IO].
19647 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
19648 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
19649 New macros.
19650
c75ccd4c
RM
19651 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
19652 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
19653 rather than -D_IO_MTSAFE_IO conditionally.
19654 * stdio-common/Makefile (CPPFLAGS): Likewise.
19655 * wcsmbs/Makefile (CPPFLAGS): Likewise.
19656 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
19657 Use $(libio-mtsafe).
19658 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
19659 of -D_IO_MTSAFE_IO.
19660 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
19661 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
19662 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
19663 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
19664 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
19665 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
19666 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
19667 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
19668 (CFLAGS-fread_u_chk.c): Likewise.
19669 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
19670 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
19671 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
19672 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
19673 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
19674 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
19675 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
19676 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
19677 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
19678
19679 * libio/Makefile: Test [$(libc-reentrant) = yes]
19680 instead of [$(filter %REENTRANT, $(defines)) nonempty].
19681
19682 * Makeconfig
19683 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
19684 * sysdeps/pthread/configure: File removed.
19685 * sysdeps/pthread/Makeconfig: New file.
19686 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
19687 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
19688
d9195db8
GB
196892012-08-16 Gary Benson <gbenson@redhat.com>
19690
19691 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
19692 unmapping the first object in a namespace.
19693
86466cd9
RM
196942012-08-16 Roland McGrath <roland@hack.frob.com>
19695
19696 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
19697 (__internal_setnetgrent): ... this. Add internal_function to
19698 definition. Add libc_hidden_def.
19699 (setnetgrent): Update caller.
19700 (internal_endnetgrent): Renamed to ...
19701 (__internal_endnetgrent): ... this. Add internal_function to
19702 definition. Add libc_hidden_def.
19703 (endnetgrent): Update caller.
19704 (internal_getnetgrent_r): Renamed to ...
19705 (__internal_getnetgrent_r): ... this. Add internal_function to
19706 definition. Add libc_hidden_def.
19707 (__getnetgrent_r): Update caller.
19708 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
19709
c3c8283c
JM
197102012-08-16 Joseph Myers <joseph@codesourcery.com>
19711
19712 * stdlib/longlong.h: Update from GCC.
19713
db1ee0a8
RM
197142012-08-16 Roland McGrath <roland@hack.frob.com>
19715
19716 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
19717 on _QL, which is set by umul_ppmm but never used.
19718 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
19719 variables, which are set by GMP macros but never used.
19720 * stdio-common/_itowa.c (_itowa): Likewise.
19721 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
19722 * stdlib/mod_1.c (mpn_mod_1): Likewise.
19723
30f69637
CD
197242012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
19725
19726 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
19727 struct La_sh_regs is not constant.
19728 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
19729 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
19730 and struct La_sparc64_regs are not constant.
19731
93a78ac4
JM
197322012-08-16 Joseph Myers <joseph@codesourcery.com>
19733
19734 * sysdeps/unix/sysv/linux/kernel-features.h
19735 (__ASSUME_POSIX_TIMERS): Remove.
19736 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19737 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19738 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
19739 Make code unconditional.
19740 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19741 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
19742 Make code unconditional.
19743 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19744 * sysdeps/unix/sysv/linux/clock_nanosleep.c
19745 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
19746 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19747 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
19748 Make code unconditional.
19749 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
19750 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
19751 (__libc_missing_posix_timers): Remove.
19752
dd924cd7
RM
197532012-08-15 Roland McGrath <roland@hack.frob.com>
19754
4b4f2771
RM
19755 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
19756 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
19757
601c888b
RM
19758 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
19759
176790a7
RM
19760 * elf/dl-sym.c: Include <stdlib.h>.
19761
329bc018
RM
19762 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
19763 constants, which avoids warnings in 32-bit builds.
19764
e04e272d
RM
19765 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
19766 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
19767
952bf94a
RM
19768 * misc/lseek.c: File moved to ...
19769 * io/lseek.c: ... here.
19770
7c99b50a
RM
19771 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
19772
dd924cd7
RM
19773 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
19774 shifting LEN more than 31 bits at once.
19775
b3f479a8
LD
197762012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19777
19778 [BZ #14195]
8c4ae0d4
RM
19779 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
19780 segmentation fault for a case of two empty input strings.
b3f479a8
LD
19781 * string/test-strncasecmp.c (check1): Renamed to...
19782 (bz12205): ...this.
19783 (bz14195): Add new testcase for two empty input strings and N > 0.
19784 (test_main): Call new testcase, adapt for renamed function.
19785
9c55864e
AJ
197862012-08-15 Andreas Jaeger <aj@suse.de>
19787
19788 [BZ #14090]
19789 * crypt/md5test2.c: New test, based on test supplied by Serge
19790 Belyshev <belyshev@depni.sinp.msu.ru>.
19791 * crypt/Makefile (xtests): Add md5test-giant..
19792 * crypt/Makefile ($(objpfx)md5test-giant): Add.
19793
02dcb6c5
PE
197942012-08-15 Paul Eggert <eggert@cs.ucla.edu>
19795
19796 [BZ #14090]
19797 * crypt/md5.c (md5_process_block): Don't assume the buffer
19798 length is less than 2**32.
19799 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
19800 length is less than 2**64.
19801
a3f95dcc
RM
198022012-08-15 Roland McGrath <roland@hack.frob.com>
19803
be75d758
RM
19804 * string/str-two-way.h: Include <sys/param.h>.
19805 (MAX): Macro removed.
19806
7312ca90
RM
19807 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
19808 Move #define and #undef of memmove to just before and after
19809 including <string.h>.
19810
9a0a5486
RM
19811 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
19812 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
19813 and after including <string.h>. Move declarations of
19814 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
19815 to before #include "string/memmove.c".
19816
67cc348d
RM
19817 * include/dirent.h: Declare __getdirentries.
19818
a3f95dcc
RM
19819 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
19820 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
19821
ca98e171
MF
198222012-08-14 Mike Frysinger <vapier@gentoo.org>
19823
19824 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
19825 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
19826 * sysdeps/i386/configure: Regenerated.
19827 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
19828 STABS_CURRENT_FILE, and STABS_FUN.
19829 (END): Remove call to STABS_FUN_END.
19830 (STABS_CURRENT_FILE1): Delete.
19831 (STABS_CURRENT_FILE): Likewise.
19832 (STABS_FUN): Likewise.
19833 (STABS_FUN_END): Likewise.
19834 (STABS_FUN2): Likewise.
19835 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
19836 * sysdeps/x86_64/configure: Regenerated.
19837
5908bf46
RM
198382012-08-14 Roland McGrath <roland@hack.frob.com>
19839
19840 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 19841 * elf/dl-lookup.c: Likewise.
5908bf46 19842
f2c05b9e
JM
198432012-08-14 Joseph Myers <joseph@codesourcery.com>
19844
19845 * sysdeps/unix/sysv/linux/kernel-features.h
19846 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
19847 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
19848 unconditionally.
19849 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
19850 unconditionally.
19851 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
19852 condition on __ASSUME_CLONE_THREAD_FLAGS.
19853
e11f5155
AJ
198542012-08-14 Andreas Jaeger <aj@suse.de>
19855
19856 * sysdeps/i386/fpu/libm-test-ulps: Update.
19857
51a9ba86
MK
198582012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
19859
2fdd4f78
AJ
19860 * include/atomic.h (atomic_exchange_and_add): Split into ...
19861 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
19862 New atomic macros.
51a9ba86 19863
ba6cba9e
MT
198642012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
19865
19866 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19867
42443a47
JL
198682012-08-13 Jeff Law <law@redhat.com>
19869
19870 * manual/stdio.texi (snprintf): Clarify handling of the trailing
19871 null byte in the output string.
19872
121dce05
JM
198732012-08-10 Joseph Myers <joseph@codesourcery.com>
19874
19875 * sysdeps/unix/sysv/linux/kernel-features.h
19876 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
19877 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
19878 (__ASSUME_ARG_MAX_STACK_BASED): Define.
19879 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
19880 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
19881 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
19882 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
19883
bf51f568
JL
198842012-08-09 Jeff Law <law@redhat.com>
19885
19886 [BZ #13939]
19887 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
19888 When avoid_arena is set, don't retry in the that arena. Pick the
19889 next one, whatever it might be.
19890 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
19891 (arena_lock): Pass in new parameter to arena_get2.
19892 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
19893 arena_get2.
19894 (__libc_malloc): Unify retrying after main arena failure with
19895 __libc_memalign version.
19896 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
19897
f85fa270
L
198982012-08-09 H.J. Lu <hongjiu.lu@intel.com>
19899
19900 [BZ #14166]
19901 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
19902 to __redirect_strstr.
19903 (__strstr_sse42): Use typeof __redirect_strstr.
19904 (__strstr_ia32): Likewise.
19905 (__libc_strstr): New prototype.
19906 (strstr): Renamed to ...
19907 (__libc_strstr): This.
19908 (strstr): New strong alias of __libc_strstr.
19909 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
19910 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
19911 __redirect_time.
19912 Include <time.h>.
19913 (__libc_time): New prototype.
19914 (time_ifunc): Replace time with __libc_time.
19915 (time): New strong alias and hidden definition of __libc_time.
19916 (__GI_time): Remove strong alias.
19917 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
19918 Include <stddef.h>.
19919 (memmove): Redefined to __redirect_memmove.
19920 (__memmove_sse2): Use typeof __redirect_memmove.
19921 (__memmove_ssse3): Likewise.
19922 (__memmove_ssse3_back): Likewise.
19923 (__libc_memmove): New prototype.
19924 (memmove): Renamed to ...
19925 (__libc_memmove): This.
19926 (memmove): New strong alias of __libc_memmove.
19927
33b4a91e
MS
199282012-08-08 Mark Salter <msalter@redhat.com>
19929
19930 * elf/elf.h
19931 (R_MN10300_TLS_GD): Define.
19932 (R_MN10300_TLS_LD): Likewise.
19933 (R_MN10300_TLS_LDO): Likewise.
19934 (R_MN10300_TLS_GOTIE): Likewise.
19935 (R_MN10300_TLS_IE): Likewise.
19936 (R_MN10300_TLS_LE): Likewise.
19937 (R_MN10300_TLS_DTPMOD): Likewise.
19938 (R_MN10300_TLS_DTPOFF): Likewise.
19939 (R_MN10300_TLS_TPOFF): Likewise.
19940 (R_MN10300_SYM_DIFF): Likewise.
19941 (R_MN10300_ALIGN): Likewise.
19942 (R_MN10300_NUM): Update.
19943
b36137f1
JM
199442012-08-08 Joseph Myers <joseph@codesourcery.com>
19945
19946 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
19947 Remove.
19948
cdd915fd
RM
199492012-08-08 Roland McGrath <roland@hack.frob.com>
19950
a2433aac
RM
19951 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
19952
cdd915fd
RM
19953 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
19954 sysdeps/unix -> sysdeps/posix move.
19955 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
19956
bf9b740a
AM
199572012-08-07 Allan McRae <allan@archlinux.org>
19958
19959 [BZ #14303]
19960 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
19961 (SUNOS_CPP): Likewise.
19962 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
19963 not found.
19964 (open_input): Call CPP using execvp.
19965
93df14ee
JM
199662012-08-07 Joseph Myers <joseph@codesourcery.com>
19967
19968 * sysdeps/unix/sysv/linux/kernel-features.h
19969 (__ASSUME_PROT_GROWSUPDOWN): Remove.
19970 (__ASSUME_NO_CLONE_DETACHED): Likewise.
19971 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
19972 (__ASSUME_WAITID_SYSCALL): Likewise.
19973 * sysdeps/unix/sysv/linux/dl-execstack.c
19974 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
19975 code unconditional.
19976 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
19977 conditional code.
19978 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
19979 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
19980 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
19981 code.
19982 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
19983 unconditional.
19984 [__ASSUME_WAITID_SYSCALL]: Likewise.
19985 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
19986
d34689de
RM
199872012-08-07 Roland McGrath <roland@hack.frob.com>
19988
a281decc
RM
19989 * sysdeps/unix/closedir.c: Renamed to ...
19990 * sysdeps/posix/closedir.c: ... here.
19991 * sysdeps/unix/dirfd.c: Renamed to ...
19992 * sysdeps/posix/dirfd.c: ... here.
19993 * sysdeps/unix/dirstream.h: Renamed to ...
19994 * sysdeps/posix/dirstream.h: ... here.
19995 * sysdeps/unix/fdopendir.c: Renamed to ...
19996 * sysdeps/posix/fdopendir.c: ... here.
19997 * sysdeps/unix/opendir.c: Renamed to ...
19998 * sysdeps/posix/opendir.c: ... here.
19999 * sysdeps/unix/readdir.c: Renamed to ...
20000 * sysdeps/posix/readdir.c: ... here.
20001 * sysdeps/unix/readdir_r.c: Renamed to ...
20002 * sysdeps/posix/readdir_r.c: ... here.
20003 * sysdeps/unix/rewinddir.c: Renamed to ...
20004 * sysdeps/posix/rewinddir.c: ... here.
20005 * sysdeps/unix/seekdir.c: Renamed to ...
20006 * sysdeps/posix/seekdir.c: ... here.
20007 * sysdeps/unix/telldir.c: Renamed to ...
20008 * sysdeps/posix/telldir.c: ... here.
20009 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20010 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20011 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20012 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20013
22895b47
RM
20014 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20015 * bits/fcntl.h: ... here.
20016
707a53b6
RM
20017 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20018 not 0.
20019 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20020 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20021 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20022 (struct flock): Move l_start, l_len to the beginning.
20023 Use __pid_t for l_pid.
20024 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20025 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20026 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20027 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20028 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20029 [__USE_LARGEFILE64] (struct flock64): New type.
20030 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20031
f0bd3e25
RM
20032 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20033 * bits/dirent.h: ... here.
20034
d34689de
RM
20035 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20036 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20037
6dad2c06
JM
200382012-08-07 Joseph Myers <joseph@codesourcery.com>
20039
20040 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20041 Change from 2.6.0 to 2.6.16.
20042 * sysdeps/unix/sysv/linux/configure: Regenerated.
20043 * sysdeps/unix/sysv/linux/kernel-features.h
20044 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20045 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20046 version.
20047 (__ASSUME_UTIMES): Likewise.
20048 (__ASSUME_CLONE_STOPPED): Remove.
20049 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20050 architectures, not kernel version.
20051 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20052 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20053 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20054 (__ASSUME_WAITID_SYSCALL): Likewise.
20055 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20056 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20057 * README: State 2.6.16 as minimum Linux kernel version. Do not
20058 refer to older versions.
20059
03af9520
RM
200602012-08-06 Roland McGrath <roland@hack.frob.com>
20061
8e49df1d
RM
20062 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20063 Define alphasort64 as an alias.
20064 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20065 Define versionsort64 as an alias.
20066 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20067 Define scandir64 as an alias.
20068 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20069 Define scandirat64 as an alias.
20070 * dirent/alphasort64.c (alphasort64):
20071 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20072 * dirent/versionsort64.c: Likewise.
20073 * dirent/scandir64.c: Likewise.
20074 * dirent/scandirat64.c: Likewise.
20075 * sysdeps/wordsize-64/alphasort.c: File removed.
20076 * sysdeps/wordsize-64/alphasort64.c: File removed.
20077 * sysdeps/wordsize-64/scandir.c: File removed.
20078 * sysdeps/wordsize-64/scandir64.c: File removed.
20079 * sysdeps/wordsize-64/scandirat.c: File removed.
20080 * sysdeps/wordsize-64/scandirat64.c: File removed.
20081 * sysdeps/wordsize-64/versionsort.c: File removed.
20082 * sysdeps/wordsize-64/versionsort64.c: File removed.
20083 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20084 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20085 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20086 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20087 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20088 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20089 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20090 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20091
20092 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20094 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20096 [defined __arch64__ || defined __sparcv9]
20097 (__INO_T_MATCHES_INO64_T): New macro.
20098 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20099 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20100 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20101 * sysdeps/unix/sysv/linux/bits/dirent.h
20102 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20103 (_DIRENT_MATCHES_DIRENT64): New macro.
20104
03af9520
RM
20105 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20106 Define lockf64 as an alias.
20107 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20108 Define fseeko64 as an alias.
20109 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20110 Define ftello64 as an alias.
20111 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20112 Define _IO_fgetpos64 and fgetpos64 as aliases.
20113 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20114 Define _IO_fsetpos64 and fsetpos64 as aliases.
20115 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20116 Conditionalize body on this.
20117 * libio/fseeko64.c: Likewise.
20118 * libio/ftello64.c: Likewise.
20119 * libio/iofgetpos64.c: Likewise.
20120 * libio/iofsetpos64.c: Likewise.
20121 * sysdeps/wordsize-64/lockf.c: File removed.
20122 * sysdeps/wordsize-64/lockf64.c: File removed.
20123 * sysdeps/wordsize-64/fseeko.c: File removed.
20124 * sysdeps/wordsize-64/fseeko64.c: File removed.
20125 * sysdeps/wordsize-64/ftello.c: File removed.
20126 * sysdeps/wordsize-64/ftello64.c: File removed.
20127 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20128 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20129 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20130 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20131 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20132 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20133 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20134 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20135 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20136 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20137 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20138 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20139 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20140 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20141
20142 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20143 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20144 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20145 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20146 [defined __arch64__ || defined __sparcv9]
20147 (__OFF_T_MATCHES_OFF64_T): New macro.
20148 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20149 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20151 (__OFF_T_MATCHES_OFF64_T): New macro.
20152
c5757acd
L
201532012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20154
20155 * stdlib/secure-getenv.c (__secure_getenv): Replace
20156 GLIBC_2_16 with GLIBC_2_17.
20157
3a31811e
L
201582012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20159
20160 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20161 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20162
faa2bccb
DM
201632012-08-03 David S. Miller <davem@davemloft.net>
20164
20165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20166
85fe1997
JM
201672012-08-03 Joseph Myers <joseph@codesourcery.com>
20168
20169 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20170 Remove.
20171 (__ASSUME_CORRECT_SI_PID): Likewise.
20172 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20173 (__ASSUME_TMPFS_NAME): Likewise.
20174 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20175 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20176 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20177 (HAVE_AUX_SECURE): Make definition unconditional.
20178 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20179 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20180
4f75b7a0
RM
201812012-08-03 Roland McGrath <roland@hack.frob.com>
20182
20183 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20184 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20185 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20186 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20187 __eloop_threshold instead of SYMLOOP_MAX.
20188
20189 * sysdeps/generic/eloop-threshold.h: New file.
20190 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20191 of MAXSYMLINKS.
20192 * elf/chroot_canon.c (chroot_canon): Likewise.
20193
7aab07e4
JM
201942012-08-03 Joseph Myers <joseph@codesourcery.com>
20195
20196 [BZ #13717]
20197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20198 Change to 2.6.0 everywhere.
20199 * sysdeps/unix/sysv/linux/configure: Regenerated.
20200 * sysdeps/unix/sysv/linux/kernel-features.h
20201 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20202 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20203 kernel versions.
20204 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20205 (__ASSUME_FUTEX_REQUEUE): Remove.
20206 (__ASSUME_STATFS64): Define unconditionally.
20207 (__ASSUME_AT_SECURE): Likewise.
20208 (__ASSUME_CORRECT_SI_PID): Likewise.
20209 (__ASSUME_TGKILL): Define without depending on kernel version for
20210 i386.
20211 (__ASSUME_UTIMES): Likewise.
20212 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20213 kernel version.
20214 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20215 (__ASSUME_TMPFS_NAME): Likewise.
20216 * README: Update reference to Linux kernel versions.
20217
b67e9372
MP
202182012-08-02 Marek Polacek <polacek@redhat.com>
20219
1f529f7d 20220 [BZ# 14150]
b67e9372
MP
20221 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20222 libc_cv_asm_type_prefix with %.
20223 * configure: Regenerated.
d2441631
RM
20224 * include/libc-symbols.h: Remove comment about
20225 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
20226 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20227 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20228 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20229 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20230 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20231 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20232 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20233 * elf/tst-unique2mod1.c: Likewise.
20234 * elf/tst-unique1mod2.c: Likewise.
20235 * elf/tst-unique1mod1.c: Likewise.
20236 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20237 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20238 Replace ASM_TYPE_DIRECTIVE with .type.
20239 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20240 * sysdeps/i386/sysdep.h: Likewise.
20241 * sysdeps/x86_64/sysdep.h: Likewise.
20242 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
20243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20244 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 20245 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
20246 * sysdeps/powerpc/powerpc32/sysdep.h:
20247 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
20248 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20249 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20250 * sysdeps/i386/fpu/e_powf.S: Likewise.
20251 * sysdeps/i386/fpu/e_expl.S: Likewise.
20252 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20253 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20254 * sysdeps/i386/fpu/e_pow.S: Likewise.
20255 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20256 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20257 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20258 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20259 * sysdeps/i386/fpu/e_log2.S: Likewise.
20260 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20261 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20262 * sysdeps/i386/fpu/e_powl.S: Likewise.
20263 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20264 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20265 * sysdeps/i386/fpu/e_logl.S: Likewise.
20266 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20267 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20268 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20269 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20270 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20271 * sysdeps/i386/fpu/e_log.S: Likewise.
20272 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20273 * sysdeps/i386/fpu/e_logf.S: Likewise.
20274 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20275 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20276 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20277 * sysdeps/i386/fpu/e_log10.S: Likewise.
20278 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20279 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20280 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20281 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20282 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20283 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20284 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20285 * sysdeps/i386/i686/strtok.S: Likewise.
20286 * sysdeps/i386/i386-mcount.S: Likewise.
20287 * sysdeps/i386/strtok.S: Likewise.
20288 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20289 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20290 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20291 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20292 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20293 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20294 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20295 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20296 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20297 * sysdeps/x86_64/_mcount.S: Likewise.
20298 * sysdeps/x86_64/strtok.S: Likewise.
20299 * sysdeps/sh/_mcount.S: Likewise.
20300
2747bf9a
RM
203012012-08-01 Roland McGrath <roland@hack.frob.com>
20302
20303 * libio/iofopen.c: Include <fcntl.h>.
20304 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20305 (_IO_fopen64, fopen64): Define as aliases.
20306 * libio/iofopen64.c: Include <fcntl.h>.
20307 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20308 Conditionalize body on this.
20309 * sysdeps/wordsize-64/iofopen.c: File removed.
20310 * sysdeps/wordsize-64/iofopen64.c: File removed.
20311
3fb791b8
MP
203122012-08-01 Marek Polacek <polacek@redhat.com>
20313
20314 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20315 Use dlfcn directly instead of a variable.
20316 (binfmt-subdir): Do not define.
20317 (dlfcn): Likewise.
20318
a9f1039f
JM
203192012-08-01 Joseph Myers <joseph@codesourcery.com>
20320
23bddc06
JM
20321 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20322 Remove all definitions.
20323 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20324 <kernel-features.h>.
20325 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20326 (miss_F_GETOWN_EX): Remove all definitions.
20327 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20328 macro definition.
20329 [!__ASSUME_FCNTL64]: Remove conditional code.
20330 [__ASSUME_FCNTL64]: Make code unconditional.
20331 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20332 <kernel-features.h>.
20333 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20334 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20335 (lockf64) [__NR_fcntl64]: Make code unconditional.
20336 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20337
a9f1039f
JM
20338 * sysdeps/unix/sysv/linux/kernel-features.h
20339 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20340 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20341 Make code unconditional.
20342 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20343 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20345 [__NR_vfork]: Make code unconditional.
20346 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20347 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20349 [__NR_vfork]: Make code unconditional.
20350 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20351 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20352
09c0ee5f
RM
203532012-08-01 Roland McGrath <roland@hack.frob.com>
20354
48aec5b9
RM
20355 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20356 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20357
cd97c966
RM
20358 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20359 Define mkstemp64 as an alias.
3f55550c
RM
20360 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20361 Define mkstemps64 as an alias.
cd97c966
RM
20362 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20363 Define mkostemp64 as an alias.
b8625cfc
RM
20364 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20365 Define mkostemps64 as an alias.
cd97c966
RM
20366 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20367 Conditionalize body on this.
20368 * misc/mkostemp64.c: Likewise.
b8625cfc 20369 * misc/mkostemps64.c: Likewise.
3f55550c 20370 * misc/mkstemps64.c: Likewise.
cd97c966
RM
20371 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20372 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20373 * sysdeps/wordsize-64/mkostemp.c: File removed.
20374 * sysdeps/wordsize-64/mkstemp.c: File removed.
20375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20376 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20377 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20378 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20379
09c0ee5f
RM
20380 [BZ #14138]
20381 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20382 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20383 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20384 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20385
20386 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20387 compat_symbol macros from <shlib-compat.h> rather than the underlying
20388 default_symbol_version and symbol_version macros, so that DEFAULT
20389 lines in shlib-versions are respected.
20390 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20391
7e66ee51
FW
203922012-08-01 Florian Weimer <fweimer@redhat.com>
20393
20394 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20395 Declare with warn_unused_result.
20396 (setgid, setregid, setegid, setresgid): Likewise.
20397 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20398 Likewise.
20399 * WUR-REPORT: Remove set*id functions.
20400
d2a54255
PT
204012012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20402
20403 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20404
7ecdb005
RM
204052012-07-31 Roland McGrath <roland@hack.frob.com>
20406
b4180a5e 20407 [BZ #10191]
789bd351
RM
20408 * include/sys/socket.h (__libc_accept, __libc_accept4):
20409 Add attribute_hidden.
20410 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20411
40ce302d
RM
20412 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20413 use of PTR_MANGLE.
20414 * inet/getnetgrent_r.c (setup): Likewise.
20415
7ecdb005
RM
20416 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20417
e2eabb2c
DM
204182012-07-31 David S. Miller <davem@davemloft.net>
20419
20420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20421
d0419dbf
JM
204222012-07-31 Joseph Myers <joseph@codesourcery.com>
20423
20424 [BZ #13629]
20425 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20426 value between 1.0 and 2.0 and smaller part has absolute value less
20427 than 1.0.
20428 * math/s_clog10.c (__clog10): Likewise.
20429 * math/s_clog10f.c (__clog10f): Likewise.
20430 * math/s_clog10l.c (__clog10l): Likewise.
20431 * math/s_clogf.c (__clogf): Likewise.
20432 * math/s_clogl.c (__clogl): Likewise.
20433 * math/libm-test.inc (clog_test): Add more tests.
20434 (clog10_test): Likewise.
20435 * sysdeps/i386/fpu/libm-test-ulps: Update.
20436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20437
2bc13872
FW
204382012-07-31 Florian Weimer <fweimer@redhat.com>
20439
20440 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20441 Exit with zero in case no suitable GID is found, and write a
20442 message to standard error.
20443
bea9b193
RM
204442012-07-30 Roland McGrath <roland@hack.frob.com>
20445
20446 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20447 rather than to 1.
20448 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20449 (MAXPATHLEN): Removed.
20450 (NOGROUP, NODEV): New macros.
20451 (setbit, clrbit, isset, isclr): New macros.
20452 (howmany, roundup, powerof2): New macros.
20453 (DEV_BSIZE): New macro.
20454
20455 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20456 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20457
20458 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20459 definition on [!__NO_LONG_DOUBLE_MATH].
20460
20461 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20462 PTR_MANGLE and PTR_DEMANGLE.
20463
20464 * socket/accept4.c (accept4): Rename to __libc_accept4.
20465 Define accept4 as a weak alias.
20466
20467 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20468 on [_DIRENT_HAVE_D_TYPE].
20469 * io/ftw.c (ftw_dir): Likewise.
20470
20471 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20472
20473 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20474
20475 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20476 Use the BSD numbers rather than the arbitrary ones we had.
20477 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20478 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20479 (SIGXCPU, SIGXFSZ): New macros.
20480 (_NSIG): Now 32.
20481
20482 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20483 initializer on [_LIBC_REENTRANT].
20484
20485 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20486 definitions inside [_POSIX_MAPPED_FILES].
20487
20488 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20489
20490 * dirent/opendir.c: Include <fcntl.h>.
20491
20492 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20493 (__libc_getspecific): Likewise.
20494 (__libc_key_create): Likewise.
20495
20496 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20497 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20498 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20499 (tmpfile64): Define as alias.
20500 * sysdeps/wordsize-64/tmpfile.c: File removed.
20501 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20502 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20503 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20504
20505 * stdio-common/vfscanf.c: Include <stdbool.h>.
20506 * nss/makedb.c: Likewise.
20507 * stdio-common/_i18n_number.h: Likewise.
20508 * argp/argp-help.c: Likewise.
20509 * posix/wordexp.c: Likewise.
20510 * sysdeps/posix/spawni.c: Likewise.
20511 * nss/nss_files/files-initgroups.c: Likewise.
20512 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20513 * nss/nss_files/files-initgroups.c: Likewise.
20514 * nss/nss_db/db-netgrp.c: Likewise.
20515 * nss/nss_db/db-initgroups.c: Likewise.
20516 * io/fchmodat.c: Include <sys/stat.h>.
20517
20518 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20519 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20520
20521 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20522 [HAVE_MMAP].
20523
20524 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20525 Add multiple inclusion protection.
20526
e5abc686
DM
205272012-07-27 David S. Miller <davem@davemloft.net>
20528
20529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20530
815e6fa3
GB
205312012-07-27 Gary Benson <gbenson@redhat.com>
20532
20533 [BZ #14298]
20534 * elf/rtld.c: Include <stap-probe.h>.
20535 (dl_main): Added static probes "init_start" and "init_complete".
20536 * elf/dl-load.c: Include <stap-probe.h>.
20537 (lose): Take new parameter "nsid".
20538 Added static probe "map_failed".
20539 (_dl_map_object_from_fd): Pass namespace id to lose.
20540 Added static probe "map_start".
20541 (open_verify): Pass namespace id to lose.
20542 * elf/dl-open.c: Include <stap-probe.h>.
20543 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20544 and "reloc_complete".
20545 * elf/dl-close.c: Include <stap-probe.h>.
20546 (_dl_close_worker): Added static probes "unmap_start" and
20547 "unmap_complete".
20548 * elf/rtld-debugger-interface.txt: New file documenting the above.
20549
9f98c16c
RM
205502012-07-26 Roland McGrath <roland@hack.frob.com>
20551
20552 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20553 rather than a string variable.
20554 * sunrpc/rpc_main.c (h_output): Likewise.
20555 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20556
f3c22df3
PT
205572012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20558
20559 * inet/check_native.c: New file.
20560
3129cfc6
JM
205612012-07-26 Joseph Myers <joseph@codesourcery.com>
20562
da865e95
JM
20563 [BZ #13629]
20564 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20565 if larger part has absolute value 1.0.
20566 * math/s_clog10.c (__clog10): Likewise.
20567 * math/s_clog10f.c (__clog10f): Likewise.
20568 * math/s_clog10l.c (__clog10l): Likewise.
20569 * math/s_clogf.c (__clogf): Likewise.
20570 * math/s_clogl.c (__clogl): Likewise.
20571 * math/libm-test.inc (clog_test): Add more tests.
20572 (clog10_test): Likewise.
20573 * sysdeps/i386/fpu/libm-test-ulps: Update.
20574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20575
3129cfc6
JM
20576 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20577 (pltexit): Likewise.
20578 (La_regs): Likewise.
20579 (La_retval): Likewise.
20580 (int_retval): Likewise.
20581 Update #error for removed macros to refer only to definitions in
20582 tst-audit.h.
20583 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20584 macro.
20585 (pltexit): Likewise.
20586 (La_regs): Likewise.
20587 (La_retval): Likewise.
20588 (int_retval): Likewise.
20589 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20590 macro.
20591 (pltexit): Likewise.
20592 (La_regs): Likewise.
20593 (La_retval): Likewise.
20594 (int_retval): Likewise.
20595 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20596 macro.
20597 (pltexit): Likewise.
20598 (La_regs): Likewise.
20599 (La_retval): Likewise.
20600 (int_retval): Likewise.
20601 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20602 macro.
20603 (pltexit): Likewise.
20604 (La_regs): Likewise.
20605 (La_retval): Likewise.
20606 (int_retval): Likewise.
20607 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20608 macro.
20609 (pltexit): Likewise.
20610 (La_regs): Likewise.
20611 (La_retval): Likewise.
20612 (int_retval): Likewise.
20613 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20614 macro.
20615 (pltexit): Likewise.
20616 (La_regs): Likewise.
20617 (La_retval): Likewise.
20618 (int_retval): Likewise.
20619 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20620 macro definitions in tst-audit.h.
20621 * sysdeps/i386/tst-audit.h: New file.
20622 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20623 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20624 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20625 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20626 * sysdeps/sh/tst-audit.h: Likewise.
20627 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20628 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
20629 * sysdeps/x86_64/tst-audit.h: Likewise.
20630
bfc07087
AJ
206312012-07-26 Andreas Jaeger <aj@suse.de>
20632
b1b2aaf8
AJ
20633 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
20634 ptrace.
20635
20636 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
20637 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
20638 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
20639 PTRACE_O_MASK.
20640 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
20641 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
20642 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
20643
bfc07087
AJ
20644 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
20645 value.
20646
20647 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
20648 _sigsys.
20649 (si_call_addr, si_syscall, si_arch): Define new macro.
20650 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
20651 _sigsys.
20652 (si_call_addr, si_syscall, si_arch): Define new marcro.
20653 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
20654 _sigsys.
20655 (si_call_addr, si_syscall, si_arch): Define new macro.
20656 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
20657 _sigsys.
20658 (si_call_addr, si_syscall, si_arch): Define new macro.
20659
89b4b02f
JM
206602012-07-25 Joseph Myers <joseph@codesourcery.com>
20661
20662 [BZ #13717]
20663 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20664 Change to 2.4.21 where previously 2.4.1.
20665 * sysdeps/unix/sysv/linux/configure: Regenerated.
20666 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
20667 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
20668 Linux kernel version.
20669 (__ASSUME_STD_AUXV): Remove.
20670 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
20671 kernel version.
20672 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
20673 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
20674 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
20675 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
20676 (__ASSUME_NETLINK_SUPPORT): Likewise.
20677 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
20678 (__no_netlink_support): Remove conditional definition.
20679 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
20680 Remove.
20681 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20682 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
20683 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
20684 (if_nameindex_ioctl): Remove.
20685 (if_nameindex_netlink): Do not handle __no_netlink_support.
20686 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20687 code.
20688 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
20689 Remove conditional code.
20690 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
20691 code.
20692 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
20693 unconditional.
20694 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
20695 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
20696 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
20697 Remove.
20698 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
20699 [!__ASSUME_STD_AUXV]: Remove conditional code.
20700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
20701 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
20702 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
20703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
20704 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
20705 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20706 code.
20707 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20709 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
20710 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20711 conditional code.
20712 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
20713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20714 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
20715 code.
20716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20717 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
20718 conditional code.
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
20720 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20721 code unconditional.
20722 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20723 conditional code.
20724 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20725 unconditional.
20726 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20727 conditional code.
20728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20729 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20730 unconditional.
20731 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20732 conditional code.
20733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
20734 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20735 code unconditional.
20736 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20737 conditional code.
20738 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20739 unconditional.
20740 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20741 conditional code.
20742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
20743 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
20744 code unconditional.
20745 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20746 conditional code.
20747 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
20748 unconditional.
20749 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
20750 conditional code.
20751
842a39cd
AS
207522012-07-25 Andreas Schwab <schwab@linux-m68k.org>
20753
20754 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
20755 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
20756 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
20757 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
20758 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
20759 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
20760 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
20761 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
20762 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
20763 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20764 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
20765 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
20766 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
20767 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
20768 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
20769 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
20770 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20771 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
20772 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
20773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
20774 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
20775 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
20776 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20777
84b3fd84
FW
207782012-07-25 Florian Weimer <fweimer@redhat.com>
20779
20780 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
20781 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
20782 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
20783 Introduce __libc_secure_getenv.
0c7936d5
FW
20784 * stdlib/Versions (2.17): Add secure_getenv
20785 (GLIBC_PRIVATE): Add __libc_secure_getenv.
20786 * stdlib/secure-getenv.c: Rename __secure_getenv to
20787 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
20788 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
20789 * stdlib/tst-secure-getenv.c: New.
20790 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
20791 * manual/startup.texi (Environment Access): Document
20792 secure_getenv.
84b3fd84
FW
20793 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
20794 __libc_secure_getenv.
20795 * inet/ruserpass.c (ruserpass): Likewise.
20796 * malloc/mtrace.c (mtrace): Likewise.
20797 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 20798 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
20799 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
20800 * sysdeps/posix/tempname.c: Likewise. Evaluate
20801 HAVE_SECURE_GETENV.
20802 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 20803 __secure_getenv to __libc_secure_getenv.
84b3fd84 20804 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
20805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20806 Likewise.
20807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20808 Likewise.
20809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
20810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
20811 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
20813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
20814 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 20816
56e49b71
JM
208172012-07-25 Joseph Myers <joseph@codesourcery.com>
20818
20819 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
20820 (struct La_i86_retval): Likewise.
20821 (struct La_x86_64_regs): Likewise.
20822 (struct La_x86_64_retval): Likewise.
20823 (struct La_x32_regs): Likewise.
20824 (struct La_x32_retval): Likewise.
20825 (struct La_ppc32_regs): Likewise.
20826 (struct La_ppc32_retval): Likewise.
20827 (struct La_ppc64_regs): Likewise.
20828 (struct La_ppc64_retval): Likewise.
20829 (struct La_sh_regs): Likewise.
20830 (struct La_sh_retval): Likewise.
20831 (struct La_s390_32_regs): Likewise.
20832 (struct La_s390_32_retval): Likewise.
20833 (struct La_s390_64_regs): Likewise.
20834 (struct La_s390_64_retval): Likewise.
20835 (struct La_sparc32_regs): Likewise.
20836 (struct La_sparc32_retval): Likewise.
20837 (struct La_sparc64_regs): Likewise.
20838 (struct La_sparc64_retval): Likewise.
20839 (struct audit_ifaces): Remove architecture-specific pltenter and
20840 pltexit members.
20841 * sysdeps/i386/ldsodefs.h: New file.
20842 * sysdeps/powerpc/ldsodefs.h: Likewise.
20843 * sysdeps/s390/ldsodefs.h: Likewise.
20844 * sysdeps/sh/ldsodefs.h: Likewise.
20845 * sysdeps/sparc/ldsodefs.h: Likewise.
20846 * sysdeps/x86_64/ldsodefs.h: Likewise.
20847
354691b7
MP
208482012-07-25 Marek Polacek <polacek@redhat.com>
20849
20850 [BZ #6808]
20851 * math/libm-test.inc (yn_test): Add another test.
20852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
20853 to ERANGE when the result is +-Inf.
20854 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20855 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
20856 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
20857 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
20858
bf9e2071
JM
208592012-07-24 Joseph Myers <joseph@codesourcery.com>
20860
20861 * conform/data/time.h-data (NULL): Use macro-constant. Require
20862 equal to 0.
20863 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
20864 clock_t.
20865 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
20866
57633811
TS
208672012-07-23 Thomas Schwinge <thomas@codesourcery.com>
20868
20869 * configure.in <sysdeps resolving>: Correct printing
20870 Implies_before.
20871 * configure: Regenerate.
20872
c23c33b0
TS
208732012-07-22 Thomas Schwinge <thomas@codesourcery.com>
20874
20875 * math/w_ilogb.c: Include <limits.h>.
20876 * math/w_ilogbl.c: Likewise.
20877
b5982523
JM
208782012-07-20 Joseph Myers <joseph@codesourcery.com>
20879
20880 * manual/lang.texi (__va_copy): Document primarily as ISO C99
20881 va_copy. Document allowing for unavailable va_copy only as
20882 pre-C99 compatibility.
20883 * manual/string.texi (Copying and Concatenation): Use va_copy
20884 instead of __va_copy in concat example.
20885
ac4ea442
PT
208862012-07-20 Pino Toscano <toscano.pino@tiscali.it>
20887
20888 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
20889 (__sendto): Use create_address_port. Initialize APORT and deallocate
20890 it if not null.
20891
f98eafbd
PT
20892 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
20893 with O_NOLINK passed to __file_name_lookup.
20894
898c7aab
PT
20895 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
20896 with O_NOLINK passed to __file_name_lookup.
20897
0ced335a
PT
20898 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
20899 negative N or less than NGIDS.
20900
b3404dbd
PT
20901 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
20902 type to string_t. Set ERANGE as errno and return it if NAME is not big
20903 enough. Use memcpy instead of strncpy.
20904
0f48659e
JM
209052012-07-20 Joseph Myers <joseph@codesourcery.com>
20906
20907 * elf/Makefile (check-data): Remove.
20908 (localplt.data): New vpath directive.
20909 ($(objpfx)check-localplt.out): Use localplt.data from vpath
20910 instead of $(check-data).
20911 * scripts/data/localplt-generic.data: Move to ...
20912 * sysdeps/generic/localplt.data: ... here.
20913 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
20914 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
20915 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
20916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
20917 ... here.
20918 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
20919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20920 ... here.
20921 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
20922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
20923 ... here.
20924 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
20925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
20926 ... here.
20927 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
20928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
20929 ... here.
20930 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
20931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
20932 ... here.
20933
d37cbdaa
AZ
209342012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20935
20936 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
20937 PPC32 and PPC64 files.
20938 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
20939 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
20940
46f85fc2
AK
209412012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20942
20943 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
20944 __makecontext_ret to ...
20945 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
20946 ... here and call exit if uc_link is NULL. New file.
20947 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
20948 __makecontext_ret.S.
20949 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
20950 __makecontext_ret to ...
20951 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
20952 ... here and call exit if uc_link is NULL. New file.
20953 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
20954 __makecontext_ret.S.
20955
08f43f9b
AK
209562012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20957
20958 * elf/elf.h (R_390_IRELATIVE): New definition.
20959 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
20960 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
20961 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
20962 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
20963 (elf_machine_lazy_rel): Likewise.
20964 * sysdeps/s390/dl-irel.h: New file.
20965 * sysdeps/s390/s390-64/memcpy.S: New asm code.
20966 * sysdeps/s390/s390-64/memset.S: New asm code.
20967 * sysdeps/s390/s390-64/memcmp.S: New asm code.
20968 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
20969 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
20970 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
20971 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
20972 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
20973 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
20974 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
20975 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
20976 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
20977 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
20978 * sysdeps/s390/s390-32/memcpy.S: New asm code.
20979 * sysdeps/s390/s390-32/memset.S: New asm code.
20980 * sysdeps/s390/s390-32/memcmp.S: New asm code.
20981
3b05db33
MP
209822012-07-17 Marek Polacek <polacek@redhat.com>
20983
20984 [BZ #14349]
20985 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
20986 * sysdeps/s390/s390-64/configure.in: Likewise.
20987 * sysdeps/sparc/configure.in: Likewise.
20988 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
20989 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
20990 * sysdeps/i386/configure.in: Likewise.
20991 * sysdeps/x86_64/configure.in: Likewise.
20992 * sysdeps/sh/configure.in: Likewise.
20993 * sysdeps/s390/s390-32/configure: Regenerated.
20994 * sysdeps/s390/s390-64/configure: Likewise.
20995 * sysdeps/x86_64/configure: Likewise.
20996 * sysdeps/sh/configure: Likewise.
20997 * sysdeps/powerpc/powerpc64/configure: Likewise.
20998 * sysdeps/powerpc/powerpc32/configure: Likewise.
20999 * sysdeps/sparc/configure: Likwise.
21000 * sysdeps/i386/configure: Likewise.
21001
a66877c6
MP
21002 * elf/dl-open.c: Comment fixes.
21003
cfc82fd8
JM
210042012-07-17 Joseph Myers <joseph@codesourcery.com>
21005
bd29910a
JM
21006 * Makefile [CXX] (check-data): Remove.
21007 [CXX] (c++-types.data): New vpath directive.
21008 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21009 vpath. Do not allow for C++ type data being missing.
21010 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21011 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21012 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21013 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21014 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21015 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21016 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21018 ... here.
21019 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21021 ... here.
21022 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21024 ... here.
21025 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21027 ... here.
21028 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21030 ... here.
21031 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21033 ... here.
21034 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21036 ... here.
21037 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21039
cfc82fd8
JM
21040 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21041 definitions to architecture-specific files.
21042 (TLS_IE): Likewise.
21043 (TLS_LD): Likewise.
21044 (TLS_GD): Likewise.
21045 * sysdeps/i386/tls-macros.h: New file.
21046 * sysdeps/powerpc/tls-macros.h: Likewise.
21047 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21048 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21049 * sysdeps/sh/tls-macros.h: Likewise.
21050 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21051 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21052 * sysdeps/x86_64/tls-macros.h: Likewise.
21053
f7db3170
TS
210542012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21055
07cbfc23
TS
21056 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21057 zero value for regular exit case.
21058
f7db3170
TS
21059 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21060 (__start_context): Preserve zero value for regular exit case.
21061
dc97c227
TS
210622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21063 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21064
21065 * manual/setjmp.texi (setcontext): Clarify normal process
21066 termination when uc_link is the null pointer.
21067 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21068 exit call.
21069
d0cd7d02
AS
210702012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21071
21072 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21073 preprocessor. Test for each exception mask separately.
21074
dd318934
AJ
210752012-07-16 Andreas Jaeger <aj@suse.de>
21076
21077 * po/ru.po: Update from translation team.
21078
8048311a
JM
210792012-07-15 Joseph Myers <joseph@codesourcery.com>
21080
21081 * conform/data/string.h-data (NULL): Use macro-constant. Require
21082 equal to 0.
21083 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21084 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21085 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21086 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21087 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21088
b637d46e
AJ
210892012-07-13 Andreas Jaeger <aj@suse.de>
21090
21091 * po/fr.po: Update from translation team.
21092
541428fe
MP
210932012-07-12 Marek Polacek <polacek@redhat.com>
21094
21095 [BZ #14173]
21096 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21097 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21098 loop condition.
21099
ec332e94
JM
211002012-07-12 Joseph Myers <joseph@codesourcery.com>
21101
21102 [BZ #13717]
21103 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21104 Change to 2.4.1 where previously 2.4.0.
21105 * sysdeps/unix/sysv/linux/configure: Regenerated.
21106 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21107 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21108 version.
21109 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21110 (__ASSUME_AT_CLKTCK): Remove.
21111 (__ASSUME_AT_PAGESIZE): Likewise.
21112 (__ASSUME_AT_XID): Likewise.
21113 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21114 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21115 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21116 unconditionally.
21117 (HAVE_AUX_PAGESIZE): Likewise.
21118 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21119 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21120 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21121
7b6e99be
JB
211222012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21123
21124 [BZ #14307]
21125 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21126 the temporary buffer used to invoke __gethostbyname2_r,
21127 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21128 host_data / struct gaih_addrtuple.
21129 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21130 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21131 header file nss/nsswitch.h.
21132 * nss/nsswitch.h (global scope): Add definition of implementation
21133 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21134 resolv/nss_dns/dns-host.c).
21135
608404eb
AJ
211362012-07-11 Andreas Jaeger <aj@suse.de>
21137
21138 * po/fr.po: Update from translation team.
21139
71220aca
AJ
21140 * po/sv.po: Update from translation team
21141 * po/fr.po: Another update from translation team.
21142
28cfe843
AZ
211432012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21144
21145 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21146 for subnormals or multiply small sinh result by itself.
21147 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21149
6b90f981
DM
211502012-07-11 David S. Miller <davem@davemloft.net>
21151
21152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21153
c6825772
AS
211542012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21155
21156 [BZ #14347]
21157 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21158 (INTERNAL_MARK): Shift it here.
21159
7b8e0d49
MP
211602012-07-10 Marek Polacek <polacek@redhat.com>
21161
21162 [BZ #14151]
21163 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21164 libc_cv_asm_global_directive with .globl.
21165 * configure: Regenerated.
21166 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21167 with .globl.
21168 * sysdeps/i386/configure: Regenerated.
21169 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21170 with .globl.
21171 * sysdeps/x86_64/configure: Regenerated.
21172 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21173 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21174 * elf/tst-unique2mod2.c: Likewise.
21175 * elf/tst-unique2mod1.c: Likewise.
21176 * elf/tst-unique1mod2.c: Likewise.
21177 * elf/tst-unique1mod1.c: Likewise.
21178 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21179 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21181 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21182 * sysdeps/mach/sysdep.h: Likewise.
21183 * sysdeps/i386/sysdep.h: Likewise.
21184 * sysdeps/i386/i386-mcount.S: Likewise.
21185 * sysdeps/x86_64/_mcount.S: Likewise.
21186 * sysdeps/x86_64/sysdep.h: Likewise.
21187 * sysdeps/sh/_mcount.S: Likewise.
21188 * sysdeps/sh/sysdep.h: Likewise.
21189 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21190 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21191 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21192 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21193 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21194 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21195 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21196 * locale/localeinfo.h: Likewise.
21197 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21198 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21199
6c55cda3
RM
212002012-07-09 Roland McGrath <roland@hack.frob.com>
21201
21202 [BZ #14336]
21203 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21204 system".
21205 * manual/message.texi (The Uniforum approach): Likewise.
21206 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21207 (glibc iconv Implementation): Likewise.
21208
638a572e
JM
212092012-07-09 Joseph Myers <joseph@codesourcery.com>
21210
21211 [BZ #14337]
21212 * math/s_clog.c (__clog): Avoid scaling a value down where that
21213 could result in underflow.
21214 * math/s_clog10.c (__clog10): Likewise.
21215 * math/s_clog10f.c (__clog10f): Likewise.
21216 * math/s_clog10l.c (__clog10l): Likewise.
21217 * math/s_clogf.c (__clogf): Likewise.
21218 * math/s_clogl.c (__clogl): Likewise.
21219 * math/libm-test.inc (clog_test): Add more tests.
21220 (clog10_test): Likewise.
21221 * sysdeps/i386/fpu/libm-test-ulps: Update.
21222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21223
261f4859
AS
212242012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21225
0abaf3e4
AS
21226 [BZ #14283]
21227 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21228 by 7 not 8 to examine high bit of fractional part.
21229
261f4859
AS
21230 [BZ #14042]
21231 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21232 for call to __mcount_internal.
21233 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21234 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21235 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21236
f17ac40d
JM
212372012-07-06 Joseph Myers <joseph@codesourcery.com>
21238
9ad63c23
JM
21239 [BZ #14154]
21240 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21241 approximation for values within 0x1p-13f of an odd multiple of
21242 pi/4.
21243 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21244 exception. Add more tests.
21245 * sysdeps/i386/fpu/libm-test-ulps: Update.
21246
f17ac40d
JM
21247 [BZ #6778]
21248 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21249 inputs and return -1 for them. Do not check for +Inf in case not
21250 reachable for +Inf.
21251 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21252 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21253 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21254 and return -1 for them. Do not check for +Inf in case not
21255 reachable for +Inf.
21256 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21257 define.
21258 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21259 and return -1 for them. Do not check for +Inf in case not
21260 reachable for +Inf.
21261 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21262 spurious underflow.
21263 * sysdeps/i386/fpu/libm-test-ulps: Update.
21264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21265
fb21f89b
MF
212662012-07-06 Mike Frysinger <vapier@gentoo.org>
21267
21268 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21269
cdfe2c5e
JM
212702012-07-05 Joseph Myers <joseph@codesourcery.com>
21271
21272 [BZ #14157]
21273 [BZ #14331]
21274 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21275 could result in spurious underflow. Scale down values above
21276 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21277 * math/s_csqrtf.c (__csqrtf): Likewise.
21278 * math/s_csqrtl.c (__csqrtl): Likewise.
21279 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21280 spurious underflow.
21281 * sysdeps/i386/fpu/libm-test-ulps: Update.
21282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21283
70d35b67
AS
212842012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21285
704bc459
AS
21286 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21287 xopen-msg.sed.
21288 * catgets/xopen-msg.awk: New file.
21289 * catgets/xopen-msg.sed: Removed.
21290
70d35b67
AS
21291 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21292 po2text.sed.
21293 * intl/po2test.awk: New file.
21294 * intl/po2test.sed: Removed.
21295
ca61cf32
JM
212962012-07-04 Joseph Myers <joseph@codesourcery.com>
21297
21298 [BZ #14328]
21299 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21300 or multiply small sinh result by itself.
21301 * math/s_ctanf.c (__ctanf): Likewise.
21302 * math/s_ctanh.c (__ctanh): Likewise.
21303 * math/s_ctanhf.c (__ctanhf): Likewise.
21304 * math/s_ctanhl.c (__ctanhl): Likewise.
21305 * math/s_ctanl.c (__ctanl): Likewise.
21306 * math/libm-test.inc (ctan_test_tonearest): New function.
21307 (ctan_test_towardzero): Likewise.
21308 (ctan_test_downward): Likewise.
21309 (ctan_test_upward): Likewise.
21310 (ctanh_test_tonearest): Likewise.
21311 (ctanh_test_towardzero): Likewise.
21312 (ctanh_test_downward): Likewise.
21313 (ctanh_test_upward): Likewise.
21314 (main): Call these new functions.
21315 * sysdeps/i386/fpu/libm-test-ulps: Update.
21316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21317
ca48a46a
MF
213182012-07-03 Mike Frysinger <vapier@gentoo.org>
21319
21320 * .gitignore: Delete /ports entry.
21321
9d63d37d
AJ
213222012-07-03 Andreas Jaeger <aj@suse.de>
21323
21324 * po/bg.po: Update from translation team.
21325 * po/cs.po: Likewise.
21326 * po/de.po: Likewise.
21327 * po/hr.po: Likewise.
21328 * po/nl.pl: Likewise.
21329 * po/pl.po: Likewise.
21330 * po/vi.po: Likewise.
21331
370ca3d2
JM
213322012-07-03 Joseph Myers <joseph@codesourcery.com>
21333
95f5a9a8
JM
21334 * Makeconfig [!+link] (+link-before-libc): New variable.
21335 [!+link] (+link-after-libc): Likewise.
21336 [!+link] (+link-tests): Likewise.
21337 [!+link] (+link): Define in terms of $(+link-before-libc) and
21338 $(+link-after-libc).
21339 [!+link-static] (+link-static-before-libc): New variable.
21340 [!+link-static] (+link-static-after-libc): Likewise.
21341 [!+link-static] (+link-static-tests): Likewise.
21342 [!+link-static] (+link-static): Define in terms of
21343 $(+link-static-before-libc) and $(+link-static-after-libc).
21344 [build-shared] (link-libc-before-gnulib): New variable.
21345 [build-shared] (link-libc-tests): Likewise.
21346 [build-shared] (link-libc): Define in terms of
21347 $(link-libc-before-gnulib).
21348 [!build-shared] (link-libc-tests): New variable.
21349 (link-libc-static-tests): New variable.
21350 [!gnulib] (gnulib-arch): New variable.
21351 [!gnulib] (gnulib-tests): Likewise.
21352 [!gnulib] (static-gnulib-arch): Likewise.
21353 [!gnulib] (static-gnulib-tests): Likewise.
21354 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21355 Define with "=" instead of ":=".
21356 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21357 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21358 * Rules (binaries-all-notests): New variable.
21359 (binaries-all-tests): Likewise.
21360 (binaries-static-notests): Likewise.
21361 (binaries-static-tests): Likewise.
21362 (binaries-all): Define using $(binaries-all-notests) and
21363 $(binaries-all-tests).
21364 (binaries-static): Define using $(binaries-static-notests) and
21365 $(binaries-static-tests).
21366 (binaries-shared-tests): New variable.
21367 (binaries-shared-notests): Likewise.
21368 (binaries-shared): Remove variable.
21369 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21370 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21371 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21372 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21373 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21374 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21375 * elf/Makefile (sln-modules): New variable.
21376 (extra-objs): Add $(sln-modules:=.o).
21377 (ldconfig-modules): Add static-stubs.
21378 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21379 * elf/static-stubs.c: New file.
21380
7a845b2c
JM
21381 [BZ #14283]
21382 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21383 by 7 not 8 to examine high bit of fractional part. Use volatile
21384 variables when splitting into final array of floats if
21385 __FLT_EVAL_METHOD__ != 0.
21386 * math/libm-test.inc (cos_test): Add another test.
21387 (sin_test): Likewise.
21388 * sysdeps/i386/fpu/libm-test-ulps: Update.
21389
e2283f38
JM
21390 [BZ #14273]
21391 * math/libm-test.inc (cosh_test): Add more tests.
21392
370ca3d2
JM
21393 * version.h (RELEASE): Set to "development".
21394 (VERSION): Set to "2.16.90".
21395
ee9247c3
CD
213962012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21397
21398 * NEWS: Update copyright. Remove last-updated date.
21399 Mention math library bug fixes and timezone data changes.
21400 * README: Mention GNU/Hurd, x32, and HPPA support status.
21401
4648c381
TS
214022012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21403
21404 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21405
aac78a43
AJ
214062012-06-27 Andreas Jaeger <aj@suse.de>
21407
21408 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21409
ed3dbfad
AJ
214102012-06-25 Andreas Jaeger <aj@suse.de>
21411
21412 * sysdeps/s390/fpu/libm-test-ulps: Update.
21413
4d0ee855
AS
214142012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21415 Thomas Schwinge <thomas@codesourcery.com>
21416
21417 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21418 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21419 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21420 fanotify_mark.
21421
af1bce34
TS
214222012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21423
a9fa33ba
TS
21424 * sysdeps/mach/start.c: Remove file.
21425 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21426 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21427 * sysdeps/sh/init-first.c: Likewise.
21428
58f902b8
TS
21429 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21430 registers for frame unwinding purposes, add CFI directives.
21431 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21432 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21433 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21434 Likewise.
21435
1518f58b
TS
21436 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21437 __fortify_fail returning.
21438 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21439
db9b5059
TS
21440 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21441 sysdeps/sh/____longjmp_chk.S.
21442 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21443 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21444 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21445 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21446
967705fe
TS
21447 * sysdeps/sh/abort-instr.h: New file.
21448 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21449 process in case exit returns.
21450
a9def8c4
TS
21451 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21452 initialize the GOT register before use.
21453
2a649725
TS
21454 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21455 calculation of ARGC > 4.
21456
af1bce34
TS
21457 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21458 meaningful names to some local labels.
21459
d230f50a
KK
214602012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21461 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21462
21463 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21464 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21465 (__arch_compare_and_exchange_val_16_acq): Likewise.
21466 (__arch_compare_and_exchange_val_32_acq): Likewise.
21467 (atomic_exchange_and_add): Fix gUSA sequence.
21468 (atomic_add): Likewise.
21469 (atomic_add_negative): Likewise.
21470 (atomic_add_zero): Likewise.
21471 (atomic_bit_test_set): Likewise.
21472
0479b305
AS
214732012-06-22 Andreas Schwab <schwab@redhat.com>
21474
21475 [BZ #13579]
21476 * include/link.h (struct link_map): Add l_free_initfini.
21477 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21478 l_initfini.
21479 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21480 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21481 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21482 set.
21483
0e3933b9
CD
214842012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21485
21486 * configure.in: Use AC_LANG_SOURCE.
21487 * configure: Regenerate.
21488
4248b1b1
RM
214892012-06-22 Roland McGrath <roland@hack.frob.com>
21490
21491 * configure.in (libc_cv_localstatedir): New substituted variable.
21492 * configure: Regenerated.
21493 * config.make.in (localstatedir): New variable, substituted from
21494 libc_cv_localstatedir.
21495 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21496 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21497 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21498 * sysdeps/gnu/configure: Regenerated.
21499
006dd861
JL
215002012-06-21 Jeff Law <law@redhat.com>
21501
21502 [BZ #14277]
21503 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21504 free. Simplify list management for _LIBC case.
21505
79662d42
JM
215062012-06-21 Joseph Myers <joseph@codesourcery.com>
21507
b7abb4bf
JM
21508 [BZ #14273]
21509 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21510 Clear sign bit of 64-bit integer value before comparing against
21511 overflow value.
21512
79662d42
JM
21513 * sysdeps/mach/configure: Regenerated.
21514
1f150908
L
215152012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21516
21517 [BZ #14278]
21518 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21519
28363bbf
JL
215202012-06-21 Jeff Law <law@redhat.com>
21521
21522 [BZ #13882]
21523 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21524 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 21525 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
21526 * elf/dl-open.c (dl_open_worker): Likewise.
21527
09615db4
CD
215282012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21529
21530 * scripts/list-sources.sh: Scan PORTS for translations.
21531 * po/libc.pot: Regenerated.
21532
2174c6dd
AJ
215332012-06-21 Andreas Jaeger <aj@suse.de>
21534
21535 [BZ #12194]
21536 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21537 warning.
21538 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21539 * bits/byteswap-16.h (__bswap_16): Likewise.
21540 * bits/byteswap.h (__bswap_constant_16): Likewise.
21541
3ee947b1
L
215422012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21543
21544 [BZ #14117]
a2f34833
L
21545 * sysdeps/i386/fpu_control.h: Removed.
21546 * sysdeps/x86_64/fpu_control.h: Moved to ...
21547 * sysdeps/x86/fpu_control.h: Here.
21548
3ee947b1
L
21549 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21550 (_FPU_SETCW): Likewise.
21551
ed1825f8
L
215522012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21553
25f1282a
L
21554 [BZ #14117]
21555 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21556 * sysdeps/x86/fpu/bits/mathinline.h: This.
21557 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21558
ed1825f8
L
21559 [BZ #14050]
21560 [BZ #14117]
21561 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21562 functions if __x86_64__ is defined.
21563
36d54b74
CLT
215642012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21565
21566 * string/endian.h: Add !__ASSEMBLER__ condition for including
21567 conversion interfaces.
21568
10285c21
JM
215692012-06-15 Joseph Myers <joseph@codesourcery.com>
21570
21571 [BZ #14241]
21572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21573 of ABS(x) in calculating zero to negative powers other than odd
21574 integers.
21575 * math/libm-test.inc (pow_test): Add more tests.
21576
06c5abbd
AJ
215772012-06-15 Andreas Jaeger <aj@suse.de>
21578
21579 * manual/contrib.texi (Contributors): Update entry of Liubov
21580 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21581 Machado Filho.
21582
a3aeac40
CH
215832012-06-15 Cyril Hrubis <metan@ucw.cz>
21584
21585 * string/string.h: Add __wur to GNU version of strerror_r.
21586
49bdf4c1
L
215872012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21588
21589 [BZ #14229]
21590 * string/Makefile (tests): Add tst-strtok_r.
21591 * string/tst-strtok_r.c: New file.
21592 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21593 RAX_LP/RDX_LP on SAVE_PTR.
21594
834f9b8d
RM
215952012-06-14 Roland McGrath <roland@hack.frob.com>
21596
21597 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21598
75fa1921
JM
215992012-06-14 Joseph Myers <joseph@codesourcery.com>
21600
21601 * libm_test.inc (csqrt_test): Allow more spurious underflow
21602 exceptions.
21603 (j0_test): Likewise.
21604 (j1_test): Likewise.
21605 (y0_test): Likewise.
21606 (y1_test): Likewise.
21607
771766df
CD
216082012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21609
21610 * po/Makefile (libc.pot): Use UTF-8 charset.
21611
ceb9e56b
PP
216122012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21613
21614 [BZ #14210]
21615 Suppress sign-conversion warning from FD_SET.
21616 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21617 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21618 not unsigned long int.
21619 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21620
ddb28975
L
216212012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21622
21623 [BZ #14050]
21624 [BZ #14117]
21625 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21626 __extern_always_inline instead of __extern_inline.
21627 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21628 (__signbit): Likewise.
21629 (__signbitl): Support C++ namespace.
21630 (lrintf): New inline function.
21631 (lrint): Likewise.
21632 (llrintf): Likewise.
21633 (llrint): Likewise.
21634 (fmaxf): Likewise.
21635 (fmax): Likewise.
21636 (fminf): Likewise.
21637 (fmin): Likewise.
21638 (rint): Likewise.
21639 (rintf): Likewise.
21640 (ceil): Likewise.
21641 (ceilf): Likewise.
21642 (floor): Likewise.
21643 (floorf): Likewise.
21644 (nearbyint): Likewise.
21645 (nearbyintf): Likewise.
21646
d7b4fb26
TS
216472012-06-12 Thomas Schwinge <thomas@codesourcery.com>
21648
21649 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
21650 non-default versions.
21651
eb55f5c2
RM
216522012-06-11 Roland McGrath <roland@hack.frob.com>
21653
21654 [BZ #14218]
21655 * manual/argp.texi (Argp): Reword argp_parse description slightly.
21656
366af02c
TS
216572012-06-09 Thomas Schwinge <thomas@codesourcery.com>
21658
99ff6e5c
TS
21659 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
21660 (FE_UPWARD, FE_DOWNWARD): Don't define.
21661 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
21662 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21663
366af02c
TS
21664 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
21665 reading it.
21666 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21667 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21668
793ea851
KK
216692012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21670
21671 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21672 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
21673 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
21674 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
21675
a728a38f
L
216762012-06-06 H.J. Lu <hongjiu.lu@intel.com>
21677
21678 [BZ #14117]
c08010c7
L
21679 * sysdeps/i386/fpu/bits/fenv.h: Removed.
21680 * sysdeps/i386/fpu/Implies: New file.
21681 * sysdeps/x86_64/fpu/Implies: Likewise.
21682 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
21683 * sysdeps/x86/fpu/bits/fenv.h: This.
21684
a728a38f
L
21685 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
21686 __SSE_MATH__.
21687
6e230d11
SP
216882012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21689
21690 [BZ #14134]
21691 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
21692 character 0xffff that matches the last element of the
21693 conversion table.
21694
1b671feb
AZ
216952012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21696
21697 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
21698 fmodl commit.
21699
6043738b
AZ
217002012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21701
21702 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
21703 values higher than 25.6283.
21704
34ae0b32
AZ
217052012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21706
21707 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
21708 subnormal exponent extraction and add some __builtin_expect.
21709 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
21710 Fix for subnormal mantissa calculation.
21711
1214ec8f
MF
217122012-06-04 Mike Frysinger <vapier@gentoo.org>
21713
21714 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
21715 cpu2 is -1 and errno is not ENOSYS.
21716
f3d1f93c
L
217172012-06-04 H.J. Lu <hongjiu.lu@intel.com>
21718
21719 [BZ #14117]
0e4a3cd7
L
21720 * sysdeps/i386/i486/bits/string.h: Renamed to ...
21721 * sysdeps/x86/bits/string.h: This.
21722 * sysdeps/x86_64/bits/string.h: Removed.
21723
6704c645
L
21724 * sysdeps/i386/i486/bits/string.h: Define inline functions only
21725 if not compiling for x86-64, but compiling for >= i486.
21726
48495318
L
21727 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
21728 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
21729
14adcbfc
L
21730 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
21731 New macro from Linux kernel 3.4.0.
21732 (FP_XSTATE_MAGIC2): Likewise.
21733 (FP_XSTATE_MAGIC2_SIZE): Likewise.
21734 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
21735 (struct _fpx_sw_bytes): New struct.
21736 (struct _xsave_hdr): Likewise.
21737 (struct _ymmh_state): Likewise.
21738 (struct _xstate): Likewise.
21739
68e408ab
L
21740 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
21741 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
21742 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
21743 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
21744 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
21745 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
21746
f3d1f93c
L
21747 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
21748 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
21749 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
21750 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
21751 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
21752 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
21753
d9dc34cd
TMQMF
217542012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21755
21756 [BZ #13743]
21757 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
21758 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
21759 (sysdep_headers): Include sys/platform/ppc.h.
21760 * sysdeps/powerpc/test-gettimebase.c: Test for
21761 __ppc_get_timebase() to catch future ISA opcode/insn changes.
21762 * manual/Makefile (appendices): Include platform.texi.
21763 * manual/contrib.texi (Contributors): Update @node pointers.
21764 * manual/maint.texi (Maintenance): Likewise.
21765 (Platform): New node.
21766 * manual/platform.texi: New file. Document the new features.
21767
4af3879c
SP
217682012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21769 Jakub Jelinek <jakub@redhat.com>
21770
21771 [BZ #14188]
21772 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
21773 where __builtin_expect is unavailable.
21774
2fd6ff13
DM
217752012-06-03 David S. Miller <davem@davemloft.net>
21776
21777 * stdlib/longlong.h: Updated from GCC.
21778
173f7220
AS
217792012-06-02 Andreas Schwab <schwab@linux-m68k.org>
21780
21781 [BZ #14042]
21782 * sysdeps/powerpc/powerpc32/mcount.c: New file.
21783 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
21784 __mcount_internal.
21785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
21786 (GLIBC_2.16): Likewise.
21787
f34a1c6f
L
217882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21789
21790 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
21791
88a4576f
JM
217922012-06-01 Joseph Myers <joseph@codesourcery.com>
21793
ea32bcdd
JM
21794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
21795 (default-abi): New variable.
21796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
21797 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
21798 variable.
21799 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
21800 Likewise.
21801 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
21802 Likewise.
21803 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
21804 Likewise.
21805
88a4576f
JM
21806 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
21807 definition. Document in comment.
21808
402fe938
DM
218092012-06-01 David S. Miller <davem@davemloft.net>
21810
21811 * stdlib/longlong.h: Updated from GCC.
21812
3553723f
L
218132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21814
21815 [BZ #14117]
3bd872c4
L
21816 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
21817 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
21818 sys/debugreg.h sys/io.h here.
21819 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
21820 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
21821 sys/io.h.
21822 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
21823 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
21824 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
21825 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
21826 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
21827 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
21828
3553723f
L
21829 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
21830 Define only if __x86_64__ is defined.
21831
4842e4fe
JM
218322012-06-01 Joseph Myers <joseph@codesourcery.com>
21833
c5bfe3d5
JM
21834 [BZ #14048]
21835 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
21836 Use int64_t for variable i.
21837 * math/libm-test.inc (fmod_test): Add more tests.
21838
4842e4fe
JM
21839 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
21840 z computation is not scheduled after fetestexcept.
21841 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
21842 Use math_force_eval instead of asm to ensure calculation scheduled
21843 before exception test.
21844 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
21845 Ensure a1 + u.d computation is not scheduled after fetestexcept.
21846
efb73488
AJ
218472012-06-01 Aurelien Jarno <aurelien@aurel32.net>
21848
21849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
21850 computation is not scheduled after fetestexcept.
21851
29bcce7c
L
218522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
21853
21854 [BZ #14117]
21855 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
21856 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
21857
73a68f94
AZ
218582012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21859
21860 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
21861 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
21862
67b6df78
L
218632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21864
edf2933a 21865 [BZ #14117]
ebc64a18
L
21866 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
21867 <bits/wordsize.h>.
21868 (__WCHAR_MIN): Support __WORDSIZE == 64.
21869 (__WCHAR_MAX): Likewise.
21870
edf2933a
L
21871 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
21872 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
21873
57c6cf40
L
21874 [BZ #14183]
21875 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
21876 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
21877
67b6df78 21878 [BZ #14117]
8eb6281e
L
21879 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
21880 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
21881
aac639f4
L
21882 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
21883 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
21884
67b6df78
L
21885 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
21886 Defined to 1 if __x86_64__ isn't defined.
21887 (_STAT_VER_LINUX_OLD): New.
21888 (st_atime): Remove duplicate.
21889 (st_mtime): Likewise.
21890 (st_ctime): Likewise.
21891
1c2cfe81
DM
218922012-05-31 David S. Miller <davem@davemloft.net>
21893
21894 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
21895 entries.
21896
5be8418c
AS
218972012-06-01 Andreas Schwab <schwab@linux-m68k.org>
21898
e7725326
AS
21899 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
21900 gen-libm-test.pl.
21901
5be8418c
AS
21902 [BZ #14132]
21903 * elf/dl-reloc.c: Include <_itoa.h>.
21904 (_dl_reloc_bad_type): Remove use of INTUSE.
21905 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
21906 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
21907 * stdio-common/psiginfo.c (psiginfo): Likewise.
21908 * stdio-common/psignal.c (psignal): Likewise.
21909 * string/strsignal.c (strsignal): Likewise.
21910 * include/signal.h (_sys_siglist): Declare hidden proto.
21911 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21912 INTVARDEF with libc_hidden_data_def.
21913 * stdio-common/itoa-udigits.c: Likewise.
21914 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
21915 (_itoa_lower_digits_internal): Remove declaration.
21916 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
21917 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
21918 (_sys_sigabbrev_internal): Remove aliases.
21919 (_sys_siglist): Define hidden alias.
21920
507352f1
MT
219212012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
21922
21923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21924 bits/sysctl.h.
21925
42bbb1c3
L
219262012-05-31 H.J. Lu <hongjiu.lu@intel.com>
21927
21928 [BZ #14117]
6bd784b6
L
21929 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
21930 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
21931
8bca20f0
L
21932 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
21933 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
21934 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
21935 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
21936 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
21937 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
21938
f9e890a9
L
21939 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
21940 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21941 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
21942
471101a1
L
21943 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
21944 with __addr.
21945 (insw): Likewise.
21946 (insl): Likewise.
21947 (outsb): Likewise.
21948 (outsw): Likewise.
21949 (outsl): Likewise.
21950
6451c862
L
21951 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
21952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
21953 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
21954
a254b8c9
L
21955 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
21956 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
21957 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
21958 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
21959 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
21960 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
21961
b8dfdd92
L
21962 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
21963 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
21964
578cd270
L
21965 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
21966 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21967
de662f5f
L
21968 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
21969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
21970 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21971
25653439
L
21972 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
21973 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
21974 to ...
21975 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
21976
6bad24a0
L
21977 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
21978 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
21979 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
21980
42bbb1c3
L
21981 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
21982 for x86-64.
21983 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
21984
2d10d547
JM
219852012-05-31 Joseph Myers <joseph@codesourcery.com>
21986
21987 * math/math.h (M_El): Use two more decimal places.
21988 (M_LOG2El): Likewise.
21989 (M_LOG10El): Likewise.
21990 (M_LN2l): Likewise.
21991 (M_LN10l): Likewise.
21992 (M_PIl): Likewise.
21993 (M_PI_2l): Likewise.
21994 (M_PI_4l): Likewise.
21995 (M_1_PIl): Likewise.
21996 (M_2_PIl): Likewise.
21997 (M_2_SQRTPIl): Likewise.
21998 (M_SQRT2l): Likewise.
21999 (M_SQRT1_2l): Likewise.
22000
f230c29b
DM
220012012-05-31 David S. Miller <davem@davemloft.net>
22002
22003 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22004 values between float registers.
22005 * sysdeps/sparc/sparc64/memset.S: Likewise.
22006 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22007
fed806c3
MF
220082012-05-31 Mike Frysinger <vapier@gentoo.org>
22009
22010 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22011 -D_FORTIFY_SOURCE=1.
22012 (CPPFLAGS-tst-longjmp_chk.c): Define.
22013 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22014 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22015 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22016 CFLAGS-tst-wchar-h.c.
22017
30917259
MP
220182012-05-31 Marek Polacek <polacek@redhat.com>
22019
22020 [BZ #14132]
22021 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22022 __endmntent_internal): Remove declaration.
22023 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22024 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22025 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22026
1c58d5dc
DM
220272012-05-30 David S. Miller <davem@davemloft.net>
22028
22029 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22030 (___Q_simulate_exceptions): Use real FP ops rather than writing
22031 into the %fsr.
22032 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22033 Likewise.
22034
7dc00e0d
L
220352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22036
22037 [BZ #14117]
0bd53985
L
22038 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22039 * sysdeps/x86/bits/xtitypes.h: This.
22040
3a257e66
L
22041 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22042 * sysdeps/x86/bits/wordsize.h: This.
22043
62f62904
L
22044 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22045 * sysdeps/x86/bits/huge_vall.h: This.
22046
404fe9d9
L
22047 * sysdeps/i386/bits/select.h: Removed.
22048 * sysdeps/x86_64/bits/select.h: Renamed to ...
22049 * sysdeps/x86/bits/select.h: This.
22050
d48d0446
L
22051 * sysdeps/i386/bits/setjmp.h: Removed.
22052 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22053 * sysdeps/x86/bits/setjmp.h: This.
22054
7dc00e0d
L
22055 * sysdeps/i386/bits/mathdef.h: Removed.
22056 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22057 * sysdeps/x86/bits/mathdef.h: This.
22058
03277f8f
AS
220592012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22060
22061 [BZ #14132]
22062 * include/sys/socket.h (__connect_internal)
22063 (__libc_sa_len_internal): Remove declaration.
22064 (__connect, __libc_sa_len): Declare hidden_proto.
22065 (SA_LEN): Remove use of INTUSE.
22066 * socket/connect.c: Add libc_hidden_def.
22067 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22068 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22069 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22070 alias.
22071 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22072 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22073 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22074 of adding _internal alias.
22075
13764867
L
220762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22077
22078 [BZ #14117]
6bd97696
L
22079 * sysdeps/i386/bits/link.h: Removed.
22080 * sysdeps/i386/bits/linkmap.h: Likewise.
22081 * sysdeps/x86_64/bits/link.h: Renamed to ...
22082 * sysdeps/x86/bits/link.h: This.
22083 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22084 * sysdeps/x86/bits/linkmap.h: This.
22085
f726f0bb
L
22086 * sysdeps/i386/bits/endian.h: Removed.
22087 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22088 * sysdeps/x86/bits/endian.h: This.
22089
13764867
L
22090 * sysdeps/i386/bits/byteswap.h: Removed.
22091 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22092 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22093 * sysdeps/x86/bits/byteswap.h: This.
22094 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22095 * sysdeps/x86/bits/byteswap-16.h: This.
22096 * sysdeps/i386/Implies: Add x86.
22097 * sysdeps/x86_64/Implies: Likewise.
22098
ae251b0b
DM
220992012-05-30 David S. Miller <davem@davemloft.net>
22100
22101 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22102 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22103 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22104 (FP_TRAPPING_EXCEPTIONS): Define.
22105 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22106 (FP_TRAPPING_EXCEPTIONS): Define.
22107 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22108 subnormals only when inexact has been signalled or underflow
22109 exceptions are enabled.
22110 (_FP_PACK_CANONICAL): Likewise.
22111
d5c90867
L
221122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22113
22114 [BZ #14183]
22115 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22116 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22117
63f1549e
RH
221182012-05-30 Richard Henderson <rth@twiddle.net>
22119
8d8f2279
RH
22120 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22121 with #ifndef NOT_IN_libc.
22122
63f1549e
RH
22123 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22124 marked to avoid plt entry.
22125
0ab0291b
L
221262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22127
22128 [BZ #14112]
22129 * Makeconfig (default-abi): New macro.
22130 (abi-includes): Likewise.
22131 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22132 $(abi-$(default-abi)-lib-soname) for soname if defined.
22133 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22134 abi-variants.
22135 * Makefile (installed-stubs): Likewise.
22136 * include/stubs-biarch.h: Removed.
22137 * scripts/lib-names.awk: Only handle one library at a time.
22138 * scripts/soversions.awk: Remove WORDSIZE support.
22139 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22140 entries.
22141 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22142 Removed.
22143 (syscall-list-default-condition): Likewise.
22144 (syscall-list-default-condition): Likewise.
22145 (syscall-list-includes): Likewise.
22146 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22147 syscall-list-* with abi-*. Handle undefined abi-variants.
22148 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22149 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22150 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22151 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22152 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22153 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22154 Removed.
22155 (syscall-list-32-options): Likewise.
22156 (syscall-list-32-condition): Likewise.
22157 (syscall-list-64-options): Likewise.
22158 (syscall-list-64-condition): Likewise.
22159 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22160 macro.
22161 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22162 Renamed to ...
22163 (abi-*): This.
22164 (abi-64-ld-soname): New macro.
22165 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22166 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22167 Renamed to ...
22168 (abi-*): This.
22169 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22170 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22171
4da0431d
JM
221722012-05-30 Joseph Myers <joseph@codesourcery.com>
22173
3a85279c
JM
22174 * sysdeps/unix/sysv/linux/kernel-features.h
22175 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22176 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22177 include <kernel-features.h>.
22178 [!__NR_ftruncate64]: Remove conditional code.
22179 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22180 [__NR_ftruncate64]: Make code unconditional.
22181 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22182 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22183 include <kernel-features.h>.
22184 [!__NR_ftruncate64]: Remove conditional code.
22185 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22186 [__NR_ftruncate64]: Make code unconditional.
22187 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22189 include <kernel-features.h>.
22190 [!__NR_ftruncate64]: Remove conditional code.
22191 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22192 [__NR_ftruncate64]: Make code unconditional.
22193 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22195 include <kernel-features.h>.
22196 [!__NR_ftruncate64]: Remove conditional code.
22197 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22198 [__NR_ftruncate64]: Make code unconditional.
22199 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22200
4da0431d
JM
22201 * configure.in (libc_cv_fpie): Weaken to a compile test using
22202 LIBC_TRY_CC_OPTION.
22203 * configure: Regenerated.
22204
11ef492c
AK
222052012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22206
22207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22211 Refreshed.
22212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22213 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22218 Refreshed.
22219
d66ef399
DM
222202012-05-27 David S. Miller <davem@davemloft.net>
22221
22222 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22223 (___Q_zero): New.
22224 (__Q_simulate_exceptions): Return void. Change to simulate
22225 exceptions by writing into the %fsr.
22226 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22227 (__Qp_handle_exceptions): Likewise.
22228 (numbers): Delete.
22229 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22230 __Qp_handle_exceptions.
22231 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22232 __Qp_handle_exceptions.
22233 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22234 as unused and give dummy FP_RND_NEAREST initializer.
22235 (FP_INHIBIT_RESULTS): Define.
22236 (___Q_simulate_exceptions): Update declaration.
22237 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22238 formatting.
22239 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22240 as unused and give dummy FP_RND_NEAREST initializer.
22241 (__Qp_handle_exceptions): Update declaration.
22242 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22243 formatting.
22244
04fb54b5
TS
222452012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22246
22247 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22248 the temporary FPU control word.
22249 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22250 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22251 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22252 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22253 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22254 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22255 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22256 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22257 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22258 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22259 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22260
3f99608f
KK
222612012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22262
22263 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22264 fields.
22265
65a4de4e
CLT
222662012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22267
22268 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22269 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22270 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22271 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22272 Likewise.
22273 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22274 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22275 Likewise.
22276
15749d40
UD
222772012-05-27 Ulrich Drepper <drepper@gmail.com>
22278
22279 * po/h.po: Update from translation team.
22280
25dbcb27
AS
222812012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22282
3d3f8e55
AS
22283 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22284
25dbcb27
AS
22285 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22286 handling of denormals.
22287 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22288 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22289 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22290 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22292 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22293 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22294 Likewise.
22295
7ad47a80 222962012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
22297
22298 [BZ #14152]
22299 * math/libm-test.inc (fma_test): Don't always expect underflow
22300 exception.
22301
9c6ea9fa
SP
223022012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22303
22304 [BZ #12416]
22305 * elf/tst-execstack.c: Include stackinfo.h.
22306 (do_test): Adjust test case to ensure that pthread_getattr_np
22307 behaviour remains the same after marking stack executable.
22308
a8239222
JM
223092012-05-25 Joseph Myers <joseph@codesourcery.com>
22310
22311 * sysdeps/unix/sysv/linux/kernel-features.h
22312 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22313 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22314 kernel-features.h.
22315 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22316 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22317 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22318 kernel-features.h.
22319 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22320 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22321
918b5606
L
223222012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22323
22324 * configure.in: Define the default includes to being none.
22325 * configure: Regenerated.
22326
3a097cc7
RM
223272012-05-25 Roland McGrath <roland@hack.frob.com>
22328
8422c9a5
RM
22329 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22330 * sysdeps/x86_64/setjmp.S: Likewise.
22331 * sysdeps/i386/bsd-setjmp.S: Likewise.
22332 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22333 * sysdeps/i386/setjmp.S: Likewise.
22334 * sysdeps/i386/__longjmp.S: Likewise.
22335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22336 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22337
3a097cc7
RM
22338 * include/stap-probe.h: New file.
22339 * configure.in: Handle --enable-systemtap.
22340 * configure: Regenerated.
22341 * config.h.in (USE_STAP_PROBE): New #undef.
22342 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22343 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22344 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22345
21708942
JM
223462012-05-25 Joseph Myers <joseph@codesourcery.com>
22347
22348 [BZ #13717]
22349 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22350 to 2.4.0 where earlier.
22351 * sysdeps/unix/sysv/linux/configure: Regenerated.
22352 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22353 <kernel-features.h>.
22354 [__ASSUME_32BITUIDS]: Make code unconditional.
22355 [!__ASSUME_32BITUIDS]: Remove conditional code.
22356 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22357 <kernel-features.h>.
22358 [__ASSUME_32BITUIDS]: Make code unconditional.
22359 [!__ASSUME_32BITUIDS]: Remove conditional code.
22360 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22361 [__ASSUME_32BITUIDS]: Make code unconditional.
22362 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22363 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22364 <kernel-features.h>.
22365 [__ASSUME_32BITUIDS]: Make code unconditional.
22366 [!__ASSUME_32BITUIDS]: Remove conditional code.
22367 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22368 <kernel-features.h>.
22369 [__ASSUME_32BITUIDS]: Make code unconditional.
22370 [!__ASSUME_32BITUIDS]: Remove conditional code.
22371 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22372 <kernel-features.h>.
22373 [__ASSUME_32BITUIDS]: Make code unconditional.
22374 [!__ASSUME_32BITUIDS]: Remove conditional code.
22375 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22376 <kernel-features.h>.
22377 [__ASSUME_32BITUIDS]: Make code unconditional.
22378 [!__ASSUME_32BITUIDS]: Remove conditional code.
22379 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22380 <kernel-features.h>.
22381 [__ASSUME_32BITUIDS]: Make code unconditional.
22382 [!__ASSUME_32BITUIDS]: Remove conditional code.
22383 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22384 <kernel-features.h>.
22385 [__ASSUME_32BITUIDS]: Make code unconditional.
22386 [!__ASSUME_32BITUIDS]: Remove conditional code.
22387 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22388 <kernel-features.h>.
22389 [__ASSUME_32BITUIDS]: Make code unconditional.
22390 [!__ASSUME_32BITUIDS]: Remove conditional code.
22391 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22392 <kernel-features.h>.
22393 [__ASSUME_32BITUIDS]: Make code unconditional.
22394 [!__ASSUME_32BITUIDS]: Remove conditional code.
22395 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22396 <kernel-features.h>.
22397 [__ASSUME_32BITUIDS]: Make code unconditional.
22398 [!__ASSUME_32BITUIDS]: Remove conditional code.
22399 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22400 <kernel-features.h>.
22401 [__ASSUME_32BITUIDS]: Make code unconditional.
22402 [!__ASSUME_32BITUIDS]: Remove conditional code.
22403 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22404 <kernel-features.h>.
22405 [__NR_setresgid] (__setresgid): Do not declare.
22406 [__ASSUME_32BITUIDS]: Make code unconditional.
22407 [!__ASSUME_32BITUIDS]: Remove conditional code.
22408 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22409 <kernel-features.h>.
22410 [__NR_setresuid] (__setresuid): Do not declare.
22411 [__ASSUME_32BITUIDS]: Make code unconditional.
22412 [!__ASSUME_32BITUIDS]: Remove conditional code.
22413 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22414 <kernel-features.h>.
22415 [__ASSUME_32BITUIDS]: Make code unconditional.
22416 [!__ASSUME_32BITUIDS]: Remove conditional code.
22417 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22418 <kernel-features.h>.
22419 [__ASSUME_32BITUIDS]: Make code unconditional.
22420 [!__ASSUME_32BITUIDS]: Remove conditional code.
22421 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22422 <kernel-features.h>.
22423 [__ASSUME_32BITUIDS]: Make code unconditional.
22424 [!__ASSUME_32BITUIDS]: Remove conditional code.
22425 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22426 <kernel-features.h>.
22427 [__ASSUME_32BITUIDS]: Make code unconditional.
22428 [!__ASSUME_32BITUIDS]: Remove conditional code.
22429 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22430 <kernel-features.h>.
22431 [__ASSUME_32BITUIDS]: Make code unconditional.
22432 [!__ASSUME_32BITUIDS]: Remove conditional code.
22433 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22434 <kernel-features.h>.
22435 [__ASSUME_32BITUIDS]: Make code unconditional.
22436 [!__ASSUME_32BITUIDS]: Remove conditional code.
22437 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22438 <kernel-features.h>.
22439 [__ASSUME_32BITUIDS]: Make code unconditional.
22440 [!__ASSUME_32BITUIDS]: Remove conditional code.
22441 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22442 <kernel-features.h>.
22443 [__ASSUME_32BITUIDS]: Make code unconditional.
22444 [!__ASSUME_32BITUIDS]: Remove conditional code.
22445 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22446 <kernel-features.h>.
22447 [__ASSUME_32BITUIDS]: Make code unconditional.
22448 [!__ASSUME_32BITUIDS]: Remove conditional code.
22449 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22450 <kernel-features.h>.
22451 [__ASSUME_32BITUIDS]: Make code unconditional.
22452 [!__ASSUME_32BITUIDS]: Remove conditional code.
22453 * sysdeps/unix/sysv/linux/kernel-features.h
22454 (__ASSUME_SETRESUID_SYSCALL): Remove.
22455 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22456 (__ASSUME_32BITUIDS): Likewise.
22457 (__ASSUME_LDT_WORKS): Likewise.
22458 (__ASSUME_O_DIRECTORY): Likewise.
22459 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22460 architecture but not kernel version.
22461 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22462 (__ASSUME_MMAP2_SYSCALL): Likewise.
22463 (__ASSUME_STAT64_SYSCALL): Likewise.
22464 (__ASSUME_IPC64): Likewise.
22465 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22466 <kernel-features.h>.
22467 [__ASSUME_32BITUIDS]: Make code unconditional.
22468 [!__ASSUME_32BITUIDS]: Remove conditional code.
22469 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22470 <kernel-features.h>.
22471 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22472 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22473 132096]: Remove conditional code.
22474 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22475 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22476 <kernel-features.h>.
22477 [__ASSUME_32BITUIDS]: Make code unconditional.
22478 [!__ASSUME_32BITUIDS]: Remove conditional code.
22479 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22480 <kernel-features.h>.
22481 [__ASSUME_32BITUIDS]: Make code unconditional.
22482 [!__ASSUME_32BITUIDS]: Remove conditional code.
22483 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22484 <kernel-features.h>.
22485 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22486 unconditional.
22487 (__setresgid): Do not declare.
22488 [__ASSUME_32BITUIDS]: Make code unconditional.
22489 [!__ASSUME_32BITUIDS]: Remove conditional code.
22490 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22491 <kernel-features.h>.
22492 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22493 unconditional.
22494 (__setresuid): Do not declare.
22495 [__ASSUME_32BITUIDS]: Make code unconditional.
22496 [!__ASSUME_32BITUIDS]: Remove conditional code.
22497 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22498 <kernel-features.h>.
22499 [__ASSUME_32BITUIDS]: Make code unconditional.
22500 [!__ASSUME_32BITUIDS]: Remove conditional code.
22501 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22502 <kernel-features.h>.
22503 [__ASSUME_32BITUIDS]: Make code unconditional.
22504 [!__ASSUME_32BITUIDS]: Remove conditional code.
22505
a386f1cc
RH
225062012-05-25 Richard Henderson <rth@twiddle.net>
22507
22508 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22509 dl_hwcap to ifunc resolver.
22510 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22511 elf_ifunc_invoke.
22512 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22513 dl_hwcap to ifunc resolver.
22514 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22515
b6550497
JM
225162012-05-24 Joseph Myers <joseph@codesourcery.com>
22517
22518 [BZ #14153]
22519 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22520 for |x| <= 2**-26, not 2**-57.
22521 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22522 exception.
22523
b0bc23a1
JL
225242012-05-24 Jeff Law <law@redhat.com>
22525
22526 * stdio-common/Makefile (tests): Add bug25.
22527 * stdio-common/bug25.c: New test.
22528
347c92e9
L
225292012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22530
22531 [BZ #13576]
22532 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22533 multiple of MALLOC_ALIGNMENT in size.
22534 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22535
6bcc8b3f
JM
225362012-05-24 Joseph Myers <joseph@codesourcery.com>
22537
22538 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22539 Require >= 256.
22540 (FILENAME_MAX): Use macro-int-constant.
22541 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22542 (_IOFBF): Use macro-int-constant.
22543 (_IOLBF): Likewise.
22544 (_IONBF): Likewise.
22545 (SEEK_CUR): Likewise.
22546 (SEEK_END): Likewise.
22547 (SEEK_SET): Likewise.
22548 (TMP_MAX): Likewise.
22549 (EOF): Use macro-int-constant. Require < 0.
22550 (NULL): Use macro-constant. Require == 0.
22551 (stdin): Require type to be FILE *.
22552 (stdout): Likewise.
22553 (stderr): Likewise.
22554 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22555 macro-int-constant.
22556 (EXIT_SUCCESS): Likewise.
22557 (NULL): Use macro-constant. Require == 0.
22558 (RAND_MAX): Use macro-int-constant.
22559 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22560 [C99-based standards] (strtof): Require function.
22561 [C99-based standards] (strtold): Likewise.
22562 [C99-based standards] (strtoll): Likewise.
22563 [C99-based standards] (strtoull): Likewise.
22564 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22565 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22566 [ISO || ISO99 || ISO11] (math.h): Likewise.
22567 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22568 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22569 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22570
d18ea0c5
AS
225712012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22572
22573 [BZ #14132]
56d25bb8
AS
22574 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22575 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22576 * intl/dgettext.c (DCGETTEXT): Likewise.
22577 * intl/gettext.c (DCGETTEXT): Likewise.
22578 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22579 * posix/regex_internal.h (gettext): Likewise.
22580 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22581 Remove declaration.
22582 * include/argz.h (__argz_count_internal)
22583 (__argz_stringify_internal): Remove declaration.
22584 (__argz_count, __argz_stringify): Declare hidden proto.
22585 * intl/dcgettext.c: Remove use of INTDEF.
22586 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22587 * string/argz-stringify.c: Likewise.
22588 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22589 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22590 Declare hidden proto.
d18ea0c5
AS
22591 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22592 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22593 Declare hidden proto.
22594 * include/stdio.h (__asprintf_internal): Don't declare.
22595 (__asprintf): Don't define as macro. Declare hidden proto.
22596 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22597 (__fsetlocking): Declare hidden proto.
22598 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22599 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22600 hidden proto.
22601 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22602 (_IO_setlinebuf): Remove use of INTUSE.
22603 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22604 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22605 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22606 Remove declaration.
22607 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22608 (_IO_do_flush): Remove use of INTUSE.
22609 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22610 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22611 (_IO_adjust_column, _IO_least_wmarker)
22612 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22613 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22614 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22615 (_IO_default_doallocate, _IO_wdefault_doallocate)
22616 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22617 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22618 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22619 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22620 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22621 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22622 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22623 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22624 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22625 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22626 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22627 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22628 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
22629 proto.
22630 (_IO_flush_all_internal, _IO_adjust_column_internal)
22631 (_IO_default_uflow_internal, _IO_default_finish_internal)
22632 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
22633 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
22634 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
22635 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
22636 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
22637 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
22638 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
22639 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
22640 (_IO_file_close_internal, _IO_file_close_it_internal)
22641 (_IO_file_underflow_internal, _IO_file_overflow_internal)
22642 (_IO_file_init_internal, _IO_file_attach_internal)
22643 (_IO_file_fopen_internal, _IO_file_read_internal)
22644 (_IO_file_sync_internal, _IO_file_seek_internal)
22645 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
22646 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
22647 (_IO_str_underflow_internal, _IO_str_overflow_internal)
22648 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
22649 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
22650 (_IO_list_all_internal, _IO_link_in_internal)
22651 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
22652 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
22653 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
22654 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
22655 (_IO_do_write_internal, _IO_padn_internal)
22656 (_IO_getline_info_internal, _IO_getline_internal)
22657 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
22658 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
22659 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
22660 (_IO_vfscanf_internal, _IO_vfprintf_internal)
22661 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
22662 (_IO_init_internal, _IO_un_link_internal): Don't declare.
22663 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
22664 with libc_hidden_ver, remove use of INTUSE.
22665 * libio/genops.c: Likewise.
22666 * libio/freopen.c: Likewise.
22667 * libio/freopen64.c: Likewise.
22668 * libio/iofclose.c: Likewise.
22669 * libio/iofdopen.c: Likewise.
22670 * libio/iofflush.c: Likewise.
22671 * libio/iofflush_u.c: Likewise.
22672 * libio/iofgets.c: Likewise.
22673 * libio/iofgets_u.c: Likewise.
22674 * libio/iofopen.c: Likewise.
22675 * libio/iofopncook.c: Likewise.
22676 * libio/iofread.c: Likewise.
22677 * libio/iofread_u.c: Likewise.
22678 * libio/ioftell.c: Likewise.
22679 * libio/iofwrite.c: Likewise.
22680 * libio/iogetline.c: Likewise.
22681 * libio/iogets.c: Likewise.
22682 * libio/iogetwline.c: Likewise.
22683 * libio/iopadn.c: Likewise.
22684 * libio/iopopen.c: Likewise.
22685 * libio/ioseekoff.c: Likewise.
22686 * libio/ioseekpos.c: Likewise.
22687 * libio/iosetbuffer.c: Likewise.
22688 * libio/iosetvbuf.c: Likewise.
22689 * libio/ioungetc.c: Likewise.
22690 * libio/ioungetwc.c: Likewise.
22691 * libio/iovdprintf.c: Likewise.
22692 * libio/iovsprintf.c: Likewise.
22693 * libio/iovsscanf.c: Likewise.
22694 * libio/memstream.c: Likewise.
22695 * libio/obprintf.c: Likewise.
22696 * libio/oldfileops.c: Likewise.
22697 * libio/oldiofclose.c: Likewise.
22698 * libio/oldiofdopen.c: Likewise.
22699 * libio/oldiofopen.c: Likewise.
22700 * libio/oldiopopen.c: Likewise.
22701 * libio/oldstdfiles.c: Likewise.
22702 * libio/putc.c: Likewise.
22703 * libio/setbuf.c: Likewise.
22704 * libio/setlinebuf.c: Likewise.
22705 * libio/stdfiles.c: Likewise.
22706 * libio/strops.c: Likewise.
22707 * libio/vasprintf.c: Likewise.
22708 * libio/vscanf.c: Likewise.
22709 * libio/vsnprintf.c: Likewise.
22710 * libio/vswprintf.c: Likewise.
22711 * libio/wfiledoalloc.c: Likewise.
22712 * libio/wfileops.c: Likewise.
22713 * libio/wgenops.c: Likewise.
22714 * libio/wmemstream.c: Likewise.
22715 * libio/wstrops.c: Likewise.
22716 * libio/__fpurge.c: Likewise.
22717 * libio/__fsetlocking.c: Likewise.
22718 * assert/assert.c: Likewise.
22719 * debug/fgets_chk.c: Likewise.
22720 * debug/fgets_u_chk.c: Likewise.
22721 * debug/fread_chk.c: Likewise.
22722 * debug/fread_u_chk.c: Likewise.
22723 * debug/gets_chk.c: Likewise.
22724 * debug/obprintf_chk.c: Likewise.
22725 * debug/vasprintf_chk.c: Likewise.
22726 * debug/vdprintf_chk.c: Likewise.
22727 * debug/vsnprintf_chk.c: Likewise.
22728 * debug/vsprintf_chk.c: Likewise.
22729 * malloc/mtrace.c: Likewise.
22730 * misc/error.c: Likewise.
22731 * misc/syslog.c: Likewise.
22732 * stdio-common/asprintf.c: Likewise.
22733 * stdio-common/fxprintf.c: Likewise.
22734 * stdio-common/getw.c: Likewise.
22735 * stdio-common/isoc99_fscanf.c: Likewise.
22736 * stdio-common/isoc99_scanf.c: Likewise.
22737 * stdio-common/isoc99_vfscanf.c: Likewise.
22738 * stdio-common/isoc99_vscanf.c: Likewise.
22739 * stdio-common/isoc99_vsscanf.c: Likewise.
22740 * stdio-common/printf-prs.c: Likewise.
22741 * stdio-common/printf_fp.c: Likewise.
22742 * stdio-common/printf_fphex.c: Likewise.
22743 * stdio-common/printf_size.c: Likewise.
22744 * stdio-common/putw.c: Likewise.
22745 * stdio-common/scanf.c: Likewise.
22746 * stdio-common/sprintf.c: Likewise.
22747 * stdio-common/tmpfile.c: Likewise.
22748 * stdio-common/vfprintf.c: Likewise.
22749 * stdio-common/vfscanf.c: Likewise.
22750 * stdlib/strfmon_l.c: Likewise.
22751 * sunrpc/openchild.c: Likewise.
22752 * sunrpc/xdr_stdio.c: Likewise.
22753 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
22754 * sysdeps/mach/hurd/tmpfile.c: Likewise.
22755
d6c33fda
RM
227562012-05-24 Roland McGrath <roland@hack.frob.com>
22757
c1487492
RM
22758 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22759
22760 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
22761 in the third column, to generate for the shared library an IFUNC
22762 that uses _dl_vdso_vsym.
22763 * Makerules (COMPILE.c, compile-stdin.c): New variables.
22764 * Makeconfig (object-suffixes-noshared): New variable.
22765
22766 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
22767 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
22768 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
22769 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
22770
d6c33fda
RM
22771 [BZ #14132]
22772 * include/sys/time.h (__gettimeofday): Remove macro.
22773 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
22774 * time/gettimeofday.c (__gettimeofday): Remove #undef.
22775 Remove INTDEF.
22776 (__gettimeofday): Add libc_hidden_def.
22777 (gettimeofday): Add libc_hidden_weak.
22778 * sysdeps/mach/gettimeofday.c: Likewise.
22779 * sysdeps/posix/gettimeofday.c: Likewise.
22780 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22781 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22782 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
22783 (__gettimeofday_internal): Remove strong_alias.
22784 (__gettimeofday): Add libc_hidden_def.
22785 (gettimeofday): Add libc_hidden_weak.
22786 * sysdeps/unix/syscalls.list (gettimeofday):
22787 Remove __gettimeofday_internal alias.
22788
b5a2bbe6
L
227892012-05-24 Daniel Jacobowitz <drow@false.org>
22790 H.J. Lu <hongjiu.lu@intel.com>
22791
22792 [BZ #12495]
22793 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
22794 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
22795 (largebin_index_32_big): New.
22796 (largebin_index): Use it for 16-byte alignment.
22797 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
22798 correction with front_misalign.
22799
cfba4fda
L
228002012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22801
7f907421
L
22802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
22803 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22804 Likewise.
22805 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
22806 Likewise.
22807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22808 Likewise.
22809 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
22810 Likewise.
22811 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
22812 Likewise.
22813 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
22814 Likewise.
22815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
22816 Likewise.
22817 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22818 Likewise.
22819 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
22820 Likewise.
22821 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
22822 Likewise.
22823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22824 Likewise.
22825 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
22826 Likewise.
22827
cfba4fda
L
22828 * scripts/data/c++-types-x32-linux-gnu.data: New file.
22829 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
22830
80bad0cc
JM
228312012-05-24 Joseph Myers <joseph@codesourcery.com>
22832
7a25eb06
JM
22833 [BZ #10846]
22834 [BZ #14036]
22835 * math/libm-test.inc (exp_test): Add test from bug 14036.
22836 (pow_test): Add test from bug 10846.
22837
795405f9
JM
22838 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
22839 and other flags.
22840 (special_function): Do not include flags in test name.
22841 (parse_args): Likewise.
22842 * sysdeps/i386/fpu/libm-test-ulps: Update.
22843 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22844 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22845 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22847
80bad0cc
JM
22848 * math/gen-libm-test.pl (%beautify): Add entries for underflow
22849 exceptions.
22850 * math/libm-test.inc ("Philosophy"): Update comment about
22851 exception testing.
22852 (UNDERFLOW_EXCEPTION): New macro.
22853 (UNDERFLOW_EXCEPTION_OK): Likewise.
22854 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
22855 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
22856 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
22857 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
22858 (INVALID_EXCEPTION_OK): Update value.
22859 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22860 (OVERFLOW_EXCEPTION_OK): Likewise.
22861 (IGNORE_ZERO_INF_SIGN): Likewise.
22862 (test_exceptions): Handle underflow exceptions.
22863 (acos_test): Update for underflow exception expectations.
22864 (cexp_test): Likewise.
22865 (clog_test): Likewise.
22866 (clog10_test): Likewise.
22867 (csqrt_test): Likewise.
22868 (ctan_test): Likewise.
22869 (ctanh_test): Likewise.
22870 (exp_test): Likewise.
22871 (exp10_test): Likewise.
22872 (exp2_test): Likewise.
22873 (expm1_test): Likewise.
22874 (fma_test): Likewise.
22875 (j0_test): Likewise.
22876 (jn_test): Likewise.
22877 (nexttoward_test): Likewise.
22878 (pow_test): Likewise.
22879 (scalbn_test): Likewise.
22880 (scalbln_test): Likewise.
22881 (tan_test): Likewise.
22882 (y1_test): Likewise.
22883 * sysdeps/i386/fpu/libm-test-ulps: Update.
22884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22885
9e0e3d0b
DM
228862012-05-23 David S. Miller <davem@davemloft.net>
22887
22888 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22889 (__libc_sigaction): Remove unused local variables.
22890
ccd0a08f
L
228912012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22892
22893 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
22894
62bdf9a6
PE
228952012-05-23 Paul Eggert <eggert@cs.ucla.edu>
22896
f8591f80
PE
22897 mktime: avoid signed integer overflow
22898 * time/mktime.c (__mktime_internal): Do not mishandle the case
22899 where diff == INT_MIN.
22900
94c7d826
PE
22901 mktime: simplify computation of average
22902 * time/mktime.c (ranged_convert): Use new time_t_avg function
22903 instead of rolling our own (probably-slower) code.
22904
ce73d683
PE
22905 mktime: do not assume signed right shift propagates sign bit
22906 * time/mktime.c (isdst_differ): New static function.
22907 (__mktime_internal): No need to normalize tm_isdst now.
22908 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
22909 tm_isdst values.
22910
72a22e59
PE
22911 mktime: merge another wrapv change from gnulib
22912 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
22913 from some compilers.
22914
68605433
PE
22915 mktime: remove incorrect attempt at unusual arithmetics
22916 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
22917 The code didn't really work on such machines anyway.
22918 (TYPE_MINIMUM): Assume two's complement.
22919 (twos_complement_arithmetic): Verify that long_int and time_t
22920 are two's complement (or unsigned, in the latter case).
22921
03cf7fe3
PE
22922 mktime: check signed shifts on long_int and time_t, too
22923 * time/mktime.c (SHR): Check that shifts work as desired
22924 on the types long_int and time_t too, as SHR is used on
22925 such types.
22926
f04dfbc2
PE
22927 mktime: do not assume 'long' is wide enough
22928 * time/mktime.c (verify): Move decl up.
22929 (long_int): New type.
22930 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
22931 to remove assumption in the code that 'long' is wide enough to
22932 store year values. This assumption is not true on x32 and on
22933 some non-glibc platforms.
22934
62bdf9a6
PE
22935 mktime: merge wrapv change from gnulib
22936 * time/mktime.c (WRAPV): New macro.
22937 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
22938 (guess_time_tm, __mktime_internal): Do not assume that signed
22939 integer overflow wraps around; modern compilers generate code
22940 where this assumption is no longer valid.
22941
5e292e4f
L
229422012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22943
22944 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
22945 Replace "jmp L(pseudo_end)" with "ret".
22946 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
22947 Likewise.
22948
8caf8c87
AJ
229492012-05-23 Andreas Jaeger <aj@suse.de>
22950
22951 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
22952 * sysdeps/unix/sysv/linux/poll.c: Remove file.
22953
1a09dc56
AJ
229542012-05-23 Andreas Jaeger <aj@suse.de>
22955 Maximilian Attems <max@stro.at>
22956
22957 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
22958 New macros.
22959
1c87aba0
L
229602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
22961
22962 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
22963 code so that pseudo_end is just ret and the stack pointer is
22964 correct also for static library in error case.
22965
40e45bd5
JM
229662012-05-23 Joseph Myers <joseph@codesourcery.com>
22967
c2670533
JM
22968 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
22969 move to syscalls.list.
22970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
22971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
22972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
22973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
22974
40e45bd5
JM
22975 * manual/install.texi (Running make install): Do not mention Linux
22976 kernel version for which pt_chown is not needed.
22977 (Linux): Do not mention problems with nscd with 2.0 kernels.
22978 * INSTALL: Regenerated.
22979
be08eda5
AJ
229802012-05-23 Andreas Jaeger <aj@suse.de>
22981
22982 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
22983 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
22984 macro.
22985 * sysdeps/unix/sysv/linux/s390/bits/mman.h
22986 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22987 * sysdeps/unix/sysv/linux/sh/bits/mman.h
22988 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22989 * sysdeps/unix/sysv/linux/i386/bits/mman.h
22990 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22991 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
22992 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22993 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
22994 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
22995 * sysdeps/unix/sysv/linux/bits/in.h
22996 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
22997
a6a056bb
RM
229982012-05-22 Roland McGrath <roland@hack.frob.com>
22999
23000 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23001 (PREPARE_VERSION): Just use assert instead, it will be elided
23002 under [NDEBUG] anyway.
23003
c9009328
L
230042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23005
23006 * sysdeps/unix/sysv/linux/Makefile: Include
23007 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 23008 (sysdep_routines): Remove sysctl.
c9009328
L
23009 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23010 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23011 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23012 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23013 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23014
73338355
AJ
230152012-05-22 Andreas Jaeger <aj@suse.de>
23016
23017 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23018 that pseudo_end is just ret and the stack pointer is correct also
23019 for static library in error case.
23020
d44638b0
PP
230212012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23022
23023 [BZ #14122]
23024 * nss/nsswitch.c (defconfig_entries): New variable.
23025 (__nss_database_lookup): Don't leak defconfig entries.
23026 (nss_parse_service_list): Don't leak on error paths.
23027 (free_database_entries): New function.
23028 (free_defconfig): New function.
23029 (free_mem): Move common code to free_database_entries.
23030
31a39bd8
L
230312012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23032
da0331a8
L
23033 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23034 Add arch_prctl.
23035 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23036
31a39bd8
L
23037 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23038 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23040 New macro.
23041 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23042 (INTERNAL_SYSCALL_TYPES): Likewise.
23043 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23044 (LOAD_REGS_TYPES_[1-6]): Likewise.
23045 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23046 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23047
45470df3
AZ
230482012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23049
23050 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23051 copysignl for GLIBC_2_0.
23052 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23053 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23055 logbl for GLIBC_2_0.
23056 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23057 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23058
98a61bcb
L
230592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23060
a4f6e481
L
23061 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23062 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23063
f63d5db6
L
23064 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23065 Use "neg %eax".
23066
98a61bcb
L
23067 * time/mktime.c: Update copyright years.
23068
95770f14
PE
230692012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23070
6226efbd
PE
23071 mktime: merge comment-quoting-style change from gnulib
23072 * time/mktime.c: Quote 'like this' in comments.
23073 The GNU coding standards suggest that we no longer quote `like this',
23074 as "`" and "'" are typically rendered asymmetrically nowadays.
23075 The typical gnulib style is to quote 'like this' when quoting
23076 code, and "like this" when quoting English.
23077
b99e4f78
PE
23078 * time/mktime.c (compile-command): Add "-I.".
23079
643e01e6
PE
23080 mktime: merge mktime-internal.h change from gnulib
23081 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23082
2554247d
PE
23083 mktime: merge time_r change from gnulib
23084 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23085
826dd0ab
PE
23086 mktime: merge DEBUG change from gnulib
23087 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23088 case system <time.h> has a #define.
23089
bd83aabe
PE
23090 mktime: merge <sys/types.h> change from gnulib
23091 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23092 since <time.t> is now guaranteed to define time_t.
23093
95770f14
PE
23094 mktime: merge HAVE_CONFIG_H change from gnulib
23095 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23096
5e1a27a9
L
230972012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23098
0e44a77e
L
23099 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23100 Use "neg %eax".
23101
5e1a27a9
L
23102 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23103 __rlim_t cast.
23104 (struct rusage): Use anonymous union to pad each field to
23105 __syscall_slong_t.
23106
46259bec
DM
231072012-05-21 David S. Miller <davem@davemloft.net>
23108
23109 * Makefules (o-iterator): Remove .s cases.
23110 (compile-command.s): Delete.
23111 (COMPILE.s): Delete.
23112 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23113
59f0c22e
JM
231142012-05-21 Joseph Myers <joseph@codesourcery.com>
23115
23116 * configure.in (libc_cv_predef_stack_protector): Only consider
23117 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23118 * configure: Regenerated.
23119
20c07380
L
231202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23121
bbb3154b
L
23122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23123 New macro. Use R*LP on int and pointer.
23124 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
23125 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23126 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
23127 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23128
20c07380
L
23129 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23130 [__WORDSIZE_TIME64_COMPAT32] instead of
23131 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23132 (struct utmp): Likewise.
23133 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23134 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23135 Renamed to ...
23136 (__WORDSIZE_TIME64_COMPAT32): This.
23137 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23138 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23139 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23140 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23141 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23142 (__WORDSIZE_TIME64_COMPAT32): New macro.
23143
d8d1017e
AJ
231442012-05-21 Andreas Jaeger <aj@suse.de>
23145
23146 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23147 only if [SHARED]. Add prototype for __wcschr_ia32.
23148
6c7fb145
RM
231492012-05-21 Roland McGrath <roland@hack.frob.com>
23150
23151 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23152 of %rbp unmolested in the jmp_buf while mangling the low bits.
23153 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23154 unmolested high bits of %rbp while demangling the low bits.
23155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23156
66274218
AJ
231572012-05-21 Andreas Jaeger <aj@suse.de>
23158
07c58f8f
AJ
23159 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23160 * sunrpc/svc_simple.c: Use it for registerrpc.
23161 * sunrpc/xcrypt.c: Use it for passwd2des.
23162
66274218
AJ
23163 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23164
61f65140
L
231652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23166
23167 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23168 Don't define if [__SYSCALL_WORDSIZE != 32].
23169 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23170 New macro.
23171
5fefb436
AJ
231722012-05-21 Bruno Haible <bruno@clisp.org>
23173 Andreas Jaeger <aj@suse.de>
23174
23175 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23176 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23177 inptr and inend for must_buffer_ch.
23178 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23179 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23180 * stdio-common/Makefile (tests): Remove bug15.
23181 (bug15-ENV): Remove macro.
23182 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23183 anymore.
23184
d8e272ab
AJ
231852012-05-19 Andreas Jaeger <aj@suse.de>
23186 Roland McGrath <roland@hack.frob.com>
23187
23188 * manual/contrib.texi: Completely rewritten. It contains now an
23189 alphabetical list of contributors and their contributions.
23190
4a56a162
RH
231912012-05-21 Richard Henderson <rth@twiddle.net>
23192
23193 * misc/getauxval.c (__getauxval): Use unsigned long int.
23194 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23195 (getauxval): Use unsigned long int.
23196
d024d23c
L
231972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23198
23199 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23200
cbc00a03
RM
232012012-05-21 Roland McGrath <roland@hack.frob.com>
23202
23203 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23204 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23205 __alignof__ (long double).
23206
478143fa
AZ
232072012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23208
23209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23210
c7683a6d
RH
232112012-05-20 Richard Henderson <rth@twiddle.net>
23212
23213 * misc/getauxval.c: New file.
23214 * misc/sys/auxv.h: New file.
23215 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23216 (routines): Add getauxval.
23217 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23218 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23219 * elf/dl-sysdep.c (_dl_auxv): Remove.
23220 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23221 * elf/dl-support.c (_dl_auxv): New variable.
23222 (_dl_aux_init): Initialize it.
23223 * manual/startup.texi (Auxiliary Vector): New node.
23224 * sysdeps/generic/bits/hwcap.h: New file.
23225 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23226 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23227 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23228 * sysdeps/sparc/sysdep.h: ... here. Include it.
23229 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23230 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23232 Update.
c7683a6d
RH
23233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23236 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23241
a6f1845d
AZ
232422012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23243
23244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23245
cbcbe830
DM
232462012-05-19 David S. Miller <davem@davemloft.net>
23247
23248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23249
e0b16cc2
JM
232502012-05-19 Joseph Myers <joseph@codesourcery.com>
23251
23252 [BZ #14123]
23253 * math/s_ccosh.c: Include <float.h>
23254 (__ccosh): Avoid internal overflow calculating sinh and cosh
23255 values before multiplying by sin and cos values.
23256 * math/s_ccoshf.c: Likewise.
23257 * math/s_ccoshl.c: Likewise.
23258 * math/s_csin.c: Likewise.
23259 * math/s_csinf.c: Likewise.
23260 * math/s_csinl.c: Likewise.
23261 * math/s_csinh.c: Likewise.
23262 * math/s_csinhf.c: Likewise.
23263 * math/s_csinhl.c: Likewise.
23264 * math/libm-test.inc (ccos_test): Add more tests.
23265 (ccosh_test): Likewise.
23266 (csin_test): Likewise.
23267 (csinh_test): Likewise.
23268 * sysdeps/i386/fpu/libm-test-ulps: Update.
23269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23270
6ad13e08
L
232712012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23272
f66f0ce8
L
23273 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23274 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23275
6ad13e08
L
23276 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23277
b1d072a7
JM
232782012-05-19 Joseph Myers <joseph@codesourcery.com>
23279
23280 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23281 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23282 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23283 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23284 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23285 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23286 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23287 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23288 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23289 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23290 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23291 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23292 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23293 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23294 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23295 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23296 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23297 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23298 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23299 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23300 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23301 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23302 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23303 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23304 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23305 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23306 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23307 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23308 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23309 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23310 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23311
9eae47cb
AJ
233122012-05-18 Andreas Jaeger <aj@suse.de>
23313
23314 * csu/.gitignore: Delete.
23315
bb07f69f
L
233162012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23317
23318 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23319 (timex): Use __syscall_slong_t.
23320
e6bdb741
AJ
233212012-05-18 Andreas Jaeger <aj@suse.de>
23322 Carlos O'Donell <carlos_odonell@mentor.com>
23323
23324 * manual/install.texi (Configuring and compiling): Update
23325 description about files modified in the source directory.
d6c33fda 23326 * INSTALL: Regenerated.
e6bdb741 23327
1b74487e
L
233282012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23329
23330 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23331 value. Use "or" to set return value to -1.
23332 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23333 negate return value.
23334
a88b64b9
TMQMF
233352012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23336
23337 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23338 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23339 failure if the compiler has Graphite support disabled.
23340 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23341 Likewise.
23342 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23343 CFLAGS-memmove.c): Likewise.
23344 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23345 Likewise.
23346
3707636e
L
233472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23348
610b8622
L
23349 * sysdeps/x86_64/x32/_itoa.h: New file.
23350
7cd195df
L
23351 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23352 getdents system call only if kernel and user dirents have the
23353 same d_ino and d_off.
23354
94b07d20
L
23355 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23356 LLONG_MAX != LONG_MAX.
23357 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23358 (_fitoa_word): Likewise.
23359
18298070
L
23360 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23361 years.
23362 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23363 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23364 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23365
553c7ea4
L
23366 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23367 include <bits/wordsize.h>. Check __x86_64__ instead of
23368 __WORDSIZE.
23369 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23370 if __x86_64__ is defined. Use anonymous union on fpstate.
23371
3707636e
L
23372 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23373 anonymous union.
23374
b53ef01a
AS
233752012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23376
37fb1dc0
AS
23377 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23378 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23379 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23380 Refer to _rtld_local_ro instead of _rtld_global_ro.
23381 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23382 Likewise.
23383 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23384 Likewise.
23385 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23386 Likewise.
23387 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23388 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23389 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23390
b53ef01a
AS
23391 * sysdeps/powerpc/powerpc32/dl-machine.c
23392 (__elf_machine_runtime_setup) [PROF]: Don't reference
23393 _dl_prof_resolve.
23394
7a185db2
AJ
233952012-05-18 Andreas Jaeger <aj@suse.de>
23396
23397 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23398 function only available for GCCs before 3.4 since GCC 3.4
23399 introduced a builtin.
23400 (lrint): Likewise.
23401 (llrintf): Likewise.
23402 (llrint): Likewise.
23403 (fmaxf): Likewise.
23404 (fmax): Likewise.
23405 (fminf): Likewise.
23406 (fmin): Likewise.
23407 (rint): Likewise.
23408 (rintf): Likewise.
23409 (nearbyint): Likewise.
23410 (nearbyintf): Likewise.
23411 (ceil): Likewise.
23412 (ceilf): Likewise.
23413 (floor): Likewise.
23414 (floorf): Likewise.
23415
3e5aef87
L
234162012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23417
428bd707
L
23418 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23419 on both fields and cast pointer to __syscall_ulong_t.
23420
3e5aef87
L
23421 * bits/types.h (__fsword_t): New type.
23422 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23423 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23424 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23425 (__FSWORD_T_TYPE): Likewise.
23426 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23427 (__FSWORD_T_TYPE): Likewise.
23428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23429 (__FSWORD_T_TYPE): Likewise.
23430 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23431 (__FSWORD_T_TYPE): Likewise.
23432 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23433 __SWORD_TYPE with __fsword_t.
23434 (statfs64): Likewise.
23435
1ba7c3dc
DM
234362012-05-17 David S. Miller <davem@davemloft.net>
23437
23438 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23439
59910343
AJ
234402012-05-17 Andreas Jaeger <aj@suse.de>
23441
23442 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23443 warning.
23444
2e4c1e9e
L
234452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23446
23447 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23448
de7f5ce7
AJ
234492012-05-17 Andreas Jaeger <aj@suse.de>
23450
23451 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23452 when it is used.
23453
286abc3d
CM
234542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23455
23456 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23457
477cc68e
L
234582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23459
23460 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23461 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23462
1a0994f5
CD
234632012-05-17 Andreas Jaeger <aj@suse.de>
23464 Carlos O'Donell <carlos_odonell@mentor.com>
23465
23466 [BZ #14059]
23467 * sysdeps/x86_64/multiarch/init-arch.h
23468 (bit_YMM_Usable): Rename to...
23469 (bit_AVX_Usable): ... this.
23470 (bit_FMA4_Usable): New macro.
23471 (bit_XMM_state): New macro.
23472 (bit_YMM_state): New macro.
23473 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23474 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23475 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23476 (CPUID_OSXSAVE): New macro.
23477 (CPUID_AVX): New macro.
23478 (CPUID_FMA4): New macro.
23479 (index_YMM_Usable): Rename to...
23480 (index_AVX_Usable): ... this.
23481 (HAS_AVX): Use HAS_ARCH_FEATURE.
23482 (HAS_FMA4): Likewise.
23483 (HAS_YMM_USABLE): Remove.
23484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23485 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23486 are present.
23487 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23488 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23489 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23490 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23491 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23492
0af797de
CM
234932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23494
23495 * math/libm-test.c: Support platforms without multiple rounding modes.
23496 * math/bug-nextafter.c: Support platforms without FP exceptions.
23497 * math/bug-nexttoward.c: Likewise.
23498 * math/test-fenv.c: Likewise.
23499 * math/test-misc.c: Likewise.
23500 * stdlib/bug-getcontext.c: Likewise.
23501
e39745ff
AJ
235022012-05-17 Andreas Jaeger <aj@suse.de>
23503
23504 * manual/examples/search.c (critter_cmp): Change signature to
23505 avoid warnings.
23506 * manual/string.texi (Collation Functions): Likewise.
23507
48970aba
L
235082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23509
23510 * bits/types.h: Fold copyright years.
23511 * bits/typesizes.h: Likewise.
23512 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23515 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23516 * time/time.h: Likewise.
23517
bedee953
PP
235182012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23519
23520 [BZ #208]
23521 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23522 in instead of returning them. Return void.
23523 (__libc_mallinfo): Accumulate over all arenas.
23524 (__malloc_stats): Adjust for change in int_mallinfo interface.
23525
61653dfb
RM
235262012-05-16 Roland McGrath <roland@hack.frob.com>
23527
30b99d79
RM
23528 [BZ #10375]
23529 * configure.in (NM): Add AC_CHECK_TOOL for it.
23530 (libc_extra_cflags): New substituted variable.
23531 Check for -fstack-protector being used implicitly.
23532 * configure: Regenerated.
23533 * config.make.in (config-extra-cflags): New variable,
23534 gets @libc_extra_cflags@.
23535 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23536
61653dfb
RM
23537 [BZ #10375]
23538 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23539 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23540 * configure: Regenerated.
23541 * config.make.in (CPPUNDEFS): New substituted variable.
23542 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23543 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23544 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23545
661768bb
L
235462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23547
23548 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23549 (mq_attr): Use __syscall_slong_t.
23550
d4261567
L
235512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23552
23553 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23554 Check __x86_64__ instead of __WORDSIZE.
23555 (_STAT_VER_LINUX): Likewise.
23556 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23557 __syscall_ulong_t and __syscall_slong_t.
23558 (stat64): Likewise.
23559
cf3ff365
L
235602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23561
23562 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23563
76cf3e4d
L
235642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23565
23566 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23567
a637753a
L
235682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23569
23570 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23571 __syscall_ulong_t.
23572
d5e05119
L
23573 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23574 include <bits/wordsize.h>. Check __x86_64__ instead of
23575 __WORDSIZE.
23576 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23577 defined.
23578 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23579
f62ee380
L
23580 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23581 include <bits/wordsize.h>. Check __x86_64__ instead of
23582 __WORDSIZE.
23583 (user_regs_struct): Use "__extension__ unsigned long long"
23584 instead of "unsigned long" if __x86_64__ is defined.
23585 (user): Likewise. Pad after pointer field if __ILP32__ is
23586 defined.
23587
4e124ced
JM
235882012-05-16 Joseph Myers <joseph@codesourcery.com>
23589
6a3951a0
JM
23590 * configure.in (makeinfo): Require version 4.5 or later. Allow
23591 versions 5 to 9.
23592 * configure: Regenerated.
23593 * manual/install.texi (texinfo): Increase version requirement to
23594 4.5 or later.
23595 * INSTALL: Regenerated.
23596
4e124ced
JM
23597 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23598
953ca31a
L
235992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23600
23601 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23602
617aca05
L
23603 * sysdeps/x86_64/x32/ffs.c: New file.
23604
5762f7ae
L
23605 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23606 __syscall_ulong_t.
23607 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23608 defined. Use __syscall_ulong_t.
23609 (shminfo): Use __syscall_ulong_t.
23610 (shm_info): Likewise.
23611
a26b6856
L
23612 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23613 __syscall_ulong_t.
23614
cb2b9ef7
L
23615 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23616 <bits/wordsize.h>.
23617 (msgqnum_t): Use __syscall_ulong_t.
23618 (msglen_t): Likewise.
23619 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23620 __syscall_ulong_t.
23621
34683bb0
L
23622 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23623 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23624
84a68786
L
23625 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23626
48baa5f1
L
23627 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23628 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
23629
180be88b
L
23630 * sysvipc/sys/msg.h (msgbuf): Replace long int with
23631 __syscall_slong_t.
23632
5e90c8ad
L
23633 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
23634 include <bits/wordsize.h>. Check __x86_64__ instead of
23635 __WORDSIZE.
23636
23dfb58b
L
23637 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
23638 "unsigned long long int" if __x86_64__ is defined.
23639 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
23640
ce5d54b0
L
23641 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
23642 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23643 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
23644
13dc9eac
L
23645 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
23646 <stdint.h>.
23647 (GET_PC): Cast to uintptr_t first.
23648 (GET_FRAME): Likewise.
23649 (GET_STACK): Likewise.
23650
a7895d15
L
23651 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
23652 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
23653 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
23654 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
23655 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
23656 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
23657 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
23658 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
23659 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
23660 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
23661 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
23662 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
23663 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
23664 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
23665 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
23666 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
23667 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
23668 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
23669 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
23670 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
23671 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
23672 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
23673 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
23674 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
23675 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
23676 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
23677 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
23678 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
23679 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
23680
656416c9
AS
236812012-05-16 Andreas Schwab <schwab@linux-m68k.org>
23682
5bd66283
AS
23683 * Makerules (+depfiles): Also collect depfiles from .oS in
23684 $(extra-objs).
23685 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
23686 .oS, $(libnldbl-routines)).
23687
656416c9
AS
23688 * Makerules (native-compile-mkdep-flags): Define.
23689 * sunrpc/Makefile (extra-objs): Add $(addprefix
23690 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
23691 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
23692 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
23693 calling $(make-target-directory).
23694
a46f2169
L
236952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23696
23697 * bits/types.h (__snseconds_t): Removed.
23698 * time/time.h (struct timespec): Replace __snseconds_t with
23699 __syscall_slong_t.
23700 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
23701 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
23702 Likewise.
23703 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23704 (__SNSECONDS_T_TYPE): Likewise.
23705 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23706 (__SNSECONDS_T_TYPE): Likewise.
23707 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23708 (__SNSECONDS_T_TYPE): Likewise.
23709
6af6528b
L
237102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23711
23712 * sysdeps/mach/hurd/bits/typesizes.h
23713 (__SYSCALL_SLONG_TYPE): New macro.
23714 (__SYSCALL_ULONG_TYPE): Likewise.
23715
de986b56
L
237162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23717
23718 * bits/types.h (__syscall_slong_t): New type.
23719 (__syscall_ulong_t): Likewise.
23720
23721 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
23722 (__SYSCALL_ULONG_TYPE): Likewise.
23723 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23724 (__SYSCALL_SLONG_TYPE): Likewise.
23725 (__SYSCALL_ULONG_TYPE): Likewise.
23726 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23727 (__SYSCALL_SLONG_TYPE): Likewise.
23728 (__SYSCALL_ULONG_TYPE): Likewise.
23729 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23730 (__SYSCALL_SLONG_TYPE): Likewise.
23731 (__SYSCALL_ULONG_TYPE): Likewise.
23732
85736dc7
L
237332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23734
23735 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
23736 Add sigaltstack-offsets.sym.
23737 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
23738 <sigaltstack-offsets.h>.
23739 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
23740 longjmp_msg pointer.
23741 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
23742 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
23743 signal stack.
23744 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
23745
cc03b296
JM
237462012-05-15 Joseph Myers <joseph@codesourcery.com>
23747
a9538892
JM
23748 * elf/stackguard-macros.h: Remove file.
23749 * sysdeps/generic/stackguard-macros.h: New file.
23750 * sysdeps/i386/stackguard-macros.h: Likewise.
23751 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23752 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23753 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23754 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23755 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23756 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23757 * sysdeps/x86_64/stackguard-macros.h: Likewise.
23758 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
23759 <elf/stackguard-macros.h>.
23760
cc03b296
JM
23761 [BZ #14109]
23762 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
23763 __aligned__ in attribute.
23764 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
23765 (gregset_t): Likewise.
23766
93171016
L
237672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23768
23769 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
23770 * sysdeps/x86_64/64/Implies-after: Here. New file.
23771 * sysdeps/x86_64/x32/Implies-after: New file.
23772
d86813a0
L
237732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23774
23775 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
23776 and access return value for _dl_profile_fixup. Use R10_LP to
23777 load frame size.
23778
2953ec75
L
237792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23780
23781 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
23782
3b550e9e
L
237832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23784
23785 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
23786 * sysdeps/x86_64/x32/sysdep.h: New file.
23787
eda41706
L
237882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23789
23790 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
23791 * sysdeps/x86_64/setjmp.S: Likewise.
23792
9ea01d93
AZ
237932012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23794
23795 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
23796 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
23797 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
23798 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
23799 remove unused global constant.
23800
02a91938
CM
238012012-05-15 Chris Metcalf <cmetcalf@tilera.com>
23802
23803 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
23804 include of <not-cancel.h>.
23805
6540185f
RM
238062012-05-15 Roland McGrath <roland@hack.frob.com>
23807
23808 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
23809
509072a0
AJ
238102012-05-15 Jeff Law <law@redhat.com>
23811 Andreas Jaeger <aj@suse.de>
23812
23813 [BZ #13594]
23814 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
23815 out from...
23816 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
23817 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
23818 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
23819 code changing __hst_map_handle.map.
23820
ba75122d
RM
238212012-05-15 Roland McGrath <roland@hack.frob.com>
23822
23823 * configure.in (sysnames): Look for Implies-before and Implies-after
23824 files.
23825 * configure: Regenerated.
23826
890d8bd8
L
238272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23828
23829 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
23830 8-byte data alignment with LP_SIZE alignment.
23831
f6ee6623
L
238322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23833
23834 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
23835 into R10_LP.
23836
ea2626f6
L
238372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23838
23839 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
23840
085f715e
L
238412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23842
23843 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
23844 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
23845 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
23846 Likewise.
23847 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23848
be8498fc
L
238492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23850
23851 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
23852 (stackinfo_sub_sp): Likewise.
23853
70bc83b9
L
238542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23855
23856 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
23857 RAX_LP.
23858
9bc0b730
L
238592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23860
23861 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
23862 into R*_LP.
23863
6d2850e7
L
238642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23865
23866 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
23867 sizes into R*_LP.
23868
3cb84561
L
238692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23870
23871 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
23872
54e2ed81
L
238732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23874
23875 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
23876 into R11_LP and load __x86_64_shared_cache_size_half into
23877 R8_LP.
23878
8a17f349
L
238792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
23880
23881 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
23882 R8_LP.
23883
777b1eea
AZ
238842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23885
23886 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
23887 logb for POWER7.
23888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
23889 logbf for POWER7.
23890 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23891 logbl for POWER7.
23892 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
23893 powerpc32/power7/fpu/s_logb.c via #include.
23894 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
23895 powerpc32/power7/fpu/s_logbf.c via #include.
23896 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
23897 powerpc32/power7/fpu/s_logbl.c via #include.
23898
d20d4ac2
JM
238992012-05-15 Joseph Myers <joseph@codesourcery.com>
23900
23901 * README.libm: Remove file.
23902
6cdef1ab
L
239032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23904
23905 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
23906 count for x32. Use R*_LP and omit operand-size suffix.
23907
0b254d8f
L
239082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23909
23910 * shlib-versions: Move x86_64-.*-linux.* entries to ...
23911 * sysdeps/x86_64/64/shlib-versions: Here. New file.
23912 * sysdeps/x86_64/x32/shlib-versions: New file.
23913
ceb809dc
RM
239142012-05-14 Roland McGrath <roland@hack.frob.com>
23915
23916 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
23917 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
23918 Use _dl_fatal_printf instead.
23919
37f1abd4
JM
239202012-05-14 Joseph Myers <joseph@codesourcery.com>
23921
23922 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
23923 set if not set by the user. Do not allow for being unset.
23924 * sysdeps/unix/sysv/linux/configure: Regenerated.
23925
11de3a33
L
239262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23927
23928 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
23929 the `q' suffix from lea and replace .quad with ASM_ADDR.
23930
e02f153a
L
239312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23932
23933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
23934 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
23935 instead of $17.
23936 (PTR_DEMANGLE): Likewise.
23937
520ae0fd
L
239382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23939
23940 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
23941 (LP_OP): Likewise.
23942 (ASM_ADDR): Likewise.
23943 (RAX_LP): Likewise.
23944 (RBP_LP): Likewise.
23945 (RBX_LP): Likewise.
23946 (RCX_LP): Likewise.
23947 (RDI_LP): Likewise.
23948 (RSI_LP): Likewise.
23949 (RSP_LP): Likewise.
23950 (R8_LP): Likewise.
23951 (R9_LP): Likewise.
23952 (R10_LP): Likewise.
23953 (R10_LP): Likewise.
23954 (R11_LP): Likewise.
23955 (R12_LP): Likewise.
23956 (R13_LP): Likewise.
23957 (R14_LP): Likewise.
23958 (R15_LP): Likewise.
23959
b985be81
L
239602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
23961
23962 * sysdeps/x86_64/x32/dl-machine.h: New file.
23963
6a4888ff
AJ
239642012-05-14 Andreas Jaeger <aj@suse.de>
23965
23966 * manual/Makefile (subdir): Remove export of subdir.
23967 (all): Remove target.
23968 (.PHONY): Remove all from list.
23969 (mkinstalldirs): Remove.
23970 (.PHONY): Remove installdirs from list.
23971 ($(inst_infodir)/libc.info): Use make-target-directory.
23972 (installdirs): Remove.
23973 (subdir_%): Remove.
23974 (glibc-targets): Remove.
23975 (lib): Remove.
23976 (stubs): Remove.
23977 ($(objpfx)stubs ../po/manual.pot): Remove.
23978 ($(objpfx)stamp%): Remove.
23979 (make-target-directory): Remove.
23980 (subdir_install): Remove.
23981 (routines): Remove.
23982 (aux): Remove.
23983 (sources): Remove.
23984 (objects): Remove.
23985 (headers): Remove.
23986
23987 [BZ #13750]
23988 * manual/.gitignore: Remove, it's not needed anymore.
23989 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
23990 all files in it.
23991 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
23992 directory.
23993 (texis): Renamed to $(objpfx)texis.
23994 (texis-path): New, contains path to generated files.
23995 (chapters.%): Use texis-path for complete path, add extra argument
23996 libc-texinfo.sh.
23997 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
23998 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
23999 (summary,texi, stamp-summary): Use complete path of
24000 files. Generate files in build dir.
24001 (dir-add.texi): Build in build dir.
24002 (libm-err.texi,stamp-libm-err): Likewise.
24003 (version.texi, stamp-version): Likewise.
24004 (.%c.texi): Likewise.
24005 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24006 (mostlyclean): Remove target.
24007 (realclean): Remove target.
24008 (generated): Add new variable with contents from mostlyclean and
24009 realclean, remove entries duplicated in common-mostlyclean, add
24010 stamp-libm-err and stamp-version.
24011 (generated-dirs): Add libc directory.
24012 ($(inst_infodir)/libc.info): Install files from build dir.
24013
24014 * manual/install.texi (Configuring and compiling): Adjust since
24015 the info files are not part of the tar ball anymore.
24016
7ac77294
AJ
240172012-05-14 Andreas Jaeger <aj@suse.de>
24018
24019 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24020 variable.
24021
ffb7875d
JM
240222012-05-14 Joseph Myers <joseph@codesourcery.com>
24023
24024 [BZ #13717]
24025 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24026 to 2.2.0 where earlier.
24027 * sysdeps/unix/sysv/linux/configure: Regenerated.
24028 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24029 Remove conditional code.
24030 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24031 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24032 Remove conditional code.
24033 [!__NR_lchown]: Likewise.
24034 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24035 [__NR_lchown]: Likewise.
24036 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24037 comment referencing __ASSUME_LCHOWN_SYSCALL.
24038 * sysdeps/unix/sysv/linux/i386/sigaction.c
24039 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24040 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24041 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24042 Remove conditional code.
24043 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24044 (__protocol_available): Remove #if 0 code.
24045 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24046 conditional code.
24047 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24048 * sysdeps/unix/sysv/linux/kernel-features.h
24049 (__ASSUME_GETCWD_SYSCALL): Don't define.
24050 (__ASSUME_REALTIME_SIGNALS): Likewise.
24051 (__ASSUME_PREAD_SYSCALL): Likewise.
24052 (__ASSUME_PWRITE_SYSCALL): Likewise.
24053 (__ASSUME_POLL_SYSCALL): Likewise.
24054 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24055 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24056 non-SPARC.
24057 (__ASSUME_SIOCGIFNAME): Don't define.
24058 (__ASSUME_MSG_NOSIGNAL): Likewise.
24059 (__ASSUME_SENDFILE): Define unconditionally.
24060 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24061 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24062 conditional code.
24063 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24064 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24065 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24066 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24067 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24068 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24069 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24074 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24075 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24080 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24086 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24092 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24094 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24095 Remove conditional code.
24096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24097 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24098 Remove conditional code.
24099 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24100 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24101 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24102 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24103 Remove conditional code.
24104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24105 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24106 Remove conditional code.
24107 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24108 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24109 Remove conditional code.
24110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24111 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24112 Remove conditional code.
24113 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24114 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24115 Remove conditional code.
24116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24117 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24118 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24119 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24120 * sysdeps/unix/sysv/linux/sigaction.c
24121 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24122 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24123 * sysdeps/unix/sysv/linux/sigpending.c
24124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24126 * sysdeps/unix/sysv/linux/sigprocmask.c
24127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24129 * sysdeps/unix/sysv/linux/sigsuspend.c
24130 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24131 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24132 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24133 (__libc_missing_rt_sigs): Remove.
24134 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24135 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24136 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24137 Remove conditional code.
24138 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24139 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24140 return 1.
24141 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24142 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24143 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24144 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24145
1bfb7291
AJ
241462012-05-14 Andreas Jaeger <aj@suse.de>
24147
caae5a81
AJ
24148 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24149 it's not used in glibc.
24150 (__coshm1): Likewise.
24151 (__acosh1p): Likewise.
24152 (__sgn): Likewise.
24153
1bfb7291
AJ
24154 * manual/string.texi (Copying and Concatenation): Add missing
24155 variable in concat example.
24156 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24157
c044d724
L
241582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24159
144c5467 24160 [BZ #14103]
c044d724
L
24161 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24162 __builtin_clzl with __builtin_clzll.
24163
2523c62b
L
241642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24165
24166 [BZ #14104]
24167 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24168 libc_freeres_ptr.
24169
d7bb4c42
LD
241702012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24171
24172 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24173 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24174 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24175 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24176
9dc4e1fb
MF
241772012-05-14 Mike Frysinger <vapier@gentoo.org>
24178
24179 * NEWS: Update ia64 info.
24180
c7df0112
AS
241812012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24182
24183 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24184 used as bcopy.
24185
dc70356c
TS
241862012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24187
24188 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24189 * sysdeps/unix/syscalls.list (dup3): Likewise.
24190 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24191 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24192
9fb1a21f
L
241932012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24194
24195 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24196 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24197
4822a2a5
L
241982012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24199
24200 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24201 thread pointer.
24202 (TLS_IE): Use mov/add instead of movq/addq to load thread
24203 pointer.
24204 (TLS_GD_PREFIX): New.
24205 (TLS_GD): Use it.
24206
842b81d6
DM
242072012-05-11 David S. Miller <davem@davemloft.net>
24208
24209 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24210 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24211 (_FPU_SETCW): Likewise.
24212
1cf463cd
L
242132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24214
24215 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24216 is 32-byte aligned.
24217
60cc4a18
AS
242182012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24219
24220 [BZ #11837]
24221 * iconvdata/gb18030.c: Update tables.
24222 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24223 characters specially.
24224 (BODY for TO_LOOP): Add encoding of missing ranges.
24225
febb44a4
TS
242262012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24227
24228 [BZ #13673]
24229 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24230 * sysdeps/mach/hurd/dup3.c: Likewise.
24231 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24232 * sysdeps/powerpc/memmove.c:: Likewise.
24233
0a10fb9e
L
242342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24235
24236 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24237 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24238
df8a552f
L
242392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24240
24241 * elf/elf.h (R_X86_64_RELATIVE64): New.
24242 (R_X86_64_NUM): Updated.
24243 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24244 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24245 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24246 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24247 tst-quad1pie tst-quad2pie
24248 (modules-names): Add tst-quadmod1 tst-quadmod2.
24249 ($(objpfx)tst-quad1): New dependency.
24250 ($(objpfx)tst-quad2): Likewise.
24251 ($(objpfx)tst-quad1pie): Likewise.
24252 ($(objpfx)tst-quad2pie): Likewise.
24253 * sysdeps/x86_64/tst-quad1.c: New file.
24254 * sysdeps/x86_64/tst-quad1pie.c: New file.
24255 * sysdeps/x86_64/tst-quad2.c: Likewise.
24256 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24257 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24258 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24259 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24260 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24261
f34d6f84
ST
242622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24263
f42d41d1
ST
24264 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24265 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24266 * streams/stropts.h (t_scalar_t): Define type.
24267
3c3571fc
ST
24268 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24269 (_PATH_PRESERVE): Set to "/var/lib".
24270 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24271
61f06bd3
ST
24272 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24273 instead of int.
24274
918d4d71
ST
24275 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24276 if __dir_mkfile succeeded.
24277
f34d6f84
ST
24278 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24279 checking for _hurd_dtablesize. Unlock it right after having
24280 finished _hurd_dtable allocation.
24281
10589b4a
TS
242822012-05-10 Thomas Schwinge <thomas@schwinge.name>
24283
674cdbc7
TS
24284 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24285 * sysdeps/mach/hurd/configure: Regenerated.
24286 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24287 special-casing to...
24288 * sysdeps/gnu/configure.in: ... this new file.
24289 * sysdeps/unix/sysv/linux/configure: Regenerated.
24290 * sysdeps/gnu/configure: New generated file.
24291
8e41b99f
TS
24292 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24293 for Linux: use nsec instead of usec, as well as:
24294 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24295 members of type struct timespec.
24296 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24297 New macros.
24298 (struct stat64): Likewise.
24299 (_STATBUF_ST_NSEC): New macro.
24300 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24301
10589b4a
TS
24302 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24303 __strtoul_internal rather than strtoul.
24304
63643c85
PT
243052012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24306
24307 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24308 and reject them.
24309
3faebe6a
ST
243102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24311
24312 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24313 which preserves existing values.
24314 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24315
c6474b07
PT
243162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24317
24318 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24319 TIMEOUT values. Return EINVAL for NFDS values either negative or
24320 greater than FD_SETSIZE.
24321
1043890b
ST
243222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24323
24324 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24325 allocated, call __vm_protect to finish enabling the existing space, and
24326 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24327 allocate the remainder.
24328
37ed8b9b
PT
243292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24330
24331 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24332 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24333
db653660
ST
243342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24335
37ed8b9b
PT
24336 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24337 sysdeps/mach/hurd/readlink.c.
b29d4053 24338
db653660
ST
24339 * posix/tst-sysconf.c (posix_options): Only use
24340 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24341 _POSIX_SYNCHRONIZED_IO when they are defined
24342 * sysdeps/mach/hurd/bits/posix_opt.h:
24343 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24344 (_XOPEN_REALTIME): Undefine macro.
24345 (_XOPEN_REALTIME_THREADS): Undefine macro.
24346 (_XOPEN_SHM): Undefine macro.
24347 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24348 macro to -1.
24349 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24350 macro to -1.
24351 (_POSIX_ASYNC_IO): Undefine macro.
24352 (_POSIX_PRIORITIZED_IO): Undefine macro.
24353 (_POSIX_SPIN_LOCKS): Define macro to -1.
24354
ee16e894
ST
24355 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24356 SA_NODEFER, SA_RESETHAND.
24357 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24358 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24359 F_DUPFD_CLOEXEC.
24360
6103ae3b
TS
243612012-05-10 Thomas Schwinge <thomas@schwinge.name>
24362
24363 * elf/Makefile (pldd-modules): Define unconditionally.
24364
80b4e5f3
TS
243652012-05-10 Thomas Schwinge <thomas@schwinge.name>
24366
24367 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24368
edadcbd6
ST
243692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24370
24371 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24372 Return ENOENT when name is empty.
24373 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24374
80694780
TS
243752012-05-10 Thomas Schwinge <thomas@schwinge.name>
24376
1792c087
TS
24377 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24378
80694780
TS
24379 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24380
6b645f0d
ST
243812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24382
80694780
TS
24383 Fix mlock in all cases except non-readable pages.
24384 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24385 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 24386
6b645f0d
ST
24387 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24388 (__mkdir): When path is `/', just fail with EEXIST.
24389 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24390
e468f8a3
TS
243912012-05-10 Thomas Schwinge <thomas@schwinge.name>
24392
24393 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24394 <sys/uio.h> (for writev).
24395 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24396 and <sys/param.h> (for MIN).
24397
a4186cff
PT
243982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24399
24400 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24401 REQUESTED_TIME. Properly set the remaining time and return EINTR
24402 if interrupted.
24403
510bbf14
TS
244042012-05-10 Thomas Schwinge <thomas@schwinge.name>
24405
24406 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24407 Depend on against $(link-rpcuserlibs).
24408
5d5722e8
ST
244092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24410
a4186cff
PT
24411 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24412 (__libc_stack_end): Do not use attribute_relro.
24413 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24414 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 24415 to libthread-provided value.
a4186cff
PT
24416 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24417 attribute_relro.
5d5722e8 24418
37233df9
TS
244192012-05-10 Thomas Schwinge <thomas@schwinge.name>
24420
be971a2b
TS
24421 [BZ #3748]
24422 * bits/libc-lock.h (__libc_once_get): New macro.
24423 * sysdeps/mach/bits/libc-lock.h: Likewise.
24424 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24425 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24426 instead of using implementation details.
24427
37233df9
TS
24428 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24429 * libio/freopen.c: Likewise.
24430 * libio/freopen64.c: Likewise.
24431 * misc/syslog.c: Likewise.
24432 * nscd/connections.c: Likewise.
24433 * nscd/netgroupcache.c: Likewise.
24434 * sysdeps/posix/getcwd.c: Likewise.
24435
38de94a5
RM
244362012-05-10 Roland McGrath <roland@hack.frob.com>
24437
24438 * math/w_ilogbf.c: Add #include <limits.h>.
24439
67530489
ST
244402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24441
a4186cff 24442 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
24443 path instead of returning without unlocking.
24444
67530489
ST
24445 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24446 immediate-write ioctls.
24447 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24448
5aa3a74a
TS
244492012-05-10 Thomas Schwinge <thomas@schwinge.name>
24450
18bad2ae
TS
24451 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24452 __builtin_frame_address instead of making assumptions about the
24453 location of the return address relative to DATA. Force early load of
24454 the return address.
24455 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24456 __builtin_frame_address.
24457
5aa3a74a
TS
24458 dup3 for GNU Hurd.
24459 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24460 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24461 implement dup3 and do some further code clean-ups.
24462 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24463 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24464
ecd0de9a
ST
244652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24466
cd9fa985
ST
24467 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24468
a4186cff
PT
24469 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24470 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24471 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24472 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24473 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24474 d->port.lock.
802ca5a5 24475
a4186cff
PT
24476 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24477 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24478 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 24479
bcf55240
TS
244802012-05-10 Thomas Schwinge <thomas@schwinge.name>
24481
6960eb42
TS
24482 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24483 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24484 definitions.
24485
eb43375f
TS
24486 accept4 for GNU Hurd.
24487 * include/sys/socket.h (__libc_accept4): New prototype.
24488 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24489 to implement __libc_accept4.
24490 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24491 __libc_accept4.
24492 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24493
bcf55240
TS
24494 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24495 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24496 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24497 signal-defines.sym.
24498
6178c55b
ST
244992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24500
a4186cff 24501 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 24502
6f080c2f
TS
245032012-05-10 Thomas Schwinge <thomas@schwinge.name>
24504
24505 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24506 assertion on O_CLOEXEC flag.
24507 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24508 * hurd/intern-fd.c: Likewise.
24509 * hurd/port2fd.c: Likewise.
24510
bcfe3a54
ST
245112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24512
24513 [BZ #3906]
24514 * bits/in.h (IPV6_PKTINFO): Define new macro.
24515 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24516
89c9aa49
AZ
245172012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24518
24519 [BZ #13954]
24520 [BZ #13955]
24521 [BZ #13956]
24522 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24523 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24524 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24525 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24526 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24527 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24528 * math/libm-test.inc (logb_test) : Additional logb tests.
24529
021db4be
AJ
245302012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24531 Andreas Jaeger <aj@suse.de>
24532
24533 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24534 * configure: Regenerated.
24535 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24536 * config.make.in (link-obsolete-rpc): New substituted variable.
24537 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24538 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24539 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24540 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24541 so that libc.a contains the symbols.
24542 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24543 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24544 * sunrpc/auth_none.c: Likewise.
24545 * sunrpc/auth_unix.c: Likewise.
24546 * sunrpc/authdes_prot.c: Likewise.
24547 * sunrpc/authuxprot.c: Likewise.
24548 * sunrpc/clnt_gen.c: Likewise.
24549 * sunrpc/clnt_perr.c: Likewise.
24550 * sunrpc/clnt_raw.c: Likewise.
24551 * sunrpc/clnt_simp.c: Likewise.
24552 * sunrpc/clnt_tcp.c: Likewise.
24553 * sunrpc/clnt_udp.c: Likewise.
24554 * sunrpc/clnt_unix.c: Likewise.
24555 * sunrpc/des_crypt.c: Likewise.
24556 * sunrpc/des_soft.c: Likewise.
24557 * sunrpc/get_myaddr.c: Likewise.
24558 * sunrpc/key_call.c: Likewise.
24559 * sunrpc/key_prot.c: Likewise.
24560 * sunrpc/netname.c: Likewise.
24561 * sunrpc/pm_getmaps.c: Likewise.
24562 * sunrpc/pm_getport.c: Likewise.
24563 * sunrpc/pmap_clnt.c: Likewise.
24564 * sunrpc/pmap_prot.c: Likewise.
24565 * sunrpc/pmap_prot2.c: Likewise.
24566 * sunrpc/pmap_rmt.c: Likewise.
24567 * sunrpc/publickey.c: Likewise.
24568 * sunrpc/rpc_cmsg.c: Likewise.
24569 * sunrpc/rpc_common.c: Likewise.
24570 * sunrpc/rpc_dtable.c: Likewise.
24571 * sunrpc/rpc_prot.c: Likewise.
24572 * sunrpc/rpc_thread.c: Likewise.
24573 * sunrpc/rtime.c: Likewise.
24574 * sunrpc/svc.c: Likewise.
24575 * sunrpc/svc_auth.c: Likewise.
24576 * sunrpc/svc_raw.c: Likewise.
24577 * sunrpc/svc_run.c: Likewise.
24578 * sunrpc/svc_tcp.c: Likewise.
24579 * sunrpc/svc_udp.c: Likewise.
24580 * sunrpc/svc_unix.c: Likewise.
24581 * sunrpc/svcauth_des.c: Likewise.
24582 * sunrpc/xcrypt.c: Likewise.
24583 * sunrpc/xdr.c: Likewise.
24584 * sunrpc/xdr_array.c: Likewise.
24585 * sunrpc/xdr_float.c: Likewise.
24586 * sunrpc/xdr_intXX_t.c: Likewise.
24587 * sunrpc/xdr_mem.c: Likewise.
24588 * sunrpc/xdr_rec.c: Likewise.
24589 * sunrpc/xdr_ref.c: Likewise.
24590 * sunrpc/xdr_sizeof.c: Likewise.
24591 * sunrpc/xdr_stdio.c: Likewise.
24592
b5c086a2
RM
245932012-05-10 Roland McGrath <roland@hack.frob.com>
24594
24595 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24596 change. Update copyright years.
24597
6d74dd09
JM
245982012-05-10 Joseph Myers <joseph@codesourcery.com>
24599
24600 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24601
28e72501
MK
246022012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24603 Joseph Myers <joseph@codesourcery.com>
24604 Paul Pluzhnikov <ppluzhnikov@google.com>
24605
24606 [BZ #14012]
24607 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24608 requiring rpcgen.
24609 [cross-compiling] (extra-libs): Likewise.
24610 [cross-compiling] (extra-libs-others): Likewise.
24611 [cross-compiling] (librpcsvc-routines): Likewise.
24612 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24613 [cross-compiling] (omit-deps): Likewise.
24614 (sunrpc-CPPFLAGS): New variable.
24615 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24616 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24617 (cross-rpcgen-objs): New variable.
24618 (extra-objs): Append $(cross-rpcgen-objs).
24619 ($(cross-rpcgen-objs)): New rule.
24620 ($(objpfx)cross-rpcgen): Likewise.
24621 (rpcgen-cmd): Define to use $(built-program-file). Expand
24622 comment.
24623 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24624 ($(objpfx)x%.stmp): Likewise.
24625 * sunrpc/proto.h [IS_IN_build] (_): Define.
24626 [IS_IN_build] (_libc_intl_domainname): Likewise.
24627
c8c59454
L
246282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24629
24630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
24631 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
24632 and R_X86_64_TPOFF64.
24633
6f27cd16
JM
246342012-05-10 Joseph Myers <joseph@codesourcery.com>
24635
24636 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
24637 sysdeps/unix/sysv/syscalls.list.
24638 (stime): Likewise.
24639 (utime): Likewise.
24640 * sysdeps/unix/sysv/syscalls.list: Remove file.
24641
02467e1c
PE
246422012-05-10 Paul Eggert <eggert@cs.ucla.edu>
24643
24644 [BZ #3440]
24645 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
24646 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
24647 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
24648 (__LC_IDENTIFICATION): Make these macros useful in #if
24649 expressions, as required by C99.
24650
da392631
AS
246512012-05-10 Andreas Schwab <schwab@linux-m68k.org>
24652
24653 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
24654 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
24655 after this.
24656
8115f29b
L
246572012-05-09 H.J. Lu <hongjiu.lu@intel.com>
24658
24659 * stdlib/longlong.h: Updated from GCC.
24660
bdd74070
AJ
246612012-05-09 Andreas Jaeger <aj@suse.de>
24662
edfe0dbe
AJ
24663 * nscd/nscd.c (run_modes): Make named enum, reorder so that
24664 default is first entry.
24665 (run_mode): Set type.
24666 (main): Remove informal message about syslog.
24667 (options): Fix typo.
24668
bcfe3a54
ST
24669 [BZ #14053]
24670 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 24671 to asm.
bcfe3a54
ST
24672 (lrint): Likewise.
24673 (llrintf): Likewise.
24674 (llrint): Likewise.
24675 (rint): Likewise.
24676 (rintf): Likewise.
24677 (nearbyint): Likewise.
24678 (nearbyintf): Likewise.
bdd74070 24679
91d8d69e
AJ
246802012-05-09 Andreas Jaeger <aj@suse.de>
24681 Pedro Alves <palves@redhat.com>
24682
24683 * nscd/nscd.c (run_mode): Use enum.
24684 (main): Cleanup coding style issue.
24685
bb90b80b
AJ
246862012-05-09 Alexandre Oliva <aoliva@redhat.com>
24687 Andreas Jaeger <aj@suse.de>
24688
bcfe3a54
ST
24689 * nscd/nscd.c (go_background): Replaced with...
24690 (run_mode): ... this.
bb90b80b 24691 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
24692 (options): Add -F --foreground.
24693 (main): Implement it.
24694 (parse_opt): Parse it.
bb90b80b 24695
1a4b75a1
AJ
246962012-05-09 Andreas Jaeger <aj@suse.de>
24697
24698 [BZ #14083]
24699 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
24700 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
24701 -Wconversion warning.
24702 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
24703 Likewise.
24704
b1cc2472
JM
247052012-05-09 Joseph Myers <joseph@codesourcery.com>
24706
24707 * conform/data/locale.h-data (NULL): Use macro-constant. Require
24708 == 0.
24709 (LC_ALL): Use macro-int-constant.
24710 (LC_COLLATE): Likewise.
24711 (LC_CTYPE): Likewise.
24712 (LC_MESSAGES): Likewise.
24713 (LC_MONETARY): Likewise.
24714 (LC_NUMERIC): Likewise.
24715 (LC_TIME): Likewise.
24716 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
24717 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24718 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24719 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
24720 Specify type.
24721 [C99-based standards] (float_t): Expect type.
24722 [C99-based standards] (double_t): Expect type.
24723 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
24724 type.
24725 [C99-based standards] (HUGE_VALL): Likewise.
24726 [C99-based standards] (INFINITY): Likewise.
24727 [C99-based standards] (NAN): Likewise.
24728 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
24729 [C99-based standards] (FP_NAN): Likewise.
24730 [C99-based standards] (FP_NORMAL): Likewise.
24731 [C99-based standards] (FP_SUBNORMAL): Likewise.
24732 [C99-based standards] (FP_ZERO): Likewise.
24733 [C99-based standards] (FP_FAST_FMA): Use
24734 optional-macro-int-constant. Specify type. Require == 1.
24735 [C99-based standards] (FP_FAST_FMAF): Likewise.
24736 [C99-based standards] (FP_FAST_FMAL): Likewise.
24737 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
24738 [C99-based standards] (FP_ILOGBNAN): Likewise.
24739 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
24740 Specify type.
24741 [C99-based standards] (MATH_ERREXCEPT): Likewise.
24742 [C99-based standards] (math_errhandling): Specify type.
24743 [ISO99 || ISO11] (signgam): Do not allow.
24744 [non-C99-based standards] (copysignf): Do not allow.
24745 [non-C99-based standards] (exp2f): Likewise.
24746 [non-C99-based standards] (log2f): Likewise.
24747 [non-C99-based standards] (modff): Allow.
24748 [non-C99-based standards] (erff): Do not allow.
24749 [non-C99-based standards] (erfcf): Likewise.
24750 [non-C99-based standards] (gammaf): Likewise.
24751 [non-C99-based standards] (hypotf): Likewise.
24752 [non-C99-based standards] (j0f): Likewise.
24753 [non-C99-based standards] (j1f): Likewise.
24754 [non-C99-based standards] (jnf): Likewise.
24755 [non-C99-based standards] (lgammaf): Likewise.
24756 [non-C99-based standards] (tgammaf): Likewise.
24757 [non-C99-based standards] (y0f): Likewise.
24758 [non-C99-based standards] (y1f): Likewise.
24759 [non-C99-based standards] (ynf): Likewise.
24760 [non-C99-based standards] (isnanf): Likewise.
24761 [non-C99-based standards] (acoshf): Likewise.
24762 [non-C99-based standards] (asinhf): Likewise.
24763 [non-C99-based standards] (atanhf): Likewise.
24764 [non-C99-based standards] (cbrtf): Likewise.
24765 [non-C99-based standards] (expm1f): Likewise.
24766 [non-C99-based standards] (ilogbf): Likewise.
24767 [non-C99-based standards] (log1pf): Likewise.
24768 [non-C99-based standards] (logbf): Likewise.
24769 [non-C99-based standards] (nextafterf): Likewise.
24770 [non-C99-based standards] (remainderf): Likewise.
24771 [non-C99-based standards] (rintf): Likewise.
24772 [non-C99-based standards] (scalbf): Likewise.
24773 [non-C99-based standards] (copysignl): Likewise.
24774 [non-C99-based standards] (exp2l): Likewise.
24775 [non-C99-based standards] (log2l): Likewise.
24776 [non-C99-based standards] (modfl): Allow.
24777 [non-C99-based standards] (erfl): Do not allow.
24778 [non-C99-based standards] (erfcl): Likewise.
24779 [non-C99-based standards] (gammal): Likewise.
24780 [non-C99-based standards] (hypotl): Likewise.
24781 [non-C99-based standards] (j0l): Likewise.
24782 [non-C99-based standards] (j1l): Likewise.
24783 [non-C99-based standards] (jnl): Likewise.
24784 [non-C99-based standards] (lgammal): Likewise.
24785 [non-C99-based standards] (tgammal): Likewise.
24786 [non-C99-based standards] (y0l): Likewise.
24787 [non-C99-based standards] (y1l): Likewise.
24788 [non-C99-based standards] (ynl): Likewise.
24789 [non-C99-based standards] (isnanl): Likewise.
24790 [non-C99-based standards] (acoshl): Likewise.
24791 [non-C99-based standards] (asinhl): Likewise.
24792 [non-C99-based standards] (atanhl): Likewise.
24793 [non-C99-based standards] (cbrtl): Likewise.
24794 [non-C99-based standards] (expm1l): Likewise.
24795 [non-C99-based standards] (ilogbl): Likewise.
24796 [non-C99-based standards] (log1pl): Likewise.
24797 [non-C99-based standards] (logbl): Likewise.
24798 [non-C99-based standards] (nextafterl): Likewise.
24799 [non-C99-based standards] (remainderl): Likewise.
24800 [non-C99-based standards] (rintl): Likewise.
24801 [non-C99-based standards] (scalbl): Likewise.
24802 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24803 [non-C99-based standards] (FP_*): Do not allow.
24804 [C99-based standards] (FP_*): Change to
24805 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
24806 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24807 allow.
24808 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
24809 (SIG_ERR): Likewise.
24810 [X/Open-based standards] (SIG_HOLD): Likewise.
24811 (SIG_IGN): Likewise.
24812 (SIGABRT): Use macro-int-constant. Specify type. Require
24813 positive value.
24814 (SIGFPE): Likewise.
24815 (SIGILL): Likewise.
24816 (SIGINT): Likewise.
24817 (SIGSEGV): Likewise.
24818 (SIGTER): Likewise.
24819 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
24820 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
24821 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
24822 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
24823 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
24824 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
24825 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
24826 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
24827 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
24828 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
24829 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
24830 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
24831 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
24832 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
24833 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
24834 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
24835 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
24836 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
24837 [X/Open-based standards] (SIGTRAP): Likewise.
24838 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
24839 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
24840 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
24841 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
24842 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24843 allow.
24844
b9f1922d
IW
248452012-05-08 Ian Wienand <ianw@vmware.com>
24846
24847 [BZ #14080]
24848 * time/tzset.c (__tzset_parse_tz): Update default rules for
24849 daylight time changes in the Energy Policy Act of 2005.
24850
1db86e88
AJ
248512012-05-09 Andreas Jaeger <aj@suse.de>
24852
24853 [BZ #13983]
24854 * elf/ldconfig.c (parse_conf): Change string to make clear that
24855 ldconfig only issued a warning if ld.so.conf does not exist.
24856
dee4a4e3
DM
248572012-05-08 David S. Miller <davem@davemloft.net>
24858
ee0db190
DM
24859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
24860 movxtod instead of popping the value on the stack.
24861
dee4a4e3
DM
24862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24863
6a43ec98
CD
248642012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
24865
24866 * config.h.in: Add HAVE_ARM_PCS_VFP.
24867
05c2c961
RMG
248682012-05-08 Roland Mc Grath <roland@hack.frob.com>
24869
bcfe3a54
ST
24870 [BZ #13979]
24871 * include/features.h: Warn if user requests __FORTIFY_SOURCE
24872 checking but the checks are disabled for any reason.
05c2c961 24873
4b30f61a
L
248742012-05-08 H.J. Lu <hongjiu.lu@intel.com>
24875
24876 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
24877 and ELF64_R_TYPE with ELFW(R_TYPE).
24878
eee2bc67
JM
248792012-05-08 Joseph Myers <joseph@codesourcery.com>
24880
7ea5391a
JM
24881 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
24882 (ulimit): Likewise.
24883
eee2bc67
JM
24884 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
24885 (settimeofday): Likewise.
24886
abb66a67
MF
248872012-05-08 Mike Frysinger <vapier@gentoo.org>
24888
24889 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
24890 a struct th_u2 inside the union, and move tu_block/tu_code into
24891 a new th_u3 union of tu_block/tu_code inside of that. Move
24892 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
24893 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
24894 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
24895 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
24896 (th_stuff): Change to th_u1.tu_stuff.
24897 (th_data): Define.
24898 (th_msg): Change to th_u1.th_u2.tu_data.
24899
7f18b530
DM
249002012-05-07 David S. Miller <davem@davemloft.net>
24901
05760585
DM
24902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24903
7f18b530
DM
24904 [BZ #14074]
24905 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
24906 (SETUP_PIC_REG): Use it.
24907 (SETUP_PIC_REG_LEAF): Use it.
24908
495fd99f
JM
249092012-05-07 Joseph Myers <joseph@codesourcery.com>
24910
24911 [BZ #13885]
24912 [BZ #13923]
24913 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24914 USE_AS_EXPM1L.
24915 (EXPL_FINITE): Likewise.
24916 (FLDLOG): Likewise.
24917 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24918 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24919 e_expl.S.
24920 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24921 USE_AS_EXPM1L.
24922 (EXPL_FINITE): Likewise.
24923 (FLDLOG): Likewise.
24924 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
24925 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
24926 e_expl.S.
24927 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
24928 test of -max_value argument for long double.
24929 * sysdeps/i386/fpu/libm-test-ulps: Update.
24930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24931
6693d694
DM
249322012-05-06 David S. Miller <davem@davemloft.net>
24933
24934 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
24935 quad soft-float symbols whose references which are compiler
24936 generated.
24937 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
24938
6c23e11c
JM
249392012-05-06 Joseph Myers <joseph@codesourcery.com>
24940
d8b82cad
JM
24941 [BZ #13884]
24942 [BZ #13914]
24943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24944 USE_AS_EXP10L.
24945 (EXPL_FINITE): Likewise.
24946 (FLDLOG): Likewise.
24947 (c0): Likewise.
24948 (c1): Likewise.
24949 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24950 Adjust comments for base varying.
24951 (__expl_finite): Change alias to EXPL_FINITE.
24952 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
24953 e_expl.S.
24954 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
24955 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
24956 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24957 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
24958 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
24959 USE_AS_EXP10L.
24960 (EXPL_FINITE): Likewise.
24961 (FLDLOG): Likewise.
24962 (c0): Likewise.
24963 (c1): Likewise.
24964 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
24965 Adjust comments for base varying.
24966 (__expl_finite): Change alias to EXPL_FINITE.
24967 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
24968 tests for bugs.
24969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24970
6c23e11c
JM
24971 [BZ #14064]
24972 * math/libm-test.inc (check_float_internal): Correct ulp
24973 calculation for subnormal expected results.
24974
29ba805c
AJ
249752012-05-06 Andreas Jaeger <aj@suse.de>
24976
24977 * Makeconfig (+math-flags): New, set to -frounding-math.
24978 (+cflags): Add +math-flags so that all of glibc gets compiled with
24979 it.
24980
24981 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
24982
7b17aeda
JM
249832012-05-05 Joseph Myers <joseph@codesourcery.com>
24984
5779f134
JM
24985 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
24986 Disable one test.
24987
41498f4d
JM
24988 [BZ #13787]
24989 [BZ #13922]
24990 [BZ #14036]
24991 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
24992 (__ieee754_expl): Allow for and saturate large arguments.
24993 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
24994 (u_threshold): Likewise.
24995 (__exp): Call __ieee754_exp before checking for overflow and
24996 underflow.
24997 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
24998 (u_threshold): Likewise.
24999 (__expf): Call __ieee754_expf before checking for overflow and
25000 underflow.
25001 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25002 (u_threshold): Likewise.
25003 (__expl): Call __ieee754_expl before checking for overflow and
25004 underflow.
25005 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25006 (__ieee754_expl): Allow for and saturate large arguments.
25007 * math/libm-test.inc (exp_test): Add another test. Do not allow
25008 missing overflow exception on overflow.
25009 (expm1_test): Do not allow missing overflow exception on overflow.
25010
6698b8bf
JM
25011 * sysdeps/i386/fpu/e_expl.c: Move to ...
25012 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25013 rather than using inline asm.
25014 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25015 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25016 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25017
7b17aeda
JM
25018 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25019 (nice): Likewise.
25020 (poll): Likewise.
25021 (signal): Likewise.
25022 (time): Likewise.
25023 (times): Likewise.
25024
f7c85819
JM
250252012-05-04 Joseph Myers <joseph@codesourcery.com>
25026
25027 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25028 sysdeps/unix/common/syscalls.list.
25029 (fchmod): Likewise.
25030 (fchown): Likewise.
25031 (ftruncate): Likewise.
25032 (getrusage): Likewise.
25033 (gettimeofday): Likewise.
25034 (setpgid): Likewise.
25035 (setregid): Likewise.
25036 (setreuid): Likewise.
25037 (sigaction): Likewise.
25038 (truncate): Likewise.
25039 (vhangup): Likewise.
25040 * sysdeps/unix/common/syscalls.list: Remove file.
25041 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25042 * sysdeps/unix/sysv/linux/Implies: Likewise.
25043
336270d0
L
250442012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25045
25046 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25048 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25049 Moved to ...
25050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25051 Here.
25052 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25053 to ...
25054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25055 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25056 to ...
25057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25058 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25059 to ...
25060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25061 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25062 to ...
25063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25064 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25065 to ...
25066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25067 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25068 to ...
25069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25070 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25071 to ...
25072 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25073 Here.
25074 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25075 to ...
25076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25077 Here.
25078 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25079 to ...
25080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25081 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25082 Moved to ...
25083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25084 Here.
25085 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25086 to ...
25087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25088
d128e450
JM
250892012-05-04 Joseph Myers <joseph@codesourcery.com>
25090
fa8ee516
JM
25091 * sysdeps/unix/common/bits/dirent.h: Remove file.
25092 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25093
d128e450
JM
25094 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25095 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25096 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25097 * sysdeps/unix/bsd/isatty.c: Likewise.
25098 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25099 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25100 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25101
ff8faaf0 251022012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 25103
62881be4 25104 [BZ #13563]
31dc8730
AZ
25105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25106 long double comparison inaccuracies.
25107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25109
6fef930c
AS
251102012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25111
25112 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25113 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25114
8f203e6c
JM
251152012-05-04 Joseph Myers <joseph@codesourcery.com>
25116
25117 [BZ #14049]
25118 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25119 nonzero digits before rounding a hex value.
25120 * stdlib/tst-strtod.c (tests): Add another test.
25121
5197d9c2
AK
251222012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25123
25124 * sysdeps/s390/fpu/libm-test-ulps: Update.
25125
f0c1dedf
AJ
251262012-05-03 Andreas Jaeger <aj@suse.de>
25127
25128 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25129 does not get optimized out.
25130 (malloc_opt_barrier): New.
25131
a65ef2ae 251322012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 25133 Roland McGrath <roland@hack.frob.com>
a65ef2ae 25134
2b942cb7 25135 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 25136 intermediate file deletion.
2b942cb7 25137 (generated): Add .symlist files.
a65ef2ae 25138
54b71e02
JM
251392012-05-03 Joseph Myers <joseph@codesourcery.com>
25140
25141 [BZ #13775]
25142 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25143 Redirect under this condition.
25144 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25145 [__USE_GNU] (__dprintf_chk): Not under this condition.
25146 [__USE_GNU] (__vdprintf_chk): Likewise.
25147 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25148 under this condition.
25149 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25150 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25151 [__USE_XOPEN2K8] (vdprintf): Likewise.
25152 [__USE_GNU] (__dprintf_chk): Not under this condition.
25153 [__USE_GNU] (__vdprintf_chk): Likewise.
25154 [__USE_GNU] (dprintf): Likewise.
25155 [__USE_GNU] (vdprintf): Likewise.
25156
d3dfcc41
RM
251572012-05-03 Roland McGrath <roland@hack.frob.com>
25158
25159 * elf/Makefile (common-generated): Set this instead of generated for
25160 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25161 $(all-built-dso)-derived lists.
25162
7ac30cc5
AJ
251632012-05-03 Andreas Jaeger <aj@suse.de>
25164
0c51e550
AJ
25165 * sysdeps/i386/fpu/libm-test-ulps: Update.
25166
7ac30cc5
AJ
25167 * FAQ: Removed.
25168 * FAQ.in: Likewise.
25169 * scripts/gen-FAQ.pl: Likewise.
25170 * manual/install.texi (Installation): Point to online location of
25171 FAQ.
25172 * Makefile (files-for-dist): Remove FAQ.
25173 (FAQ): Remove.
25174
d4c2917f
AM
251752012-05-02 Allan McRae <allan@archlinux.org>
25176
25177 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25178 (LDFLAGS-reldepmod5.so): Likewise.
25179 (LDFLAGS-reldep6mod1.so): Likewise.
25180 (LDFLAGS-reldep6mod4.so): Likewise.
25181 (LDFLAGS-reldep8mod3.so): Likewise.
25182 (LDFLAGS-unload4mod1.so): Likewise.
25183 (LDFLAGS-unload4mod2.so): Likewise.
25184 (LDFLAGS-tst-initorder): Likewise.
25185 (LDFLAGS-tst-initordera2.so): Likewise.
25186 (LDFLAGS-tst-initordera3.so): Likewise.
25187 (LDFLAGS-tst-initordera4.so): Likewise.
25188 (LDFLAGS-tst-initorderb2.so): Likewise.
25189 (LDFLAGS-noload): Likewise.
25190 (LDFLAGS-next): Likewise.
25191 (LDFLAGS-order2mod1.so): Likewise.
25192 (LDFLAGS-order2mod2.so): Likewise.
25193 (LDFLAGS-tst-initorder2): Likewise.
25194 (LDFLAGS-tst-initorder2a.so): Likewise.
25195 (LDFLAGS-tst-initorder2b.so): Likewise.
25196 (LDFLAGS-tst-initorder2c.so): Likewise.
25197 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25198
d77f993f
DM
251992012-05-02 David S. Miller <davem@davemloft.net>
25200
25201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25202
171a70b4
PP
252032012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25204
25205 [BZ #14055]
25206 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25207
0be196ad
AJ
252082012-05-02 Andreas Jaeger <aj@suse.de>
25209
25210 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25211 since we manipulate rounding mode.
25212 (CPPFLAGS-test-idouble.c): Likewise.
25213 (CPPFLAGS-test-ifloat.c): Likewise.
25214 (CFLAGS-test-ldouble.c): Likewise.
25215 (CFLAGS-test-double.c): Likewise.
25216 (CFLAGS-test-float.c): Likewise.
25217 (CFLAGS-test-misc.c): Likewise.
25218 (CFLAGS-test-test-fenv.c): Likewise.
25219
4f9d04aa
AZ
252202012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25221
2b942cb7
RM
25222 [BZ #2550]
25223 [BZ #2570]
25224 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25225 comparisons to determine direction to adjust input.
4f9d04aa 25226
82a79e7d
RM
252272012-05-01 Roland McGrath <roland@hack.frob.com>
25228
f5a01ca9
RM
25229 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25230 output to the target.
25231
90fe4186
RM
25232 * scripts/localplt.awk: New file.
25233 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25234 (check-localplt-CFLAGS): Variable removed.
25235 ($(all-built-dso:=.jmprel)): New static pattern rule.
25236 (generated): Add those targets.
25237 (localplt-built-dso): New variable.
25238 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25239
25240 * elf/check-localplt.c: File removed.
25241
82397ed6
RM
25242 * scripts/check-execstack.awk: New file.
25243 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25244 (check-execstack-CFLAGS): Variable removed.
25245 ($(objpfx)check-execstack.h): Target removed.
25246 ($(objpfx)execstack-default): New target.
25247 (generated): Add that instead of check-execstack.h.
25248 ($(all-built-dso:=.phdr)): New static pattern rule.
25249 (generated): Add those targets.
25250 * elf/check-execstack.c: File removed.
25251
82a79e7d
RM
25252 * scripts/check-textrel.awk: New file.
25253 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25254 (check-textrel-CFLAGS): Variable removed.
25255 (all-built-dso): Use := to define.o
25256 ($(all-built-dso:=.dyn)): New static pattern rule.
25257 (generated): Add those targets.
25258 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25259 * config.make.in (READELF): New substituted variable.
25260 * elf/check-textrel.c: File removed.
25261
62fde54f 252622012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 25263
615605c9
JM
25264 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25265 allow.
25266 * conform/data/ctype.h-data [C99-based standards] (isblank):
25267 Expect function.
25268 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25269 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25270 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25271 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25272 Specify type. Require positive value.
25273 (EILSEQ): Likewise.
25274 (ERANGE): Likewise.
25275 [ISO || POSIX] (EILSEQ): Do not expect.
25276 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25277 Specify type. Require positive value.
25278 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25279 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25280 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25281 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25282 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25283 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25284 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25285 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25286 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25287 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25288 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25289 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25290 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25291 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25292 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25293 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25294 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25295 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25296 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25297 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25298 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25299 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25300 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25301 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25302 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25303 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25304 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25305 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25306 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25307 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25308 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25309 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25310 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25311 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25312 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25313 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25314 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25315 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25316 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25317 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25318 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25319 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25320 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25321 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25322 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25323 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25324 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25325 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25326 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25327 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25328 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25329 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25330 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25331 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25332 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25333 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25334 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25335 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25336 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25337 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25338 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25339 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25340 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25341 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25342 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25343 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25344 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25345 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25346 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25347 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25348 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25349 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25350 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25351 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25352 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25353 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25354 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25355 Require >= 2.
25356 (FLT_ROUNDS): Expect as macro, not constant.
25357 (FLT_MANT_DIG): Use macro-int-constant.
25358 (DBL_MANT_DIG): Likewise.
25359 (LDBL_MANT_DIG): Likewise.
25360 (FLT_DIG): Likewise.
25361 (DBL_DIG): Likewise.
25362 (LDBL_DIG): Likewise.
25363 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25364 (DBL_MIN_EXP): Likewise.
25365 (LDBL_MIN_EXP): Likewise.
25366 (FLT_MAX_EXP): Use macro-int-constant.
25367 (DBL_MAX_EXP): Likewise.
25368 (LDBL_MAX_EXP): Likewise.
25369 (FLT_MAX_10_EXP): Likewise.
25370 (DBL_MAX_10_EXP): Likewise.
25371 (LDBL_MAX_10_EXP): Likewise.
25372 (FLT_MAX): Use macro-constant.
25373 (DBL_MAX): Likewise.
25374 (LDBL_MAX): Likewise.
25375 (FLT_EPSILON): Use macro-constant. Give upper bound.
25376 (DBL_EPSILON): Likewise.
25377 (LDBL_EPSILON): Likewise.
25378 (FLT_MIN): Likewise.
25379 (DBL_MIN): Likewise.
25380 (LDBL_MIN): Likewise.
25381 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25382 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25383 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25384 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25385 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25386 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25387 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25388 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25389 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25390 [ISO11] (FLT_TRUE_MIN): Likewise.
25391 [ISO11] (LDBL_TRUE_MIN): Likewise.
25392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25393 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25394 (SCHAR_MIN): Use macro-int-constant. Specify type.
25395 (SCHAR_MAX): Likewise.
25396 (UCHAR_MAX): Likewise.
25397 (CHAR_MIN): Likewise.
25398 (CHAR_MAX): Likewise.
25399 (MB_LEN_MAX): Use macro-int-constant.
25400 (SHRT_MIN): Use macro-int-constant. Specify type.
25401 (SHRT_MAX): Likewise.
25402 (USHRT_MAX): Likewise.
25403 (INT_MAX): Likewise.
25404 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25405 bound negative.
25406 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25407 bound with "U".
25408 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25409 bound with "L".
25410 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25411 bound negative. Suffix upper bound with "L".
25412 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25413 bound with "UL".
25414 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25415 Specify type.
25416 [C99-based standards] (LLONG_MAX): Likewise.
25417 [C99-based standards] (ULLONG_MAX): Likewise.
25418 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25419 == 0.
25420 [ISO11] (max_align_t): Require type.
25421 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25422
c9140a62
JM
25423 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25424 from $CFLAGS, without defining away __attribute__ calls.
25425 (checknamespace): Use $CFLAGS_namespace.
25426
9af0bf29
JM
25427 * conform/conformtest.pl (@keywords): Only include C99 keywords
25428 for standards based on C99 or C11.
25429
343222a2
JM
25430 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25431 Disable tests.
25432 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25433 UNIX98]: Likewise.
25434
661f8cf0
JM
25435 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25436 usability of symbols in #if.
25437
ee74b9cb
JM
25438 * conform/conformtest.pl: If macro or constant types start
25439 "promoted:", expect the symbol to be of the following type
25440 promoted by the integer promotions.
62fde54f 25441
aafc49b3
JM
25442 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25443 in one place. Also handle "macro-constant".
25444
fefdf574
JM
25445 * conform/conformtest.pl: Only accept expected macro values with
25446 "==". Parse all "macro" lines in one place.
25447 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25448
f2d922fe
JM
25449 * conform/conformtest.pl: Handle braced types on "constant" lines
25450 instead of handling "typed-constant".
25451 * conform/data/signal.h-data: Use "constant" instead of
25452 "typed-constant".
25453
d22956c9
JM
25454 * conform/conformtest.pl: Handle "optional-" at start of lines in
25455 one place rather than duplicating several cases. Handle each
25456 format of "macro" line with initial "optional-".
25457
028e2e38
JM
25458 * conform/conformtest.pl: Only accept expected constant or
25459 optional-constant values with "==". Parse all "constant" lines in
25460 one place. Parse all "optional-constant" lines in one place.
25461 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25462 * conform/data/fmtmsg.h-data: Likewise.
25463 * conform/data/netinet/in.h-data: Likewise.
25464 * conform/data/tar.h-data: Likewise.
25465 * conform/data/limits.h-data: Use "==" form on "constant" and
25466 "optional-constant" lines.
25467
1b8f2850
JM
25468 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25469 Use -std=c99 for XOPEN2K.
25470 (@knownproblems): Remove.
25471 (newtoken): Don't check %isknown.
25472
a05a144b
JM
25473 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25474 Do not expect macro.
25475 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25476 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25477 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25478 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25479 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25480 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25481 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25482 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25483 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25484 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25485 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25486 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25487 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25488 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25489 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25490 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25491 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25492 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25493 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25494 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25495 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25496 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25497 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25498 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25499 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25500 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25501 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25502 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25503 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25504 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25505 [XPG3] (acosh): Likewise.
25506 [XPG3] (asinh): Likewise.
25507 [XPG3] (atanh): Likewise.
25508 [XPG3] (cbrt): Likewise.
25509 [XPG3] (expm1): Likewise.
25510 [XPG3] (ilogb): Likewise.
25511 [XPG3] (log1p): Likewise.
25512 [XPG3] (logb): Likewise.
25513 [XPG3] (nextafter): Likewise.
25514 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25515 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25516 [XPG3] (remainder): Likewise.
25517 [XPG3] (rint): Likewise.
25518 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25519 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25520 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25521 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25522 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25523 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25524 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25525 [UNIX98 || XOPEN2K] (scalb): Expect.
25526 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25527 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25528 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25529 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25530 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25531 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25532 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25533 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25534 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25535 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25536 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25537 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25538 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25539 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25540 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25541 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25542 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25543 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25544 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25545 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25546 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25547 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25548 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25549 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25550 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25551 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25552 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25553 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25554 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25555 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25556 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25557 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25558 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25559 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25560 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25561 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25562 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25563 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25564 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25565 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25566 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25567 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25568 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25569 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25570 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25571 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25572 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25573 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25574 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25575 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25576 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25577 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25578 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25579 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25580 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25581 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25582 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25583 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25584 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25585 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25586 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25587 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25588 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25589 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25590 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25591 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25592 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25593 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25594 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25595 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25596 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25597 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25598 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25599 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25600 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25601 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25602 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25603 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25604 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25605 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25606 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25607 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25608 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25609 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25610 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25611 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25612 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25613 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25614 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25615 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25616 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25617 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25618 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25619 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25620 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25621 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25622 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25623 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25624 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25625 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25626 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25627 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25628 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
25629 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
25630 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
25631 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
25632 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
25633 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
25634 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
25635 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
25636 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
25637 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
25638 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
25639 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
25640 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
25641 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
25642 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
25643 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
25644 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
25645 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
25646 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
25647 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
25648 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
25649 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
25650 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
25651 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
25652 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
25653 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
25654 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
25655 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
25656 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
25657 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
25658 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
25659 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
25660 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
25661 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
25662 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
25663
73c5ebe3
JM
25664 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
25665 _XOPEN_SOURCE_EXTENDED for XPG4.
25666
39c33b6c
JM
25667 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
25668
62fde54f
JM
25669 * Makeconfig (localtime): Remove variable.
25670 (inst_localtime-file): Likewise.
25671
0741d64c
AS
256722012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25673
25674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
25675 Update.
25676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25677 Update.
25678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
25679 Update.
25680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25681 Update.
25682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
25683 Update.
25684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25685 Update.
25686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25687 Update.
25688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
25689 Update.
25690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25691 Update.
25692
7cb029ee
JM
256932012-05-01 Joseph Myers <joseph@codesourcery.com>
25694
25695 [BZ #2550]
25696 [BZ #2570]
25697 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
25698 comparisons to determine direction to adjust input.
25699 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25700 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
25701 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
25702 Likewise.
25703 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
25704 Likewise.
25705 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25706 Likewise.
25707 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
25708 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25709 Likewise.
25710 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25711 Likewise.
25712 * math/libm-test.inc (nexttoward_test): Add more tests.
25713
412bd966
AS
257142012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25715
25716 [BZ #14040]
25717 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
25718 in version GLIBC_2.1, not GLIBC_2.0.
25719 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
25720 Likewise.
25721
9568c0c2
JM
257222012-04-30 Joseph Myers <joseph@codesourcery.com>
25723
adfbc8ac
JM
25724 [BZ #13942]
25725 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
25726 (1 - x) * (1 + x).
25727 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25728 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
25729 * math/libm-test.inc (acos_test): Add more tests.
25730 (asin_test): Likewise.
25731 * sysdeps/i386/fpu/libm-test-ulps: Update.
25732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25733
5ba3cc69
JM
25734 [BZ #14034]
25735 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
25736 of square root.
25737 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
25738 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
25739 * math/libm-test.inc (acos_test_tonearest): New function.
25740 (acos_test_towardzero): Likewise.
25741 (acos_test_downward): Likewise.
25742 (acos_test_upward): Likewise.
25743 (asin_test_tonearest): Likewise.
25744 (asin_test_towardzero): Likewise.
25745 (asin_test_downward): Likewise.
25746 (asin_test_upward): Likewise.
25747 (main): Call the new functions.
25748 * sysdeps/i386/fpu/libm-test-ulps: Update.
25749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25750
9568c0c2
JM
25751 [BZ #13884]
25752 [BZ #13924]
25753 * math/e_exp10.c: Include <float.h>.
25754 (__ieee754_exp10): Handle underflow here rather than multiplying
25755 large negative argument by M_LN10.
25756 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
25757 of __ieee754_expf.
25758 * math/e_exp10l.c: Include <float.h>.
25759 (__ieee754_exp10l): Handle underflow here rather than multiplying
25760 large negative argument by M_LN10l.
25761 * math/libm-test.inc (exp10_test): Add another test. Do not allow
25762 spurious overflow exception on underflow.
25763
5ac3ea17
MP
257642012-04-29 Marek Polacek <polacek@redhat.com>
25765
25766 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
25767 (__fortify_function): New macro.
25768 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
25769 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
25770 __extern_always_inline.
25771 * libio/bits/stdio2.h: Likewise.
25772 * libio/bits/stdio.h: Likewise.
25773 * string/string.h: Likewise.
25774 * string/bits/string3.h: Likewise.
25775 * include/stdio.h: Likewise.
25776 * stdlib/bits/stdlib.h: Likewise.
25777 * stdlib/stdlib.h: Likewise.
25778 * rt/bits/mqueue2.h: Likewise.
25779 * rt/mqueue.h: Likewise.
25780 * posix/bits/unistd.h: Likewise.
25781 * posix/unistd.h: Likewise.
25782 * io/bits/poll2.h: Likewise.
25783 * io/bits/fcntl2.h: Likewise.
25784 * io/fcntl.h: Likewise.
25785 * io/sys/poll.h: Likewise.
25786 * misc/bits/syslog.h: Likewise.
25787 * misc/bits/syslog-ldbl.h: Likewise.
25788 * misc/sys/syslog.h: Likewise.
25789 * socket/bits/socket2.h: Likewise.
25790 * socket/sys/socket.h: Likewise.
25791 * debug/tst-chk1.c: Likewise.
25792 * wcsmbs/bits/wchar2.h: Likewise.
25793 * wcsmbs/bits/wchar-ldbl.h: Likewise.
25794 * wcsmbs/wchar.h: Likewise.
25795
ecf0ebfb
AJ
257962012-04-29 Andreas Jaeger <aj@suse.de>
25797
25798 * Makerules (tests): Remove enable-check-abi protection.
25799 (check-abi-warn): Remove.
25800 (check-abi-%): Remove check-abi-warn usage.
25801
25802 * configure.in: Remove check-abi configure option.
25803 * configure: Regenerated.
25804 * config.make.in (enable-check-abi): Remove.
25805
6d5c57fa
AS
258062012-04-28 Andreas Schwab <schwab@linux-m68k.org>
25807
24c5d07e 25808 [BZ #14033]
ded5180a
AS
25809 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
25810 double functions to double *_finite functions.
25811
7e0d315d
AS
25812 [BZ #13941]
25813 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
25814 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
25815 LDBL_MIN_EXP.
25816 * stdio-common/Makefile (tests): Add tst-sprintf3.
25817 * stdio-common/tst-sprintf3.c: New file.
25818
6d5c57fa
AS
25819 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
25820 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
25821
0749ff8b
JM
258222012-04-28 Joseph Myers <joseph@codesourcery.com>
25823
25824 * conform/conformtest.pl: Remove duplicate typed-constant
25825 handling.
25826
8dbd5d7b
DM
258272012-04-28 David S. Miller <davem@davemloft.net>
25828
25829 * Makerules (%.abilist): Add vpath on sysdep_dirs.
25830 (check-abi-%): Remove AWK script prerequisite and explicit
25831 abilist directory.
25832 (check-abi): Rewrite to just diff the symlist with the abilist.
25833 (config-tls, config-abi-config): Delete, no longer used.
25834 (update-abi-%): Remove AWK script and explicit abilist directory.
25835 (update-abi): Rewrite to simply compare and conditionally copy the
25836 symlist and the sysdep abilist file. Remove update-abi-config
25837 checks.
25838 * abilist/ld.abilist: Remove.
25839 * abilist/libBrokenLocale.abilist: Remove.
25840 * abilist/libanl.abilist: Remove.
25841 * abilist/libcrypt.abilist: Remove.
25842 * abilist/libdl.abilist: Remove.
25843 * abilist/librt.abilist: Remove.
25844 * abilist/libthread_db.abilist: Remove.
25845 * abilist/libutil.abilist: Remove.
25846 * scripts/extract-abilist.awk: Remove.
25847 * scripts/merge-abilist.awk: Remove.
25848 * sysdeps/generic/libcidn.abilist: New file.
25849 * sysdeps/generic/libnss_compat.abilist: New file.
25850 * sysdeps/generic/libnss_db.abilist: New file.
25851 * sysdeps/generic/libnss_dns.abilist: New file.
25852 * sysdeps/generic/libnss_files.abilist: New file.
25853 * sysdeps/generic/libnss_hesiod.abilist: New file.
25854 * sysdeps/generic/libnss_nis.abilist: New file.
25855 * sysdeps/generic/libnss_nisplus.abilist: New file.
25856 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
25857 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
25858 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
25859 file.
25860 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
25861 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
25862 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
25863 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
25864 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
25865 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
25866 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
25867 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
25868 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
25869 file.
25870 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
25871 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
25872 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
25873 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
25874 file.
25875 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
25876 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
25877 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
25878 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
25879 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
25880 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
25881 file.
25882 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
25883 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
25884 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
25885 file.
25886 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
25887 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
25888 New file.
25889 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
25890 New file.
25891 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
25892 New file.
25893 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
25894 New file.
25895 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
25896 New file.
25897 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
25898 New file.
25899 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
25900 New file.
25901 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
25902 New file.
25903 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
25904 New file.
25905 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
25906 New file.
25907 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
25908 New file.
25909 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
25910 New file.
25911 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
25912 New file.
25913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
25914 file.
25915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
25916 New file.
25917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
25918 New file.
25919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
25920 file.
25921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
25922 New file.
25923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
25924 New file.
25925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
25926 file.
25927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
25928 New file.
25929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25930 New file.
25931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
25932 New file.
25933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
25934 New file.
25935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
25936 New file.
25937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
25938 New file.
25939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
25940 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
25941 file.
25942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25943 New file.
25944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
25945 file.
25946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
25947 file.
25948 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
25949 file.
25950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
25951 file.
25952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
25953 file.
25954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25955 New file.
25956 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
25957 file.
25958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
25959 file.
25960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25961 New file.
25962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
25963 file.
25964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
25965 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
25966 file.
25967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25968 New file.
25969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
25970 file.
25971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
25972 file.
25973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
25974 file.
25975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
25976 file.
25977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
25978 file.
25979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25980 New file.
25981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
25982 file.
25983 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
25984 file.
25985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25986 New file.
25987 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
25988 file.
25989 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25990 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
25991 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
25992 file.
25993 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
25994 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
25995 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
25996 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
25997 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
25998 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
25999 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26000 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26001 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26002 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26005 file.
26006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26007 New file.
26008 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26009 file.
26010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26011 file.
26012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26013 file.
26014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26015 file.
26016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26017 file.
26018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26019 New file.
26020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26021 New file.
26022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26023 file.
26024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26025 New file.
26026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26027 file.
26028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26030 file.
26031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26032 New file.
26033 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26034 file.
26035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26036 file.
26037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26038 file.
26039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26040 file.
26041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26042 file.
26043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26044 New file.
26045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26046 New file.
26047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26048 file.
26049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26050 New file.
26051 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26052 file.
26053
41d73a1b
JM
260542012-04-28 Joseph Myers <joseph@codesourcery.com>
26055
26056 * conform/conformtest.pl: Fix typo in handling typed-constant from
26057 allow-header.
26058
28aeeda4
JM
260592012-04-27 Joseph Myers <joseph@codesourcery.com>
26060
adae8f5e
JM
26061 * README: Cut down references to pre-2.6 Linux kernels and
26062 Linuxthreads. Update lists of configurations in libc and ports
26063 and sort alphabetically. Say "or newer" with Linux kernel version
26064 requirements.
26065
28aeeda4
JM
26066 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26067
a462cb63
RA
260682012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26069
26070 [BZ #887]
26071 * math/libm-test.inc (logb_test_downward): New test to expose
26072 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26073 rounding mode.
26074
6ad3493e
JM
260752012-04-27 Joseph Myers <joseph@codesourcery.com>
26076
26077 [BZ #14027]
26078 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26079 to be done.
26080 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26081 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26082
2ce4f015
JM
260832012-04-26 Joseph Myers <joseph@codesourcery.com>
26084
5aeb141a
JM
26085 * sysdeps/unix/i386/brk.S: Remove file.
26086 * sysdeps/unix/i386/dl-brk.S: Likewise.
26087 * sysdeps/unix/i386/pipe.S: Likewise.
26088 * sysdeps/unix/i386/sigreturn.S: Likewise.
26089 * sysdeps/unix/i386/syscall.S: Likewise.
26090 * sysdeps/unix/i386/vfork.S: Likewise.
26091 * sysdeps/unix/i386/wait.S: Likewise.
26092
7143acae
JM
26093 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26094 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26095
2ce4f015
JM
26096 * configure.in (arm*-none*): Do not allow without
26097 --enable-hacker-mode.
26098 (netbsd*): Remove case setting base_os.
26099 (386bsd*): Likewise.
26100 (freebsd*): Likewise.
26101 (bsdi*): Likewise.
26102 (osf*): Likewise.
26103 (sunos*): Likewise.
26104 (ultrix*): Likewise.
26105 (newsos*): Likewise.
26106 (dynix*): Likewise.
26107 (*bsd*): Likewise.
26108 (sysv*): Likewise.
26109 (isc*): Likewise.
26110 (esix*): Likewise.
26111 (sco*): Likewise.
26112 (minix*): Likewise.
26113 (irix4*): Likewise.
26114 (irix6*): Likewise.
26115 (solaris[2-9]*): Likewise.
26116 (none): Likewise.
26117 * configure: Regenerated.
26118
0ac229c8
AZ
261192012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26120
26121 [BZ #11521]
26122 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26123 overflow or cancellation in calculating denominator.
26124 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26125 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26126 down expression to avoid unexpected rounding in newer GCCs.
26127 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26128
33f244f4
DM
261292012-04-26 David S. Miller <davem@davemloft.net>
26130
26131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26132 long-double compat symbols.
26133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26146
cfa1f3e8
DM
261472012-04-25 David S. Miller <davem@davemloft.net>
26148
26149 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26150 HWCAP_* values only after the memory barriers have been defined.
26151 (atomic_full_barrier): Define.
26152 (atomic_read_barrier): Define.
26153 (atomic_write_barrier): Define.
26154
6e236b92
SP
261552012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26156
26157 * shlib-versions: Add libgcc_s version information.
26158 * sysdeps/generic/libgcc_s.h: Remove.
26159 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26160 libgcc_s.h.
26161 * sysdeps/gnu/unwind-resume.c: Likewise.
26162 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26163
aab39a09
DM
261642012-04-25 David S. Miller <davem@davemloft.net>
26165
26166 * sysdeps/unix/sparc/brk.S: Delete.
26167 * sysdeps/unix/sparc/dl-brk.S: Delete.
26168 * sysdeps/unix/sparc/pipe.S: Delete.
26169 * sysdeps/unix/sparc/sysdep.S: Delete.
26170 * sysdeps/unix/sparc/sysdep.h: Delete.
26171 * sysdeps/unix/sparc/vfork.S: Delete.
26172 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26173 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26174 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26175 ret_ERRVAL, r0, r1, MOVE): Define.
26176 (JUMPTARGET): Remove.
26177 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26178 sysdeps/unix/sparc/sysdep.h
26179 (ENTRY, END): Remove.
26180 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26181
a3cc4f48
JM
261822012-04-25 Joseph Myers <joseph@codesourcery.com>
26183
2ed8cda2
JM
26184 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26185 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26186 -DIS_IN_build.
26187
35d76d59
JM
26188 * timezone/README: Update upstream location and email address for
26189 tzcode and tzdata.
26190 * timezone/zdump.c: Update from tzcode 2012b.
26191 * timezone/zic.c: Likewise.
26192
a3cc4f48
JM
26193 * configure.in (libc_cv_as_needed): Remove test.
26194 * configure: Regenerated.
26195 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26196 conditional definition.
26197 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26198 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26199 * config.make.in (have-as-needed): Remove variable.
26200
ceab42c3
SP
262012012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26202 Paul Pluzhnikov <ppluzhnikov@google.com>
26203
26204 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26205 strings correctly.
26206
3ce2865f
CLT
262072012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26208
26209 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26210 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26211 * sysdeps/sh/strlen.S: Likewise.
26212
f37e0d68
JM
262132012-04-24 Joseph Myers <joseph@codesourcery.com>
26214
ae186e9a
JM
26215 * sysdeps/unix/fork.S: Remove file.
26216 * sysdeps/unix/i386/fork.S: Likewise.
26217 * sysdeps/unix/sparc/fork.S: Likewise.
26218
b96914af
JM
26219 * sysdeps/unix/system.c: Remove file.
26220 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26221
f37e0d68
JM
26222 * sysdeps/unix/getegid.S: Remove file.
26223 * sysdeps/unix/geteuid.S: Likewise.
26224
87ef29ca
RM
262252012-04-24 Roland McGrath <roland@hack.frob.com>
26226
83bcd236
RM
26227 * scripts/check-localplt.awk: New file.
26228 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26229 of diff.
26230 * scripts/data/localplt-generic.data: Add a comment.
26231
87ef29ca
RM
26232 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26233 NODE when __dir_mkfile failed.
26234 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26235 Reported by Ludovic Courtès <ludo@gnu.org>.
26236
e5a6e567
AJ
262372012-04-24 Andreas Jaeger <aj@suse.de>
26238
26239 * Makerules (common-clean): Also remove gen-as-const-headers
26240 files.
26241
c1820385
JM
262422012-04-24 Joseph Myers <joseph@codesourcery.com>
26243
26244 * Makerules (native-compile): Do not change working directory for
26245 build. Use $(OUTPUT_OPTION) in command.
26246 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26247
94e02fc4
AZ
262482012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26249
26250 [BZ #13886]
26251 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26252 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26253 * math/libm-test.inc (floor_test): Add more tests.
26254 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26255
3a533ca3
JM
262562012-04-24 Joseph Myers <joseph@codesourcery.com>
26257
940ab4b3
JM
26258 * sysdeps/unix/getdents.c: Remove file.
26259 * sysdeps/unix/sysv/getdents.c: Likewise.
26260 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26261
90e037bd
JM
26262 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26263 sysdeps/unix/mman/syscalls.list.
26264 (mmap): Likewise.
26265 (mprotect): Likewise.
26266 (msync): Likewise.
26267 (munmap): Likewise.
26268 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26269 * sysdeps/unix/mman/syscalls.list: Remove.
26270 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26271
3a533ca3
JM
26272 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26273 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26274 * configure: Regenerated.
26275 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26276 $(libgcc_s_suffix).
26277 * config.make.in (libgcc_s_suffix): Remove variable.
26278
1ad743de
JM
262792012-04-23 Joseph Myers <joseph@codesourcery.com>
26280
4ad451e2
JM
26281 * sysdeps/unix/sysv/gethostname.c: Move to ...
26282 * sysdeps/posix/gethostname.c: ... here.
26283
5e37ce39
JM
26284 * sysdeps/unix/execve.S: Remove file.
26285
1ad743de
JM
26286 * sysdeps/unix/_exit.S: Remove file.
26287
4e681b5b
AJ
262882012-04-23 Andreas Jaeger <aj@suse.de>
26289
26290 [BZ #13739]
26291 * manual/Makefile: Remove make dist support, there's no
26292 need for a stand-alone documentation tar ball.
26293 (TEXI2DVI): Define always, it's not in Makeconfig.
26294 (dist): Removed.
26295 (tar-it): Removed.
26296 (edition): Removed.
26297 (glibc-doc-$(edition).tar): Removed
26298 (%.Z): Removed.
26299 (%.gz): Removed.
26300 (%.uu): Removed.
26301 (ETAGS): Remove, it's in Makeconfig.
26302 (move-if-change): Remove, it's in Makeconfig.
26303
38686a03 263042012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
26305
26306 [BZ #13970]
26307 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26308 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26309 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26310 (strtod_l, strtof_l, strtold_l): Remove __wur.
26311 It is not necessarily an error to ignore strtol's return value.
26312 One can reliably look at the stored endptr to decide whether
26313 the number had valid syntax.
26314
7c0616fa
AJ
263152012-04-21 Andreas Jaeger <aj@suse.de>
26316
803cb6b7 26317 [BZ #13739]
7c0616fa
AJ
26318 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26319
b0fe253f
JM
263202012-04-21 Joseph Myers <joseph@codesourcery.com>
26321
26322 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26323 * sysdeps/unix/sysv/Versions: Remove file.
26324
8280f22d
MT
263252012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26326
26327 [BZ #13927]
26328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26329
75ce411f 263302012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
26331
26332 [BZ #7064]
26333 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26334 version from __vm86.
26335
097d59fa
JM
263362012-04-20 Joseph Myers <joseph@codesourcery.com>
26337
a90f3bcb
JM
26338 * sysdeps/unix/common/lxstat.c: Remove file.
26339 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26340
edc7ea78
JM
26341 * sysdeps/unix/sysv/Makefile: Remove file.
26342
cb78c221
JM
26343 * sysdeps/unix/sysv/direct.h: Remove file.
26344
efa6a45f
JM
26345 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26346 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26347 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26348 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26349 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26350 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26351 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26352
9c9f2d0c
JM
26353 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26354
4541c83b
JM
26355 * sysdeps/unix/xmknod.c: Remove file.
26356 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26357
f5d153a0
JM
26358 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26359
aa746595
JM
26360 * sysdeps/unix/sysv/i386/time.S: Remove file.
26361
cce5905e
JM
26362 * sysdeps/unix/fxstat.c: Remove file.
26363 * sysdeps/unix/xstat.c: Likewise.
26364 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26365
37fa3841
JM
26366 * sysdeps/unix/sysv/sigaction.c: Remove file.
26367
ff1962a3
JM
26368 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26369 (sysdep_headers): Remove variable.
26370 [termio.h not in sysdep_headers] (generated): Likewise.
26371 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26372 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26373 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26374 * sysdeps/unix/sysv/tcflow.c: Likewise.
26375 * sysdeps/unix/sysv/tcflush.c: Likewise.
26376 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26377 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26378 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26379 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26380 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26381
e7740d31
JM
26382 * sysdeps/unix/siglist.c: Remove file.
26383
ee06f18b
JM
26384 * sysdeps/unix/getppid.S: Remove file.
26385
097d59fa
JM
26386 * sysdeps/unix/mkdir.c: Remove file.
26387 * sysdeps/unix/rmdir.c: Likewise.
26388
ff3d51ec
AS
263892012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26390
26391 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26392 ERR_MAX value.
26393 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26394 errlist-compat value.
26395
50f81fd7
DM
263962012-04-18 David S. Miller <davem@davemloft.net>
26397
26398 * sysdeps/generic/memcopy.h (reg_char): Delete.
26399 * debug/strcat_chk.c: Use char, not reg_char.
26400 * debug/strcpy_chk.c: Likewise.
26401 * debug/strncat_chk.c: Likewise.
26402 * debug/strncpy_chk.c: Likewise.
26403 * string/memchr.c: Likewise.
26404 * string/memrchr.c: Likewise.
26405 * string/rawmemchr.c: Likewise.
26406 * string/strcat.c: Likewise.
26407 * string/strchr.c: Likewise.
26408 * string/strchrnul.c: Likewise.
26409 * string/strcmp.c: Likewise.
26410 * string/strcpy.c: Likewise.
26411 * string/strncat.c: Likewise.
26412 * string/strncmp.c: Likewise.
26413 * string/strncpy.c: Likewise.
26414
8ff41c46
WS
264152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26416
26417 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26418 __builtin_memcopy is called when src and dest ranges are known to not
26419 overlap.
26420
6b652f46
WS
264212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26422
26423 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26424 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26425 fwd_align_merge macro call.
26426 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26427 bwd_align_merge macro call.
26428 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26429
b282631e
WS
264302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26431
26432 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26433 bwd_align_merge macros.
26434 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26435 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26436 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26437
95aa737c
DM
264382012-04-18 David S. Miller <davem@davemloft.net>
26439
26440 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26441
7a99a614
AJ
264422012-04-18 Andreas Jaeger <aj@suse.de>
26443
26444 [BZ# 6794]
26445 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26446 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26447 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26448
26449 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26450 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26451 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26452
26453 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26454 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26455 Adjust for changed ldbl-128 files.
26456
26457 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26458 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26459 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26460
e5270c23
DM
264612012-04-17 David S. Miller <davem@davemloft.net>
26462
26463 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26464
fb5e92c9
AS
264652012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26466
26467 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26468 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26469 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26470 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26471 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26472 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26473
76da7265
AZ
264742012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26475
26476 [BZ #6794]
26477 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26478 * math/libm-test.inc: Add ilogb errno and exception tests.
26479 * math/w_ilogb.c: New file: ilogb wrapper.
26480 * math/w_ilogbf.c: New file: ilogbf wrapper.
26481 * math/w_ilogbl.c: New file: ilogbl wrapper.
26482 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26483 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26484 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26485 exception being thrown with 0.0 as argument.
26486 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26487 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26488 exception being thrown with 0.0 as argument.
26489 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26490 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26491 exception being thrown with 0.0 as argument.
26492 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26493 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26494 exception being thrown with 0.0 as argument.
26495 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26496 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 26497 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
26498 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26499 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26500 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26501 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26502 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26503 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26504
0396e69d
PB
265052012-04-17 Petr Baudis <pasky@ucw.cz>
26506
26507 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26508 with altivec.
26509
750b5926
MP
265102012-04-16 Marek Polacek <polacek@redhat.com>
26511
26512 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26513
751728a1
MP
265142012-04-16 Marek Polacek <polacek@redhat.com>
26515
26516 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26517 operands of fdivp instruction.
26518
34a27407
L
265192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26520
26521 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26522 * elf/tst-auditmod3b.c: Likewise.
26523 * elf/tst-auditmod4b.c: Likewise.
26524 * elf/tst-auditmod5b.c: Likewise.
26525 * elf/tst-auditmod6b.c: Likewise.
26526 * elf/tst-auditmod6c.c: Likewise.
26527 * elf/tst-auditmod7b.c: Likewise.
26528 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26529 * sysdeps/x86_64/preconfigure.in: Likewise.
26530 * sysdeps/x86_64/preconfigure: Regenerated.
26531
7e73e17d
L
265322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26533
26534 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26535 __ILP32__.
26536
c7a6ab72
AB
265372012-04-13 Antoine Balestrat <merkil33@gmail.com>
26538
26539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26540 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26541
a9e8e0e0
CL
265422012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26543
26544 [BZ #13973]
26545 * locale/iso-639.def: Fix gl language name. Spotted by
26546 Yaron Shahrabani.
26547
ec98af7d
RM
265482012-04-12 Roland McGrath <roland@hack.frob.com>
26549
26550 [BZ #2074]
26551 * libio/libio.h (__io_write_fn): Update comment.
26552
247c3ede
PB
265532012-04-12 Petr Baudis <pasky@ucw.cz>
26554
26555 [BZ #2074]
26556 * stdio.texi (Hook Functions): The user provided writer function
26557 is not allowed to return -1.
26558
55939d6d
DM
265592012-04-11 David S. Miller <davem@davemloft.net>
26560
26561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26562
90020f5a
MF
265632012-04-11 Mike Frysinger <vapier@gentoo.org>
26564
26565 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26566 Add a leading slash to rtkaio.
26567
288f9098
JM
265682012-04-11 Jim Meyering <meyering@redhat.com>
26569
90020f5a
MF
26570 [BZ #11959]
26571 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26572 It is not necessarily an error to ignore fwrite's return
26573 value. One can reliably use ferror to test for errors after
26574 the fact.
288f9098 26575
4be2b570
L
265762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26577
26578 * bits/types.h (__snseconds_t): New type.
26579 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26580
26581 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26582 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26583 (__SNSECONDS_T_TYPE): Likewise.
26584 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26585 (__SNSECONDS_T_TYPE): Likewise.
26586 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26587 (__SNSECONDS_T_TYPE): Likewise.
26588
288f9098 265892012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
26590
26591 [BZ #2636]
26592 * manual/time.texi (Processor Time): Return type of times is
26593 elapsed real time since an arbitrary point in the past.
26594 (CPU Time): Move CLK_TCK from here...
26595 (Processor Time): ...to here. Correct description.
26596 * manual/conf.texi (Constants for Sysconf): Correct description of
26597 _SC_CLK_TCK.
26598
d7dd4413
DM
265992012-04-10 David S. Miller <davem@davemloft.net>
26600
26601 [BZ #13967]
26602 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26603 where the is a gap between DT_REL(A) and DT_JMPREL.
26604
b46068fc
L
266052012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26606
26607 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26608 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26609 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26610
73d65cc3
SP
266112012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26612
26613 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26614 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26615 (dl_main): Handle --inhibit-cache.
26616 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26617 _dl_inhibit_cache.
26618 * elf/dl-load.c (_dl_map_object): Use it.
26619 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26620
bcc8d661
JM
266212012-04-09 Joseph Myers <joseph@codesourcery.com>
26622
8f9a2fae
JM
26623 [BZ #13872]
26624 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26625 (__ieee754_powl): Saturate large exponents rather than testing for
26626 overflow of y*log2(x).
26627 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26628 * math/libm-test.inc (pow_test): Do not permit spurious overflow
26629 exceptions.
26630
bcc8d661
JM
26631 [BZ #11521]
26632 * math/s_ctan.c: Include <float.h>.
26633 (__ctan): Avoid internal overflow or cancellation in calculating
26634 denominator.
26635 * math/s_ctanf.c: Likewise.
26636 * math/s_ctanl.c: Likewise.
26637 * math/s_ctanh.c: Likewise.
26638 * math/s_ctanhf.c: Likewise.
26639 * math/s_ctanhl.c: Likewise.
26640 * math/libm-test.inc (ctan_test): Add more tests.
26641 (ctanh_test): Likewise.
26642 * sysdeps/i386/fpu/libm-test-ulps: Update.
26643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26644
823fbbb4
AJ
266452012-04-09 Andreas Jaeger <aj@suse.de>
26646
03879793
AJ
26647 [BZ #6894]
26648 * manual/filesys.texi (Directory Entries): Mention that d_namlen
26649 is an optional BSD extension.
26650
823fbbb4
AJ
26651 [BZ #10254]
26652 * manual/stdio.texi (Opening Streams): Document additional fopen
26653 parameters.
26654
8de131cb
RM
266552012-04-09 Roland McGrath <roland@hack.frob.com>
26656
26657 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
26658 %eax without telling the compiler.
26659
c0ed9d7d
CD
266602012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
26661
26662 [BZ # 13963]
26663 * manual/install.texi: Use sourceware.org.
26664
c483f6b4
JM
266652012-04-09 Joseph Myers <joseph@codesourcery.com>
26666
d7dd9453
JM
26667 [BZ #13873]
26668 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
26669 (__ieee754_pow): Generate overflow and underflow using huge*huge
26670 and tiny*tiny rather than just returning constant infinity or zero
26671 for large exponents.
26672 * math/libm-test.inc (pow_test): Require overflow exceptions for
26673 applicable cases of large exponents.
26674
c483f6b4
JM
26675 [BZ #706]
26676 * sysdeps/i386/fpu/e_pow.S (p10): New object.
26677 (__ieee754_pow): Use iterative multiplication algorithm only for
26678 integer exponents with absolute value below 1024. Check for odd
26679 integer exponents when using algorithm for real exponents.
26680 * math/libm-test.inc (pow_test): Add more tests.
26681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26682
d2de7579
JM
266832012-04-08 Joseph Myers <joseph@codesourcery.com>
26684
26685 [BZ #13705]
26686 * math/libm-test.inc (exp_test): Do not allow overflow exception
26687 on underflow test.
26688
f77f1232
AJ
266892012-04-08 Aurelien Jarno <aurelien@aurel32.net>
26690
26691 [BZ #13705]
26692 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
26693 instead of __kernel_standard_f.
26694
3884932b
MF
266952012-04-08 Mike Frysinger <vapier@gentoo.org>
26696
26697 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
26698 * sysdeps/x86_64/memset_chk.S: Likewise.
26699
54472e9c
AJ
267002012-04-08 Andreas Jaeger <aj@suse.de>
26701
6ab0fbfc
AJ
26702 [BZ #10153]
26703 * manual/startup.texi (Environment Access): Describe return value
26704 for putenv and setenv.
26705
61efba8c
AJ
26706 [BZ #6895]
26707 * manual/filesys.texi (Directory Entries): Add description for
26708 DT_LNK.
26709
95c3f29a
AJ
26710 [BZ #6890]
26711 * manual/filesys.texi (Directory Entries): Clarify that it's file
26712 system not operating system in the description of DT_UNKNOWN.
26713
54472e9c
AJ
26714 [BZ #6578]
26715 * manual/syslog.texi (closelog): Fix reference, it's openlog.
26716
624254b1
SC
267172012-04-08 Stephen Compall <s11@member.fsf.org>
26718
26719 [BZ #6649]
26720 * manual/llio.texi (Opening and Closing Files): Add cross
26721 reference to explain mode argument.
26722
1e4920e0
MF
267232012-04-07 Mike Frysinger <vapier@gentoo.org>
26724
26725 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
26726 * sysdeps/x86_64/memset_chk.S: Likewise.
26727
5ed848f3
DM
267282012-04-07 David S. Miller <davem@davemloft.net>
26729
26730 * elf/elf.h (R_SPARC_WDISP10): Define.
26731 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
26732 R_SPARC_SIZE32.
26733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
26734 R_SPARC_SIZE64 and R_SPARC_H34.
26735
96154cd8
CD
267362012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
26737
26738 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
26739 conditions and remove no longer applicable assertion.
26740
9904dc47
L
267412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26742
26743 * bits/byteswap.h: Include <features.h>.
26744 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26745 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26746
f8887d0a
L
267472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26748
26749 * bits/byteswap.h (__bswap_16): Removed.
26750 Include <bits/byteswap-16.h> to get __bswap_16.
26751 * sysdeps/i386/bits/byteswap.h: Likewise.
26752 * sysdeps/s390/bits/byteswap.h: Likewise.
26753 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26754 * bits/byteswap-16.h: New file.
26755 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26756 * sysdeps/s390/bits/byteswap-16.h: Likewise.
26757 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
26758 * string/Makefile (headers): Add bits/byteswap-16.h.
26759
62470f60
PP
267602012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26761
26762 [BZ #13895]
26763 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
26764 extra indirection.
26765 * nss/Makefile (tests-static, tests): Add tst-nss-static.
26766 * nss/tst-nss-static.c: New.
26767
4dad7bab
RM
267682012-04-06 Robert Millan <rmh@gnu.org>
26769
26770 [BZ #6486]
26771 * manual/llio.texi (File Position Primitive): lseek
26772 refers to WHENCE when it really means OFFSET.
26773
e9142a17
AJ
267742012-04-06 Andreas Jaeger <aj@suse.de>
26775
2c040eff
AJ
26776 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
26777 strncmp declarations.
26778
e9142a17
AJ
26779 * abilist/libc.abilist: Add __poll and __ppoll.
26780
ff9f1c5f
DM
267812012-04-05 David S. Miller <davem@davemloft.net>
26782
dcd2ae90
DM
26783 * scripts/check-local-headers.sh: Accept a host triplet in the
26784 path matched by the exclude regexp.
26785
993eb054
DM
26786 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
26787 definition.
26788 * sysdeps/powerpc/powerpc32/dl-machine.h
26789 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
26790 * sysdeps/s390/s390-32/dl-machine.h
26791 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26792 * sysdeps/sparc/sparc32/dl-machine.h
26793 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26794 * sysdeps/sparc/sparc64/dl-machine.h
26795 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
26796
ff9f1c5f
DM
26797 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
26798 lazy binding.
48e2e132 26799 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
26800 undefined symbol errors.
26801
48e2e132 26802 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
26803 DT_NEEDED entries.
26804
e80d6f94
MM
268052012-04-05 Michael Matz <matz@suse.de>
26806
26807 [BZ #13592]
26808 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
26809
349fa79f
AJ
268102012-04-05 Andreas Jaeger <aj@suse.de>
26811
26812 [BZ #13908]
26813 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
26814 comment.
26815
f402708f
KK
268162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26817
26818 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
26819 which ROUND is no valid rounding mode.
26820
2ecccfc9
KK
268212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26822
26823 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
26824 read again.
26825 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
26826
8a53f50f
KK
268272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26828
26829 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
26830 an exception using FPU order intentionally.
26831
268322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26833
26834 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
26835 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
26836 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
26837 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
26838
d653abb7
SJ
268392012-04-05 Simon Josefsson <simon@josefsson.org>
26840
26841 [BZ #12340]
26842 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
26843 EINVAL when BUFLEN is too smal.
26844
c3b1bf7d
TS
268452012-04-05 Thomas Schwinge <thomas@codesourcery.com>
26846
26847 [BZ #13553]
26848 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
26849 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
26850
b1aa60f3
AJ
268512012-04-03 Andreas Jaeger <aj@suse.de>
26852
c3b1bf7d 26853 [BZ #13938]
67f60a26
AJ
26854 * manual/setjmp.texi (System V contexts): Fix sentence.
26855
b1aa60f3
AJ
26856 [BZ #13926]
26857 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
26858 New macro for this case.
26859 [!__GNUC__] (__bswap_64): New inline function for this case.
26860 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26861 * bits/byteswap.h: Likewise.
26862 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
26863 ull, guard with __GLIBC_HAVE_LONG_LONG.
26864
26865 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
26866 __GLIBC_HAVE_LONG_LONG.
26867
26868 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
26869 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
26870
39c59c35
TMQMF
268712012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26872
26873 [BZ #13691]
26874 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
26875 inptr and inend, rather than using last_ch.
26876
135ffda8
DM
268772012-04-02 David S. Miller <davem@davemloft.net>
26878
26879 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
26880 * stdio-common/printf-parse.h (read_int): Change return type to
26881 'int', return -1 on INT_MAX overflow.
26882 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
26883 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
26884 overflows INT_MAX. Check for overflow of in-format-string precision
26885 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
26886 SIZE_MAX not INT_MAX for integer overflow test.
26887 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
26888 skip the construct in the format string but do not record anything.
26889 * stdio-common/bug22.c: Adjust to test both width/prevision
26890 INT_MAX overflow as well as total length INT_MAX overflow. Check
26891 explicitly for proper errno values.
26892
228c019e
TS
268932012-04-02 Thomas Schwinge <thomas@codesourcery.com>
26894
302cadd3
TS
26895 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
26896 CHAR_MAX.
26897 * string/test-strcmp.c [! WIDE]: Likewise.
26898 * time/tst-mktime2.c: Likewise for INT_MAX.
26899 * string/test-string.h: #include <sys/param.h> for MIN.
26900
228c019e
TS
26901 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26902 * sysdeps/i386/init-first.c (init): Likewise.
26903 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
26904 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
26905 * sysdeps/sh/init-first.c (init): Likewise.
26906
cfa633f5
UD
269072012-04-01 Ulrich Drepper <drepper@gmail.com>
26908
26909 * po/ru.po: Update from translation team.
d1635ef8 26910 * po/vi.po: Likewise.
cfa633f5 26911
6cd0a5ea
SP
269122012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26913
26914 * resolv/nss_dns/dns-host.c: Merge copyright years.
26915
4b43400f
LD
269162012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26917
26918 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26919 Optimize memcpy with prefetch if
26920 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
26921 src, dst pointers have unequal 16 byte alignments.
26922
48c41d04
SP
269232012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26924
26925 [BZ #13928]
26926 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
26927 from a CNAME entry and return the minimum ttl for the query.
26928 (gaih_getanswer_slice): Likewise.
26929
b8dc394d
JL
269302012-03-30 Jeff Law <law@redhat.com>
26931
26932 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26933 due to long keys.
26934 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
26935 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
26936
2f5a5ed0
JL
26937 * resolv/nss_dns/dns-host.c: Update copyright year.
26938
1d39e359
UD
269392012-03-30 Ulrich Drepper <drepper@gmail.com>
26940
c030f70c 26941 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 26942 requests to save a system call. Fix check that all bytes are sent.
c030f70c 26943
1d39e359
UD
26944 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
26945 comments for sendmmsg.
26946
269472012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
26948
26949 [BZ #13691]
26950 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
26951 with only 1 character between 0x0041 and 0x01b0.
26952 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
26953 * wcsmbs/tst-mbsnrtowcs.c: New file.
26954
20fde227
DM
269552012-03-29 David S. Miller <davem@davemloft.net>
26956
26957 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
26958 small copies by hand.
26959
984a4237
JL
269602012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26961
26962 [BZ #13761]
26963 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
26964 _nss_compat_initgroups_dyn): Fall back to malloc/free
26965 for large group memberships.
26966
18c9d62b
DM
269672012-03-28 David S. Miller <davem@davemloft.net>
26968
88d85d4f
DM
26969 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
26970 that branches into memcpy.
26971 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26972 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26973 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26974 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
26976 bits.
26977 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
26978 implementation too.
26979 * sysdeps/sparc/mempcpy.S: New file.
26980
e5aa83e1
DM
26981 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
26982 the IFUNC routine in the libc case.
26983 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26984
88570753
DM
26985 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
26986 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
26987 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
26988 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
26989 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
26990 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
26991 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
26992 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
26993
249d7567
DM
26994 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
26995 loop to 256 bytes instead of 64 bytes and fix test signedness.
26996
18c9d62b
DM
26997 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
26998 * sysdeps/sparc/sparc32/Makefile: rather than here...
26999 * sysdeps/sparc/sparc64/Makefile: and here.
27000
05f3d1f6
UD
270012012-03-28 Ulrich Drepper <drepper@gmail.com>
27002
27003 * malloc/mallocbug.c: Avoid warnings about unused variables.
27004
86ae07a8
JL
270052012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27006
27007 [BZ #13760]
27008 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27009 in the right place. Discard and retry query if response is
27010 larger than input buffer size.
27011
41bf21a1
JM
270122012-03-28 Joseph Myers <joseph@codesourcery.com>
27013
d6270972
JM
27014 [BZ #369]
27015 [BZ #2678]
27016 [BZ #3866]
27017 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27018 x for large integer exponent.
27019 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27020 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27021 sign of result as needed afterwards.
27022 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27023 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27024 result for underflowing pow the same as for overflow.
27025 (__kernel_standard_l): Handle powl overflow and underflow here
27026 rather than calling __kernel_standard.
27027 * math/libm-test.inc (pow_test): Add more tests.
27028
414fca03 27029 [BZ #3868]
41bf21a1
JM
27030 [BZ #13879]
27031 [BZ #13910]
27032 [BZ #13911]
27033 [BZ #13912]
27034 [BZ #13913]
27035 [BZ #13915]
27036 [BZ #13916]
27037 [BZ #13917]
27038 [BZ #13918]
27039 [BZ #13919]
27040 [BZ #13920]
27041 [BZ #13921]
27042 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27043 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27044 (__kernel_standard_l): New function.
27045 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27046 __kernel_standard.
27047 * math/w_acosl.c (__acosl): Likewise.
27048 * math/w_asinl.c (__asinl): Likewise.
27049 * math/w_atan2l.c (__atan2l): Likewise.
27050 * math/w_atanhl.c (__atanhl): Likewise.
27051 * math/w_coshl.c (__coshl): Likewise.
27052 * math/w_exp10l.c (__exp10l): Likewise.
27053 * math/w_exp2l.c (__exp2l): Likewise.
27054 * math/w_fmodl.c (__fmodl): Likewise.
27055 * math/w_hypotl.c (__hypotl): Likewise.
27056 * math/w_j0l.c (__j0l, __y0l): Likewise.
27057 * math/w_j1l.c (__j1l, __y1l): Likewise.
27058 * math/w_jnl.c (__jnl, __ynl): Likewise.
27059 * math/w_lgammal.c (__lgammal): Likewise.
27060 * math/w_log10l.c (__log10l): Likewise.
27061 * math/w_log2l.c (__log2l): Likewise.
27062 * math/w_logl.c (__logl): Likewise.
27063 * math/w_powl.c (__powl): Likewise.
27064 * math/w_remainderl.c (__remainderl): Likewise.
27065 * math/w_scalbl.c (sysv_scalbl): Likewise.
27066 * math/w_sinhl.c (__sinhl): Likewise.
27067 * math/w_sqrtl.c (__sqrtl): Likewise.
27068 * math/w_tgammal.c (__tgammal): Likewise.
27069 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27070 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27071 * math/libm-test.inc (acos_test): Add more tests.
27072 (acosh_test): Likewise.
27073 (asin_test): Likewise.
27074 (atanh_test): Likewise.
27075 (exp_test): Likewise.
27076 (exp10_test): Likewise.
27077 (exp2_test): Likewise.
27078 (expm1_test): Likewise.
27079 (lgamma_test): Likewise.
27080 (log_test): Likewise.
27081 (log10_test): Likewise.
27082 (log1p_test): Likewise.
27083 (log2_test): Likewise.
27084 (pow_test): Do not allow some spurious overflow exceptions.
27085 (sqrt_test): Add more tests.
27086 (tgamma_test): Likewise.
27087 (y0_test): Likewise.
27088 (y1_test): Likewise.
27089 (yn_test): Likewise.
27090
dd62fda6
AB
270912012-03-27 Anton Blanchard <anton@samba.org>
27092
27093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27094 MAP_HUGETLB.
27095 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27096 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27097 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27098
1e3cdfda
AJ
270992012-03-27 David S. Miller <davem@davemloft.net>
27100
b855ab85
DM
27101 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27102
1e3cdfda
AJ
27103 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27104 have-as-vis3 check.
27105
271062012-03-27 Andreas Jaeger <aj@suse.de>
27107
27108 * sysdeps/x86_64/elf/configure.in: Moved to ...
27109 * sysdeps/x86_64/configure.in: ... here.
27110 * sysdeps/x86_64/elf/start.S: Moved to ...
27111 * sysdeps/x86_64/start.S: ... here.
27112 * sysdeps/x86_64/elf/configure: Delete.
27113
27114 * sysdeps/x86_64/configure.in: Merge contents from
27115 sysdeps/i386/configure.in (without i686 check).
27116
27117 * sysdeps/i386/elf/Versions: Merge into ...
27118 * sysdeps/i386/Versions: ... this.
27119 * sysdeps/i386/elf/Versions: Delete file.
27120 * sysdeps/i386/elf/start.S: Moved to ...
27121 * sysdeps/i386/start.S: ...here.
27122 * sysdeps/i386/elf/configure.in: Merge into...
27123 * sysdeps/i386/configure.in: ...here.
27124 * sysdeps/i386/elf/configure.in: Delete file.
27125 * sysdeps/i386/elf/configure: Delete file.
27126
27127 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27128 * debug/backtracesyms.c: ... here.
27129 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27130 * debug/backtracesymsfd.c: ... here.
27131 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27132 * sysdeps/generic/ifunc-sel.h: ... here.
27133
27134 * sysdeps/unix/i386/start.c: Delete file.
27135 * sysdeps/unix/sparc/start.c: Delete file.
27136 * sysdeps/unix/start.c: Delete file.
27137
27138 * sysdeps/sh/elf/configure.in: Moved to ...
27139 * sysdeps/sh/configure.in: ... here.
27140 * sysdeps/sh/elf/start.S: Moved to ...
27141 * sysdeps/sh/start.S: ... here.
27142 * sysdeps/sh/elf/configure: Delete file.
27143
27144 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27145 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27146 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27147 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27148 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27149 * sysdeps/powerpc/powerpc64/start.S: here.
27150 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27151 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27152 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27153 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27154 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27155
27156 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27157 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27158 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27159 * sysdeps/powerpc/powerpc32/start.S: ... here.
27160 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27161 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27162 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27163
27164 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27165 * sysdeps/powerpc/ifunc-sel.h: ... here.
27166 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27167 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27168
27169 * sysdeps/sparc/elf/configure.in: Moved to ...
27170 * sysdeps/sparc/configure.in: ... here.
27171 * sysdeps/sparc/elf/configure: Delete file.
27172 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27173 * sysdeps/sparc/sparc32/start.S: ... here.
27174 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27175 * sysdeps/sparc/sparc64/start.S: ... here.
27176 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27177 * sysdeps/sparc/sparc32/Makefile: ... this.
27178 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27179 * sysdeps/sparc/sparc64/Makefile: ... this.
27180
27181 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27182 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27183 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27184 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27185 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27186 * sysdeps/s390/s390-32/setjmp.S: ... here.
27187 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27188 * sysdeps/s390/s390-32/configure.in: ... here.
27189 * sysdeps/s390/s390-32/elf/configure: Delete file.
27190 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27191 * sysdeps/s390/s390-32/start.S: ... here.
27192
27193 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27194 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27195 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27196 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27197 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27198 * sysdeps/s390/s390-64/setjmp.S: ... here.
27199 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27200 * sysdeps/s390/s390-64/configure.in: ... here
27201 * sysdeps/s390/s390-64/elf/configure: Delete file.
27202 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27203 * sysdeps/s390/s390-64/start.S: ... here.
27204 * sysdeps/s390/s390-64/elf/configure: Delete.
27205
27206 * configure.in: Remove support for elf directories in sysdeps.
27207
27208 * configure: Regenerated.
27209 * sysdeps/i386/configure: Regenerated.
27210 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27211 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27212 * sysdeps/s390/s390-32/configure: Regenerated.
27213 * sysdeps/s390/s390-64/configure: Regenerated.
27214 * sysdeps/sh/configure: Regenerated.
27215 * sysdeps/sparc/configure: Regenerated.
27216 * sysdeps/x86_64/configure: Regenerated.
27217
a3f61311
AS
272182012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27219
c876e002
AS
27220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27221
a3f61311
AS
27222 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27223 denormal result into account.
27224
ac4c54f0
RM
272252012-03-25 Roland McGrath <roland@hack.frob.com>
27226
27227 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27228 Reported by Allan McRae <allan@archlinux.org>.
27229
6a9b9c02
JL
272302012-03-23 Jeff Law <law@redhat.com>
27231
27232 * nss/getnssent.c (__nss_getent): Fix typo.
27233
4c42a0c1
DM
272342012-03-23 David S. Miller <davem@davemloft.net>
27235
27236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27237
1532c7ac
L
272382012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27239
27240 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27241 to pad to uint64_t for each field.
27242 (dl_tls_index): Replace unsigned long with uint64_t.
27243
3ff42526
PP
272442012-03-23 Daniel Jacobowitz <dmj@google.com>
27245 Paul Pluzhnikov <ppluzhnikov@google.com>
27246
27247 [BZ #6528]
27248 * grp/Makefile (otherlibs): Don't set it.
27249 * inet/Makefile (otherlibs): Likewise.
27250 * login/Makefile (otherlibs): Likewise.
27251 * nscd/Makefile (otherlibs): Likewise.
27252 * posix/Makefile (otherlibs): Likewise.
27253 * pwd/Makefile (otherlibs): Likewise.
27254 * rt/Makefile (otherlibs): Likewise.
27255 * sunrpc/Makefile (otherlibs): Likewise.
27256 * nss/Makefile (otherlibs): Likewise.
27257 Add libnss_files to routines and static-only-routines.
27258 ($(objpfx)getent): Remove rule.
27259 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27260 static-only-routines.
27261
7c69cd14
JM
272622012-03-22 Joseph Myers <joseph@codesourcery.com>
27263
27264 [BZ #13892]
27265 * math/s_cexp.c: Include <float.h>.
27266 (__cexp): Handle exp result overflowing not necessarily
27267 overflowing both real and imaginary parts of result.
27268 * math/s_cexpf.c: Likewise.
27269 * math/s_cexpl.c: Likewise.
27270 * math/libm-test.inc (cexp_test): Add more tests.
27271 * sysdeps/i386/fpu/libm-test-ulps: Update.
27272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27273
81b035fe
L
272742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27275
27276 * include/link.h (ELFW): New macro.
27277 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27278 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27279
1da7940c
L
272802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27281
27282 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27283 with uint64_t.
27284
b749dbb9
L
272852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27286
27287 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27288 declaration.
27289 (struct La_x32_retval): Likewise.
27290
2ff87f3f
L
272912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27292
27293 * sysdeps/x86_64/preconfigure.in: New file.
27294 * sysdeps/x86_64/preconfigure: New generated file.
27295
c0df8e69
JM
272962012-03-22 Joseph Myers <joseph@codesourcery.com>
27297
48e44791
JM
27298 [BZ #13824]
27299 * math/e_exp2l.c: Include <float.h>.
27300 (__ieee754_exp2l): Handle overflow and underflow cases
27301 separately. Only pass fractional part of argument to
27302 __ieee754_expl.
27303 * math/libm-test.inc (exp2_test): Add more tests.
27304
c0df8e69
JM
27305 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27306 negating x to take absolute value.
27307 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27308 Likewise.
27309 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27310 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27311 Likewise.
27312 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27313 computing low part if x was negated.
27314 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27315
c8e43ba7
L
273162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27317
27318 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27319 la_x32_gnu_pltexit.
27320 (pltexit): Cast int_retval to ptrdiff_t.
27321 * elf/tst-auditmod3b.c: Likewise.
27322 * elf/tst-auditmod4b.c: Likewise.
27323 * elf/tst-auditmod5b.c: Likewise.
27324 * elf/tst-auditmod6b.c: Likewise.
27325 * elf/tst-auditmod6c.c: Likewise.
27326 * elf/tst-auditmod7b.c: Likewise.
27327
27328 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27329 and x32_gnu_pltexit.
27330
27331 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27332 __ELF_NATIVE_CLASS.
27333 (La_x32_regs): New macro.
27334 (La_x32_retval): Likewise.
27335 (la_x32_gnu_pltenter): New function prototype.
27336 (la_x32_gnu_pltexit): Likewise.
27337
7998fa78
AS
273382012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27339
dcb33988
AS
27340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27341 exponent.
27342
233fc563
AS
27343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27344
7998fa78
AS
27345 * configure.in (libc_cv_cc_nofma): Check for option to disable
27346 generation of FMA instructions.
27347 * configure: Regenerate.
27348 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27349 * sysdeps/ieee754/dbl-64/Makefile: New file.
27350 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27351 Remove brandred-fma4.
27352 (CFLAGS-brandred-fma4.c): Remove.
27353 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27354 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27355 define.
27356 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27357 define.
27358
8e95c99a
L
273592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27360
27361 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27362 LLONG_MAX != LONG_MAX.
27363 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27364 (_fitoa_word): Likewise.
27365 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27366 LLONG_MAX != LONG_MAX.
27367 * stdio-common/_itowa.h: Include <_itoa.h>.
27368 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27369 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27370 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27371 only if not defined.
27372 (_ITOA_WORD_TYPE): Likewise.
27373 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27374 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27375
6f4db457
DM
273762012-03-21 David S. Miller <davem@davemloft.net>
27377
27378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27379
7785fe5a
L
273802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27381
27382 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27383 of x86_64 when setting libc_cv_slibdir, libdir and
27384 libc_cv_localedir.
27385 * sysdeps/unix/sysv/linux/configure: Regenerated.
27386
4535cd55
JM
273872012-03-21 Joseph Myers <joseph@codesourcery.com>
27388
27389 * manual/lang.texi (Old Varargs): Remove section.
27390 (How Variadic): Update menu.
27391 (va_start): Do not mention varargs.h.
27392
17228132
TS
273932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27394 Joseph Myers <joseph@codesourcery.com>
27395
27396 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27397 link test.
27398 * configure: Regenerated.
27399
8149f976
TS
274002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27401
05f3d1f6
UD
27402 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27403 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27404 conformtest.pl
8149f976 27405
1a4ac776
JM
274062012-03-21 Joseph Myers <joseph@codesourcery.com>
27407
be22ce65
JM
27408 * NOTES: Remove.
27409 * Makefile (files-for-dist): Remove NOTES.
27410 (NOTES): Remove rule.
27411 * README: Don't refer to NOTES.
27412 * manual/creature.texi: Don't include macros.texi.
27413 * manual/intro.texi (creature.texi): Remove comment referring to
27414 NOTES.
27415
40b601fb
JM
27416 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27417 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27418 * configure: Regenerated.
27419 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27420 LIBC_TRY_CC_OPTION.
27421 (libc_cv_as_i686): Likewise.
27422 (libc_cv_cc_avx): Likewise.
27423 (libc_cv_cc_sse2avx): Likewise.
27424 (libc_cv_cc_fma4): Likewise.
27425 (libc_cv_cc_novzeroupper): Likewise.
27426 * sysdeps/i386/configure: Regenerated.
27427
1a4ac776
JM
27428 [BZ #13883]
27429 * sysdeps/i386/fpu/s_cexp.S: Remove.
27430 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27431 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27432 * math/libm-test.inc (cexp_test): Add more tests.
27433 * sysdeps/i386/fpu/libm-test-ulps: Update.
27434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27435
a458e7fe
AM
274362012-03-21 Allan McRae <allan@archlinux.org>
27437
27438 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27439
0cb7efc5
JM
274402012-03-21 Joseph Myers <joseph@codesourcery.com>
27441
27442 [BZ #13871]
27443 * math/w_exp2.c: Do not include <float.h>.
27444 (o_threshold, u_threshold): Remove.
27445 (__exp2): Calculate result before checking finiteness and calling
27446 __kernel_standard.
27447 * math/w_exp2f.c: Likewise.
27448 * math/w_exp2l.c: Likewise.
27449 * math/libm-test.inc (exp2_test): Require overflow exception for
27450 1e6 input.
2460d3aa
JM
27451
27452 [BZ #3866]
27453 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27454 range of signed 64-bit integers before using fistpll. Remove
27455 checks for whether integers fit in mantissa bits.
27456 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27457 the range of signed 32-bit integers before using fistpl. Remove
27458 checks for whether integers fit in mantissa bits.
27459 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27460 (__ieee754_powl): Test for y outside the range of signed 64-bit
27461 integers before using fistpll. Reduce 64-bit values to 63-bit
27462 ones as needed.
27463 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27464 divide-by-zero is raised for zero to large negative powers.
27465 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27466 (__ieee754_powl): Test for y outside the range of signed 64-bit
27467 integers before using fistpll. Reduce 64-bit values to 63-bit
27468 ones as needed.
27469 * math/libm-test.inc (pow_test): Add more tests.
27470
eb96ffb0
L
274712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27472
27473 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27474 <stdio-common/_itoa.h>.
27475 * debug/segfault.c: Likewise.
27476 * elf/dl-cache.c: Likewise.
27477 * elf/dl-minimal.c: Likewise.
27478 * elf/dl-misc.c: Likewise.
27479 * elf/dl-sysdep.c: Likewise.
27480 * elf/dl-version.c: Likewise.
27481 * elf/rtld.c: Likewise.
27482 * hurd/hurdsock.c: Likewise.
27483 * hurd/lookup-retry.c: Likewise.
27484 * malloc/malloc.c: Likewise.
27485 * malloc/mtrace.c: Likewise.
27486 * nscd/nscd_getgr_r.c: Likewise.
27487 * nscd/nscd_getpw_r.c: Likewise.
27488 * nscd/nscd_getserv_r.c: Likewise.
27489 * posix/getopt_init.c: Likewise.
27490 * posix/wordexp.c: Likewise.
27491 * stdio-common/_itoa.c: Likewise.
27492 * stdio-common/printf_fphex.c: Likewise.
27493 * stdio-common/vfprintf.c: Likewise.
27494 * string/_strerror.c: Likewise.
27495 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27496 * sysdeps/i386/i686/hp-timing.h: Likewise.
27497 * sysdeps/mach/_strerror.c: Likewise.
27498 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27499 * sysdeps/mach/hurd/sethostid.c: Likewise.
27500 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27501 * sysdeps/mach/xpg-strerror.c: Likewise.
27502 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27503 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27504 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27505 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27506 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27507 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27508 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27509 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27510 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27511 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27512 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27513 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27514 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27515 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27516 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27517 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27518 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27519 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27520 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27521 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27522 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27523
27524 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27525
27526 * stdio-common/_itoa.h: Moved to ...
27527 * sysdeps/generic/_itoa.h: Here.
27528
27529 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27530
27531 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27532 instead of "_itoa.h" and "_itowa.h".
27533 * stdio-common/vfprintf.: Likewise.
27534
d1af992d
L
275352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27536
27537 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27538 <bits/wordsize.h>.
27539 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27540 (__signbit): Likwise.
27541 (llrintf): Likwise.
27542 (llrint): Likwise.
27543
114883e0
L
275442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27545
27546 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27547 __WORDSIZE != 64.
27548
c135cc1b
JM
275492012-03-20 Joseph Myers <joseph@codesourcery.com>
27550
27551 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27552 OVERFLOW_EXCEPTION_OK.
27553 * math/libm-test.inc ("Philosophy"): Update comment about
27554 exception testing.
27555 (OVERFLOW_EXCEPTION): Define.
27556 (OVERFLOW_EXCEPTION_OK): Likewise.
27557 (INVALID_EXCEPTION_OK): Renumber.
27558 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27559 (IGNORE_ZERO_INF_SIGN): Likewise.
27560 (test_exceptions): Handle FE_OVERFLOW.
27561 (exp10_test): Expect overflow exceptions.
27562 (exp2_test): Likewise.
27563 (expm1_test): Likewise.
27564 (nextafter_test): Likewise.
27565 (pow_test): Likewise.
27566 (scalbn_test): Likewise.
27567 (scalbln_test): Likewise.
27568
95443d88
L
275692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27570
27571 * sysdeps/x86_64/bits/atomic.h
27572 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27573 64bit integer.
27574 (atomic_exchange_acq): Likewise.
27575 (__arch_exchange_and_add_body): Likewise.
27576 (__arch_add_body): Likewise.
27577 (atomic_add_negative): Likewise.
27578 (atomic_add_zero): Likewise.
27579
490df6c4
L
275802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27581
c2722551 27582 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
27583 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27584
5e52b189
L
275852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27586
27587 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27588 Check __x86_64__ instead of __WORDSIZE.
27589
a9879d4c
L
275902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27591
27592 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27593
5df98260
DM
275942012-03-19 David S. Miller <davem@davemloft.net>
27595
e1497744
DM
27596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27597
5df98260
DM
27598 * sysdeps/sparc/fpu/fenv_private.h: New file.
27599 * sysdeps/sparc/fpu/math_private.h: Use it.
27600 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27601 Remove.
27602 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27603 (libc_feholdexcept_setroundl): Remove.
27604 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27605 Remove.
27606 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27607 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27608
b4c35121
L
276092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27610
27611 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27612 int64_t instead of long int.
27613 (INSERT_WORDS64): Likwise.
27614
56965fd7
L
276152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27616
27617 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27618 _Unwind_GetCFA return to _Unwind_Ptr first.
27619
83d1aec8
JM
276202012-03-19 Joseph Myers <joseph@codesourcery.com>
27621
1897ad44
JM
27622 [BZ #13629]
27623 * math/s_clog.c: Include <float.h>.
27624 (__clog): Scale large or subnormal inputs.
27625 * math/s_clogf.c: Likewise.
27626 * math/s_clogl.c: Likewise.
27627 * math/s_clog10.c: Include <float.h>.
27628 (M_LOG10_2): Define.
27629 (__clog10): Scale large or subnormal inputs.
27630 * math/s_clog10f.c: Likewise.
27631 * math/s_clog10l.c: Likewise.
27632 * math/libm-test.inc (clog_test): Add more tests.
27633 (clog10_test): Likewise.
27634 * sysdeps/i386/fpu/libm-test-ulps: Update.
27635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27636
7726d6a9
JM
27637 [BZ #11451]
27638 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
27639 x and y.
27640 * math/libm-test.inc (atan2_test): Add another test.
27641
83d1aec8
JM
27642 * Makerules (common-objdir-compile): Remove.
27643 * sysdeps/unix/Makefile (config-generated): Do not add
27644 $(unix-generated) to variable.
27645 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
27646 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
27647 Remove rule.
27648 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
27649 Likewise.
27650 [generic bits/local_lim.h] (before-compile): Do not append to
27651 variable.
27652 [generic bits/local_lim.h] (common-generated): Likewise.
27653 [generic sys/param.h] (before-compile): Do not append to variable.
27654 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
27655 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
27656 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
27657 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
27658 include.
27659 [generic sys/param.h] (sys/param.h-includes): Remove variable.
27660 [generic sys/param.h] (sys/param.h-includes): Remove rule.
27661 [generic sys/param.h] ($(addprefix
27662 $(common-objpfx),$(sys/param.h-includes))): Likewise.
27663 [generic sys/param.h] (common-generated): Do not append to
27664 variable.
27665 [generic sys/param.h] (sysdep_headers): Likewise.
27666 [generic bits/errno.h] (before-compile): Do not append to
27667 variable.
27668 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
27669 rule.
27670 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
27671 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
27672 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
27673 [generic bits/errno.h] (common-generated): Do not append to
27674 variable.
27675 [generic bits/ioctls.h] (before-compile): Do not append to
27676 variable.
27677 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
27678 rule.
27679 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
27680 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
27681 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
27682 rule.
27683 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
27684 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
27685 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
27686 [generic bits/ioctls.h] (common-generated): Do not append to
27687 variable.
27688 [generic sys/syscall.h] (syscall.h): Remove variable.
27689 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
27690 rule.
27691 [generic sys/syscall.h] (before-compile): Do not append to
27692 variable.
27693 [generic sys/syscall.h] (common-generated): Likewise.
27694 * sysdeps/unix/errnos-tmpl.c: Remove file.
27695 * sysdeps/unix/errnos.awk: Likewise.
27696 * sysdeps/unix/ioctls-tmpl.c: Likewise.
27697 * sysdeps/unix/ioctls.awk: Likewise.
27698 * sysdeps/unix/mk-local_lim.c: Likewise.
27699 * sysdeps/unix/snarf-ioctls: Likewise.
27700
4851a949
RH
277012012-03-19 Richard Henderson <rth@twiddle.net>
27702
bd37f2ee
RH
27703 * sysdeps/i386/fpu/fenv_private.h: New file.
27704 * sysdeps/i386/fpu/math_private.h: Use it.
27705 (math_opt_barrier, math_force_eval): Remove.
27706 (libc_feholdexcept_setround_53bit): Remove.
27707 (libc_feupdateenv_53bit): Remove.
27708 * sysdeps/x86_64/fpu/math_private.h: Likewise.
27709 (math_opt_barrier, math_force_eval): Remove.
27710 (libc_feholdexcept): Remove.
27711 (libc_feholdexcept_setround): Remove.
27712 (libc_fetestexcept, libc_fesetenv): Remove.
27713 (libc_feupdateenv_test): Remove.
27714 (libc_feupdateenv, libc_feholdsetround): Remove.
27715 (libc_feresetround): Remove.
27716
d0adc922
RH
27717 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
27718 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
27719
0fe0f1f8
RH
27720 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
27721 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
27722 (libc_feupdateenv_testl): New.
27723 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
27724 (libc_feupdateenv_testf): New.
27725 (libc_feupdateenv): Use libc_feupdateenv_test.
27726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
27727 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
27728
eb92c487
RH
27729 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
27730 (libc_feholdsetroundf, libc_feholdsetroundl): New.
27731 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
27732 (libc_feresetround_noex): New.
27733 (libc_feresetround_noexf): New.
27734 (libc_feresetround_noexl): New.
27735 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
27736 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
27737 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
27738 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
27739 SET_RESTORE_ROUND.
27740 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27741 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
27742 (__cos): Likewise.
27743 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27744 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27745 SET_RESTORE_ROUND_NOEX.
27746 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
27747 SET_RESTORE_ROUND_NOEXF.
27748 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
27749 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
27750 (libc_feholdsetroundf): New.
27751 (libc_feresetround, libc_feresetroundf): New.
27752
7d2e8012
RH
27753 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
27754 (libc_feholdexcept_setround_53bit): Convert from macro to function.
27755 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
27756
b4dabbb4
RH
27757 * sysdeps/generic/math_private.h: Include <fenv.h>.
27758 (default_libc_feholdexcept): New.
27759 (default_libc_feholdexcept_setround): New.
27760 (default_libc_fesetenv, default_libc_feupdateenv): New.
27761 (libc_feholdexcept): Only define if undefined.
27762 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
27763 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
27764 (libc_feholdexcept_setroundl): Likewise.
27765 (libc_feholdexcept_setround_53bit): Likewise.
27766 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
27767 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
27768 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
27769 (libc_feupdateenv_53bit): Likewise.
27770 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
27771 (libc_feholdexcept): Convert from macro to inline function.
27772 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
27773 (libc_fesetenv, libc_feupdateenv): Likewise.
27774
4851a949
RH
27775 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
27776 not previously defined.
27777 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
27778 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
27779 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
27780 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
27781 * sysdeps/ieee754/flt-32/math_private.h: New file.
27782 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
27783 math_private.h below SET_FLOAT_WORD.
27784 (__isnan, __isinf_ns, __finite): Remove.
27785 (__isnanf, __isinf_nsf, __finitef): Remove.
27786
e79d442e
AS
277872012-03-18 Andreas Schwab <schwab@linux-m68k.org>
27788
27789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27790
90b80344
DM
277912012-03-17 David S. Miller <davem@davemloft.net>
27792
27793 [BZ #6471]
27794 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
27795 for 2.16.
27796
edc21804
DM
277972012-03-16 David S. Miller <davem@davemloft.net>
27798
77e927af
DM
27799 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
27800 warnings.
27801
374976dd
DM
27802 [BZ #6471]
27803 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
27804 properly.
27805 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
27806 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
27807 sysdep_routines when subdir is sysvipc.
27808 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
27809 __getshmlba helper.
27810
edc21804
DM
27811 * sysdeps/sparc/fpu/libm-test/ulps: Update.
27812
473c3ef3
L
278132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27814
27815 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
27816 [__LP64__].
27817
eb0f39b6
L
278182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27819
27820 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
27821 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
27822 (__lround): Renamed to ...
27823 (__llround): This. Replace long int with long long int.
27824 Define lround functions as aliases of llround functions.
27825 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
27826
6b6cd74b
L
278272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27828
27829 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
27830 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
27831 adresses to uintptr_t. Replace "long int" and "unsigned long
27832 int" with "greg_t" on va_arg.
27833
f1a77b01
L
278342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27835
27836 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
27837 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
27838
27839 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
27840 Move e_machine check before EI_CLASS check. Handle x32
27841 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
27842 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
27843 SKIP_EM_IA_64 and include
27844 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
27845
27846 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
27847 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
27848 (add_system_dir): New macro.
27849
27850 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
27851 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
27852
11b90b9f
JM
278532012-03-16 Joseph Myers <joseph@codesourcery.com>
27854
c36e1d23
JM
27855 [BZ #2551]
27856 [BZ #2552]
27857 [BZ #2553]
27858 [BZ #2554]
27859 [BZ #2562]
27860 [BZ #2563]
27861 [BZ #2565]
27862 [BZ #2566]
27863 [BZ #2576]
27864 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
27865 (y0): Likewise.
27866 * math/w_j0f.c (j0f): Likewise.
27867 (y0f): Likewise.
27868 * math/w_j0l.c (__j0l): Likewise.
27869 (__y0l): Likewise.
27870 * math/w_j1.c (j1): Likewise.
27871 (y1): Likewise.
27872 * math/w_j1f.c (j1f): Likewise.
27873 (y1f): Likewise.
27874 * math/w_j1l.c (__j1l): Likewise.
27875 (__y1l): Likewise.
27876 * math/w_jn.c (jn): Likewise.
27877 (yn): Likewise.
27878 * math/w_jnf.c (jnf): Likewise.
27879 (ynf): Likewise.
27880 * math/w_jnl.c (__jnl): Likewise.
27881 (__ynl): Likewise.
27882 * math/libm-test.inc (j0_test): Add more tests.
27883 (j1_test): Likewise.
27884 (jn_test): Likewise. Add trailing semicolon to existing test.
27885 (y0_test): Likewise.
27886 (y1_test): Likewise.
27887 * sysdeps/i386/fpu/libm-test-ulps: Update.
27888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27889
11b90b9f
JM
27890 [BZ #13851]
27891 [BZ #13854]
27892 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27893 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
27894 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
27895 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
27896 (__tanl): Set errno for infinite argument.
27897 * sysdeps/i386/fpu/mptan.c: Remove.
27898 * sysdeps/i386/fpu/s_tan.S: Likewise.
27899 * sysdeps/i386/fpu/s_tanl.S: Likewise.
27900 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
27901 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
27902 * math/libm-test.inc (tan_test): Add more tests and enable more
27903 tests for double and long double.
27904 * sysdeps/i386/fpu/libm-test-ulps: Update.
27905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27906
6a1bd2a1
JK
279072012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
27908
27909 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
27910 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
27911
10a803e0
RM
279122012-03-16 Roland McGrath <roland@hack.frob.com>
27913
27914 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
27915 * configure.in: Use it for both main tree and add-ons.
27916 * configure: Regenerated.
27917
f196c7f7
L
279182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
27919
27920 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
27921
8848d99d
JM
279222012-03-16 Joseph Myers <joseph@codesourcery.com>
27923
96cbe7f4
JM
27924 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
27925 in comment.
27926
8848d99d
JM
27927 [BZ #13851]
27928 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
27929 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
27930 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
27931 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
27932 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
27933 infinite argument.
27934 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
27935 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
27936 != 0 for prec == 2.
27937 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
27938 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
27939 * sysdeps/i386/fpu/s_cosl.S: Likewise.
27940 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
27941 * sysdeps/i386/fpu/s_sinl.S: Likewise.
27942 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
27943 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
27944 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
27945 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
27946 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
27947 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
27948 * math/libm-test.inc (cos_test): Add more tests and enable more
27949 tests for long double.
27950 (sin_test): Likewise.
27951 (sincos_test): Likewise.
27952 * sysdeps/i386/fpu/libm-test-ulps: Update.
27953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27954
dd7f4703
DM
279552012-03-16 David S. Miller <davem@davemloft.net>
27956
27957 * sysdeps/sparc/fpu/math_private.h: New file.
27958
006f1daa
DM
279592012-03-15 David S. Miller <davem@davemloft.net>
27960
c0c83bc8
DM
27961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
27962 file.
e6a62e18 27963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
27964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
27965 file.
e6a62e18
DM
27966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
27967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
27968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
27969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
27970 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
27971 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
27972 sysdep routines.
27973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27974
88cb87d9
DM
27975 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
27976 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
27977
006f1daa 27978 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
27979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
27980 sparc-ifunc.h
006f1daa 27981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
27982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
27983 Likewise.
27984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
27985 Likewise.
006f1daa
DM
27986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
27987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
27988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
27989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
27990 Likewise.
006f1daa
DM
27991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
27992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
27993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
27994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
27995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
27996 Likewise.
27997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
27998 Likewise.
006f1daa
DM
27999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28003 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28004 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28005 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28006 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28007 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28008 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28010 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28014 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28015 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28016 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28017 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28018 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28019 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28020 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28021 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28022 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28023
11e0098e
AS
280242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28025
28026 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28027 scaling.
28028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28029
e85b09d0
AJ
280302012-03-15 Andreas Jaeger <aj@suse.de>
28031
28032 [BZ #13852]
28033 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28034 ieee754/flt-32 implementation for sin, cos and sincos.
28035 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28036 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28037 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28038 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28039 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28040 ieee754/flt-32 implementation for tan.
28041
28042 * math/libm-test.inc (cos_test): Enable some large input tests for
28043 float as well
28044 (sin_test): Likewise.
28045 (sincos_test): Likewise.
28046 (tan_test): Add tests for large input.
28047
28048 * sysdeps/i386/fpu/libm-test-ulps: Update.
28049
81c64153
AJ
280502012-03-15 Andreas Jaeger <aj@suse.de>
28051
28052 [BZ #13658]
28053 * math/libm-test.inc (cos_test): Add more test cases.
28054 (sin_test): Likewise.
28055 (sincos_test): Likewise.
28056
7bbfa5c6
AJ
280572012-03-15 Andreas Jaeger <aj@suse.de>
28058
28059 [BZ #13837]
28060 * math/libm-test.inc (cos_test): Add a test case for large input
28061 value.
28062 (sin_test): Likewise.
28063 (sincos_test): Likewise.
28064
280652012-03-15 Andreas Jaeger <aj@suse.de>,
28066 Joseph Myers <joseph@codesourcery.com>
28067
28068 [BZ #13658]
0671f479 28069 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
28070 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28071 * sysdeps/i386/fpu/branred.c: Likewise.
28072 * sysdeps/i386/fpu/dosincos.c: Likewise.
28073 * sysdeps/i386/fpu/mpa.c: Likewise.
28074 * sysdeps/i386/fpu/s_cos.S: Likewise.
28075 * sysdeps/i386/fpu/s_sin.S: Likewise.
28076 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28077 * sysdeps/i386/fpu/sincos32.c: Likewise.
28078
28079 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28080 Define.
28081 (libc_feupdateenv_53bit): Define.
28082 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28083 Define.
28084 (libc_feupdateenv_53bit): Define.
28085
28086 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28087 53 bit (without extend i386 double precision).
28088
28089 * math/libm-test.inc (sincos_test): Add tests for large input.
28090 (sin): Likewise.
28091 (cos): Likewise.
28092
28093 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28094
9cad04ea
AS
280952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28096
28097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28098
f7062b9a
DM
280992012-03-15 David S. Miller <davem@davemloft.net>
28100
28101 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28102 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28103 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28104 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
28116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28117 file.
f7062b9a 28118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
28119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28120 file.
f7062b9a 28121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
28122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28123 file.
f7062b9a 28124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
28125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28126 file.
f7062b9a
DM
28127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28128 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28129 fmin/fmax sysdep routines.
28130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28131
7bd951ff
DM
281322012-03-14 David S. Miller <davem@davemloft.net>
28133
559398ab
DM
28134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28137 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28139 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28140 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28141 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28143 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28156 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28157 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28159 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28160 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28161 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28162 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28163 routines.
28164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28165 file.
559398ab 28166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
28167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28168 file.
559398ab 28169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
28170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28171 file.
559398ab 28172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
28173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28174 file.
559398ab 28175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
28176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28177 file.
559398ab 28178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
28179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28180 file.
28181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28182 file.
28183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28184 file.
28185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28186 file.
28187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28188 New file.
28189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28190 file.
28191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28192 file.
559398ab 28193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
28194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28195 file.
559398ab 28196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
28197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28198 file.
559398ab 28199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
28200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28201 file.
559398ab 28202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
28203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28204 VIS3 routines.
559398ab
DM
28205
28206 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28207 New file.
28208
5a1c1e32
DM
28209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28210
eae47a36
DM
28211 * sysdeps/sparc/configure.in: New file.
28212 * sysdeps/sparc/configure: Generate.
28213 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28214 * configure: Regenerate.
28215 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28216 * config.make.in (have-as-vis3): New.
28217 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28218 available use -Av9d instead of -Av9a.
28219 * sysdeps/sparc/sparc64/Makefile: Likewise.
28220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
28221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28222 New file.
28223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28224 file.
28225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28226 New file.
28227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28228 file.
eae47a36
DM
28229 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28231 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28232 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28233 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28234
c0c83bc8
DM
28235 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28236 fzeros/fnegs to load 0x80000000 into a float register instead of
28237 using the stack.
7bd951ff
DM
28238 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28239
bd951ccb
JM
282402012-03-14 Joseph Myers <joseph@codesourcery.com>
28241
28242 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28243 bits/syscall.h.
28244 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28245 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28246 ($(inst_includedir)/bits/syscall.h): Remove rule.
28247 ($(objpfx)bits/syscall.d): Include instead of
28248 $(objpfx)syscall-list.d.
28249 (generated): Change syscall-list.h and syscall-list.d to
28250 bits/syscall.h and bits/syscall.d.
28251
bb4e6db2
RM
282522012-03-14 Roland McGrath <roland@hack.frob.com>
28253
28254 [BZ #13846]
28255 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28256
aa4a2ae1
JM
282572012-03-14 Joseph Myers <joseph@codesourcery.com>
28258
e456826d
JM
28259 [BZ #13841]
28260 * math/s_csqrt.c: Include <float.h>.
28261 (__csqrt): Scale large or subnormal inputs.
28262 * math/s_csqrtf.c: Likewise.
28263 * math/s_csqrtl.c: Likewise.
28264 * math/libm-test.inc (csqrt_test): Add more tests.
28265 * sysdeps/i386/fpu/libm-test-ulps: Update.
28266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28267
aa4a2ae1
JM
28268 [BZ #13840]
28269 * math/libm-test.inc (hypot_test): Add more tests.
28270
7c10fd35
DM
282712012-03-13 David S. Miller <davem@davemloft.net>
28272
28273 [BZ #13840]
28274 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28275 double-precision for the calculation instead of scaling.
28276
f453b98b
JM
282772012-03-13 Joseph Myers <joseph@codesourcery.com>
28278
28279 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28280 manipulate bits before adding and subtracting TWO52[sx].
28281 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28282 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28283 Likewise.
28284 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28285
09a3453f
DM
282862012-03-13 David S. Miller <davem@davemloft.net>
28287
8e59da90
DM
28288 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28289 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28290 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28291 rtld-global-offsets.h
28292 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28293
2a8ab7f2
DM
28294 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28295 large parameters.
28296
10f62770
DM
28297 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28298
5f0bdb18
DM
28299 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28300 'err' in the ifdef scope in which it is actually used.
28301
09a3453f
DM
28302 * nss/nss_db/db-init.c: Include string.h
28303
b4b2eb5e
DM
283042012-03-12 David S. Miller <davem@davemloft.net>
28305
98bb2f1c
DM
28306 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28307 masking out of the most significant byte of random value used.
28308 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28309 Fix coding style in previous change.
28310
b4b2eb5e
DM
28311 * sysdeps/unix/sysv/linux/kernel-features.h
28312 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28313 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28314 expression.
28315 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28316 later.
28317
6e226b09
DM
283182012-03-11 David S. Miller <davem@davemloft.net>
28319
a1bcbd40
DM
28320 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28321 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28322 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28323 for 'resultvar' otherwise things get truncated on 64-bit.
28324
cb9d6174
DM
28325 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28326 Fix masking out of the most significant byte of random value used.
28327
6e226b09
DM
28328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28329
058c132d
AS
283302012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28331
28332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28333
2d2cd515
DM
283342012-03-09 David S. Miller <davem@davemloft.net>
28335
28336 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28337 variables with appropriate CPP guards.
28338 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28339 frame pointer, not the stack pointer. Correct layout comments. Fix test
28340 on resulting framesize and the management of the outregs buffer for pltexit.
28341 Preserve floating point return values across _dl_call_pltexit call.
28342 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28343 framesize and the management of the outregs buffer for pltexit.
28344 Preserve floating point return values across _dl_call_pltexit
28345 call.
28346 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28347 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28348 (print_exit): Fix format string for return register value.
28349
9a07f9d0
JM
283502012-03-10 Joseph Myers <joseph@codesourcery.com>
28351
28352 * sunrpc/Makefile (others): Add rpcgen.
28353 ($(objpfx)rpcgen): Remove special build rule and dependency on
28354 libc.
28355 * sunrpc/rpcgen.c: New file.
28356
547b5e30
PE
283572012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28358
c524201a
PE
28359 [BZ #13673]
28360 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28361 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28362 * sysdeps/i386/crti.S: Likewise.
28363 * sysdeps/i386/crtn.S: Likewise.
28364 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28365 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28366 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28367 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28368 * sysdeps/sh/crti.S: Likewise.
28369 * sysdeps/sh/crtn.S: Likewise.
28370 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28371
7b6235f2
PE
28372 [BZ #13673]
28373 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28374 with URL.
28375 * locale/programs/locfile-kw.gperf: Likewise.
28376 * locale/programs/charmap-kw.h: Regenerated.
28377 * locale/programs/locfile-kw.h: Likewise.
28378
547b5e30
PE
28379 [BZ #13673]
28380 * intl/plural.y: Replace FSF snail mail address with URL.
28381 * intl/plural.c: Regenerated.
28382
5f0a5dae
RH
283832012-03-09 Richard Henderson <rth@twiddle.net>
28384
28385 * include/math_private.h: Remove file.
28386 * math/math_private.h: Move file ...
28387 * sysdeps/generic/math_private.h: ... here.
28388
b8c03620
RH
28389 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28390 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28391 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28392
4e234f5d 28393 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
28394 and <math_private.h>.
28395 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28396 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28397 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28398 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28399 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28400 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28401 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28402 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28403 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28404 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28406 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28407 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28408 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28409 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28410 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28411 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28412 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28413 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28414 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28415 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28416 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28417 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28419 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28420 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28421 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28422 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28424 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28425 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28426 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28427 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28428 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28429 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28432 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28433 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28434 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28435 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28436 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28437 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28438 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28439 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28440 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28441 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28442 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28443 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28444 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28445 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28446 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28447 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28448 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28449 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28450 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28451 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28452 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28453 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28454 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28455 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28456 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28458 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28459 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28460 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28461 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28462 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28463 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28464 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28466 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28467 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28468 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28469 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28472 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28473 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28474 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28475 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28476 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28477 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28478 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28479 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28481 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28482 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28483 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28484 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28485 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28486 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28487 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28488 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28489 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28490 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28491 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28492 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28493 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28494 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28495 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28496 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28497 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28498 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28499 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28500 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28501 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28502 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28503 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28505 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28506 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28507 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28508 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28509 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28510 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28511 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28512 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28513 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28514 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28515 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28516 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28517 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28518 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28519 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28520 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28521 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28522 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28523 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28524 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28525 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28526 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28527 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28528 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28529 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28530 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28531 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28532 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28533 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28534 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28535 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28536 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28537 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28538 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28539 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28540 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28541 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28542 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28543 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28544 * sysdeps/ieee754/k_standard.c: Likewise.
28545 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28546 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28547 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28548 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28549 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28550 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28551 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28552 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28553 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28554 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28555 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28556 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28557 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28558 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28559 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28560 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28561 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28562 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28563 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28564 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28565 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28566 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28567 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28568 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28569 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28570 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28571 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28572 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28573 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28574 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28575 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28576 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28577 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28578 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28579 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28580 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28581 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28582 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28583 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28584 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28585 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28586 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28587 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28588 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28589 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28590 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28591 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28592 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28593 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28594 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28595 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28596 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28597 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28598 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28599 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28600 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28601 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28602 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28603 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28604 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28605 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28606 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28607 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28608 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28610 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28611 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28612 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28613 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28614 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28615 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28616 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28617 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28618 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28619 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28620 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28621 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28622 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28623 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28624 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28625 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28626 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28627 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28628 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28629 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
28630 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28631 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28632 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28633 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28634 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28635 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
28636 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28637 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28638 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
28639 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28640 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28641 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
28642 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28643 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28644 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
28645 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28646 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28647 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28648 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28649 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
28650 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28651 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28652 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28653 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
28654 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28655 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28656 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28657 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28658 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28659 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28660 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28661 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28662 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28663 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28664 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28665 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28666 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28667 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28668 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28669 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28670 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
28671 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28672 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28673 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28674 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28675 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28676 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28677 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28678 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28679 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28680 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28681 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
28682 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
28683 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28684 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
28685 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
28686 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28687 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
28688 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
28689 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28690 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28691 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28692 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28693 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28694 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
28695 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28696 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28697 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28698 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28699 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
28700 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
28701 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
28705 * sysdeps/ieee754/s_lib_version.c: Likewise.
28706 * sysdeps/ieee754/s_matherr.c: Likewise.
28707 * sysdeps/ieee754/s_signgam.c: Likewise.
28708 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28709 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28710 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
28711 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
28712 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
28713 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28714 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
28715 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
28716 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
28717 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
28718 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
28719 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
28720 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28721 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28722 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
28723 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
28724 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28725 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
28726 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28728 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 28729
1991fa03
JM
287302012-03-09 Joseph Myers <joseph@codesourcery.com>
28731
28732 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
28733 * sunrpc/rpc_main.c: Likewise.
28734 * sunrpc/rpc_svcout.c: Likewise.
28735
60d6f5a6
DM
287362012-03-09 David S. Miller <davem@davemloft.net>
28737
28738 * include/math_private.h: New file.
28739
4962050e
JM
287402012-03-09 Joseph Myers <joseph@codesourcery.com>
28741
02a6f887
JM
28742 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
28743 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
28744 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
28745 from <bits/socket_type.h>.
28746 (enum __socket_type): Don't define here.
28747 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
28748 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28749 bits/socket_type.h.
28750
c6e013c1
JM
28751 [BZ #13566]
28752 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
28753 checking __USE_GNU.
28754
4962050e
JM
28755 * Makerules ($(inst_includedir)/%.h): New rule.
28756 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
28757 (install-others): Remove variable setting.
28758 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
28759
38842f45
RH
287602012-03-08 Richard Henderson <rth@twiddle.net>
28761
67bb6da6
RH
28762 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
28763 from macro to inline function; merge with the
28764 !__LIBC_INTERNAL_MATH_INLINES version.
28765 (__ieee754_sqrtf): Likewise.
28766
15194b4b
RH
28767 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
28768 to inline function.
28769 (__rintf, __floor, __floorf): Likewise.
28770
64e21ede
RH
28771 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
28772 macro to inline function.
28773 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
28774
38842f45
RH
28775 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
28776 not <math/math_private.h>.
28777
c64bf5fe
DM
287782012-03-08 David S. Miller <davem@davemloft.net>
28779
28780 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
28781 copyright year.
28782 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28783
82d86f28
TS
287842012-03-08 Thomas Schwinge <thomas@codesourcery.com>
28785
28786 * resolv/gai_misc.c (handle_requests): Fix struct timespec
28787 normalization.
28788 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
28789 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28790
aea5d727
UD
287912012-03-08 Ulrich Drepper <drepper@gmail.com>
28792
28793 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
28794 be defined individually, they must be defined as a block. Define
28795 S for printing a string instead of hidint the different by using a
28796 macro for adding the 'l'.
28797 * stdio-common/tst-fphex-wide.c: Adjust.
28798
70bca0a3
MP
287992012-03-07 Marek Polacek <polacek@redhat.com>
28800
28801 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
28802
65b81130
MP
288032012-03-08 Marek Polacek <polacek@redhat.com>
28804
28805 [BZ #13806]
28806 * stdio-common/Makefile (tests): Add tst-fphex-wide.
28807 * stdio-common/tst-fphex.c: Define a few macros to make the
28808 test reusable. Use them.
28809 * stdio-common/tst-fphex-wide.c: New file.
28810
07037eeb
JM
288112012-03-08 Joseph Myers <joseph@codesourcery.com>
28812
a7a93d50
JM
28813 [BZ #6911]
28814 * manual/macros.texi (gnusystems): New macro.
28815 (nongnusystems): Likewise.
28816 (gnulinuxhurdsystems): Likewise.
28817 (gnuhurdsystems): Likewise..
28818 (gnulinuxsystems): Likewise.
28819 * manual/charset.texi: Use new macros or @theglibc{} to refer to
28820 variants of the GNU system, not "GNU system".
28821 * manual/conf.texi: Likewise.
28822 * manual/errno.texi: Likewise. Update example of errno macro
28823 expansion.
28824 * manual/filesys.texi: Likewise.
28825 (getumask): Document as specific to GNU/Hurd.
28826 * manual/install.texi: Likewise. Reword some references to
28827 GNU/Linux.
28828 * manual/intro.texi: Likewise.
28829 * manual/io.texi: Likewise.
28830 (File Name Portability): Detail which constraints are inapplicable
28831 to all GNU systems and which are only inapplicable to GNU/Hurd.
28832 * manual/job.texi: Likewise.
28833 * manual/llio.texi: Likewise.
28834 (O_NOCTTY): Document as present on GNU/Linux.
28835 * manual/maint.texi: Likewise.
28836 * manual/memory.texi: Likewise.
28837 * manual/pattern.texi: Likewise.
28838 * manual/pipe.texi: Likewise.
28839 * manual/process.texi: Likewise.
28840 * manual/resource.texi: Likewise.
28841 (RUSAGE_CHILDREN): Remove statement about specifying a particular
28842 child on GNU/Hurd.
28843 * manual/setjmp.texi: Likewise.
28844 * manual/signal.texi: Likewise.
28845 * manual/startup.texi: Likewise.
28846 * manual/stdio.texi: Likewise.
28847 * manual/terminal.texi: Likewise.
28848 (ONLCR): Document as POSIX.
28849 (OXTABS): Document availability on GNU/Linux as XTABS.
28850 (ONOEOT): Document availability separately from other bits.
28851 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
28852 * manual/time.texi: Likewise.
28853 * manual/users.texi: Likewise.
28854 * INSTALL: Regenerated.
28855 * sysdeps/gnu/errlist.c: Regenerated.
28856
07037eeb
JM
28857 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
28858 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
28859 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
28860 puts.
28861 * configure: Regenerated.
28862
d1d3431a
JM
288632012-03-07 Joseph Myers <joseph@codesourcery.com>
28864
af6a1e37
JM
28865 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
28866 default includes instead of AC_HEADER_CHECK.
28867 * sysdeps/i386/configure: Regenerated.
28868
d1d3431a
JM
28869 [BZ #10716]
28870 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
28871 * math/s_cacoshf.c (__cacoshf): Likewise.
28872 * math/s_cacoshl.c (__cacoshl): Likewise.
28873 * math/s_casinh.c (__casinh): Set signs of result from argument.
28874 * math/s_casinhf.c (__casinhf): Likewise.
28875 * math/s_casinhl.c (__casinhl): Likewise.
28876 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
28877 (casinh_test): Add more tests.
28878 * sysdeps/i386/fpu/libm-test-ulps: Update.
28879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28880
482ff4da
UD
288812012-03-07 Ulrich Drepper <drepper@gmail.com>
28882
872fda05
UD
28883 * po/zh_TW.po: Update from translation team.
28884
a4300c7a
UD
28885 * login/Makefile (distribute): Remove variable.
28886 * catgets/Makefile: Likewise.
28887 * mach/Makefile: Likewise.
28888 * malloc/Makefile: Likewise.
28889 * misc/Makefile: Likewise.
28890 * iconv/Makefile: Likewise.
28891 * nscd/Makefile: Likewise.
28892 * hurd/Makefile: Likewise.
28893 * manual/Makefile: Likewise.
28894 * locale/Makefile: Likewise.
28895 * intl/Makefile: Likewise.
28896 * conform/Makefile: Likewise.
28897 * nss/Makefile: Likewise.
28898 * time/Makefile: Likewise.
28899 * soft-fp/Makefile: Likewise.
28900 * dirent/Makefile: Likewise.
28901 * gmon/Makefile: Likewise.
28902 * po/Makefile: Likewise.
28903 * rt/Makefile: Likewise.
28904 * socket/Makefile: Likewise.
28905 * math/Makefile: Likewise.
28906 * signal/Makefile: Likewise.
28907 * debug/Makefile: Likewise.
28908 * elf/Makefile: Likewise.
28909 * timezone/Makefile: Likewise.
28910 * stdlib/Makefile: Likewise.
28911 * iconvdata/Makefile: Likewise.
28912 * sunrpc/Makefile: Likewise.
28913 * io/Makefile: Likewise.
28914 * argp/Makefile: Likewise.
28915 * inet/Makefile: Likewise.
28916 * hesiod/Makefile: Likewise.
28917 * grp/Makefile: Likewise.
28918 * csu/Makefile: Likewise.
28919 * wctype/Makefile: Likewise.
28920 * crypt/Makefile: Likewise.
28921 * libio/Makefile: Likewise.
28922 * string/Makefile: Likewise.
28923 * nis/Makefile: Likewise.
28924 * resolv/Makefile: Likewise.
28925 * stdio-common/Makefile: Likewise.
28926 * wcsmbs/Makefile: Likewise.
28927 * dlfcn/Makefile: Likewise.
28928 * posix/Makefile: Likewise.
28929
3b7c4e74 28930 [BZ #6959]
482ff4da
UD
28931 * timezone/Makefile: Don't install timezone files, just the programs
28932 and scripts.
28933
f72ed77d
UD
289342012-03-06 Ulrich Drepper <drepper@gmail.com>
28935
a000466f
UD
28936 * nss/databases.def: Add missing gshadow entry.
28937
f72ed77d
UD
28938 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
28939
a53b7a4e
MP
289402012-03-06 Marek Polacek <polacek@redhat.com>
28941
28942 [BZ #13726]
28943 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
28944 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28945 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
28946 * stdio-common/tst-long-dbl-fphex.c: New file.
28947
e9258400
DM
289482012-03-06 David S. Miller <davem@davemloft.net>
28949
28950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28951 (set_obp_int): New function.
28952 (get_obp_int): New function.
28953 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
28954 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
28955 Avoid unused variable warnings on 'val' and use builtin_expect.
28956 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
28957 __builtin_expect.
e9258400
DM
28958 (INLINE_CLONE_SYSCALL): Likewise.
28959
3bd2c723
DM
289602012-03-05 David S. Miller <davem@davemloft.net>
28961
28962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28963
bbb78d03
AS
289642012-03-05 Andreas Schwab <schwab@linux-m68k.org>
28965
884c5db4
AS
28966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28967
bbb78d03
AS
28968 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
28969 only for |x| >= 40.
28970 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28971
1c9f702a 289722012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
28973
28974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
28975 Replace gettimeofday with __vdso_gettimeofday.
28976
7be16f82
RM
28977 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28978 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
28979 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
28980
28981 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
28982 time with __vdso_time.
28983
ed58a00f
JM
289842012-03-05 Joseph Myers <joseph@codesourcery.com>
28985
28986 * manual/lang.texi (size_t): Note types to which size_t may be
28987 equivalent with the GNU C Library, but do not describe when
28988 differences between them are significant.
28989
30ee4ced
AJ
289902012-03-05 Andreas Jaeger <aj@suse.de>
28991
28992 * sysdeps/i386/fpu/libm-test-ulps: Update.
28993
b7cd39e8
JM
289942012-03-05 Joseph Myers <joseph@codesourcery.com>
28995
28996 [BZ #3976]
28997 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
28998 (__ieee754_pow): Save and restore rounding mode and use
28999 round-to-nearest for main computations.
29000 * math/libm-test.inc (pow_test_tonearest): New function.
29001 (pow_test_towardzero): Likewise.
29002 (pow_test_downward): Likewise.
29003 (pow_test_upward): Likewise.
29004 (main): Call the new functions.
29005 * sysdeps/i386/fpu/libm-test-ulps: Update.
29006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
29007
29008 [BZ #3976]
29009 * math/libm-test.inc (cosh_test_tonearest): New function.
29010 (cosh_test_towardzero): Likewise.
29011 (cosh_test_downward): Likewise.
29012 (cosh_test_upward): Likewise.
29013 (sinh_test_tonearest): Likewise.
29014 (sinh_test_towardzero): Likewise.
29015 (sinh_test_downward): Likewise.
29016 (sinh_test_upward): Likewise.
29017 (main): Call the new functions.
29018 * sysdeps/i386/fpu/libm-test-ulps: Update.
29019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29020
6c6a98c9
TV
290212012-03-05 Tom de Vries <tom@codesourcery.com>
29022
29023 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29024 default stack guard is set in last bytes.
29025 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29026
21bb2d2e 290272012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 29028
21bb2d2e 29029 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 29030
21bb2d2e
AJ
29031 [BZ #13656]
29032 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29033 possibly allocate from heap instead of stack.
29034 * stdio-common/bug-vfprintf-nargs.c: New file.
29035 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 29036
c6922934
AS
290372012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29038
29039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29040
bc957d53
MP
290412012-03-03 Marek Polacek <polacek@redhat.com>
29042
29043 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29044 * math/math_private.h: Likewise.
29045 * stdlib/tst-strtod.c: Likewise.
29046 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29047 * sysdeps/x86_64/bits/atomic.h: Likewise.
29048
6358490d
DM
290492012-03-02 David S. Miller <davem@davemloft.net>
29050
29051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29055 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29056 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29057 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29058 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29059
01ae168d
RM
290602012-03-02 Roland McGrath <roland@hack.frob.com>
29061
d9a17c07
RM
29062 [BZ #13792]
29063 * manual/examples/README: New file, says the example source files
29064 can be used under GPL>=2.
29065 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29066 line containing just "*/".
29067 * manual/examples/add.c: Add copyright header (GPL>=2).
29068 * manual/examples/argp-ex1.c: Likewise.
29069 * manual/examples/argp-ex2.c: Likewise.
29070 * manual/examples/argp-ex3.c: Likewise.
29071 * manual/examples/argp-ex4.c: Likewise.
29072 * manual/examples/atexit.c: Likewise.
29073 * manual/examples/db.c: Likewise.
29074 * manual/examples/dir.c: Likewise.
29075 * manual/examples/dir2.c: Likewise.
29076 * manual/examples/execinfo.c: Likewise.
29077 * manual/examples/filecli.c: Likewise.
29078 * manual/examples/filesrv.c: Likewise.
29079 * manual/examples/fmtmsgexpl.c: Likewise.
29080 * manual/examples/genpass.c: Likewise.
29081 * manual/examples/inetcli.c: Likewise.
29082 * manual/examples/inetsrv.c: Likewise.
29083 * manual/examples/isockad.c: Likewise.
29084 * manual/examples/longopt.c: Likewise.
29085 * manual/examples/memopen.c: Likewise.
29086 * manual/examples/memstrm.c: Likewise.
29087 * manual/examples/mkfsock.c: Likewise.
29088 * manual/examples/mkisock.c: Likewise.
29089 * manual/examples/mygetpass.c: Likewise.
29090 * manual/examples/pipe.c: Likewise.
29091 * manual/examples/popen.c: Likewise.
29092 * manual/examples/rprintf.c: Likewise.
29093 * manual/examples/search.c: Likewise.
29094 * manual/examples/select.c: Likewise.
29095 * manual/examples/setjmp.c: Likewise.
29096 * manual/examples/sigh1.c: Likewise.
29097 * manual/examples/sigusr.c: Likewise.
29098 * manual/examples/stpcpy.c: Likewise.
29099 * manual/examples/strdupa.c: Likewise.
29100 * manual/examples/strftim.c: Likewise.
29101 * manual/examples/strncat.c: Likewise.
29102 * manual/examples/subopt.c: Likewise.
29103 * manual/examples/swapcontext.c: Likewise.
29104 * manual/examples/termios.c: Likewise.
29105 * manual/examples/testopt.c: Likewise.
29106 * manual/examples/testpass.c: Likewise.
29107 * manual/examples/timeval_subtract.c: Likewise.
29108
01ae168d
RM
29109 [BZ #13792]
29110 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29111 function to ...
29112 * manual/timeval_subtract.c.texi: ... here, new file.
29113
49efa33d
DM
291142012-03-02 David S. Miller <davem@davemloft.net>
29115
29116 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29117
28afd92d
JM
291182012-03-02 Joseph Myers <joseph@codesourcery.com>
29119
804360ed
JM
29120 [BZ #3976]
29121 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29122 (__sin): Save and restore rounding mode and use round-to-nearest
29123 for all computations.
29124 (__cos): Save and restore rounding mode and use round-to-nearest
29125 for all computations.
29126 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29127 <fenv.h>.
29128 (tan): Save and restore rounding mode and use round-to-nearest for
29129 all computations.
29130 * math/libm-test.inc (cos_test_tonearest): New function.
29131 (cos_test_towardzero): Likewise.
29132 (cos_test_downward): Likewise.
29133 (cos_test_upward): Likewise.
29134 (sin_test_tonearest): Likewise.
29135 (sin_test_towardzero): Likewise.
29136 (sin_test_downward): Likewise.
29137 (sin_test_upward): Likewise.
29138 (tan_test_tonearest): Likewise.
29139 (tan_test_towardzero): Likewise.
29140 (tan_test_downward): Likewise.
29141 (tan_test_upward): Likewise.
29142 (main): Call the new functions.
29143 * sysdeps/i386/fpu/libm-test-ulps: Update.
29144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29145
a6d06d7b
JM
29146 [BZ #10135]
29147 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29148 small n, then large n, before computing and testing k+n.
29149 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29150 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29151 Likewise.
29152 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29153 Likewise.
29154 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29155 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29156 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29157 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29158 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29159 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29160 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29161 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29162 * math/libm-test.inc (scalbn_test): Add more tests.
29163 (scalbln_test): Likewise.
29164
07e12bb3
JM
29165 * manual/filesys.texi (mode_t): Describe constraints on size and
29166 signedness, not exact equivalence to a particular type.
29167 (ino_t): Likewise.
29168 (ino64_t): Likewise.
29169 (dev_t): Likewise.
29170 (nlink_t): Likewise.
29171 (blkcnt_t): Likewise.
29172 (blkcnt64_t): Likewise.
29173 * manual/llio.texi (off_t): Likewise.
29174
28afd92d
JM
29175 [BZ #3976]
29176 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29177 (__ieee754_exp): Save and restore rounding mode and use
29178 round-to-nearest for all computations.
29179 * math/libm-test.inc (exp_test_tonearest): New function.
29180 (exp_test_towardzero): Likewise.
29181 (exp_test_downward): Likewise.
29182 (exp_test_upward): Likewise.
29183 (main): Call the new functions.
29184 * sysdeps/i386/fpu/libm-test-ulps: Update.
29185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29186
b1eeb65d
CD
291872012-03-01 Chris Demetriou <cgd@google.com>
29188
29189 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29190 have predictable order.
29191
53362a4b
DM
291922012-03-01 David S. Miller <davem@davemloft.net>
29193
3c969083
DM
29194 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29195
759707de
DM
29196 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29197 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29198 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29199 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29200
dfdb8ff2
DM
29201 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29202 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29203 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29205 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29206 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29207 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29208 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29209 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29210
ead89f96
DM
29211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29212
7f66bd07
DM
29213 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29214 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29215 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29216
53362a4b
DM
29217 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29218 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29219 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29220 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29221 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29223 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29224 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29225 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29226 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29227 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29230 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29231 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29232 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29233 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29234 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29235 * sysdeps/sparc/elf/configure: Regenerated.
29236
7b1902cb
JM
292372012-03-01 Joseph Myers <joseph@codesourcery.com>
29238
bec039bc
JM
29239 * configure.in (AS, LD): Require binutils 2.20 or later.
29240 * configure: Regenerated.
29241 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29242 as required minimum version.
29243 * INSTALL: Regenerated.
29244
7b1902cb
JM
29245 [BZ #2541]
29246 [BZ #4108]
29247 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29248 before squaring exponent.
29249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29250 bottom long double and 27 bits of top long double before squaring
29251 exponent.
29252 * math/libm-test.inc (erfc_test): Add more tests.
29253 * sysdeps/i386/fpu/libm-test-ulps: Update.
29254 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29256
f775c276
KT
292572012-03-01 Kai Tietz <ktietz@redhat.com>
29258
29259 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29260 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29261 containing bit-fields.
29262 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29263 * soft-fp/single.h (_FP_UNION_S): Likewise.
29264 * soft-fp/double.h (_FP_UNION_D): Likewise.
29265
5b8a4d4a
JM
292662012-02-29 Joseph Myers <joseph@codesourcery.com>
29267
0bab47b6
JM
29268 [BZ #13786]
29269 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29270 not include ../strcmp.S.
29271 [USE_AS_STRNCASECMP_L]: Likewise.
29272 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29273 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29274 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29275 (__strncasecmp_l_ia32): Define as alias to
29276 __strncasecmp_l_nonascii.
29277
0fcad3e2
JM
29278 [BZ #5794]
29279 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29280 * sysdeps/i386/fpu/libm-test-ulps: Update.
29281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29282
5b8a4d4a
JM
29283 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29285
8fdceb2e
JL
292862012-02-29 Jeff Law <law@redhat.com>
29287
29288 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29289 out of bounds read.
29290
1f393a11
MP
292912012-02-29 Marek Polacek <polacek@redhat.com>
29292
29293 [BZ #13706]
29294 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29295 * elf/Makefile: Add rules to run tst-unused-dep.out.
29296
8847f037
DM
292972012-02-28 David S. Miller <davem@davemloft.net>
29298
29299 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29300 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29301 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29302 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29303 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29304 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29305
169d7f11
JM
293062012-02-29 Joseph Myers <joseph@codesourcery.com>
29307
29308 * math/libm-test.inc (llround_test): Move one test from
29309 lround_test. Use TEST_f_L in moved test.
29310 (lround_test): Move misplaced test to llround_test. Add testcase
29311 from bug 2561.
29312
39adf059
UD
293132012-02-28 Ulrich Drepper <drepper@gmail.com>
29314
29315 * sysdeps/x86_64/fpu/e_expf.S: New file.
29316 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29317
71b5d1c5
SB
293182012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29319
29320 [BZ #13637]
29321 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29322 of remain_len that may cause incomplete multi-byte character and
29323 false match.
29324 * posix/bug-regex33.c: New file.
29325 * posix/Makefile (tests): Add bug-regex33.
29326
1f77f049
JM
293272012-02-28 Joseph Myers <joseph@codesourcery.com>
29328
29329 * manual/macros.texi: New file.
29330 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29331 * manual/libc.texinfo: Include macros.texi.
29332 * manual/creatute.texi: Likewise.
29333 * manual/install.texi: Likewise.
29334 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29335 @glibcadj{} in references to the GNU C Library.
29336 * manual/charset.texi: Likewise.
29337 * manual/conf.texi: Likewise.
29338 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29339 when not using those macros.
29340 * manual/creature.texi: Likewise.
29341 * manual/crypt.texi: Likewise.
29342 * manual/errno.texi: Likewise.
29343 * manual/filesys.texi: Likewise.
29344 * manual/header.texi: Likewise.
29345 * manual/install.texi: Likewise.
29346 * manual/intro.texi: Likewise.
29347 * manual/io.texi: Likewise.
29348 * manual/job.texi: Likewise.
29349 * manual/lang.texi: Likewise.
29350 * manual/libc.texiinfo: Likewise.
29351 * manual/llio.texi: Likewise.
29352 * manual/locale.texi: Likewise.
29353 * manual/maint.texi: Likewise.
29354 * manual/math.texi: Likewise.
29355 * manual/memory.texi: Likewise.
29356 * manual/message.texi: Likewise.
29357 * manual/nss.texi: Likewise.
29358 * manual/pattern.texi: Likewise.
29359 * manual/process.texi: Likewise.
29360 * manual/resource.texi: Likewise.
29361 * manual/search.texi: Likewise.
29362 * manual/setjmp.texi: Likewise.
29363 * manual/signal.texi: Likewise.
29364 * manual/socket.texi: Likewise.
29365 * manual/startup.texi: Likewise.
29366 * manual/stdio.texi: Likewise.
29367 * manual/string.texi: Likewise.
29368 * manual/sysinfo.texi: Likewise.
29369 * manual/syslog.texi: Likewise.
29370 * manual/terminal.texi: Likewise.
29371 * manual/time.texi: Likewise.
29372 * manual/users.texi: Likewise.
29373 * INSTALL: Regenerated.
29374 * NOTES: Regenerated.
d40c5d54 29375 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 29376
450bf206
AS
293772012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29378
29379 * include/dirent.h: Include <dirstream.h> before
29380 <dirent/dirent.h>.
29381
741a235b
DM
293822012-02-28 David S. Miller <davem@davemloft.net>
29383
29384 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29385 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29386 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29387 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29388
d6b5aa58
DM
293892012-02-27 David S. Miller <davem@davemloft.net>
29390
1aff59a3
DM
29391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29393 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29394 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29395
d6b5aa58
DM
29396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29397 frame pointer instead of stack pointer relative arg slot.
29398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29399 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29400 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29401
433f48bf
CD
294022012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29403
29404 [BZ #3992]
29405 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29406
d674b76d
DM
294072012-02-27 David S. Miller <davem@davemloft.net>
29408
29409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29413 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29414 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29415 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29416 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29417
0e7727f7
JM
294182012-02-27 Joseph Myers <joseph@codesourcery.com>
29419
29420 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29421 later. Allow versions 5-9.
43be4ca2 29422 * configure: Regenerated.
0e7727f7
JM
29423 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29424 required minimum version and 4.6 as recommended version. Do not
29425 mention bugs in GCC 2.7 and 2.8.
43be4ca2 29426 * INSTALL: Regenerated.
0e7727f7 29427
a78bc654
DM
294282012-02-27 David S. Miller <davem@davemloft.net>
29429
428d5830
DM
29430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29434 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29435 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29436 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29437 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29438
a78bc654
DM
29439 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29440 manipulate bits before adding and subtracting TWO112[sx].
29441 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29442
4579f81c
RM
294432012-02-27 Roland McGrath <roland@hack.frob.com>
29444
36c8acb4
RM
29445 [BZ #13775]
29446 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29447 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29448 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29449 being in POSIX, because they are in 1003.1-2008.
29450
84ad622b
RM
29451 * rt/tst-aio.c: Include <fcntl.h>.
29452 * rt/tst-aio7.c: Likewise.
29453 * rt/tst-aio64.c: Likewise.
29454
4579f81c
RM
29455 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29456
abd923db
JM
294572012-02-27 Joseph Myers <joseph@codesourcery.com>
29458
29459 * manual/install.texi (--with-headers): Describe headers as
29460 interface headers, not private headers.
29461 (Specific advice for GNU/Linux systems): Describe use of headers
29462 from "make headers_install", not private headers from older
29463 kernels.
43be4ca2 29464 * INSTALL: Regenerated.
abd923db
JM
29465 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29466 Change to 2.6.19.
29467 * sysdeps/unix/sysv/linux/configure: Regenerated.
29468
6664049b
JM
29469 * manual/llio.texi (fclean): Remove documentation.
29470
bb8b6697
JM
29471 * manual/Makefile (libc-texi-generated): New variable. Include
29472 version.texi.
29473 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29474 $(libc-texi-generated), not duplicated list of files.
29475 (version.texi, stamp-version): New rules.
29476 (realclean): Remove $(libc-texi-generated), not individual files
29477 from that list. Do not remove dir-add.texinfo.
29478 * manual/libc.texinfo: Comment out uses of edition numbers and
29479 references to printed manual. Remove last-updated dates.
29480 (EDITION): Comment out.
29481 (ISBN): Likewise.
29482 (VERSION, UPDATED): Remove.
29483 (version.texi): Include.
29484
12e5c3b9
AS
294852012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29486
29487 * sysdeps/posix/spawni.c: Include <signal.h>.
29488 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29489 * sysdeps/pthread/aio_fsync.c: Likewise.
29490
4efeffc1 294912012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 29492
ba63ba08
UD
29493 * conform/Makefile (tests): Run only when not cross-compiling and
29494 when fast-check is not defined.
29495
d94a4670
UD
29496 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29497 * conform/data/limits.h-data: Fixes for POSIX2008.
29498 * conform/run-conformtest.sh: Run all tests.
29499 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29500 headers.
29501 * include/bits/dlfcn.h: Likewise.
29502 * include/langinfo.h: Likewise.
29503 * include/monetary.h: Likewise.
29504 * include/sys/poll.h: Likewise.
29505
29506 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29507 for __USE_GNU.
29508 * posix/spawn.h: Define __need_sigset_t.
29509 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29510 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29511 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29512 to get sigevent_t only.
29513 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29514 only for __USE_GNU.
29515 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29516 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29517 process_vm_writev only for __USE_GNU.
29518 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
29519
29520 * conform/Makefile: For now ignore errors from run-conformtest.
29521 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29522 POSIX to avoid namespace pollution. Don't prepend headers.
29523 * conform/data/aio.h-data: Fixes for POSIX testing.
29524 * conform/data/fcntl.h-data: Likewise.
29525 * conform/data/glob.h-data: Likewise.
29526 * conform/data/grp.h-data: Likewise.
29527 * conform/data/pthread.h-data: Likewise.
29528 * conform/data/pwd.h-data: Likewise.
29529 * conform/data/signal.h-data: Likewise.
29530 * conform/data/spawn.h-data: Likewise.
29531 * conform/data/stdio.h-data: Likewise.
29532 * conform/data/stdlib.h-data: Likewise.
29533 * conform/data/stropts.h-data: Likewise.
29534 * conform/data/sys/mman.h-data: Likewise.
29535 * conform/data/sys/stat.h-data: Likewise.
29536 * conform/data/sys/types.h-data: Likewise.
29537 * conform/data/sys/wait.h-data: Likewise.
29538 * conform/data/time.h-data: Likewise.
29539 * conform/data/unistd.h-data: Likewise.
29540 * conform/data/utime.h-data: Likewise.
29541
29542 * io/sys/stat.h: fchmod was always in POSIX.
29543 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29544 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29545 * rt/aio.h: Define __need_timespec before including <time.h>.
29546 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29547 struct. Add forward declaration of pthread_attr_t and use it in
29548 sigevent.
29549 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29550 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29551 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29552 always remove CLK_TCK definition.
29553
c20105c3
AS
295542012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29555
29556 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29557
7a270350
UD
295582012-02-25 Ulrich Drepper <drepper@gmail.com>
29559
31341567
UD
29560 * conform/run-conformtest.sh: New file.
29561 * conform/Makefile: Run run-conformtest for tests.
29562 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29563 support.
29564
29565 * conform/data/uchar.h-data: New file.
29566 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29567 * conform/data/arpa/inet.h-data: Likewise.
29568 * conform/data/assert.h-data: Likewise.
29569 * conform/data/complex.h-data: Likewise.
29570 * conform/data/cpio.h-data: Likewise.
29571 * conform/data/ctype.h-data: Likewise.
29572 * conform/data/dirent.h-data: Likewise.
29573 * conform/data/dlfcn.h-data: Likewise.
29574 * conform/data/errno.h-data: Likewise.
29575 * conform/data/fcntl.h-data: Likewise.
29576 * conform/data/float.h-data: Likewise.
29577 * conform/data/fmtmsg.h-data: Likewise.
29578 * conform/data/fnmatch.h-data: Likewise.
29579 * conform/data/ftw.h-data: Likewise.
29580 * conform/data/glob.h-data: Likewise.
29581 * conform/data/grp.h-data: Likewise.
29582 * conform/data/iconv.h-data: Likewise.
29583 * conform/data/inttypes.h-data: Likewise.
29584 * conform/data/langinfo.h-data: Likewise.
29585 * conform/data/libgen.h-data: Likewise.
29586 * conform/data/limits.h-data: Likewise.
29587 * conform/data/locale.h-data: Likewise.
29588 * conform/data/math.h-data: Likewise.
29589 * conform/data/monetary.h-data: Likewise.
29590 * conform/data/mqueue.h-data: Likewise.
29591 * conform/data/ndbm.h-data: Likewise.
29592 * conform/data/net/if.h-data: Likewise.
29593 * conform/data/netdb.h-data: Likewise.
29594 * conform/data/netinet/in.h-data: Likewise.
29595 * conform/data/nl_types.h-data: Likewise.
29596 * conform/data/poll.h-data: Likewise.
29597 * conform/data/pthread.h-data: Likewise.
29598 * conform/data/pwd.h-data: Likewise.
29599 * conform/data/regex.h-data: Likewise.
29600 * conform/data/sched.h-data: Likewise.
29601 * conform/data/search.h-data: Likewise.
29602 * conform/data/semaphore.h-data: Likewise.
29603 * conform/data/setjmp.h-data: Likewise.
29604 * conform/data/signal.h-data: Likewise.
29605 * conform/data/spawn.h-data: Likewise.
29606 * conform/data/stdarg.h-data: Likewise.
29607 * conform/data/stdio.h-data: Likewise.
29608 * conform/data/stdlib.h-data: Likewise.
29609 * conform/data/string.h-data: Likewise.
29610 * conform/data/strings.h-data: Likewise.
29611 * conform/data/stropts.h-data: Likewise.
29612 * conform/data/sys/ipc.h-data: Likewise.
29613 * conform/data/sys/mman.h-data: Likewise.
29614 * conform/data/sys/msg.h-data: Likewise.
29615 * conform/data/sys/resource.h-data: Likewise.
29616 * conform/data/sys/select.h-data: Likewise.
29617 * conform/data/sys/sem.h-data: Likewise.
29618 * conform/data/sys/shm.h-data: Likewise.
29619 * conform/data/sys/socket.h-data: Likewise.
29620 * conform/data/sys/stat.h-data: Likewise.
29621 * conform/data/sys/statvfs.h-data: Likewise.
29622 * conform/data/sys/time.h-data: Likewise.
29623 * conform/data/sys/timeb.h-data: Likewise.
29624 * conform/data/sys/times.h-data: Likewise.
29625 * conform/data/sys/types.h-data: Likewise.
29626 * conform/data/sys/uio.h-data: Likewise.
29627 * conform/data/sys/un.h-data: Likewise.
29628 * conform/data/sys/utsname.h-data: Likewise.
29629 * conform/data/sys/wait.h-data: Likewise.
29630 * conform/data/syslog.h-data: Likewise.
29631 * conform/data/tar.h-data: Likewise.
29632 * conform/data/termios.h-data: Likewise.
29633 * conform/data/utime.h-data: Likewise.
29634 * conform/data/utmpx.h-data: Likewise.
29635 * conform/data/varargs.h-data: Likewise.
29636 * conform/data/wchar.h-data: Likewise.
29637 * conform/data/wctype.h-data: Likewise.
29638 * conform/data/wordexp.h-data: Likewise.
29639
29640 * include/stropts.h: New file.
29641 * include/uchar.h: New file.
29642 * include/aio.h: Changes to allow conformtest.pl to use the headers.
29643 * include/assert.h: Likewise.
29644 * include/ctype.h: Likewise.
29645 * include/dirent.h: Likewise.
29646 * include/dlfcn.h: Likewise.
29647 * include/fcntl.h: Likewise.
29648 * include/fnmatch.h: Likewise.
29649 * include/glob.h: Likewise.
29650 * include/grp.h: Likewise.
29651 * include/libio.h: Likewise.
29652 * include/locale.h: Likewise.
29653 * include/math.h: Likewise.
29654 * include/net/if.h: Likewise.
29655 * include/netdb.h: Likewise.
29656 * include/netinet/in.h: Likewise.
29657 * include/pthread.h: Likewise.
29658 * include/pwd.h: Likewise.
29659 * include/regex.h: Likewise.
29660 * include/sched.h: Likewise.
29661 * include/search.h: Likewise.
29662 * include/setjmp.h: Likewise.
29663 * include/signal.h: Likewise.
29664 * include/stdio.h: Likewise.
29665 * include/stdlib.h: Likewise.
29666 * include/string.h: Likewise.
29667 * include/sys/cdefs.h: Likewise.
29668 * include/sys/mman.h: Likewise.
29669 * include/sys/msg.h: Likewise.
29670 * include/sys/resource.h: Likewise.
29671 * include/sys/select.h: Likewise.
29672 * include/sys/socket.h: Likewise.
29673 * include/sys/stat.h: Likewise.
29674 * include/sys/statvfs.h: Likewise.
29675 * include/sys/time.h: Likewise.
29676 * include/sys/times.h: Likewise.
29677 * include/sys/uio.h: Likewise.
29678 * include/sys/utsname.h: Likewise.
29679 * include/sys/wait.h: Likewise.
29680 * include/termios.h: Likewise.
29681 * include/time.h: Likewise.
29682 * include/ulimit.h: Likewise.
29683 * include/unistd.h: Likewise.
29684 * include/utime.h: Likewise.
29685 * include/wchar.h: Likewise.
29686 * include/wctype.h: Likewise.
29687 * include/wordexp.h: Likewise.
29688
29689 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
29690
7a270350
UD
29691 * time/time.h: TIME_UTC must be a macro.
29692 Make timespec_get available for ISO C11 only as well.
29693
7724defc
UD
296942012-02-24 Ulrich Drepper <drepper@gmail.com>
29695
29696 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
29697 Reported by Peng Haitao <penght@cn.fujitsu.com>.
29698
6b1d1d46
JM
296992012-02-24 Joseph Myers <joseph@codesourcery.com>
29700
29701 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 29702
0f8bbd69
JM
297032012-02-24 Joseph Myers <joseph@codesourcery.com>
29704
29705 * manual/texinfo.tex: Update to version 2012-01-19.16.
29706
66ab80bc
JM
297072012-02-24 Joseph Myers <joseph@codesourcery.com>
29708
29709 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
29710
74981cc5
RM
297112012-02-24 Roland McGrath <roland@hack.frob.com>
29712
ee968201
RM
29713 [BZ #13738]
29714 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
29715 * manual/fdl-1.3.texi: New file.
29716 * manual/fdl-1.1.texi: File removed.
29717
74981cc5
RM
29718 [BZ #13738]
29719 * manual/libc.texinfo (FDL_VERSION): New @set.
29720 Use it for mention of FDL in cover text.
29721 (Documentation License): Use it in @include file name.
29722
7bb764bc
JM
297232012-02-22 Joseph Myers <joseph@codesourcery.com>
29724 Roland McGrath <roland@hack.frob.com>
29725
29726 [BZ #5461]
29727 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
29728 not LONG_LONG_MAX and LONG_LONG_MIN.
29729 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
29730 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
29731 name.
29732 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
29733
6cbeae47
JM
297342012-02-22 Joseph Myers <joseph@codesourcery.com>
29735
29736 [BZ #2547]
29737 [BZ #11365]
29738 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
29739 manipulate bits before adding and subtracting TWO23[sx].
29740 * math/libm-test.inc (nearbyint_test): Add more tests.
29741
fe45ce09
JM
297422012-02-22 Joseph Myers <joseph@codesourcery.com>
29743
29744 [BZ #2548]
29745 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
29746 bits before adding and subtracting TWO23[sx].
29747 * math/libm-test.inc (rint_test): Add more tests.
29748 (rint_test_tonearest): Likewise.
29749 (rint_test_towardzero): Likewise.
29750 (rint_test_downward): Likewise.
29751 (rint_test_upward: Likewise.
29752
ff3b3d82
JM
297532012-02-22 Joseph Myers <joseph@codesourcery.com>
29754
29755 [BZ #10110]
29756 * include/stdc-predef.h: New file. Extracted from features.h.
29757 * include/features.h: Include stdc-predef.h.
29758 * Makefile (headers): Add stdc-predef.h.
29759 * CONFORMANCE (Compiler limitations): Update.
29760
ef0aab35
JM
297612012-02-22 Joseph Myers <joseph@codesourcery.com>
29762
29763 * manual/libc.texinfo (VERSION, UPDATED): Revert.
29764
58639409
DM
297652012-02-21 David S. Miller <davem@davemloft.net>
29766
29767 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
29768 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29769
c0e70b25
DM
297702012-02-20 David S. Miller <davem@davemloft.net>
29771
29772 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
29773 using a normal save/restore sequence, rather than allocating a
29774 dummy stack frame just to store a frame pointer and restore.
29775 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29776
fb06851d
JM
297772012-02-21 Joseph Myers <joseph@codesourcery.com>
29778
29779 * manual/install.texi: Fix stray word in line-wrapped comment.
29780
7a8b71c3
DM
297812012-02-20 David S. Miller <davem@davemloft.net>
29782
d510c123
DM
29783 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
29784 both binutils and gcc support GOTDATA.
29785
0722d7c2
DM
29786 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
29787 "rd %pc" in the PIC register setup sequences.
29788
3d2b3019
DM
29789 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
29790 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29791 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29792 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29793 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29794 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29795 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29796 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29797 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
29798 (SYSCALL_ERROR_HANDLER): Likewise.
29799 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29800 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29801 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
29802 (SYSCALL_ERROR_HANDLER): Likewise.
29803
c80098a9
DM
29804 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
29805 (HAVE_GCC_GOTDATA): New.
29806 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
29807 relocation support in both binutils and gcc.
29808 * sysdeps/sparc/elf/configure: Regenerate.
29809
3a2545a0
DM
29810 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
29811 * sysdeps/sparc/sparc32/elf/configure: Delete.
29812 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
29813 * sysdeps/sparc/sparc64/elf/configure: Delete.
29814 * sysdeps/sparc/elf/configure.in: New file.
29815 * sysdeps/sparc/elf/configure: Generate.
29816
7a8b71c3
DM
29817 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
29818 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
29819 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29820 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
29821 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
29822
f1e86fca
JM
298232012-02-21 Joseph Myers <joseph@codesourcery.com>
29824
29825 * manual/install.texi: Do not mention specific glibc version
29826 numbers.
29827 * manual/libc.texinfo (VERSION, UPDATED): Update.
29828 (@copying): Use @copyright{} and range of years.
29829
0e7dfaef
JM
298302012-02-21 Joseph Myers <joseph@codesourcery.com>
29831
29832 [BZ #13695]
29833 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
29834 [crti.S not in sysdirs] (generated): Do not append.
29835 [crti.S not in sysdirs] (omit-deps): Likewise.
29836 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
29837 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
29838 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
29839 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
29840 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
29841 Likewise.
29842 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
29843 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
29844 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
29845 * csu/defs.awk: Remove file.
29846 * sysdeps/generic/initfini.c: Likewise.
29847 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
29848 variable.
29849 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
29850 Likewise.
29851
599af3ca
JM
298522012-02-20 Joseph Myers <joseph@codesourcery.com>
29853
29854 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
29855 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
29856 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
29857 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
29858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29859 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
29860 <bits/epoll.h>.
29861 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
29862 (__EPOLL_PACKED): Define to empty if not defined by
29863 <bits/epoll.h>.
29864 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
29865 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29866 bits/epoll.h.
29867
0e499750
JM
298682012-02-20 Joseph Myers <joseph@codesourcery.com>
29869
29870 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
29871 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
29872 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
29873 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
29874 <bits/timerfd.h>.
29875 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
29876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29877 bits/timerfd.h.
29878
5ad91f6e
JM
298792012-02-20 Joseph Myers <joseph@codesourcery.com>
29880
29881 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
29882 in C locale.
29883 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29884 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
29885 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
29886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29887
06b99b02
AJ
298882012-02-20 Aurelien Jarno <aurelien@aurel32.net>
29889
29890 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29891 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
29892
7638c0fd
AS
298932012-02-19 Andreas Schwab <schwab@linux-m68k.org>
29894
29895 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
29896 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
29897 defined.
29898 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
29899 Likewise.
29900 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
29901 entry for 2.16.
29902
92221550
AJ
299032012-02-19 Aurelien Jarno <aurelien@aurel32.net>
29904
29905 * math/w_acos.c: Use non-signaling floating-point comparisons.
29906 * math/w_acosf.c: Likewise.
29907 * math/w_acosh.c: Likewise.
29908 * math/w_acoshf.c: Likewise.
29909 * math/w_acoshl.c: Likewise.
29910 * math/w_acosl.c: Likewise.
29911 * math/w_asin.c: Likewise.
29912 * math/w_asinf.c: Likewise.
29913 * math/w_asinl.c: Likewise.
29914 * math/w_atanh.c: Likewise.
29915 * math/w_atanhf.c: Likewise.
29916 * math/w_atanhl.c: Likewise.
29917 * math/w_exp2.c: Likewise.
29918 * math/w_exp2f.c: Likewise.
29919 * math/w_exp2l.c: Likewise.
29920 * math/w_j0.c: Likewise.
29921 * math/w_j0f.c: Likewise.
29922 * math/w_j0l.c: Likewise.
29923 * math/w_j1.c: Likewise.
29924 * math/w_j1f.c: Likewise.
29925 * math/w_j1l.c: Likewise.
29926 * math/w_jn.c: Likewise.
29927 * math/w_jnf.c: Likewise.
29928 * math/w_log.c: Likewise.
29929 * math/w_log10.c: Likewise.
29930 * math/w_log10f.c: Likewise.
29931 * math/w_log10l.c: Likewise.
29932 * math/w_log2.c: Likewise.
29933 * math/w_log2f.c: Likewise.
29934 * math/w_log2l.c: Likewise.
29935 * math/w_logf.c: Likewise.
29936 * math/w_logl.c: Likewise.
29937 * math/w_sqrt.c: Likewise.
29938 * math/w_sqrtf.c: Likewise.
29939 * math/w_sqrtl.c: Likewise.
29940 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29941 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29942 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29943 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29944 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29945
ebaf36eb
JM
299462012-02-19 Joseph Myers <joseph@codesourcery.com>
29947
29948 [BZ #9739]
29949 * manual/string.texi (strnlen): Use correct parameter name in
29950 equivalent expression.
29951
71c254a6
JM
299522012-02-19 Joseph Myers <joseph@codesourcery.com>
29953
29954 [BZ #11174]
29955 * manual/users.texi (seteuid): Consistently use neweuid for
29956 argument name.
29957
16d2c631
JM
299582012-02-19 Joseph Myers <joseph@codesourcery.com>
29959
29960 [BZ #13704]
29961 * manual/nss.texi (Services in the NSS configuration): Correct
29962 list of services in example configuration file.
29963
cd837b09
NB
299642012-02-19 Nick Bowler <nbowler@draconx.ca>
29965
29966 [BZ #11322]
29967 * manual/arith.texi: Remove statements about negative zero
29968 behaving identically to zero.
29969
02c4bbad
JM
299702012-02-18 Joseph Myers <joseph@codesourcery.com>
29971
29972 [BZ #5993]
29973 * manual/install.texi: Do not document upgrading from libc5.
29974
366842e7
JM
299752012-02-18 Joseph Myers <joseph@codesourcery.com>
29976
29977 [BZ #4596]
29978 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
29979
dd54084d
DM
299802012-02-18 David S. Miller <davem@davemloft.net>
29981
29982 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
29983 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
29984 %o7 across the call.
29985 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
29986 instead.
29987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
29988 SETUP_PIC_REG_LEAF.
29989 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29990 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
29991 * sysdeps/sparc/crtn.S: Likewise.
29992
2bcc53a3
UD
299932012-02-17 Ulrich Drepper <drepper@gmail.com>
29994
29995 * aout/Makefile: Remove.
29996
09c093b5
RK
299972012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
29998
29999 [BZ #13058]
30000 * manual/examples/argp-ex1.c (main): Format definition in GNU
30001 style.
30002 * manual/examples/argp-ex2.c (main): Likewise.
30003 * manual/examples/argp-ex3.c (main): Likewise.
30004 * manual/examples/argp-ex4.c (main): Likewise.
30005 * manual/examples/longopt.c (main): Use new-style prototype
30006 definition.
30007 * manual/examples/strncat.c (main): Specify return type and use
30008 (void) for arguments.
30009 * manual/examples/subopt.c (main): Use char **argv argument.
30010
2ee633a2
JM
300112012-02-17 Joseph Myers <joseph@codesourcery.com>
30012
30013 [BZ #5077]
30014 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30015 rounding modes.
30016
0520adde
FB
300172012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30018
30019 [BZ #6907]
30020 * manual/string.texi (strchr): Change when strchrnul is
30021 recommended.
30022
3f4081cd
DGM
300232012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30024
30025 [BZ #174]
30026 * manual/locale.texi (setlocale): Document LOCPATH.
30027
d1b10e78
JM
300282012-02-17 Joseph Myers <joseph@codesourcery.com>
30029
30030 [BZ #10210]
30031 * manual/process.texi (execle): Move @dots{} before last argument.
30032
79c6869c
PB
300332012-02-17 Paul Bolle <pebolle@tiscali.nl>
30034
30035 [BZ #12047]
30036 * manual/charset.texi (Generic Charset Conversion): Fix typo
30037 (LC_TYPE -> LC_CTYPE).
30038
cc6e48bc
NB
300392012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30040
30041 [BZ #5805]
30042 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30043 (scalbnf): Likewise.
30044 (scalbnl): Likewise.
30045 (scalbln): Likewise.
30046 (scalblnf): Likewise.
30047 (scalblnl): Likewise.
30048 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30049 (vwarnx): Likewise.
30050 (verr): Likewise.
30051 (verrx): Likewise.
30052 * manual/filesys.texi (telldir): Use braces around return type.
30053 * manual/llio.texi (mmap): Add space after comma.
30054 (mmap64): Likewise.
30055 * manual/math.texi (jn): Use @var{} on parameter names.
30056 (jnf): Likewise.
30057 (jnl): Likewise.
30058 (yn): Likewise.
30059 (ynf): Likewise.
30060 (ynl): Likewise.
30061 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30062 line.
30063 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30064 "...".
30065 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30066 (sched_get_priority_max): Likewise.
30067 * manual/signal.texi (sigvec): Add space after comma.
30068 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30069 names.
30070 (if_indextoname): Likewise.
30071 (if_freenameindex): Likewise.
30072 (sendto): Use ',' instead of '.' in prototype.
30073 * manual/startup.texi (syscall): Use @dots{} instead of literal
30074 "...".
30075 * manual/stdio.texi (__fpending): Separate initial words of
30076 paragraph from @deftypefun line.
30077 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30078 "...".
30079 (vsyslog): Use @var{} on parameter names.
30080 * manual/terminal.texi (stty): Use @var{} on parameter names.
30081 * manual/users.texi (getutmp): Use @var{} on parameter names.
30082 (getutmpx): Likewise.
30083
5b23062f
JM
300842012-02-17 Joseph Myers <joseph@codesourcery.com>
30085
30086 [BZ #6884]
30087 * manual/stdio.texi (fopen): Fix typos in description of
30088 ",ccs=STRING".
30089
8dee4833
AJ
300902012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30091
30092 [BZ #4026]
30093 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30094 get clock_id definition.
30095
9078ce93
TS
300962012-02-17 Thomas Schwinge <thomas@schwinge.name>
30097
30098 [BZ #4822]
30099 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30100 (madvise): Cast every argument to void on its own.
30101
3835c55f
JM
301022012-02-17 Joseph Myers <joseph@codesourcery.com>
30103
30104 [BZ #9902]
30105 * manual/startup.texi (Exit Status): Fix typo.
30106
35c47e37
JM
301072012-02-17 Joseph Myers <joseph@codesourcery.com>
30108
30109 [BZ #10140]
30110 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30111 * manual/examples/argp-ex2.c: Likewise.
30112 * manual/examples/argp-ex3.c: Likewise.
30113
e3b69ca7
RH
301142012-02-16 Richard Henderson <rth@redhat.com>
30115
30116 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30117 * sysdeps/s390/s390-32/initfini.c: Remove.
30118 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30119 * sysdeps/s390/s390-64/initfini.c: Remove.
30120
df83af67
KK
301212012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30122
30123 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30124 compiler output for sysdeps/generic/initfini.c.
30125 * sysdeps/sh/elf/initfini.c: Remove file.
30126
f63f3380
DM
301272012-02-16 David S. Miller <davem@davemloft.net>
30128
fb59b3a4
DM
30129 [BZ #11494]
30130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30131
f63f3380
DM
30132 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30133 * sysdeps/sparc/crti.S: New file.
30134 * sysdeps/sparc/crtn.S: New file.
30135 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30136 * sysdeps/sparc/sparc64/Makefile: Likewise.
30137
df6a4a4a
MF
301382012-02-15 Mike Frysinger <vapier@gentoo.org>
30139
6dd8f3dc 30140 [BZ #3335]
df6a4a4a
MF
30141 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30142
1cac7236
RM
301432012-02-15 Roland McGrath <roland@hack.frob.com>
30144
d2c736f8
RM
30145 [BZ #4822]
30146 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30147
1cac7236
RM
30148 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30149 (write, read, close): Likewise.
30150 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30151
8e475601
JM
301522012-02-15 Joseph Myers <joseph@codesourcery.com>
30153
30154 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30155 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30156 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30157 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30158 <bits/signalfd.h>.
30159 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30161 bits/signalfd.h.
30162
ed656b40
MP
301632012-02-14 Marek Polacek <polacek@redhat.com>
30164
30165 * sysdeps/x86_64/crti.S: New file.
30166 * sysdeps/x86_64/crtn.S: New file.
30167 * sysdeps/x86_64/elf/initfini.c: Remove file.
30168
2a979d3a
JM
301692012-02-13 Joseph Myers <joseph@codesourcery.com>
30170
30171 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30172 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30173 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30174 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30175 <bits/inotify.h>.
30176 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30178 bits/inotify.h.
30179
2a418ac3
JM
301802012-02-13 Joseph Myers <joseph@codesourcery.com>
30181
30182 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30183 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30184 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30185 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30186 <bits/eventfd.h>.
30187 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30188 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30189 bits/eventfd.h.
30190
fb779be7
TS
301912012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30192
e19e83c5
RM
30193 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30194 __feraiseexcept instead of feraiseexcept.
7c35ffed 30195
fb779be7
TS
30196 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30197 nanosleep invocations.
30198 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30199 strings, and add error checking for a nanosleep invocations.
30200
59ba27a6
PE
302012012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30202
30203 Replace FSF snail mail address with URLs, as per GNU coding standards.
30204 Most of the snail mail addresses were wrong anyway, and omitting
30205 them makes the source code easier to maintain. Almost all of the
30206 changes are to license notices and to locale LC_IDENTIFICATION
30207 addresses, except for this one:
30208 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30209 not its snail mail address.
30210
57b957eb
RH
302112012-02-09 Richard Henderson <rth@twiddle.net>
30212
af850b1c
RH
30213 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30214 of kernel-features.h.
30215
57b957eb
RH
30216 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30217
6b73181a
MP
302182012-02-08 Marek Polacek <polacek@redhat.com>
30219
30220 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30221 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30222 * sysdeps/gnu/_G_config.h: Likewise.
30223 * sysdeps/generic/_G_config.h: Likewise.
30224
26ecc33a
AS
302252012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30226
6c6dbc63
AS
30227 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30228 tests.
30229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30230
e216c012
AS
30231 * sysdeps/powerpc/powerpc32/crti.S: New file.
30232 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30233 * sysdeps/powerpc/powerpc64/crti.S: New file.
30234 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30235
26ecc33a
AS
30236 * Makeconfig (have-initfini): Don't set.
30237 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30238 * configure.in (nopic_initfini): Don't substitute.
30239 * config.h.in (HAVE_INITFINI): Don't #undef.
30240 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30241 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30242
3add8e13
JM
302432012-02-08 Joseph Myers <joseph@codesourcery.com>
30244
30245 Support crti.S and crtn.S provided directly by architectures.
30246 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30247 [crti.S in sysdirs] (omit-deps): Likewise.
30248 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30249 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30250 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30251 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30252 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30253 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30254 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30255 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30256 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30257 compiler output for sysdeps/generic/initfini.c.
30258 * sysdeps/i386/elf/Makefile: Remove file.
30259 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30260
a22f12b4
MP
302612012-02-07 Marek Polacek <polacek@redhat.com>
30262
30263 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30264 * sysdeps/gnu/_G_config.h: Likewise.
30265 * sysdeps/mach/hurd/_G_config.h: Likewise.
30266
148cf100
MP
302672012-02-07 Marek Polacek <polacek@redhat.com>
30268
30269 * math/Makefile (tests): Add tst-CMPLX2.
30270 * math/tst-CMPLX2.c: New file.
30271
cfdc0dd7
AS
302722012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30273
84ba42c4
AS
30274 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30275
cfdc0dd7
AS
30276 * math/libm-test.inc (jn_test): Add missing L suffix.
30277
622c86f4
MP
302782012-02-06 Marek Polacek <polacek@redhat.com>
30279
30280 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30281 * sysdeps/i386/fpu/e_powf.S: Likewise.
30282 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30283 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30284 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30285 * sysdeps/i386/fpu/e_pow.S: Likewise.
30286 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30287 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30288 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30289 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30290 * sysdeps/i386/fpu/e_log2.S: Likewise.
30291 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30292 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30293 * sysdeps/i386/fpu/e_powl.S: Likewise.
30294 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30295 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30296 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30297 * sysdeps/i386/fpu/e_logl.S: Likewise.
30298 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30299 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30300 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30301 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30302 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30303 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30304 * sysdeps/i386/fpu/e_log.S: Likewise.
30305 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30306 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30307 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30308 * sysdeps/i386/fpu/e_logf.S: Likewise.
30309 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30310 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30311 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30312 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30313 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30314 * sysdeps/i386/fpu/e_log10.S: Likewise.
30315 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30316 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30317 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30318 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30319 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30320 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30321 * sysdeps/i386/asm-syntax.h: Likewise.
30322 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30323 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30324 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30325 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30326 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30327 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30328 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30329 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30330 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30331 * sysdeps/powerpc/sysdep.h: Likewise.
30332 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30333 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30334
d4a54ac6
JM
303352012-02-06 Joseph Myers <joseph@codesourcery.com>
30336
30337 [BZ #411]
30338 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30339
314054ea
JM
303402012-02-06 Joseph Myers <joseph@codesourcery.com>
30341
30342 * sysdeps/i386/sysdep.h: Include <features.h>.
30343 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30344 version.
30345
d8e0ca50
JM
303462012-02-05 Joseph Myers <joseph@codesourcery.com>
30347
30348 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30349 Define.
30350 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30351 LOAD_PIC_REG_STR.
30352
b1da7dd9
JM
303532012-02-03 Joseph Myers <joseph@codesourcery.com>
30354
30355 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30356 (SETUP_PIC_REG): Use GET_PC_THUNK.
30357 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30358 macro.
30359
9a1d9254
JM
303602012-02-03 Joseph Myers <joseph@codesourcery.com>
30361
30362 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30363 for non-PIC compilation.
30364 (SETUP_PIC_REG): Add .p2align directive.
30365 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30366 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30367 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30368 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30369 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30370 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30371 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30372 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30373 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30374 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30375 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30376 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30377 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30378 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30379 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30380 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30381 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30382 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30383 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30384 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30385 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30386 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30387 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30388 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30389 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30390 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30391 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30392 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30393 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30394 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30395 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30396 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30397 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30398 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30399 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30400 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30401 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30402 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30403 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30404 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30405 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30406
65dc3b75
JM
304072012-02-03 Joseph Myers <joseph@codesourcery.com>
30408
30409 * math/tst-CMPLX.c: Include <stdio.h>.
30410
d55bf177
JM
304112012-01-31 Joseph Myers <joseph@codesourcery.com>
30412
30413 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30414 float.
30415 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30416 * sysdeps/sparc/bits/mathdef.h: Likewise.
30417
69db4f8f
MP
304182012-01-31 Marek Polacek <polacek@redhat.com>
30419
30420 * libio/libio.h: Don't define _PARAMS.
30421 * locale/programs/config.h: Don't define PARAMS.
30422 * stdlib/strtol_l.c: Likewise.
30423 (__strtol_l): Remove PARAMS from the prototype.
30424
41b81892
UD
304252012-01-31 Ulrich Drepper <drepper@gmail.com>
30426
3b49edc0
UD
30427 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30428 names. Just use the correct names. Remove unnecessary wrapper
30429 functions.
30430 * malloc/arena.c: Likewise.
30431 * malloc/hooks.c: Likewise.
30432
41b81892
UD
30433 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30434 ARENA_TEST says not to. Simplify test for creation of a new arena.
30435 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30436
27a25b6e
UD
304372012-01-30 Ulrich Drepper <drepper@gmail.com>
30438
30439 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30440 into tail calls.
30441 (update_get_addr): New function.
30442 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30443 GET_ADDR_MODULE parameter.
30444
c8a89e7d
JM
304452012-01-30 Joseph Myers <joseph@codesourcery.com>
30446
30447 * crypt/cert.c: Remove __STDC__ conditionals.
30448 * crypt/crypt-entry.c: Likewise.
30449 * crypt/crypt_util.c: Likewise.
30450 * libio/filedoalloc.c: Likewise.
30451 * libio/fileops.c: Likewise.
30452 * libio/genops.c: Likewise.
30453 * libio/iofclose.c: Likewise.
30454 * libio/iofdopen.c: Likewise.
30455 * libio/iofopen.c: Likewise.
30456 * libio/iofopen64.c: Likewise.
30457 * libio/iogetdelim.c: Likewise.
30458 * libio/iopopen.c: Likewise.
30459 * libio/obprintf.c: Likewise.
30460 * libio/oldfileops.c: Likewise.
30461 * libio/oldiofclose.c: Likewise.
30462 * libio/oldiofdopen.c: Likewise.
30463 * libio/oldiofopen.c: Likewise.
30464 * libio/oldiopopen.c: Likewise.
30465 * libio/wfiledoalloc.c: Likewise.
30466 * libio/wgenops.c: Likewise.
30467 * locale/programs/xmalloc.c: Likewise.
30468 * misc/syslog.c: Likewise.
30469 * stdio-common/xbug.c: Likewise.
30470 * string/memchr.c: Likewise.
30471 * string/memcmp.c: Likewise.
30472 * string/memrchr.c: Likewise.
30473 * string/rawmemchr.c: Likewise.
30474 * sysdeps/posix/getcwd.c: Likewise.
30475 * time/strftime_l.c: Likewise.
30476
3b100462
JM
304772012-01-30 Joseph Myers <joseph@codesourcery.com>
30478
30479 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
30480 * config.make.in (config-cflags-sse2avx): Define.
30481 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30482 Fix typo.
30483
607998af
CM
304842012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30485
30486 * scripts/config.guess: Update from upstream config git repository.
30487 * scripts/config.sub: Likewise.
30488
3601428f
CM
304892012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30490
3ac8b282
CM
30491 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30492 (EM_NUM): Update.
30493 (R_TILEPRO_*, R_TILEGX_*): New macros.
30494
e034841e
CM
30495 * scripts/firstversions.awk: Fix bug in version range handling.
30496
540d7568
CM
30497 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30498
3601428f
CM
30499 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30500
463de862
CM
30501 * include/sys/epoll.h: New file.
30502 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30503 libc_hidden_def.
30504
73139a76
UD
305052012-01-28 Ulrich Drepper <drepper@gmail.com>
30506
96bc5b45
UD
30507 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30508 Avoid unnecessary __WORDSIZE == 64 test.
30509 (fmaxf): Use VEX format if possible.
30510 (fmax): Likewise.
30511 (fminf): Likewise.
30512 (fmin): Likewise.
30513
56f6f6a2
UD
30514 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30515 * math/math_private.h: Remove libc_fegetround* and
30516 libc_fesetround*.
30517 * sysdeps/i386/configure.in: Check for -msse2avx.
30518 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30519 also if SSE2AVX is defined.
30520 Remove libc_fegetround* and libc_fesetround*.
30521 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30522 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30523 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30524 of HAS_YMM_USABLE.
30525 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30526 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30527 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30528 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30529 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30530
73139a76
UD
30531 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30532
d73f93a4
AZ
305332012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30534
30535 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30536 size is not set.
30537 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30538
6ee65ed6
UD
305392012-01-27 Ulrich Drepper <drepper@gmail.com>
30540
30541 [BZ #13618]
30542 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30543 relocation.
30544 * Makeconfig (libm): Define.
30545 * elf/Makefile: Add rules to build and run tst-relsort1.
30546 * elf/tst-relsort1.c: New file.
30547 * elf/tst-relsort1mod1.c: New file.
30548 * elf/tst-relsort1mod2.c: New file.
30549
8db21882
JM
305502012-01-27 Joseph Myers <joseph@codesourcery.com>
30551
30552 * math/s_ldexp.c: Remove __STDC__ conditionals.
30553 * math/s_ldexpf.c: Likewise.
30554 * math/s_ldexpl.c: Likewise.
30555 * math/s_nextafter.c: Likewise.
30556 * math/s_nexttowardf.c: Likewise.
30557 * math/s_significand.c: Likewise.
30558 * math/s_significandf.c: Likewise.
30559 * math/s_significandl.c: Likewise.
30560 * math/w_jnl.c: Likewise.
30561 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30562 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30563 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30564 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30565 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30567 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30568 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30569 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30570 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30571 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30572 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30573 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30574 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30575 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30576 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30577 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30578 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30580 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30581 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30582 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30587 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30588 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30589 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30590 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30591 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30592 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30593 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30594 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30595 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30596 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30597 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30598 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30599 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30600 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30601 * sysdeps/ieee754/k_standard.c: Likewise.
30602 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30603 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30604 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30605 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30606 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30607 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30608 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30609 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30610 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30611 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30612 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30613 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30614 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30615 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30616 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30617 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30618 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30620 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30621 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30622 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30623 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30624 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30625 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30626 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30627 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30629 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30630 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30631 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
30632 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
30633 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
30634 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30635 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
30636 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
30637 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
30638 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
30639 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30640 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
30641 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
30642 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
30643 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
30644 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30645 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
30646 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30647 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
30648 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30649 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30650 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
30651 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30652 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
30653 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30654 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30655 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
30656 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
30657 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
30658 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
30659 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30660 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30661 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30662 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
30663 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
30664 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
30665 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30666 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
30667 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
30668 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
30669 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
30670 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
30671 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30672 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
30673 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
30674 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
30675 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
30676 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
30677 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
30678 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
30679 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
30681 * sysdeps/ieee754/s_matherr.c: Likewise.
30682 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
30683 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
30684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30685 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30686
965a54a4
JM
306872012-01-26 Joseph Myers <joseph@codesourcery.com>
30688
30689 * crypt/md5.h: Remove __STDC__ conditionals.
30690 * libio/libioP.h: Likewise.
30691 * locale/programs/config.h: Likewise.
30692 * sysdeps/generic/sysdep.h: Likewise.
30693 * sysdeps/i386/asm-syntax.h: Likewise.
30694 * sysdeps/s390/asm-syntax.h: Likewise.
30695 * sysdeps/unix/sysdep.h: Likewise.
30696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30698
7071ad79
JM
306992012-01-26 Joseph Myers <joseph@codesourcery.com>
30700
30701 * libio/libio.h: Remove __STDC__ conditionals.
30702 * malloc/obstack.h: Likewise.
30703 * math/complex.h: Likewise.
30704 * math/math.h: Likewise.
30705 * sysdeps/generic/_G_config.h: Likewise.
30706 * sysdeps/gnu/_G_config.h: Likewise.
30707 * sysdeps/mach/hurd/_G_config.h: Likewise.
30708 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30709 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30710 * sysdeps/sparc/bits/mathdef.h: Likewise.
30711
afc5ed09
UD
307122012-01-26 Ulrich Drepper <drepper@gmail.com>
30713
30714 [BZ #13583]
30715 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 30716 Clean up HAS_* macros.
afc5ed09 30717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
30718 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
30719 possible.
30720 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
30721 HAS_AVX.
30722 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30723 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30724 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30725 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30726 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 30727
bdb6de1d
JM
307282012-01-25 Joseph Myers <joseph@codesourcery.com>
30729
30730 * elf/tst-unique3.cc (gets): Remove declaration.
30731 * elf/tst-unique3lib.cc (gets): Likewise.
30732 * elf/tst-unique3lib2.cc (gets): Likewise.
30733 * elf/tst-unique4.cc (gets): Likewise.
30734
b15549e6
UD
307352012-01-24 Ulrich Drepper <drepper@gmail.com>
30736
30737 * include/stdio.h: Add C++ protection. Add gets declarations and
30738 definitions.
30739 * debug/tst-chk1.c: Don't declare gets here.
30740 * stdio-common/tst-gets.c: Likewise.
30741
a037381f
JM
307422012-01-24 Joseph Myers <joseph@codesourcery.com>
30743
30744 * posix/glob: Remove directory.
30745
f1d4aa75
JM
307462012-01-24 Joseph Myers <joseph@codesourcery.com>
30747
30748 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
30749
81c0c964
PT
307502012-01-22 Pino Toscano <toscano.pino@tiscali.it>
30751
30752 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
30753 of the non-standard EPFNOSUPPORT.
30754
0ea698ae
ST
307552011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
30756
30757 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
30758 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
30759 ANYWHERE set to 1 only on KERN_NO_SPACE error.
30760
d220b117
UD
307612012-01-21 Ulrich Drepper <drepper@gmail.com>
30762
30763 * wcsmbs/uchar.h: Test __STDC_VERSION__.
30764
3e1aa84e
UD
307652012-01-20 Ulrich Drepper <drepper@gmail.com>
30766
30767 * nscd/aicache.c (addhstaiX): Do not cache negative results of
30768 transient errors.
30769 * nscd/grpcache.c (cache_addgr): Likewise.
30770 * nscd/hstcache.c (cache_addhst): Likewise.
30771 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30772 * nscd/pwdcache.c (cache_addpw): Likewise.
30773 * nscd/servicescache.c (cache_addserv): Likewise.
30774
400aa020
UD
307752012-01-16 Ulrich Drepper <drepper@gmail.com>
30776
d77e7869
UD
30777 * malloc/malloc.c: Various cleanups.
30778 * malloc/hooks.c: Likewise.
30779
400aa020
UD
30780 * stdlib/Makefile (tests): Add bug-fmtmsg1.
30781 * stdlib/bug-fmtmsg1.c: New file.
30782
30783 * stdlib/fmtmsg.c (init): Add missing unlock.
30784 Patch by Peng Haitao <penght@cn.fujitsu.com>.
30785
e0a309cf
MP
307862012-01-12 Marek Polacek <polacek@redhat.com>
30787
30788 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
30789 and _GNU_SOURCE.
30790
929d11c7
WS
307912012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30792
30793 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
30794 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
30795 macro to ensure uniqueness of label name.
30796 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30797 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30798
41d0e869
UD
307992012-01-11 Ulrich Drepper <drepper@gmail.com>
30800
0cc5ed3b
UD
30801 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
30802
41d0e869
UD
30803 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
30804 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30805 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
30806 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
30807
a47a831a
UD
308082012-01-10 Ulrich Drepper <drepper@gmail.com>
30809
daa891c0
UD
30810 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
30811
30812 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
30813 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30814 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
30815
e58ef0f2
UD
30816 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
30817
a47a831a 30818 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
30819 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30820 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 30821 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
30822
30823 * math/bits/math-finite.h: Add ldexp support.
30824
a0bfc9c7
MP
308252012-01-10 Marek Polacek <polacek@redhat.com>
30826
30827 * locale/programs/localedef.h (show_archive_content): Add noreturn
30828 attribute.
30829
d6e97a1d
UD
308302012-01-09 Ulrich Drepper <drepper@gmail.com>
30831
30832 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
30833
d5835c26
UD
308342012-01-08 Ulrich Drepper <drepper@gmail.com>
30835
e5f484c6
UD
30836 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
30837
d5835c26
UD
30838 * io/Makefile (headers): Add bits/poll2.h.
30839
d1f741e9
WS
308402011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
30841
30842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
30843 typo #include statement.
30844
ec09c1c4
UD
308452012-01-08 Ulrich Drepper <drepper@gmail.com>
30846
30847 * include/sys/cdefs.h: Define __attribute_alloc_size.
30848 * catgets/gencat.c: Add alloc_size attribute and apply consistently
30849 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
30850 * elf/pldd.c: Likewise.
30851 * iconv/iconv_charmap.c: Likewise.
30852 * iconv/iconvconfig.c: Likewise.
30853 * iconv/strtab.c: Likewise.
30854 * locale/programs/locale.c: Likewise.
30855 * locale/programs/localedef.h: Likewise.
30856 * locale/programs/simple-hash.c: Likewise.
30857 * nscd/nscd.h: Likewise.
30858 * nss/makedb.c: Likewise.
30859 * sysdeps/generic/ldconfig.h: Likewise.
30860 * locale/programs/localedef.c: Remove xmalloc prototype.
30861 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
30862
20b38e03
PP
308632012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30864
30865 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
30866 appropriate.
30867
a0da5fe1
UD
308682012-01-08 Ulrich Drepper <drepper@gmail.com>
30869
1d5a644a 30870 * math/Makefile (tests): Add tst-CMPLX.
669704fd 30871 * math/tst-CMPLX.c: New file.
1d5a644a 30872
8784a6db
UD
30873 * math/complex.h (CMPLXL): Fix typo.
30874
d9a216c0
UD
30875 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
30876 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
30877 GLIBC_2.16.
30878 * debug/tst-chk1.c: Add poll and ppoll tests.
30879 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
30880 * include/sys/poll.h: Add hidden proto for ppoll.
30881 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
30882 * sysdeps/mach/hurd/ppoll.c: Likewise.
30883 * io/ppoll.c: Likewise.
30884 * debug/poll_chk.c: New file.
30885 * debug/ppoll_chk.c: New file.
30886 * include/bits/poll2.h: New file.
30887 * io/bits/poll2.h: New file.
30888
ac097f5c
UD
30889 [BZ #1350]
30890 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
30891
2119dcfa
UD
30892 * configure.in: static is always set to yes. Remove.
30893 * config.make.in: Don't set build-static.
30894 * Makeconfig: Remove use of build-static.
30895 * dlfcn/Makefile: Likewise.
30896 * elf/Makefile: Likewise.
30897 * math/Makefile: Likewise.
30898 * misc/Makefile: Likewise.
30899 * nptl/Makefile: Likewise.
30900 * sysdeps/mach/hurd/Makefile: Likewise.
30901
121766a9
UD
30902 * configure.in: PWD_P is not used anymore.
30903 * config.make.in: Remove PWD_P entry.
30904
51a1d39c 30905 * configure.in: Remove last remnants of RANLIB.
8720d066 30906 No need to check for signed size_t anymore.
215f4bdc
UD
30907 Don't set libc_commonpagesize and libc_relro_required here for Alpha
30908 and IA-64.
3857022a 30909 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
30910 * aclocal.m4: Likewise.
30911
d3ed7225
UD
30912 * wcsmbs/mbrtoc16.c: Implement using towc function.
30913 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
30914 * wcsmbs/wcsmbsload.c: Likewise.
30915 * iconv/gconv_simple.c: Likewise.
30916 * iconv/gconv_int.h: Likewise.
30917 * iconv/gconv_builtin.h: Likewise.
30918 * iconv/iconv_prog.c: Remove CHAR16 handling.
30919
30920 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
30921
30922 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
30923
a0da5fe1
UD
30924 * configure.in: Remove --with-elf and --enable-bounded options.
30925 Dont set base_machine for ia64. More non-ELF conditions removed.
30926 Remove testing and setting of leading underscore information.
30927 * config.make.in (build-bounded): Set to no.
30928 * config.h.in: Remove NO_UNDERSCORES entry.
30929 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
30930 them.
30931 * csu/start.c: Remove !NO_UNDERSCORE code.
30932 * locale/localeinfo.h: Likewise.
30933 * sysdeps/generic/machine-gmon.h: Likewise.
30934 * sysdeps/generic/sysdep.h: Likewise.
30935 * sysdeps/i386/sysdep.h: Likewise.
30936 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30937 * sysdeps/mach/sysdep.h: Likewise.
30938 * sysdeps/s390/s390-32/sysdep.h: Likewise.
30939 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30940 * sysdeps/sh/sysdep.h: Likewise.
30941 * sysdeps/sparc/sparc32/alloca.S: Likewise.
30942 * sysdeps/unix/i386/sysdep.S: Likewise.
30943 * sysdeps/unix/sparc/start.c: Likewise.
30944 * sysdeps/unix/sparc/sysdep.S: Likewise.
30945 * sysdeps/unix/sparc/sysdep.h: Likewise.
30946 * sysdeps/unix/start.c: Likewise.
30947 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30948 * sysdeps/x86_64/sysdep.h: Likewise.
30949
df78418a
UD
309502012-01-07 Ulrich Drepper <drepper@gmail.com>
30951
a784e502
UD
30952 [BZ #13553]
30953 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
30954 for non-gcc.
30955 * argp/argp-fmtstream.h: Use const instead __const.
30956 * argp/argp.h: Likewise.
30957 * assert/assert.h: Likewise.
30958 * bits/fenv.h: Likewise.
30959 * bits/sched.h: Likewise.
30960 * bits/sigset.h: Likewise.
30961 * bits/sigthread.h: Likewise.
30962 * catgets/nl_types.h: Likewise.
30963 * conform/data/pthread.h-data: Likewise.
30964 * crypt/crypt-private.h: Likewise.
30965 * crypt/crypt.h: Likewise.
30966 * crypt/crypt_util.c: Likewise.
30967 * ctype/ctype.h: Likewise.
30968 * debug/execinfo.h: Likewise.
30969 * debug/mbsnrtowcs_chk.c: Likewise.
30970 * debug/mbsrtowcs_chk.c: Likewise.
30971 * debug/wcsnrtombs_chk.c: Likewise.
30972 * debug/wcsrtombs_chk.c: Likewise.
30973 * debug/wcstombs_chk.c: Likewise.
30974 * dirent/dirent.h: Likewise.
30975 * dlfcn/dlfcn.h: Likewise.
30976 * elf/neededtest4.c: Likewise.
30977 * grp/grp.h: Likewise.
30978 * gshadow/gshadow.h: Likewise.
30979 * iconv/gconv.h: Likewise.
30980 * iconv/gconv_int.h: Likewise.
30981 * iconv/gconv_simple.c: Likewise.
30982 * iconv/iconv.h: Likewise.
30983 * iconv/loop.c: Likewise.
30984 * iconv/skeleton.c: Likewise.
30985 * include/aio.h: Likewise.
30986 * include/aliases.h: Likewise.
30987 * include/argz.h: Likewise.
30988 * include/arpa/inet.h: Likewise.
30989 * include/assert.h: Likewise.
30990 * include/dirent.h: Likewise.
30991 * include/dlfcn.h: Likewise.
30992 * include/execinfo.h: Likewise.
30993 * include/fcntl.h: Likewise.
30994 * include/fenv.h: Likewise.
30995 * include/glob.h: Likewise.
30996 * include/grp.h: Likewise.
30997 * include/libintl.h: Likewise.
30998 * include/mntent.h: Likewise.
30999 * include/netdb.h: Likewise.
31000 * include/pwd.h: Likewise.
31001 * include/rpc/netdb.h: Likewise.
31002 * include/sched.h: Likewise.
31003 * include/search.h: Likewise.
31004 * include/shadow.h: Likewise.
31005 * include/signal.h: Likewise.
31006 * include/stdio.h: Likewise.
31007 * include/stdlib.h: Likewise.
31008 * include/string.h: Likewise.
31009 * include/sys/socket.h: Likewise.
31010 * include/sys/stat.h: Likewise.
31011 * include/sys/statfs.h: Likewise.
31012 * include/sys/statvfs.h: Likewise.
31013 * include/sys/syslog.h: Likewise.
31014 * include/sys/time.h: Likewise.
31015 * include/sys/uio.h: Likewise.
31016 * include/time.h: Likewise.
31017 * include/unistd.h: Likewise.
31018 * include/utmp.h: Likewise.
31019 * include/wchar.h: Likewise.
31020 * include/wctype.h: Likewise.
31021 * inet/aliases.h: Likewise.
31022 * inet/arpa/inet.h: Likewise.
31023 * inet/netinet/ether.h: Likewise.
31024 * inet/netinet/in.h: Likewise.
31025 * intl/libintl.h: Likewise.
31026 * io/bits/fcntl2.h: Likewise.
31027 * io/fcntl.h: Likewise.
31028 * io/ftw.h: Likewise.
31029 * io/sys/poll.h: Likewise.
31030 * io/sys/stat.h: Likewise.
31031 * io/sys/statfs.h: Likewise.
31032 * io/sys/statvfs.h: Likewise.
31033 * io/utime.h: Likewise.
31034 * libio/bits/stdio.h: Likewise.
31035 * libio/bits/stdio2.h: Likewise.
31036 * libio/libio.h: Likewise.
31037 * libio/libioP.h: Likewise.
31038 * libio/stdio.h: Likewise.
31039 * locale/lc-ctype.c: Likewise.
31040 * locale/locale.h: Likewise.
31041 * login/utmp.h: Likewise.
31042 * malloc/arena.c: Likewise.
31043 * malloc/malloc.c: Likewise.
31044 * malloc/malloc.h: Likewise.
31045 * malloc/mcheck.c: Likewise.
31046 * malloc/mtrace.c: Likewise.
31047 * math/bits/mathcalls.h: Likewise.
31048 * math/fenv.h: Likewise.
31049 * math/math_private.h: Likewise.
31050 * misc/bits/error.h: Likewise.
31051 * misc/bits/syslog.h: Likewise.
31052 * misc/err.h: Likewise.
31053 * misc/error.h: Likewise.
31054 * misc/fstab.h: Likewise.
31055 * misc/mntent.h: Likewise.
31056 * misc/regexp.h: Likewise.
31057 * misc/search.h: Likewise.
31058 * misc/sgtty.h: Likewise.
31059 * misc/sys/mman.h: Likewise.
31060 * misc/sys/syslog.h: Likewise.
31061 * misc/sys/uio.h: Likewise.
31062 * misc/sys/xattr.h: Likewise.
31063 * misc/ttyent.h: Likewise.
31064 * nis/rpcsvc/ypclnt.h: Likewise.
31065 * nss/nss.h: Likewise.
31066 * posix/bits/unistd.h: Likewise.
31067 * posix/fnmatch.h: Likewise.
31068 * posix/glob.h: Likewise.
31069 * posix/sched.h: Likewise.
31070 * posix/spawn.h: Likewise.
31071 * posix/sys/wait.h: Likewise.
31072 * posix/unistd.h: Likewise.
31073 * posix/wordexp.h: Likewise.
31074 * pwd/pwd.h: Likewise.
31075 * resolv/netdb.h: Likewise.
31076 * resource/sys/resource.h: Likewise.
31077 * rt/aio.h: Likewise.
31078 * rt/bits/mqueue2.h: Likewise.
31079 * rt/mqueue.h: Likewise.
31080 * shadow/shadow.h: Likewise.
31081 * signal/signal.h: Likewise.
31082 * socket/send.c: Likewise.
31083 * socket/sendto.c: Likewise.
31084 * socket/sys/socket.h: Likewise.
31085 * stdio-common/printf.h: Likewise.
31086 * stdlib/bits/stdlib.h: Likewise.
31087 * stdlib/fmtmsg.h: Likewise.
31088 * stdlib/monetary.h: Likewise.
31089 * stdlib/stdlib.h: Likewise.
31090 * stdlib/ucontext.h: Likewise.
31091 * streams/stropts.h: Likewise.
31092 * string/argz.h: Likewise.
31093 * string/bits/string2.h: Likewise.
31094 * string/string.h: Likewise.
31095 * string/strings.h: Likewise.
31096 * sunrpc/rpc/auth.h: Likewise.
31097 * sunrpc/rpc/auth_des.h: Likewise.
31098 * sunrpc/rpc/clnt.h: Likewise.
31099 * sunrpc/rpc/netdb.h: Likewise.
31100 * sunrpc/rpc/pmap_clnt.h: Likewise.
31101 * sunrpc/rpc/xdr.h: Likewise.
31102 * sysdeps/generic/inttypes.h: Likewise.
31103 * sysdeps/generic/net/if.h: Likewise.
31104 * sysdeps/generic/sys/swap.h: Likewise.
31105 * sysdeps/gnu/net/if.h: Likewise.
31106 * sysdeps/gnu/utmpx.h: Likewise.
31107 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31108 * sysdeps/i386/i486/bits/string.h: Likewise.
31109 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31110 * sysdeps/s390/bits/string.h: Likewise.
31111 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31112 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31113 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31114 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31115 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31116 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31117 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31118 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31119 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31120 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31121 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31122 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31123 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31124 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31125 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31126 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31127 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31129 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31130 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31131 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31132 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31133 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31134 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31135 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31136 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31137 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31138 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31139 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31140 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31141 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31142 * sysvipc/sys/ipc.h: Likewise.
31143 * sysvipc/sys/msg.h: Likewise.
31144 * sysvipc/sys/sem.h: Likewise.
31145 * sysvipc/sys/shm.h: Likewise.
31146 * termios/termios.h: Likewise.
31147 * time/sys/time.h: Likewise.
31148 * time/time.h: Likewise.
31149 * wcsmbs/bits/wchar2.h: Likewise.
31150 * wcsmbs/uchar.h: Likewise.
31151 * wcsmbs/wchar.h: Likewise.
31152 * wctype/wctype.h: Likewise.
31153
0269750c
UD
31154 [BZ #13551]
31155 * Makeconfig: Remove all but ELF support including AIX support.
31156 * Makerules: Likewise.
31157 * config.h.in: Likewise.
31158 * config.make.in: Likewise.
31159 * configure: Likewise.
31160 * configure.in: Likewise.
31161 * csu/Makefile: Likewise.
31162 * csu/version.c: Likewise.
31163 * debug/Makefile: Likewise.
31164 * dlfcn/Makefile: Likewise.
31165 * elf/Makefile: Likewise.
31166 * extra-lib.mk: Likewise.
31167 * iconv/Makefile: Likewise.
31168 * include/libc-symbols.h: Likewise.
31169 * include/shlib-compat.h: Likewise.
31170 * resolv/Makefile: Likewise.
31171 * resolv/res_libc.c: Likewise.
31172 * rt/Makefile: Likewise.
31173 * sysdeps/i386/asm-syntax.h: Likewise.
31174 * sysdeps/i386/sysdep.h: Likewise.
31175 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31176 * sysdeps/mach/sysdep.h: Likewise.
31177 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31178 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31179 * sysdeps/s390/asm-syntax.h: Likewise.
31180 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31181 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31182 * sysdeps/sh/sysdep.h: Likewise.
31183 * sysdeps/unix/sparc/sysdep.h: Likewise.
31184 * sysdeps/wordsize-32/divdi3.c: Likewise.
31185 * sysdeps/x86_64/sysdep.h: Likewise.
31186
00bbd29b
UD
31187 * argp/Versions: Remove _argp_unlock_xxx.
31188
31189 [BZ #13559]
31190 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31191 * abilist/libBrokenLocale.abilist: Likewise.
31192 * abilist/libanl.abilist: Likewise.
31193 * abilist/libc.abilist: Likewise.
31194 * abilist/libcrypt.abilist: Likewise.
31195 * abilist/libdl.abilist: Likewise.
31196 * abilist/libm.abilist: Likewise.
31197 * abilist/libnsl.abilist: Likewise.
31198 * abilist/libpthread.abilist: Likewise.
31199 * abilist/libresolv.abilist: Likewise.
31200 * abilist/librt.abilist: Likewise.
31201 * abilist/libthread_db.abilist: Likewise.
31202 * abilist/libutil.abilist: Likewise.
31203 * abilist/libnss_db.abilist: New file.
31204
31205 * scripts/abilist.awk: Add support for indirect functions.
31206
a2693a0e
UD
31207 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31208
3f05895f
UD
31209 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31210
ecb6fb48
UD
31211 * shlib-versions: Remove entries for ports architectures.
31212
664f8cb9
UD
31213 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31214 files in ports.
31215 * elf/stackguard-macros.h: Remove support for IA-64.
31216 * elf/tst-auditmod1.c: Likewise.
31217 * sysdeps/generic/ldsodefs.h: Likewise.
31218
7ae81d88
UD
31219 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31220 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31221 configure files.
31222
bdeba135
UD
31223 [BZ #13552]
31224 * configure.in: Remove --enable-omitfp support.
31225 * FAQ.in: Adjust.
31226 * config.make.in: Likewise.
31227 * Makeconfig: Likewise.
31228 * manual/install.texi: Likewise.
31229
d75a0a62
UD
31230 In case anyone cares, the IA-64 architecture could move to ports.
31231 * sysdeps/ia64/*: Removed.
31232 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 31233 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 31234
dcc9756b
UD
31235 [BZ #13555]
31236 * configure.in: Remove entries for unsupported architectures.
31237
d3761ebc 31238 [BZ #13533]
9954432e
UD
31239 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31240 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31241 routines.
31242 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31243 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31244 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31245 fall back to using wcrtomb.
31246 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31247 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31248 renaming.
31249 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31250 * wcsmbs/tst-c16c32-1.c: New file.
31251
31252 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31253 local variable.
31254
c3a87236
UD
31255 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31256
28926a1b
UD
31257 * elf/tst-unique3.cc: Add explicit declaration of gets.
31258 * elf/tst-unique3lib.cc: Likewise.
31259 * elf/tst-unique3lib2.cc: Likewise.
31260 * elf/tst-unique4.cc: Likewise.
31261
df78418a
UD
31262 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31263
8ecd6b2a
JM
312642012-01-06 Joseph Myers <joseph@codesourcery.com>
31265
31266 [BZ #13566]
31267 * assert/assert.h (static_assert): Don't define for C++.
31268 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31269 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31270
9f115170
UD
312712012-01-03 Ulrich Drepper <drepper@gmail.com>
31272
5e0d0300
UD
31273 * iconv/loop.c (single loop): Fix assertion in storing of
31274 remaining bytes.
31275
9f115170
UD
31276 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31277
81fb02b0
UD
312782012-01-01 Ulrich Drepper <drepper@gmail.com>
31279
31280 * posix/getconf.c: Update copyright year.
31281 * nss/getent.c: Likewise.
a316c1f6 31282 * nss/makedb.c: Likewise.
81fb02b0
UD
31283 * iconv/iconvconfig.c: Likewise.
31284 * iconv/iconv_prog.c: Likewise.
31285 * elf/ldconfig.c: Likewise.
a316c1f6
UD
31286 * elf/pldd.c: Likewise.
31287 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
31288 * catgets/gencat.c: Likewise.
31289 * csu/version.c: Likewise.
31290 * elf/ldd.bash.in: Likewise.
31291 * elf/sprof.c (print_version): Likewise.
31292 * locale/programs/locale.c: Likewise.
31293 * locale/programs/localedef.c: Likewise.
a316c1f6 31294 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
31295 * nscd/nscd.c (print_version): Likewise.
31296 * debug/xtrace.sh: Likewise.
31297 * malloc/memusage.sh: Likewise.
31298 * malloc/mtrace.pl: Likewise.
31299 * debug/catchsegv.sh: Likewise.
31300
2ba92745
JJ
313012011-12-30 Jakub Jelinek <jakub@redhat.com>
31302
31303 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31304 pure attribute.
31305
dadebdae
UD
313062011-12-24 Ulrich Drepper <drepper@gmail.com>
31307
d3761ebc 31308 [BZ #13533]
db6af3eb
UD
31309 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31310 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31311 transformations.
31312 * iconv/gconv_int.h: Likewise.
31313 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31314 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31315 from libc for GLIBC_2.16.
31316 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31317 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31318 * wcsmbs/uchar.h: Really define mbstate_t.
31319 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31320 * wcsmbs/c16rtomb.c: New file.
31321 * wcsmbs/mbrtoc16.c: New file.
31322 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31323 for C/POSIX locale.
31324 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31325 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31326
dadebdae
UD
31327 * wcsmbs/wchar.h: Add missing __restrict.
31328
67371b56
UD
313292011-12-23 Ulrich Drepper <drepper@gmail.com>
31330
74033a25
UD
31331 [BZ #13532]
31332 * time/Makefile (routines): Add timespec_get.
31333 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31334 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31335 timespec for ISO C11.
31336 * time/timespec_get.c: New file.
31337 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31338 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31339
380d7e87
UD
31340 [BZ #13531]
31341 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31342 * stdlib/stdlib.h: Declare aligned_alloc.
31343 * Versions.def: Add GLIBC_2.16 for libc.
31344 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31345
4e9e7a35
UD
31346 [BZ 13527]
31347 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31348 ISO C11.
31349
380d7e87 31350 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
31351 code.
31352
03a71829
UD
31353 [BZ #13528]
31354 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31355
839e283e
UD
31356 [BZ #13529]
31357 * assert/assert.h (static_assert): Define.
31358
ce5294e2 31359 * version.h: Update for 2.16 development version.
90fa7312 31360
8d44e150 31361 [BZ #13526]
d7809905
UD
31362 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31363 _ISOC11_SOURCE.
31364
c0da14cd
UD
31365 * version.h (RELEASE): Bump for 2.15 release.
31366 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31367
530a3249
MP
31368 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31369 Patch by Marek Polacek <mpolacek@redhat.com>.
31370
67371b56
UD
31371 * bits/byteswap.h: Protect long long constants with __extension__.
31372 * sysdeps/i386/bits/byteswap.h: Likewise.
31373 * sysdeps/ia64/bits/byteswap.h: Likewise.
31374 * sysdeps/s390/bits/byteswap.h: Likewise.
31375 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31376
15db4de1
LD
313772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31378
31379 [BZ #13540]
bbe315ea
LD
31380 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31381 destination buffer.
15db4de1
LD
31382 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31383
2b2596b1
MP
313842011-12-23 Marek Polacek <polacek@redhat.com>
31385
31386 * elf/dl-addr.c (determine_info): Add inline keyword.
31387 * elf/tst-auditmod4b.c (check_avx): Likewise.
31388 * elf/tst-auditmod6b.c (check_avx): Likewise.
31389 * elf/tst-auditmod6c.c (check_avx): Likewise.
31390 * elf/tst-auditmod7b.c (check_avx): Likewise.
31391
70c6c246
UD
313922011-12-23 Ulrich Drepper <drepper@gmail.com>
31393
31394 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31395 !__SSE_MATH__.
31396
c044cf14
LD
313972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31398
15db4de1 31399 [BZ #13540]
c044cf14
LD
31400 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31401 processing for last bytes.
31402
6b13d9d9
BH
314032011-08-06 Bruno Haible <bruno@clisp.org>
31404
d455f537
BH
31405 [BZ #13061]
31406 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31407 U+0385, not to U+1FEE.
31408
6b13d9d9
BH
31409 [BZ #13062]
31410 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31411 entry for U+00A5 U+0301.
31412
db910efd
UD
314132011-12-22 Ulrich Drepper <drepper@gmail.com>
31414
27deeafc
UD
31415 [BZ #13166]
31416 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31417 buffer for the output is too small.
31418
aed9d171
UD
31419 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31420 optimization.
31421
db910efd
UD
31422 [BZ #13185]
31423 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31424 SSE flags if possible.
31425
2bd779ae
LD
314262011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31427
e7f9dac3 31428 [BZ #13540]
2bd779ae
LD
31429 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31430 processing for last bytes.
31431
154bfc16
JM
314322011-12-22 Joseph Myers <joseph@codesourcery.com>
31433
31434 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31435 (syscall-list-default-options, syscall-list-default-condition)
31436 (syscall-list-includes): Define.
31437 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31438 list of ABIs and options and #if conditions for each ABI. Do not
31439 handle common syscalls between ABIs specially.
31440 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31441 Remove.
31442 (syscall-list-variants, syscall-list-32bit-options)
31443 (syscall-list-32bit-condition, syscall-list-64bit-options)
31444 (syscall-list-64bit-condition): Define.
31445 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31446 (syscall-list-variants, syscall-list-32bit-options)
31447 (syscall-list-32bit-condition, syscall-list-64bit-options)
31448 (syscall-list-64bit-condition): Define.
31449 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31450 Remove.
31451 (syscall-list-variants, syscall-list-32bit-options)
31452 (syscall-list-32bit-condition, syscall-list-64bit-options)
31453 (syscall-list-64bit-condition): Define.
31454 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31455 Remove.
31456 (syscall-list-variants, syscall-list-32bit-options)
31457 (syscall-list-32bit-condition, syscall-list-64bit-options)
31458 (syscall-list-64bit-condition): Define.
31459
21eaf3a5
UD
314602011-12-22 Ulrich Drepper <drepper@gmail.com>
31461
16c6f992
UD
31462 * locale/iso-639.def: Add brx entry.
31463
41043168
UD
31464 [BZ #13328]
31465 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31466 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31467
21eaf3a5
UD
31468 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31469 __feraiseexcept_renamed.
31470
e3a851a2
UD
314712011-12-21 Ulrich Drepper <drepper@gmail.com>
31472
4920765e
UD
31473 [BZ #13538]
31474 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31475 EPOLLET with unsigned values.
31476 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31478
e3a851a2
UD
31479 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31480 to large cancellation.
31481 * math/s_cacoshf.c: Likewise.
31482 * math/s_cacoshl.c: Likewise.
31483
b27e24b8
RK
314842011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31485
31486 [BZ #13305]
aebefeee 31487 [BZ #12786]
b27e24b8
RK
31488 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31489 * math/s_cacoshf.c: Likewise.
31490 * math/s_cacoshl.c: Likewise.
31491
ee190f67
UD
314922011-12-21 Ulrich Drepper <drepper@gmail.com>
31493
31494 [BZ #13439]
31495 * iconv/gconv.h: Define __GCONV_SWAP.
31496 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31497 * iconvdata/utf-16.c: Likewise.
31498 * iconvdata/utf-32.c: Likewise.
31499
707f25df
AS
315002011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31501
31502 [BZ #13524]
31503 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31504 numerator after shifting it by one limb.
31505
d2daaa1e
RÁE
315062011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31507
31508 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31509 under [__USE_EXTERN_INLINES].
31510
a4647e72
UD
315112011-12-17 Ulrich Drepper <drepper@gmail.com>
31512
31513 [BZ #13446]
31514 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31515
f0b264f1
AZ
315162011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31517
31518 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31519 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31520 optimized code.
31521 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31522 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31523 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31524 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31525 for strncasecmp/strncasecmp_l compilation.
31526 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31527 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31528
8ef4f244
MP
315292011-12-08 Marek Polacek <mpolacek@redhat.com>
31530
31531 [BZ #13484]
31532 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31533 of __asm__.
31534
97ac2654
UD
315352011-12-17 Ulrich Drepper <drepper@gmail.com>
31536
31537 [BZ #13506]
31538 * time/tzfile.c (__tzfile_read): Check values from file header.
31539
91d2a845
WS
315402011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31541
31542 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31543 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31544 * powerpc/powerpc32/dl-start.S: Likewise.
31545 * powerpc/powerpc32/elf/start.S: Likewise.
31546 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31547 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31548 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31549 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31550 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31551 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31552 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31553 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31554 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31555 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31556 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31557 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31558 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31559 * powerpc/powerpc32/memset.S: Likewise.
31560 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31561 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31562 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31563 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31564 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31565 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31566 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31567 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31568 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31569 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31570 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31571 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31572 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31573
a1267ba1
AZ
315742011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31575
31576 * math/libm-test.inc: Added more nearbyint tests.
31577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31578 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31580 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31581
ad8ac1bd
RL
315822011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31583
31584 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31585 FD_CLOEXEC.
31586
1d3e4b61
UD
315872011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31588
31589 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31590 Add wcscpy-ssse3 wcscpy-c.
31591 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31592 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31593 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31594 * sysdeps/x86_64/wcschr.S: New file.
31595 * sysdeps/x86_64/wcsrchr.S: New file.
31596 * string/test-strcmp.c: Remove checking of wcscmp function for
31597 wrong alignments.
31598 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31599 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31600 wcsrchr-sse2 wcsrchr-c.
31601 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31602 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31603 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31604 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31605 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31606 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31607 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31608 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31609 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31610 * wcsmbc/wcschr.c (WCSCHR): New macro.
31611
5b330a2d
UD
316122011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31613
31614 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31615 * wcsmbs/test-wcsrchr.c: New file.
31616 * string/test-strrchr.c: Add wcsrchr support.
31617 (WIDE): New macro.
31618 * wcsmbs/test-wcscpy.c: New file.
31619 * string/test-strcpy.c: Add wcscpy support.
31620 (WIDE): New macro.
26428b7c 31621
f039c043
UD
316222011-12-10 Ulrich Drepper <drepper@gmail.com>
31623
31624 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31625 the inner loop.
31626
850fb039
AS
316272011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31628
31629 [BZ #13472]
31630 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
31631
4efbd5cb
UD
316322011-12-04 Ulrich Drepper <drepper@gmail.com>
31633
52ff5dd0 31634 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 31635 Minor optimizations.
52ff5dd0 31636
4efbd5cb
UD
31637 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
31638 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
31639 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
31640
8a426e12
UD
316412011-12-03 Ulrich Drepper <drepper@gmail.com>
31642
aff2453d
UD
31643 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
31644 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
31645 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
31646 for gcc to avoid warnings.
31647 * inet/Makefile (tests): Add tst-checks.
31648 * inet/tst-checks.c: New file.
31649
31650 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
31651 warning.
31652
31653 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
31654 __wmemcmp_sse2.
31655
31656 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
31657 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
31658
8a426e12
UD
31659 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
31660
9bea3473
UD
316612011-12-02 Ulrich Drepper <drepper@gmail.com>
31662
3a965496
UD
31663 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
31664 problem.
31665
9bea3473
UD
31666 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
31667
f101631b
UD
316682011-11-29 Joseph Myers <joseph@codesourcery.com>
31669
31670 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
31671 conditional on GCC version.
31672 (__arch_compare_and_exchange_val_8_acq)
31673 (__arch_compare_and_exchange_val_16_acq)
31674 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
31675 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
31676 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
31677
a98275aa
UD
316782011-12-02 Joseph Myers <joseph@codesourcery.com>
31679
31680 * sysdeps/sh/backtrace.c: New file.
31681
d4cc29a2
AS
316822011-12-02 Andreas Schwab <schwab@redhat.com>
31683
31684 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
31685 parenthesis.
31686
6257af2d
AS
316872011-12-01 Andreas Schwab <schwab@redhat.com>
31688
31689 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
31690 falling back to utime.
31691
b5f44c1a
AS
316922011-11-30 Andreas Schwab <schwab@redhat.com>
31693
31694 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
31695 expectations for float.
31696
f3a6cc0a
AS
316972011-11-29 Andreas Schwab <schwab@redhat.com>
31698
31699 * locale/weight.h (findidx): Add parameter len.
31700 * locale/weightwc.h (findidx): Likewise.
31701 * posix/fnmatch_loop.c (FCT): Adjust caller.
31702 * posix/regcomp.c (build_equiv_class): Likewise.
31703 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
31704 * posix/regexec.c (check_node_accept_bytes): Likewise.
31705 * string/strcoll_l.c (STRCOLL): Likewise.
31706 * string/strxfrm_l.c (STRXFRM): Likewise.
31707
9d65ea3a
UD
317082011-11-17 Ulrich Drepper <drepper@gmail.com>
31709
31710 * Makefile.in: Remove CVSOPT handling.
31711 * configure.in: Remove use of AC_REVISION.
31712 * iconvdata/Makefile (distribute): No need to filter out CVS.
31713 * scripts/list-sources.sh: Remove CVS, subversion and monotone
31714 handling.
31715
5583a086
AS
317162011-11-16 Andreas Schwab <schwab@redhat.com>
31717
31718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
31719 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
31720 [USE_AS_STRNCASECMP_L]: Likewise.
31721 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
31722 NO_TLS_DIRECT_SEG_REFS.
31723 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
31724 Fix argument offsets for non-PIC.
31725 [USE_AS_STRNCASECMP_L]: Likewise.
31726 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
31727 NO_TLS_DIRECT_SEG_REFS.
31728
d62a8200
UD
317292011-11-15 Ulrich Drepper <drepper@gmail.com>
31730
9d65ea3a 31731 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
31732 O_CLOEXEC.
31733 * locale/loadlocale.c (_nl_load_locale): Likewise.
31734
09f93bd3
AS
317352011-11-15 Andreas Schwab <schwab@redhat.com>
31736
446514f9
AS
31737 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
31738 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
31739 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
31740 (SYSCALL_GETTIME): Set errno on error.
31741
09f93bd3
AS
31742 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
31743 count references to noai6ai_cached.
31744
312be3f9
UD
317452011-11-15 Ulrich Drepper <drepper@gmail.com>
31746
31747 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
31748
31749 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
31750 FD_CLOEXEC for /proc/self/maps.
31751
31752 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
31753 FD_CLOEXEC for /proc/meminfo.
31754
31755 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
31756 gai.conf.
31757
31758 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
31759 FD_CLOEXEC for given file.
31760
31761 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
31762
31763 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
31764 FD_CLOEXEC for /etc/hosts.
31765 (_gethtent): Likewise.
31766
31767 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
31768
31769 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
31770 cancellation and set FD_CLOEXEC for /etc/netgroup.
31771
31772 * nss/nss_files/files-key.c (search): Don't allow cancellation when
31773 reading /etc/publickey.
31774
31775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
31776 allow cancellation when reading /etc/group.
31777
31778 * nss/nss_files/files-alias.c (internal_setent): Don't allow
31779 cancellation.
31780 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
31781
31782 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
31783 when using data file.
31784
31785 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
31786
31787 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
31788 (write_nis_obj): Use "c" and "e" in fopen.
31789
31790 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
31791
31792 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
31793
31794 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
31795
31796 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
31797
31798 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
31799 locale.alias.
31800
31801 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
31802
31803 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
31804
31805 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
31806
31807 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
31808 file parsing and set FD_CLOEXEC.
31809
82af0fa8
UD
318102011-11-14 Ulrich Drepper <drepper@gmail.com>
31811
31812 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
31813
a5fb313c
AS
318142011-11-14 Andreas Schwab <schwab@redhat.com>
31815
31816 * malloc/arena.c (arena_get2): Don't call reused_arena when
31817 _int_new_arena failed.
31818
6abf3465
UD
318192011-11-14 Ulrich Drepper <drepper@gmail.com>
31820
31821 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
31822 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
31823 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
31824 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31825 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31826 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
31827 to compile strcasecmp and strncasecmp.
31828 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
31829 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
31830
31831 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
31832
76e3966e
UD
318332011-11-13 Ulrich Drepper <drepper@gmail.com>
31834
31835 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
31836 locale-defines.sym to gen-as-const-headers.
31837 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
31838 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
31839 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
31840 to compile strcasecmp and strncasecmp.
31841 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
31842 strcasecmp_l and strncasecmp_l.
31843 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
31844 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
31845 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
31846 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
31847 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
31848 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
31849 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
31850 * sysdeps/i386/i686/multiarch/strncase.S: New file.
31851 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
31852 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
31853 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
31854
ab26144e
UD
318552011-11-12 Ulrich Drepper <drepper@gmail.com>
31856
7edb22ef
UD
31857 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
31858 result of SYSDEP_GETTIME_CPU to retval.
31859 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
31860 parameter list to macro. Remove trailing semicolon. Adjust users.
31861
9694fc44
UD
31862 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
31863 variable.
31864
8ad89ef8
UD
31865 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
31866 mantissa words.
31867 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
31868
0c822ef9
UD
31869 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
31870 from unused variable.
31871
874e0564
UD
31872 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
31873 DWARF definitions.
31874 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
31875 for assembling.
31876
3a2edc79
UD
31877 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
31878 over namespaces.
31879
f3c2577f
UD
31880 * sunrpc/rpc_prot.c (rejected): Fix case value.
31881
294ce126
UD
31882 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
31883 unsigned long long int to avoid warnings in shift.
31884
5e2b63c6
UD
31885 * posix/regex_internal.c (re_string_reconstruct): Actually use result
31886 of use of trans.
31887 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
31888 variable tmp.
31889
e7f4b08e
UD
31890 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
31891 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
31892 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
31893
ab26144e
UD
31894 * nis/nis_table.c (nis_list): Use variable of correct type for
31895 result of __follow_path call.
31896
8a6d5255
AZ
318972011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31898
31899 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
31900 of math functions ceil, trunc, floor, round, and sqrt, when
31901 avaliable on the platform.
31902 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
31903 name clash.
31904 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31905 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31906 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31907
aaddc98c
MP
319082011-10-30 Marek Polacek <mpolacek@redhat.com>
31909
31910 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
31911 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31912
95b7042b
RM
319132011-11-11 Roland McGrath <roland@hack.frob.com>
31914
31915 * include/unistd.h: Fix __readlink return type.
31916 Reported by Chris Metcalf <cmetcalf@tilera.com>.
31917
57769839
UD
319182011-11-11 Ulrich Drepper <drepper@gmail.com>
31919
31920 * stdlib/ucontext.h: Undo last change for makecontext.
31921
edc5984d
AS
319222011-11-11 Andreas Schwab <schwab@redhat.com>
31923
98591e58
AS
31924 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
31925
edc5984d
AS
31926 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
31927 * setjmp/setjmp.h: Mark functions as non-leaf.
31928 * setjmp/bits/setjmp2.h: Likewise.
31929 * stdlib/ucontext.h: Likewise.
31930
77cdc054
AS
319312011-11-10 Andreas Schwab <schwab@redhat.com>
31932
31933 * malloc/arena.c (_int_new_arena): Don't increment narenas.
31934 (reused_arena): Don't check arena limit.
31935 (arena_get2): Atomically check arena limit.
31936
fe72eebd
UD
319372011-11-08 Ulrich Drepper <drepper@gmail.com>
31938
5f078c32
UD
31939 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
31940 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
31941
fe72eebd
UD
31942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
31943 instructions.
31944
ae1bc2fa
AS
319452011-11-07 Andreas Schwab <schwab@redhat.com>
31946
7583a88d
AS
31947 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
31948 handler when locking.
31949
ae1bc2fa
AS
31950 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31951 Fix size of allocated buffer.
31952
10fb0bfa
AS
319532011-11-04 Andreas Schwab <schwab@redhat.com>
31954
998832a4
AS
31955 [BZ #10103]
31956 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
31957 declarations for long double functions.
31958 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
31959
10fb0bfa
AS
31960 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
31961
3d7ba52b
AS
319622011-11-03 Andreas Schwab <schwab@redhat.com>
31963
a9ae54a1
AS
31964 * nscd/nscd.c (main): Don't start AVC thread until credentials are
31965 installed.
31966
3d7ba52b
AS
31967 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
31968 is disabled.
31969
bc8db248
ST
319702011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
31971
31972 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
31973
45b96dd6
AS
319742011-11-01 Andreas Schwab <schwab@linux-m68k.org>
31975
647776f6
AS
31976 * include/alloca.h (stackinfo_alloca_round): Define.
31977 (extend_alloca): Use it.
31978 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
31979 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
31980 here.
31981
d91a8b93
AS
31982 * scripts/check-local-headers.sh: Ignore libaudit.h.
31983
45b96dd6
AS
31984 * nscd/Makefile (extra-objs): Make recursively expanded.
31985
432d41ce
UD
319862011-11-01 Ulrich Drepper <drepper@gmail.com>
31987
34372fc6
UD
31988 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
31989 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
31990
fadb59f8
UD
31991 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
31992 * posix/tst-rfc3484-2.c: Likewise.
31993 * posix/tst-rfc3484-3.c: Likewise.
31994
78239589
UD
31995 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31996 process_vm_writev.
31997 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
31998 process_vm_writev.
31999 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32000 process_vm_writev from libc using GLIBC_2.15 version.
32001
432d41ce
UD
32002 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32003
02f9c6cf
PP
320042011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32005
32006 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32007 stack usage.
32008
3a2c0242
UD
320092011-10-31 Ulrich Drepper <drepper@gmail.com>
32010
f4ec4833
UD
32011 [BZ #13367]
32012 * nss/getent.c (initgroups_keys): Show error message in case no group
32013 names are given.
32014
3a2c0242
UD
32015 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32016 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32017 __bump_nl_timestamp.
32018 * nscd/connections (nscd_init): When host database is served open
32019 netlink socket and request notification about configuration changes.
32020 (main_loop_poll): Track netlink file descriptor and bump timestamp
32021 in case data becomes available.
32022 (main_loop_epoll): Likewise.
32023 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32024 (database_pers_head): Add extra_data fileds.
32025 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32026 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32027 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32028 Adjust caller.
32029 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32030 in6ai data, call __free_in6ai.
32031 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32032 Add -DHAVE_NETLINK.
32033 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32034 interface information. Reuse previous data if netlink timestamp
32035 is not changed.
32036 (__bump_nl_timestamp): New function.
32037 (__free_in6ai): New function.
32038
636064eb
UD
320392011-10-30 Ulrich Drepper <drepper@gmail.com>
32040
32041 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32042 close_not_cancel_no_status here.
32043 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32044
9beb2334
UD
320452011-10-29 Ulrich Drepper <drepper@gmail.com>
32046
6ef76f3b
UD
32047 [BZ #13276]
32048 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32049 return value.
32050
0ffc4f3e 32051 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
32052 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32053 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32054
cb95113e
UD
320552011-07-03 Andreas Jaeger <aj@suse.de>
32056
32057 [BZ #10709]
32058 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32059 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32060 * math/libm-test.inc (sin_test): Add test case.
32061
a1b560ff
UD
320622011-10-29 Ulrich Drepper <drepper@gmail.com>
32063
c9aaface
UD
32064 [BZ #13337]
32065 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32066 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32067
d272e7f1
UD
32068 * elf/chroot_canon.c (chroot_canon): Cleanups.
32069
1bc33071
UD
32070 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32071
1760874d
TJ
32072 [BZ #13335]
32073 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32074 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32075
51d91b18
UD
32076 * string/test-strchr.c: Make usable for strchrnul testing.
32077 * string/test-strchrnul.c: New file.
32078 * string/Makefile (strop-tests): Add strchrnul.
32079
a1b560ff 32080 * po/it.po: Update from translation team.
b611fb81 32081 * po/es.po: Likewise.
a1b560ff 32082
a5b81e1f
UD
320832011-10-28 Ulrich Drepper <drepper@gmail.com>
32084
fd52bc6d
UD
32085 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32086 the three constants needed as parameters. Drop the others.
32087 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32088 __m128i_strloadu_tolower.
52e4b9eb
UD
32089 Create and initialize variable zero and use it in all the places
32090 where _mm_setzero_si128 was used.
fd52bc6d 32091
a5b81e1f
UD
32092 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32093 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32094 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32095 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32096 anymore.
32097 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32098 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32099 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32100 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32101 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32102 __mpranred, __mptan.
32103 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32104 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32105 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32106 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32107 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32108 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32109 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32110 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32111 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32112
b4343346
AS
321132011-10-28 Andreas Schwab <schwab@redhat.com>
32114
0c92d8a8
AS
32115 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32116 redefine if SHARED.
32117 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32118
b4343346
AS
32119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32120 wide char related routines to wcsmbs subdir.
32121
3871f58f
AS
321222011-10-27 Andreas Schwab <schwab@redhat.com>
32123
32124 [BZ #13344]
32125 * misc/sys/cdefs.h (__THROWNL): Define.
32126 * posix/unistd.h: Use __THREADNL instead of __THREAD
32127 for memory synchronization functions.
32128
94d44d9f
RM
321292011-10-26 Roland McGrath <roland@hack.frob.com>
32130
21b64b15 32131 [BZ #13349]
94d44d9f
RM
32132 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32133 doesn't exist.
32134 * manual/stdio.texi (Obstack Streams): Node removed.
32135
f6ce9294
AS
321362011-10-26 Andreas Schwab <schwab@redhat.com>
32137
80479147
AS
32138 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32139 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32140 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32141
f6ce9294
AS
32142 * math/math_private.h (math_force_eval): Allow non-addressable
32143 arguments.
32144 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32145
618280a1
UD
321462011-10-25 Ulrich Drepper <drepper@gmail.com>
32147
e0016b11
UD
32148 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32149 file is not needed.
32150
32151 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32153 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32154 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32155 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32156 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32157 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32158 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32159 Add AVX variants.
32160 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32161 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32162 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32163 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32164 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32165 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32166 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32167 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32168 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32169 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32170 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32171 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32172 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32173 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32174 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32175 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32176 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32177 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32178 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32179
32180 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32181 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32182
618280a1
UD
32183 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32184 place. Use VEX encoding when compiling for AVX.
32185
37822576
AS
321862011-10-25 Andreas Schwab <schwab@redhat.com>
32187
1f1e1947
AS
32188 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32189 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32190
37822576
AS
32191 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32192
31ea014d
UD
321932011-10-25 Ulrich Drepper <drepper@gmail.com>
32194
d7826aa1 32195 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 32196 useless if() expression.
d7826aa1
UD
32197 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32198 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32199 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32200 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32201 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32202 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32203 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32204 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32205 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32206 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32207 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32208 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32209 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32210 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32211 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32212 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32213 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32214 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32215 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32216
31ea014d
UD
32217 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32218
16437fec
AS
322192011-10-25 Andreas Schwab <schwab@redhat.com>
32220
32221 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32222 condition.
32223 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32224
31d3cc00
UD
322252011-10-25 Ulrich Drepper <drepper@gmail.com>
32226
32227 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32228 .text section. Avoid duplicate constants.
32229 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32231 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32232 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32233 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32235 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32237 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32238 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32239 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32240 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32241 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32242 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32243 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32244 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32245 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32246 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32247 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32248 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32249 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32250 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32251 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32252 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32253 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32254 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32255 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32256 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32257 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32258 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32259 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32260 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32261 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32262 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32263 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32264 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32265 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32266 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32267 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32268 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32269 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32270 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32271 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32272 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32273 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32274
58985aa9
UD
322752011-10-24 Ulrich Drepper <drepper@gmail.com>
32276
202c9deb
UD
32277 * sysdeps/x86_64/dla.h: Move to ...
32278 * sysdeps/x86_64/fpu/dla.h: ...here.
32279 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32280 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 32281
af968f62
UD
32282 * config.make.in: Add have-mfma4 entry.
32283 * configure.in: Substitute libc_cv_cc_fma4.
32284 * math/Makefile (dbl-only-routines): Add sincostab.
32285 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32286 Use __sincostab not sincos.
32287 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32288 name is a macro.
32289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32292 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32293 using __copysign.
32294 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32295 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32296 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32297 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32298 and __inv.
32299 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32300 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32301 __copysign.
32302 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32303 define aliases when function name is a macro.
32304 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32305 sysdeps/ieee754/dbl-64/sincos.tbl.
32306 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32307 fma4-enabled routines.
32308 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32309 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32310 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32311 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32312 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32313 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32314 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32315 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32316 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32317 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32318 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32319 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32320 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32321 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32322 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32323 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32324 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32325 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32326 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32327 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32328 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32329 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32330 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32331 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32332 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32333 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32334 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32335 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32336 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32337 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32338
58985aa9
UD
32339 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32340 rename.
32341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32342 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32343 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32344 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32346 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32347 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32348 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32349
a201fbcf
AS
323502011-10-24 Andreas Schwab <schwab@redhat.com>
32351
32352 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32353
fc2ee42a
LD
323542011-10-23 Ulrich Drepper <drepper@gmail.com>
32355
bb3129bd
UD
32356 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32357
0275fff8
UD
32358 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32359 prediction.
32360 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32361
2fa2ae85
UD
32362 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32363 Remove unused variable magic_bits.
32364 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32365
fc2ee42a
LD
32366 * string/strnlen.c: Define and use STRNLEN macro.
32367 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32368 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32369 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32370 * wcsmbs/wcslen.c: Define and use WCSLEN.
32371 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32372 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32373 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32374 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32375 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32376 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32377 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32378
ce7dd29f
LD
323792011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32380
32381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32382 strnlen-sse2-no-bsf.
32383 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32384 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32385 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32386 Add strnlen support.
32387 (USE_AS_STRNLEN): New macro.
32388 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32389 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32390 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32391 * sysdeps/x86_64/wcslen.S: New file.
32392
979c70a3
MZ
323932011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32394
32395 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32396 XMM-moves are used for copying on small sizes.
32397
2d09f82f
LD
323982011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32399
32400 * wcsmbs/Makefile (strop-tests): Add wcschr.
32401 * wcsmbs/test-wcschr.c: New file.
32402 * string/test-strchr.c: Update.
32403 Add wcschr support.
32404 (WIDE): New macro.
32405
619fccca
LD
324062011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32407
2d09f82f 32408 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
32409 * wcsmbs/test-wcslen.c: New file.
32410 * string/test-strlen.c: Update.
32411 Add wcslen support.
32412 (WIDE): New macro.
32413
09f699ea
UD
324142011-10-23 Ulrich Drepper <drepper@gmail.com>
32415
32416 * po/it.po: Update from translation team.
32417
95584d3b
LD
324182011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32419
32420 * sysdeps/x86_64/wcscmp.S: Update.
32421 Fix wrong comparison semantics.
32422 wcscmp shall use signed comparison not unsigned.
32423 Don't use substraction to avoid overflow bug.
32424 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32425 * wcsmbc/wcscmp.c: Likewise.
32426 * string/test-strcmp.c: Likewise.
32427 Add new tests to check cases with negative values.
32428
c8b3296b
UD
324292011-10-23 Ulrich Drepper <drepper@gmail.com>
32430
32431 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32432 * sysdeps/x86_64/dla.h: ...here. New file.
32433 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32438 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32440 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32442
246ad57a
AS
324432011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32444
32445 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32446 __ynl_finite aliases.
32447
a1a87169
UD
324482011-10-22 Ulrich Drepper <drepper@gmail.com>
32449
0d355eb7
UD
32450 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32451
a1a87169
UD
32452 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32453 define DLA_FMA.
32454 [DLA_FMA] (EMULV): Use DLA_FMA.
32455 [DLA_FMA] (MUL12): Use EMULV.
32456 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32457 that are not needed.
32458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32459 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32463 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32464 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32465
ee2aafe0
AS
324662011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32467
32468 * math/s_nan.c: Undef __nan.
32469 * math/s_nanf.c: Undef __nanf.
32470 * math/s_nanl.c: Undef __nanl.
32471 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32472 "math_private.h".
32473
bc62c2fb
UD
324742011-10-22 Ulrich Drepper <drepper@gmail.com>
32475
77425c63
UD
32476 * math/s_catan.c: Add branch predictions.
32477 * math/s_catanf.c: Likewise.
32478 * math/s_catanh.c: Likewise.
32479 * math/s_catanhf.c: Likewise.
32480 * math/s_catanhl.c: Likewise.
32481 * math/s_catanl.c: Likewise.
32482 * math/s_cexp.c: Likewise.
32483 * math/s_cexpf.c: Likewise.
32484 * math/s_cexpl.c: Likewise.
32485 * math/s_clog.c: Likewise.
32486 * math/s_clog10.c: Likewise.
32487 * math/s_clog10f.c: Likewise.
32488 * math/s_clog10l.c: Likewise.
32489 * math/s_clogf.c: Likewise.
32490 * math/s_clogl.c: Likewise.
32491 * math/s_csqrt.c: Likewise.
32492 * math/s_csqrtf.c: Likewise.
32493 * math/s_csqrtl.c: Likewise.
32494 * math/s_ctanf.c: Likewise.
32495 * math/s_ctanh.c: Likewise.
32496 * math/s_ctanhf.c: Likewise.
32497 * math/s_ctanhl.c: Likewise.
32498 * math/s_ctanl.c: Likewise.
32499
bc62c2fb
UD
32500 * math/math_private.h: Define __nan, __nanf, __nanl.
32501 * math/s_cacosh.c: Include <math_private.h>.
32502 * math/s_cacoshl.c: Likewise.
32503 * math/s_casinh.c: Likewise.
32504 * math/s_casinhf.c: Likewise.
32505 * math/s_casinhl.c: Likewise.
32506 * math/s_ccos.c: Rely entire on ccosh.
32507 * math/s_ccosf.c: Rely entire on ccoshf.
32508 * math/s_ccosl.c: Rely entirely on ccoshl.
32509 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32510 Remove tests for FE_INVALID.
32511 * math/s_ccoshf.c: Likewise.
32512 * math/s_ccoshl.c: Likewise.
32513 * math/s_csin.c: Likewise.
32514 * math/s_csinf.c: Likewise.
32515 * math/s_csinh.c Likewise.
32516 * math/s_csinhf.c: Likewise.
32517 * math/s_csinhl.c: Likewise.
32518 * math/s_csinl.c: Likewise.
32519 * math/s_ctan.c: Likewise.
32520 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32521 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32522 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32523
8ec250a4
UD
325242011-10-21 Ulrich Drepper <drepper@gmail.com>
32525
c196fed8
UD
32526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32527 compilation problems.
32528
8ec250a4
UD
32529 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32530 __builtin_expect.
32531
8d4f46c6
UD
325322011-10-20 Ulrich Drepper <drepper@gmail.com>
32533
ed72b654
UD
32534 * sysdeps/i386/configure.in: Test for -mfma4 option.
32535 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32536 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32537 COMMON_CPUID_INDEX_80000001.
32538 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32539 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32540 use it if FMA3 is not supported.
32541 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32542
8d4f46c6
UD
32543 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32544 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32545
d45c60c2
AS
325462011-10-20 Andreas Schwab <schwab@redhat.com>
32547
32548 [BZ #12892]
32549 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32550 it would create a cycle with a link time dependency.
32551
d9a4d2ab
UD
325522011-10-19 Ulrich Drepper <drepper@gmail.com>
32553
855d1560
UD
32554 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32555 instruction.
32556 * string/Makefile (strop-tests): Add rawmemchr.
32557 * string/test-rawmemchr.c: New file.
32558
d9a4d2ab
UD
32559 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32560 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32561 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32562 when compiling str{,n}casecmp and when AVX is available. Hook up
32563 new optimized code in initializers.
32564
8f3b1ffe
AS
325652011-10-19 Andreas Schwab <schwab@redhat.com>
32566
32567 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32568 __feraiseexcept instead of feraiseexcept.
32569
d38f1dba
UD
325702011-10-18 Ulrich Drepper <drepper@gmail.com>
32571
d9a8d0ab
UD
32572 * math/math_private.h: Define defaults for libc_fetestexcept and
32573 libc_feupdateenv.
32574 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32575 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32576 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32577 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32578 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32579 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32580 libc_fetestexcept and libc_feupdateenv.
32581
4855e3dd
UD
32582 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32583 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32584 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32585 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32586 libc_feholdexcept_setround.
32587
581d30e3
UD
32588 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32589 Add s_nearbyint-c and s_nearbyintf-c.
32590 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32591 nearbyintf inlines.
32592 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32593 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32594 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32595 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32596
d38f1dba
UD
32597 * math/math_private.h: Define defaults for libc_fegetround,
32598 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32599 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32600 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32601 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32602 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32603 standard functions.
32604 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32605 Remove comments and hacks for old compiler versions.
32606 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32607 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32608 libc_feholdexceptl.
32609
caa6c9d8
AS
326102011-10-18 Andreas Schwab <schwab@redhat.com>
32611
32612 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
32613 (__feraiseexcept_renamed): Add __NTH.
32614 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
32615 namespace violations.
32616
97c066e6
UD
326172011-10-17 Ulrich Drepper <drepper@gmail.com>
32618
99ce7b04
UD
32619 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32620
1004d182
UD
32621 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32622
228a984d
UD
32623 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32624 recently added interfaces.
32625 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32626
c8553a6a
UD
32627 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32628 about macro parameter expansion.
32629
ed22dcf6
UD
32630 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
32631 __NO_MATH_INLINES is defined. Cleanups.
32632
32633 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
32634 and __floorf is target has SSE4.1.
32635 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
32636 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
32637 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
32638 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
32639
b171c137
UD
32640 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
32641 name.
32642 (floorf): Likewise.
32643
97c066e6
UD
32644 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
32645
629f62ef
AS
326462011-10-17 Andreas Schwab <schwab@redhat.com>
32647
49a43d80
AS
32648 * misc/sys/cdefs.h: Fix last change.
32649
629f62ef
AS
32650 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
32651 database lookup.
32652
e453f6cd
UD
326532011-10-16 Ulrich Drepper <drepper@gmail.com>
32654
aa78043a
UD
32655 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
32656
ad0f5cad
UD
32657 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
32658 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32659 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32660 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32661 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32662 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32663 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32664 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32665 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32666 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
32667 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
32668 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
32669 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
32670 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
32671 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
32672 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
32673 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
32674 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
32675 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
32676 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
32677 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
32678 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
32679
32680 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
32681 ceil, ceilf, floor, floorf.
32682
32683 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
32684 Perform IRELATIVE relocations last.
32685
e453f6cd
UD
32686 * elf/do-rel.h: Add another parameter nrelative, replacing the
32687 local variable with the same name. Change name of the function
32688 to end in Rel or Rela (uppercase).
32689 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
32690 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
32691 elf_dynamic_do_##reloc function.
32692
fd5bdc09
UD
326932011-10-15 Ulrich Drepper <drepper@gmail.com>
32694
79b195b5
UD
32695 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
32696 is sufficient, at least on modern CPUs.
32697
d4a28569
UD
32698 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
32699
b61099b5
UD
32700 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
32701 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
32702
bcf01e6d
UD
32703 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
32704 __expl_finite.
32705 * math/bits/math-finite.h: Add entries for exp.
32706 * math/e_expl.c: Add __*_finite alias.
32707 * sysdeps/i386/fpu/e_exp.S: Likewise.
32708 * sysdeps/i386/fpu/e_expf.S: Likewise.
32709 * sysdeps/i386/fpu/e_expl.c: Likewise.
32710 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32711 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32712 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32713 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32714 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
32715 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32716 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32717
ba1a0d59
UD
32718 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
32719 is sufficient, at least on modern CPUs.
32720
fd5bdc09
UD
32721 * ctype/ctype-info.c (__ctype_init): Define.
32722 * include/ctype.h (__ctype_init): Declare.
32723 (__ctype_b_loc): The variable is always initialized.
32724 (__ctype_toupper_loc): Likewise.
32725 (__ctype_tolower_loc): Likewise.
32726 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
32727 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
32728
7872cfb0
AS
327292011-10-15 Andreas Schwab <schwab@linux-m68k.org>
32730
b468825a
AS
32731 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
32732
7872cfb0
AS
32733 * configure.in: Also look in $cxxmachine/include for C++ system
32734 headers.
32735
be13f7bf
LD
327362011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32737
32738 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
32739 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
32740 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
32741 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
32742 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
32743 (USE_AS_WMEMCMP): New macro.
32744 Fixing indents.
32745 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
32746 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
32747 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
32748 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
32749 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32750 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
32751 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
32752 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
32753 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
32754 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
32755 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
32756 (USE_AS_WMEMCMP): New macro.
32757 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
32758 * sysdeps/string/test-memcmp.c: Update.
32759 Fix simple_wmemcmp.
32760 Add new tests.
32761 * wcsmbs/wmemcmp.c: Update.
32762 (WMEMCMP): New macro.
32763 Fix overflow bug.
32764
556a2007
AJ
327652011-10-12 Andreas Jaeger <aj@suse.de>
32766
32767 [BZ #13268]
32768 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
32769
538faaa7
UD
327702011-10-15 Ulrich Drepper <drepper@gmail.com>
32771
ab6737ff
UD
32772 * libio/iofwide.c (do_length): Avoid warning.
32773
538faaa7
UD
32774 * ctype/ctype.h (__isctype_f): Add missing __THROW.
32775
396a21b1
UD
327762011-10-14 Ulrich Drepper <drepper@gmail.com>
32777
cdf2901f
UD
32778 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
32779
38ad40ce
UD
32780 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
32781 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
32782 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
32783 * sysdeps/i386/i686/fpu/e_log.S: New file.
32784 * sysdeps/i386/i686/fpu/e_logf.S: New file.
32785 * sysdeps/i386/i686/fpu/e_logl.S: New file.
32786
396a21b1
UD
32787 * ctype/ctype.h: Add support for inlined isXXX functions when
32788 compiling C++ code.
32789
6b1f68c9
AS
327902011-10-14 Andreas Schwab <schwab@redhat.com>
32791
349290c0
AS
32792 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32793
6b1f68c9
AS
32794 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
32795
f2282d42
RM
327962011-10-13 Roland McGrath <roland@hack.frob.com>
32797
32798 [BZ #13291]
32799 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
32800
5298ffa8
AS
328012011-10-13 Andreas Schwab <schwab@redhat.com>
32802
714fad23
AS
32803 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
32804 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
32805 feraiseexcept.
32806
81dcc7fb
AS
32807 * sysdeps/x86_64/memrchr.S: Check for zero size.
32808
5298ffa8
AS
32809 * string/stratcliff.c: Add memrchr tests.
32810
951fbcec
LD
328112011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32812
32813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32814 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
32815 rawmemchr-sse2 rawmemchr-sse2-bsf.
32816 * sysdeps/i386/i686/multiarch/memchr.S: New file.
32817 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
32818 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
32819 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
32820 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
32821 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
32822 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
32823 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
32824 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
32825 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
32826 * string/memrchr.c (MEMRCHR): New macro.
32827
0ac5ae23
UD
328282011-10-12 Ulrich Drepper <drepper@gmail.com>
32829
32830 Add integration with gcc's -ffinite-math-only and optimize wrapper
32831 functions in libm.
32832 * Versions.def: Define GLIBC_2.15 version for libm.
32833 * math/Makefile (headers): Add bits/math-finite.h.
32834 * math/bits/math-finite.h: New file.
32835 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
32836 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
32837 * math/e_acoshl.c: Add __*_finite alias.
32838 * math/e_acosl.c: Likewise.
32839 * math/e_asinl.c: Likewise.
32840 * math/e_atan2l.c: Likewise.
32841 * math/e_atanhl.c: Likewise.
32842 * math/e_coshl.c: Likewise.
32843 * math/e_exp10.c: Likewise.
32844 * math/e_exp10f.c: Likewise.
32845 * math/e_exp10l.c: Likewise.
32846 * math/e_exp2l.c: Likewise.
32847 * math/e_fmodl.c: Likewise.
32848 * math/e_gammal_r.c: Likewise.
32849 * math/e_hypotl.c: Likewise.
32850 * math/e_j0l.c: Likewise.
32851 * math/e_j1l.c: Likewise.
32852 * math/e_jnl.c: Likewise.
32853 * math/e_lgammal_r.c: Likewise.
32854 * math/e_log10l.c: Likewise.
32855 * math/e_log2l.c: Likewise.
32856 * math/e_logl.c: Likewise.
32857 * math/e_powl.c: Likewise.
32858 * math/e_sinhl.c: Likewise.
32859 * math/e_sqrtl.c: Likewise.
32860 * math/e_scalb.c: Completely rewritten and optimized.
32861 * math/e_scalbf.c: Likewise.
32862 * math/e_scalbl.c: Likewise.
32863 * math/w_acos.c: Likewise.
32864 * math/w_acosf.c: Likewise.
32865 * math/w_acosl.c: Likewise.
32866 * math/w_acosh.c: Likewise.
32867 * math/w_acoshf.c: Likewise.
32868 * math/w_acoshl.c: Likewise.
32869 * math/w_asin.c: Likewise.
32870 * math/w_asinf.c: Likewise.
32871 * math/w_asinl.c: Likewise.
32872 * math/w_atan2.c: Likewise.
32873 * math/w_atan2f.c: Likewise.
32874 * math/w_atan2l.c: Likewise.
32875 * math/w_atanh.c: Likewise.
32876 * math/w_atanhf.c: Likewise.
32877 * math/w_atanhl.c: Likewise.
32878 * math/w_exp10.c: Likewise.
32879 * math/w_exp10f.c: Likewise.
32880 * math/w_exp10l.c: Likewise.
32881 * math/w_fmod.c: Likewise.
32882 * math/w_fmodf.c: Likewise.
32883 * math/w_fmodl.c: Likewise.
32884 * math/w_j0.c: Likewise.
32885 * math/w_j0f.c: Likewise.
32886 * math/w_j0l.c: Likewise.
32887 * math/w_j1.c: Likewise.
32888 * math/w_j1f.c: Likewise.
32889 * math/w_j1l.c: Likewise.
32890 * math/w_jn.c: Likewise.
32891 * math/w_jnf.c: Likewise.
32892 * math/w_log.c: Likewise.
32893 * math/w_logf.c: Likewise.
32894 * math/w_logl.c: Likewise.
32895 * math/w_log10.c: Likewise.
32896 * math/w_log10f.c: Likewise.
32897 * math/w_log10l.c: Likewise.
32898 * math/w_log2.c: Likewise.
32899 * math/w_log2f.c: Likewise.
32900 * math/w_log2l.c: Likewise.
32901 * math/w_pow.c: Likewise.
32902 * math/w_powf.c: Likewise.
32903 * math/w_powl.c: Likewise.
32904 * math/w_remainder.c: Likewise.
32905 * math/w_remainderf.c: Likewise.
32906 * math/w_remainderl.c: Likewise.
32907 * math/w_scalb.c: Likewise.
32908 * math/w_scalbf.c: Likewise.
32909 * math/w_scalbl.c: Likewise.
32910 * math/w_sqrt.c: Likewise.
32911 * math/w_sqrtf.c: Likewise.
32912 * math/w_sqrtl.c: Likewise.
32913 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
32914 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
32915 used.
32916 * math/math_private.h: Declare __kernel_standard_f.
32917 * math/w_cosh.c: Remove cruft and optimize a bit.
32918 * math/w_coshf.c: Likewise.
32919 * math/w_coshl.c: Likewise.
32920 * math/w_exp2.c: Likewise.
32921 * math/w_exp2f.c: Likewise.
32922 * math/w_exp2l.c: Likewise.
32923 * math/w_hypot.c: Likewise.
32924 * math/w_hypotf.c: Likewise.
32925 * math/w_hypotl.c: Likewise.
32926 * math/w_lgamma.c: Likewise.
32927 * math/w_lgamma_r.c: Likewise.
32928 * math/w_lgammaf.c: Likewise.
32929 * math/w_lgammaf_r.c: Likewise.
32930 * math/w_lgammal.c: Likewise.
32931 * math/w_lgammal_r.c: Likewise.
32932 * math/w_sinh.c: Likewise.
32933 * math/w_sinhf.c: Likewise.
32934 * math/w_sinhl.c: Likewise.
32935 * math/w_tgamma.c: Likewise.
32936 * math/w_tgammaf.c: Likewise.
32937 * math/w_tgammal.c: Likewise.
32938 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32939 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32940 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
32941 Minor optimizations. Pretty printing. Remove cruft.
32942 * sysdeps/i386/fpu/e_acosf.S: Likewise.
32943 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32944 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32945 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32946 * sysdeps/i386/fpu/e_acosl.c: Likewise.
32947 * sysdeps/i386/fpu/e_asin.S: Likewise.
32948 * sysdeps/i386/fpu/e_asinf.S: Likewise.
32949 * sysdeps/i386/fpu/e_atan2.S: Likewise.
32950 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
32951 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
32952 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32953 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32954 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32955 * sysdeps/i386/fpu/e_exp10.S: Likewise.
32956 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
32957 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
32958 * sysdeps/i386/fpu/e_exp2.S: Likewise.
32959 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
32960 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
32961 * sysdeps/i386/fpu/e_fmod.S: Likewise.
32962 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
32963 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
32964 * sysdeps/i386/fpu/e_hypot.S: Likewise.
32965 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
32966 * sysdeps/i386/fpu/e_log.S: Likewise.
32967 * sysdeps/i386/fpu/e_log10.S: Likewise.
32968 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32969 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32970 * sysdeps/i386/fpu/e_log2.S: Likewise.
32971 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32972 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32973 * sysdeps/i386/fpu/e_logf.S: Likewise.
32974 * sysdeps/i386/fpu/e_logl.S: Likewise.
32975 * sysdeps/i386/fpu/e_pow.S: Likewise.
32976 * sysdeps/i386/fpu/e_powf.S: Likewise.
32977 * sysdeps/i386/fpu/e_powl.S: Likewise.
32978 * sysdeps/i386/fpu/e_remainder.S: Likewise.
32979 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
32980 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
32981 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32982 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32983 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32984 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
32985 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
32986 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
32987 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32988 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32989 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32990 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32991 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33007 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33008 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33009 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33010 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33011 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33012 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33013 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33014 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33015 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33016 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33017 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33018 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33019 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33020 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33021 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33022 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33023 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33024 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33025 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33026 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33027 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33028 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33029 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33030 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33031 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33032 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33033 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33034 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33035 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33036 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33037 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33038 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33039 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33040 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33041 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33042 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33043 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33044 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33045 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33046 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33047 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33048 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33049 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33050 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33053 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33054 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33064 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33065 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33066 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33067 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33068 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33069 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33070 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33071 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33072 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33073 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33074 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33075 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33076 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33077 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33078 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33079 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33080 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33081 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33082 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33083 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33084 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33085 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33086 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33087 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33088 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33089 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33090 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33091 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33092 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33093 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33094 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33095 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33096 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33097 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33098 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33099 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33100 (__isnanf): Likewise.
33101 (__isinf_ns): Likewise.
33102 (__isinf_nsf): Likewise.
33103 (__finite): Likewise.
33104 (__finitef): Likewise.
33105 (__ieee754_sqrt): Define as macro.
33106 (__ieee754_sqrtf): Define as macro.
33107 (__ieee754_sqrtl): Define as macro.
33108 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33109 inlined copy.
33110 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33111 __FINITE_MATH_ONLY__ consistent.
33112 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33113
12cc2fcd
AS
331142011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33115
a843a204
AS
33116 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33117 of rawmemchr.
33118
12cc2fcd
AS
33119 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33120
c853acd5
UD
331212011-10-09 Ulrich Drepper <drepper@gmail.com>
33122
33123 * po/ja.po: Update from translation team.
33124
c658d255
RM
331252011-10-08 Roland McGrath <roland@hack.frob.com>
33126
110946e4
RM
33127 * locale/programs/locarchive.c (prepare_address_space): New function.
33128 (create_archive, enlarge_archive, open_archive): Use it.
33129
50604220
RM
33130 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33131 inside [SHARED], where it is used.
33132
c658d255
RM
33133 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33134
33135 * nss/getent.c (netgroup_keys): Remove unused variable.
33136 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33137
6a621eb7
UD
331382011-10-08 Ulrich Drepper <drepper@gmail.com>
33139
7edb55ce
UD
33140 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33141 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33142 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33143 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33144 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33145 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33146 * math/Makefile (libm-calls): Add s_isinf_ns.
33147 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33148 * math/multc3.c: Likewise.
33149 * math/s_casin.c: Likewise.
33150 * math/s_casinf.c: Likewise.
33151 * math/s_casinl.c: Likewise.
33152 * math/s_ccos.c: Likewise.
33153 * math/s_ccosf.c: Likewise.
33154 * math/s_ccosl.c: Likewise.
33155 * math/s_ctan.c: Likewise.
33156 * math/s_ctanf.c: Likewise.
33157 * math/s_ctanh.c: Likewise.
33158 * math/s_ctanhf.c: Likewise.
33159 * math/s_ctanhl.c: Likewise.
33160 * math/s_ctanl.c: Likewise.
33161 * math/w_fmod.c: Likewise.
33162 * math/w_fmodf.c: Likewise.
33163 * math/w_fmodl.c: Likewise.
33164 * math/w_remainder.c: Likewise.
33165 * math/w_remainderf.c: Likewise.
33166 * math/w_remainderl.c: Likewise.
33167 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33168 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33169 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33171 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33172 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33173 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33174 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33175
187da0ae
UD
33176 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33177 of the number.
33178 * stdio-common/printf_fphex.c: Likewise.
33179 * stdio-common/printf_size.c: Likewise.
33180
9277c064
UD
33181 * math/e_exp10.c: Include math_private.h using <...> not "...".
33182 * math/e_exp10f.c: Likewise.
33183 * math/e_exp10l.c: Likewise.
33184 * math/e_exp2l.c: Likewise.
33185 * math/e_j0l.c: Likewise.
33186 * math/e_j1l.c: Likewise.
33187 * math/e_jnl.c: Likewise.
33188 * math/e_lgammal_r.c: Likewise.
33189 * math/e_rem_pio2l.c: Likewise.
33190 * math/e_scalb.c: Likewise.
33191 * math/e_scalbf.c: Likewise.
33192 * math/e_scalbl.c: Likewise.
33193 * math/k_cosl.c: Likewise.
33194 * math/k_sinl.c: Likewise.
33195 * math/k_tanl.c: Likewise.
33196 * math/s_cacoshf.c: Likewise.
33197 * math/s_catan.c: Likewise.
33198 * math/s_catanf.c: Likewise.
33199 * math/s_catanh.c: Likewise.
33200 * math/s_catanhf.c: Likewise.
33201 * math/s_catanhl.c: Likewise.
33202 * math/s_catanl.c: Likewise.
33203 * math/s_ccosh.c: Likewise.
33204 * math/s_ccoshf.c: Likewise.
33205 * math/s_ccoshl.c: Likewise.
33206 * math/s_cexp.c: Likewise.
33207 * math/s_cexpf.c: Likewise.
33208 * math/s_cexpl.c: Likewise.
33209 * math/s_clog.c: Likewise.
33210 * math/s_clog10.c: Likewise.
33211 * math/s_clog10f.c: Likewise.
33212 * math/s_clog10l.c: Likewise.
33213 * math/s_clogf.c: Likewise.
33214 * math/s_clogl.c: Likewise.
33215 * math/s_csin.c: Likewise.
33216 * math/s_csinf.c: Likewise.
33217 * math/s_csinh.c: Likewise.
33218 * math/s_csinhf.c: Likewise.
33219 * math/s_csinhl.c: Likewise.
33220 * math/s_csinl.c: Likewise.
33221 * math/s_csqrt.c: Likewise.
33222 * math/s_csqrtf.c: Likewise.
33223 * math/s_csqrtl.c: Likewise.
33224 * math/s_ctan.c: Likewise.
33225 * math/s_ctanf.c: Likewise.
33226 * math/s_ctanh.c: Likewise.
33227 * math/s_ctanhf.c: Likewise.
33228 * math/s_ctanhl.c: Likewise.
33229 * math/s_ctanl.c: Likewise.
33230 * math/s_ldexp.c: Likewise.
33231 * math/s_ldexpf.c: Likewise.
33232 * math/s_ldexpl.c: Likewise.
33233 * math/s_significand.c: Likewise.
33234 * math/s_significandf.c: Likewise.
33235 * math/s_significandl.c: Likewise.
33236 * math/w_acos.c: Likewise.
33237 * math/w_acosf.c: Likewise.
33238 * math/w_acosh.c: Likewise.
33239 * math/w_acoshf.c: Likewise.
33240 * math/w_acoshl.c: Likewise.
33241 * math/w_acosl.c: Likewise.
33242 * math/w_asin.c: Likewise.
33243 * math/w_asinf.c: Likewise.
33244 * math/w_asinl.c: Likewise.
33245 * math/w_atan2.c: Likewise.
33246 * math/w_atan2f.c: Likewise.
33247 * math/w_atan2l.c: Likewise.
33248 * math/w_atanh.c: Likewise.
33249 * math/w_atanhf.c: Likewise.
33250 * math/w_atanhl.c: Likewise.
33251 * math/w_cosh.c: Likewise.
33252 * math/w_coshf.c: Likewise.
33253 * math/w_coshl.c: Likewise.
33254 * math/w_dremf.c: Likewise.
33255 * math/w_exp10.c: Likewise.
33256 * math/w_exp10f.c: Likewise.
33257 * math/w_exp10l.c: Likewise.
33258 * math/w_exp2.c: Likewise.
33259 * math/w_exp2f.c: Likewise.
33260 * math/w_fmod.c: Likewise.
33261 * math/w_fmodf.c: Likewise.
33262 * math/w_fmodl.c: Likewise.
33263 * math/w_hypot.c: Likewise.
33264 * math/w_hypotf.c: Likewise.
33265 * math/w_hypotl.c: Likewise.
33266 * math/w_j0.c: Likewise.
33267 * math/w_j0f.c: Likewise.
33268 * math/w_j0l.c: Likewise.
33269 * math/w_j1.c: Likewise.
33270 * math/w_j1f.c: Likewise.
33271 * math/w_j1l.c: Likewise.
33272 * math/w_jn.c: Likewise.
33273 * math/w_jnf.c: Likewise.
33274 * math/w_jnl.c: Likewise.
33275 * math/w_lgamma.c: Likewise.
33276 * math/w_lgamma_r.c: Likewise.
33277 * math/w_lgammaf.c: Likewise.
33278 * math/w_lgammaf_r.c: Likewise.
33279 * math/w_lgammal.c: Likewise.
33280 * math/w_lgammal_r.c: Likewise.
33281 * math/w_log.c: Likewise.
33282 * math/w_log10.c: Likewise.
33283 * math/w_log10f.c: Likewise.
33284 * math/w_log10l.c: Likewise.
33285 * math/w_log2.c: Likewise.
33286 * math/w_log2f.c: Likewise.
33287 * math/w_log2l.c: Likewise.
33288 * math/w_logf.c: Likewise.
33289 * math/w_logl.c: Likewise.
33290 * math/w_pow.c: Likewise.
33291 * math/w_powf.c: Likewise.
33292 * math/w_powl.c: Likewise.
33293 * math/w_remainder.c: Likewise.
33294 * math/w_remainderf.c: Likewise.
33295 * math/w_remainderl.c: Likewise.
33296 * math/w_scalb.c: Likewise.
33297 * math/w_scalbf.c: Likewise.
33298 * math/w_scalbl.c: Likewise.
33299 * math/w_sinh.c: Likewise.
33300 * math/w_sinhf.c: Likewise.
33301 * math/w_sinhl.c: Likewise.
33302 * math/w_sqrt.c: Likewise.
33303 * math/w_sqrtf.c: Likewise.
33304 * math/w_sqrtl.c: Likewise.
33305 * math/w_tgamma.c: Likewise.
33306 * math/w_tgammaf.c: Likewise.
33307 * math/w_tgammal.c: Likewise.
33308
6a621eb7
UD
33309 * po/ja.po: Update from translation team.
33310
bf582445
AJ
333112011-09-29 Andreas Jaeger <aj@suse.de>
33312
f9efbf3a
AJ
33313 [BZ #13179]
33314 * sunrpc/netname.c (netname2host): Fix logic.
33315
bf582445
AJ
33316 [BZ #6779]
33317 [BZ #6783]
33318 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33319 correctly.
33320 * math/w_remainder.c (__remainder): Likewise.
33321 * math/w_remainderf.c (__remainderf): Likewise.
33322 * math/libm-test.inc (remainder_test): Add test cases.
33323
48693bea
AK
333242011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33325
33326 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33327 sdiv_qrnnd.
33328
42622229
LD
333292011-10-07 Ulrich Drepper <drepper@gmail.com>
33330
33331 * string/test-memcmp.c: Avoid unncessary #defines.
33332 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33333
093ecf92
LD
333342011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33335
33336 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33337 Use new sse2 version for core i3 - i7 as it's faster
33338 than sse42 version.
33339 (bit_Prefer_PMINUB_for_stringop): New.
33340 * sysdeps/x86_64/rawmemchr.S: Update.
33341 Replace with faster SSE2 version.
33342 * sysdeps/x86_64/memrchr.S: New file.
33343 * sysdeps/x86_64/memchr.S: Update.
33344 Replace with faster SSE2 version.
33345
fde56e5c
MP
333462011-09-12 Marek Polacek <mpolacek@redhat.com>
33347
33348 * elf/dl-load.c (lose): Add cast to avoid warning.
33349
21fd49a9
UD
333502011-10-07 Ulrich Drepper <drepper@gmail.com>
33351
5a06e643
UD
33352 * po/ca.po: Update from translation team.
33353
684ae515
UD
33354 * inet/getnetgrent_r.c: Hook up nscd.
33355 * nscd/Makefile (routines): Add nscd_netgroup.
33356 (nscd-modules): Add netgroupcache.
33357 (CFLAGS-netgroupcache.c): Define.
33358 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33359 (cache_search): Add const to second parameter.
33360 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33361 INNETGR.
33362 (dbs): Add netgrdb entry.
33363 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33364 (verify_persistent_db): Handle netgrdb.
33365 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33366 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33367 GETFDNETGR.
33368 (netgroup_response_header): Define.
33369 (innetgroup_response_header): Define.
33370 (datahead): Add netgroup_response_header and innetgroup_response_header
33371 elements.
33372 * nscd/nscd.conf: Add entries for netgroup cache.
33373 * nscd/nscd.h (dbtype): Add netgrdb.
33374 (_PATH_NSCD_NETGROUP_DB): Define.
33375 (netgroup_iov_disabled): Declare.
33376 (xmalloc, xcalloc, xrealloc): Move declarations here.
33377 (cache_search): Adjust prototype.
33378 Add netgroup-related prototypes.
33379 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33380 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33381 (__nscd_innetgr): Declare.
33382 * nscd/selinux.c (perms): Use access_vector_t as element type and
33383 add netgroup-related initializers.
33384 * nscd/netgroupcache.c: New file.
33385 * nscd/nscd_netgroup.c: New file.
33386 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33387 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33388 For four parameters use innetgr.
33389 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33390 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33391 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33392 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33393
21fd49a9
UD
33394 * nscd/connections.c (register_traced_file): Don't register file
33395 for disabled databases.
33396
054c0457
UD
333972011-10-06 Ulrich Drepper <drepper@gmail.com>
33398
32b63198
UD
33399 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33400
054c0457
UD
33401 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33402 from tree and freeing node.
33403
64031225
JO
334042011-09-25 Jiri Olsa <jolsa@redhat.com>
33405
33406 * nss/nsswitch.c (__nss_database_lookup): Handle
33407 nss_parse_service_list out of memory case.
33408
0490345c
JO
334092011-09-15 Jiri Olsa <jolsa@redhat.com>
33410
33411 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33412 out of memory case.
33413
3a62d00d
AS
334142011-10-04 Andreas Schwab <schwab@redhat.com>
33415
33416 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33417 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33418 pass it down.
33419 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33420 elf_machine_rela, elf_machine_lazy_rel.
33421 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33422 (ELF_DYNAMIC_DO_REL): Likewise.
33423 (ELF_DYNAMIC_DO_RELA): Likewise.
33424 (ELF_DYNAMIC_RELOCATE): Likewise.
33425 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33426 to ELF_DYNAMIC_DO_REL.
33427 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33428 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33429 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33430 elf_machine_rela.
33431 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33432 skip_ifunc, don't call ifunc function if non-zero.
33433 (elf_machine_rela): Likewise.
33434 (elf_machine_lazy_rel): Likewise.
33435 (elf_machine_lazy_rela): Likewise.
33436 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33437 (elf_machine_lazy_rel): Likewise.
33438 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33439 Likewise.
33440 (elf_machine_lazy_rel): Likewise.
33441 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33442 Likewise.
33443 (elf_machine_lazy_rel): Likewise.
33444 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33445 (elf_machine_lazy_rel): Likewise.
33446 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33447 (elf_machine_lazy_rel): Likewise.
33448 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33449 (elf_machine_lazy_rel): Likewise.
33450 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33451 (elf_machine_lazy_rel): Likewise.
33452 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33453 (elf_machine_lazy_rel): Likewise.
33454 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33455 (elf_machine_lazy_rel): Likewise.
33456
68577918
UD
334572011-09-28 Ulrich Drepper <drepper@gmail.com>
33458
33459 * nss/nss_files/files-init.c (_nss_files_init): Use static
33460 initialization for all the *_traced_file variables.
33461
68822d74
AS
334622011-09-28 Andreas Schwab <schwab@redhat.com>
33463
33464 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33465
2056100b
RM
334662011-09-27 Roland McGrath <roland@hack.frob.com>
33467
33468 [BZ #13226]
33469 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33470
32c76b63
AS
334712011-09-27 Andreas Schwab <schwab@redhat.com>
33472
33473 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33474 Reread the line before reparsing it.
33475
bf972c9d
AS
334762011-09-26 Andreas Schwab <schwab@redhat.com>
33477
33478 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33479
e057a1b5
JM
334802011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33481 Maxim Kuvyrkov <maxim@codesourcery.com>
33482 Joseph Myers <joseph@codesourcery.com>
33483
33484 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33485 if needed for __stack_chk_guard.
33486
bc7e1c36
RM
334872011-09-19 Roland McGrath <roland@hack.frob.com>
33488
ecb1482f
RM
33489 * sysdeps/posix/spawni.c (script_execute): Always define it.
33490 It will be optimized away if unused.
33491 (maybe_script_execute): New function.
33492 (__spawni): Call it.
33493
bc7e1c36
RM
33494 * Makerules: Don't include tls.make.
33495 (config-tls): Always set to thread.
33496 * tls.make.c: File removed.
33497
1c3b002b
MF
334982011-09-19 Mike Frysinger <vapier@gentoo.org>
33499
33500 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33501 * config.make.in (CPPFLAGS-config): New substituted variable.
33502
2840865d
UD
335032011-09-15 Ulrich Drepper <drepper@gmail.com>
33504
88738eb6
UD
33505 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33506
cbf645a6 33507 [BZ #13192]
2840865d
UD
33508 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33509 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33510
b402e91a
RM
335112011-09-15 Roland McGrath <roland@hack.frob.com>
33512
33513 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33514 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33515 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33516 (CALL_FAIL): Likewise.
33517 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33518 (CALL_FAIL): Macro removed.
33519 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33520
4c1a1f71
UD
335212011-09-15 Ulrich Drepper <drepper@gmail.com>
33522
33523 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33524 for __FINITE_MATH_ONLY__ == 1.
33525
edc121be
AS
335262011-09-15 Andreas Schwab <schwab@redhat.com>
33527
33528 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33529 __ieee754_sqrt instead of sqrt.
33530 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33531 __ieee754_sqrtf instead of sqrtf.
33532 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33533 __floorf instead of floorf.
33534 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33535 __floorf, __truncf instead of floorf, truncf.
33536
cd205654
UD
335372011-09-14 Ulrich Drepper <drepper@gmail.com>
33538
ee4d0315
UD
33539 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33540
cd205654
UD
33541 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33542 __extern_always_inline.
33543 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33544 32-bit.
33545
48b67d71
AS
335462011-09-14 Andreas Schwab <schwab@redhat.com>
33547
33548 * elf/rtld.c (dl_main): Also relocate in dependency order when
33549 doing symbol dependency testing.
33550
1ae12c75
AS
335512011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33552
33553 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33554 Always define `refsym'.
33555
995a80df
AS
335562011-09-13 Andreas Schwab <schwab@redhat.com>
33557
e529793b
AS
33558 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33559 (__FD_ELT): Renamed from __FDELT.
33560 * misc/bits/select2.h (__FD_ELT): Likewise.
33561 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33562 __FD_MASK instead of __FDELT, __FDMASK.
33563 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33564 Likewise.
33565 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33566 Likewise.
33567
52d4fef8
AS
33568 * elf/Makefile (gen-ldd): Fix pattern.
33569
995a80df
AS
33570 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33571 (init_tls): Likewise.
33572
8682f8b0
UD
335732011-09-12 Ulrich Drepper <drepper@gmail.com>
33574
33575 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33576
de82006d
AS
335772011-09-12 Andreas Schwab <schwab@redhat.com>
33578
a7c8e6a1
AS
33579 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33580 `struct cmsghdr *' instead of `void *'.
33581 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33582 Likewise.
33583
0f31fe77
AS
335842011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33585
33586 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33587 if non-absolute.
33588 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33589 ldd_rewrite_script.
0f31fe77 33590
32b4c839
UD
335912011-09-11 Ulrich Drepper <drepper@gmail.com>
33592
83cd1420
UD
33593 * configure.in: Remove --with-tls option.
33594 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33595 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33596 out in case it is missing.
33597 * sysdeps/ia64/elf/configure.in: Likewise.
33598 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33599 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33600 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33601 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33602 * sysdeps/sh/elf/configure.in: Likewise.
33603 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33604 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33605 * sysdeps/x86_64/elf/configure.in: Likewise.
33606 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33607 * sysdeps/mach/hurd/tls.h: Likewise.
33608
633f745d
UD
33609 [BZ #13067]
33610 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33611
f318beb8
UD
33612 [BZ #13090]
33613 * configure.in: Fix use of AC_INIT.
33614
32b4c839
UD
33615 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33616
3ce1f295
UD
336172011-09-10 Ulrich Drepper <drepper@gmail.com>
33618
bb016596
UD
33619 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33620 __set_errno.
8e58439c
UD
33621 * malloc/hooks.c: Likewise.
33622
aebae053 33623 [BZ #11929]
02d46fc4
UD
33624 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33625 variables statically.
33626 (narenas): Initialize.
33627 (list_lock): Initialize.
bb016596
UD
33628 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
33629 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
33630 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
33631 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
33632 Add initializers to main_arena and mp_.
33633 (malloc_state): Remove pagesize member. Change all users to use
33634 GLRO(dl_pagesize).
33635
33636 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
33637 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
33638 is always initialized.
33639
22a89187
UD
33640 * malloc/malloc.c: Removed unused configurations and dead code.
33641 * malloc/arena.c: Likewise.
33642 * malloc/hooks.c: Likewise.
02d46fc4 33643 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 33644
d063d164
UD
33645 * include/tls.h: Removed. USE___THREAD must always be defined.
33646 * bits/libc-tsd.h: Don't handle !USE___THREAD.
33647 * elf/dl-libc.c: Likewise.
33648 * elf/dl-tsd.c: Likewise.
33649 * include/errno.h: Likewise.
33650 * include/netdb.h: Likewise.
33651 * include/resolv.h: Likewise.
33652 * inet/herrno-loc.c: Likewise.
33653 * inet/herrno.c: Likewise.
33654 * malloc/arena.c: Likewise.
33655 * malloc/hooks.c: Likewise.
33656 * malloc/malloc.c: Likewise.
33657 * resolv/res-state.c: Likewise.
33658 * resolv/res_libc.c: Likewise.
33659 * sysdeps/i386/dl-machine.h: Likewise.
33660 * sysdeps/ia64/dl-machine.h: Likewise.
33661 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33662 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33663 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33664 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33665 * sysdeps/sh/dl-machine.h: Likewise.
33666 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33667 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33668 * sysdeps/unix/i386/sysdep.S: Likewise.
33669 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33670 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33674 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33675 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33677 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33678 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33679 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33680 * sysdeps/x86_64/dl-machine.h: Likewise.
33681 * tls.make.c: Likewise.
33682
3ce1f295
UD
33683 * configure.in: Remove --with-__thread option. Make tests for
33684 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
33685 tls_model attribute fail if no support is available. Remove
33686 USE_IN_LIBIO.
33687 * Makeconfig: Adjust for dropped configure option. All features are
33688 now mandatory.
33689 * Makerules: Likewise.
33690 * Versions.def: Likewise.
33691 * argp/argp-fmtstream.c: Likewise.
33692 * argp/argp-fmtstream.h: Likewise.
33693 * argp/argp-help.c: Likewise.
33694 * assert/assert.c: Likewise.
33695 * config.h.in: Likewise.
33696 * config.make.in: Likewise.
33697 * configure: Likewise.
33698 * configure.in: Likewise.
33699 * csu/Versions: Likewise.
33700 * csu/init.c: Likewise.
33701 * elf/tst-audit2.c: Likewise.
33702 * elf/tst-tls10.c: Likewise.
33703 * elf/tst-tls10.h: Likewise.
33704 * elf/tst-tls11.c: Likewise.
33705 * elf/tst-tls12.c: Likewise.
33706 * elf/tst-tls14.c: Likewise.
33707 * elf/tst-tlsmod11.c: Likewise.
33708 * elf/tst-tlsmod12.c: Likewise.
33709 * elf/tst-tlsmod13.c: Likewise.
33710 * elf/tst-tlsmod13a.c: Likewise.
33711 * elf/tst-tlsmod14a.c: Likewise.
33712 * elf/tst-tlsmod15b.c: Likewise.
33713 * elf/tst-tlsmod16a.c: Likewise.
33714 * elf/tst-tlsmod16b.c: Likewise.
33715 * elf/tst-tlsmod7.c: Likewise.
33716 * elf/tst-tlsmod8.c: Likewise.
33717 * elf/tst-tlsmod9.c: Likewise.
33718 * gmon/gmon.c: Likewise.
33719 * grp/fgetgrent_r.c: Likewise.
33720 * grp/putgrent.c: Likewise.
33721 * hurd/fopenport.c: Likewise.
33722 * include/libc-symbols.h: Likewise.
33723 * include/tls.h: Likewise.
33724 * intl/gettextP.h: Likewise.
33725 * intl/loadinfo.h: Likewise.
33726 * locale/global-locale.c: Likewise.
33727 * locale/localeinfo.h: Likewise.
33728 * mach/devstream.c: Likewise.
33729 * malloc/arena.c: Likewise.
33730 * malloc/set-freeres.c: Likewise.
33731 * misc/err.c: Likewise.
33732 * misc/getttyent.c: Likewise.
33733 * misc/mntent_r.c: Likewise.
33734 * posix/getopt.c: Likewise.
33735 * posix/wordexp.c: Likewise.
33736 * pwd/fgetpwent_r.c: Likewise.
33737 * resolv/Versions: Likewise.
33738 * resolv/res_hconf.c: Likewise.
33739 * shadow/fgetspent_r.c: Likewise.
33740 * shadow/putspent.c: Likewise.
33741 * stdio-common/printf_fphex.c: Likewise.
33742 * stdio-common/tmpfile.c: Likewise.
33743 * stdlib/abort.c: Likewise.
33744 * stdlib/fmtmsg.c: Likewise.
33745 * sunrpc/auth_unix.c: Likewise.
33746 * sunrpc/clnt_perr.c: Likewise.
33747 * sunrpc/clnt_tcp.c: Likewise.
33748 * sunrpc/clnt_udp.c: Likewise.
33749 * sunrpc/clnt_unix.c: Likewise.
33750 * sunrpc/openchild.c: Likewise.
33751 * sunrpc/svc_simple.c: Likewise.
33752 * sunrpc/svc_tcp.c: Likewise.
33753 * sunrpc/svc_udp.c: Likewise.
33754 * sunrpc/svc_unix.c: Likewise.
33755 * sunrpc/xdr.c: Likewise.
33756 * sunrpc/xdr_array.c: Likewise.
33757 * sunrpc/xdr_rec.c: Likewise.
33758 * sunrpc/xdr_ref.c: Likewise.
33759 * sunrpc/xdr_stdio.c: Likewise.
33760
1248c1c4
PB
337612011-09-09 Ulrich Drepper <drepper@gmail.com>
33762
33763 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33764
337652011-07-03 Andreas Jaeger <aj@suse.de>
33766
33767 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
33768 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
33769 regenerate with gen-libm-tests.pl.
33770
337712010-05-12 Petr Baudis <pasky@suse.cz>
33772
33773 [BZ #11589]
33774 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
33775 around j0() zero points by switching to j1().
33776 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33777 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33780
f22e1074
UD
337812011-09-09 Ulrich Drepper <drepper@gmail.com>
33782
f19009c1
UD
33783 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
33784 instead of 0.
33785 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 33786 instead of 0.
f19009c1
UD
33787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33788 Patch in part by Pavel Roskin <proski@gnu.org>.
33789
3f8cc204
UD
33790 [BZ #13138]
33791 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
33792 realloc.
33793 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
33794 Free memory block if necessary.
33795
f22e1074
UD
33796 [BZ #12847]
33797 * libio/genops.c (INTDEF): For string streams the _lock pointer can
33798 be NULL. Don't lock in this case.
33799
0a2349f9
RM
338002011-09-09 Roland McGrath <roland@hack.frob.com>
33801
33802 * elf/elf.h (ELFOSABI_GNU): New macro.
33803 (ELFOSABI_LINUX): Define to that.
33804
f3cdd467
DZ
338052011-07-29 Denis Zaitceff <zaitceff@gmail.com>
33806
33807 * string/strncat.c (strncat): Undef the symbol in case it has been
33808 defined in bits/string.h.
33809
74718d13
UD
338102011-09-09 Ulrich Drepper <drepper@gmail.com>
33811
633e9e0f
UD
33812 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
33813
0a2349f9 33814 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
33815 link map.
33816
f9924780
AJ
338172011-08-17 Andreas Jaeger <aj@suse.de>
33818
33819 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
33820
7f5517aa
PP
338212011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
33822 Ian Lance Taylor <iant@google.com>
33823
33824 * math/libm-test.inc (lround_test): New testcase.
33825 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
33826
762011fe
UD
338272011-09-08 Ulrich Drepper <drepper@gmail.com>
33828
92963737
UD
33829 * Makefile: Remove support for automatic cvs check-ins.
33830 * Makerules: Likewise.
33831 * config.make.in: Likewise.
33832 * configure.in: Likewise.
33833 * intl/Makefile: Likewise.
33834 * locale/Makefile: Likewise.
33835 * po/Makefile: Likewise.
33836 * posix/Makefile: Likewise.
33837 * sysdeps/gnu/Makefile: Likewise.
33838 * sysdeps/mach/hurd/Makefile: Likewise.
33839 * sysdeps/sparc/sparc32/Makefile: Likewise.
33840
b0727fd8
JS
33841 [BZ #13118]
33842 * posix/Makefile (bug-regex32-ENV): Define.
33843 Patch by John Stanley <jpsinthemix@verizon.net>.
33844
a0f33f99
UD
33845 * misc/Makefile (headers): Add bits/select2.h.
33846 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
33847 * misc/bits/select2.h: New file.
33848 * include/bits/select2.h: New file.
33849 * debug/Makefile (routines): Add fdelt_chk.
33850 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
33851 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
33852 FD_ISSET.
33853 * debug/fdelt_chk.c: New file.
33854
762011fe
UD
33855 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
33856 * wcsmbs/test-wmemcmp.c: Likewise.
33857 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 33858 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
33859
338602011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33861
33862 * string/Makefile (strop-tests): Add memcmp.
33863 * string/test-wmemcmp.c: New file.
33864 * string/test-memcmp.c: Add wmemcmp support.
33865
7f513ec8
RM
338662011-09-08 Roland McGrath <roland@hack.frob.com>
33867
0442afb4
RM
33868 [BZ #13153]
33869 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
33870 2011-07-19 change.
33871
7f513ec8
RM
33872 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
33873 garbage value in a __mach_port_mod_refs call in the cases of the
33874 task-self and thread-self ports.
33875
a12b2239
ST
338762011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
33877
33878 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
33879
610f9ab4
AS
338802011-09-08 Andreas Schwab <schwab@redhat.com>
33881
7f513ec8 33882 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 33883
48882a1a
LD
338842011-09-07 Ulrich Drepper <drepper@gmail.com>
33885
b49865be
UD
33886 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
33887
fdc86bc9
UD
33888 * elf/dl-libc.c (dlerror_run): Pass back error code from
33889 dl_catch_error.
33890
c966526a
UD
33891 [BZ #13123]
33892 * elf/dl-load.c (lose): Free l_origin if it is valid.
33893
48882a1a
LD
33894 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
33895 names.
33896 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33897 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33898 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33899 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33900 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33901 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
33902
77a2a8b4
AZ
339032011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33904
33905 * sysdeps/powerpc/fpu/e_hypot.c: New file.
33906 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
33907 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
33908 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
33909 * sysdeps/powerpc/fpu/k_cosf.c: New file.
33910 * sysdeps/powerpc/fpu/k_sinf.c: New file.
33911 * sysdeps/powerpc/fpu/s_cosf.c: New file.
33912 * sysdeps/powerpc/fpu/s_sinf.c: New file.
33913 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
33914 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
33915
24f579d8
AM
339162011-08-15 Alan Modra <amodra@gmail.com>
33917
33918 [BZ #13092]
33919 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
33920 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
33921 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
33922 ppc_mcount to static-only-routines.
33923 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
33924 __mcount_internal.
33925 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
33926 __mcount_internal with usual JUMPTARGET. Remove useless nop.
33927
3d4837df
UD
339282011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
33929
33930 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
33931 for finite and infinity parameters.
33932
22700377
WS
339332011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33934
33935 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
33936 and add nop instructions for throughput optimization.
33937 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33938
5025581e
WS
339392011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
33940
33941 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
33942 aligned copy for power7 with vector-scalar instructions.
33943 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33944
08a300c9
L
339452011-07-24 H.J. Lu <hongjiu.lu@intel.com>
33946
33947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
33948 AVX check.
33949
59178ef9
AS
339502011-09-07 Andreas Schwab <schwab@redhat.com>
33951
33952 [BZ #13144]
33953 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
33954 last change.
33955
e38ba7ab
UD
339562011-09-07 Ulrich Drepper <drepper@gmail.com>
33957
33958 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33959 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
33960 syscall wrapper around clock_gettime in __vdso_clock_gettime.
33961 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
33962 clock_gettime.
33963
d53a73ac
UD
339642011-09-06 Ulrich Drepper <drepper@gmail.com>
33965
fc8bffcc
UD
33966 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
33967 Forgot to demangle the pointer.
33968
ceaa0c5d
UD
33969 * sysdeps/i386/sysdep.h: Define atom_text_section.
33970 * sysdeps/x86_64/sysdep.h: Likewise.
33971 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
33972 section with atom_text_section.
33973 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33974 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33975 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33976 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33977 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
33978
a77d3c17
UD
33979 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
33980 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
33981 already be defined. Change to take two parameters and don't assign
33982 result to variable. Adjust all users.
33983 Define INTERNAL_GETTIME if not already defined.
33984 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
33985 call.
33986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
33987 HAVE_CLOCK_GETTIME_VSYSCALL.
33988 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
33989
d53a73ac
UD
33990 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
33991 gettimeofday vsyscall, just use time.
33992
a8f84144
AS
339932011-09-06 Andreas Schwab <schwab@redhat.com>
33994
33995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
33996 <errno.h>.
33997
ef606249
UD
339982011-09-06 Ulrich Drepper <drepper@gmail.com>
33999
34000 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34001 syscall on x86-64.
34002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34003 syscall.
34004 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34005 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34006 syscall if possible.
34007
6585cb60
UD
340082011-09-05 Ulrich Drepper <drepper@gmail.com>
34009
34010 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34011 e_ident. Don't pass to find_mapsXX.
34012 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34013
a5f524e4
LD
340142011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34015
34016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34017 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34018 * sysdeps/x86_64/multiarch/strchr.S: Update.
34019 Check bit_slow_BSF bit.
34020 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34021 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34022 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34023
554881ef
UD
340242011-09-05 Ulrich Drepper <drepper@gmail.com>
34025
d96de963
UD
34026 [BZ #13134]
34027 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34028 before glibc 2.15.
34029 (tryshell): Define.
34030 (__spawni): Change last parameter to be flag. Test
34031 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34032 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34033 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34034 * posix/spawni.c: Likewise.
34035 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34036 * posix/spawnp.c: Likewise. Change normal version to use
34037 SPAWN_XFLAGS_USE_PATH.
34038 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34039 SPAWN_XFLAGS_TRY_SHELL.
34040
d48e5868
UD
34041 [BZ #13150]
34042 * posix/glob.h: Remove gcc 1.x support.
34043
554881ef
UD
34044 [BZ #13068]
34045 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34046
693fb948
LD
340472011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34048
34049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34050 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34051 strrchr-sse2-bsf
34052 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34053 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34054 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34055 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34056 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34057 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34058
1b48c537
UD
340592011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34060
49d42c37
UD
34061 * sysdeps/x86_64/wcscmp.S: New file.
34062
1b48c537
UD
34063 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34064 wcscmp-c wcscmp-sse2
34065 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34066 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34067 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34068 * wcsmbs/wcscmp.c: Allow renaming.
34069
15c95c5d
DM
340702011-09-05 David S. Miller <davem@davemloft.net>
34071
34072 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34073 stack slot, rather than the struct return pointer slot.
34074 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34075 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34077 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34078
2f0ad8f3
UD
340792011-09-05 Ulrich Drepper <drepper@gmail.com>
34080
d88ae418
UD
34081 * po/ja.po: Update from translation team.
34082
2f0ad8f3
UD
34083 [BZ #13144]
34084 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34085 kernel in 64-bit binaries.
34086
5f4318d1
DM
340872011-09-01 David S. Miller <davem@davemloft.net>
34088
34089 * elf/elf.h (HWCAP_SPARC_*): Move to..
34090 * sysdeps/sparc/sysdep.h: this new file and add new values.
34091 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34092 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34093 _DL_HWCAP_COUNT to 24.
34094 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34095 entries.
34096 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34097 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34098 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34099 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34100 instead of magic constants.
34101 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34102
3ba57516
DM
341032011-08-31 David S. Miller <davem@davemloft.net>
34104
34105 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34107 Reimplement to do errno handling inline.
34108 (SYSCALL_ERROR_HANDLER): New macro.
34109 (__SYSCALL_STRING): Do not do errno handling in asm.
34110 (__CLONE_SYSCALL_STRING): Delete.
34111 (__INTERNAL_SYSCALL_STRING): Delete.
34112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34113 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34114 (PSEUDO): Reimplement to do errno handling inline.
34115 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34116 (SYSCALL_ERROR_HANDLER): New macro.
34117 (__SYSCALL_STRING): Do not do errno handling in asm.
34118 (__CLONE_SYSCALL_STRING): Delete.
34119 (__INTERNAL_SYSCALL_STRING): Delete.
34120 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34121 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34122 i386.
34123 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34124 (inline_syscall*): Add 'err' argument.
34125 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34126 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34127 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34128 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34129
34130 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34131 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34132
2bc17433
AS
341332011-08-30 Andreas Schwab <schwab@redhat.com>
34134
34135 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34136
fbeb5f4d
JO
341372011-08-29 Jiri Olsa <jolsa@redhat.com>
34138
34139 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34140 directive.
34141
ad69cc26
DM
341422011-08-24 David S. Miller <davem@davemloft.net>
34143
34144 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34145
39dd69df
AS
341462011-08-24 Andreas Schwab <schwab@redhat.com>
34147
34148 * elf/Makefile: Add rules to build and run unload8 test.
34149 * elf/unload8.c: New file.
34150 * elf/unload8mod1.c: New file.
34151 * elf/unload8mod1x.c: New file.
34152 * elf/unload8mod2.c: New file.
34153 * elf/unload8mod3.c: New file.
34154
34155 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34156 it wasn't used.
34157
2c0b250a
DM
341582011-08-23 David S. Miller <davem@davemloft.net>
34159
34160 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34161 subtract stack bias.
34162 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34163 %sp not %fp in calculations.
34164 (_JMPBUF_UNWINDS_ADJ): Likewise.
34165
22044b48
DM
34166 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34167 (aio_suspend): Call it to force an exception region around the
34168 AIO_MISC_WAIT() invocation.
34169
2cae4995
AS
341702011-08-23 Andreas Schwab <schwab@redhat.com>
34171
34172 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34173 backslash.
34174
873a772e
AJ
341752011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34176
34177 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34178 protection macro.
34179 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34180 and <dl-machine.h>.
34181 (Elf64_FuncDesc): Remove.
34182
25ad0df1
DM
341832011-08-22 David S. Miller <davem@davemloft.net>
34184
34185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34186 sigaltstack check, add missing cfi directives.
34187 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34188 missing cfi directives, and sigaltstack handling.
34189
e888bcbe
AS
341902011-08-16 Andreas Schwab <schwab@redhat.com>
34191
34192 [BZ #11724]
34193 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34194 object is seen twice.
34195 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34196
34197 * elf/Makefile (distribute): Add tst-initorder2.c.
34198 (tests): Add tst-initorder2.
34199 (modules-names): Add tst-initorder2a tst-initorder2b
34200 tst-initorder2c tst-initorder2d. Add rules to build them.
34201 ($(objpfx)tst-initorder2.out): New rule.
34202 * elf/tst-initorder2.c: New file.
34203 * elf/tst-initorder2.exp: New file.
34204
87162f46
AS
342052011-08-22 Andreas Schwab <schwab@redhat.com>
34206
70538b7f
AS
34207 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34208
f55ffe58
AS
34209 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34210 dependencies back to end of function.
34211
87162f46
AS
34212 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34213 $(elfobjdir)/ld.so.
34214
91b392a4
UD
342152011-08-21 Ulrich Drepper <drepper@gmail.com>
34216
34217 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34218 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34219 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34220 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34221 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34222 of __vdso_gettimeofday.
34223 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34224 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34225 attribute_hidden.
34226 (_libc_vdso_platform_setup): Remove initialization of
34227 __vdso_gettimeofday and __vdso_time.
34228
5c43483f
UD
342292011-08-20 Ulrich Drepper <drepper@gmail.com>
34230
775a77e7
UD
34231 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34232 and fgetc_unlocked.
34233 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34234 getc_unlocked.
89f447ed 34235
49c74ba9
UD
34236 * elf/dl-open.c (add_to_global): Report additions to the global scope
34237 for LD_DEBUG=scopes.
34238 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 34239 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 34240
5c43483f
UD
34241 [BZ #13114]
34242 * stdio-common/Makefile (tests): Add bug24.
34243 * stdio-common/bug24.c: New file.
34244
a101b025
AJ
342452011-08-19 Andreas Jaeger <aj@suse.de>
34246
34247 [BZ #13114]
34248 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34249 non-existant file when using close-on-exec mode.
34250
c88f1766
UD
342512011-08-20 Ulrich Drepper <drepper@gmail.com>
34252
0276a718
UD
34253 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34254 the very first instruction.
34255
c88f1766
UD
34256 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34257 the CFI state in the end.
34258 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34259 inclusion of dl-trampoline.h.
34260 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34261
51ccffa0
AS
342622011-08-19 Andreas Schwab <schwab@redhat.com>
34263
94d7165f
AS
34264 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34265 expectations for long double.
34266
51ccffa0
AS
34267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34268 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34269
fd708658 342702011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
34271
34272 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34273 artificual limit depends upon the system page size.
34274
44f0a71e
UD
342752011-08-17 Ulrich Drepper <drepper@gmail.com>
34276
34277 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34278 * resolv/Makefile: Define CFLAGS-libresolv.
34279
8de79a24
AS
342802011-08-17 Andreas Schwab <schwab@redhat.com>
34281
34282 * nss/makedb.c (compute_tables): Make variables used in nested
34283 function static.
34284
27724598
UD
342852011-08-17 Ulrich Drepper <drepper@gmail.com>
34286
c5305d88
UD
34287 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34288 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34289 if buffer was too small.
34290
27724598
UD
34291 * elf/pldd.c (main): Attach to all threads in the process.
34292 Rewrite /proc handling to use *at functions.
34293
076fe015
UD
342942011-08-16 Ulrich Drepper <drepper@gmail.com>
34295
174baab3
UD
34296 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34297 specifies first scope to show.
34298 (dl_open_worker): Update callers. Move printing scope of new
34299 object to before the relocation.
44f0a71e 34300 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
34301 * sysdeps/generic/ldsodefs.h: Update declaration.
34302
076fe015
UD
34303 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34304 string for the scope number.
34305
a60df2c3
UD
343062011-08-14 Ulrich Drepper <drepper@gmail.com>
34307
34308 * nscd/servicescache.c (cache_addserv): Make sure written is always
34309 initialized.
34310
5e4287d1
RM
343112011-08-14 Roland McGrath <roland@hack.frob.com>
34312
85ae0589
RM
34313 * sysdeps/i386/i486/bits/atomic.h
34314 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34315 statement expression, so as to suppress "set but not used" warning.
34316 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34317
69f63097
RM
34318 * string/strncat.c (STRNCAT): Use prototype definition.
34319
675456ef
RM
34320 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34321 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34322 -Iprograms here.
34323 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34324 (localedef-modules): Add localedef.
34325 (locale-modules): Add locale.
34326
5e4287d1
RM
34327 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34328 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34329 to avoid a warning.
34330
9c96ff23
DM
343312011-08-14 David S. Miller <davem@davemloft.net>
34332
34333 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34334 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34335
f9ddf089
UD
343362011-08-13 Ulrich Drepper <drepper@gmail.com>
34337
44f0a71e 34338 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
34339 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34340 * elf/rtld.c (dl_main): Set l_name of vDSO.
34341 Call _dl_show_scope when DL_DEBUG_SCOPES.
34342 (process_dl_debug): Recognize scopes flag and also set it for all.
34343 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34344 Declare _dl_show_scope.
34345
1dc27704
UD
34346 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34347 (do_dlopen): Pass caller_dlopen to dl_open.
34348 (__libc_dlopen_mode): Initialize caller_dlopen.
34349
f9ddf089
UD
34350 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34351 of libc. Make tolower call locale-independent. Optimize a bit by
34352 using isdigit instead of isalnum.
34353 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34354
9ac533d3
UD
343552011-08-12 Ulrich Drepper <drepper@gmail.com>
34356
34357 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34358 was a dependency or dynamically loaded.
34359
89edf2e9
UD
343602011-08-11 Ulrich Drepper <drepper@gmail.com>
34361
8e999d29
UD
34362 * intl/l10nflist.c: Allow architecture-specific pop function.
34363 * sysdeps/x86_64/l10nflist.c: New file.
34364
89edf2e9
UD
34365 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34366 classification.
34367
14d96785
AS
343682011-08-10 Andreas Schwab <schwab@redhat.com>
34369
34370 * include/dirent.h: Add libc_hidden_proto for scandirat and
34371 scandirat64. Don't declare __scandirat64.
34372 * dirent/scandirat.c: Add libc_hidden_def.
34373 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34374 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34375
6761ac04
DM
343762011-08-10 David S. Miller <davem@davemloft.net>
34377
34378 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34379 enum.
34380 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34381 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34382 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34383
c55fbd1e
UD
343842011-08-09 Ulrich Drepper <drepper@gmail.com>
34385
34386 * Versions.def [libc]: Add GLIBC_2.15.
34387 * dirent/Makefile (routines): Add scandirat and scandirat64.
34388 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34389 GLIBC_2.15.
34390 * dirent/dirent.h: Declare scandirat and scandirat64.
34391 * dirent/scandirat.c: New file.
34392 * dirent/scandirat64.c: New file.
34393 * sysdeps/wordsize-64/scandirat.c: New file.
34394 * sysdeps/wordsize-64/scandirat64.c: New file.
34395 * dirent/opendir.c: Define opendirat.
34396 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34397 using scandirat.
34398 * dirent/scandir64.c: Adjust for scandir.c change.
34399 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34400 __scandirat64, and __scandir_cancel_handler.
34401 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34402 additional parameter and use openat instead of open (outside of ld.so).
34403 Add new __opendir as wrapper around __opendirat.
34404 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34405 here without requiring old scandirat implementation.
34406
879165f2
UD
344072011-08-08 Ulrich Drepper <drepper@gmail.com>
34408
34409 * dirent/scandir.c (cancel_handler): Renamed to
34410 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34411 defined. Adjust users.
34412 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34413 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34414
cb7e923b
UD
344152011-08-04 Ulrich Drepper <drepper@gmail.com>
34416
16292edd
UD
34417 * string/test-string.h (IMPL): Use __STRING to expand name and then
34418 stringify it.
34419
cb7e923b
UD
34420 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34421 of cleanups.
34422
cff82933
LD
344232011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34424
34425 * string/Makefile: Update.
34426 (strop-tests): Append strncat.
34427 * string/test-wcscmp.c: New file.
34428 New comprehensive test for wcscmp.
34429 * string/test-strcmp.c: Update.
34430 (WIDE): New define.
34431
9be9bfcc
AS
344322011-07-22 Andreas Schwab <schwab@redhat.com>
34433
34434 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34435 line.
34436
2e96f1c7
AS
344372011-07-26 Andreas Schwab <schwab@redhat.com>
34438
34439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34440 encoding to ACE if AI_IDN.
34441
85188888
JJ
344422011-08-01 Jakub Jelinek <jakub@redhat.com>
34443
34444 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34445 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34446
5fa16e9b
LD
344472011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34448
34449 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34450 Fix overflow bug in strncat.
34451 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34452
34453 * string/test-strncat.c: Update.
34454 Add new tests for checking overflow bugs.
34455
344562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34457
34458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34459 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34460 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34461 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34462 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34463 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34464 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34465 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34466 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34467
34468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34469 (USE_AS_STRCAT): Define.
34470 Add strcat and strncat support.
34471 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34472
8c1a459f
AS
344732011-07-25 Andreas Schwab <schwab@redhat.com>
34474
34475 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34476 __n bigger than INT_MAX+1.
34477 (__strncmp_g): Likewise.
34478
bba33c28
UD
344792011-07-23 Ulrich Drepper <drepper@gmail.com>
34480
798be72d
UD
34481 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34482 * libio/stido.h: Likewise.
34483
8accd4dc
UD
34484 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34485 (AF_NFC): Define.
34486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34487 (AF_NFC): Define.
34488
cbff0d96
UD
34489 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34490 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34491 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34492 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34493 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34494
9191c04a
UD
34495 [BZ #13021]
34496 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34497 installed.
34498
bba33c28
UD
34499 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34500 typo.
34501 (_dl_x86_64_save_sse): Likewise.
34502
90f139dd
UD
345032011-07-22 Ulrich Drepper <drepper@gmail.com>
34504
1aae088a
UD
34505 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34506 OSXSAVE.
34507 (_dl_x86_64_save_sse): Likewise.
34508
8e2045f5
UD
34509 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34510
90f139dd
UD
34511 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34512
1d002f25
AS
345132011-07-21 Andreas Schwab <schwab@redhat.com>
34514
34515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34516 change.
34517 (_dl_x86_64_save_sse): Use correct AVX check.
34518
21137f89
UD
345192011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34520
34521 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34522 bug in strncpy/strncat.
34523 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34524
a65c0b7a
UD
345252011-07-21 Ulrich Drepper <drepper@gmail.com>
34526
34527 * string/tester.c (test_strcat): Add tests for different alignments
34528 of source and destination.
34529 (test_strncat): Likewise.
34530
6986b98a
UD
345312011-07-20 Ulrich Drepper <drepper@gmail.com>
34532
90bb2039
UD
34533 [BZ #12852]
34534 * posix/glob.c (glob): Check passed in values before using them in
34535 expressions to avoid some overflows.
34536 (glob_in_dir): Likewise.
34537
5644ef54
UD
34538 [BZ #13007]
34539 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34540 check for AVX enablement so that we don't crash with old kernels and
34541 new hardware.
34542 * elf/tst-audit4.c: Add same checks here.
34543 * elf/tst-audit6.c: Likewise.
34544
34545 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 34546
bfc9dc9b
AS
345472011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34548
34549 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34550
702e64bb
UD
345512011-07-20 Ulrich Drepper <drepper@gmail.com>
34552
34553 * po/cs.po: Update from translation team.
34554 * po/bg.po: Likewise.
34555
295e904f
MP
345562011-07-12 Marek Polacek <mpolacek@redhat.com>
34557
34558 * misc/sys/cdefs.h: Add support for const attribute.
34559 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34560 to gnu_dev_{major,minor,makedev} functions.
34561
3ff94596
MP
345622011-07-20 Marek Polacek <mpolacek@redhat.com>
34563
34564 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34565
28b59fca
AS
345662011-07-20 Andreas Schwab <schwab@redhat.com>
34567
34568 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34569 strlen results.
34570
19df733e
AK
345712011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34572
34573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34574 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34575 register in order to avoid conflicts with the soft frame pointer
34576 being held in r11 when necessary.
34577 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34578 (INTERNAL_VSYSCALL_NCS): Likewise.
34579
c8835729
MP
345802011-07-14 Marek Polacek <mpolacek@redhat.com>
34581
34582 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34583 * elf/dl-fini.c (_dl_fini): Adjust caller.
34584 * elf/dl-close.c (_dl_close_worker): Likewise.
34585 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34586
b902330c
MP
345872011-07-15 Marek Polacek <mpolacek@redhat.com>
34588
8991e135
MP
34589 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34590 "aux_cache->nlibs < 0".
34591
b902330c
MP
34592 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34593 in the reload-count case.
34594
99710781
LD
345952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34596
34597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34598 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34599 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34600 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34601 * sysdeps/x86_64/multiarch/strcat.S: New file.
34602 * sysdeps/x86_64/multiarch/strncat.S: New file.
34603 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34604 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34605 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34606 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34607 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34608 (USE_AS_STRCAT): Define.
34609 Add strcat and strncat support.
34610 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34612 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34613 * string/strncat.c: Update.
34614 (USE_AS_STRNCAT): Define.
34615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34616 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34617 and i7.
34618 * sysdeps/x86_64/multiarch/init-arch.h
34619 (bit_Prefer_PMINUB_for_stringop): New.
34620 (index_Prefer_PMINUB_for_stringop): Likewise.
34621 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34622 bit_Prefer_PMINUB_for_stringop.
34623
7dc6bd90
UD
346242011-07-19 Ulrich Drepper <drepper@gmail.com>
34625
34626 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34627 buffer64.
34628 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
34629 of casting of buffer.
34630 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
34631 buffer32 and buffer64.
34632 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
34633 writes instead of casting of buffer.
34634 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
34635 buffer32.
34636 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
34637 casting of buffer.
34638
e0e72284
AS
346392011-07-19 Andreas Schwab <schwab@redhat.com>
34640
34641 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
34642
feb1eb0b
UD
346432011-07-19 Ulrich Drepper <drepper@gmail.com>
34644
34645 * nscd/nscd.c (termination_handler): Don't do anything for a database
34646 if it has not yet been initialized.
34647
298711ff
UD
346482011-07-18 Ulrich Drepper <drepper@gmail.com>
34649
34650 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34651
346522011-07-15 Marek Polacek <mpolacek@redhat.com>
34653
34654 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
34655
f9d68389
UD
346562011-07-18 Ulrich Drepper <drepper@gmail.com>
34657
34658 * po/nl.po: Update from translation team.
34659 * po/sv.po: Likewise.
34660
db290cf5
RM
346612011-07-16 Roland McGrath <roland@hack.frob.com>
34662
34663 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
34664 now disallowed by GCC.
5c550700 34665
fd5e21c7
RM
34666 * configure.in (use-default-link): Default to yes if a test -shared
34667 link meets our qualifications.
34668 * configure: Regenerated.
34669
5c550700
RM
34670 * config.make.in (output-format): New variable.
34671 * configure.in: Check for ld --print-output-format support.
34672 * configure: Regenerated.
34673 * Makerules ($(common-objpfx)format.lds)
34674 [$(output-format) != unknown]: Just use $(output-format),
34675 instead of the linker-script munging.
34676
9fa2c032
RM
346772011-07-14 Roland McGrath <roland@hack.frob.com>
34678
a6928d51
RM
34679 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
34680 of $(common-objpfx)shlib.lds.
34681 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
34682
661607b3
RM
34683 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
34684 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
34685
9fa2c032
RM
34686 * configure.in (-z relro check): Adjust test code to add a large
34687 writable data section after it.
34688 * configure: Regenerated.
34689
defe9061
RM
346902011-07-11 Roland McGrath <roland@hack.frob.com>
34691
34692 * configure.in (-z relro check): Fix test code to make the variable
34693 truly const.
34694 * configure: Regenerated.
34695
319b9ad4
UD
346962011-07-11 Ulrich Drepper <drepper@gmail.com>
34697
34698 * nscd/nscd.h (struct traced_file): Define.
34699 (struct database_dyn): Remove inotify_descr, reset_res, and filename
34700 elements. Add traced_files.
34701 (inotify_fd): Declare.
34702 (register_traced_file): Declare.
34703 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
34704 (inotify_fd): Export.
34705 (resolv_conf_descr): Remove.
34706 (nscd_init): Move inotify descriptor creation to main.
34707 Don't register files for notification here.
34708 (register_traced_file): New function.
34709 (invalidate_cache): Don't use reset_res to determine whether to call
34710 res_init, go through the list of registered files.
34711 (main_loop_poll): The inotify descriptors are now stored in the
34712 structures for the traced files.
34713 (main_loop_epoll): Likewise
34714 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
34715 to __nss_disable_nscd.
34716 * nscd/cache.c (prune_cache): There is no single inotify descriptor
34717 for a database anymore. Check the records for all the registered
34718 files instead.
34719 * nss/Makefile (libnss_files-routines): Add files-init.
34720 (libnss_db-routines): Add db-init.
34721 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
34722 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
34723 * nss/nss_db/db-init.c: New file.
34724 * nss/nss_files/files-init.c: New file.
34725 * nss/nsswitch.c (nss_load_library): New function. Broken out of
34726 __nss_lookup_function.
34727 (__nss_lookup_function): Call nss_load_library.
34728 (nss_load_all_libraries): New function.
34729 (__nss_disable_nscd): Take parameter with callback function for files
34730 to register. Set is_nscd. Load all the DSOs for the NSS modules
34731 used for the cached services.
34732 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
34733 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
34734 options for features to all the files in nscd.
34735
34736 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
34737
23bee3e8
RM
347382011-07-10 Roland McGrath <roland@hack.frob.com>
34739
34740 * csu/elf-init.c (__libc_csu_init): Comment typo.
34741
46a5b7f0
UD
347422011-07-09 Ulrich Drepper <drepper@gmail.com>
34743
34744 * po/pl.po: Update from translation team.
34745 * po/ja.po: Likewise.
34746 * po/ru.po: Likewise.
34747 * po/ko.po: Likewise.
34748 * po/fr.po: Likewise.
34749
d30cf5bb
RM
347502011-07-09 Roland McGrath <roland@hack.frob.com>
34751
113ddea4
RM
34752 * configure.in (.ctors/.dtors header and trailer check):
34753 Use an empirical test on a built program.
34754 * configure: Regenerated.
34755
574920b4
RM
34756 * configure.in (-z relro check): Use an empirical test on a built DSO.
34757 Detect, but do not require, on ia64.
34758 * configure: Regenerated.
34759
d30cf5bb
RM
34760 * configure.in (READELF): Find it with AC_CHECK_TOOL.
34761 Update tests that use readelf to use $READELF instead.
34762 * configure: Regenerated.
34763
8538fdb3
UD
347642011-07-08 Ulrich Drepper <drepper@gmail.com>
34765
34766 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
34767 if the result is not used.
34768
04d08991
AJ
347692011-07-05 Andreas Jaeger <aj@suse.de>
34770
34771 [BZ#9696]
34772 * stdlib/tst-strtod.c: Add testcase.
34773
de283087
AD
347742011-07-07 Ulrich Drepper <drepper@gmail.com>
34775
4e5f31c8 34776 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 34777 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
34778 The latter has a higher limit. Take additional parameter to pass to
34779 the new function.
34780 (__pathconf): Pass file to __statfs_link_max.
34781 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
34782 __statfs_link_max.
34783 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
34784 __statfs_link_max.
34785
de283087
AD
34786 [BZ #12868]
34787 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
34788 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34789 Handle Lustre.
34790 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
34791 (__statfs_filesize_max): Likewise.
34792 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
34793
c75fa153
AJ
347942011-07-05 Andreas Jaeger <aj@suse.de>
34795
34796 * resolv/res_comp.c (dn_skipname): Remove unused variable.
34797
1a544854
UD
347982011-07-06 Marek Polacek <mpolacek@redhat.com>
34799
34800 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
34801 `status' variable.
34802 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
34803 Likewise.
34804
6f0eec67
UD
348052011-07-04 H.J. Lu <hongjiu.lu@intel.com>
34806
34807 * Makefile (strop-tests): Add strncat.
34808 * string/test-strncat.c: New file.
34809
aae30307
UD
348102011-06-30 Marek Polacek <mpolacek@redhat.com>
34811
34812 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
34813
c0cfb5eb
UD
348142011-06-21 Andreas Jaeger <aj@suse.de>
34815
34816 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
34817 Copy rule from iconvdata/Makefile.
34818
01636b21
UD
348192011-07-06 Ulrich Drepper <drepper@gmail.com>
34820
34821 [BZ #12922]
34822 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
34823 but no long options are defined, just return 'W'.
34824
9895c8bc
UD
348252011-06-22 Marek Polacek <mpolacek@redhat.com>
34826
34827 [BZ #9696]
34828 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
34829
5d4cf042
UD
348302011-07-06 Ulrich Drepper <drepper@gmail.com>
34831
34832 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
34833 netgroups to read.
960e5535 34834 (innetgr): Likewise.
5d4cf042 34835
751eb97e
RM
348362011-07-05 Roland McGrath <roland@hack.frob.com>
34837
34838 * config.make.in (install_root): Default to $(DESTDIR).
34839
f15f1e45
UD
348402011-07-05 Ulrich Drepper <drepper@gmail.com>
34841
34842 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
34843
4e34ac6a
RM
348442011-07-02 Roland McGrath <roland@hack.frob.com>
34845
5e9b6af4
RM
34846 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
34847
84f9ea0f
RM
34848 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
34849 containing directory rather than embedding absolute directory names.
34850
ea5ee9f7
RM
34851 * scripts/check-local-headers.sh: Rewritten using awk.
34852 Match by word, not by line. Print error messages for matches.
34853 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
34854
1b74661a
RM
34855 * Makerules [shlib-lds-flags empty]:
34856 ($(common-objpfx)libc_pic.opts): New target.
34857 ($(common-objpfx)libc_pic.os.clean): New target.
34858 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
34859
34860 * config.make.in (OBJCOPY): New variable.
34861 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
34862 * configure: Regenerated.
34863
f781ef40
RM
34864 * config.make.in (use-default-link): New variable.
34865 * configure.in (use_default_link): Grok --with-default-link to set it.
34866 * configure: Regenerated.
34867 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
34868 (shlib-lds, shlib-lds-flags): Define to empty.
34869
2d4fa81e
RM
34870 * Makerules (shlib-lds): New variable.
34871 (shlib-lds-flags): New variable.
34872 (build-shlib, build-moduile, build-module-asneeded): Use it.
34873 ($(common-objpfx)libc.so): Use $(shlib-lds).
34874 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
34875 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
34876
31fffa6b
RM
34877 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
34878 DT_FLAGS/DT_FLAGS_1 with zero flags.
34879
4e34ac6a
RM
34880 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
34881 linker script munging.
34882
fcfc776b
UD
348832011-07-02 Ulrich Drepper <drepper@gmail.com>
34884
34885 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
34886 as 128-bit value.
34887 * crypt/sha512.c (sha512_process_block): Perform total addition using
34888 128-bit if possible.
34889 (__sha512_finish_ctx): Likewise.
34890 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
34891 as 64-bit value.
34892 * crypt/sha256.c (SWAP64): Define.
34893 (sha256_process_block): Perform total addition using 64-bit if
34894 possible.
34895 (__sha256_finish_ctx): Likewise.
34896
99231d9a
UD
348972011-07-01 Ulrich Drepper <drepper@gmail.com>
34898
34899 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
34900 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34901 * nscd/hstcache.c (cache_addhst): Likewise.
34902 * nscd/grpcache.c (cache_addgr): Likewise.
34903 * nscd/aicache.c (addhstaiX): Likewise
34904 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
34905
445b4a53
TK
349062011-07-01 Thorsten Kukuk <kukuk@suse.de>
34907
34908 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
34909 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34910 * nscd/hstcache.c (cache_addhst): Likewise.
34911 * nscd/grpcache.c (cache_addgr): Likewise.
34912 * nscd/aicache.c (addhstaiX): Likewise
34913
6d4d8e8e
AS
349142011-07-01 Andreas Schwab <schwab@redhat.com>
34915
34916 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
34917 domain only when needed.
34918
89f654c5
AS
349192011-06-30 Andreas Schwab <schwab@redhat.com>
34920
34921 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
34922 is always restored.
34923
cf3b23ff
UD
349242011-06-29 Ulrich Drepper <drepper@gmail.com>
34925
34926 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
34927 are re-adding the entry.
34928 * nscd/servicescache.c (cache_addserv): Likewise.
34929
751626f9
AJ
349302011-06-30 Aurelien Jarno <aurelien@aurel32.net>
34931
34932 * sysdeps/generic/dl-irel.h: fix protection against multiple
34933 inclusions.
34934 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
34935
9113ea1f
UD
349362011-06-28 Ulrich Drepper <drepper@gmail.com>
34937
5c0b8d90
UD
34938 [BZ #12935]
34939 * malloc/memusage.sh: Fix quoting in message.
34940 * debug/xtrace.sh: Likewise.
34941
9113ea1f
UD
34942 * configure.in: Remove support for --experimental-malloc option, make
34943 it the default.
34944 * config.make.in: Likewise.
34945 * malloc/Makefile: Likewise.
34946
a4172181
AS
349472011-06-27 Andreas Schwab <schwab@redhat.com>
34948
34949 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
34950 two-byte characters.
34951
78a7eee7
RM
349522011-06-27 Roland McGrath <roland@hack.frob.com>
34953
62bede13
RM
34954 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
34955 AC_CACHE_CHECK invocation.
34956 * configure: Regenerated.
34957
78a7eee7
RM
34958 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
34959
5ce33a62
UD
349602011-06-27 Ulrich Drepper <drepper@gmail.com>
34961
034807a9
UD
34962 [BZ #12350]
34963 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
34964 bit from old_res_options.
34965
4902da17
UD
34966 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
34967
5ce33a62
UD
34968 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
34969 value type for setfct.
34970
c2344f56
L
349712011-06-23 H.J. Lu <hongjiu.lu@intel.com>
34972
34973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
34974 __gettimeofday instead of gettimeofday.
34975
68468076
UD
349762011-06-26 Ulrich Drepper <drepper@gmail.com>
34977
34978 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
34979
acb0d739
L
349802011-06-24 H.J. Lu <hongjiu.lu@intel.com>
34981
34982 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
34983
34984 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
34985 info.
34986
8912479f
L
349872011-06-22 H.J. Lu <hongjiu.lu@intel.com>
34988
34989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34990 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
34991 strcpy-sse2-unaligned strncpy-sse2-unaligned
34992 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
34993 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
34994 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
34995 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
34996 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
34997 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
34998 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
34999 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35000 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35001 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35002 (STRCPY): Support SSE2 and SSSE3 versions.
35003
d5495a11
UD
350042011-06-24 Ulrich Drepper <drepper@gmail.com>
35005
35006 [BZ #12874]
35007 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35008 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35009 kernels which artificially limit size of requests.
35010
0b1cbaae
L
350112011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35012
35013 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35014 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35015 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35016 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35017 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35018 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35019 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35020 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35021 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35022 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35023 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35024 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35025 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35026 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35027 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35029 Enable unaligned load optimization for Intel Core i3, i5 and i7
35030 processors.
35031 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35032 Define.
35033 (index_Fast_Unaligned_Load): Define.
35034 (HAS_FAST_UNALIGNED_LOAD): Define.
35035
07f494a0
MP
350362011-06-23 Marek Polacek <mpolacek@redhat.com>
35037
35038 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35039
fa3fc0fe
UD
350402011-06-22 Ulrich Drepper <drepper@gmail.com>
35041
35042 [BZ #12907]
35043 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35044 until it is clear that the information is realy needed.
35045 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35046
e12df166
AS
350472011-06-22 Andreas Schwab <schwab@redhat.com>
35048
35049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35050
852eb34d
UD
350512011-06-22 Ulrich Drepper <drepper@gmail.com>
35052
84e2a551
UD
35053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35054 /sys/devices/system/cpu/online if it is usable.
35055
852eb34d
UD
35056 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35057 reading the information from the /proc filesystem to once a second.
35058
6e502e19
UD
350592011-06-21 Andreas Jaeger <aj@suse.de>
35060
35061 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35062 NULL after inclusion of kernel headers.
35063
75d39ff2
UD
350642011-06-21 Ulrich Drepper <drepper@gmail.com>
35065
51f9aa6a
UD
35066 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35067 calls to internal_setent.
35068
c0244a9d
UD
35069 [BZ #12885]
35070 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35071 addresses using gethostbyname4_r ignore IPv4 addresses.
35072
c5e3c2ae
UD
35073 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35074 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35075
75d39ff2
UD
35076 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35077
42675c6f
DM
350782011-06-20 David S. Miller <davem@davemloft.net>
35079
35080 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35081 inclusions.
35082 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35083
35084 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35085 (elf_irel): Use it.
35086 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35087 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35088 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35089 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35090 * sysdeps/x86_64/dl-irel.h: Likewise.
35091
35092 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35093 * elf/dl-sym.c: Likewise.
35094
57912a71
UD
350952011-06-15 Ulrich Drepper <drepper@gmail.com>
35096
35097 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35098 need to dereference resplen2.
35099
ee22793d
AS
351002011-06-14 Andreas Schwab <schwab@redhat.com>
35101
35102 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35103
a9e836b0
UD
351042011-06-15 Ulrich Drepper <drepper@gmail.com>
35105
77fb9117
UD
35106 * Makeconfig: Define vardbdir and inst_vardbdir.
35107 * nss/Makefile: Add rules to install db-Makefile.
35108
40c1b22c
UD
35109 * nss/nss_db/db-XXX.c: Cleanup.
35110
9f2da732
UD
35111 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35112 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35113 GLIBC_PRIVATE.
35114 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35115 * nss/makedb.c: Implement -g option to specify that value strings
35116 are generated and should not be added to table iterated over for
35117 get*ent calls.
35118 * nss/nss_db/db-initgroups.c: New file.
35119
82e9a1f7
UD
35120 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35121 interface.
35122
c41af17e
UD
35123 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35124 (internal_getgrouplist): Adjust to name change.
35125 Update use_initgroups_entry if this is not the first call.
35126 * nss/databases.def: Add initgroups entry.
35127
a9e836b0
UD
35128 * nss/makedb.c (compute_tables): Check result of multiple hash table
35129 sizes to minimize maximum chain length.
35130
2666d441
UD
351312011-06-14 Ulrich Drepper <drepper@gmail.com>
35132
35133 * Versions.def: Add entry for libnss_db.
35134 * shlib-versions: Likewise.
35135 * nss/Makefile: Add rules to build libnss_db.
35136 * nss/Versions: Add libnss_db information. Organize libnss_files
35137 entries better.
35138 * nss/db-Makefile: Add gshadow support. Change rules for the new
35139 makedb progra. Some minor improvements to generate smaller files.
35140 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35141 here from...
35142 * nss/makedb.c: ...here.
35143 Improve database format to be smaller and require less memory at
35144 runtime.
35145 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35146 db anymore.
35147 * nss/nss_db/db-netgrp.c: Likewise.
35148 * nss/nss_db/db-open.c: Likewise.
35149 * nss/nss_files/flies-XXX.x: Adjust comments.
35150 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35151 * nss/nss_files/files-grp.c: Likewise.
35152 * nss/nss_files/files-hosts.c: Likewise.
35153 * nss/nss_files/files-network.c: Likewise.
35154 * nss/nss_files/files-proto.c: Likewise.
35155 * nss/nss_files/files-pwd.c: Likewise.
35156 * nss/nss_files/files-rpc.c: Likewise.
35157 * nss/nss_files/files-service.c: Likewise.
35158 * nss/nss_files/files-sgrp.c: Likewise.
35159 * nss/nss_files/files-spwd.c: Likewise.
35160 * nss/nss_db/db-alias.c: Removed.
35161 * nss/nss_db/dummy-db.h: Removed.
35162
9ee76b5a
UD
351632011-06-02 Ulrich Drepper <drepper@gmail.com>
35164
35165 * nss/makedb.c: Rewritten to not use database library.
35166 * nss/Makefile: Update to build new makedb program.
35167
c71ca1f8
AJ
351682011-06-14 Andreas Jaeger <aj@suse.de>
35169
35170 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35171 memset declaration.
35172
3154bfb8
UD
351732011-06-10 Andreas Schwab <schwab@redhat.com>
35174
35175 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35176 tmpbuf.
35177
b350afab
RM
351782011-06-10 Roland McGrath <roland@hack.frob.com>
35179
decd4e50
RM
35180 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35181 * elf/Makefile ($(objpfx)ld.so): Likewise.
35182
5615eaf2
RM
35183 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35184 Don't list ld.so twice in dependencies.
35185
35186 * posix/bug-regex31.c: Include <stdlib.h>.
35187
35188 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35189
35190 * nis/nss_compat/compat-spwd.c
35191 (getspent_next_nss_netgr): Remove unused variable.
35192 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35193
35194 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35195 nonmembers" output to use the right array.
35196
35197 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35198
35199 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35200
35201 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35202 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35203 * catgets/gencat.c (read_input_file): Likewise.
35204 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35205
35206 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35207 variable definition inside #if's controlling its use.
35208
35209 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35210
35211 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35212
35213 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35214
35215 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35216 unreachable code.
35217
35218 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35219
b68e08db
RM
35220 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35221 * configure: Regenerated.
35222
b350afab
RM
35223 * Makerules: Revert last change.
35224 * elf/Makefile: Likewise.
35225
28368601
RM
352262011-06-09 Roland McGrath <roland@hack.frob.com>
35227
35228 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35229 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35230 (reloc-link): Likewise.
35231
11988f8f
UD
352322011-06-09 Ulrich Drepper <drepper@gmail.com>
35233
35234 * elf/Makefile: Add rules to build pldd.
35235 * elf/pldd.c: New file.
35236 * elf/pldd-xx.c: New file.
35237
e80fab37
UD
352382011-06-07 Ulrich Drepper <drepper@gmail.com>
35239
35240 * version.h: Update for 2.15 development version.
35241
9b849836
DM
352422011-06-07 David S. Miller <davem@davemloft.net>
35243
35244 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35245 ifuncs.
35246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35247 elf_machine_lazy_rel): Likewise.
35248 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35250 elf_machine_lazy_rel): Likewise.
35251 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35252 dl_hwcap via passed in argument.
35253 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35254 Likewise.
35255
5a31b283
AK
352562011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35257
35258 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35259
069e52f8
RM
352602011-06-06 Roland McGrath <roland@hack.frob.com>
35261
35262 [BZ #12849]
35263 * manual/fdl-1.1.texi: New file, verbatim from:
35264 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35265 * manual/lgpl-2.1.texi: New file, verbatim from:
35266 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35267 * manual/Makefile (licenses): New variable, list those new file names.
35268 (texis): Use it.
35269 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35270
35271 * manual/fdl.texi: File removed.
35272 * manual/lesser.texi: File removed.
35273 * manual/libc.texinfo (Copying, Documentation License):
35274 Use new @include file names, put @appendix directive before @include.
35275
f16846a5
JJ
352762011-06-04 Jakub Jelinek <jakub@redhat.com>
35277
35278 [BZ #12841]
35279 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35280 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35281 (mq_open): Add __NTH.
35282
3d29045b
L
352832011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35284
35285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35286 Assume Intel Core i3/i5/i7 processor if AVX is available.
35287
8c297311
UD
352882011-05-31 Ulrich Drepper <drepper@gmail.com>
35289
35290 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35291 typo.
35292
c8fc0c91
UD
352932011-05-31 Andreas Schwab <schwab@redhat.com>
35294
35295 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35296 memory. Use alloca_account. Fix memory leak when retrying.
35297
5b27a807
UD
352982011-05-31 Ulrich Drepper <drepper@gmail.com>
35299
356f8bc6
UD
35300 * version.h (RELEASE): Bump for 2.14 release.
35301 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35302
5b27a807
UD
35303 * config.make.in (RANLIB): Remove entry.
35304
01f16ab0
UD
353052011-05-30 Ulrich Drepper <drepper@gmail.com>
35306
41fce8bd
UD
35307 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35308 (libc.pot): Work around missing support for .ksh extension in xgettext.
35309
4769ae77
UD
35310 [BZ #12684]
35311 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35312 if both request failed.
35313 (send_dg): In case of server errors clear resplen or *resplen2.
35314
6b1e7d19
UD
35315 [BZ #12454]
35316 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35317 when there are multiple maps.
35318 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35319 (_dl_fini): Remove test here.
35320
01f16ab0
UD
35321 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35322
b1ebd700
UD
353232011-05-29 Ulrich Drepper <drepper@gmail.com>
35324
7ae22829
UD
35325 [BZ #12350]
35326 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35327 bit from old_res_options.
35328 (gaih_inet): Likewise.
35329
553149f6 35330 [BZ #11099]
18a84741 35331 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
35332 as signed.
35333
652ffab1
UD
35334 * resolv/res_init.c (res_setoptions): Make the code more compact.
35335
16985fd0
UD
35336 [BZ #11558]
35337 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35338 set RES_USEVC.
35339
0464f746
UD
35340 [BZ #11634]
35341 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35342
7d17596c
UD
35343 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35344
cf6bbbd7
UD
35345 [BZ #11781]
35346 * malloc/malloc.h: Declare malloc hook variables as volatile.
35347
13f1ab36
UD
35348 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35349 in last patch.
35350
b1ebd700
UD
35351 [BZ #11799]
35352 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 35353 raise in the comment.
80e2212d
UD
35354 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35355 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35356 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 35357
ce67228d
UD
353582011-05-28 Ulrich Drepper <drepper@gmail.com>
35359
8887a920
UD
35360 [BZ #12811]
35361 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35362 grow the buffers more if it already has to be sufficient.
35363 (build_wcs_upper_buffer): Likewise.
35364 * posix/regexec.c (check_matching): Likewise.
35365 (clean_state_log_if_needed): Likewise.
35366 (extend_buffers): Don't enlarge buffers beyond size of the input
35367 buffer.
35368 Patches mostly by Emil Wojak <emil@wojak.eu>.
35369 * posix/bug-regex32.c: New file.
35370 * posix/Makefile (tests): Add bug-regex32.
35371
4f031072
UD
35372 * locale/findlocale.c (_nl_find_locale): Return right away if
35373 _nl_explode_name failed.
35374 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35375
d0478f0c
UD
35376 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35377
de81b246
UD
35378 * debug/xtrace.sh: Unify messages.
35379 * malloc/memusage.sh: Likewise.
35380
c738465a
UD
35381 [BZ #12813]
35382 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35383 time symbol from vDSO. Substitute with vsyscall if not available.
35384 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35385 __vdso_time.
35386
f1f929d7
UD
35387 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35388 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35389 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35390 Add sendmmsg and internal_sendmmsg.
35391 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35392 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35393 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35394
ce67228d
UD
35395 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35396 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35397 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35398
e57420c6
UD
353992011-05-27 Ulrich Drepper <drepper@gmail.com>
35400
a8509ca5
UD
35401 [BZ #12813]
35402 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35403 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35404 available.
35405 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35406 __vdso_getcpu.
35407
e57420c6
UD
35408 [BZ #12814]
35409 * iconvdata/Makefile (tests): Add bug-iconv9.
35410 * iconvdata/bug-iconv9.c: New file.
35411
4d07db15
AS
354122011-05-27 Andreas Schwab <schwab@redhat.com>
35413
35414 [BZ #12814]
35415 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35416
ea486f69
JJ
354172011-05-25 Jakub Jelinek <jakub@redhat.com>
35418
35419 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35420 (struct user_regs_struct): Change intcs field back to cs.
35421
6f038433
UD
354222011-05-25 Ulrich Drepper <drepper@gmail.com>
35423
35424 * po/ja.po: Update from translation team.
35425
67f86a25
UD
354262011-05-23 Ulrich Drepper <drepper@gmail.com>
35427
35428 [BZ #12795]
35429 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35430 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35431
def7fbd6
AS
354322011-05-20 Andreas Schwab <schwab@redhat.com>
35433
35434 * stdlib/longlong.h: Update from GCC.
35435
f50ef8f1
AS
354362011-05-23 Andreas Schwab <schwab@redhat.com>
35437
35438 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35439 parameter name.
35440 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35441 Add parameter name.
35442 (__sysconf): Pass it down.
35443
de7ce8f1
UD
354442011-05-22 Ulrich Drepper <drepper@gmail.com>
35445
f2962a71
UD
35446 [BZ #12671]
35447 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35448 some situations.
35449 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35450 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35451 add in in __libc_use_alloca calls. Adjust callers.
35452 (glob): Use malloc in some situations.
35453
de7ce8f1
UD
35454 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35455 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35456 pltexit.
35457
aec84f53
UD
354582011-05-21 Ulrich Drepper <drepper@gmail.com>
35459
05bb4a68
UD
35460 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35461 and CLOCK_BOOTTIME_ALARM.
35462
7ea72f99
UD
35463 [BZ #12782]
35464 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35465 is returned.
35466
7e4afad5
UD
35467 * string/_strerror.c (__strerror_r): Print negative errors as signed
35468 numbers.
35469
8e211fec
UD
35470 [BZ #12777]
35471 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35472 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35473 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35474
f7d82dc9
UD
35475 * configure.in: Fix typo in redirection and correct removal of test
35476 files in two cases.
35477
cc9e536d
UD
35478 [BZ #12788]
35479 * locale/setlocale.c (new_composite_name): Fix test to check for
35480 identical name of all categories.
35481
aec84f53
UD
35482 [BZ #12792]
35483 * libio/filedoalloc.c (local_isatty): New function.
35484 (_IO_file_doallocate): Use local_isatty.
35485 * stdio-common/perror.c (perror): In case a new stream is used
35486 forward the stream error.
35487 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35488 error flag.
35489
78e64fdc
RT
354902011-05-20 Ulrich Drepper <drepper@gmail.com>
35491
34a9094f
UD
35492 [BZ #11869]
35493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35494 alloca.
35495 * include/alloca.h (extend_alloca_account): Define.
35496
78e64fdc
RT
35497 [BZ #11857]
35498 * posix/regex.h: Fix comments with documentation of user-accessible
35499 fields after compilation and describe correct free'ing of pattern
35500 after re_compile_pattern.
35501 Patch by Reuben Thomas <rrt@sc3d.org>.
35502
457bddfc
RA
355032011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35504
35505 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35506 and -mno-altivec to prevent the compiler from using Altivec and/or
35507 VSX instructions when the corresponding registers are not available.
35508
a4527b51
AS
355092011-05-19 Andreas Schwab <schwab@redhat.com>
35510
35511 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35512
ed690b2f
UD
355132011-05-19 Ulrich Drepper <drepper@gmail.com>
35514
35515 * libio/freopen.c (freopen): Use __dup2, not dup2.
35516 * libio/freopen64.c (freopen64): Likewise.
35517
8db73634
L
355182011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35519
35520 [BZ #12775]
35521 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35522 * math/Makefile (tests): Add test-powl.
35523 (CFLAGS-test-powl.c): Define.
35524 * math/test-powl.c: New file.
35525
0a197a9d
L
355262011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35527
35528 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35529
ee30c380
UD
355302011-05-17 Ulrich Drepper <drepper@gmail.com>
35531
35532 [BZ #11837]
35533 * iconvdata/gb18030.c: Update to GB18020-2005.
35534
6ce75379
UD
355352011-05-16 Ulrich Drepper <drepper@gmail.com>
35536
a4b89fd8
AR
35537 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35538 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35539 Patch by Aharon Robbins <arnold@skeeve.com>.
35540
ea389b12
UD
35541 [BZ #11892]
35542 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35543 on the stack.
35544
68a3f91f
UD
35545 [BZ #11895]
35546 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35547 through underflows.
35548
15cc7dd1
UD
35549 [BZ #12766]
35550 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35551 point to strings before performing equality test for error_one_per_line
35552 mode.
35553
f3799213
UD
35554 [BZ #11697]
35555 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35556
d79a9c94
UD
35557 [BZ #11820]
35558 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35559 (struct user_fpregs_struct): Avoid __uint*_t types.
35560
56e5eb46
UD
35561 [BZ #6420]
35562 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35563 symbol info. Use it instead of calling _dl_addr locally.
35564 (lock_and_info): New function.
35565 (tr_freehook): Call lock_and_info and pass symbol info as additional
35566 parameter to tr_where.
35567 (tr_mallochook): Likewise.
35568 (tr_reallochook): Likewise.
35569 (tr_memalignhook): Likewise.
35570
6ce75379
UD
35571 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35572 used and couldn't be at all thread-safe.
35573
f8a3b5bf
UD
355742011-05-15 Ulrich Drepper <drepper@gmail.com>
35575
94b7cc37
UD
35576 * libio/freopen.c (freopen): Don't close old file descriptor
35577 before the new one is opened. Instead dup the new file descriptor
35578 to the old one after the new stream is created.
35579 * libio/freopen64.c (freopen64): Likewise.
35580 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35581 * libio/fileops.c (_IO_new_file_close_it): Handle new
35582 _IO_FLAGS2_NOCLOSE flag.
35583 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35584 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35585 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35586 _IO_FLAGS2_NOCLOSE flag.
35587 * include/unistd.h: Add hidden_proto for dup3.
35588 Define __have_dup3.
35589 * io/dup3.c: Define hidden symbol.
35590 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35591
bd25564e
UD
35592 [BZ #7101]
35593 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35594 when an incomplete long option is used.
35595 * posix/tst-getopt_long1.c: New file.
35596 * posix/Makefile (tests): Add tst-getopt_long1.
35597
c84cfef4
UD
35598 [BZ #10138]
35599 * scripts/config.guess: Update from autoconf-2.68.
35600 * scripts/config.sub: Likewise.
35601
3b85df27
UD
35602 [BZ #10157]
35603 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35604 tests into ...
35605 (has_cpuclock): ...this. New function.
35606 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35607 macro here based on has_cpuclock code.
35608
15a856b1
UD
35609 [BZ #10149]
35610 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35611 First byte (not low byte) is now always NUL.
35612 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35613
05f399e6
UD
35614 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35615 Use non-cancelable interfaces.
35616
10a52685 35617 [BZ #9809]
94ecc67d
UD
35618 * locale/iso-639.def: Add entry for Sorani.
35619
f8a3b5bf
UD
35620 [BZ #11901]
35621 * include/stdlib.h: Move include protection to the right place.
35622 Define abort_msg_s. Declare __abort_msg with it.
35623 * stdlib/abort.c (__abort_msg): Adjust type.
35624 * assert/assert.c (__assert_fail_base): New function. Majority
35625 of code from __assert_fail. Allocate memory for __abort_msg with
35626 mmap.
35627 (__assert_fail): Now call __assert_fail_base.
35628 * assert/assert-perr.c: Remove bulk of implementation. Use
35629 __assert_fail_base.
35630 * include/assert.hL Declare __assert_fail_base.
35631 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
35632 mmap.
35633 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
35634
1af4e298
UD
356352011-05-14 Ulrich Drepper <drepper@gmail.com>
35636
f8a3b5bf 35637 [BZ #11952]
d26dfc60
MG
35638 [BZ #12453]
35639 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
35640 until all modules are registered in the DTV.
35641 * elf/Makefile: Add rules to build and run tst-tls19.
35642 * elf/tst-tls19.c: New file.
35643 * elf/tst-tls19mod1.c: New file.
35644 * elf/tst-tls19mod2.c: New file.
35645 * elf/tst-tls19mod3.c: New file.
35646 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
35647
2fc54d6f
UD
35648 [BZ #12083]
35649 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
35650 correctly.
35651
98d76b46
UD
35652 [BZ #12601]
35653 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
35654 two-byte sequence errors.
35655 * iconvdata/Makefile (tests): Add bug-iconv8.
35656 * iconvdata/bug-iconv8.c: New file.
35657
da3c19ef
UD
35658 [BZ #12626]
35659 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
35660 buf2 definition.
35661
ca408c15
UD
35662 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
35663
d6f67f7d
UD
35664 [BZ #12432]
35665 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
35666 (dummy_getcfa): New function.
35667 (init): Get _Unwind_GetCFA address, use dummy if not found.
35668 (backtrace_helper): In recursion check, also check whether CFA changes.
35669 (__backtrace): Completely initialize arg.
35670
1af4e298 35671 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
35672 storing incomplete byte sequence in state object. Avoid testing for
35673 guaranteed too small input if we know there is enough data available.
1af4e298 35674
da62f81b
AS
356752011-05-11 Andreas Schwab <schwab@redhat.com>
35676
35677 * Makeconfig (+link-pie): Indent.
35678 * Rules (binaries-pie): Define if $(have-fpie) and
35679 $(build-shared).
35680 (binaries-shared): Also filter out $(binaries-pie).
35681 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
35682 * nscd/Makefile (others-pie): Add nscd.
35683 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
35684 ($(objpfx)nscd): Remove command override.
35685 * login/Makefile (others-pie): Add pt_chown.
35686 ($(objpfx)pt_chown): Remove command override.
35687 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
35688 remove command overrides.
35689
fcabc0f8
UD
356902011-05-13 Ulrich Drepper <drepper@gmail.com>
35691
20030ae6
UD
35692 * libio/tst_putwc.c: Fix error messages.
35693
fcabc0f8
UD
35694 [BZ #12724]
35695 * libio/fileops.c (_IO_new_file_close_it): Always flush when
35696 currently writing and seek to current position when not.
35697 * libio/Makefile (tests): Add bug-fclose1.
35698 * libio/bug-fclose1.c: New file.
35699
320a5dc0
PB
357002011-05-12 Ulrich Drepper <drepper@gmail.com>
35701
35702 [BZ #12511]
35703 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
35704 don't set DF_1_NODELETE here.
35705 (do_lookup_x): When entering new entry test for copy relocation
35706 and if necessary set DF_1_NODELETE flag.
35707 * elf/tst-unique4.cc: New file.
35708 * elf/tst-unique4.h: New file.
35709 * elf/tst-unique4lib.cc: New file.
35710 * elf/Makefile: Add rules to build and run tst-unique4.
35711 Patch by Piotr Bury <pbury@goahead.com>.
35712
22836f52
UD
357132011-05-11 Ulrich Drepper <drepper@gmail.com>
35714
f574184a
UD
35715 [BZ #12052]
35716 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
35717
e1fb097f
UD
35718 [BZ #12625]
35719 * misc/mntent_r.c (addmntent): Flush the stream after the output
35720
22836f52
UD
35721 [BZ #12393]
35722 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
35723 (is_trusted_path_normalize): Skip initial colon. Append slash
35724 to empty buffer. Duplicate is_trusted_path code but allow
35725 constructed patch to be prefix.
35726 (is_dst): Allow $ORIGIN followed by /.
35727 (_dl_dst_substitute): Correct clearing of check_for_trusted.
35728 Correct testing of result of is_trusted_path_normalize
35729 (decompose_rpath): Fix warning.
35730
7b3b0b2a
UD
357312011-05-10 Ulrich Drepper <drepper@gmail.com>
35732
35733 [BZ #11257]
35734 * grp/initgroups.c (internal_getgrouplist): When we found the service
35735 list through the initgroups entry in nsswitch.conf do not always
35736 continue on a successful lookup. Don't always use the
eac80ce2 35737 __nss_group_database value if it is set.
7b3b0b2a
UD
35738 * nss/nsswitch.conf (initgroups): Change action for successful db
35739 lookup to continue for compatibility.
35740
2a81eaa5
UD
357412011-05-09 Ulrich Drepper <drepper@gmail.com>
35742
be97a69e
UD
35743 [BZ #11532]
35744 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
35745 and CP774 modules.
35746 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
35747 and CP774 modules.
35748 * iconvdata/tst-tables.sh: Likewise.
35749 * iconvdata/cp770.c: New file.
35750 * iconvdata/cp771.c: New file.
35751 * iconvdata/cp772.c: New file.
35752 * iconvdata/cp773.c: New file.
35753 * iconvdata/cp774.c: New file.
35754 * iconvdata/testdata/CP770: New file.
35755 * iconvdata/testdata/CP770..UTF8: New file.
35756 * iconvdata/testdata/CP771: New file.
35757 * iconvdata/testdata/CP771..UTF8: New file.
35758 * iconvdata/testdata/CP772: New file.
35759 * iconvdata/testdata/CP772..UTF8: New file.
35760 * iconvdata/testdata/CP773: New file.
35761 * iconvdata/testdata/CP773..UTF8: New file.
35762 * iconvdata/testdata/CP774: New file.
35763 * iconvdata/testdata/CP774..UTF8: New file.
35764
35765 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
35766 END CHARMAP line.
35767 * iconvdata/gen-8bit-gap.sh: Likewise.
35768 * iconvdata/gen-8bit.sh: Likewise.
35769
c1e9e399
UD
35770 * locale/iso-639.def: Add ary entry.
35771
24c55fb3 35772 [BZ #11258]
96b4b1b0
UD
35773 * locale/C-translit.h.in: Add U20A1 transliteration.
35774
bdc2f971
KB
35775 [BZ #12178]
35776 * locale/iso-639.def: Add wae entry.
35777 Patch by Kevin Bortis <bortis@translate-wae.ch>.
35778
2952b117
UD
35779 [BZ #12545]
35780 * locale/programs/localedef.c (construct_output_path): Use ssize_t
35781 for n.
35782
2a81eaa5
UD
35783 [BZ #12711]
35784 * locale/C-translit.h.in: Add entry for U20B9.
35785 Patch by pravin.d.s@gmail.com.
35786
28377d1b
UD
357872011-05-08 Ulrich Drepper <drepper@gmail.com>
35788
7fb90fb8
UD
35789 [BZ #12713]
35790 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
35791 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
35792 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
35793 in rtld. Use *stat64.
7fb90fb8 35794 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 35795 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 35796 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
35797 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
35798 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
35799 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
35800 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
35801 __fstatat64 macros.
7fb90fb8
UD
35802 * include/dirent.h: Add libc_hidden_proto for rewinddir.
35803 * dirent/rewinddir.c: Add libc_hidden_def.
35804 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 35805 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 35806
28377d1b
UD
35807 * include/dirent.h (__alloc_dir): Add flags parameter.
35808 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
35809 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
35810 __alloc_dir.
35811 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
35812 from fdopendir if O_CLOEXEC is already set.
35813
66bdbaa4
AM
358142011-03-15 Alan Modra <amodra@gmail.com>
35815
35816 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
35817 l_tls_firstbyte_offset non-zero. Save padding offset in
35818 l_tls_firstbyte_offset for later use.
35819 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
35820 freeing static tls block.
35821
95721191
JN
358222011-03-05 Jonathan Nieder <jrnieder@gmail.com>
35823
35824 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
35825 where #ifdef was intended. The intent is to prevent ARG_MAX from
35826 being defined by the kernel headers.
35827
f87dfb1f
UD
358282011-05-07 Ulrich Drepper <drepper@gmail.com>
35829
35830 [BZ #12734]
35831 * resolv/resolv.h: Define RES_NOTLDQUERY.
35832 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
35833 no-tld-query and set RES_NOTLDQUERY.
35834 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
35835 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
35836 modern BIND to search name as TLD unless forbidden.
35837
47c3cd7a
UD
358382011-05-07 Petr Baudis <pasky@suse.cz>
35839 Ulrich Drepper <drepper@gmail.com>
35840
35841 [BZ #12393]
35842 * elf/dl-load.c (fillin_rpath): Move trusted path check...
35843 (is_trusted_path): ...to here.
c1e9ea35 35844 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 35845 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 35846 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 35847
8a35c912
PP
358482011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35849
35850 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
35851 __BEGIN/__END_DECLS.
35852
acd41f47
UD
358532011-05-06 Ulrich Drepper <drepper@gmail.com>
35854
35855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
35856 NSS_STATUS_NOTFOUND if no record was found.
35857
597df647
AS
358582011-05-05 Andreas Schwab <schwab@redhat.com>
35859
35860 * sunrpc/Makefile (headers): Add rpc/netdb.h.
35861 (headers-not-in-tirpc): Remove rpc/netdb.h
35862 * resolv/netdb.h: Revert last change.
35863
b9af1301
PP
358642011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35865
35866 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
35867 circular dependency between libgcc.a and libc.a.
35868
4e34d5f5
AS
358692011-05-05 Andreas Schwab <schwab@redhat.com>
35870
35871 * resolv/netdb.h: Don't include <rpc/netdb.h>.
35872 * nis/Makefile: Don't install rpcsvc/*.
35873 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
35874 instead of <rpc/types.h>.
35875 (MAXHOSTNAMELEN): Define.
35876
00ee369c
AS
358772011-05-03 Andreas Schwab <schwab@redhat.com>
35878
35879 * elf/ldconfig.c (add_dir): Don't crash on empty path.
35880
0b592a30
MB
358812011-04-28 Maciej Babinski <mbabinski@google.com>
35882
35883 [BZ #12714]
35884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
35885 gethostbyname4_r when IPv6 results are possible.
35886
6e04cbbe
UD
358872011-05-02 Ulrich Drepper <drepper@gmail.com>
35888
35889 [BZ #12723]
35890 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
35891 _PC_PIPE_BUF handling.
35892
e4ecafe0
BH
358932011-04-30 Bruno Haible <bruno@clisp.org>
35894
35895 [BZ #12717]
35896 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
35897 * resolv/netdb.h (getnameinfo): Change type of flags parameter
35898 to 'int'.
35899 * inet/getnameinfo.c (getnameinfo): Likewise.
35900
125ee683
UD
359012011-04-29 Ulrich Drepper <drepper@gmail.com>
35902
35903 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
35904 to groups setting in database lookup.
35905 * nss/nsswitch.conf: Add initgroups entry.
35906
b722481a
EB
359072011-04-22 Ulrich Drepper <drepper@gmail.com>
35908
35909 [BZ #12685]
35910 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
35911 mode string.
35912 Patch by Eric Blake <eblake@redhat.com>.
35913
4df46dbd
L
359142011-04-20 H.J. Lu <hongjiu.lu@intel.com>
35915
35916 * sunrpc/Makefile (need-export-routines): Add svc_run.
35917 (routines): Remove svc_run.
35918 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
35919 * sunrpc/clnt_perr.c (clnt_perrno): Export.
35920 * sunrpc/svc_run.c (svc_run): Likewise.
35921 * sunrpc/svc_udp.c (svcudp_create): Likewise.
35922
e84142d2
UD
359232011-04-21 Ulrich Drepper <drepper@gmail.com>
35924
35925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
35926 problem in reallocation in last patch.
35927
877175d8
UD
359282011-04-20 Ulrich Drepper <drepper@gmail.com>
35929
35930 * sunrpc/Makefile: Move inclusion of Rules.
35931
ab8eed78
UD
359322011-04-19 Ulrich Drepper <drepper@gmail.com>
35933
35934 * nss/nss_files/files-initgroups.c: New file.
35935 * nss/Makefile (libnss_files-routines): Add files-initgroups.
35936 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
35937 _nss_files_initgroups_dyn.
35938
e3d8f584
RS
359392011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
35940
35941 * elf/elf.h (R_ARM_IRELATIVE): Define.
35942
af190f45
UD
359432011-04-19 Ulrich Drepper <drepper@gmail.com>
35944
35945 * po/ru.po: Update from translation team.
35946
53cf59ef
UD
359472011-04-17 Ulrich Drepper <drepper@gmail.com>
35948
35949 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
35950 dependencies.
35951
4c559bcd
MF
359522011-02-06 Mike Frysinger <vapier@gentoo.org>
35953
35954 [BZ #12653]
35955 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
35956 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
35957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35958 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35959 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
35960
4420675c
AS
359612011-03-28 Andreas Schwab <schwab@linux-m68k.org>
35962
35963 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
35964 differing bytes.
35965 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
35966 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
35967 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
35968
75ea32ab
UD
359692011-04-17 Ulrich Drepper <drepper@gmail.com>
35970
35971 [BZ #12420]
35972 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
35973 storing it.
35974 * stdlib/bug-getcontext.c: New file.
35975 * stdlib/Makefile: Add rules to build and run bug-getcontext.
35976
27390476
AK
359772011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35978
35979 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
35980 instructions into .machine "z9-109".
35981 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
35982 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
35983
10442705
AK
359842011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35985
35986 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
35987 between environment variables and auxiliary vector.
35988
7b57bfe5
UD
359892011-04-16 Ulrich Drepper <drepper@gmail.com>
35990
35991 * Makefile: Add rules to build linkobj/libc.so.
35992 * include/libc-symbols.h: Define libc_hidden_nolink.
35993 * include/rpc/auth.h: Mark functions which are to be hidden.
35994 * include/rpc/auth_des.h: Likewise.
35995 * include/rpc/auth_unix.h: Likewise.
35996 * include/rpc/clnt.h: Likewise.
35997 * include/rpc/des_crypt.h: Likewise.
35998 * include/rpc/key_prot.h: Likewise.
35999 * include/rpc/pmap_clnt.h: Likewise.
36000 * include/rpc/pmap_prot.h: Likewise.
36001 * include/rpc/pmap_rmt.h: Likewise.
36002 * include/rpc/rpc_msg.h: Likewise.
36003 * include/rpc/svc.h: Likewise.
36004 * include/rpc/svc_auth.h: Likewise.
36005 * include/rpc/xdr.h: Likewise.
36006 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36007 * nss/Makefile: Likewise.
36008 * sunrpc/Makefile: Don't install headers. Build library with normal
36009 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36010 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36011 for the compat linking library. Remove use of INTDEF/INTUSE.
36012 * sunrpc/auth_none.c: Likewise.
36013 * sunrpc/auth_unix.c: Likewise.
36014 * sunrpc/authdes_prot.c: Likewise.
36015 * sunrpc/authuxprot.c: Likewise.
36016 * sunrpc/clnt_gen.c: Likewise.
36017 * sunrpc/clnt_perr.c: Likewise.
36018 * sunrpc/clnt_raw.c: Likewise.
36019 * sunrpc/clnt_simp.c: Likewise.
36020 * sunrpc/clnt_tcp.c: Likewise.
36021 * sunrpc/clnt_udp.c: Likewise.
36022 * sunrpc/clnt_unix.c: Likewise.
36023 * sunrpc/des_crypt.c: Likewise.
36024 * sunrpc/des_soft.c: Likewise.
36025 * sunrpc/get_myaddr.c: Likewise.
36026 * sunrpc/key_call.c: Likewise.
36027 * sunrpc/key_prot.c: Likewise.
36028 * sunrpc/netname.c: Likewise.
36029 * sunrpc/pm_getmaps.c: Likewise.
36030 * sunrpc/pm_getport.c: Likewise.
36031 * sunrpc/pmap_clnt.c: Likewise.
36032 * sunrpc/pmap_prot.c: Likewise.
36033 * sunrpc/pmap_prot2.c: Likewise.
36034 * sunrpc/pmap_rmt.c: Likewise.
36035 * sunrpc/publickey.c: Likewise.
36036 * sunrpc/rpc_cmsg.c: Likewise.
36037 * sunrpc/rpc_common.c: Likewise.
36038 * sunrpc/rpc_dtable.c: Likewise.
36039 * sunrpc/rpc_prot.c: Likewise.
36040 * sunrpc/rpc_thread.c: Likewise.
36041 * sunrpc/rtime.c: Likewise.
36042 * sunrpc/svc.c: Likewise.
36043 * sunrpc/svc_auth.c: Likewise.
36044 * sunrpc/svc_authux.c: Likewise.
36045 * sunrpc/svc_raw.c: Likewise.
36046 * sunrpc/svc_run.c: Likewise.
36047 * sunrpc/svc_simple.c: Likewise.
36048 * sunrpc/svc_tcp.c: Likewise.
36049 * sunrpc/svc_udp.c: Likewise.
36050 * sunrpc/svc_unix.c: Likewise.
36051 * sunrpc/svcauth_des.c: Likewise.
36052 * sunrpc/xcrypt.c: Likewise.
36053 * sunrpc/xdr.c: Likewise.
36054 * sunrpc/xdr_array.c: Likewise.
36055 * sunrpc/xdr_float.c: Likewise.
36056 * sunrpc/xdr_intXX_t.c: Likewise.
36057 * sunrpc/xdr_mem.c: Likewise.
36058 * sunrpc/xdr_rec.c: Likewise.
36059 * sunrpc/xdr_ref.c: Likewise.
36060 * sunrpc/xdr_sizeof.c: Likewise.
36061 * sunrpc/xdr_stdio.c: Likewise.
36062
e6c61494
UD
360632011-04-10 Ulrich Drepper <drepper@gmail.com>
36064
36065 [BZ #12650]
36066 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36067 * sysdeps/ia64/dl-tls.h: Likewise.
36068 * sysdeps/powerpc/dl-tls.h: Likewise.
36069 * sysdeps/s390/dl-tls.h: Likewise.
36070 * sysdeps/sh/dl-tls.h: Likewise.
36071 * sysdeps/sparc/dl-tls.h: Likewise.
36072 * sysdeps/x86_64/dl-tls.h: Likewise.
36073 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36074
34fe483e
AS
360752011-03-14 Andreas Schwab <schwab@redhat.com>
36076
36077 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36078 rpath element also skip the following colon.
36079 (expand_dynamic_string_token): Add is_path parameter and pass
36080 down to DL_DST_REQUIRED and _dl_dst_substitute.
36081 (decompose_rpath): Call expand_dynamic_string_token with
36082 non-zero is_path. Ignore empty rpaths.
36083 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36084 with zero is_path.
36085
f12a32e6
AS
360862011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36087
36088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36089 Make cancelable.
36090
38a7d692
UD
360912011-04-09 Ulrich Drepper <drepper@gmail.com>
36092
36093 [BZ #12655]
36094 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36095 Patch by Filipe David Manana <fdmanana@apache.org>.
36096
e451d22b
AS
360972011-04-07 Andreas Schwab <schwab@redhat.com>
36098
36099 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36100 Maintain aligned stack.
36101 (CHECK_RSP): Remove unused macro.
36102
dedc7c7b
UD
361032011-04-03 Ulrich Drepper <drepper@gmail.com>
36104
36105 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36106 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36107
94521213
UD
361082011-04-02 Ulrich Drepper <drepper@gmail.com>
36109
36110 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36111
8cb700c0 36112 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 36113
0354e355
L
361142011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36115
36116 [BZ #12518]
36117 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36118 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36119 * sysdeps/x86_64/memmove.c: New file.
36120 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36121 (memcpy): Renamed to ...
36122 (__new_memcpy): This.
36123 (memcpy): Provide GLIBC_2_14 memcpy.
36124 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36125 (memcpy): Provide GLIBC_2_2_5 memcpy.
36126
8593482f
UD
361272011-04-01 Ulrich Drepper <drepper@gmail.com>
36128
36129 [BZ #12631]
36130 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36131
81a5726b
AS
361322011-03-30 Andreas Schwab <schwab@redhat.com>
36133
36134 * misc/syncfs.c: New file.
36135 * misc/Makefile (routines): Add syncfs.
36136 * posix/unistd.h: Declare syncfs.
36137 * sysdeps/unix/syscalls.list: Add syncfs.
36138
00e5419f
AS
361392011-04-01 Andreas Schwab <schwab@redhat.com>
36140
36141 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36142 open_by_handle_at.
36143 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36144 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36145 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36146 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36148 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36149 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36150
748876bf
UD
361512011-04-01 Ulrich Drepper <drepper@gmail.com>
36152
658e451d
UD
36153 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36154 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36155 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36157 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36159 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36160
748876bf
UD
36161 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36162 sync_file_range.c with -fexceptions.
36163 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36164 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36165 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36166 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36167 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36168 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36169 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
36170 sync_file_range as cancellation point
36171 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36172 now a wrapper around __call_sync_file_range with cancellation handling.
36173 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36174 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36175 function name to __call_sync_file_range.
36176 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36177 Add call_sync_file_range.
748876bf 36178
6e63d5e1
AS
361792011-04-01 Andreas Schwab <schwab@redhat.com>
36180
36181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 36182 bits/timex.h.
6e63d5e1 36183
46998f74
UD
361842011-04-01 Ulrich Drepper <drepper@gmail.com>
36185
4c1423ed
UD
36186 * iconv/iconv.h: Fix typo in comment.
36187 * io/fcntl.h: Likewise.
36188 * libio/stdio.h: Likewise.
36189 * posix/spawn.h: Likewise.
36190 * posix/unistd.h: Likewise.
36191 * stdlib/stdlib.h: Likewise.
36192 * time/time.h: Likewise.
36193 * wcsmbs/wchar.h: Likewise.
36194
158648c0
UD
36195 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36196 open_by_handle): Add.
36197 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36198 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36199 Augment a few comments.
36200 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36204 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36205 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36206 open_by_handle.
36207
46998f74
UD
36208 * io/fcntl.h (AT_EMPTY_PATH): Define.
36209
83fe108b
UD
362102011-03-30 Ulrich Drepper <drepper@gmail.com>
36211
36212 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36213 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36214 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36215 to...
36216 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
36217 * Versions.def: Add GLIBC_2.14.
36218 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36219 Export.
83fe108b 36220
bb242059
UD
362212011-03-22 Ulrich Drepper <drepper@gmail.com>
36222
36223 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36224 round counter.
36225 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36226
c97a1282
L
362272011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36228
36229 [BZ #12597]
36230 * string/test-strncmp.c (do_page_test): New function.
36231 (check2): Likewise.
36232 (test_main): Call check2.
36233 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36234
2a115601
UD
362352011-03-20 Ulrich Drepper <drepper@gmail.com>
36236
36237 [BZ #12587]
36238 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36239 Handle cache information in CPU leaf 4.
36240 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36241
8126d904
UD
362422011-03-18 Ulrich Drepper <drepper@gmail.com>
36243
042c49c6 36244 [BZ #12583]
8126d904
UD
36245 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36246 character representation.
36247 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36248
ccfe366e
RA
362492011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36250
36251 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36252 END(__isnan) to END(__isnanf) to match function entry point/label
36253 EALIGN(__isnanf,...).
36254
c6e13027
JJ
362552011-03-10 Jakub Jelinek <jakub@redhat.com>
36256
36257 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36258
33f85a3f
UD
362592011-03-10 Ulrich Drepper <drepper@gmail.com>
36260
028478fa
UD
36261 [BZ #12510]
36262 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36263 copy from the symbol referenced in the relocation to initialize the
36264 used variable.
36265 Patch by Piotr Bury <pbury@goahead.com>.
36266 * elf/Makefile: Add rules to build and tst-unique3.
36267 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36268 * elf/tst-unique3.cc: New file.
36269 * elf/tst-unique3.h: New file.
36270 * elf/tst-unique3lib.cc: New file.
36271 * elf/tst-unique3lib2.cc: New file.
36272
33f85a3f
UD
36273 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36274
03592fc7
MF
362752011-03-10 Mike Frysinger <vapier@gentoo.org>
36276
36277 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36278 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36279 to _start.
03592fc7 36280
6a5ee102
UD
362812011-03-06 Ulrich Drepper <drepper@gmail.com>
36282
36283 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36284 to-be-loaded object along a path to loader is ld.so.
36285
7e4ba49c
HJ
362862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36287 Ulrich Drepper <drepper@gmail.com>
36288
36289 * sysdeps/x86_64/memset.S: After aligning destination, code
36290 branches to different locations depending on the value of
36291 misalignment, when multiarch is enabled. Fix this.
36292
362932011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36294
36295 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36296 Set _x86_64_preferred_memory_instruction for AMD processsors.
36297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36298 Set bit_Prefer_SSE_for_memop for AMD processors.
36299
13a804de
UD
363002011-03-04 Ulrich Drepper <drepper@gmail.com>
36301
36302 * libio/fmemopen.c (fmemopen): Optimize a bit.
36303
9d25c392
AS
363042011-03-03 Andreas Schwab <schwab@redhat.com>
36305
36306 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36307
a5543c6a
RM
363082011-03-03 Roland McGrath <roland@redhat.com>
36309
36310 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36311
012d35f7
DM
363122011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36313
7e4ba49c 36314 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
36315 __bzero_ultra1 instead of __memset_ultra1.
36316
4bff6e01
AS
363172011-02-23 Andreas Schwab <schwab@redhat.com>
36318 Ulrich Drepper <drepper@gmail.com>
36319
36320 [BZ #12509]
36321 * include/link.h (struct link_map): Add l_orig_initfini.
36322 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36323 returning unsuccessfully.
36324 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36325 close of a file loaded at startup, restore the original l_initfini
36326 list.
36327 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36328 list, store the pointer.
36329 * elf/Makefile ($(objpfx)noload-mem): New rule.
36330 (noload-ENV): Define.
36331 (tests): Add $(objpfx)noload-mem.
36332 * elf/noload.c: Include <memcheck.h>.
36333 (main): Call mtrace. Close all opened handles.
36334
f2092faf
AS
363352011-02-17 Andreas Schwab <schwab@redhat.com>
36336
36337 [BZ #12454]
36338 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36339 dependencies are missing.
36340
6c8a2e88
ST
363412011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36342
f2092faf 36343 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
36344 Hurd needs munmap.
36345 * sysdeps/mach/hurd/ifreq.h: New file.
36346
84a42118
PB
363472011-01-27 Petr Baudis <pasky@suse.cz>
36348 Ulrich Drepper <drepper@gmail.com>
36349
071f805e 36350 [BZ 12445]#
84a42118
PB
36351 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36352 to extend_alloca().
36353 * stdio-common/bug23.c: New file.
36354 * stdio-common/Makefile (tests): Add bug23.
36355
e23fe25b
AS
363562010-09-28 Andreas Schwab <schwab@redhat.com>
36357 Ulrich Drepper <drepper@gmail.com>
36358
36359 [BZ #12489]
36360 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36361 before performing relro protection. At old place add assertion
36362 to make sure nothing changed.
36363
d3f02e10
NS
363642011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36365 Glauber de Oliveira Costa <glommer@gmail.com>
36366
36367 * elf/elf.h: Add new ARM TLS relocs.
36368
d55fd7a5
RA
363692011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36370
36371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36372 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36373 cast from r3.
36374 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36375 'tests' variable.
36376 * sysdeps/wordsize-64/tst-writev.c: New file.
36377
2206397e
RA
363782011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36379
36380 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36381 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36382 insns in _dl_start to prevent a TOC reference before relocs are
36383 resolved.
36384
e9433893
UD
363852011-02-15 Ulrich Drepper <drepper@gmail.com>
36386
36387 [BZ #12469]
36388 * Makeconfig: Remove RANLIB definition.
36389 * Makerules: Don't use RANLIB.
36390 * aclocal.m4: Remove ranlib test.
36391 * configure.in: No need to check for ranlib.
36392 * elf/rtld-Rules: Don't use RANLIB.
36393
f75286c6
ST
363942011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36395
8e31c82d
ST
36396 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36397 protection macro.
36398 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36399 inclusion protection macro.
36400
f75286c6
ST
36401 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36402 SIGRTMIN and SIGRTMAX and print information in that case only when
36403 SIGRTMIN is defined.
36404
c1d0e639
JJ
364052011-02-11 Jakub Jelinek <jakub@redhat.com>
36406
36407 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36408 arginfo fn returning -1.
36409
36410 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36411 and thousands string is zero terminated.
36412
edf9294e
AS
364132011-02-03 Andreas Schwab <schwab@redhat.com>
36414
36415 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36416 sysdeps/unix/sysv/linux/bits/socket.h.
36417
2b7e92df
ST
364182011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36419
edf9294e
AS
36420 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36421 (__CPU_COUNT): Remove old macros.
36422 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36423 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36424 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
36425 (__sched_cpualloc, __sched_cpufree): Add declarations.
36426
a4c7ea7b
UD
364272011-02-05 Ulrich Drepper <drepper@gmail.com>
36428
36429 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36430 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36431 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36432 (readdhstai): Return value of addhstaiX call.
36433 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36434 (addgrbyX): Return value returned by cache_addgr.
36435 (readdgrbyname): Return value returned by addgrbyX.
36436 (readdgrbygid): Likewise.
36437 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36438 (addpwbyX): Return value returned by cache_addpw.
36439 (readdpwbyname): Return value returned by addhstbyX.
36440 (readdpwbyuid): Likewise.
36441 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36442 (addservbyX): Return value returned by cache_addserv.
36443 (readdservbyname): Return value returned by addservbyX:
36444 (readdservbyport): Likewise.
36445 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36446 (addhstbyX): Return value returned by cache_addhst.
36447 (readdhstbyname): Return value returned by addhstbyX.
36448 (readdhstbyaddr): Likewise.
36449 (readdhstbynamev6): Likewise.
36450 (readdhstbyaddrv6): Likewise.
36451 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36452 (readdinitgroups): Return value returned by addinitgroupsX.
36453 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36454 (prune_cache): Keep track of timeout value of re-added entries.
36455 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36456 * nscd/nscd.h: Adjust prototypes of readd* functions.
36457
a0bf67cc
RM
364582011-02-04 Roland McGrath <roland@redhat.com>
36459
36460 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36461 (nis_stats): Likewise.
36462 * nis/nis_modify.c (nis_modify): Likewise.
36463 * nis/nis_remove.c (nis_remove): Likewise.
36464 * nis/nis_add.c (nis_add): Likewise.
36465
36466 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36467
36468 * posix/fnmatch_loop.c: Add some consts.
36469
36470 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36471
435b95eb
L
364722011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36473
36474 [BZ #12460]
36475 * config.make.in (config-cflags-novzeroupper): Define.
36476 * configure.in: Substitute libc_cv_cc_novzeroupper.
36477 * elf/Makefile (AVX-CFLAGS): Define.
36478 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36479 (CFLAGS-tst-auditmod4a.c): Likewise.
36480 (CFLAGS-tst-auditmod4b.c): Likewise.
36481 (CFLAGS-tst-auditmod6b.c): Likewise.
36482 (CFLAGS-tst-auditmod6c.c): Likewise.
36483 (CFLAGS-tst-auditmod7b.c): Likewise.
36484 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36485
8517b15e
UD
364862011-02-02 Ulrich Drepper <drepper@gmail.com>
36487
36488 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36489 function to the callback.
36490 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36491
10a656fe
AS
364922011-02-02 Andreas Schwab <schwab@redhat.com>
36493
36494 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36495 of errno.
36496
968dad0a
UD
364972011-01-19 Ulrich Drepper <drepper@gmail.com>
36498
9f94d2ea 36499 [BZ #11724]
968dad0a
UD
36500 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36501 of constructors.
36502 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36503 of destructors.
36504 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36505
36506 [BZ #11724]
36507 * elf/Makefile: Add rules to build and run new test.
36508 * elf/tst-initorder.c: New file.
36509 * elf/tst-initorder.exp: New file.
36510 * elf/tst-initordera1.c: New file.
36511 * elf/tst-initordera2.c: New file.
36512 * elf/tst-initordera3.c: New file.
36513 * elf/tst-initordera4.c: New file.
36514 * elf/tst-initorderb1.c: New file.
36515 * elf/tst-initorderb2.c: New file.
36516 * elf/tst-order-a1.c: New file.
36517 * elf/tst-order-a2.c: New file.
36518 * elf/tst-order-a3.c: New file.
36519 * elf/tst-order-a4.c: New file.
36520 * elf/tst-order-b1.c: New file.
36521 * elf/tst-order-b2.c: New file.
36522 * elf/tst-order-main.c: New file.
36523 New test case by George Gensure <werkt0@gmail.com>.
36524
86e92359
UD
365252010-10-01 Andreas Schwab <schwab@redhat.com>
36526
36527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36528 decoding ACE if AI_CANONIDN.
36529
5d5732b0
UD
365302011-01-18 Ulrich Drepper <drepper@gmail.com>
36531
36532 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36533
a77e8cbc
UD
365342011-01-17 Ulrich Drepper <drepper@gmail.com>
36535
6392473f
UD
36536 * version.h (RELEASE): Bump for 2.13 release.
36537 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36538
620a0529
UD
36539 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36540
18ba70a5
UD
36541 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36542 MADV_NOHUGEPAGE.
32465c3e
UD
36543 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36544 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36545 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36546 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36547 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36548 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36549
c0dafcf1
UD
36550 * posix/getconf.c: Update copyright year.
36551 * catgets/gencat.c: Likewise.
36552 * csu/version.c: Likewise.
36553 * debug/catchsegv.sh: Likewise.
36554 * debug/xtrace.sh: Likewise.
36555 * elf/ldconfig.c: Likewise.
36556 * elf/ldd.bash.in: Likewise.
36557 * elf/sprof.c (print_version): Likewise.
36558 * iconv/iconv_prog.c: Likewise.
36559 * iconv/iconvconfig.c: Likewise.
36560 * locale/programs/locale.c: Likewise.
36561 * locale/programs/localedef.c: Likewise.
36562 * malloc/memusage.sh: Likewise.
36563 * malloc/mtrace.pl: Likewise.
36564 * nscd/nscd.c (print_version): Likewise.
36565 * nss/getent.c: Likewise.
36566
a77e8cbc
UD
36567 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36568 PF_CAIF, and PF_ALG.
36569 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36570
77e8bddf
AS
365712011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36572
1f20b93a
AS
36573 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36574 (modules-names): Use them.
36575 (ifunc-test-modules, ifunc-pie-tests): Define.
36576 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36577 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36578 (test-extras): Likewise.
36579 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36580 $(compile-command.c).
36581 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36582 (all-built-dso): Define.
36583 (check-textrel.out, check-execstack.out): Depend on it.
36584
77e8bddf
AS
36585 * configure.in: Don't override --enable-multi-arch.
36586
bc425b33
UD
365872011-01-15 Ulrich Drepper <drepper@gmail.com>
36588
36589 [BZ #6812]
36590 * nscd/hstcache.c (tryagain): Define.
36591 (cache_addhst): Return tryagain not notfound for temporary errors.
36592 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36593 failed.
36594
794c3ad3
UD
365952011-01-14 Ulrich Drepper <drepper@gmail.com>
36596
70181fdd
UD
36597 [BZ #10563]
36598 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36599 to make the syscall.
36600 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36601
794c3ad3
UD
36602 [BZ #12378]
36603 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36604 and fall back to matching as normal character if the string ends before
36605 the matching ']' is found. This is what POSIX requires.
36606 * posix/testfnm.c: Adjust test result.
36607 * posix/globtest.sh: Adjust test result. Add new test.
36608 * posix/tst-fnmatch.input: Likewise.
36609 * posix/tst-fnmatch2.c: Add new test.
36610
68dc9497
AS
366112010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36612
36613 * elf/Makefile (check-execstack): Revert last change. Depend on
36614 check-execstack.h.
36615 (check-execstack.h): New target.
36616 (generated): Add check-execstack.h.
36617 * elf/check-execstack.c: Include "check-execstack.h".
36618 (main): Revert last change.
36619 (handle_file): Return zero if GNU_STACK is absent and
36620 DEFAULT_STACK_PERMS doesn't include PF_X.
36621
451f001b
UD
366222011-01-13 Ulrich Drepper <drepper@gmail.com>
36623
cfa28e56
UD
36624 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36625 in child fails because the descriptor is already closed.
8cf8ce17
UD
36626 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36627 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36628 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 36629
1086d70d
UD
36630 [BZ #12397]
36631 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
36632 syscall.
36633
451f001b
UD
36634 [BZ #10484]
36635 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
36636 temporary buffer used to handle multi lookups locally.
a85b5cb4 36637 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 36638
08769175
UD
366392011-01-12 Ulrich Drepper <drepper@gmail.com>
36640
36641 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
36642 loader is ld.so.
36643
5e49c52e
UD
366442011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
36645
36646 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
36647 alignment for SSE2.
36648
60522a5f
UD
366492011-01-12 Ulrich Drepper <drepper@gmail.com>
36650
36651 [BZ #12394]
36652 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
36653 characters. When rounding increased number of integer digits recompute
36654 number of groups.
36655 * stdio-common/tst-grouping.c: New file.
36656 * stdio-common/Makefile: Add rules to build and run tst-grouping.
36657
f257bbd7
UD
366582011-01-09 Ulrich Drepper <drepper@gmail.com>
36659
36660 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
36661 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
36662
36663 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
36664 void.
36665 * bits/select.h: Likewise.
36666
fa9c15cb
UD
366672011-01-08 Ulrich Drepper <drepper@gmail.com>
36668
36669 * po/ja.po: Update from translation team.
36670
16c2895f
DM
366712011-01-04 David S. Miller <davem@sunset.davemloft.net>
36672
36673 [BZ #11155]
36674 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
36675 implementation just like for lxstat, fxstatat, et al.
36676
2543fef2
JM
366772010-12-27 Jim Meyering <meyering@redhat.com>
36678
36679 [BZ #12348]
36680 * posix/regexec.c (build_trtable): Return failure indication upon
36681 calloc failure. Otherwise, re_search_internal could infloop on OOM.
36682
98727dbe
UD
366832010-12-25 Ulrich Drepper <drepper@gmail.com>
36684
5bd6dc5c
UD
36685 [BZ #12201]
36686 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
36687 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
36688 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
36689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
36690
97983464
UD
36691 [BZ #12207]
36692 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
36693
98727dbe
UD
36694 [BZ #12204]
36695 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
36696 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
36697
4a531bb0
L
366982010-12-15 H.J. Lu <hongjiu.lu@intel.com>
36699
36700 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
36701 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
36702 script has SORT_BY_INIT_PRIORITY.
36703 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
36704 NO_CTORS_DTORS_SECTIONS is defined.
36705 * elf/soinit.c: Likewise.
36706 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
36707 NO_CTORS_DTORS_SECTIONS is defined.
36708 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
36709 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
36710 * sysdeps/sh/init-first.c: Likewise.
36711 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
36712
07eb4b71
UD
367132010-12-24 Ulrich Drepper <drepper@gmail.com>
36714
36715 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
36716 always use the slow path.
36717
30950a5f
RA
367182010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
36719
36720 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
36721 similar rule which adds the sysdep directories to the header search in
36722 order to pick up the correct platform stackinfo.h.
36723 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
36724 perform test if it is, otherwise return successfully without testing.
36725 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
36726 DEFAULT_STACK_PERMS define in stackinfo.h.
36727 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
36728 defined in stackinfo.h.
36729 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
36730 DEFAULT_STACK_PERMS defined in stackinfo.h.
36731 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
36732 * sysdeps/ia64/stackinfo.h: Likewise.
36733 * sysdeps/s390/stackinfo.h: Likewise.
36734 * sysdeps/sh/stackinfo.h: Likewise.
36735 * sysdeps/sparc/stackinfo.h: Likewise.
36736 * sysdeps/x86_64/stackinfo.h: Likewise.
36737 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
36738 PF_X for powerpc64. Retain PF_X for powerpc32.
36739
db753e2c
UD
367402010-12-19 Ulrich Drepper <drepper@gmail.com>
36741
14b697f7
UD
36742 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
36743 accurately.
db753e2c
UD
36744 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
36745 GETDENTS_64BIT_ALIGNED.
36746
28300719
UD
367472010-12-14 Ulrich Drepper <dreper@gmail.com>
36748
14b697f7 36749 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 36750
4f197237
AS
367512010-12-10 Andreas Schwab <schwab@redhat.com>
36752
dbb0472f
AS
36753 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
36754 _GNU_SOURCE.
36755
4f197237
AS
36756 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
36757 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
36758 Remove __restrict.
36759 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
36760 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
36761
fb88ac72
UD
367622010-12-09 Ulrich Drepper <drepper@gmail.com>
36763
36764 [BZ #11655]
36765 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
36766 are initialized.
36767
42acbb92
JJ
367682010-12-09 Jakub Jelinek <jakub@redhat.com>
36769
36770 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
36771
c038d98d
UD
367722010-12-03 Ulrich Drepper <drepper@gmail.com>
36773
36774 * po/it.po: Update from translation team.
36775
3a4a2499
L
367762010-12-01 H.J. Lu <hongjiu.lu@intel.com>
36777
36778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
36779 unused codes.
36780
1e24cf6e
UD
367812010-11-30 Ulrich Drepper <drepper@gmail.com>
36782
36783 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
36784
a7690819
AS
367852010-11-24 Andreas Schwab <schwab@redhat.com>
36786
36787 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
36788 specially.
36789 (gaih_getanswer_slice): Likewise.
36790
3bf8d1b1
JJ
367912010-10-20 Jakub Jelinek <jakub@redhat.com>
36792
36793 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
36794
6db52fbb
PB
367952010-05-31 Petr Baudis <pasky@suse.cz>
36796
36797 [BZ #11149]
36798 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
36799 silently even in the chroot mode.
36800
eaca7569
UD
368012010-11-22 Ulrich Drepper <drepper@gmail.com>
36802
36803 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
36804 last patch a bit. Pretty printing
36805
3056dcdb
UD
368062010-05-31 Petr Baudis <pasky@suse.cz>
36807
36808 [BZ #10085]
36809 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
36810 initialization of skip_initgroups_dyn.
36811
cf7c9078
UD
368122010-11-19 Ulrich Drepper <drepper@gmail.com>
36813
36814 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
36815 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36816
a1fb5e3e
UD
368172010-11-16 Ulrich Drepper <drepper@gmail.com>
36818
36819 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
36820
3540d66b
AS
368212010-11-11 Andreas Schwab <schwab@redhat.com>
36822
36823 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
36824 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
36825 (tst-fnmatch-ENV): Set MALLOC_TRACE.
36826 ($(objpfx)tst-fnmatch-mem): New rule.
36827 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
36828 * posix/tst-fnmatch.c (main): Call mtrace.
36829
13b69574
L
368302010-11-11 H.J. Lu <hongjiu.lu@intel.com>
36831
36832 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36833 Support Intel processor model 6 and model 0x2c.
36834
da93d214
LM
368352010-11-10 Luis Machado <luisgpm@br.ibm.com>
36836
36837 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
36838 signed comparison.
36839
8ca52c6e
L
368402010-11-09 H.J. Lu <hongjiu.lu@intel.com>
36841
36842 [BZ #12205]
36843 * string/test-strncasecmp.c (check_result): New function.
36844 (do_one_test): Use it.
36845 (check1): New function.
36846 (test_main): Use it.
36847 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
36848 Support strcasecmp and strncasecmp.
36849
69da074d
UD
368502010-11-08 Ulrich Drepper <drepper@gmail.com>
36851
36852 [BZ #12194]
36853 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
36854 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36855
ff02d528
L
368562010-11-07 H.J. Lu <hongjiu.lu@intel.com>
36857
36858 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
36859 IFUNC support.
36860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36861 memset-x86-64.
36862 * sysdeps/x86_64/multiarch/bzero.S: New file.
36863 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
36864 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
36865 * sysdeps/x86_64/multiarch/memset.S: New file.
36866 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
36867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36868 Set bit_Prefer_SSE_for_memop for Intel processors.
36869 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
36870 Define.
36871 (index_Prefer_SSE_for_memop): Define.
36872 (HAS_PREFER_SSE_FOR_MEMOP): Define.
36873
344d0b54
LM
368742010-11-04 Luis Machado <luisgpm@br.ibm.com>
36875
36876 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
36877 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
36878
c0dde15b
UD
368792010-11-03 H.J. Lu <hongjiu.lu@intel.com>
36880
36881 [BZ #12191]
36882 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36883 (__x86_64_raw_data_cache_size_half): Likewise.
36884 (__x86_64_raw_shared_cache_size): Likewise.
36885 (__x86_64_raw_shared_cache_size_half): Likewise.
36886
36887 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
36888 (__x86_64_raw_data_cache_size_half): Likewise.
36889 (__x86_64_raw_shared_cache_size): Likewise.
36890 (__x86_64_raw_shared_cache_size_half): Likewise.
36891 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
36892 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
36893 and __x86_64_raw_shared_cache_size_half. Round
36894 __x86_64_data_cache_size_half, __x86_64_data_cache_size
36895 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
36896 to multiple of 256 bytes.
36897
0e516e0e
MS
368982010-11-03 Ulrich Drepper <drepper@gmail.com>
36899
36900 [BZ #12167]
36901 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
36902 of inacessible symlinks. Verify result of symlink before returning it.
36903 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36904 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
36905
0e012e87
ER
369062010-10-28 Erich Ritz <erichritz@gmail.com>
36907
36908 * math/math.h (isinf): Fix typo in comment.
36909
de0ff7bc
UD
369102010-11-01 Ulrich Drepper <drepper@gmail.com>
36911
36912 * po/da.po: Update from translation team.
36913
fa41c84d
UD
369142010-10-26 Ulrich Drepper <drepper@gmail.com>
36915
36916 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
36917 is added to the list.
36918
f0967738
AK
369192010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36920 Ulrich Drepper <drepper@gmail.com>
36921
36922 * elf/dl-object.c (_dl_new_object): Don't append the new object to
36923 the global list here. Move code to...
36924 (_dl_add_to_namespace_list): ...here. New function.
36925 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
36926 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
36927 * elf/dl-load.c (lose): Don't remove the element from the list.
36928 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
36929 (_dl_map_object): Likewise.
36930
369312010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
36932
36933 [BZ #12159]
36934 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
36935 into all bytes of SSE register.
36936 Patch by Richard Li <richardpku@gmail.com>.
36937
f0967738 369382010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
36939
36940 [BZ #12140]
36941 * malloc/malloc.c (_int_free): Fill correct number of bytes when
36942 perturbing.
36943
d0b9e94f
MB
369442010-10-20 Michael B. Brutman <brutman@us.ibm.com>
36945
36946 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
36947 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
36948 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
36949 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
36950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
36951 submachine.
36952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
36953
8e9f92e9
AS
369542010-10-22 Andreas Schwab <schwab@redhat.com>
36955
36956 * include/dlfcn.h (__RTLD_SECURE): Define.
36957 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
36958 mode & __RTLD_SECURE instead.
36959 (open_path): Rename preloaded parameter to secure.
36960 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
36961 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
36962 * elf/dl-deps.c (openaux): Likewise.
36963 * elf/rtld.c (struct map_args): Remove is_preloaded.
36964 (map_doit): Don't use it.
36965 (dl_main): Likewise.
36966 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
36967 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
36968
bc96fbda
AS
369692010-09-09 Andreas Schwab <schwab@redhat.com>
36970
36971 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
36972 (sysd-rules-targets): Remove duplicates.
36973 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
36974 rtld-%.$o dependency.
36975
22cd1c9b
AS
369762010-10-18 Andreas Schwab <schwab@redhat.com>
36977
36978 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
36979 _dl_map_object do it.
36980
18edac48
UD
369812010-10-19 Ulrich Drepper <drepper@gmail.com>
36982
36983 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
36984 fast fma builtins, define the macros in the C99 standard.
36985 (FP_FAST_FMAF): Likewise.
36986 (FP_FAST_FMAL): Likewise.
36987 * sysdeps/x86_64/bits/mathdef.h: Likewise.
36988
36989 * bits/mathdef.h: Update copyright year.
36990 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36991
d2050124
MM
369922010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
36993
36994 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
36995 builtins, define the macros in the C99 standard.
36996 (FP_FAST_FMAF): Likewise.
36997 (FP_FAST_FMAL): Likewise.
36998 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
36999 multiply/add.
37000 (FP_FAST_FMAF): Likewise.
37001
475facd1
JJ
370022010-10-15 Jakub Jelinek <jakub@redhat.com>
37003
37004 [BZ #3268]
37005 * math/libm-test.inc (fma_test): Some new testcases.
37006 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37007 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37008 y and infinite z. Do multiplication by C already in long double.
37009 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37011 y and infinite z. Do bitwise or of inexact bit into u.d.
37012 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37013 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37014 * sysdeps/i386/fpu/s_fma.S: Removed.
37015 * sysdeps/i386/fpu/s_fmal.S: Removed.
37016
7c08a05c
JJ
370172010-10-16 Jakub Jelinek <jakub@redhat.com>
37018
37019 [BZ #3268]
37020 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37021 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37022 computation is not scheduled after fetestexcept. Fix value
37023 of minimum denormal long double.
37024
f3f7372d
JJ
370252010-10-14 Jakub Jelinek <jakub@redhat.com>
37026
37027 [BZ #3268]
37028 * math/libm-test.inc (fma_test): Add some more tests.
37029 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37030 correctly.
37031
14d43591
AS
370322010-10-15 Andreas Schwab <schwab@redhat.com>
37033
37034 * scripts/data/localplt-s390-linux-gnu.data: New file.
37035 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37036
5e908464
JJ
370372010-10-13 Jakub Jelinek <jakub@redhat.com>
37038
37039 [BZ #3268]
37040 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37041 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37042 instead of dbl-64.
37043 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37044 inlines.
37045 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37047 if one of x and y is very large and the other is subnormal.
37048 * sysdeps/s390/fpu/s_fmaf.c: New file.
37049 * sysdeps/s390/fpu/s_fma.c: New file.
37050 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37051 * sysdeps/powerpc/fpu/s_fma.S: New file.
37052 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37053 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37054 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37055
370562010-10-12 Jakub Jelinek <jakub@redhat.com>
37057
37058 [BZ #3268]
37059 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37060 fma tests.
37061 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37062 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37063 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37064 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37065 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37066 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37067 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37068
b833d51f
UD
370692010-10-12 Ulrich Drepper <drepper@redhat.com>
37070
37071 [BZ #12078]
37072 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37073 * posix/bug-regex31.input: Add test case.
37074
1751705d
UD
370752010-10-11 Ulrich Drepper <drepper@gmail.com>
37076
e9b9cbf5
UD
37077 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37078 * posix/bug-regex31.input: New file.
37079
37080 [BZ #12078]
37081 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37082 (parse_sub_exp): Fix last change, use postorder.
37083
ef06edbe
UD
37084 * posix/bug-regex31.c: New file.
37085 * posix/Makefile: Add rules to build and run bug-regex31.
37086
a129c80d
UD
37087 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37088
37089 [BZ #12078]
37090 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37091
b76b818e
UD
37092 [BZ #12108]
37093 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37094 to have entries in sys_siglist.
37095
1751705d
UD
37096 [BZ #12093]
37097 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37098 be NULL.
37099
9ff8d36f
JJ
371002010-10-07 Jakub Jelinek <jakub@redhat.com>
37101
37102 [BZ #3268]
37103 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37104 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37105 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37106 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37107 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37108 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37109 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37110 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37111 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37112 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37113 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37114 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37115 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37116 * math/ftestexcept.c (fetestexcept): Likewise.
37117 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37118 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37119 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37120 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37121 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37122 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37123 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37124
af325969
UD
371252010-10-11 Ulrich Drepper <drepper@gmail.com>
37126
c579b202 37127 [BZ #12107]
af325969
UD
37128 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37129 newline.
37130
67a67b95
UD
371312010-10-06 Ulrich Drepper <drepper@gmail.com>
37132
37133 * string/bug-strstr1.c: New file.
37134 * string/Makefile: Add rules to build and run bug-strstr1.
37135
5fb308bc
EB
371362010-10-05 Eric Blake <eblake@redhat.com>
37137
37138 [BZ #12092]
37139 * string/str-two-way.h (two_way_long_needle): Always clear memory
37140 when skipping input due to the shift table.
37141
45db99c7
UD
371422010-10-03 Ulrich Drepper <drepper@gmail.com>
37143
3b111893
UD
37144 [BZ #12005]
37145 * malloc/mcheck.c: Handle large requests.
37146
45db99c7
UD
37147 [BZ #12077]
37148 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37149 for strncmp and strncasecmp.
37150 * string/stratcliff.c: Add tests for strcmp and strncmp.
37151 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37152
cf7a1eb8
NI
371532010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37154
37155 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37156 __set_fpscr.
37157
6484ba5e
AJ
371582010-09-30 Andreas Jaeger <aj@suse.de>
37159
37160 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37161 (CGROUP_SUPER_MAGIC): Define.
37162 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37163 Handle btrfs and cgroup file systems.
37164 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37165 Likewise.
37166
91c42559
LM
371672010-09-27 Luis Machado <luisgpm@br.ibm.com>
37168
37169 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37170 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37171
87a97932
AK
371722010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37173
37174 [BZ #12067]
37175 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37176 trying to locate the ELF header.
37177
c21cc9bc
AS
371782010-09-27 Andreas Schwab <schwab@redhat.com>
37179
37180 [BZ #11611]
37181 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37182 Mask out sign-bit copies when constructing f_fsid.
37183
315970f6
PB
371842010-09-24 Petr Baudis <pasky@suse.cz>
37185
37186 * debug/stack_chk_fail_local.c: Add missing licence exception.
37187 * debug/warning-nop.c: Likewise.
37188
1ac7a2c7
JM
371892010-09-15 Joseph Myers <joseph@codesourcery.com>
37190
37191 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37192 implementing getdents64 using getdents syscall, set d_type if
37193 __ASSUME_GETDENTS32_D_TYPE.
37194
56801c50
AS
371952010-09-16 Andreas Schwab <schwab@redhat.com>
37196
37197 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37198 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37199
dda51327
UD
372002010-09-21 Ulrich Drepper <drepper@redhat.com>
37201
37202 [BZ #12037]
37203 * posix/unistd.h: Undo change of feature selection for ftruncate from
37204 2010-01-11.
37205
8ffcee4a
UD
372062010-09-20 Ulrich Drepper <drepper@redhat.com>
37207
a545ecd9 37208 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
37209 detection.
37210
e24f0a8b
AS
372112010-09-20 Andreas Schwab <schwab@redhat.com>
37212
37213 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37214 fanotify_mark.
37215 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37216
7291c56f
AS
372172010-09-14 Andreas Schwab <schwab@redhat.com>
37218
37219 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37220 variables after CHECK_SP call.
37221 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37222
bc5fb037
AS
372232010-09-13 Andreas Schwab <schwab@redhat.com>
37224 Ulrich Drepper <drepper@redhat.com>
37225
37226 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37227 re-relocationg ld.so.
37228 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37229 _dl_init_paths call.
37230 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37231 here anymore.
37232
e66e7419
UD
372332010-09-14 Ulrich Drepper <drepper@redhat.com>
37234
37235 * resolv/res_init.c (__res_vinit): Count the default server we added.
37236
c044aa75
CLT
372372010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37238 Ulrich Drepper <drepper@redhat.com>
37239
37240 [BZ #11968]
37241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37242 (____longjmp_chk): Use %ebx for saving value across system call.
37243 Add unwind info.
37244
32cf4069
AS
372452010-09-06 Andreas Schwab <schwab@redhat.com>
37246
37247 * manual/Makefile: Don't mix pattern rules with normal rules.
37248
817328ee
AS
372492010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37250
37251 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37252 operation.
37253 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37254 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37255 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37256 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37258 Likewise.
37259
29fddf61
UD
372602010-09-04 Ulrich Drepper <drepper@redhat.com>
37261
37262 [BZ #11979]
37263 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37264 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37265
0959ffc9
UD
372662010-09-02 Ulrich Drepper <drepper@redhat.com>
37267
37268 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37269 * sysdeps/x86_64/addmul_1.S: Likewise.
37270 * sysdeps/x86_64/lshift.S: Likewise.
37271 * sysdeps/x86_64/mul_1.S: Likewise.
37272 * sysdeps/x86_64/rshift.S: Likewise.
37273 * sysdeps/x86_64/sub_n.S: Likewise.
37274 * sysdeps/x86_64/submul_1.S: Likewise.
37275
ece29840
ST
372762010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37277
0959ffc9
UD
37278 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37279 Define __sched_param instead of SCHED_* and sched_param when
ece29840 37280 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 37281 * bits/sched.h [__need_schedparam]
ece29840 37282 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
37283 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37284 (__defined_schedparam): Define to 1.
ece29840
ST
37285 (__sched_param): New structure, identical to sched_param.
37286 (__need_schedparam): Undefine.
37287
e53a31fe
MF
372882010-08-31 Mike Frysinger <vapier@gentoo.org>
37289
fdc0c10d
MF
37290 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37291 (epoll_create1): Declare.
37292
e53a31fe
MF
37293 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37294
a726d796
AS
372952010-08-31 Andreas Schwab <schwab@redhat.com>
37296
37297 [BZ #7066]
37298 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37299 shifting retval into place.
37300
2f3e3dc7
UD
373012010-09-01 Ulrich Drepper <drepper@redhat.com>
37302
f2933da9
UD
37303 * nis/rpcsvc/nis.h: Update copyright notice.
37304 * nis/rpcsvc/nis.x: Likewise.
37305 * nis/rpcsvc/nis_callback.h: Likewise.
37306 * nis/rpcsvc/nis_callback.x: Likewise.
37307 * nis/rpcsvc/nis_object.x: Likewise.
37308 * nis/rpcsvc/nis_tags.h: Likewise.
37309 * nis/rpcsvc/yp.h: Likewise.
37310 * nis/rpcsvc/yp.x: Likewise.
37311 * nis/rpcsvc/ypupd.h: Likewise.
37312 * nis/yp_xdr.c: Likewise.
37313 * nis/ypupdate_xdr.c: Likewise.
37314
2f3e3dc7
UD
37315 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37316 mainly the body of pmap_getport. Add parameters to specify timeouts.
37317 (pmap_getport): Use __libc_rpc_getport.
37318 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37319 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37320 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37321
f3dcc2f9
AS
373222010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37323
37324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37325 fanotify_mark.
37326
6d34eb5b
RM
373272010-08-27 Roland McGrath <roland@redhat.com>
37328
37329 * sysdeps/i386/i686/multiarch/Makefile
37330 (CFLAGS-varshift.c): New variable.
37331
9ea3de11
UD
373322010-08-27 Ulrich Drepper <drepper@redhat.com>
37333
c96d23fc
UD
37334 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37335 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37336
9ea3de11
UD
37337 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37338
37339 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37340
623aac7f
L
373412010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37342
37343 * sysdeps/x86_64/strlen.S: Unroll the loop.
37344 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37345 strlen-sse2 strlen-sse2-bsf.
37346 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37347 __strlen_no_bsf if bit_Slow_BSF is set.
37348 (__strlen_sse42): Removed.
37349 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37350 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37351
8b2b7715
RM
373522010-08-25 Roland McGrath <roland@redhat.com>
37353
37354 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37355 * sysdeps/x86_64/multiarch/varshift.c: New file.
37356 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37357 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37358 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37359 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37360
e73015f2
L
373612010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37362
37363 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37364 strlen-sse2 strlen-sse2-bsf.
37365 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37366 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37367 (__strlen_sse2): Removed.
37368 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37369 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37371 bit_Slow_BSF for Atom.
37372 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37373 (index_Slow_BSF): Define.
37374 (HAS_SLOW_BSF): Define.
37375
df24a73e
UD
373762010-08-25 Ulrich Drepper <drepper@redhat.com>
37377
37378 [BZ #10851]
37379 * resolv/res_init.c (__res_vinit): When no server address at all
37380 is given default to loopback.
37381
f2ac4868
RM
373822010-08-24 Roland McGrath <roland@redhat.com>
37383
09055553
RM
37384 * configure.in: Remove config-name.h generation.
37385 * configure: Regenerated.
37386 * config-name.in: File removed.
37387 * scripts/config-uname.sh: New file.
37388 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37389 ($(objdir)config-name.h): New target.
37390
f2ac4868
RM
37391 * sunrpc/rpc_parse.h: Avoid nested comment.
37392
73f27d5e
RH
373932010-08-24 Richard Henderson <rth@redhat.com>
37394 Ulrich Drepper <drepper@redhat.com>
37395 H.J. Lu <hongjiu.lu@intel.com>
37396
37397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37398 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37399 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37400 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37401 _mm_alignr_epi8 with _mm_loadu_si128.
37402 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37403 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37404 (__m128i_shift_right): Removed.
37405 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37406 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37407 * sysdeps/x86_64/multiarch/varshift.h: New file.
37408 * sysdeps/x86_64/multiarch/varshift.S: New file.
37409
84b9230c
MF
374102010-08-21 Mike Frysinger <vapier@gentoo.org>
37411
37412 * configure.in: Move assembler checks to before sysdep dir checking.
37413
9bbd0ddc
PB
374142010-08-20 Petr Baudis <pasky@suse.cz>
37415
37416 * LICENSES: Sync the sunrpc license.
37417
9da4bb31
UD
374182010-08-19 Ulrich Drepper <drepper@redhat.com>
37419
a7ab6ec8
UD
37420 * sunrpc/auth_des.c: Update copyright notice once again.
37421 * sunrpc/auth_none.c: Likewise.
37422 * sunrpc/auth_unix.c: Likewise.
37423 * sunrpc/authdes_prot.c: Likewise.
37424 * sunrpc/authuxprot.c: Likewise.
37425 * sunrpc/bindrsvprt.c: Likewise.
37426 * sunrpc/clnt_gen.c: Likewise.
37427 * sunrpc/clnt_perr.c: Likewise.
37428 * sunrpc/clnt_raw.c: Likewise.
37429 * sunrpc/clnt_simp.c: Likewise.
37430 * sunrpc/clnt_tcp.c: Likewise.
37431 * sunrpc/clnt_udp.c: Likewise.
37432 * sunrpc/clnt_unix.c: Likewise.
37433 * sunrpc/des_crypt.c: Likewise.
37434 * sunrpc/des_soft.c: Likewise.
37435 * sunrpc/get_myaddr.c: Likewise.
37436 * sunrpc/getrpcport.c: Likewise.
37437 * sunrpc/key_call.c: Likewise.
37438 * sunrpc/key_prot.c: Likewise.
37439 * sunrpc/openchild.c: Likewise.
37440 * sunrpc/pm_getmaps.c: Likewise.
37441 * sunrpc/pm_getport.c: Likewise.
37442 * sunrpc/pmap_clnt.c: Likewise.
37443 * sunrpc/pmap_prot.c: Likewise.
37444 * sunrpc/pmap_prot2.c: Likewise.
37445 * sunrpc/pmap_rmt.c: Likewise.
37446 * sunrpc/rpc/auth.h: Likewise.
37447 * sunrpc/rpc/auth_unix.h: Likewise.
37448 * sunrpc/rpc/clnt.h: Likewise.
37449 * sunrpc/rpc/des_crypt.h: Likewise.
37450 * sunrpc/rpc/key_prot.h: Likewise.
37451 * sunrpc/rpc/netdb.h: Likewise.
37452 * sunrpc/rpc/pmap_clnt.h: Likewise.
37453 * sunrpc/rpc/pmap_prot.h: Likewise.
37454 * sunrpc/rpc/pmap_rmt.h: Likewise.
37455 * sunrpc/rpc/rpc.h: Likewise.
37456 * sunrpc/rpc/rpc_des.h: Likewise.
37457 * sunrpc/rpc/rpc_msg.h: Likewise.
37458 * sunrpc/rpc/svc.h: Likewise.
37459 * sunrpc/rpc/svc_auth.h: Likewise.
37460 * sunrpc/rpc/types.h: Likewise.
37461 * sunrpc/rpc/xdr.h: Likewise.
37462 * sunrpc/rpc_clntout.c: Likewise.
37463 * sunrpc/rpc_cmsg.c: Likewise.
37464 * sunrpc/rpc_common.c: Likewise.
37465 * sunrpc/rpc_cout.c: Likewise.
37466 * sunrpc/rpc_dtable.c: Likewise.
37467 * sunrpc/rpc_hout.c: Likewise.
37468 * sunrpc/rpc_main.c: Likewise.
37469 * sunrpc/rpc_parse.c: Likewise.
37470 * sunrpc/rpc_parse.h: Likewise.
37471 * sunrpc/rpc_prot.c: Likewise.
37472 * sunrpc/rpc_sample.c: Likewise.
37473 * sunrpc/rpc_scan.c: Likewise.
37474 * sunrpc/rpc_scan.h: Likewise.
37475 * sunrpc/rpc_svcout.c: Likewise.
37476 * sunrpc/rpc_tblout.c: Likewise.
37477 * sunrpc/rpc_util.c: Likewise.
37478 * sunrpc/rpc_util.h: Likewise.
37479 * sunrpc/rpcinfo.c: Likewise.
37480 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37481 * sunrpc/rpcsvc/key_prot.x: Likewise.
37482 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37483 * sunrpc/rpcsvc/mount.x: Likewise.
37484 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37485 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37486 * sunrpc/rpcsvc/rex.x: Likewise.
37487 * sunrpc/rpcsvc/rstat.x: Likewise.
37488 * sunrpc/rpcsvc/rusers.x: Likewise.
37489 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37490 * sunrpc/rpcsvc/spray.x: Likewise.
37491 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37492 * sunrpc/rtime.c: Likewise.
37493 * sunrpc/svc.c: Likewise.
37494 * sunrpc/svc_auth.c: Likewise.
37495 * sunrpc/svc_authux.c: Likewise.
37496 * sunrpc/svc_raw.c: Likewise.
37497 * sunrpc/svc_run.c: Likewise.
37498 * sunrpc/svc_simple.c: Likewise.
37499 * sunrpc/svc_tcp.c: Likewise.
37500 * sunrpc/svc_udp.c: Likewise.
37501 * sunrpc/svc_unix.c: Likewise.
37502 * sunrpc/svcauth_des.c: Likewise.
37503 * sunrpc/xcrypt.c: Likewise.
37504 * sunrpc/xdr.c: Likewise.
37505 * sunrpc/xdr_array.c: Likewise.
37506 * sunrpc/xdr_float.c: Likewise.
37507 * sunrpc/xdr_mem.c: Likewise.
37508 * sunrpc/xdr_rec.c: Likewise.
37509 * sunrpc/xdr_ref.c: Likewise.
37510 * sunrpc/xdr_sizeof.c: Likewise.
37511 * sunrpc/xdr_stdio.c: Likewise.
37512
9da4bb31
UD
37513 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37514 handling.
37515
bdaa77bc
AS
375162010-08-19 Andreas Schwab <schwab@redhat.com>
37517
37518 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37519
fe2f79db
LM
375202010-08-19 Luis Machado <luisgpm@br.ibm.com>
37521
37522 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37523 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37524 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37525 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37526 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37527 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37528 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37529 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37530 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37531 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37532 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37533 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37534 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37535 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37536
b9b42ee0
AB
375372010-07-26 Anton Blanchard <anton@samba.org>
37538
37539 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37540 * malloc/arena.c (heap_trim): Likewise.
37541
1c06ba31
UD
375422010-08-16 Ulrich Drepper <drepper@redhat.com>
37543
37544 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37545 here. Not...
37546 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37547 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37548
f8392f40
L
375492010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37550
37551 * sysdeps/i386/elf/Makefile: New file.
37552
3162f12e
AS
375532010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37554
37555 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37556 from fanotify_init.
37557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37559
28c90b2c
UD
375602010-08-15 Ulrich Drepper <drepper@redhat.com>
37561
37562 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37563 of strncasecmp_l.
1feccb6c 37564 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 37565
ca6bb004
UD
375662010-08-14 Ulrich Drepper <drepper@redhat.com>
37567
e9f82e0d
UD
37568 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37569 strncase_l-nonascii.
37570 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37571 Add strncase_l-ssse3.
37572 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37573 * sysdeps/x86_64/strcmp.S: Likewise.
37574 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37575 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37576 * sysdeps/x86_64/strncase.S: New file.
37577 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37578 * sysdeps/x86_64/strncase_l.S: New file.
37579 * string/Makefile (strop-tests): Add strncasecmp.
37580 * string/test-strncasecmp.c: New file.
37581
37582 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37583 warning.
37584
ca6bb004
UD
37585 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37586 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37587
052fa7b3
AS
375882010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37589
37590 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37591
962dba78
UD
375922010-08-12 Ulrich Drepper <drepper@redhat.com>
37593
37594 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37595 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37596 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37597
bebff237
AM
375982010-05-01 Alan Modra <amodra@gmail.com>
37599
37600 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37601 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37602 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37603 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37604 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37605 tidying. Don't tail-call __sigjmp_save for static lib.
37606 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37607 save location.
37608 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37609 (CALL_MCOUNT): Add eh info, and nop after bl.
37610 (TAIL_CALL_SYSCALL_ERROR): New macro.
37611 (PSEUDO_RET): Use it.
37612 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37613 Correct save location of integer regs and cr.
37614 (_dl_profile_resolve): Correct cr save location. Delete nops
37615 after bl when SHARED. Reduce cfi size a little by better
37616 placement of cfi directives.
37617 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37618 make a stack frame. Instead use parm save area as a temp.
37619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37620 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37622 Don't make a stack frame for parent, use parm save area.
37623 Increase child stack frame to 112 bytes. Don't save unused reg,
37624 and adjust reg usage. Set up cfi on error recovery and
37625 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37627 (__makecontext): Add dummy nop after jump to exit.
37628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
37629 Use correct parm save area and cr save, reduce stack frame.
37630 Correct cfi for possible PSEUDO_RET frame setup.
37631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
37632 Branch to local label emitted by PSEUDO_RET rather than
37633 __syscall_error.
37634
02637374
AS
376352010-08-12 Andreas Schwab <schwab@redhat.com>
37636
37637 [BZ #11904]
37638 * locale/programs/locale.c (print_assignment): New function.
37639 (show_locale_vars): Use it.
37640
c3e2f19b
UD
376412010-08-11 Ulrich Drepper <drepper@redhat.com>
37642
3cdaa6ad
UD
37643 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
37644 field.
37645 (struct statfs64): Likewise.
37646 (_STATFS_F_FLAGS): Define.
37647 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
37648 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37649 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
37650 (ST_VALID): Define locally.
37651 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
37652 __statvfs_getflags, use the provided value.
37653 * sysdeps/unix/sysv/linux/kernel-features.h: Define
37654 __ASSUME_STATFS_F_FLAGS.
37655
754f7da3
UD
37656 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
37657
10b3bedc
UD
37658 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
37659 Add sys/fanotify.h.
37660 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
37661 fanotify_mask for GLIBC_2.13.
37662 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
37663 fanotify_init and fanotify_mark.
37664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37665 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
37666
c08fb0d7
UD
37667 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
37668 Add prlimit.
37669 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
37670 prlimit64 for GLIBC_2.13.
37671 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
37672 prlimit64.
37673 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
37674 syscall.
37675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
37676 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37677 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
37678 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
37679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
37680 add prlimit alias.
37681 * sysdeps/unix/sysv/linux/prlimit.c: New file.
37682
15bac72b
UD
37683 [BZ #11903]
37684 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
37685 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
37686
c3e2f19b
UD
37687 * nss/Makefile: Add rules to build and run tst-nss-test1.
37688 * shlib-versions: Add entry for libnss_test1.
37689 * nss/nss_test1.c: New file.
37690 * nss/tst-nss-test1.c: New file.
37691
37692 * nss/nsswitch.c (__nss_database_custom): Define new variable.
37693 (__nss_configure_lookup): Set appropriate entry in
37694 __nss_configure_lookup to true.
37695 * nss/nsswitch.h: Define enum with indeces of databases in
37696 databases and __nss_database_custom arrays. Declare
37697 __nss_database_custom.
37698 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
37699 to avoid using nscd when custom rules are installed.
37700 * nss/getXXbyYY_r.c: Likewise.
37701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
37702
37703 * nss/nss_files/files-parse.c: Whitespace fixes.
37704
f15ce4d8
UD
377052010-08-09 Ulrich Drepper <drepper@redhat.com>
37706
37707 [BZ #11883]
37708 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
37709 * posix/fnmatch_loop.c: Likewise.
37710
d22e4cc9
AK
377112010-07-17 Andi Kleen <ak@linux.intel.com>
37712
37713 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
37714 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
37715 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
37716 * Versions.def [GLIBC_2.13]: Add.
37717
805bc17d
UD
377182010-08-06 Ulrich Drepper <drepper@redhat.com>
37719
37720 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37721 Also fail if tpwd after pwuid call is NULL.
37722
5a42321d
ST
377232010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
37724
37725 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
37726 when converting to ms.
37727
fd3ebeda
ST
377282010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
37729
37730 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
37731 EOPNOTSUPP errors with ENOTTY.
37732 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
37733 EOPNOTSUPP errors with ENOTTY.
37734
73507d3a
UD
377352010-07-31 Ulrich Drepper <drepper@redhat.com>
37736
37737 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37738 Add strcasecmp_l-ssse3.
37739 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
37740 strcasecmp.
37741 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
37742 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
37743 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
37744
fe36dd02
UD
377452010-07-30 Ulrich Drepper <drepper@redhat.com>
37746
66f6765a
UD
37747 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
37748
42e08a54
UD
37749 * string/Makefile (strop-tests): Add strcasecmp.
37750 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37751 strcasecmp_l-nonascii.
37752 (gen-as-const-headers): Add locale-defines.sym.
37753 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
37754 * sysdeps/x86_64/strcasecmp.S: New file.
37755 * sysdeps/x86_64/strcasecmp_l.S: New file.
37756 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
37757 * sysdeps/x86_64/locale-defines.sym: New file.
37758 * string/test-strcasecmp.c: New file.
37759
fe36dd02
UD
37760 * string/test-strcasestr.c: Test both ends of the range of characters.
37761 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
37762
48cbc0d6
RM
377632010-07-29 Roland McGrath <roland@redhat.com>
37764
76e6d6bc 37765 [BZ #11856]
48cbc0d6
RM
37766 * manual/locale.texi (Yes-or-No Questions): Fix example code.
37767
880113d9
UD
377682010-07-27 Ulrich Drepper <drepper@redhat.com>
37769
37770 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
37771 for ld.so.
37772
deb9cabb
AS
377732010-07-27 Andreas Schwab <schwab@redhat.com>
37774
37775 * manual/memory.texi (Malloc Tunable Parameters): Document
37776 M_PERTURB.
37777
1c7570ff
RM
377782010-07-26 Roland McGrath <roland@redhat.com>
37779
37780 [BZ #11840]
37781 * configure.in (-fgnu89-inline check): Set and substitute
37782 gnu89_inline, not libc_cv_gnu89_inline.
37783 * configure: Regenerated.
37784 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
37785
24fb0f88
UD
377862010-07-26 Ulrich Drepper <drepper@redhat.com>
37787
37788 * string/test-strnlen.c: New file.
37789 * string/Makefile (strop-tests): Add strnlen.
37790 * string/tester.c (test_strnlen): Add a few more test cases.
37791 * string/tst-strlen.c: Better error reporting.
37792
37793 * sysdeps/x86_64/strnlen.S: New file.
37794
8e96b93a
UD
377952010-07-24 Ulrich Drepper <drepper@redhat.com>
37796
37797 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
37798 lower-latency instructions.
37799
dbc676d4
UD
378002010-07-23 Ulrich Drepper <drepper@redhat.com>
37801
37802 * string/test-strcasestr.c: New file.
37803 * string/test-strstr.c: New file.
37804 * string/Makefile (strop-tests): Add strstr and strcasestr.
37805 * string/str-two-way.h: Don't undefine MAX.
37806 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
37807
f6a31e0e
AS
378082010-07-21 Andreas Schwab <schwab@redhat.com>
37809
37810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37811 strcasestr-nonascii.
37812 (CFLAGS-strcasestr-nonascii.c): Define.
37813 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
37814 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
37815 Remove unused attribute.
37816
5dbc3b6c
RM
378172010-07-20 Roland McGrath <roland@redhat.com>
37818
37819 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
37820 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
37821 ld.so.cache was broken. With it, there is no way to disable dsocaps
37822 like LD_HWCAP_MASK can disable hwcaps.
37823
23d101d8
EPM
378242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
37825
37826 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
37827
cc9f2e47
UD
378282010-07-16 Ulrich Drepper <drepper@redhat.com>
37829
37830 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
37831 call in strcasestr.
37832 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
37833 __strcasestr_sse42_nonascii.
37834 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
37835 strcasestr-nonascii.c.
37836 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
37837
77c1b069
LM
378382010-06-15 Luis Machado <luisgpm@br.ibm.com>
37839
37840 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
37841 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
37842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
37843 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
37844
440566c3
UD
378452010-07-09 Ulrich Drepper <drepper@redhat.com>
37846
37847 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
37848 fcntl.
37849
5be9d05d
AS
378502010-07-06 Andreas Schwab <schwab@redhat.com>
37851
c30b7ee2 37852 [BZ #11577]
5be9d05d
AS
37853 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
37854 dl_signal_cerror.
37855
8a492a67
UD
378562010-07-06 Ulrich Drepper <drepper@redhat.com>
37857
37858 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
37859 _PC_PIPE_BUF using F_GETPIPE_SZ.
37860
713df3d5
RM
378612010-07-05 Roland McGrath <roland@redhat.com>
37862
37863 * manual/arith.texi (Rounding Functions): Fix rint description
37864 implicit in round description.
37865
702e8f14
UD
378662010-07-02 Ulrich Drepper <drepper@redhat.com>
37867
37868 * elf/Makefile: Fix linking for a few tests to make recent linker
37869 happy.
37870
52ed8be9
AS
378712010-06-30 Andreas Schwab <schwab@redhat.com>
37872
37873 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
37874 $(common-objpfx)libc_nonshared.a.
37875
f47c9a11
LM
378762010-06-21 Luis Machado <luisgpm@br.ibm.com>
37877
37878 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
37879 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
37880 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37881 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37882 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
37883 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
37884 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37885 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
37887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
37888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
37889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
37890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
37891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
37892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
37893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
37894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
37895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
37896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
37897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
37898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
37899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
37900 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
37901 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
37902 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
37903 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
37904 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
37905 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
37906 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
37907 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
37908 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
37909 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
37910 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
37911 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
37912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
37913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
37914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
37915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
37916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
37917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
37918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
37919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
37920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
37921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
37922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
37923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
37924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
37925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
37926
6fb8cbcb
L
379272010-06-25 H.J. Lu <hongjiu.lu@intel.com>
37928
37929 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
37930 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
37931 * string/memmove.c (memmove): Renamed to ...
37932 (MEMMOVE): ...this. Default to memmove.
37933 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
37934 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
37935 (END_CHK): Define.
37936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37937 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
37938 mempcpy-ssse3-back memmove-ssse3-back.
37939 * sysdeps/x86_64/multiarch/bcopy.S: New file .
37940 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
37941 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
37942 * sysdeps/x86_64/multiarch/memcpy.S: New file.
37943 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
37944 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
37945 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
37946 * sysdeps/x86_64/multiarch/memmove.c: New file.
37947 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
37948 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
37949 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
37950 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
37951 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
37952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
37953 Define.
37954 (index_Fast_Copy_Backward): Define.
37955 (HAS_ARCH_FEATURE): Define.
37956 (HAS_FAST_REP_STRING): Define.
37957 (HAS_FAST_COPY_BACKWARD): Define.
37958
4e733bac 379592010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
37960
37961 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
37962 Restore proper fallback handling.
37963
63c4ed22
UD
379642010-06-19 Ulrich Drepper <drepper@redhat.com>
37965
ac2b484c
UD
37966 [BZ #11701]
37967 * posix/group_member.c (__group_member): Correct checking loop.
37968
63c4ed22
UD
37969 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
37970 OOM in getpwuid_r correctly. Return error number when the caller
37971 should return, otherwise -1.
37972 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
37973 call returning > 0 value.
37974 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
37975
765ade4b
AS
379762010-06-07 Andreas Schwab <schwab@redhat.com>
37977
37978 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
37979 libc_nonshared.a from targets in modules-names.
37980
80da2e09
KS
379812010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
37982
37983 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
37984 requires it.
37985
158db122
LM
379862010-06-10 Luis Machado <luisgpm@br.ibm.com>
37987
37988 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
37989 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
37990 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
37991 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
37992
caa78cf8
AS
379932010-06-02 Andreas Schwab <schwab@redhat.com>
37994
37995 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
37996
b2ef2c01
UD
379972010-06-14 Ulrich Drepper <drepper@redhat.com>
37998
37999 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38000 and F_GETPIPE_SZ.
38001 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38003 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38004 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38005 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38006 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38007
fbd643b6
RM
380082010-06-14 Roland McGrath <roland@redhat.com>
38009
38010 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38011
f32f2869
JJ
380122010-06-07 Jakub Jelinek <jakub@redhat.com>
38013
38014 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38015 __REDIRECT followed by __THROW.
38016 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38017 * posix/getopt.h (getopt): Likewise.
38018
2a50c078
EPM
380192010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38020
38021 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38022 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38023 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38024 in AT_FLAGS.
38025 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38026 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38027
eb5ad2eb
LM
380282010-05-28 Luis Machado <luisgpm@br.ibm.com>
38029
38030 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38031
3c88fe1e
L
380322010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38033
38034 [BZ #11640]
38035 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38036 Properly check family and model.
38037
d2f73151
TY
380382010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38039
38040 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38041
ebd2e13d
LM
380422010-05-24 Luis Machado <luisgpm@br.ibm.com>
38043
38044 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38045
b32b8b45
UD
380462010-05-21 Ulrich Drepper <drepper@redhat.com>
38047
38048 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38049 symbol reference.
38050
9acbe24d
AS
380512010-05-19 Andreas Schwab <schwab@redhat.com>
38052
38053 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38054 symbol reference.
38055
f0ccf6ea
AS
380562010-05-21 Andreas Schwab <schwab@redhat.com>
38057
3d04ff3a
AS
38058 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38059 and internal_recvmmsg.
38060 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38061 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38062 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38063 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38064
f0ccf6ea
AS
38065 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38066 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38067 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38068
5b08ac57
AS
380692010-05-20 Andreas Schwab <schwab@redhat.com>
38070
38071 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38072
4828935d
LM
380732010-05-17 Luis Machado <luisgpm@br.ibm.com>
38074
38075 POWER7 optimizations.
38076 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38077 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38078
373d545e
UD
380792010-05-19 Ulrich Drepper <drepper@redhat.com>
38080
38081 * version.h: Update for 2.13 development version.
38082
21a2b1ae
AS
380832010-05-12 Andrew Stubbs <ams@codesourcery.com>
38084
38085 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38086 exceptions. Return 0.
38087
3f7dcb2b
RM
380882010-05-07 Roland McGrath <roland@redhat.com>
38089
38090 * elf/ldconfig.c (main): Add a const.
38091
5f24d53a 380922010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 38093
a160f8d8
UD
38094 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38095 (args_options): Add no-idn option.
38096 (ahosts_keys_int): Add idn_flags to ai_flags.
38097 (parse_option): Handle 'i' option to clear idn_flags.
38098
5f24d53a
UD
38099 * malloc/malloc.c (_int_free): Possible race in the most recently
38100 added check. Only act on the data if no current modification
38101 happened.
265bb1ce
UD
38102
38103See ChangeLog.17 for earlier changes.